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: OnePlus TV Dubai, add an Android TV 11 second unit (India)
Akshat28d7c7cf5e98
diff --git a/examples/oneplus-tv-dubai-atv11/debloat.txt b/examples/oneplus-tv-dubai-atv11/debloat.txtdeleted file mode 100644index f46e89667..000000000--- a/examples/oneplus-tv-dubai-atv11/debloat.txt+++ /dev/null@@ -1,65 +0,0 @@-# OnePlus TV (model D00, codename Dubai, MediaTek mt5867), Android TV 11 (not Google TV), India,-# build RTM1.210315.027 (incremental 2303030058, security patch 2023-01-05).-# System version on the About screen: BOVC601RIN04S01110V1.14.0T2303030058.-# examples/oneplus-tv-dubai/ is the same hardware on its Google TV 14 firmware; this list is the-# Android TV 11 firmware, with the classic Android TV home.-# Live TV app: com.heytap.tv.livetv. Stock launcher: com.google.android.tvlauncher.-#-# Apply: TV_HOST=<tv ip> tools/disable.sh examples/oneplus-tv-dubai-atv11/debloat.txt-# Undo: TV_HOST=<tv ip> tools/restore.sh examples/oneplus-tv-dubai-atv11/debloat.txt-# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.-#-# Network ADB: there is no Network/ADB or Wireless debugging toggle. USB debugging alone opens port-# 5555, and switching it off closes it again (checked with tools/adb-closed.py, before and after a reboot).-#-# Already disabled at the factory, before any cleanup: com.heytap.olink (OnePlus Connect) and-# com.oneplus.tv.remote (OnePlus phone-remote service). The shell may not change com.heytap.olink-# ("Shell cannot change component state"), so neither is listed.-#-# Kept on purpose: Google Assistant (com.google.android.katniss), Chromecast-# (com.google.android.apps.mediashell), Miracast (com.heytap.optvmiracastservice, com.oplus.onet),-# the streaming apps, Play Store and Play Services. System updates come through Play Services here-# (com.google.android.gms/.update.SystemUpdatePanoActivity); there is no separate OnePlus updater.-# Left alone: com.heytap.oprcupgradeservice (remote firmware updates), com.oneplus.tv.android.account,-# com.heytap.tvapiservice and the factory apps (com.heytap.optvfactory, com.oneplus.tv.factory,-# mediatek.factorymenu.ui). android.autoinstalls.config.OnePlus is a Play auto-install stub, but-# tools/disable.sh skips it (its dumpsys shows no permission block), so it stays enabled.-#-# Remote: with this list and launcher/ as Home, Input, YouTube, Netflix, the Settings gear and Home-# all work without a key helper. Two buttons stop working:-# - The OnePlus button (KEYCODE_F2) opens Oxygen Play's page (com.oneplus.tv.intent.category.HOME),-# so it does nothing once com.oneplus.tv.launcher is disabled.-# - The three-bars button sends KEYCODE_ASSIST (219) and nothing answers it once the stock launcher-# is off. settings_key_keycodes 219 with HOME_KEY_SERVICE=1 opened Settings only on a long press,-# and with the helper bound a held Volume Up stepped once instead of ramping, so it was left unmapped.-#-# Status: applied 2026-10-30 on one TV in five batches with a screenshot after each (the last two lines-# after launcher/ took Home), then rebooted twice with every entry still disabled. Home, the remote-# buttons and streaming apps checked the same day; not yet lived with for several days.--# Telemetry and feedback-com.google.android.feedback # Google "send feedback" agent-com.heytap.tv.remotediagnosing # OnePlus remote diagnostics--# OnePlus / HeyTap extras-oneplus.smarthome # OnePlus smart home hooks (login and kids-mode receivers)-com.heytap.tv.assistant.oneplus # "TV Manager": cleaner and data-usage monitor-com.oneplus.tv.launcher # Oxygen Play; also answers the OnePlus remote button (see header)--# Preloaded bloat-com.oneplus.tv.userguide # E-manual-com.google.android.play.games # Play Games--# Preloaded apps, off by choice-com.heytap.tv.btspeaker # "Bluetooth Stereo" (TV as a Bluetooth speaker)-com.heytap.tv.filebrowser # File Manager (re-enable for USB drives)-com.jio.web.androidtv # JioPages browser-com.google.android.youtube.tvmusic # YouTube Music-com.google.android.videos # Play Movies & TV-com.vectorunit.red # Riptide GP game-pl.idreams.skyforcehdtv # Sky Force game--# Stock Android TV home and its recommendation rows, replaced by launcher/-# (tools/disable.sh skips the launcher until another app is Home)-com.google.android.tvlauncher-com.google.android.tvrecommendationsdiff --git a/examples/oneplus-tv-dubai-atv11/tv.json b/examples/oneplus-tv-dubai-atv11/tv.jsondeleted file mode 100644index e43b5ca6c..000000000--- a/examples/oneplus-tv-dubai-atv11/tv.json+++ /dev/null@@ -1,6 +0,0 @@-{- "tv": "OnePlus TV (D00, Dubai), India",- "os": "Android TV 11",- "brand": "OnePlus",- "notes": "Classic Android TV home, firmware RTM1.210315.027; feedback and remote diagnostics, TV Manager, Oxygen Play, smart home, user guide; streaming preloads, File Manager, Bluetooth Stereo and JioPages off by choice; Assistant, Chromecast and Miracast kept; OnePlus and three-bars remote buttons stop working; USB debugging alone opens 5555"-}diff --git a/examples/oneplus-tv-dubai/debloat.txt b/examples/oneplus-tv-dubai/debloat.txtindex 664381567..05e872beb 100644--- a/examples/oneplus-tv-dubai/debloat.txt+++ b/examples/oneplus-tv-dubai/debloat.txt@@ -12,9 +12,32 @@# For the launcher's Inputs menu set live_tv_package to com.heytap.tv.livetv in config.xml.# Seen on this unit: Developer options -> "Don't keep activities" was switched on, which makes every# app restart when you leave it. Check it is off.+#+# Second unit: OnePlus TV D00 (Dubai, MediaTek mt5867), India, Android TV 11 with the classic Android TV+# home, build RTM1.210315.027 (incremental 2303030058, security patch 2023-01-05), system version+# BOVC601RIN04S01110V1.14.0T2303030058 on the About screen. Stock launcher: com.google.android.tvlauncher.+# - Every active line below was applied on it except com.tcl.browser (not installed) and com.heytap.olink:+# that one and com.oneplus.tv.remote were already disabled at the factory (state 2), and the shell may not+# change com.heytap.olink ("Shell cannot change component state"). The lines marked "second unit" were+# added for it.+# - Network ADB: no Network/ADB or Wireless debugging toggle; USB debugging alone opens port 5555, and+# switching it off closes it again (tools/adb-closed.py, before and after a reboot).+# - Also kept there: Miracast (com.heytap.optvmiracastservice, com.oplus.onet), Play Store and Play Services+# (also the system updater: com.google.android.gms/.update.SystemUpdatePanoActivity),+# com.oneplus.tv.android.account, com.heytap.tvapiservice and mediatek.factorymenu.ui.+# android.autoinstalls.config.OnePlus is skipped by tools/disable.sh (no permission block in its dumpsys).+# - Remote with launcher/ as Home and no key helper: Input, YouTube, Netflix, the Settings gear and Home work.+# The OnePlus button (KEYCODE_F2) opens Oxygen Play's page (com.oneplus.tv.intent.category.HOME), so it+# does nothing once com.oneplus.tv.launcher is disabled. The three-bars button sends KEYCODE_ASSIST (219)+# and nothing answers it once the stock launcher is off; settings_key_keycodes 219 with HOME_KEY_SERVICE=1+# opened Settings only on a long press and a held Volume Up stopped ramping, so it was left unmapped.+# - Status: applied 2026-10-30 in five batches with a screenshot after each (the stock launcher lines after+# launcher/ took Home), rebooted twice with every entry still disabled; Home, the remote buttons and+# streaming apps checked the same day. Not yet lived with for several days.# Google telemetrycom.google.android.feedback+com.heytap.tv.remotediagnosing # OnePlus remote diagnostics (second unit)# OnePlus / HeyTap extrascom.heytap.olink # OnePlus Connect (phone link)@@ -26,6 +49,15 @@ com.oneplus.tv.launcher # OnePlus content launcher page# Preloaded appscom.tcl.browser # "BrowseHere" web browser (not a system app: can also be uninstalled)+com.jio.web.androidtv # JioPages browser (second unit)+com.oneplus.tv.userguide # E-manual (second unit)+com.google.android.play.games # Play Games (second unit)++# Off on the second unit by the owner's choice; uncomment to disable.+# com.google.android.youtube.tvmusic # YouTube Music+# com.google.android.videos # Play Movies & TV+# com.vectorunit.red # Riptide GP game+# pl.idreams.skyforcehdtv # Sky Force game# Stock Google TV launcher and its recommendation service, replaced by launcher/com.google.android.tvlauncher