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 Grundig Android UHD TV (Arcelik kunyang, Android TV 14)
hairsimulate1e4ec5b105ee
diff --git a/examples/README.md b/examples/README.mdindex 82d19b3bd..e28e84535 100644--- a/examples/README.md+++ b/examples/README.md@@ -28,6 +28,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `eko-2k-google-tv-tennoji/` | EKO 2K Google TV (MTC-built, tennoji, MediaTek mt5867 / T56) | Google TV 14 | First EKO list: Anoki ACR opt-in, Android ad services, feedback, partner setup; Assistant, Miracast, Netflix, Prime Video, YouTube Music off by choice, Chromecast kept; setupwraith owned the setup Wi-Fi (forget and re-join first); `fusion.android.tv.demo` handles the Input key; Live TV takes the tvcenter launch entry, not the tuner passthrough URI; reboot-checked || `ffalcon-65s585c-pro/` | FFalcon (雷鸟) 鹤6 PRO 65S585C Pro (China, tcl_mt5879_cn, MediaTek MT9653) | Android TV 11 | Same platform and firmware build as tcl-q10g-pro; TCL boot ad, analytics, push, home recommendation cards and silent-install channels stay disabled across a reboot; OTA, account, voice, weather, album, WeChat and video call off by choice; debloat only, no third-party launcher or sideloading; reboot-checked || `freebox-player-pop/` | Freebox Player POP (Free, fbx8am, Amlogic), IPTV/DVB-T box | Android TV 10 | Free stats, Google feedback and recommendations, partner auto-installs, NES/CTC factory tests; French catch-up, kids and Free apps off by choice, Arte/Spotify/Stremio kept; OQEE is the stock home (HOME priority 3); Chromecast must stay for Spotify Connect; AdGuard DNS blocks pixel.spotify.com and breaks Spotify; 2 GB |+| `grundig-kunyang/` | Grundig Android UHD TV (Arçelik, GxGrNM, kunyang, MediaTek), Turkey | Android TV 14 | First Arçelik list: Grundig Channel (Hoppr ad tiles), HotelService, TV Care Hub, partner auto-installs, Privacy Sandbox, Google feedback; Assistant, AirScreen/AirCast, Kids, Play Movies/Games off by choice, Chromecast kept; `fusion.android.tv.demo` handles the Input key, keep it; setupwraith claims no HOME; launcher works, every remote button works with no key service; AdGuard DNS validates; 1.8 GB, +290 MB available; reboot-checked || `haier-android-tv-dvb2k/` | Haier Android TV DVB2K (broadway, HaierATVT56DVB) | Android TV 11 | Anoki ACR, retail demo, Haier content apps and auto-install; 1 GB, 720p; setupwraith left enabled || `haier-h32s80efx/` | Haier H32S80EFX (MatrixTV CE, HRT56EU, deto, MediaTek), Thailand | Google TV 14 | Haier hOn IoT and smart-device services, Haier tab and Kinopoisk promo, retail demo, cleaner; YouTube Music and Google TV app off by choice; setupwraith must go (RecoveryActivity component refused); Live TV must target the digital tuner, TrueID also claims channel intents || `hisense-e5q-pro/` | Hisense E5Q Pro (VIDAA_TV, MediaTek MT9653), China | Android TV 11 | China VIDAA firmware, the conservative subset of `vidda-mt9653/` (same build): ad SDK/service, push, telemetry, store/hotel/demo and preloaded content; stock launcher `com.jamdeo.tv.vod` and Live TV `com.jamdeo.tv.livetv` kept, OTA kept; 18 packages |diff --git a/examples/grundig-kunyang/README.md b/examples/grundig-kunyang/README.mdnew file mode 100644index 000000000..0604b0acc--- /dev/null+++ b/examples/grundig-kunyang/README.md@@ -0,0 +1,50 @@+# Grundig Android UHD TV (Arçelik, `kunyang`)++| | |+|---|---|+| Model | Grundig Android UHD TV, product `GxGrNM`, device `kunyang`, manufacturer ARCELIK, Turkey |+| OS | Android TV 14 (API 34), build `UKNV.260115.001`, MediaTek |+| RAM | 1.8 GB. `MemAvailable` went from 531 MB (stock) to 821 MB after the list, the launcher and a reboot |+| Display | 4K panel, UI at 1920×1080 (factory `Override size`), density 320, `display_density_forced` empty |+| ADB | USB debugging alone opens port 5555, with no pairing. `ro.adb.secure=1` |+| Home | `com.google.android.tvlauncher` (classic Android TV, not launcherx). Only `com.android.tv.settings/.system.FallbackHome` and user-installed apps also claim HOME |++## What worked++- **`pm disable-user` works** for every package in [`debloat.txt`](debloat.txt). After a reboot, `pm list packages -d`+ is identical, so this firmware re-enables nothing at boot.+- **The launcher installs** over `pm install` with no verifier prompt. `launcher/build-and-install.sh` detects+ `com.google.android.tvlauncher` by itself. `dumpsys activity activities | grep mFocusedApp` shows the new Home+ in front, also after a reboot.+- **The Inputs pill** lists HDMI 1–3 and Live TV. Live TV opens `com.mediatek.wwtv.tvcenter/.nav.TurnkeyUiMainActivity`.+ The stock input panel is `com.mediatek.wwtv.tvcenter/.nav.inputpanel.InputsPanelActivity`.+- **Remote buttons:** Home, Input, Settings and the app buttons all work with the stock launcher disabled, with no+ `HOME_KEY_SERVICE` or `INPUT_KEY_SERVICE`. The real buttons were pressed on the remote, not injected.+- **Screensaver:** set it to `com.gathin.tvhome/.ClockDream` before disabling `com.google.android.backdrop`. Backdrop+ held about 160 MB resident.+- **Private DNS** `dns.adguard-dns.com` validates (94.140.14.14 / 94.140.15.15). YouTube and Netflix load. It does not+ block YouTube ads. Undo: `settings put global private_dns_mode opportunistic`.++## Keep++Each of these was checked with `dumpsys package` without starting it:++- `fusion.android.tv.demo` answers `android.intent.action.TV_INPUT_BUTTON`, the remote's Input key. It is the same+ package that Vestel-built sets (`jvc-android-tv-menlo/`) keep.+- `com.arcelik.smartremoteservice` receives `GLOBAL_BUTTON` and runs the remote server.+- `com.mediatek.autopair` (persistent) handles Bluetooth remote pairing.+- `com.arcelik.tv.arcelikbacklight` (persistent) is the backlight service.+- `com.mediatek.android.leanbacklauncher.partnercustomizer` stays, following `cecotec-shandao/`.+- The factory packages are never opened: `arcelik.factory.factorystart`, `com.mediatek.tv.factory`,+ `mediatek.factorymenu.ui`, `com.arcelik.tv.rctest`.++`com.google.android.tungsten.setupwraith` claims no HOME on this build, so it stays enabled. It owned one of the+two saved Wi-Fi networks. The network in use belonged to `android.uid.system`.++## Notes++- `com.arcelik.arserviceapp` lives in `/system_ext/priv-app/HotelService`: it is hotel/B2B mode.+- `com.grundig.tv.channel` carries `com.hoppr.tiles` (Hoppr FAST/ad tiles) and the home-screen program rows.+- `adb exec-out screencap` prints `Init wrapper sys mutex successful` first. `tools/tv.py --screenshot` handles it.+- On first boot after the reboot the set came up in Live TV (its power-on source), and Home opened the new launcher.+- Tested on one set. The list was applied and checked the same day, including a reboot.diff --git a/examples/grundig-kunyang/debloat.txt b/examples/grundig-kunyang/debloat.txtnew file mode 100644index 000000000..cbab2d52f--- /dev/null+++ b/examples/grundig-kunyang/debloat.txt@@ -0,0 +1,63 @@+# Grundig Android UHD TV (Arcelik-built, codename "kunyang", product GxGrNM), Turkey+# Android TV 14 (API 34), build UKNV.260115.001, MediaTek, 1.8 GB RAM, UI 1920x1080 on a 4K panel.+# ro.product.manufacturer = ARCELIK, ro.adb.secure = 1. USB debugging alone opens port 5555.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/grundig-kunyang/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/grundig-kunyang/debloat.txt+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Stock launcher: com.google.android.tvlauncher (classic Android TV home, not Google TV launcherx).+# setupwraith does NOT claim HOME on this build, so it stays enabled (it also owns a saved Wi-Fi network).+#+# KEEP, even though the names look like bloat (checked with dumpsys package, none of them started):+# - fusion.android.tv.demo: answers android.intent.action.TV_INPUT_BUTTON, i.e. the remote's Input key.+# - com.arcelik.smartremoteservice: GLOBAL_BUTTON receiver and remote server (remote keys).+# - com.mediatek.autopair (persistent): Bluetooth remote pairing.+# - com.arcelik.tv.arcelikbacklight (persistent): backlight control service.+# - com.mediatek.android.leanbacklauncher.partnercustomizer: crash-loops tv.service on MediaTek when off+# (see examples/cecotec-shandao, same Turkish Android 14 platform family).+# - com.mediatek.tv.service, com.mediatek.tvinput, com.mediatek.wwtv.tvcenter: Live TV, HDMI, source menu.+# - com.arcelik.ChannelEditor, .ecomode, .picturecustomizer, .ToneMaster, .easy_installation: TV settings.+# - Factory packages, never opened: arcelik.factory.factorystart, com.mediatek.tv.factory,+# mediatek.factorymenu.ui, com.arcelik.tv.rctest.+#+# Reboot-checked: pm list packages -d identical before and after; nothing is re-enabled at boot.+# Launcher works: installs over pm install (no verifier), owns Home (mFocusedApp) also after reboot;+# every remote button (Home, Input, Settings, app keys) works without the key services. Live TV is+# com.mediatek.wwtv.tvcenter. Screensaver set to com.gathin.tvhome/.ClockDream before backdrop goes.+# Private DNS dns.adguard-dns.com validates; YouTube and Netflix load. Undo: private_dns_mode opportunistic.+#+# Owner's choices: Chromecast and YouTube Music kept; voice assistant, AirScreen/AirCast,+# YouTube Kids, Play Movies and Play Games off. Self-installed streaming apps untouched.++# --- Telemetry, analytics and install attribution+com.google.android.feedback # Google feedback / bug report uploader+com.android.tv.feedbackconsent # feedback consent UI+com.google.android.partnersetup # partner-app attribution (RLZ)+android.autoinstalls.config.arcelik.gx # Arcelik partner auto-installs config+com.android.adservices.api # Privacy Sandbox ad services+com.android.ondevicepersonalization.services # Privacy Sandbox on-device personalization+com.android.federatedcompute.services # Privacy Sandbox federated compute++# --- Manufacturer content, ads and leftovers+com.grundig.tv.channel # "Grundig Channel": Hoppr FAST/ad tiles, home-screen program rows+com.arcelik.arserviceapp # HotelService (hotel/B2B mode), boot receiver, INSTALL_PACKAGES+com.arcelik.tvcarehub # TV Care Hub promo/help videos+com.mstar.android.tv.disclaimercustomization # disclaimer popups+com.google.android.syncadapters.calendar # calendar sync, no calendar app on a TV+com.google.android.onetimeinitializer # first-setup leftover++# --- Owner's choice: not used+com.google.android.youtube.tvkids # YouTube Kids+com.google.android.videos # Google Play Movies & TV+com.google.android.play.games # Google Play Games+com.google.android.katniss # Google voice search / Assistant (remote mic button)+com.google.android.tv.assistant # Assistant LED/demo service+com.ionitech.airscreen # AirScreen (AirPlay/Miracast receiver; Chromecast kept)+com.sand.aircasttv # AirCast receiver+com.arcelik.smartremotecompanion.grundig # Grundig Smart Remote phone-app companion++# --- After launcher/ owns Home (build-and-install.sh disables com.google.android.tvlauncher itself)+com.google.android.tvlauncher # stock Android TV home: shopping tab, sponsored rows+com.google.android.tvrecommendations # feeds the stock home's recommendation rows+com.google.android.backdrop # Ambient screensaver, ~160 MB resident; replaced by com.gathin.tvhome/.ClockDream