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 Hisense 65E5H (VIDAA_TV, MediaTek MT9652), Android 9
yanxijiand5ed31f5cbfe
diff --git a/examples/hisense-65e5h/README.md b/examples/hisense-65e5h/README.mdnew file mode 100644index 000000000..e9f9f109a--- /dev/null+++ b/examples/hisense-65e5h/README.md@@ -0,0 +1,76 @@+# Hisense 65E5H: ADB through the factory menu, and what this list changes++Owner report for a China-market Hisense 65E5H running JuUI 9 on Android 9. The tested list is+[debloat.txt](debloat.txt); it keeps the stock Home and Live TV, so it is debloat only.++| Item | Value |+|---|---|+| Retail model | Hisense 65E5H, China |+| `ro.product.model` / `ro.product.device` | `VIDAA_TV` / `MTK9652` |+| Board | `hisense_m7642_cn` |+| Android / API | 9 / 28 |+| Build | `PPR2.180905.006.A1 release-keys`, incremental `02.02.60.01` |+| Panel | reported 1920x1080, density 320 |+| ABIs | `armeabi-v7a` only |+| `ro.adb.secure` | `1` |+| `service.adb.tcp.port` | `5555` |+| Packages | 126 installed, 0 disabled at the factory |+| Stock Home / Live TV | `com.jamdeo.tv.vod` / `com.jamdeo.tv.livetv` |++| File | Contents |+|---|---|+| `debloat.txt` | The 29 packages that were disabled, grouped and commented |++## Enabling ADB++The native Android Settings are hidden behind the factory menu on this set, the same route the+[E5Q Pro](../hisense-e5q-pro/README.md) documents for its firmware:++1. **Settings → Sound → Advanced settings → Sound Balance** (设置 → 声音 → 高级设置 → 音量平衡).+ If Dolby Atmos is enabled, Sound Balance cannot be opened: turn the Dolby effect off first and+ restore your sound settings afterwards.+2. Alternate the remote's OK and Menu/Settings keys until the factory screen with a large **M**+ appears, press Menu to open the factory menu, and set **Options (选项) → ToFac** from U to M.+3. Reboot. Open the version/device information page (本机信息) and press the Menu key about five times+ to reach the native Android Settings: **About → Build number** repeatedly, then+ **Developer options → USB debugging**.+4. When the work is done, set ToFac back from M to U and reboot. M mode is what the E5Q Pro notes name+ as blocking the OTA check, and leaving the TV in it serves no purpose; the authorised ADB key+ survives the switch back.++`service.adb.tcp.port` is already 5555, so switching USB debugging on opens the port over Wi-Fi;+there is no separate network-debugging toggle and no cable is needed.++`ro.adb.secure=1`, so the computer has to be authorised once. This unit is slow to show the prompt:++- The dialog is drawn by the Android layer. If the TV is showing HDMI or the live-TV picture, the+ prompt exists but cannot be seen; stay on the JuUI home or inside the native Settings pages.+- If no prompt appears, dismiss anything stacked on screen, use **Revoke USB debugging+ authorizations** (撤销 USB 调试授权), toggle USB debugging off and on, then reconnect.+- If `adb connect` says `failed to authenticate` within a second and nothing ever appears on the TV,+ check that the computer has a key at all (`~/.android/adbkey`). An adb with no key sends no public+ key, so the TV has nothing to prompt about. `adb keygen <file>` writes one, or let a normal first+ run create it.++## One firmware quirk worth knowing++Rebooting right after `pm disable-user` can lose the disable: the first batch applied here came back+enabled after a reboot about 30 s later, and the same packages stuck once the reboot waited a minute.+Give it a minute, reboot, then confirm with `pm list packages -d`.++## What the list leaves alone++Home (`com.jamdeo.tv.vod`), Live TV (`com.jamdeo.tv.livetv`), `com.jamdeo.tv.service`,+`com.hisense.tv.inputs`, `com.hisense.tv.baseservice` and `com.hisense.tv.tiletransition` (without+the last one the source panel opens but switching inputs silently does nothing), Bluetooth pairing+(`com.hisense.bluetoothpair`), the Sogou TV keyboard, OTA (`com.jamdeo.updateservice`,+`com.hisense.usbupgrade`), the voice stack, casting, `com.hisense.childlock`, the NAS packages and+`com.ju.miguvideoTV.cmcc` (owner's choice). `com.hisense.aiot` is deliberately not touched: the aiot+family sent another Hisense board to Android Recovery.++## Result++Applied in six batches with a cold reboot after each: 29 packages stay disabled, Home starts, Wi-Fi+reconnects, the input/source panel and the Bluetooth pairing service keep running, and the crash+buffer stays empty. The sponsored rows on the JuUI home are fetched by `com.jamdeo.tv.vod` itself, so+they remain - only a launcher swap removes them, and that was not attempted on this firmware.diff --git a/examples/hisense-65e5h/debloat.txt b/examples/hisense-65e5h/debloat.txtnew file mode 100644index 000000000..66c25fb3c--- /dev/null+++ b/examples/hisense-65e5h/debloat.txt@@ -0,0 +1,80 @@+# Hisense 65E5H (reports ro.product.model "VIDAA_TV", device MTK9652, board hisense_m7642_cn), China+# JuUI 9 on Android 9 (API 28), build PPR2.180905.006.A1 `release-keys`, incremental 02.02.60.01.+# Panel reported as 1920x1080 / density 320, ABIs armeabi-v7a only, 126 packages installed and+# nothing disabled at the factory. Stock Home is com.jamdeo.tv.vod (com.ju.main.launcher.LauncherActivity)+# and Live TV is com.jamdeo.tv.livetv; both are left enabled, so this is a debloat-only list.+#+# ro.adb.secure=1 on this firmware: the TV asks "Allow USB debugging?" for the computer once and keeps+# the key. service.adb.tcp.port=5555, so USB debugging alone opens the port over Wi-Fi, no cable and+# no separate network-debugging toggle. Reaching USB debugging needs the factory menu on this set+# (ToFac U->M, then the Menu key on the version page opens native Settings); README.md in this folder+# has the steps, including the prompt problems and the ToFac switch back to U.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/hisense-65e5h/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/hisense-65e5h/debloat.txt+# Everything is DISABLED (pm disable-user --user 0), nothing is uninstalled.+#+# Applied on 2026-10-29 in six batches, one cold reboot after each, and verified after every reboot:+# 29/29 stay disabled, Home starts, Wi-Fi reconnects, the source panel / input animation and+# Bluetooth pairing services keep running. Same-day, not several days of use - the owner asked for it+# in one session, so treat "lived with for a few days" as not done for this list.+#+# Timing pitfall found on this set: reboot sooner than ~60 s after `pm disable-user` and the state can+# be lost. The first batch (5 packages) came back enabled after a reboot ~30 s later and stick once+# the reboot waits a minute. Wait, then reboot, then check `pm list packages -d`.+#+# Not a package, but needed to actually stop the screensaver: settings put secure screensaver_enabled 0+#+# Left enabled on purpose: com.jamdeo.updateservice and com.hisense.usbupgrade (OTA / firmware update),+# com.jamdeo.tv.vod (stock Home), com.jamdeo.tv.livetv, com.jamdeo.tv.service, com.hisense.tv.inputs,+# com.hisense.tv.baseservice, com.hisense.tv.tiletransition (source switching stops silently without+# it), com.hisense.bluetoothpair, the Sogou TV keyboard, com.hisense.aiot (the aiot family sent another+# Hisense board to Recovery; not touched here), the voice stack, casting, com.hisense.childlock,+# com.hisense.nasservice / com.hisense.nas.pt and com.ju.miguvideoTV.cmcc (owner's choice).+# Not tested: swapping Home for launcher/ on this firmware.++# Telemetry, reporting and the vendor push channel+com.hisense.hitv.das # DasApp telemetry+com.hisense.platformreport # usage/telemetry reporting, BootReceiver+com.hisense.logupload # log uploader+com.hisense.service.hproxy # network poller service+com.hisense.service.message # HiMsgService vendor push channel++# Advertising and content feeds+com.hisense.business.ad # ad SDK (Alibaba Baichuan + CIBN shopping)+com.hisense.service.ad # ad service+com.hisense.tv.weather # weather/content feed card++# Store demo, hotel, factory and first-run leftovers+com.hisense.demonstrate # store demo reels+com.hisense.hotelmenu # hotel mode+com.hisense.autotest # factory autotest app (never launch it)+com.hisense.electronictutorial # e-manual+com.hisense.ar.baike # AR encyclopedia+com.jamdeo.tv.fte # first-run wizard, already completed++# Preloaded content nobody asked for+com.hisense.tv.videoconference # video conferencing+com.hisense.tv.videochat.social # preloaded video chat+com.hisense.tv.fitmirror # fitness mirror+com.hisense.tv.foodmanage # recipe app+com.jamdeo.calendar # vendor calendar++# Screensaver ad surface and AOSP leftovers+com.jamdeo.screensaver # vendor ad screensaver+com.android.dreams.basic # AOSP fallback screensaver+com.android.printspooler # no printing on a TV+com.android.wallpaperbackup # AOSP leftover++# System-uid extras (platform signed, separate packages; reboot-checked)+com.hisense.smartimages # HiSmartImage AI photo recognition+com.hisense.tv.familyalbum # family album+com.hisense.tv.familycloud # family cloud+com.hisense.familymessage # family message board+com.hisense.singlelisten # SingleListen+com.speech.enchatroom # voice chat room++# Disabled in the same pass and re-enabled at the owner's request: the karaoke microphone manager is+# a service with no launcher icon (its MainActivity has no CATEGORY_LAUNCHER), so it never shows in+# the app grid; it starts on USB microphone attach and on boot. Kept on for karaoke use.+# com.audiocn.karaoke.micmanagerdiff --git a/examples/hisense-65e5h/tv.json b/examples/hisense-65e5h/tv.jsonnew file mode 100644index 000000000..410690301--- /dev/null+++ b/examples/hisense-65e5h/tv.json@@ -0,0 +1,6 @@+{+ "tv": "Hisense 65E5H (VIDAA_TV, MediaTek MT9652, hisense_m7642_cn), China",+ "os": "Android 9",+ "brand": "Hisense",+ "notes": "China JuUI 9 on Android 9 (PPR2.180905.006.A1 / 02.02.60.01): ad SDK/service, telemetry, vendor push channel, store/hotel/demo and tutorial apps, preloaded content, the vendor screensaver, AI photo recognition, family album/cloud/message board, single listen and the voice chat room; debloat only, stock Home `com.jamdeo.tv.vod` and Live TV `com.jamdeo.tv.livetv` kept, OTA kept; 29 packages; `ro.adb.secure=1`, so the TV asks for the ADB key once, and states can be lost if you reboot right after disabling - wait a minute; [device notes](hisense-65e5h/README.md)"+}