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 SHARP AQUOS TVE23A (sandiego, CVTE/MediaTek mt5889), Google TV 14
tr3mof0134ad0a7db
diff --git a/examples/sharp-aquos-tve23a/debloat.txt b/examples/sharp-aquos-tve23a/debloat.txtnew file mode 100644index 000000000..1587901dc--- /dev/null+++ b/examples/sharp-aquos-tve23a/debloat.txt@@ -0,0 +1,105 @@+# SHARP AQUOS TVE23A (reported as AQUOS-TVE23A; device sandiego, product tctrnue_a), Denmark+# Google TV 14 (SDK 34), firmware UKNV.260810.001, CVTE/MediaTek mt5889, 2.7 GB RAM+# Same CVTE/MediaTek firmware family as sharp-aquos-tve21f, but Google TV rather than Android TV.+# Stock launcher: com.google.android.apps.tv.launcherx (Google TV).+# Setup wizard: com.google.android.tungsten.setupwraith (claims HOME with .RecoveryActivity).+# Live TV app: com.mediatek.wwtv.tvcenter; HDMI/tuner inputs: com.mediatek.tvinput.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/sharp-aquos-tve23a/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/sharp-aquos-tve23a/debloat.txt com.google.android.apps.tv.launcherx+# Everything is DISABLED for user 0, never uninstalled. Comment out any line you want to keep.+#+# Applied and verified on 2026-10-24: screenshots after each batch, Live TV and HDMI 1 (TV input+# session opened), two reboots (nothing came back, Home stayed the new launcher), voice typing with the+# mic button, the real remote's Home, Input, Netflix, gear and YouTube buttons. The "memory pass" group+# went in last, after a speed test, and was checked after one more reboot.+#+# Port 5555 was already listening (this firmware sets service.adb.tcp.port at boot). On macOS, Local+# Network privacy can block adb from an app that lacks the permission; an adb server started from+# Terminal.app reached the TV.+#+# WARNING: the Wi-Fi network joined during first setup belonged to setupwraith+# (`dumpsys wifi | grep -o 'cname=[^ ]*'`). Forget it and re-join it in Settings before disabling+# setupwraith, or Android deletes the network and the TV drops off Wi-Fi. Done here: it then belonged+# to android.uid.system and stayed connected.+#+# CVTE board: the launcher was made Home and the TV rebooted before any key helper was enabled (#741).+# set-home-activity alone did nothing while launcherx was enabled; Home moved once setupwraith and then+# launcherx were disabled.+#+# Remote (SHARP SOLAR RCU, Bluetooth HID). Keycodes read from `dumpsys activity broadcasts history`+# (GLOBAL_BUTTON extras), since the vendor .kl is not readable from the shell:+# Input usage 0x0c0091 -> handled by the firmware (Google's input switcher), works with no helper+# Netflix usage 0x0c0078 -> KEYCODE_STEM_1, firmware opens Netflix, works with no helper+# YouTube usage 0x0c0077 -> KEYCODE_TV_INPUT_COMPOSITE_1, MediaTek hotkey dispatcher opens+# com.google.android.youtube.tv only; mapped to SmartTube with app_keys+# (KEYCODE_TV_INPUT_COMPOSITE_1:org.smarttube.stable)+# Gear usage 0x0c0040 -> KEYCODE_STAR, CVTE dispatcher toggles the notification handler panel, which+# only launcherx answered; settings_key_keycodes 17 opens Settings+# Both mappings need HOME_KEY_SERVICE=1. With it bound, a held volume key moves one step instead of+# ramping (the trade in docs/devices/tcl-55p71b-g09-key-repeat.md); consume_volume_keys did not help,+# because the window policy applies the volume before the helper sees it. The owner kept the buttons.+# Home here was Cosy Home (SHOWCASE.md); the CleanYourTV launcher stayed installed for its helper.+#+# Already disabled before this list (by the firmware or an earlier owner), left as they were:+# azan.android.av.sharp.co.jp, jp.co.sharp.av.android.tw.sharpcocorovision, fusion.android.tv.demosem,+# jp.co.sharp.av.android.asia.sharpselect, rcota.android.av.sharp.co.jp.rcota,+# jp.co.sharp.av.android.sharpcocoroalbumasia, com.google.android.marvin.talkback,+# jp.co.sharp.av.android.epopdemo, jp.co.sharp.av.android.storedemoapplication,+# jp.co.sharp.av.android.asia.webemanual.+#+# Kept on purpose: Play Store + Play Services, Gboard, Dolby audio,+# com.mediatek.tvinput / com.mediatek.tv.service / com.mediatek.wwtv.tvcenter (Live TV and HDMI),+# com.google.android.tv.inputplayer, com.mediatek.wwtv.setupwizard (channel scan),+# com.mediatek.wwtv.mediaplayer (USB media), com.mediatek.opapp (satellite operator apps),+# com.mediatek.autopair (remote pairing), jp.co.sharp.av.android.asia.tvbtremoteapp (BT remote helper),+# com.cvte.hotkey.dispatcher (remote hotkeys), com.cvte.tv.kmode (picture mode), com.cvte.tv.applist,+# com.cvte.tv.sharp_rc_ota (remote firmware updates), com.mediatek.tv.factory and mediatek.factorymenu.ui+# (never launched), umc.com.SharpLegal, com.mstar.android.tv.disclaimercustomization,+# com.google.android.katniss + com.google.android.tv.remote.service (mic button: voice typing, by choice),+# com.google.android.apps.tv.dreamx (ambient screensaver, by choice), com.tcl.browser (BrowseHere, by choice).++# --- Telemetry, ad and personalisation services ---+tv.anoki.acr.anokiacroptin # Anoki ACR: recognises what is on screen+com.google.android.feedback+com.android.tv.feedbackconsent # feedback consent dialog+com.android.adservices.api # Android ad services+com.android.ondevicepersonalization.services+com.android.federatedcompute.services++# --- Vendor content, partner rows and retail demo ---+com.mediatek.android.leanbacklauncher.partnercustomizer # SHARP partner rows for the stock launcher+com.google.android.partnersetup # Play partner customizations+fusion.android.tv.demo # store mode+umc.com.emanual # on-screen manual+jp.co.sharp.av.android.sharpcocoroalbum.renderasia # COCORO Album render service (album app already off)++# --- Background services nobody uses on a TV ---+com.google.android.syncadapters.calendar+com.android.healthconnect.controller+com.android.health.connect.backuprestore++# --- Factory / test tools (checked with dumpsys only, never launched) ---+com.at.factory.factorymanager # factory test manager, boot receiver+com.at.factory.androidtvaidlservice # factory test service+com.cvte.tv.at # factory auto-test activity++# --- Unused apps (off by choice; all still installed) ---+com.amazon.amazonvideo.livingroom # Prime Video, off by choice+com.google.android.youtube.tv # YouTube, off by choice (the YouTube button opens SmartTube)+com.google.android.youtube.tvmusic # YouTube Music, off by choice+com.google.android.play.games # Google Play Games, off by choice+com.google.android.apps.mediashell # Chromecast receiver, off by choice+# com.google.android.videos # Google TV / Play Movies storefront: a user app on this set+# # (likely a Play auto-install); disabled here, off by choice++# --- Memory pass (off by choice): boot starters and idle memory ---+com.google.android.tts # Google Text-to-Speech, off by choice; voice typing does not use it+com.android.providers.calendar # calendar storage (calendar sync is off above)+com.android.dynsystem # Dynamic System Updates (GSI loader), boot receiver+com.android.wallpaperbackup # wallpaper backup agent++# --- Stock Google TV home and setup wizard ---+# Disable only after installing and verifying the new launcher!+com.google.android.tungsten.setupwraith # first-run wizard; claims HOME. Re-enable before a factory reset+com.google.android.apps.tv.launcherx # stock Google TV homediff --git a/examples/sharp-aquos-tve23a/tv.json b/examples/sharp-aquos-tve23a/tv.jsonnew file mode 100644index 000000000..3dbd872e6--- /dev/null+++ b/examples/sharp-aquos-tve23a/tv.json@@ -0,0 +1,6 @@+{+ "tv": "SHARP AQUOS TVE23A (AQUOS-TVE23A, sandiego, CVTE/MediaTek mt5889), Denmark",+ "os": "Google TV 14",+ "brand": "SHARP",+ "notes": "Google TV sibling of the TVE21F: Anoki ACR, retail demo, e-manual, factory/test apps, partner rows; Android ad services; Prime Video, YouTube, YouTube Music, Play Games, Chromecast and Google TTS off by choice; setupwraith owned the Wi-Fi saved at setup; remote gear is KEYCODE_STAR (17), YouTube is KEYCODE_TV_INPUT_COMPOSITE_1, Netflix stays with the firmware; 2.7 GB"+}