Skip to content

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

4.0 KB
Raw Blame

Acer R4G 50" (MOKA R4_GTV, Google TV 14): the firmware turns packages back on at every boot

Owner report from #1106 by @madhusoodhans (diagnosis also in #1135), India. Four days of use without a reboot, then a power cut. This is a note, not a list: on this firmware a disable-only list can't keep the stock Home away, so there is no examples/ folder for it.

Field Observed value
Retail model Acer R4G 50"
Manufacturer / device MOKA / R4_GTV
Board Realtek rtd2851m, 2 GB RAM, 32-bit ARM
Android Google TV 14
Build UKR1.260308, security patch 2026-04-05
Fingerprint ACER/ACER_NFF/R4_GTV:14/UKR1.260308/5597:user/release-keys

The Panasonic 4KTV-3MUP in #1116 is the same MOKA R4_GTV platform on the same UKR1.260308 build and shows the same behaviour.

What happens

The owner disabled 31 packages in small batches, then disabled com.google.android.apps.tv.launcherx and com.google.android.tungsten.setupwraith so a new launcher could keep Home. It worked until the first cold boot. After that Home was black while volume, HDMI and the app keys still worked, and logcat showed setupwraith's .RecoveryActivity being started as HOME every ~130 ms:

I/ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] ... cmp=com.google.android.tungsten.setupwraith/.RecoveryActivity (has extras)}

Why

Acer/Realtek's com.android.tv.settings is modified. On every boot its .system.FallbackHome runs SetPmodServiceJob, which calls disableOrEnableApk(1) and re-enables every package on a hard-coded list of 60, unless a factory P_MODE flag is set (that needs root). setupwraith is on the list. Once it is back, its .RecoveryActivity (HOME priority 1) outranks any third-party launcher (priority 0) and loops trying to bring back the disabled launcherx. Standby and wake do not run the job; only a cold boot does.

What the shell cannot do here: pm hide needs MANAGE_USERS, and disabling only .RecoveryActivity is refused (Shell cannot change component state).

What that means for a debloat

  • Keep launcherx and setupwraith enabled on this TV. A new launcher can still take the Home button with HOME_KEY_SERVICE=1 and stock_home_redirect=com.google.android.apps.tv.launcherx, which is how the Panasonic in #1116 runs it (that issue tracks a cold-boot fix for the redirect).

  • These 20 are on the firmware's list, so disabling them only lasts until the next cold boot:

    com.google.android.tungsten.setupwraith
    com.google.android.katniss
    com.google.android.apps.tv.dreamx
    com.google.android.videos
    com.google.android.play.games
    com.google.android.feedback
    com.apps.ota
    com.apps.authota
    com.realsil.ota
    com.google.android.tv.dfuservice
    com.apps.biz.mt
    com.mk.tv.meeting.service
    com.apps.function.audiolink
    com.mk.tv.timeclock
    com.apps.tvmanager
    com.apps.esticker
    com.apps.esticker3
    com.apps.function.gdpr
    com.apps.scast
    com.creative.fastscreen.tv
    
  • These 11 stayed disabled across cold boots (launcherx among them, which is what made Home black once setupwraith came back):

    android.autoinstalls.config.scbc.device
    com.alphainventor.filemanager
    com.android.tv.feedbackconsent
    com.apps.mk.wd
    com.apps.wifihotspot
    com.google.android.apps.tv.launcherx
    com.jio.media.stb.ondemand
    com.mk.tv.systemserver
    com.mxtech.videoplayer.television
    com.realtek.leanbacklauncher.partnercustomizer
    com.yupptv.scope.tvapp
    

The owner went further than this project's disable-only rule to keep their own launcher as Home. Those steps are not documented here.

If Home is already black after a reboot

Check that it is this: tools/tv.py 'logcat -d | grep RecoveryActivity'. Then re-enable the stock launcher right away and do not reboot while .RecoveryActivity has the screen (a reboot there factory-reset a Xiaomi MiTV-MOSR4, see TROUBLESHOOTING):

tools/tv.py 'pm enable --user 0 com.google.android.apps.tv.launcherx'