Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Python adbadblockandroid-tvandroid-tv-launcherapple-tvbloatware-removalclaude-codedebloatfire-tvgoogle-tvlauncherprivacysmart-tvsony-braviatclvibe-codingxiaomi
Nokia Streaming Box 8000 list
UavL00d46db54af4
diff --git a/README.md b/README.mdindex c44fe50c9..6283f817f 100644--- a/README.md+++ b/README.md@@ -160,6 +160,7 @@ BYINTEK, JMGO, Portronics, Stellamore, Wanbo and XGIMI projectors| MTC UK 2K Android TV (tabata, MediaTek m5621; JVC-family firmware, `android.autoinstalls.config.JVC` present), UK | Android TV 11 || Noblex NoblexTV (Skyworth-built, shinjuku, MediaTek m5621), Argentina | Android TV 11 || NVIDIA SHIELD TV 2019 tube (P3430, sif) | Android TV 11 |+| Nokia Streaming Box 8000 (Sagemcom/NES, SEI600NK4, HND, Amlogic) | Android TV 14 || NVIDIA SHIELD TV Pro 2019 (P2897, mdarcy) | Android TV 11 || OK. AI PONT (Changhong, ikebukuro, MediaTek), Italy | Android TV 11 || OnePlus TV (D00, Dubai) | Google TV 14 |diff --git a/examples/README.md b/examples/README.mdindex b27d8ceaa..a3c5c2ca7 100644--- a/examples/README.md+++ b/examples/README.md@@ -55,6 +55,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `mtc-uk-2k-android-tv/` | MTC UK 2K Android TV (tabata, MediaTek m5621; JVC-family firmware, `android.autoinstalls.config.JVC` present), UK | Android TV 11 | Google recommendation rows, partner customizer, feedback, ambient mode (katniss + backdrop), retail demo, MStar disclaimer popups, calendar leftovers; UK Freeview suite ships disabled at the factory (re-disabling throws SecurityException, harmless); dumpsys crippled on this firmware ("hung system process"), verify with `pm list packages -d` and screenshots; stock launcher `com.google.android.tvlauncher`, so `restore.sh` needs no launcher argument || `noblex-shinjuku/` | Noblex NoblexTV (Skyworth-built, shinjuku, MediaTek m5621), Argentina | Android TV 11 | Panasonic TH-40HS550K list on the same Skyworth firmware family: Skyworth auto-installs, shop demo and Demo Now, e-manual, MediaTek PQ test tool, Google feedback and smartconnect, recommendation rows and Skyworth's launcher customizer, Assistant, Backdrop; unused apps off by choice; Chromecast kept; 0.9 GB, streaming apps that start on their own at boot are the real RAM cost (appops note); keep `com.mediatek.*` || `nvidia-shield-tv-2019/` | NVIDIA SHIELD TV 2019 tube (P3430, sif) | Android TV 11 | NVIDIA telemetry and feedback, sponsored rows and partner auto-installs, gaming leftovers, NAS/SMB shares, idle CTS and MIDI stubs; firmware updates OFF by choice (the Pro example keeps KeyComboOta), Live Channels and Backdrop off, Prime Video/Chromecast/Alexa kept; 2 GB, no USB ports and no HDMI inputs |+| `nokia-streaming-box-8000/` | Nokia Streaming Box 8000 (Sagemcom/NES, SEI600NK4, HND, Amlogic) | Android TV 14 | Firmware refuses every `pm disable*`, `pm hide` and `pm uninstall --user 0` ("This command is illegal!"), so the list is suspended and background-restricted instead (commands in its README): Google/Privacy Sandbox ad services, recommendation rows, Nokia row config and auto-installs, factory tests; voice and YouTube Music off by choice; the stock launcher (HOME priority 2, "core application") cannot be replaced yet; port 5555 opens without pairing || `nvidia-shield-tv-pro-2019/` | NVIDIA SHIELD TV Pro 2019 (P2897, mdarcy) | Android TV 11 | NVIDIA telemetry, GameStream leftovers, sponsored rows, partner auto-installs || `ok-ai-pont-ikebukuro/` | OK. AI PONT (Changhong, ikebukuro, MediaTek), Italy | Android TV 11 | Same platform as chiq-ai-pont: Anoki ACR, AI PONT portal, Google recommendations, partner auto-installs, Homwee store/help, Google preloads; Assistant, Chromecast, Miracast and unused streaming apps off by choice; 720p, 0.9 GB; setupwraith does not claim HOME here and is left alone; remote buttons work without tvlauncher; config.json has the dock; `com.homwee.dmt.upgrade` crashes on its own (firmware), kept; reboot-checked || `oneplus-tv-dubai/` | OnePlus TV (D00, Dubai) | Google TV 14 | HeyTap/OnePlus extras, OnePlus Connect, Smart Home |diff --git a/examples/nokia-streaming-box-8000/README.md b/examples/nokia-streaming-box-8000/README.mdnew file mode 100644index 000000000..216637765--- /dev/null+++ b/examples/nokia-streaming-box-8000/README.md@@ -0,0 +1,81 @@+# Nokia Streaming Box 8000++Sagemcom/NES build, product `SEI600NK4`, device `HND`, Amlogic, 2 GB RAM, Android TV 14+(`UKG3.240613.001`), German UI. Tested on a real unit on 2026-10-20.++Network debugging switches itself off on every reboot: after a restart, turn it on again in+Developer options before connecting. The box moves around on DHCP; it advertises itself over mDNS, so+`avahi-browse -rt _adb._tcp` (Linux) or `dns-sd -B _adb._tcp` (macOS) finds it.++## Why `tools/disable.sh` does not work here++The firmware answers every `pm disable-user`, `pm disable` and `pm disable-until-used` with+`Warning! This command is illegal!`, refuses `pm hide` (no `MANAGE_USERS` for the shell) and refuses+`pm uninstall --user 0` for its "core" apps. TV Settings has no Disable button either. What still+works, per package:++- `pm suspend --user 0 <pkg>`: the app cannot be opened and its notifications are hidden+- `cmd appops set <pkg> RUN_ANY_IN_BACKGROUND ignore`: no background services or jobs+- `am force-stop <pkg>`++All three survive a reboot (checked). It is weaker than disabling: a boot receiver can still wake+briefly.++## Apply++```bash+export TV_HOST=192.168.1.50+L=examples/nokia-streaming-box-8000/debloat.txt+tools/venv/bin/python -I tools/recovery.py --save "$L" # record the box first, like tools/disable.sh+grep -vE '^\s*(#|$)' "$L" | awk '{print $1}' | while read -r p; do+ echo "pm suspend --user 0 $p"+ echo "cmd appops set $p RUN_ANY_IN_BACKGROUND ignore"+ echo "am force-stop $p"+done | tools/venv/bin/python -I tools/tv.py --batch+```++## Undo++Everything in the list:++```bash+L=examples/nokia-streaming-box-8000/debloat.txt+grep -vE '^\s*(#|$)' "$L" | awk '{print $1}' | while read -r p; do+ echo "pm unsuspend --user 0 $p"+ echo "cmd appops reset --user 0 $p"+done | tools/venv/bin/python -I tools/tv.py --batch+```++One app, for example YouTube Music:++```bash+tools/venv/bin/python -I tools/tv.py 'pm unsuspend --user 0 com.google.android.youtube.tvmusic; cmd appops reset --user 0 com.google.android.youtube.tvmusic'+```++Then comment the line out in `debloat.txt` so a later run leaves it alone. Google Assistant is+`com.google.android.katniss`; the remote's mic button works again once it is unsuspended.++## Screensaver++The list suspends the ambient screensaver (`com.google.android.backdrop`). Comment it out to keep it,+or install the launcher and use its clock instead:++```bash+STOCK_LAUNCHER=none launcher/build-and-install.sh # the firmware refuses to disable the stock home anyway+tools/venv/bin/python -I tools/tv.py 'settings put secure screensaver_components com.gathin.tvhome/.ClockDream; settings put secure screensaver_default_component com.gathin.tvhome/.ClockDream'+```++## Stock launcher++`com.google.android.tvlauncher` declares HOME with priority 2, which no sideloaded launcher can match,+and it cannot be disabled or uninstalled. So `set-home-activity` says `Success` but changes nothing,+and the new launcher cannot take over the Home button on this box yet. `theme/config.json` holds this+box's dock, hidden apps and the hidden Wi-Fi pill for when it can (push it with+`tools/theme.sh examples/nokia-streaming-box-8000/theme`).++## Before you start again++ADB over the network was switched off at the end of the first run. To work on the box again: TV+Settings > Geräteeinstellungen > Info > press OK on Build seven times, then Entwickleroptionen >+USB-Debugging on, and accept the prompt on the TV. Switch it off again when you are done; port 5555+is plaintext.diff --git a/examples/nokia-streaming-box-8000/debloat.txt b/examples/nokia-streaming-box-8000/debloat.txtnew file mode 100644index 000000000..f56514d57--- /dev/null+++ b/examples/nokia-streaming-box-8000/debloat.txt@@ -0,0 +1,64 @@+# Nokia Streaming Box 8000 (Sagemcom/NES, product SEI600NK4, device HND, Amlogic), 2 GB RAM+# Android TV 14 (SDK 34), build UKG3.240613.001, 32-bit (armeabi-v7a)+#+# Apply and undo: the commands in README.md here, NOT tools/disable.sh (this firmware refuses it).+# Everything is SUSPENDED and barred from the background, not disabled or uninstalled.+# Comment out any line you want to keep.+#+# Stock launcher: com.google.android.tvlauncher (classic Android TV, not Google TV launcherx), with+# Shop and Discover tabs. Only it and Settings' FallbackHome claim HOME; setupwraith does not.+# No HDMI inputs (it's a box); a DTVKit tuner input (org.dtvkit.inputsource) is registered, and+# live-TV streaming apps can add their own TIF inputs. com.nes.seilivetv and com.google.android.tv.axel ship+# already disabled.+#+# Known quirks on this firmware:+# - Port 5555 opens as soon as USB debugging is on; no pairing. The box also advertises+# _adb._tcp over mDNS, which is the quickest way to find it when DHCP moves it.+# - The saved Wi-Fi belongs to com.google.uid.shared (GMS), not setupwraith.+# - Network debugging does not survive a reboot: port 5555 refuses connections afterwards until it+# is switched on again in Developer options (USB debugging itself stays on).+# - Every pm disable*/hide/uninstall --user 0 is refused ("This command is illegal!"), and the stock+# launcher has HOME priority 2, so this list is suspended instead (README.md here) and the+# stock launcher cannot be replaced yet.+#+# Kept on purpose (load-bearing, checked with dumpsys package):+# com.nes.blerc Bluetooth remote service (NesBleRemoteService)+# com.standard.irtvcontrol IR control of the TV from the box remote (SetUpRemoteActivity)+# com.nes.tvglobalkeyhandler remote app buttons+# com.nes.recents recent-apps screen+# com.nes.remoteota.* remote firmware updates (Realtek/Telink/Weina RCU OTA)+# com.nes.coreservice front LED, OTA messages and an analytics receiver mixed together+# com.nes.daemon unknown NES daemon+# com.google.android.tvsetup.partnercustomizer IR remote wizard + low-power-mode page+# com.droidlogic.* Amlogic vendor (Settings, sleep timer, HDMI-CEC, picture)+# org.dtvkit.inputsource, com.android.providers.tv, Play Store/Services, Gboard,+# com.google.android.tv.remote.service (phone remote), com.google.android.tv.dfuservice+# Kept by choice: Chromecast (com.google.android.apps.mediashell), Nokia OTA updater+# (com.droidlogic.updater) + NES device manager (com.nes.skywayclient: firmware check, privacy+# agreement), Netflix, Prime Video, YouTube, Play Games.++# Telemetry, feedback and ad measurement+com.google.android.feedback+com.google.android.partnersetup # Google RLZ partner attribution pings+com.android.adservices.api # Privacy Sandbox ad services+com.android.ondevicepersonalization.services # ad personalisation+com.android.federatedcompute.services # federated ad/usage learning++# Content and ad services+com.google.android.tvrecommendations # recommendation rows for the stock launcher+com.nes.leanbacklauncher.partnercustomizer # Nokia's Shop/Discover row config for the stock launcher+android.autoinstalls.config.sei # Play auto-install of partner apps++# Factory/test leftovers and preloads nobody uses on a TV+com.nes.dvb.playtest # DVB factory play test+com.utsmta.app # factory test, listens for USB sticks+com.android.printspooler+com.google.android.marvin.talkback # re-enable if you need the screen reader++# Off by choice+com.google.android.youtube.tvmusic+com.google.android.katniss # Google Assistant: the remote's mic button stops working+com.google.android.backdrop # ambient screensaver, replaced by the launcher's Clock++# Stock home: cannot be disabled or suspended away here (HOME priority 2, "core application").+# com.google.android.tvlauncherdiff --git a/examples/nokia-streaming-box-8000/theme/config.json b/examples/nokia-streaming-box-8000/theme/config.jsonnew file mode 100644index 000000000..ce99bed13--- /dev/null+++ b/examples/nokia-streaming-box-8000/theme/config.json@@ -0,0 +1,19 @@+{+ "dock_apps": [+ "com.netflix.ninja",+ "com.google.android.youtube.tv",+ "com.amazon.amazonvideo.livingroom",+ "com.android.vending"+ ],+ "hidden_apps": [+ "com.google.android.youtube.tvmusic",+ "com.nes.seilivetv"+ ],+ "live_tv_package": "",+ "columns": 4,+ "rows_below_dock": 0,+ "background_color": "#000000",+ "wallpaper": false,+ "show_network_pill": false,+ "reduced_motion": false+}