urbandroid-team / dont-kill-my-app

Android vendors, don't kill my app!
Creative Commons Attribution 4.0 International
1.24k stars 2.39k forks source link

Nokia 5.1 Plus, Android 9 - solved #67

Open oxirt opened 5 years ago

oxirt commented 5 years ago

I have Nokia 5.1 Plus running Android 9. I disabled com.evenwell.powersaving.g3, still, all the services (mail apps, chat apps, etc) were being killed in background. Also, I could not find com.evenwell.emm in packages or DuraSpeed in logcat.

What helped me was disabling com.evenwell.batteryprotect. Since then, the services seems to be running properly.

Please keep this issue open, I'll update my findings in a few days.

petrnalevka commented 5 years ago

Hello so far we do note have this reported, in general in our own research we did see any relation to battery protect and the background process optimizations. Can you please double check that?

We ave a complete thread on the Nokia issues here: https://github.com/urbandroid-team/dont-kill-my-app/issues/55

petrnalevka commented 5 years ago

Also please look here https://github.com/urbandroid-team/dont-kill-my-app/issues/55

HikariCalyx commented 5 years ago

Speaking of that, I obtained a Nokia 5.1 prototype unit few weeks ago and I found DuraSpeed option was available in the prototype build (6th option entitled with a rocket icon and Chinese word "快霸" in following screenshot). Unfortunately I don't have more screenshots in English before I reinstalled retail firmware on it, but I do have made a dump of emmc back then. In prototype firmware, the DuraSpeed package is located at /system/priv-app/DuraSpeed/DuraSpeed.apk . Didn't analyze retail firmware yet. I bet you can get to DuraSpeed configuration activity by some method like QuickShortcutMaker.

photo_2019-06-11_21-07-00

Steve-Mr commented 5 years ago

I have a Nokia 5.1 plus and I have used the command to disable DuraSpeed and power saver. The services working well now. After I run the command to disable DuraSpeed it didn't give any response.

Cybso commented 5 years ago

It seems that the latest update from July 5th (build number 00WW_2_16A_SP03) has completely resolved the issue for my Nokia 5.1 plus (TA-1105).

Cybso commented 5 years ago

Sorry, false-positive. After a few days the phone startet killing my apps again. Don't know why it worked for a few hours after the update. Maybe an "intelligent" learning algorithm?

kohmy2036 commented 5 years ago

Somehow I managed to keep GSam Battery Monitor running without getting killed. Just added a widget and it stays in the notification bar. Too bad AccuBattery doesn't have any widgets.

genodeftest commented 4 years ago

@Cybso: If your app is on external storage (SD card), try moving it to internal storage (#179).

@kohmy2036: If AccuBattery has neither a widget nor a permanent notification, it cannot be run in background and will always get killed.

Cybso commented 4 years ago

I solved this problem by manually running

adb shell settings put global setting.duraspeed.enabled 2
adb shell settings put global setting.duraspeed.enabled 0

after each reboot.

genodeftest commented 4 years ago

Running something after each reboot is not an option for app developers out there…

Cybso commented 4 years ago

I've spoke from the user's point of view.