Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

Add onn 4K Streaming Box (2023) debloat list

shuklamrajat05c1dd1b9bb0
diff --git a/examples/README.md b/examples/README.md
index d92532661..0273dd713 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -18,6 +18,7 @@ on that firmware, grouped and commented. These are starting points: comment out
| `insignia-ns55f301na25/` | Insignia 55" F30 4K Fire TV (NS-55F301NA25, AFTDCT31, duckie) | Fire OS 7 / Android 9 | Amazon ACR telemetry, Fire TV ads/shopping, Alexa, OTA updates; AirPlay and TIF HDMI inputs kept |
| `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`) |
| `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.*` |
| `philips-50pus8517/` | Philips 50PUS8517/12 (TP Vision, PH1M_EA_9970A, MediaTek MT5895), Europe | Android TV 11 | First `org.droidtv` TP Vision list: DAC analytics uploader (AWS Firehose), Top Picks, app gallery; Assistant, DLNA, IP control off by choice; disabling `eum` or `aurora` leaves persistent `xtv` retrying forever, and `eum` also kills the sources drawer -- see quirk 5 |
| `philips-55pus7503/` | Philips 55PUS7503/12 (TP Vision TPM171E, PH7M_EU_5596, MediaTek MT5891), Europe | Android TV 8.0 | Conservative older-generation list: Philips demo, Top Picks and usage logging; Google recommendations/tutorials; voice, Chromecast, updates, Ambilight and all streaming apps kept |
diff --git a/examples/onn-4k-streaming-box-2023/debloat.txt b/examples/onn-4k-streaming-box-2023/debloat.txt
new file mode 100644
index 000000000..381f33dd3
--- /dev/null
+++ b/examples/onn-4k-streaming-box-2023/debloat.txt
@@ -0,0 +1,44 @@
+# onn 4K Streaming Box (2023, Walmart; device YOC, product onn_4k_gtv, Amlogic), 2 GB RAM
+# Google TV 14 (SDK 34), build URO4.260304.011.B1.15051976
+#
+# Apply: TV_HOST=<ip> tools/disable.sh examples/onn-4k-streaming-box-2023/debloat.txt
+# Undo: TV_HOST=<ip> tools/restore.sh examples/onn-4k-streaming-box-2023/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:
+# - Unlike the Chromecast on Google TV 14, port 5555 is open as soon as USB debugging is on; no pairing.
+# - If a VPN app is connected, Settings > Network shows the VPN tunnel address, not the LAN one.
+# Find the box with `nc -z <lan>.x 5555` or `dns-sd -B _adb-tls-connect._tcp local.`.
+# - The Wi-Fi network saved during first setup belongs to setupwraith (dumpsys wifi: cname=...setupwraith).
+# Forget and re-join it in Settings before disabling setupwraith, or the network is deleted.
+# - As on the Chromecast, setupwraith's RecoveryActivity takes Home until setupwraith is disabled.
+# - Unlike the Chromecast, the remote's app buttons and mic keep working with launcherx disabled
+# (com.gretzky.GlobalKey handles them; keep it). No key-mapper workaround needed.
+#
+# Kept on purpose: Google Assistant (com.google.android.katniss), Cast receiver
+# (com.google.android.apps.mediashell), onn update prompts (com.onn.updatenotification), com.gretzky.GlobalKey (onn remote app buttons), com.gretzky.hwinfo,
+# com.droidlogic.* (Amlogic vendor: HDMI, picture, remote pairing), com.onn.bluetoothconnect,
+# Play Store / Play Services, Gboard, com.google.android.tv.dfuservice (remote firmware updates),
+# com.google.android.tv.remote.service (phone remote).
+
+# Telemetry and feedback
+com.google.android.feedback
+com.android.tv.feedbackconsent
+
+# Preloaded apps
+com.google.android.play.games
+com.google.android.videos # Google TV / Play Movies
+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
+
+# 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 (it re-enables launcherx),
+# 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; its RecoveryActivity otherwise takes over Home