Stop killings apps on HiSense U30 (HLTE720E)

From Notes to self
Revision as of 19:55, 9 November 2019 by Verbovet (talk | contribs)
Jump to navigation Jump to search

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.

It is as follows:

  • 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