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
examples: add onn. 4K Plus Streaming (coffey, Google TV 14)
Alightsole836cd1cc1092
diff --git a/examples/README.md b/examples/README.mdindex da48e71be..e8878bdd6 100644--- a/examples/README.md+++ b/examples/README.md@@ -35,6 +35,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `nvidia-shield-tv-pro-2019/` | NVIDIA SHIELD TV Pro 2019 (P2897, mdarcy) | Android TV 11 | NVIDIA telemetry, GameStream leftovers, sponsored rows, partner auto-installs || `oneplus-tv-dubai/` | OnePlus TV (D00, Dubai) | Google TV 14 | HeyTap/OnePlus extras, OnePlus Connect, Smart Home || `onn-4k-streaming-box-2023/` | onn 4K Streaming Box (2023, Walmart; YOC, Amlogic), US | Google TV 14 | Google feedback, Play Games, Play Movies, ambient mode, launcherx + setupwraith; port 5555 opens without pairing; setupwraith owned the Wi-Fi saved at setup; remote app buttons and mic keep working (keep `com.gretzky.GlobalKey`) |+| `onn-4k-plus-2025/` | onn. 4K Plus Streaming (2025, Walmart; coffey, Amlogic S905X5M), US | Google TV 14 | Same build as the 2023 onn box: Google feedback, Privacy Sandbox APEX modules, Play Games, ambient mode, launcherx + setupwraith; YouTube/Netflix/Chromecast off by choice; keep `tv.remote.service` (it carries the remote mic); setupwraith owned the Wi-Fi saved at setup; remote keycodes listed, YouTube and Free TV buttons remapped with app_keys || `panasonic-4ktv-0su/` | Panasonic 4KTV-0SU (Skyworth-built SW4H, MediaTek m7332), Gulf region | Android TV 10 | Skyworth "Daily Play" sponsored row, ACR, Shop tab customizer, "firewall" service, CastPlay, shop demo and e-POP player, e-manual; Google feedback/partner setup, recommendation rows, ambient screensaver, calendar/print/backup leftovers; Assistant, Chromecast, games, Meet and unused streaming apps off by choice; 1.7 GB; setupwraith claims HOME and owns the saved Wi-Fi, keep it; Live TV is `com.smartdevice.livetv`; keep `com.mediatek.*` || `panasonic-4ktv-jup/` | Panasonic 4KTV-JUP (Jupiter_PA, MediaTek) | Android TV 11 | Google recommendation rows and screensaver, Panasonic demo/hotel/help apps, calendar/print/backup leftovers; streaming apps off by choice; keep `com.mediatek.*` || `panasonic-th-40hs550k/` | Panasonic TH-40HS550K (Skyworth-built, GS655 shibuya, MediaTek) | Android TV 11 | Skyworth auto-installs, shop demo and Demo Now, e-manual, MediaTek PQ test tool, Google feedback and smartconnect, recommendation rows and partner customizer; Assistant, USB media player, remote-firmware updater and unused streaming apps off by choice; 0.9 GB; keep `com.mediatek.*` and `com.coocaa.factory` |diff --git a/examples/onn-4k-plus-2025/debloat.txt b/examples/onn-4k-plus-2025/debloat.txtnew file mode 100644index 000000000..619029699--- /dev/null+++ b/examples/onn-4k-plus-2025/debloat.txt@@ -0,0 +1,71 @@+# onn. 4K Plus Streaming (2025, Walmart; device coffey, model "onn. 4K Plus Streaming", Amlogic S905X5M), 2 GB RAM, US+# Google TV 14 (SDK 34), build URO4.260304.011.B1.15051976 (same build as onn-4k-streaming-box-2023)+#+# Apply: TV_HOST=<ip> tools/disable.sh examples/onn-4k-plus-2025/debloat.txt+# Undo: TV_HOST=<ip> tools/restore.sh examples/onn-4k-plus-2025/debloat.txt com.google.android.apps.tv.launcherx+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Stock launcher: com.google.android.apps.tv.launcherx. No HDMI inputs or Live TV (it's a box):+# leave live_tv_package empty in config.xml.+#+# Known quirks on this firmware:+# - USB debugging opens port 5555 straight away; no Wireless debugging pairing needed.+# - KEEP com.google.android.tv.remote.service. Besides the phone remote it carries the Bluetooth remote's+# mic: with it disabled the mic button does nothing at all (no key event, no voice UI). Re-enabling it+# brings the mic back. It holds the android.app.role.SYSTEM_TELEVISION_REMOTE_SERVICE role.+# - The Wi-Fi network saved during first setup belongs to setupwraith (dumpsys wifi: OwnerUid = setupwraith's+# uid). Forget and re-join it in Settings > Network & Internet before disabling setupwraith; afterwards it+# shows cname=android.uid.system:1000. tools/disable.sh skips setupwraith until then.+# - setupwraith's RecoveryActivity claims Home (priority 1) and goes before launcherx, as on the Chromecast.+# - Voice search (Gemini / com.google.android.katniss) keeps working with launcherx disabled.+# - Remote buttons (/vendor/usr/keylayout/Vendor_0957_Product_0031.kl):+# YouTube = KEYCODE_BUTTON_3 and Free TV = KEYCODE_FEATURED_APP_1, both routed to launcherx, so they do+# nothing once it is disabled. Netflix = KEYCODE_BUTTON_4; the Disney+ and Paramount+ buttons send+# BUTTON_9 / BUTTON_10. Those three go to com.droidlogic's GlobalKeyReceiver ("oneTouchPlay"), which opens+# the app, and for a disabled or missing app logs "Cannot find intent" or opens its Play Store page.+# InputKeyService (INPUT_KEY_SERVICE=1 launcher/build-and-install.sh) with app_keys remaps them, checked+# with the physical remote, e.g. in a theme's config.json:+# "app_keys": ["KEYCODE_BUTTON_3:org.smarttube.stable", "KEYCODE_BUTTON_4:com.stremio.one",+# "KEYCODE_FEATURED_APP_1:com.amarullz.androidtv.animetvjmto"]+# - Free TV / "Freeplay" lives inside launcherx and goes with it.+# - Google TV / Play Movies (com.google.android.videos) is not preinstalled on this box.+# - Disabling dreamx leaves no screensaver set (screensaver_components was null; the default was dreamx).+# Point it at the launcher's clock: settings put secure screensaver_components com.gathin.tvhome/.ClockDream+# - Animation scales already ship at 0.5x on this build.+#+# Kept on purpose: voice (com.google.android.katniss) and com.google.android.tv.remote.service (see above),+# onn update prompts (com.onn.updatenotification), remote firmware updates (com.google.android.tv.dfuservice),+# com.gretzky.GlobalKey (onn remote app buttons), com.droidlogic.* (Amlogic vendor: HDMI, picture, remote+# buttons), com.onn.bluetoothconnect (BT remote setup), com.google.android.tv.axel (remote audio routing),+# Play Store / Play Services, Gboard.++# Telemetry and feedback+com.google.android.feedback+com.android.tv.feedbackconsent++# Privacy Sandbox / federated learning. APEX modules here, under com.android.* names (com.google.android.*+# on the Chromecast). Play Store and voice search still work with them off; re-enable if either misbehaves.+com.android.adservices.api+com.android.ondevicepersonalization.services+com.android.federatedcompute.services++# Preloaded apps+com.google.android.play.games+com.android.printspooler+com.google.android.marvin.talkback # re-enable if you need the screen reader++# Google ambient mode screensaver (replaced by the launcher's Clock screensaver)+com.google.android.apps.tv.dreamx++# Off by choice on the tested box: comment out the ones you use+com.google.android.youtube.tv # official YouTube (SmartTube used instead)+com.google.android.youtube.tvmusic+com.netflix.ninja+com.netflix.tokenmanager # Netflix partner token service, only serves Netflix+com.google.android.apps.mediashell # Chromecast built-in++# Stock home. launcher/build-and-install.sh disables launcherx itself once the new launcher is installed+# and verified, and restore.sh re-enables it; setupwraith has to go too (its RecoveryActivity takes Home),+# so it stays in the list for restore.sh to bring back.+# com.google.android.apps.tv.launcherx+com.google.android.tungsten.setupwraith # setup wizard; forget and re-join Wi-Fi first (see quirks)