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 Acer AR32HDIGU2841AT (device R3_GTV, Realtek RTD2841A), Google TV 14
prabha23646ce51d4e97
diff --git a/examples/acer-ar32hdigu2841at/README.md b/examples/acer-ar32hdigu2841at/README.mdnew file mode 100644index 000000000..f2794bb79--- /dev/null+++ b/examples/acer-ar32hdigu2841at/README.md@@ -0,0 +1,42 @@+# Acer AR32HDIGU2841AT 32" HD (Google TV 14)++Tested on an Acer AR32HDIGU2841AT 32" HD Google TV (`ro.product.model=R3G`, `ro.product.device=R3_GTV`, manufacturer MOKA) powered by the Realtek RTD2841A board (`rtd2841a`), 1.5 GB RAM, running Google TV 14 on build `UKR1.260612` (incremental `2624`).++## What this folder contains++| File | What it is |+|---|---|+| `debloat.txt` | The 28 packages that were disabled, grouped and commented |+| `config.json` | Dock configuration with 5 streaming apps, frosted glass dock and glow |+| `tv.json` | Entry for the CleanYourTV supported TV models index |++## How to Apply++```sh+TV_HOST=<tv ip> tools/disable.sh examples/acer-ar32hdigu2841at/debloat.txt+```+On Windows:+```powershell+tools\disable.ps1 -TvHost <tv ip> examples\acer-ar32hdigu2841at\debloat.txt+```++## How to Restore++```sh+TV_HOST=<tv ip> tools/restore.sh examples/acer-ar32hdigu2841at/debloat.txt com.google.android.apps.tv.launcherx+```+On Windows:+```powershell+tools\restore.ps1 -TvHost <tv ip> examples\acer-ar32hdigu2841at\debloat.txt -Stock com.google.android.apps.tv.launcherx+```++## Critical Notes for this TV++1. **Keep `launcherx` and `setupwraith` enabled:**+ - `com.google.android.tungsten.setupwraith` owns the saved Wi-Fi credentials. Disabling it drops Wi-Fi and ADB.+ - On this MOKA firmware, disabling `com.google.android.apps.tv.launcherx` causes `setupwraith.RecoveryActivity` to loop on boot, locking out the user interface (see `docs/devices/acer-r4g.md`).+ - The launcher is set as default and takes the Home button safely via `HomeKeyService` with `stock_home_redirect=com.google.android.apps.tv.launcherx`.++2. **Cold Boot Package State:**+ - Realtek / MOKA's `FallbackHome` runs `SetPmodServiceJob` on cold boot, which re-enables 21 packages unless the factory `P_MODE` flag is set.+ - 7 packages remain permanently disabled across cold boots: `com.apps.usbmediaplayer`, `com.apps.mk.wd`, `android.autoinstalls.config.scbc.device`, `com.android.tv.feedbackconsent`, `com.realtek.leanbacklauncher.partnercustomizer`, `com.mxtech.videoplayer.television`, and `com.apps.wifihotspot`.diff --git a/examples/acer-ar32hdigu2841at/config.json b/examples/acer-ar32hdigu2841at/config.jsonnew file mode 100644index 000000000..ac1a7691e--- /dev/null+++ b/examples/acer-ar32hdigu2841at/config.json@@ -0,0 +1,14 @@+{+ "dock_apps": [+ "com.google.android.youtube.tv",+ "com.netflix.ninja",+ "com.amazon.amazonvideo.livingroom",+ "in.startv.hotstar",+ "com.graymatrix.did"+ ],+ "columns": 5,+ "dock_glass": true,+ "app_glow": true,+ "advanced_effects": true,+ "stock_home_redirect": "com.google.android.apps.tv.launcherx"+}diff --git a/examples/acer-ar32hdigu2841at/debloat.txt b/examples/acer-ar32hdigu2841at/debloat.txtnew file mode 100644index 000000000..0108e4690--- /dev/null+++ b/examples/acer-ar32hdigu2841at/debloat.txt@@ -0,0 +1,72 @@+# Acer AR32HDIGU2841AT 32" HD (device R3_GTV, MOKA, Realtek RTD2841A), India, Google TV 14, firmware UKR1.260612+# Build UKR1.260612, incremental 2624, fingerprint ACER/ACER/R3_GTV:14/UKR1.260612/2624:user/release-keys+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/acer-ar32hdigu2841at/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/acer-ar32hdigu2841at/debloat.txt com.google.android.apps.tv.launcherx+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Stock launcher: com.google.android.apps.tv.launcherx. Live TV and inputs: com.apps.passthrough.+#+# DO NOT disable launcherx or com.google.android.tungsten.setupwraith on this TV. The firmware re-enables+# setupwraith early in every boot, so with launcherx off its RecoveryActivity loops and takes Home on the+# next cold boot (see docs/devices/acer-r4g.md and examples/kalley-43g200).+# Also, setupwraith owns the saved Wi-Fi network (dumpsys wifi | grep -o 'cname=[^ ]*').+# Keep launcherx enabled and use HOME_KEY_SERVICE with stock_home_redirect=com.google.android.apps.tv.launcherx+# to redirect Home to the new launcher without triggering RecoveryActivity loops.+#+# Cold boot behavior: Acer/Realtek's modified settings runs SetPmodServiceJob at cold boot which re-enables+# packages from a hard-coded list (see docs/devices/acer-r4g.md). On this firmware, 7 packages stay permanently+# disabled across cold boots (com.apps.usbmediaplayer, com.apps.mk.wd, android.autoinstalls.config.scbc.device,+# com.android.tv.feedbackconsent, com.realtek.leanbacklauncher.partnercustomizer, com.mxtech.videoplayer.television,+# com.apps.wifihotspot). The remaining packages stay disabled across warm reboots and sleep/wake, but are+# re-enabled by the firmware if the TV undergoes a full cold boot.+#+# Kept on purpose: com.google.android.apps.tv.launcherx (stock home, needed for boot safety),+# com.google.android.tungsten.setupwraith (owns Wi-Fi network), com.apps.passthrough (HDMI / inputs),+# com.apps.smartmenu (picture/display menu), key handlers (com.apps.smartkey, com.apps.virtualkey,+# com.mk.tv.fivekey, com.realtek.keyinterceptserver, com.apps.bluetoothremote), com.apps.sys,+# com.mk.service.tvmidware, Google Assistant (com.google.android.katniss), and user streaming apps+# (YouTube, Netflix, Prime Video, Hotstar, Aha, Crunchyroll, Zee5, Airtel Xstream).+#+# Firmware updaters: com.apps.ota, com.apps.authota, com.realsil.ota, and com.google.android.tv.dfuservice+# were disabled by user preference. Comment them out if you wish to receive firmware or remote updates.++# SCBC / Google telemetry and feedback+com.apps.function.gdpr # SCBC data consent agent+com.google.android.feedback # Google feedback bug reporter+com.android.tv.feedbackconsent # TV feedback consent dialog (persists across cold boots)++# Partner setup, auto-installs and ad boot receivers+com.apps.mk.wd # boot receiver with ClickAd/ClickApp/ClickChannel activities (persists across cold boots)+android.autoinstalls.config.scbc.device # Play store auto-installs of partner apps (persists across cold boots)+com.realtek.leanbacklauncher.partnercustomizer # partner config injecting rows/apps into home screen (persists across cold boots)+com.google.android.partnersetup # Google partner setup wizard client++# OEM background bloat, demo and signage+com.apps.esticker # ShowService overlay, demo stickers+com.apps.esticker3 # in-store feature sticker animation+com.apps.biz.mt # MOKA background telemetry service+com.apps.biz.ds # MOKA digital signage service+com.apps.tvmanager # background memory cleaner / app auto-start manager+com.mk.tv.meeting.service # MOKA enterprise meeting service+com.apps.wifihotspot # Wi-Fi hotspot toggle not needed on a TV (persists across cold boots)+com.apps.function.audiolink # Bluetooth audio receiver / link service+com.mk.tv.timeclock # on-screen clock overlay service+com.google.android.apps.tv.dreamx # ambient mode screensaver++# Casting and games (disabled by user choice)+com.google.android.apps.mediashell # Chromecast built-in receiver+com.creative.fastscreen.tv # FastCast / Miracast screen mirroring+com.apps.scast # SCast screen receiver+com.google.android.play.games # Google Play Games app & sync++# Firmware updaters (disabled by user choice; comment out to keep updates)+com.apps.ota # MOKA system OTA updater+com.apps.authota # authenticated OTA check service+com.realsil.ota # Realtek Bluetooth remote OTA updater+com.google.android.tv.dfuservice # Google TV accessory firmware update service++# Preloaded media apps (disabled by user choice)+com.mxtech.videoplayer.television # preloaded MX Player TV edition (persists across cold boots)+com.apps.usbmediaplayer # stock MOKA USB media player app (persists across cold boots)+com.google.android.youtube.tvmusic # YouTube Music stub appdiff --git a/examples/acer-ar32hdigu2841at/tv.json b/examples/acer-ar32hdigu2841at/tv.jsonnew file mode 100644index 000000000..ba23c7ff9--- /dev/null+++ b/examples/acer-ar32hdigu2841at/tv.json@@ -0,0 +1,6 @@+{+ "tv": "Acer AR32HDIGU2841AT 32\" HD (device R3_GTV, MOKA, Realtek RTD2841A), India",+ "os": "Google TV 14",+ "brand": "Acer",+ "notes": "MOKA retail demo, telemetry, cleaner and background link stubs; keep launcherx and setupwraith (cold boot RecoveryActivity loop); launcher takes Home via HomeKeyService; MOKA re-enables some packages on cold boot; 28 packages disabled"+}