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
PR #30 follow-up: default-home tile off by default, shown only where the picker exists
Gathin2344316cd26e7f
diff --git a/README.md b/README.mdindex 975601df5..774495e89 100644--- a/README.md+++ b/README.md@@ -205,13 +205,10 @@ It starts after the TV's "screen off" idle time (`settings get system screen_off### Changing the default home from the TV-The **Default home** tile at the end of the app grid opens Android's system home-screen settings.-Choose the launcher you want, then press Home. The choice is confirmed in the system UI; this-tile does not silently set a default, re-enable disabled apps, or require ADB after installation.-If the stock launcher was disabled during installation, re-enable it before trying to select it-(see the restore instructions). Some TV firmware does not expose this settings page; in that-case the tile shows “Not available on this TV”. Set `show_home_settings_shortcut` to `false`-in `config.xml` to hide it.+Optional: set `show_home_settings_shortcut` to `true` in `config.xml` and a **Default home** tile+appears at the end of the grid, opening Android's own home-screen picker so you can switch+launchers from the sofa. Most Android TV firmware has no such page, and then the tile stays+hidden. The stock launcher has to be enabled before it can be picked, see the restore instructions.## Troubleshootingdiff --git a/docs/home-settings-shortcut-sony.png b/docs/home-settings-shortcut-sony.pngdeleted file mode 100644index 3f8e9a0d3..000000000Binary files a/docs/home-settings-shortcut-sony.png and /dev/null differdiff --git a/docs/home-settings-shortcut.md b/docs/home-settings-shortcut.mddeleted file mode 100644index dd49da116..000000000--- a/docs/home-settings-shortcut.md+++ /dev/null@@ -1,41 +0,0 @@-# Default-home shortcut--The shortcut opens the platform `Settings.ACTION_HOME_SETTINGS` page. The user makes the-choice in Android settings, then presses Home. It does not grant itself a role, issue shell-commands, start a background service, or enable a disabled launcher. Firmware without an-accessible HOME-settings activity gets the existing “Not available on this TV” message.--`show_home_settings_shortcut` in `config.xml` controls whether the tile is appended to the grid.-There are no vendor package names in Java. The small internal activity has no intent filters,-is not exported, and finishes immediately after handing off to settings. Its separate task-affinity prevents the launcher's single-task configuration from swallowing the handoff.--## Real-TV validation--Tested on Sony K-85XR70 (China), Android 14/API 34, firmware 114.602.170.1, on 18 October 2026.-The stock launcher stayed enabled. See compatibility report #29 for the device's scope and limits.--The exact contribution code was compiled using JDK 17, Android SDK 34/build-tools 34.0.0 and-the existing AndroidX dependencies, via local SDK compilation rather than the Gradle wrapper.-APK signature verification passed. No launcher dependencies were added.--For this test, the manifest used a separate application ID and omitted the HOME intent filter;-the Java package and feature code were unchanged. The installed working launcher and its saved-order remained separate. No location permission was granted to the test package.--Verified through injected remote keys and UI hierarchy/screenshot checks:--- Navigate down to the appended Default home tile.-- Right and Down at that final tile keep focus on it.-- Center opens the system chooser containing the stock home, the working custom home and Emotn UI.- The isolated test package is absent from HOME candidates.-- Back cancels without changing the default; the launcher is usable again.-- Up reaches the top bar; the top-bar end boundaries remain usable.-- Home returns to the working launcher; the selected default remains `com.gathin.tvhome`.--The earlier Sony-specific version's actual switch-to-stock and switch-back flow was verified-in the same session. This isolated contribution test deliberately did not repeat a role switch.-Unavailable-settings handling, other vendors, reboot behavior and low-memory devices were not-verified on hardware. This is not a multi-day compatibility claim.--diff --git a/launcher/app/src/main/java/com/gathin/tvhome/AppAdapter.java b/launcher/app/src/main/java/com/gathin/tvhome/AppAdapter.javaindex 81b4fb738..1b53c0963 100644--- a/launcher/app/src/main/java/com/gathin/tvhome/AppAdapter.java+++ b/launcher/app/src/main/java/com/gathin/tvhome/AppAdapter.java@@ -110,8 +110,9 @@ public class AppAdapter extends RecyclerView.Adapter<AppAdapter.Holder> {}return a.label.compareToIgnoreCase(b.label);});- // An internal shortcut: do not discover our own activities as ordinary app entries.- if (ctx.getResources().getBoolean(R.bool.show_home_settings_shortcut)) {+ // Optional "Default home" tile (config.xml), only when this TV actually has a home-screen picker.+ if (ctx.getResources().getBoolean(R.bool.show_home_settings_shortcut)+ && pm.resolveActivity(new Intent(Settings.ACTION_HOME_SETTINGS), 0) != null) {fresh.add(new Entry(ctx.getString(R.string.home_settings),new ComponentName(ctx, HomeSettingsActivity.class), null,ctx.getDrawable(R.drawable.ic_home_settings)));diff --git a/launcher/app/src/main/res/values/config.xml b/launcher/app/src/main/res/values/config.xmlindex dc11d81ba..7b1d8690c 100644--- a/launcher/app/src/main/res/values/config.xml+++ b/launcher/app/src/main/res/values/config.xml@@ -32,6 +32,7 @@<!-- Tiles per row in the grid; the dock always has this many slots. --><integer name="columns">4</integer>- <!-- Open Android's default-HOME picker from a tile; the user confirms the choice there. -->- <bool name="show_home_settings_shortcut">true</bool>+ <!-- "Default home" tile that opens Android's home-screen picker, for TVs whose settings have one+ (most Android TVs don't; the tile only appears when the page exists). Off by default. -->+ <bool name="show_home_settings_shortcut">false</bool></resources>