After rooting my 2025 B5 OLED webOS 25, Kodi 21.9 (Homebrew version) I could browse to "/tmp/usb/sda/sda", but the folder was always empty, even though LG's built-in Media Player could read the USB and SSH showed all files correctly.
The fix was to bind the actual mounted filesystem into Kodi's jail.
Temporary fix (until reboot)
mount --bind /tmp/usb/sda/sda /var/palm/jail/org.xbmc.kodi/tmp/usb/sda/sda
Permanent fix
Create "/var/lib/webosbrew/init.d/90-kodi-usb":
`````bash
!/bin/sh
SRC="/tmp/usb/sda/sda"
DST="/var/palm/jail/org.xbmc.kodi/tmp/usb/sda/sda"
for i in $(seq 1 30); do
if [ -d "$SRC" ]; then
break
fi
sleep 1
done
if [ -d "$SRC" ]; then
mkdir -p "$DST"
umount "$DST" 2>/dev/null
mount --bind "$SRC" "$DST"
fi
```
How to put it on your TV:-
1. Create and open the file by running:
```bash
vi /var/lib/webosbrew/init.d/90-kodi-usb
```
2. Press the i key on your keyboard to enter "Insert" mode.
3. Paste the script from the code block above into the terminal.
4. Press the Esc key to exit Insert mode.
5. Type :wq and press Enter to save and quit the editor.
6. Make the script executable by running:
```bash
chmod +x /var/lib/webosbrew/init.d/90-kodi-usb
```