Skip to content

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

examples: add Hisense HiSmartTV A4 on Android TV 11 (RTT2.221108.001)

vcheckk31674f0bd369
diff --git a/README.md b/README.md
index 9d1105bfc..a87c80317 100644
--- a/README.md
+++ b/README.md
@@ -109,6 +109,7 @@ Stellamore and XGIMI projectors
| CHiQ AI PONT (DVB93CQ) | Android TV 11 |
| Chromecast with Google TV 4K (sabrina) | Google TV 14 |
| Hisense HiSmartTV A4 (xiaoyushan, MStar m7322), India | Android TV 9 |
+| Hisense HiSmartTV A4 (xiaoyushan, MStar m7322), Android 11 firmware RTT2.221108.001 | Android TV 11 |
| Hisense SmartTV 4K FFM (huangshan, MediaTek) | Android TV 10 |
| Hisense U75 (hengshan, MediaTek), Latin America | Google TV 12 |
| Hitachi 65QLEDSM20 (MTC, bangbae, MediaTek m7322), Australia | Android TV 11 |
diff --git a/examples/README.md b/examples/README.md
index d92532661..ba682c34c 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -12,6 +12,7 @@ on that firmware, grouped and commented. These are starting points: comment out
| `chiq-ai-pont/` | CHiQ AI PONT (DVB93CQ) | Android TV 11 | Anoki ACR, FAST channels, AI PONT, Homwee services |
| `google-chromecast-gtv-4k/` | Chromecast with Google TV 4K (sabrina) | Google TV 14 | Google telemetry and ad services, ambient mode, launcherx + setupwraith; wireless-debugging pairing, YouTube button remap |
| `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-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-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-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) |
| `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 |
diff --git a/examples/hisense-hismarttv-a4-android11/debloat.txt b/examples/hisense-hismarttv-a4-android11/debloat.txt
new file mode 100644
index 000000000..819530610
--- /dev/null
+++ b/examples/hisense-hismarttv-a4-android11/debloat.txt
@@ -0,0 +1,68 @@
+# Hisense HiSmartTV A4 (device xiaoyushan, MStar/MediaTek m7322), Android TV 11, firmware RTT2.221108.001
+# (build 00.00.00.18), security patch 2023-12-05. 1.8 GB RAM, 32-bit userspace (armeabi-v7a only:
+# sideload armeabi-v7a or universal APKs). Same set as hisense-hismarttv-a4 after its Android 11 update.
+#
+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/hisense-hismarttv-a4-android11/debloat.txt
+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/hisense-hismarttv-a4-android11/debloat.txt
+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.
+#
+# ADB: turning USB debugging on opens network ADB on port 5555 directly (service.adb.tcp.port=5555,
+# adb_wifi_enabled=0); no Wireless debugging pairing needed. ro.adb.secure=1, so the TV asks
+# "Allow USB debugging?" on first connect.
+# Applied in three batches (group 1, group 2, then groups 3 and 4 together), ~15 s wait and a reboot
+# after each: normal boot every time, all 7 TV inputs still registered (HDMI 1-4, composite, two
+# tuners), and switching to HDMI 1 from the launcher's Inputs menu works.
+#
+# This firmware mixes the package namespaces of the Android 9 A4 list (com.mstar.*, the xiaoyushan
+# autoinstalls) and of hisense-smarttv-4k-ffm (com.hisense.evservice, service.message, b2b, alexa,
+# VIDAA). Most of the Android 9 list is gone here: com.hisense.app.logreport, com.hisense.storemode,
+# fusion.android.tv.demo, com.seraphic.browser, com.google.android.leanbacklauncher(.recommendations),
+# com.google.android.music, com.hisense.myapplication, com.google.android.apps.nbu.smartconnect.tv.
+#
+# Stock launcher: com.google.android.tvlauncher (the default in restore.sh), with Shop and Discover
+# tabs and a full-width sponsored hero banner that only the launcher swap removes. setupwraith is
+# installed but does not claim HOME on this firmware, and the Wi-Fi saved at setup belongs to
+# android.uid.system, so it is not in this list. launcher/build-and-install.sh worked unchanged and
+# Home survives a reboot.
+# Input key: the remote's Input button sends KEYCODE_TV_INPUT (scancode 184). The framework routes it
+# as a global key to com.mediatek.wwtv.tvcenter, which starts com.android.tv.action.VIEW_INPUTS, and
+# the only handler of that action is tvlauncher's InputsPanelActivity. With the stock launcher
+# disabled the key does nothing (ActivityNotFoundException in logcat); use the launcher's Inputs pill.
+#
+# Do NOT disable: com.hisense.tv.smartsense, com.vt.tv.smartsense.ui (the smartsense family sent the
+# Hisense FFM set to Android Recovery), com.mediatek.* (wwtv.tvcenter is Live TV and HDMI; autopair,
+# hotkey.dispatcher, tv.agent), com.hisense.tv.hitvinput (HDMI/AV/tuner inputs), com.hisense.kpad and
+# com.hisense.favkey (remote keys), com.mstar.netflixobserver (Netflix key), com.vidaa.persistent.service,
+# com.hisense.tv.smartservice, com.hisense.tv.customerlauncher, com.hisense.uifac,
+# com.hisense.audio_update_service, com.vt.eula. Left alone as well: com.hisense.tv.protector
+# ("Device Assistant" cleaner) and com.hisense.mixbar.
+# Kept here and optional: firmware updates (com.hisense.tv.ota, com.hisense.remoteupgrade), YouTube,
+# Chromecast (mediashell), Assistant (katniss), Screen Sharing / Miracast (com.mediatek.androidbox),
+# RemoteNOW (hisremotenow, hisremotenowserver), DLNA (com.hisense.tv.dlna), USB media player
+# (com.jamdeo.tv.mediacenter), Ambient screensaver (com.google.android.backdrop).
+# Already disabled at the factory: com.google.android.videos, com.google.android.play.games,
+# com.google.android.youtube.tvmusic, net.vidaatv.android.tv, air.com.vudu.air.DownloaderTablet.
+
+# Group 1: telemetry, ACR and tracking
+com.hisense.evservice # codePath /system/app/acr: automatic content recognition
+com.hisense.service.message # /system/app/HiMsgService: Hisense push messages
+com.google.android.partnersetup # partner referral tracking
+android.autoinstalls.config.hisense.xiaoyushan # silent partner-app auto-installs
+com.google.android.feedback # crash/feedback uploader
+com.google.android.tv.bugreportsender
+
+# Group 2: promo content, retail and commercial modes, Hisense preloads
+com.google.android.tvrecommendations # recommendation rows
+com.mstar.android.tv.disclaimercustomization # /system/product/app/VendorDisclaimer: store disclaimer
+com.hisense.tv.b2b # /system/app/HisenseB2B: hotel/commercial mode
+net.vidaatv.hisense.android.tv # "Hisense Channels", VIDAA free ad-supported channels
+com.hisense.alexa # /system/app/HiAlexa
+
+# Group 3: preloaded streaming apps, optional. Comment out the ones you use.
+com.netflix.ninja # the remote's Netflix key does nothing while this is off
+com.amazon.amazonvideo.livingroom # Prime Video
+com.pandora.android.atv
+
+# Group 4: unused on a television
+com.android.printspooler
+com.google.android.syncadapters.calendar