Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

examples/kalley-r10g: keep launcherx and setupwraith on, they boot-looped a second set (#1807)

Gathin23baadd07a7d09
diff --git a/examples/README.md b/examples/README.md
index 7af845c6b..19c245dec 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -80,7 +80,7 @@ on that firmware, grouped and commented. These are starting points: comment out
| `jvc-lt55mb508/` | JVC LT55MB508 (MTC, seocho, MediaTek MSD6886), Brazil | Android TV 11 | Anoki ACR, JVC auto-installs, Google recommendation rows and feedback; same MTC platform as the [Hitachi](hitachi-65qledsm20/), the "demo" package handles the Input key and remote pairing; Assistant (stock home search goes with it), Chromecast, Ambient and USB player off by choice; tvlauncher has HOME priority 2 and must be disabled for the launcher; 1.3 GB |
| `jvc-uk-4k-sadang/` | JVC UK 4K Android TV (MTC, MTCMSD6886UK, sadang, MediaTek m7322), UK | Android TV 11 | Same MTC board and firmware build as Hitachi 65QLEDSM20, with the UK Freeview Play layer: Google feedback, data meter, calendar sync, printing, Play Games, YouTube Music, Google TV, Chromecast (by choice), the Freeview Play broadband guide, stock home and rows; fusion.android.tv.demo KEPT (Input key) and partnercustomizer left enabled pending a logcat check; uk.co.freeview.* come back at every boot, so hide them; Live TV opens itself at every power-on (Freeview Play), no setting turns it off |
| `kalley-43g200/` | Kalley 43G200 (device R3_GTV, MOKA, Realtek RTD2841A), Latin America | Google TV 14 | Android ad services, Realtek partner customizer, health and print stubs; many MOKA/Google preloads come back enabled at every boot; keep launcherx and setupwraith: setupwraith returns at boot, and with launcherx off its RecoveryActivity loops (boot loop once, black screen on a retest) |
-| `kalley-r10g/` | Kalley R10G (device R10G, product ACER_FFM, MOKA, Realtek RTD2875P), Latin America | Google TV 14 | Same hardware family as `prismplus-q65-ultra-r10g/` with different preloads: Claro, Kick, JioTV, CBS, Apple TV, Prime Video, karaoke, Play Movies; launcherx + setupwraith off for a custom launcher (Wi-Fi survived; voice untested); Input key is KEYCODE_TV_INPUT (RC860G) and needs InputKeyService; keep Realtek dtv/atv for inputs and OTA |
+| `kalley-r10g/` | Kalley R10G (device R10G, product ACER_FFM, MOKA, Realtek RTD2875P), Latin America | Google TV 14 | Same hardware family as `prismplus-q65-ultra-r10g/` with different preloads: Claro, Kick, JioTV, CBS, Apple TV, Prime Video, karaoke, Play Movies; launcherx and setupwraith stay on: disabling both boot-looped a second set (#1807), so Home goes to the new launcher through `stock_home_redirect` and the key helpers; the firmware re-enables most preloads at boot (as on the Acer R4G); Input key is KEYCODE_TV_INPUT (RC860G) and needs InputKeyService; keep Realtek dtv/atv for inputs and OTA |
| `karbonn-swtv-20ae/` | Karbonn SWTV-20AE (Skyworth OEM, SW4H, MediaTek), India | Android TV 10 | Same SW4H platform as Panasonic 4KTV-0SU; Skyworth ACR, ad-row injector, ePop demo, e-manual, Airtel Xstream, Facebook and India-specific preloads; Google feedback and recommendation rows; 1.68 GB RAM, 32-bit armeabi-v7a; com.sky.market is a protected package (SecurityException); animation scales halved + background_process_limit 2 for extra performance on low RAM; Live TV is com.smartdevice.livetv |
| `kogan-g7/` | Kogan G7 (Expressluck, cottongreen, Realtek), Australia | Google TV (Android 11) | Lean Realtek firmware, no ACR: retail/store demo, partner rows and auto-installs, ambient mode, karaoke guide; setupwraith must go with launcherx; Netflix, YouTube and Prime Video buttons are Realtek's and only reach launcherx, so they cannot be remapped; Disney+ is KEYCODE_BUTTON_6 (`app_keys` 193); HbbTV, OTA, USB media and karaoke kept |
| `kogan-gtvu65kg/` | Kogan Google TV (Changhong CHiQ AI PONT, GTVU65KG, dangni, MediaTek mt5867), Australia | Google TV 14 | Same board as chiq-gtvu65 on UKN3 firmware; Google ad services and auto-installs, feedback, Homwee store/help; Homwee screenshare packages are the AirPlay receiver (keep for iPhones); Chromecast, voice, OTA kept; AdGuard DNS validates; debloat only; reboot-checked |
diff --git a/examples/kalley-r10g/debloat.txt b/examples/kalley-r10g/debloat.txt
index 13fafa01a..f912ccf9f 100644
--- a/examples/kalley-r10g/debloat.txt
+++ b/examples/kalley-r10g/debloat.txt
@@ -12,8 +12,27 @@
# OTA: keep com.apps.ota and com.apps.authota. Keep com.realsil.ota too: it updates the remote.
#
# Input button: the RC860G remote sends KEYCODE_TV_INPUT (kernel scan code 225), not KEYCODE_TV.
-# With the stock launcher gone nothing handles it, so enable the launcher's InputKeyService
-# (INPUT_KEY_SERVICE=1). com.android.tv.action.VIEW_INPUTS resolves to com.realtek.tv/.SelectInputActivity.
+# Enable the launcher's InputKeyService (INPUT_KEY_SERVICE=1) so the new launcher answers it.
+# com.android.tv.action.VIEW_INPUTS resolves to com.realtek.tv/.SelectInputActivity.
+#
+# KEEP launcherx AND setupwraith ENABLED on this set (#1807). With both disabled, system_server crashed
+# 35-75 s into every boot (sys.boot.reason watchdog; IllegalArgumentException: positionChildAt ... in
+# Task.moveToBack) and the TV restarted in a loop until both were enabled again over ADB in the boot window.
+# The setup that works here, from the #1807 report:
+# - set stock_home_redirect to com.google.android.apps.tv.launcherx (config.xml or a theme), so the
+# stock home is sent straight back to the new launcher;
+# - install with the key helpers and without disabling the stock launcher:
+# STOCK_LAUNCHER=none INPUT_KEY_SERVICE=1 HOME_KEY_SERVICE=1 launcher/build-and-install.sh
+# (Windows: launcher\build-and-install.ps1 -StockLauncher none -InputKeyService -HomeKeyService)
+# The installer stops at its Home check in this mode, since Home still resolves to launcherx: enable
+# HomeKeyService and InputKeyService by hand afterwards (Settings > Accessibility). Without the helpers
+# Home goes back to launcherx; set-home-activity does not hold on this build.
+# - With both helpers bound, holding volume steps once instead of ramping (the trade in
+# docs/devices/tcl-55p71b-g09-key-repeat.md).
+#
+# The firmware turns most preloads back on at boot, as on the MOKA Acer R4G (docs/devices/acer-r4g.md):
+# after one reboot only com.cbs.ca, com.seraphic.media.tv.interactive.app, com.realtek.kara and
+# com.realtek.karaoke.userguide stayed disabled on the #1807 set.
#
# Tested on one set on 2026-10-19/20 with the reference launcher: the apps kept (Netflix, Disney+,
# Max, Spotify, YouTube, Twitch, GeForce NOW, Stremio) still launch, and HDMI input, Home and the
@@ -41,11 +60,12 @@ com.cbs.ca # CBS
net.froemling.bombsquad # Bombsquad
com.yodo1.crossyroad # Crossy Road
-# Stock home and the Google TV setup wizard. Disable only after the new launcher is installed and
-# running. On this build setupwraith's RecoveryActivity claimed Home as soon as launcherx was off,
-# so both had to go; Wi-Fi survived the reboot. Voice ("Hey Google") was not tested afterwards.
-com.google.android.apps.tv.launcherx
-com.google.android.tungsten.setupwraith
+# Stock home and the Google TV setup wizard: keep both. The first set ran with both disabled for two
+# days, but on a second set (#1807) disabling them made system_server crash in a boot loop (watchdog,
+# positionChildAt in Task.moveToBack). With launcherx alone off, setupwraith's RecoveryActivity claims
+# Home. Use stock_home_redirect with the key helpers instead (see the header).
+# com.google.android.apps.tv.launcherx
+# com.google.android.tungsten.setupwraith
# KEEP: com.realtek.dtv, com.realtek.tv.atv (HDMI and other inputs), com.realtek.airplay2,
# com.apps.ota, com.apps.authota, com.realsil.ota (firmware and remote updates).
diff --git a/examples/kalley-r10g/tv.json b/examples/kalley-r10g/tv.json
index 58ab77990..88a5cd5c4 100644
--- a/examples/kalley-r10g/tv.json
+++ b/examples/kalley-r10g/tv.json
@@ -2,5 +2,5 @@
"tv": "Kalley R10G (device R10G, product ACER_FFM, MOKA, Realtek RTD2875P), Latin America",
"os": "Google TV 14",
"brand": "Kalley",
- "notes": "Same hardware family as `prismplus-q65-ultra-r10g/` with different preloads: Claro, Kick, JioTV, CBS, Apple TV, Prime Video, karaoke, Play Movies; launcherx + setupwraith off for a custom launcher (Wi-Fi survived; voice untested); Input key is KEYCODE_TV_INPUT (RC860G) and needs InputKeyService; keep Realtek dtv/atv for inputs and OTA"
+ "notes": "Same hardware family as `prismplus-q65-ultra-r10g/` with different preloads: Claro, Kick, JioTV, CBS, Apple TV, Prime Video, karaoke, Play Movies; launcherx and setupwraith stay on: disabling both boot-looped a second set (#1807), so Home goes to the new launcher through `stock_home_redirect` and the key helpers; the firmware re-enables most preloads at boot (as on the Acer R4G); Input key is KEYCODE_TV_INPUT (RC860G) and needs InputKeyService; keep Realtek dtv/atv for inputs and OTA"
}