Skip to content

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

examples: fold the US Hisense U9DG into hisense-smarttv-4k-ffm

johnbenwoo3d7f52cbba4d
diff --git a/README.md b/README.md
index 148147c37..43d45b0a7 100644
--- a/README.md
+++ b/README.md
@@ -142,9 +142,8 @@ BYINTEK, JMGO, Portronics, Stellamore, Wanbo and XGIMI projectors
| Hisense HG9 (HiSmart 4K A4FFM) | Android TV 9 |
| Hisense HiSmartTV A4 (xiaoyushan, MStar m7322), Android 11 firmware RTT2.221108.001 | Android TV 11 |
| Hisense HiSmartTV A4 (xiaoyushan, MStar m7322), India | Android TV 9 |
-| Hisense SmartTV 4K FFM (huangshan, MediaTek) | Android TV 10 |
+| Hisense SmartTV 4K FFM (huangshan, MediaTek), Latin America; also the US Hisense U9DG | Android TV 10 |
| Hisense U75 (hengshan, MediaTek), Latin America | Google TV 12 |
-| Hisense 75" U9DG Dual-Cell ULED (huangshan, MediaTek), USA | Android TV 10 |
| Hitachi 65QLEDSM20 (MTC, bangbae, MediaTek m7322), Australia | Android TV 11 |
| Hitachi CDH-LE32SMART21 (TCL-built C06, C06_2K_GB, MediaTek MT9221, 1 GB), Argentina | Android TV 11 |
| Insignia 55" F30 4K Fire TV (NS-55F301NA25, AFTDCT31, duckie) | Fire OS 7 / Android 9 |
diff --git a/examples/README.md b/examples/README.md
index f0910a225..15842fcb6 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -35,9 +35,8 @@ on that firmware, grouped and commented. These are starting points: comment out
| `hisense-hg9/` | Hisense HG9 (HiSmart 4K A4FFM) | Android TV 9 | ACR collector, Smartsense, log reporter, store mode, B2B; FLauncher used instead of stock |
| `hisense-hismarttv-a4-android11/` | Hisense HiSmartTV A4 (xiaoyushan, MStar m7322), Android 11 firmware RTT2.221108.001 | Android TV 11 | Same set after its Android 11 update, now with the FFM-style namespace: Hisense ACR (evservice), push messages, VIDAA Channels, HiAlexa, hotel mode, store disclaimer, Google partner tracking and auto-installs; streaming apps optional; OTA, casting, Assistant kept; USB debugging opens port 5555; the Input key only works through the stock launcher (VIEW_INPUTS); smartsense kept |
| `hisense-hismarttv-a4/` | Hisense HiSmartTV A4 (xiaoyushan, MStar m7322), India | Android TV 9 | Hisense log reporting, sponsored home rows, store demo, preload auto-installs, OTA; USB debugging opens port 5555, no wireless toggle; smartsense kept |
-| `hisense-smarttv-4k-ffm/` | Hisense SmartTV 4K FFM (huangshan, MediaTek) | Android TV 10 | ACR (evservice), VIDAA preload, store/hotel mode, OTA; smartsense must stay enabled |
+| `hisense-smarttv-4k-ffm/` | Hisense SmartTV 4K FFM (huangshan, MediaTek), Latin America; also the US Hisense U9DG | Android TV 10 | ACR (evservice), VIDAA preload, store/hotel mode, OTA, Google partner tracking and PAI auto-installs; US (U9DG) preloads, Alexa, Assistant, Miracast and RemoteNOW off by choice; smartsense must stay enabled; setupwraith kept (no HOME claim); Input button is KEYCODE_TV_INPUT → VIEW_INPUTS, which only the stock launcher answered, so config.json sets handle_view_inputs |
| `hisense-u75-hengshan/` | Hisense U75 (hengshan, MediaTek), Latin America | Google TV 12 | Vtp_ACR content recognition, VIDAA Channels Plus + content tab, Family Moment, store/hotel/factory, DeviceAssistant cleaner, Ginga broadcast middleware, Google PAI auto-installs; OTA, casting and all streaming apps kept by choice; smartsense/AIoT family must stay (Recovery risk) |
-| `hisense-u9dg/` | Hisense 75" U9DG Dual-Cell ULED (huangshan, MediaTek), USA | Android TV 10 | Same device and build as hisense-smarttv-4k-ffm with the US preloads: ACR (evservice), push, partner tracking and PAI auto-installs, store/hotel/demo/FTE, recommendation rows; 14 US streaming preloads, Alexa, Assistant, Miracast and RemoteNOW off by choice; OTA, Chromecast kept; smartsense/aiot must stay (Recovery risk); setupwraith kept (no HOME claim); Input button is KEYCODE_TV_INPUT → VIEW_INPUTS, which only the stock launcher answered |
| `hitachi-65qledsm20/` | Hitachi 65QLEDSM20 (MTC, bangbae, MediaTek m7322), Australia | Android TV 11 | Anoki ACR and FAST channels, JVC auto-installs; the "demo" package handles the Input key and remote pairing; 1.3 GB |
| `hitachi-cdh-le32smart21/` | Hitachi CDH-LE32SMART21 (TCL-built C06, C06_2K_GB, MediaTek MT9221, 1 GB), Argentina | Android TV 11 | TCL promo/portal/popups, TGuard (memory manager keeps running), Google feedback and recommendation rows; same platform as the TCL 40S5400A; ttvs is the firmware updater, keep it; /data nearly full blocks installs, low RAM makes TGuard kill Play mid-install; Prime Video, Chromecast, USB players off by choice |
| `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 |
diff --git a/examples/hisense-smarttv-4k-ffm/config.json b/examples/hisense-smarttv-4k-ffm/config.json
new file mode 100644
index 000000000..e4823658b
--- /dev/null
+++ b/examples/hisense-smarttv-4k-ffm/config.json
@@ -0,0 +1,5 @@
+{
+ "hidden_apps": ["com.mediatek.wwtv.tvcenter", "com.hisense.tv.protector"],
+ "live_tv_package": "com.mediatek.wwtv.tvcenter",
+ "handle_view_inputs": true
+}
diff --git a/examples/hisense-smarttv-4k-ffm/debloat.txt b/examples/hisense-smarttv-4k-ffm/debloat.txt
index 773de1dbf..60e9512bd 100644
--- a/examples/hisense-smarttv-4k-ffm/debloat.txt
+++ b/examples/hisense-smarttv-4k-ffm/debloat.txt
@@ -1,5 +1,7 @@
# Hisense SmartTV 4K FFM (device huangshan, MediaTek), Android TV 10, firmware QTG3.200902.001
# Security patch 2023-02-05. Sold in Latin America; the Android model string is "SmartTV 4K FFM".
+# The same device and build ships in the USA as the Hisense U9DG (75" Dual-Cell ULED, 2021), with a
+# US preload set: the "US (U9DG)" groups below. 2 GB RAM, armeabi-v7a (32-bit userspace), 7.7 GB /data.
#
# Apply: TV_HOST=<tv ip> tools/disable.sh examples/hisense-smarttv-4k-ffm/debloat.txt
# Undo: TV_HOST=<tv ip> tools/restore.sh examples/hisense-smarttv-4k-ffm/debloat.txt
@@ -14,16 +16,39 @@
# This list was then applied in seven groups with a reboot after each: no crashes, normal boot.
# If you experiment with more packages, reboot after each small group, and wait ~15 s after
# pm disable-user before rebooting: rebooting immediately lost the change on this TV.
+# US (U9DG), 2026-10-21: the Hisense, Google and US groups applied in five batches with a reboot after
+# each, OTA kept: normal boot every time, all 7 inputs (HDMI 1-4, composite, two tuners) still
+# registered, HDMI switching from the launcher and Chromecast work. Fresh on that set, not yet lived
+# with for weeks.
+#
+# ADB: turning USB debugging on opens port 5555 directly (no Wireless debugging pairing);
+# ro.adb.secure=1, so the TV asks "Allow USB debugging?" on first connect.
+# Input button (U9DG Bluetooth remote, Vendor_000d_Product_3838.kl): scancode 220 = KEYCODE_TV_INPUT,
+# which the Live TV app and the launcher's InputKeyService turn into com.android.tv.action.VIEW_INPUTS.
+# Nothing on this firmware answers that action once tvlauncher is disabled (no global_keys.xml, no
+# vendor input picker), so the button does nothing until the launcher answers it itself:
+# handle_view_inputs in config.json in this folder (TV_HOST=<tv ip> tools/theme.sh
+# examples/hisense-smarttv-4k-ffm), with INPUT_KEY_SERVICE=1 at install.
+# setupwraith (com.google.android.tungsten.setupwraith) owns the Wi-Fi saved at setup but does not
+# claim HOME on this firmware, so it stays enabled; launcher/build-and-install.sh worked unchanged.
#
# Keep: com.mediatek.* (including com.mediatek.wwtv.tvcenter, the Live TV and HDMI app),
# com.hisense.tv.hitvinput, com.hisense.tv.smartservice, com.vidaa.persistent.service,
# com.hisense.tv.customerlauncher. HDMI-CEC and the inputs keep working with this list.
# Stock launcher: com.google.android.tvlauncher (the default in restore.sh).
-# Already disabled at the factory: net.vidaatv.android.tv, Pandora, Vudu, Play Games.
+# Already disabled at the factory: net.vidaatv.android.tv, Pandora, Vudu, Play Games (and on the
+# U9DG also Google TV movies, YouTube Music, the Hisense browser and the calendar provider).
# Hisense telemetry: ACR ("Enhanced Viewing" content recognition and data-sharing consent)
com.hisense.evservice
+# Google tracking and silent auto-installs (checked on the US U9DG, same build)
+com.google.android.partnersetup # partner referral tracking
+android.autoinstalls.config.hisense.huangshan # PAI: queues partner apps (Sling, FanDuel, Freevee tiles on the US set)
+com.google.android.feedback # crash/feedback uploader
+com.google.android.tv.bugreportsender
+com.google.android.syncadapters.calendar # unused on a TV
+
# Hisense content, preloads and push messages
net.vidaatv.hisense.android.tv # VIDAA app preload
com.hisense.fte # first-time experience
@@ -51,9 +76,29 @@ com.hisense.alexa
com.google.android.tv.assistant
com.google.android.katniss # Google Assistant and voice search
+# US (U9DG) preloaded streaming apps, off by choice. Comment out the ones you use. Kept on that set:
+# Netflix, YouTube, Prime Video, Disney+, HBO Max, Apple TV, Hulu, Peacock, Peloton, Tubi, Pluto TV.
+com.google.android.youtube.tvkids
+com.google.android.youtube.tvunplugged # YouTube TV
+com.cbs.ott # Paramount+
+tv.twitch.android.app
+com.vimeo.android.videoapp
+com.ted.android.tv
+com.clearchannel.iheartradio.tv
+com.espn.score_center
+com.foxsports.videogo
+com.nousguide.android.rbtv # Red Bull TV
+com.abclocal.kabc.news # ABC7 Los Angeles
+com.imdbtv.livingroom # IMDb TV / Freevee
+com.yeelink.yeelightflow.hisense.overseas # Yeelight smart-light app
+
+# Sharing services, off by choice on the U9DG. Chromecast (com.google.android.apps.mediashell) kept.
+com.mediatek.androidbox # Miracast screen sharing (WFDSinkTest)
+com.hisense.tv.hisremotenow # RemoteNOW phone app
+com.hisense.tv.hisremotenowserver
+
# Do NOT disable (see warning above): com.hisense.tv.smartsense, com.vt.tv.smartsense.ui, com.vt.tv.aiot
-# Optional, kept here: com.hisense.tv.hisremotenow and com.hisense.tv.hisremotenowserver (RemoteNOW
-# phone app). Checked with dumpsys and kept because they look tied to the system or features:
+# Checked with dumpsys and kept because they look tied to the system or features:
# com.vt.tv.aipq (picture quality), com.hisense.tv.protector, com.hisense.kpad, com.hisense.favkey,
# com.hisense.uifac, com.hisense.tv.rcs, com.hisense.mixbar, com.hisense.tv.dlna,
# com.jamdeo.tv.mediacenter (USB media), com.hisense.audio_update_service, com.vt.eula,
diff --git a/examples/hisense-u9dg/config.json b/examples/hisense-u9dg/config.json
deleted file mode 100644
index 91d18d3b6..000000000
--- a/examples/hisense-u9dg/config.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "dock_apps": [
- "com.netflix.ninja",
- "com.google.android.youtube.tv",
- "com.wbd.stream",
- "com.apple.atve.androidtv.appletv"
- ],
- "hidden_apps": ["com.mediatek.wwtv.tvcenter", "com.hisense.tv.protector"],
- "live_tv_package": "com.mediatek.wwtv.tvcenter",
- "columns": 4,
- "rows_below_dock": 0,
- "handle_view_inputs": true
-}
diff --git a/examples/hisense-u9dg/debloat.txt b/examples/hisense-u9dg/debloat.txt
deleted file mode 100644
index 577cb0afb..000000000
--- a/examples/hisense-u9dg/debloat.txt
+++ /dev/null
@@ -1,85 +0,0 @@
-# Hisense 75" U9DG Dual-Cell ULED (device huangshan, MediaTek), Android TV 10, firmware QTG3.200902.001
-# Security patch 2023-02-05. Sold in the USA (2021). Android model string "SmartTV 4K FFM", the same
-# device and build as hisense-smarttv-4k-ffm (Latin America), with the US preload set. 2 GB RAM,
-# armeabi-v7a (32-bit userspace), 7.7 GB /data.
-#
-# Apply: TV_HOST=<tv ip> tools/disable.sh examples/hisense-u9dg/debloat.txt
-# Undo: TV_HOST=<tv ip> tools/restore.sh examples/hisense-u9dg/debloat.txt
-# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.
-#
-# WARNING: never disable com.hisense.tv.smartsense, com.vt.tv.smartsense.ui or com.vt.tv.aiot. On this
-# firmware that family sent a TV to Android Recovery ("Can't load Android system", see
-# hisense-smarttv-4k-ffm). If you ever land on that screen pick "Try again", never "Factory data reset".
-#
-# ADB: turning USB debugging on opens port 5555 directly (no Wireless debugging pairing); ro.adb.secure=1,
-# so the TV asks "Allow USB debugging?" on first connect. Wait ~15 s after pm disable-user before a reboot.
-# Applied on 2026-10-21 in five batches with a reboot after each: normal boot every time, all 7 inputs
-# (HDMI 1-4, composite, two tuners) still registered, HDMI switching from the launcher works. Fresh list,
-# not yet lived with for weeks; update it if something breaks.
-#
-# Keep: com.mediatek.* (wwtv.tvcenter is Live TV and HDMI; autopair, tv.agent, partner.netflix for the
-# Netflix key), com.hisense.tv.hitvinput (HDMI/AV/tuner inputs), com.hisense.tv.smartservice,
-# com.vidaa.persistent.service, com.hisense.tv.customerlauncher, com.hisense.kpad and com.hisense.favkey
-# (remote keys), com.hisense.uifac, com.hisense.tv.rcs, com.hisense.mixbar, com.hisense.tv.protector
-# ("Device Assistant" cleaner, only hidden in the launcher config), com.hisense.audio_update_service,
-# com.vt.eula, com.vt.tv.aipq, com.hisense.tv.videocolor, com.hisense.tv.dlna, com.jamdeo.tv.mediacenter
-# (USB media), com.google.android.apps.mediashell (Chromecast), com.google.android.tungsten.setupwraith
-# (owns the Wi-Fi saved at setup but does not claim HOME on this firmware, so it can stay).
-# Stock launcher: com.google.android.tvlauncher (the default in restore.sh), with a full-width sponsored
-# hero banner that only the launcher swap removes. launcher/build-and-install.sh worked unchanged.
-# Input button: the Bluetooth remote (Vendor_000d_Product_3838.kl) sends scancode 220 = KEYCODE_TV_INPUT,
-# which the Live TV app and the launcher's InputKeyService turn into com.android.tv.action.VIEW_INPUTS.
-# Nothing on this firmware answers that action once tvlauncher is disabled (no global_keys.xml, no vendor
-# input picker). The launcher answers it itself when handle_view_inputs is on: config.json in this folder
-# sets it (TV_HOST=<tv ip> tools/theme.sh examples/hisense-u9dg), with INPUT_KEY_SERVICE=1 at install.
-# Already disabled at the factory: net.vidaatv.android.tv, Pandora, Vudu, Play Games, Google TV movies,
-# YouTube Music, the Hisense browser, the calendar provider.
-
-# Group 1: telemetry, ACR, tracking, silent auto-installs
-com.hisense.evservice # ACR "Enhanced Viewing" content recognition
-com.hisense.service.message # Hisense push messages
-com.google.android.partnersetup # partner referral tracking
-android.autoinstalls.config.hisense.huangshan # PAI: silent partner-app auto-installs (Sling, FanDuel, Freevee tiles)
-com.google.android.feedback # crash/feedback uploader
-com.google.android.tv.bugreportsender
-
-# Group 2: retail demo, hotel mode, first-run walkthrough, Google home-row recommendations
-com.hisense.storemode
-com.hisense.hotelmode
-com.hisense.tv.b2b
-com.demo
-com.hisense.fte # first-time experience
-com.google.android.tvrecommendations # sponsored/recommendation rows
-com.google.android.syncadapters.calendar # unused on a TV
-
-# Group 3: preloaded streaming apps, off by choice. Comment out the ones you use. Kept on this set:
-# Netflix, YouTube, Prime Video, Disney+, HBO Max, Apple TV, Hulu, Peacock, Peloton, Tubi, Pluto TV.
-com.google.android.youtube.tvkids
-com.google.android.youtube.tvunplugged # YouTube TV
-com.cbs.ott # Paramount+
-tv.twitch.android.app
-com.vimeo.android.videoapp
-com.ted.android.tv
-com.clearchannel.iheartradio.tv
-com.espn.score_center
-com.foxsports.videogo
-com.nousguide.android.rbtv # Red Bull TV
-com.abclocal.kabc.news # ABC7 Los Angeles
-com.imdbtv.livingroom # IMDb TV / Freevee
-net.vidaatv.hisense.android.tv # Hisense Channels (VIDAA free channels)
-com.yeelink.yeelightflow.hisense.overseas # Yeelight smart-light app
-
-# Group 4: voice assistants, off by choice. The remote's mic button stops working.
-com.hisense.alexa
-com.google.android.katniss # Google Assistant / voice search
-com.google.android.tv.assistant
-
-# Group 5: sharing services, off by choice. Chromecast (com.google.android.apps.mediashell) kept.
-com.mediatek.androidbox # Miracast screen sharing (WFDSinkTest)
-com.hisense.tv.hisremotenow # RemoteNOW phone app
-com.hisense.tv.hisremotenowserver
-
-# Firmware updates, kept by choice. Add these three to stop OTA updates:
-# com.hisense.tv.ota
-# com.hisense.remoteupgrade
-# com.vt.tv.usbota