Emuelec Ssh -
#!/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
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor To set performance mode (max speed): emuelec ssh
EmuELEC has established itself as the gold standard for turning low-cost Amlogic-based Android TV boxes (like the X96, HK1, and Vontar) into dedicated retro gaming consoles. Built on the backbone of CoreELEC and LibreELEC, EmuELEC transforms your hardware into a streamlined Linux distribution running EmulationStation as its frontend and RetroArch as its backbone. /usr/bin/emustation
/usr/bin/emustation.sh restart If you plugged your box into a 4K TV but it is glitching: Whether you are debugging a failed boot, writing
If games aren't showing up, rebuild the gamelist:
alias emuelessh='ssh root@192.168.1.120' Now you just type emuelessh and press enter. SSH transforms EmuELEC from a "plug-and-play game box" into a fully managed Linux server dedicated to retro gaming. While the EmulationStation UI is beautiful for playing Mario Kart 64 , the true power lies in the command line.
Whether you are debugging a failed boot, writing a cron job to sync save states to a NAS, or just forcing a resolution change that the GUI refuses to save, SSH is your best friend.