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
philips-google-tv-ta7: add debloat list and launcher theme
Wesley Prado4a7c935aeb13
diff --git a/examples/philips-google-tv-ta7/debloat.txt b/examples/philips-google-tv-ta7/debloat.txtnew file mode 100644index 000000000..c57d39869--- /dev/null+++ b/examples/philips-google-tv-ta7/debloat.txt@@ -0,0 +1,74 @@+# Philips Google TV TA7 (TPV, PH3M_LT_T32 / device PH3M_AL_T32, MediaTek), Brazil+# Google TV 14 (API 34), build UTT1.250308.001. About 1.9 GB RAM, armeabi-v7a, UI 1920x1080 on a 4K panel.+# Fingerprint: Philips/PH3M_LT_T32/PH3M_AL_T32:14/UTT1.250308.001/101000072000:user/release-keys+# Vendor packages: TP Vision org.droidtv.* on a MediaTek base (com.mediatek.*, mediatek.factorymenu.ui).+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/philips-google-tv-ta7/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/philips-google-tv-ta7/debloat.txt com.google.android.apps.tv.launcherx+# (or examples/philips-google-tv-ta7/restore.sh, which needs no recovery record)+# Launcher: TV_HOST=<tv ip> examples/philips-google-tv-ta7/install.sh+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Applied in batches on 2026-10-20 with a screenshot after each, then the custom launcher installed;+# Home, HDMI 1 and Live TV, YouTube playback, HBO Max, Settings and every remote button were checked,+# and everything survived a reboot. Not yet lived with for days.+#+# Stock launcher: com.google.android.apps.tv.launcherx. Home claimants: launcherx (priority 2),+# setupwraith RecoveryActivity (1), com.android.tv.settings FallbackHome (-1000). While launcherx is+# enabled, set-home-activity to another launcher does not stick.+# Live TV app and HDMI player: com.mediatek.wwtv.tvcenter (TurnkeyUiMainActivity); the launcher's+# default live_tv_package already matches. HDMI 1-4 are listed by com.mediatek.tvinput.+#+# Quirks on this firmware, all checked on the TV:+# - Port 5555 was already open and the PC already authorised; ro.adb.secure=1.+# - `screencap -p` prints "Init wrapper sys mutex successful. Pid:..." before the PNG on stdout:+# strip everything before the \x89PNG signature.+# - The remote's Settings (gear) button is scancode 357 (KEY_OPTION) -> KEYCODE_SETTINGS (176), a+# global key routed to com.mediatek.tv.service's HotKey GlobalKeyReceiver, which forwarded it to the+# stock dashboard. With launcherx disabled it does nothing until HomeKeyService is on+# (HOME_KEY_SERVICE=1, no config needed for KEYCODE_SETTINGS). Input and app buttons keep working.+# - KEYCODE_GUIDE and KEYCODE_NOTIFICATION are global keys of launcherx; this remote does not send them.+# - setupwraith owned one old saved network (not the one in use), and only that entry was deleted.+#+# Kept on purpose: org.droidtv (TPVTvService, sees every key press), org.droidtv.icp (persistent+# sign-on service, purpose unclear), org.droidtv.ambisvc (Ambilight/Lounge), org.droidtv.eum (user+# manual; hidden in the launcher instead), com.mediatek.tv.service (hot keys, Netflix key, TV agent),+# com.mediatek.tvinput, com.mediatek.wwtv.tvcenter, com.mediatek.wwtv.setupwizard (channel scan),+# com.mediatek.wwtv.mediaplayer (USB media), com.mediatek.autopair (remote pairing), com.mediatek.tv.factory+# and mediatek.factorymenu.ui (factory menus), com.mediatek.android.leanbacklauncher.partnercustomizer+# (crash-loops tv.service on another MediaTek set), com.android.tv.ota and com.easy.oad (firmware+# updates), com.google.android.katniss (Assistant), Play Store, Play Services, both keyboards.+# Disabled by the owner before this list and therefore not in it: cm.aptoide.pt, com.vscine.tv,+# com.viki.android, fusion.android.tv.demo, com.google.android.apps.tv.dreamx (ambient mode),+# com.android.adservices.api, com.android.ondevicepersonalization.services,+# com.android.federatedcompute.services, com.android.tv.feedbackconsent, com.google.android.feedback+# and the two Health Connect packages.++# Batch 1: telemetry and attribution+org.droidtv.candeebug # TP Vision "DAC" analytics: CollectionService, boot receiver, ~55 MB resident+org.droidtv.gel # TP Vision metrics GatheringService, shares candeebug's cache provider+com.google.android.partnersetup # partner referrer / RLZ ping+android.autoinstalls.config.tpv.device # Play auto-install of TPV partner apps++# Batch 2: manufacturer content and popups+com.mediatek.opapp # European satellite operator apps (Canal Digitaal, HD+, Skylink...), unused in Brazil+org.droidtv.consentcmpapp # TP Vision ad-consent (CMP) screen+com.mstar.android.tv.disclaimercustomization # disclaimer popup++# Batch 3: background extras+com.google.android.play.games+com.google.android.onetimeinitializer # runs once at first setup+com.google.android.syncadapters.calendar # no calendar app on a TV+com.android.printspooler++# Batch 4: by owner's choice (not used)+com.netflix.ninja+com.amazon.amazonvideo.livingroom # Prime Video+com.google.android.videos # Google TV films/shop app+com.google.android.apps.mediashell # Chromecast built-in, ~75 MB resident++# Batch 5: stock home. Disable only after the new launcher is installed (install.sh does this).+# setupwraith goes first: its RecoveryActivity (HOME priority 1) otherwise takes Home. Check+# `dumpsys wifi | grep -o 'cname=[^ ]*'` first; on this TV it owned only an old, unused network.+com.google.android.tungsten.setupwraith+com.google.android.apps.tv.launcherxdiff --git a/examples/philips-google-tv-ta7/theme/config.json b/examples/philips-google-tv-ta7/theme/config.jsonnew file mode 100644index 000000000..b2ef50378--- /dev/null+++ b/examples/philips-google-tv-ta7/theme/config.json@@ -0,0 +1,10 @@+{+ "dock_apps": ["com.google.android.youtube.tv", "com.wbd.stream", "com.crunchyroll.crunchyroid", "com.cnvs.apptv"],+ "hidden_apps": ["com.mediatek.wwtv.tvcenter", "org.droidtv.eum"],+ "live_tv_package": "com.mediatek.wwtv.tvcenter",+ "greeting_name": "Wesley",+ "columns": 4,+ "rows_below_dock": 0,+ "background_color": "#000000",+ "wallpaper": false+}