Stop killings apps on HiSense U30 (HLTE720E): Difference between revisions

From Notes to self
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
The producer of HiSense U30 (HLTE720E) added to SystemUI the "memory detect service", which kills '''almost all''' background programs. The white list includes a few apps from major companies, for example, Whatsapp, Skype, Viber, Slack. However, Telegram, Skype Lite, Yandex.Weather, and everything else are killed in a couple of minutes after start. Notifications don't work.
The producer of HiSense U30 (HLTE720E) added to SystemUI the "memory detect service", which kills '''almost all''' background programs. The white list includes a few apps from major companies, for example, Whatsapp, Skype, Viber, Slack. However, Telegram, Skype Lite, Yandex.Weather, and everything else are killed in a couple of minutes after start. Notifications don't work.


A workaround was found in https://android.stackexchange.com/questions/216299/something-killing-background-apps.
Below is a workaround by Andrey Kononov, see https://android.stackexchange.com/questions/216299/something-killing-background-apps.
 
It is as follows:


* Install [https://termux.com Termux] and [https://wiki.termux.com/wiki/Termux:Widget Termux: Widget] from F-Droid or Google Play.
* Install [https://termux.com Termux] and [https://wiki.termux.com/wiki/Termux:Widget Termux: Widget] from F-Droid or Google Play.
* Creat the script <code>.shortcuts/stop-killer</code>
* Creat the script <code>.shortcuts/stop-killer</code>
<p>
<pre>
#!/data/data/com.termux/files/usr/bin/sh
#!/data/data/com.termux/files/usr/bin/sh
am stopservice com.android.systemui/com.hmct.systemui.taskmanager.detectmemory.MemoryDetectService
am stopservice com.android.systemui/com.hmct.systemui.taskmanager.detectmemory.MemoryDetectService
sleep 3</p>
sleep 3
</pre>
* Create the widget for this script and run it manually after each reboot
[[Category: Phones]]
[[Category: Phones]]

Latest revision as of 00:10, 17 September 2021

The producer of HiSense U30 (HLTE720E) added to SystemUI the "memory detect service", which kills almost all background programs. The white list includes a few apps from major companies, for example, Whatsapp, Skype, Viber, Slack. However, Telegram, Skype Lite, Yandex.Weather, and everything else are killed in a couple of minutes after start. Notifications don't work.

Below is a workaround by Andrey Kononov, see https://android.stackexchange.com/questions/216299/something-killing-background-apps.

  • Install Termux and Termux: Widget from F-Droid or Google Play.
  • Creat the script .shortcuts/stop-killer
#!/data/data/com.termux/files/usr/bin/sh
am stopservice com.android.systemui/com.hmct.systemui.taskmanager.detectmemory.MemoryDetectService
sleep 3
  • Create the widget for this script and run it manually after each reboot