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/acer-ar3-r3: address review feedback
Souvik Pal7f4a21dca6ec
diff --git a/examples/acer-ar3-r3/README.md b/examples/acer-ar3-r3/README.mdindex e0156cbea..c64d738de 100644--- a/examples/acer-ar3-r3/README.md+++ b/examples/acer-ar3-r3/README.md@@ -17,23 +17,21 @@ there, `rtd2841a` here).export TV_HOST=<tv ip>```-Port 5555 was already open (Developer options > Network/ADB debugging) and stayed open with no-separate Wireless-debugging pairing step.-## Debloat```bashTV_HOST=<tv ip> tools/disable.sh examples/acer-ar3-r3/debloat.txt```-(Windows: `tools\disable.ps1 examples\acer-ar3-r3\debloat.txt`.) 32 packages, all disabled, none+(Windows: `tools\disable.ps1 examples\acer-ar3-r3\debloat.txt`.) 26 packages disabled by default, noneuninstalled. The header of [`debloat.txt`](debloat.txt) says what each group is, what is kept on-purpose, and a firmware quirk with the remote's YouTube button (below). Everything under "Preloaded-apps and casting" is personal choice: comment out whatever you use.+purpose, and a firmware quirk with the remote's YouTube button (below). Netflix, Prime Video,+YouTube, YouTube Music and Play Games are commented out by default (personal choice: this set has+them off; uncomment any you use).Applied and checked on one unit, in one batch with a screenshot before and after, then one cold boot(power cable out): Home, the Inputs menu's HDMI1/HDMI2/AV listing (`cmd package query-activities`)-and the dock all still worked afterwards. All 28 newly-disabled packages were still disabled+and the dock all still worked afterwards. All newly-disabled packages were still disabled(`pm list packages -d`) after the reboot, confirming this Android TV variant does not re-enablepackages at boot the way the Google TV R4G note describes for a related platform.@@ -94,14 +92,13 @@ TV_HOST=<tv ip> addons/bluetooth-connect/install.shThe remote's dedicated YouTube button sends keycode 2030, intercepted below Android's input layer bythe persistent system service `com.realtek.keyinterceptserver`, which starts`com.google.android.youtube.tv` by a package name hardcoded in its own compiled code-(`RtkKeyInterceptService.java`). With YouTube disabled by this list, every press throws-`ActivityNotFoundException` inside that persistent process, which Android then restarts in place:-harmless, but the button does nothing, and `logcat` shows a crash/restart on every press.-`RtkInput`'s own log line ("`ap decide result is 1`") shows the vendor driver already claimed and-handled the key before Android's normal dispatch, let alone an accessibility service, ever sees it,-so the launcher's `app_keys`/`InputKeyService` remapping cannot reach it at all. Comment out the-YouTube line in `debloat.txt` if you want the button to open the real YouTube app without crashing-anything; it cannot be remapped to a different app (such as SmartTube) on this firmware. Same+(`RtkKeyInterceptService.java`). `RtkInput`'s own log line ("`ap decide result is 1`") shows the+vendor driver already claimed and handled the key before Android's normal dispatch, let alone an+accessibility service, ever sees it, so the launcher's `app_keys`/`InputKeyService` remapping cannot+reach it at all. If you uncomment the YouTube line in `debloat.txt` to disable the app, every press of+this button then throws `ActivityNotFoundException` inside that persistent process, which Android+restarts in place: harmless, but the button does nothing, and `logcat` shows a crash/restart on every+press. It cannot be remapped to a different app (such as SmartTube) on this firmware either way. Samelimitation as the sibling `examples/acer-ar55ar2851udpro` list.## Remotediff --git a/examples/acer-ar3-r3/debloat.txt b/examples/acer-ar3-r3/debloat.txtindex 45ff59a40..8911c7e95 100644--- a/examples/acer-ar3-r3/debloat.txt+++ b/examples/acer-ar3-r3/debloat.txt@@ -101,11 +101,13 @@ com.seraphic.hbbtv.app # HbbTV app; India has no HbbTV# Preloaded apps and casting (personal choice: comment out any you use)com.google.android.marvin.talkback # TalkBack screen reader: keep it if anyone uses it-com.google.android.youtube.tv # see the firmware quirk note above re: the remote's YouTube button-com.google.android.youtube.tvmusiccom.apps.scast # a second casting receiver alongside FastCast (kept above)# com.google.android.videos # Google Play Movies; not installed on the tested unit-com.netflix.ninja # Netflix-com.netflix.tokenmanager # Netflix helper; disable alongside com.netflix.ninja-com.google.android.play.games # Google Play Games-com.amazon.amazonvideo.livingroom # Prime Video\ No newline at end of file++# this set has these off; uncomment if you don't use them+# com.google.android.youtube.tv # see the firmware quirk note above re: the remote's YouTube button+# com.google.android.youtube.tvmusic+# com.netflix.ninja # Netflix+# com.netflix.tokenmanager # Netflix helper; disable alongside com.netflix.ninja+# com.google.android.play.games # Google Play Games+# com.amazon.amazonvideo.livingroom # Prime Video