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
Add Hisense HG9 (HiSmart 4K A4FFM) debloat list
Tanner Powellb38da8d11a17
diff --git a/examples/README.md b/examples/README.mdindex 7c1a95513..68081bf04 100644--- a/examples/README.md+++ b/examples/README.md@@ -11,6 +11,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 |+| `hisense-hg9/` | Hisense HG9 (HiSmart 4K A4FFM) | Android TV 9 | ACR collector, Smartsense, log reporter, store mode, B2B; FLauncher used instead of stock || `rca-ai-pont/` | RCA AI PONT SA (Changhong, redwood, ISDB92RC) | Android 14 | Homwee store and installers, Anoki ACR, FAST channels; 1 GB || `sanyo-atv-r2/` | SANYO ATV R2 (SCBC, Realtek RTD285O) | Android TV 9 | S-Channels, E-SHOW demo, Vewd, TV Booster, SANYO OTA || `sony-bravia-4k-ur2/` | Sony BRAVIA 4K UR2 (BRAVIA_UR2_4K, MediaTek) | Android TV 10 | Samba TV, Sony promos/Select, demo mode; Assistant, Chromecast, unused streaming apps off by choice |@@ -27,5 +28,6 @@ on that firmware, grouped and commented. These are starting points: comment out| `xiaomi-mitv-moor2/` | Xiaomi MiTV-MOOR2 (venom, MediaTek) | Google TV 11 | Mi ad row and PatchWall, Mi analytics, MiLink, store demo; setup wizard off so a third-party launcher can own Home || `xiaomi-tv-a-pro-2026/` | Xiaomi TV A Pro 75" 2026 (MiTV-MZTU0, river, MediaTek) | Google TV 14 | PatchWall/Mi Home tab, Mi analytics, TV Manager, updaters; setup wizard off, launcherx crash-loop notes |+To add your TV, see [CONTRIBUTING.md](../CONTRIBUTING.md). The quickest way to get a list is torun the prompt in [PROMPT.md](../PROMPT.md) and copy the packages your assistant disabled.diff --git a/examples/hisense-hg9/debloat.txt b/examples/hisense-hg9/debloat.txtnew file mode 100644index 000000000..76ce2df0c--- /dev/null+++ b/examples/hisense-hg9/debloat.txt@@ -0,0 +1,71 @@+# Hisense HG9 (HiSmart 4K A4FFM, device laohushan, MediaTek), Android TV 9 (API 28),+# build PTMR.190127.037, security patch 2021-02-05, kernel 4.9.118. 2 GB RAM class.+# Tested on a set used as an Apple TV display over HDMI.+#+# Stock launcher: com.google.android.tvlauncher (pass it to restore.sh; replaced+# here by FLauncher from the Play Store, not launcher/, set as default with+# `cmd package set-home-activity me.efesser.flauncher/.MainActivity`).+# Live TV app: stock Live TV was left alone; HDMI input is com.hisense.tv.hitvinput.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/hisense-hg9/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/hisense-hg9/debloat.txt com.google.android.tvlauncher+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Notes from this firmware:+# - USB debugging alone does NOT open network ADB; the TV needs its explicit+# Network/Wireless debugging toggle too, plus a reboot before port 5555 opens.+# - The Beryl/GL.iNet "block client" toggle deauths the TV entirely (no join at+# all), it is not a WAN-only block. Debloat over an isolated offline LAN instead.+# - com.google.android.tungsten.setupwraith re-enables the stock launcher, so it+# is listed (per the FLauncher README method).+# - Play Store showed "Something went wrong" with AuthFailureError even after+# re-signing in; `pm clear com.google.android.gsf` + reboot + fresh sign-in+# fixed it. The tvrecommendations prefetch errors in Finsky logs are a red+# herring (they persist with the services enabled and are non-fatal).+# - Kept deliberately: hitvinput + mtktvapi_agent + tvcenter (HDMI/tuner),+# tv.settings/providers.tv, Play Store + Play Services, remote keys (kpad,+# hotkey dispatcher, autopair), Bluetooth, latin IME, system UI, Alexa,+# Chromecast, DLNA service, OTA updater, phone-remote service (lost-remote+# fallback), and the MStar disclaimer customizer (first-boot legal text).+# - Netflix, Prime Video, YouTube, Apple TV, Pluto, Vudu, Hulu apps kept and+# updated through the Play Store. Pandora, Peacock, Kids, Play Games, Max,+# Paramount+, MediaCenter removed by owner choice (Apple TV is the streamer).++# Hisense telemetry and viewing-data collection+com.hisense.app.logreport # LogReportManagerService, persistent system reporter+com.hisense.evservice # ACR collector (/system/priv-app/acr), watches HDMI too+com.hisense.tv.smartsense # Smartsense analytics+com.hisense.tv.smartservice # SmartsenseService background service+com.vt.tv.smartsense.ui # Smartsense companion UI+com.mstar.netflixobserver # MNetflixObserver measurement service (Netflix app untouched)+com.hisense.service.message # HiMsgService push messaging+com.hisense.hitv.hicloud.account # HiCloud account manager+android.autoinstalls.config.hisense.laohushan # partner silent app auto-installs++# Hisense promos, cleaners, demo, business mode+com.hisense.tv.customerlauncher # CustomerLauncher home-screen tweaks+com.hisense.tv.protector # TvProtector "speedup" cleaner+com.hisense.storemode # retail store demo mode+com.hisense.tv.b2b # HisenseB2B hotel/business mode+fusion.android.tv.demo # fusion demo app++# Google recommendation rows and reporters+com.google.android.tvrecommendations+com.google.android.leanbacklauncher.recommendations+com.google.android.feedback+com.google.android.tv.bugreportsender+com.google.android.backdrop # Backdrop Daydream idle/cast screensaver (owner choice)+com.google.android.tts # Speech recognition & synthesis (owner choice; kills voice search)++# Owner-confirmed streaming preload removals+com.pandora.android.atv+com.peacocktv.peacockandroid+com.google.android.youtube.tvkids+com.google.android.play.games+com.wbd.stream # Max+com.cbs.ott # Paramount++com.jamdeo.tv.mediacenter # Hisense MediaCenter DLNA/USB player++# Launchers (stock replaced by FLauncher)+com.google.android.tvlauncher+com.google.android.tungsten.setupwraith