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
docs: TCL 65C835 note: the 17 not-installed packages predate the cleanup (correction)
JohnnyTax8d190db3e665
diff --git a/docs/devices/tcl-65c835-g05-4k-gb.md b/docs/devices/tcl-65c835-g05-4k-gb.mdindex 4f6d2ccb4..a86fe3552 100644--- a/docs/devices/tcl-65c835-g05-4k-gb.md+++ b/docs/devices/tcl-65c835-g05-4k-gb.md@@ -1,4 +1,4 @@-# TCL 65C835 (`G05_4K_GB`, Italy): setupwraith stayed off, and undo needs `pm install-existing`+# TCL 65C835 (`G05_4K_GB`, Italy): setupwraith stayed off, and 17 packages were gone before cleanupOne owner, one evening, Wi-Fi only. The full list below was applied with `tools/disable.sh` in batches with ascreenshot after each, the reference launcher went in with `launcher/build-and-install.sh`, and the set was@@ -24,14 +24,16 @@ tested one. Most of this set's differences from it are the owner's choices and a## What was done-39 packages, applied in the order below with a screenshot of Home between batches, then the launcher+A 39-package list, applied in the order below with a screenshot of Home between batches, then the launcher(`launcher/build-and-install.sh` with `HOME_KEY_SERVICE=1`). `pm disable-user --user 0`, never `pm uninstall`.+13 of the 39 were already not installed for user 0 when the list ran (marked absent), so 26 packages were actually+disabled; see the next section.| Group | Packages ||---|---|-| telemetry | `com.tcl.ttvs`, `com.tcl.guard`, `com.tcl.logkit`, `com.google.android.feedback`, `com.google.android.partnersetup` |-| content and ads | `com.tcl.waterfall.overseas`, `com.tcl.partnercustomizer`, `com.tcl.messagebox`, `com.tcl.usercenter`, `com.tcl.dashboard`, `com.tcl.tv.tclhome_passive`, `com.tcl.esticker`, `com.tcl.channelplus`, `com.tcl.useragreement`, `android.autoinstalls.config.google.gtvpai` |-| preloads | `tv.wuaki.apptv`, `com.google.android.youtube.tvmusic`, `com.google.android.play.games`, `com.google.android.videos`, `com.tcl.notereminder`, `com.tcl.hearaid`, `com.google.android.marvin.talkback`, `com.google.android.syncadapters.calendar`, `com.google.android.onetimeinitializer`, `com.tcl.ocean.instructions`, `com.tcl.browser`, `com.tcl.smartalexa`, `com.netflix.ninja` |+| telemetry | `com.tcl.ttvs`, `com.tcl.guard` (absent), `com.tcl.logkit`, `com.google.android.feedback`, `com.google.android.partnersetup` (absent) |+| content and ads | `com.tcl.waterfall.overseas`, `com.tcl.partnercustomizer` (absent), `com.tcl.messagebox` (absent), `com.tcl.usercenter` (absent), `com.tcl.dashboard`, `com.tcl.tv.tclhome_passive`, `com.tcl.esticker` (absent), `com.tcl.channelplus`, `com.tcl.useragreement` (absent), `android.autoinstalls.config.google.gtvpai` |+| preloads | `tv.wuaki.apptv` (absent), `com.google.android.youtube.tvmusic` (absent), `com.google.android.play.games` (absent), `com.google.android.videos`, `com.tcl.notereminder` (absent), `com.tcl.hearaid`, `com.google.android.marvin.talkback`, `com.google.android.syncadapters.calendar`, `com.google.android.onetimeinitializer` (absent), `com.tcl.ocean.instructions`, `com.tcl.browser`, `com.tcl.smartalexa`, `com.netflix.ninja` (absent) || launcher takeover | `com.google.android.apps.tv.launcherx`, `com.google.android.tungsten.setupwraith` || later, after the first reboot | `com.android.printspooler`, `com.tcl.android.webview`, `com.google.android.apps.tv.dreamx`, `com.google.android.apps.nbu.smartconnect.tv`, `com.android.wallpaperbackup`, `com.android.sharedstoragebackup`, `com.android.backupconfirm`, `com.android.hotspot2.osulogin`, `com.android.htmlviewer` |@@ -47,27 +49,25 @@ T-Cast, AirPlay, `com.tcl.gamebar` (Moonlight is used) and `com.tcl.ui_mediaCent**`com.tcl.ttvs` is disabled here, and on this build it holds the system updater**, as the `65C735` header says:this set gets no OTA updates until it is re-enabled. That was the owner's choice, not a recommendation.-## The firmware turns some disables into "not installed", so `tools/restore.sh` was not enough+## 17 packages were already gone for user 0 before the cleanup-After a reboot, 12 of the 39 packages no longer appeared in `pm list packages -d`. They were not enabled again:-they showed `installed=false` for user 0 with `enabled=3`, and `pm list packages` did not list them either-(`tools/check.py` reports them as "not installed any more"):+The session started with 145 packages on the set and 128 of them installed for user 0: 17 were already+`installed=false` before the first command, removed for this user by whatever had been used on the set before+(it is not known what). `tools/disable.sh` writes its recovery record before it disables anything, and it+recorded the 13 of them that are in the list as `absent`. They are marked absent above; the other four are+`com.tcl.gallery`, `com.tcl.initsetup`, `com.tcl.keyhelp` and `com.tcl.inputmethod.international`.-`com.google.android.onetimeinitializer`, `com.google.android.partnersetup`, `com.google.android.play.games`,-`com.google.android.youtube.tvmusic`, `com.netflix.ninja`, `com.tcl.esticker`, `com.tcl.guard`,-`com.tcl.messagebox`, `com.tcl.notereminder`, `com.tcl.partnercustomizer`, `com.tcl.useragreement`,-`com.tcl.usercenter`.+What that means here:-Right after `pm disable-user` the same package still read `installed=true`, so the change came with a reboot,-not with the command. Undo on one of them, as `tools/restore.sh` did it at the time:--| Command | Result for a package in that state |-|---|---|-| `pm enable <pkg>` | `new state: enabled`, still `installed=false`, still missing from `pm list packages` |-| `pm install-existing --user 0 <pkg>`, then `pm enable <pkg>` | `installed=1 enabled=1` |--So on this firmware `pm enable` alone does not bring the package back. Until the restore scripts run-`pm install-existing --user 0` first, undo these by hand.+- `pm disable-user` on such a package still answers `new state: disabled-user`, but it does not show in+ `pm list packages -d`, and `tools/check.py` lists it under "not installed any more". That is the state the set+ started in, not a disable that came undone.+- `tools/restore.sh` leaves `absent` packages alone, which is the right undo: it puts the set back as it was before+ the list. `pm enable` would not bring them back anyway; `pm install-existing --user 0 <pkg>` would.+- Three of the four are on the `65C735` list's do-not-disable line (`initsetup`, `keyhelp`, the TCL keyboard). This+ set worked without them: the remote, Input, HDMI, Wi-Fi, and typing with Google's keyboard.+- During testing, `com.tcl.guard` and `tv.wuaki.apptv` were put back with `pm install-existing --user 0` and then+ disabled again, so on this set they now read installed and disabled instead of absent.## setupwraith and Home@@ -90,10 +90,6 @@ So on this firmware `pm enable` alone does not bring the package back. Until the## Other things seen-- `com.tcl.gallery`, `com.tcl.initsetup`, `com.tcl.keyhelp` and `com.tcl.inputmethod.international` read- `installed=false` for user 0 at the end of the evening. None is in any list that was run, and `tools/disable.sh`- never uninstalls, but there is no record of what the set looked like before the first command, so it is unknown- whether they were already gone. The remote, Input, HDMI, Wi-Fi and typing with Google's keyboard all worked.- The launcher's Wi-Fi pill read "Wi-Fi" and never showed the network name.- Once, about four minutes after the second reboot, Home came back invisible after leaving an app: the paused app'slast frame stayed on screen while the launcher kept answering the remote. It lasted about ten minutes across@@ -108,7 +104,7 @@ So on this firmware `pm enable` alone does not bring the package back. Until the- Opening Live TV and switching HDMI inputs from the launcher's Inputs menu: the menu listed them, but the switchitself was not exercised on the TV.- The three Netflix, YouTube and Prime Video remote buttons.-- Undo end to end: `restore.sh` was not run on this set. Only the single-package check above was.+- Undo end to end: `restore.sh` was not run on this set.Network ADB was left on at the owner's request for a home-automation tool. Port 5555 is plaintext; this firmware has`ro.adb.secure=1`, so only an authorised computer gets a shell.diff --git a/examples/README.md b/examples/README.mdindex e37d3e920..e10f3c6fb 100644--- a/examples/README.md+++ b/examples/README.md@@ -286,7 +286,7 @@ Notes for models that have no tested list yet live in [`docs/devices/`](../docs/- [Toshiba 55Z500QF (China, Hisense firmware)](../docs/devices/toshiba-55z500qf-cn.md) (`T963D4`, Amlogic `t5m`, Android 11 `RD2A.211001.002`, `07.02.70`, no GMS): no Developer options entry (owner opened it from a sideloaded helper APK), stock JuUI Home at `priority=50` handed over only when disabled as a package, `com.meetingroom` came back after both recorded reboots, the boot-source setting stopped Live TV taking the front; owner-reported removal history only, no tested list.- [Hi VHIX-43F169MSY](../docs/devices/hi-vhix-43f169msy.md), Yandex TV, CVTE `TP.SK506S.PB802` / `m5621`, Android 9: two-day observation, stock/replacement Home and working CVTE/Yandex settings component, Yandex IO service dependency, disabled-package history and low-memory follow-up; no several-day debloat list or signal/CEC verification.- [Acer R4G 50"](../docs/devices/acer-r4g.md) (MOKA `R4_GTV`, Realtek `rtd2851m`, Google TV 14 `UKR1.260308`, India): the firmware's `FallbackHome` re-enables a fixed list of 60 packages at every cold boot, setupwraith among them, so its `.RecoveryActivity` takes Home back from a new launcher; which packages come back, which stay disabled, and the `logcat` check; no list, since disable-only can't keep the stock Home away here.-- [TCL 65C835](../docs/devices/tcl-65c835-g05-4k-gb.md) (`G05_4K_GB`, `AR2101` / `AR28`, MediaTek `mt5889`, Google TV 11, Italy, Wi-Fi): one-evening 39-package set with the reference launcher, setupwraith still off after reboots; the firmware turned 12 of the disabled packages into "not installed" after a reboot, where `pm enable` alone does not bring them back (`pm install-existing --user 0` does); one unexplained Home-invisible episode that did not reproduce; no several-day list yet.+- [TCL 65C835](../docs/devices/tcl-65c835-g05-4k-gb.md) (`G05_4K_GB`, `AR2101` / `AR28`, MediaTek `mt5889`, Google TV 11, Italy, Wi-Fi): one-evening 39-package set (26 actually disabled) with the reference launcher, setupwraith still off after reboots; 17 packages, `keyhelp`, `initsetup` and the TCL keyboard among them, were already not installed for user 0 before the cleanup, which `tools/check.py` reports as "not installed any more"; one unexplained Home-invisible episode that did not reproduce; no several-day list yet.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.