익명 11:44

Why does my Android TV device (projector) kills my background apps every 5 minut...

Why does my Android TV device (projector) kills my background apps every 5 minutes?

Wanbo projector (Wanbo Mini Pro model with Android 9.0) kills my background apps every 5 minutes.

Is there any way to stop that? YouTube is blocked in my country and I want to turn on VPN and watch YouTube, but it's only work for 5 minutes and then I need to re-enable the VPN.

I even try ActivityLauncher app to launch hidden setting activities on this Android device and add the app to battery saver exceptions, (even the device don't have any batteries!) but I have no luck and its still kills my vpn apps after 5 minutes in background. I even see the RAM usages and it isn't full, it is 600MB/1000MB when both YouTube and VPN app runs at the same time.

Any way to fix this?



Top Answer/Comment:

This helps but doesn't fully stop vendor killing.

Settings → About → Tap Build Number 7 times to enable developer options

Developer Options → Enable USB Debugging
Developer Options → Background process limit → Standard
Developer Options → Don't keep activities → OFF

If you can connect the device to a computer somehow and access adb then these commands should hopefully stop the killing entirely:
pm disable-user --user 0 com.wanbo.powerkeeper
pm disable-user --user 0 com.wanbo.autoclean
pm disable-user --user 0 com.wanbo.taskmanager

If you have no ability to connect the device to a computer try this method

Install Termux
Inside Termux, run:
pkg install android-tools

This installs a full ADB client/server inside Termux.

Then run:
adb shell

Hopefully it will give a loopback connection where you can run the pm disable commands

상단 광고의 [X] 버튼을 누르면 내용이 보입니다