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
Merge PR #128: Xiaomi MiTV-ASTP1 (maverick, China firmware)
Gathin238049c4e9326c
diff --cc launcher/build-and-install.ps1index a239c32d4,749a9c9b6..c4c73c219--- a/launcher/build-and-install.ps1+++ b/launcher/build-and-install.ps1@@@ -36,7 -36,7 +36,7 @@@ if ($LASTEXITCODE -ne 0) { throw 'Gradl$py = '..\tools\venv\Scripts\python.exe'# Which app owns Home differs by build; ask the TV, but only accept a launcher we recognise (the answer# can also be Android's chooser "android", the setup wizard, or another third-party launcher).--$knownStock = @('com.google.android.tvlauncher', 'com.google.android.apps.tv.launcherx', 'com.google.android.leanbacklauncher')++$knownStock = @('com.google.android.tvlauncher', 'com.google.android.apps.tv.launcherx', 'com.google.android.leanbacklauncher', 'com.mitv.tvhome')if (-not $StockLauncher) {$homePkg = & $py -I ..\tools\tv.py 'cmd package resolve-activity --brief -a android.intent.action.MAIN -c android.intent.category.HOME' | Select-Object -Last 1if ($LASTEXITCODE -ne 0 -or -not $homePkg) { throw 'could not ask the TV which launcher owns Home; check -TvHost and the debugging prompt, or pass -StockLauncher <package>' }diff --cc launcher/build-and-install.shindex cd3bc936c,fc4a9d088..113b1340c--- a/launcher/build-and-install.sh+++ b/launcher/build-and-install.sh@@@ -20,7 -16,7 +20,7 @@@ export MSYS_NO_PATHCONV=# Only a launcher we recognise is accepted: the answer can also be Android's chooser ("android"),# the setup wizard, or another third-party launcher, none of which should be disabled by accident.# Pass STOCK_LAUNCHER=<package> to name it yourself, or STOCK_LAUNCHER=none to disable nothing.--KNOWN_STOCK_LAUNCHERS="com.google.android.tvlauncher com.google.android.apps.tv.launcherx com.google.android.leanbacklauncher"++KNOWN_STOCK_LAUNCHERS="com.google.android.tvlauncher com.google.android.apps.tv.launcherx com.google.android.leanbacklauncher com.mitv.tvhome"if [ -z "${STOCK_LAUNCHER:-}" ]; thenHOME_PKG=$("$PY" -I ../tools/tv.py 'cmd package resolve-activity --brief -a android.intent.action.MAIN -c android.intent.category.HOME' \| tail -n 1 | tr -d '\r' | cut -d/ -f1) || {