====== Information ====== * Amazon Fire TV Stick ((https://www.amazon.com/Amazon-Fire-TV-Stick-With-Alexa-Voice-Remote-Streaming-Media-Player/dp/B00ZV9RDKK although this URL looks fragile)) ====== Kodi ====== ===== Builds ===== * http://mirrors.kodi.tv/test-builds/android/arm/ * Last known build date: 2018-Mar-16 * The ''notsoshitty'' build is required in order to fix Tvheadend PVR HD streaming ((I can't find concrete information about this nor have I really tested if ''notsoshitty'' is the only build to fix that; I only found one post mentioning that it fixed Tvheadend, and can confirm it does)) * TODO: Figure out the difference between those test builds; ''shitty'' may be interesting for other passthrough-related things * Likely due to https://forum.kodi.tv/showthread.php?tid=289735 ===== Install ===== * https://kodi.wiki/view/HOW-TO:Install_Kodi_on_Fire_TV * Requires ADB Debugging and Unknown Software Sources to be enabled on the Fire TV Stick * Change the ''adb connect'' IP as-needed adb connect 192.168.1.100:5555 adb install ~/'Downloads/kodi'*'.apk' ===== Remote Management ===== ==== Wake ==== * :!: TODO: What key is this? adb shell "input keyevent '26'" ==== Start Kodi ==== **** adb shell "am start -n 'org.xbmc.kodi/.Splash'" ==== Stop Kodi ==== **** adb shell "am force-stop 'org.xbmc.kodi'" ====== Remote Management ====== ===== Find IP ===== **** nmap -sL 192.168.1.* | grep \(1 ===== Prevent Sleep ===== * Seemingly persists through reboot * TODO: Does this persist through system updates? ./adb shell 'settings put secure sleep_timeout 0' ./adb shell 'settings get secure sleep_timeout' ===== Wake ===== * :!: TODO: What key is this? adb shell "input keyevent '26'" ===== Screenshot of Current View ===== **** adb shell "screencap -p '/sdcard/screen.png'" && adb pull '/sdcard/screen.png' && adb shell "rm '/sdcard/screen.png'" ===== Connect ===== * ''x'' is the IP of the Fire TV stick adb connect x ===== Reboot ===== **** adb reboot