====== ADB ====== ===== Pair ===== * Developer Options -> ''[x]'' USB debugging * Developer Options -> Wireless debugging -> ''[x]'' Enabled * Developer Options -> Wireless debugging -> ''Pair device with pairing code'' adb pair '192.168.1.170:x' ===== Connect ===== * :!: Uses port from Wireless debugging page (not pairing page) adb connect '192.168.1.170:x' ====== Streams ====== ===== Download Source ===== * https://github.com/iptv-org/iptv/commits/master/ cd ~ && rm -Rf '/tmp/iptv' && git clone --branch 'master' --depth '1' --recurse-submodules 'https://github.com/iptv-org/iptv.git' '/tmp/iptv' ===== Custom ===== **** mkdir -p '/tmp/iptv/custom' && mv -f '/tmp/iptv/streams/us'*'.m3u' '/tmp/iptv/streams/uk'*'.m3u' '/tmp/iptv/streams/jp'*'.m3u' '/tmp/iptv/streams/cn'*'.m3u' '/tmp/iptv/custom' ===== Push ===== **** adb shell "mkdir -p '/sdcard/Streams'" && adb push '/tmp/iptv/custom/'* '/sdcard/Streams' && adb shell 'sync' ===== Clean-up ===== **** rm -Rf '/tmp/iptv' && adb disconnect && adb kill-server