Emuelec Ssh Guide
#!/bin/sh while true; do if ! bluetoothctl show | grep -q "Powered: yes"; then systemctl restart bluetooth echo "$(date): Bluetooth restarted" >> /tmp/bt.log fi sleep 60 done Make it executable: chmod +x /storage/scripts/bt_watchdog.sh
rm /storage/roms/gamelist.xml emulationstation --create-gamelists First, check your current governor: emuelec ssh
scp /home/user/Downloads/bios_file.bin root@192.168.1.120:/storage/roms/bios/ | cd /storage/roms/snes/ && ls -la | | /storage/
If games aren't showing up, rebuild the gamelist: | cat /tmp/emuelec
ee-settings set resolution "1080p" reboot Low space causes save state failures.
| Directory | Purpose | Real-World SSH Task | | :--- | :--- | :--- | | /storage/roms/ | Your games are here. | cd /storage/roms/snes/ && ls -la | | /storage/.config/ | EmulationStation and RetroArch core configs. | nano /storage/.config/retroarch/retroarch.cfg | | /storage/.config/emuelec/ | Distro-specific scripts. | ./emuelec-utils.sh | | /tmp/ | Temporary logs and runtime files. | cat /tmp/emuelec.log | | /flash/ | The boot partition (kernel, dtb). | Modify boot arguments here. | | /storage/backup/ | Backup location for emuelec.conf . | Restore settings here. | Part 5: Essential Commands for EmuELEC Power Users You are now root, with no guardrails. Use these commands wisely.
But what happens when your wireless gamepad stops syncing? Or when you need to scrape thousands of ROMs without bogging down the system’s GUI? Or when your device gets stuck in a boot loop?