Apps Running in Background and Autorun at Start-up - Huawei P20 Pro Questions & Answers

Hi, my P20 Pro had EMUI 9.1.
Even before the update, apps stopes running in the background and not starting at start-up.
I.e. Automate, Shpock, etc and after the 9.1 update Nova Google Companion stopped running as well.
I’ve tried Manu > Battery > App launch and changed these apps to manage manually, but no luck.
Any help /advise will be highly appreciated.
Regards,

ATZ-007 said:
Hi, my P20 Pro had EMUI 9.1.
Even before the update, apps stopes running in the background and not starting at start-up.
I.e. Automate, Shpock, etc and after the 9.1 update Nova Google Companion stopped running as well.
I’ve tried Manu > Battery > App launch and changed these apps to manage manually, but no luck.
Any help /advise will be highly appreciated.
Regards,
Click to expand...
Click to collapse
Make sure you select the options when enable manually (3 toggles).
Cheers!
Sent from my HUAWEI CLT-L04 using XDA Labs

grantdb said:
Make sure you select the options when enable manually (3 toggles).
Cheers!
Click to expand...
Click to collapse
Thanks for your advise.
I did select all 3 option, however it still doesn't auto start and doesn't run at the background.

ATZ-007 said:
Thanks for your advise.
I did select all 3 option, however it still doesn't auto start and doesn't run at the background.
Click to expand...
Click to collapse
The only thing I can think of is maybe an option in the app itself to start on boot. Otherwise try to reinstall the app and before running it the first time, set those options.
Sent from my HUAWEI CLT-L04 using XDA Labs

Check for ignore optimizations in the search bar in the settings app.
Then, find your app and click allow. This will prevent it from getting killed in the background since doze in EMUI is hard coded (i think) inside the os

The Restless Soul said:
Check for ignore optimizations in the search bar in the settings app.
Then, find your app and click allow. This will prevent it from getting killed in the background since doze in EMUI is hard coded (i think) inside the os
Click to expand...
Click to collapse
I searched for optimizations and under apps>>battery optimizations I found a menu of apps that I could not find through any other way! Thanks!
Sent from my HUAWEI CLT-L04 using XDA Labs

Related

Third Party App Notifications not working unless App is Open

I've noticed that if you use a third party app for SMS like Signal, you dont get a notification unless the application is open, same with gmail.
Has anyone else noticed this?
go to advance setting >battery manager >protected app and check if application is not checked on , that's mean when screen is off the application will not work unless you open it... so if you need notification from certain apps just mark it on
aymnga said:
go to advance setting >battery manager >protected app and check if application is not checked on , that's mean when screen is off the application will not work unless you open it... so if you need notification from certain apps just mark it on
Click to expand...
Click to collapse
I had the same issue, even checked on, my notifications are late or not working at all. Starting to regret I got this phone :-/
hello i have problem with notifications with boom beach and clash of clans.only raided notifications coming CoC and BB only task force operation. i try check in battery both games buth nothing change. still not coming.tried reinstall both and google play games too but same. any idea. stock MM without root
Odesláno z mého LG-H815 pomocí Tapatalk
This is a the 'doze' function in Huawei EMUI. A lot of firmwares have this issue. It's because Huawei has blacklisted many apps to not to send notification when screen is off. The apps that are white-listed include WhatsApp and some Chinese Tencent crap.
There is a method to enable notifications for all apps but obviously that requires root.
And yeah, Welcome to EMUI, a UI that plays with your emotions.
hackslash said:
This is a the 'doze' function in Huawei EMUI. A lot of firmwares have this issue. It's because Huawei has blacklisted many apps to not to send notification when screen is off. The apps that are white-listed include WhatsApp and some Chinese Tencent crap.
There is a method to enable notifications for all apps but obviously that requires root.
And yeah, Welcome to EMUI, a UI that plays with your emotions.
Click to expand...
Click to collapse
I find this quite worrying as a potential P9 owner. Is there a list somewhere of these black/white listed apps?
scook94 said:
I find this quite worrying as a potential P9 owner. Is there a list somewhere of these black/white listed apps?
Click to expand...
Click to collapse
All I can say is I have turned on every apps to run when the screen is off. I do t get any notifications, only if I go on the app or if I turned the phone off then back on I get a batch of notifications. I receive certain apps notification but its not consistent. Can't wait for a good root, to get rid of this crappy EMUI and hopefully the camera app will be ported, I'm happy with the pbone, the camera, but this UI is from hell.
Weird, I have 0 issues with notifications, everything turns up very quickly. Gmail, whatsapp, youtube comments... Etc.
I also use Nils lockscreen notifications though, I have the huawei lockscreen notification system disabled. It works very well like this until I find the time to root.
clouds5 said:
Weird, I have 0 issues with notifications, everything turns up very quickly. Gmail, whatsapp, youtube comments... Etc.
I also use Nils lockscreen notifications though, I have the huawei lockscreen notification system disabled. It works very well like this until I find the time to root.
Click to expand...
Click to collapse
How did you disable it? Mine is greyed out saying locked by administrator and I haven't. This UI is starting to P me off. Think touchwiz will see me again soon ?
Have you looked at apps > phone manager > notification centre?
Sent from my EVA-L09 using XDA-Developers mobile app
fredhd said:
How did you disable it? Mine is greyed out saying locked by administrator and I haven't. This UI is starting to P me off. Think touchwiz will see me again soon ��
Click to expand...
Click to collapse
I only disabled the huawei lockscreen notification system (to disable the lockscreen all together you need root). Just use any lockscreen other than the stock magazine one in the theme selecter.
The UI certainly is different. But imho customizable enough that it doesn't get in the way. This is android after all.
clouds5 said:
I only disabled the huawei lockscreen notification system (to disable the lockscreen all together you need root). Just use any lockscreen other than the stock magazine one in the theme selecter.
The UI certainly is different. But imho customizable enough that it doesn't get in the way. This is android after all.
Click to expand...
Click to collapse
Cheers mate, will have a pop at it. [emoji106]
Sent from my EVA-DL00 using XDA-Developers mobile app
delete
fredhd said:
Cheers mate, will have a pop at it. [emoji106]
Sent from my EVA-DL00 using XDA-Developers mobile app
Click to expand...
Click to collapse
OK if you guys have root i have something to try for you. I had issues with the process of GMD gesture control. It was killed by the battery saving tools implemented in this phone.
So I tried freezing certain system apps through titanium to find the one responsible for closing the background process and I think I found it:
It's a process/app called "power genie". I disabled it and now the process sticks. Also I made gesture control a system app, so maybe it's a combination of the two things.
It's not the same issue as you had but maybe it works for you too.
clouds5 said:
OK if you guys have root i have something to try for you. I had issues with the process of GMD gesture control. It was killed by the battery saving tools implemented in this phone.
So I tried freezing certain system apps through titanium to find the one responsible for closing the background process and I think I found it:
It's a process/app called "power genie". I disabled it and now the process sticks. Also I made gesture control a system app, so maybe it's a combination of the two things.
It's not the same issue as you had but maybe it works for you too.
Click to expand...
Click to collapse
So does this method allow for notifications to come through without having firstly opened the application then going to home-screen with it still open?
Milamber said:
So does this method allow for notifications to come through without having firstly opened the application then going to home-screen with it still open?
Click to expand...
Click to collapse
You'd have to try that out for yourself because I never had any issues with notifications coming through and I use third party software (Nils) for lockscreen notification.
What I described is a method that prevents a Huawei "power save" service called power genie killing background processes. No guarantees though, I had issues with gmd gesture control not working after a few minutes and I had to constantly open the app to make it work again. Then I froze power genie and since then it worked 100%.
So it's just my theory that it might stop other apps/processes from being closed as well.
I still dont get notifications coming through via the official gmail app, i might trying that power genie freeze, since any app thats not Huawei wont come through as a notification and thats when I give the app full access.'
I'm not sure if this is worth a try, but there's an option to 'ignore optimisations' on a per-app basis.
In settings > Apps > Advanced > Ignore optimisations > All apps
I've instructed to ignore optimisations for Dash, an app with a background service that launches the app upon connection to my car's Bluetooth OBD. I'll feed back if this has any impact, as I've noticed it doesn't auto-start the app on the Huawei P9 as it used to on my Nexus 5, despite 'protecting' the app in the battery manager.
Milamber said:
I still dont get notifications coming through via the official gmail app, i might trying that power genie freeze, since any app thats not Huawei wont come through as a notification and thats when I give the app full access.'
Click to expand...
Click to collapse
If it's just Gmail, try deleting cache and data for the Gmail app and reboot first. My wife had the same issue just with the Gmail app a few days ago (on a galaxy s3 though).
Same issue with Instagram so I guess it's not only gmail

Push notifications still not working for some apps

Hi all.
I am sure this question has been asked again and again.
But I am having troubles with push notifications working for some apps
I.e. Pushbullet, kaokaotalk
They don't work unless i open the app.
WhatsApp and Facebook seem to be working fine.
Anyone have an absolute fix?
Sent from my NEXT using XDA-Developers mobile app
Even gmail and Google inbox don't work.
They have been setup as protected apps etc already
Sent from my NEXT using XDA-Developers mobile app
Try adding them to the memory whitelist.
Phone manager>system optimization (paintbrush)>settings (gear top right)>memory cleanup whitelist
My understanding is apps in this list will not clear the memory when you "kill" the app. I could be wrong. Please respond to this post if this fixes your problem or not.
Two important settings, under Battery (protected) and under "Apps" (ignore optimization). Also try to put CPU to performance
jibbbyy said:
Try adding them to the memory whitelist.
Phone manager>system optimization (paintbrush)>settings (gear top right)>memory cleanup whitelist
My understanding is apps in this list will not clear the memory when you "kill" the app. I could be wrong. Please respond to this post if this fixes your problem or not.
Click to expand...
Click to collapse
Already had it on whitelist. Frustrating. Thanks though
Sent from my NEXT using XDA-Developers mobile app
plzextendcookietime said:
Two important settings, under Battery (protected) and under "Apps" (ignore optimization). Also try to put CPU to performance
Click to expand...
Click to collapse
Still no luck with inbox by Google and kaokaotalk. Urgh
Sent from my NEXT using XDA-Developers mobile app
Solve -> Problem with Pushover notification on lockscreen
my notification did not show on notification and lock screen.
1. Phone manager>system optimization (paintbrush)>settings (gear top right)>memory cleanup whitelist
2. Setting>advanced settings>Battery manager>Power plan> Smart or Performance>
3. Setting>advanced settings>Battery manager>Protected apps> Turn on for Whatsapp and Pushover
4. Clean Master < I think this is the culprit causing problem > Ensure Tools>Notification Cleaner is disable. My was enabled. and it cause notification not to show on the Lock Screen.
streetsurfer said:
Already had it on whitelist. Frustrating. Thanks though
Sent from my NEXT using XDA-Developers mobile app
Click to expand...
Click to collapse
I have a note 8, but emui 4.1 is pretty standard across the line. Having the exact same issue. Have tried the PNF, whitelisted google play and whatsapp in the memory whitelist, protected apps, ignore battery optimizations etc.
I can repeat the error. So it seems that it ignores the whitelist like you suspected.
Steps. Clear all apps.
Open quicksync manually sync accounts that i want to show up.
Notifications appear.
Go to app task manager view with the square button, kill app.
Send message. No dice.
Have even tried using the PNF heartbeat fix, but to no effect.
Now i have one odd issue. When i received the device, google play services was already installed, but some how it was in the system folder despite the phone being locked. Not sure if that is an issue, since if anything i would suspect that would be helpful instead of harmful, but i have no way of removing it to test since bootloader is locked , and the play services is persistent over a factory reset.
Anyways, any other solutions i have not thought of would be helpful, huawei makes such nice devices, but if you get stuck on a chinese rom, it can be a nightmare for some.. went through the same headache with mate 7 but managed to solve its notifications issues.
Go to Settings-->Accounts-->Tap on the Menu button at the bottom-->Check[?] Auto-sync data
Sent from my Huawei P8 using XDA Labs
erayrafet said:
Go to Settings-->Accounts-->Tap on the Menu button at the bottom-->Check[?] Auto-sync data
Sent from my Huawei P8 using XDA Labs
Click to expand...
Click to collapse
Yes I have tried that. For now I think i will just add my chat clients and aquamail to the locked status on the task manager and keep them open... I have tried all iterations of power saving, etc.. so I think it may just be the build unfortuneately. Hopefully EMUI 5.0 will be a bit less invasive, as they said they are going back to a more stock android vibe to compete in international markets.
Hello, I am in the exact same situation. Did you get some luck?
I updated mine to emui5, but nothing changed.
Do you have a AL10 chinese version? I am thinking that this might be the point.
Thank you.

apps not starting when switching on the phone

Hi,
Since I uninstalled both Greenify and hibernator some apps are not starting anymore when I switch on the phone. (podcast republic, Gmail and Three in touch. There might be others that are playing up but haven't noticed that.) Three in touch and podcast republic are set to start automatically and Gmail I think always have always done this. Any idea what is going on and what to do to make them work properly.
Running OOS 5.0.4 and not rooted
Eggstones said:
Hi,
Since I uninstalled both Greenify and hibernator some apps are not starting anymore when I switch on the phone. (podcast republic, Gmail and Three in touch. There might be others that are playing up but haven't noticed that.) Three in touch and podcast republic are set to start automatically and Gmail I think always have always done this. Any idea what is going on and what to do to make them work properly.
Running OOS 5.0.4 and not rooted
Click to expand...
Click to collapse
I will suggest
1.Try booting the phone in safe mode and then check
2.For the required app goto app info > battery >turn on background activity (if not) AND also you can try turning off the battery optimisation setting for the specific app
3.Install SD MAID ( sideload the pro version from net) and in the app control section try turning on individual boot up settings for the specific apps <<<I THINK IT REQUIRES ROOT>>>
4.Atlast you can try reinstalling those apps
:good:
Thanks
Tried option one but didn't seem to have an impact
Option two, I can't see an option to turn on or off background activity for Gmail or podcast republic. Switching off battery optimization for three in touch seems to have sorted that problem but not for podcast republic. Gmail doesn't seem to have this option.
Option 3 haven't tried
Option 4 I might try tomorrow.
Thanks for the tips. At least one problem is solved now.
PreciousPulkit said:
I will suggest
1.Try booting the phone in safe mode and then check
2.For the required app goto app info > battery >turn on background activity (if not) AND also you can try turning off the battery optimisation setting for the specific app
3.Install SD MAID ( sideload the pro version from net) and in the app control section try turning on individual boot up settings for the specific apps <<<I THINK IT REQUIRES ROOT>>>
4.Atlast you can try reinstalling those apps
:good:
Click to expand...
Click to collapse
So nice of u that u r suggesting to other members to install cracked apk.
Sent from my ONEPLUS A3003 using Tapatalk

[OOS] Android kills background playback on screen off after some minutes

Hello, folks.
I have a problem that after a few minutes with the screen turned off Android will kill the background of apps like Castbox or Youtube Vanced. If the background is active and I need other apps, it works fine. Only after a few minutes with a black screen, it is aborted and the app gets closed. The music app works.
Could it have something to do with the Ram-Management (using stock-values)?
If I deactivate Doze for the problematic apps, the problem persists even if I uninstall all doze apps.
Logs from youtube are attached if someone can read them.
Currently, I am using OOS 5.0.5, but I already had the problem with DU (Oreo 8.1).
Latest Magisk installed, no xposed or things like that
phoberus said:
Hello, folks.
I have a problem that after a few minutes with the screen turned off Android will kill the background of apps like Castbox or Youtube Vanced. If the background is active and I need other apps, it works fine. Only after a few minutes with a black screen, it is aborted and the app gets closed. The music app works.
Could it have something to do with the Ram-Management (using stock-values)?
If I deactivate Doze for the problematic apps, the problem persists even if I uninstall all doze apps.
Logs from youtube are attached if someone can read them.
Currently, I am using OOS 5.0.5, but I already had the problem with DU (Oreo 8.1).
Latest Magisk installed, no xposed or things like that
Click to expand...
Click to collapse
Try this, go to Settings -> Battery -> Battery Optimisation -> click the three dot menu on top right -> disable Advanced optimisation and reboot.
see if this works
Siddk007 said:
Try this, go to Settings -> Battery -> Battery Optimisation -> click the three dot menu on top right -> disable Advanced optimisation and reboot.
see if this works
Click to expand...
Click to collapse
I have this already disabled
phoberus said:
I have this already disabled
Click to expand...
Click to collapse
wierd, even i'm using Youtube Vanced and i have no issues you are experiencing on OOS 5.0.5
Sent from my OnePlus3T using XDA Labs
Siddk007 said:
wierd, even i'm using Youtube Vanced and i have no issues you are experiencing on OOS 5.0.5
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
Do you use any tweaking app or magisk module?
phoberus said:
Do you use any tweaking app or magisk module?
Click to expand...
Click to collapse
none, fully stock rom with franco kernel and magisk for root
Sent from my OnePlus3T using XDA Labs
Siddk007 said:
none, fully stock rom with franco kernel and magisk for root
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
strange, what are your LMK values?
phoberus said:
strange, what are your LMK values?
Click to expand...
Click to collapse
i have disabled it
Sent from my OnePlus3T using XDA Labs
Siddk007 said:
i have disabled it
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
How is it possible to turn LMK off? I can only disable adaptive low memory killer
Press the Recent Apps hardbutton and then press the lock icon on the top right of the app. It should remain active in RAM

Youtube Vanced crashing on background playback

Hi everyone,
For several months I have a problem with my phone that didn't exist when I first got it.
When I play a video in the YouTube Vanced app or if I play it in picture in picture mode, everything works flawlessly. However when I lock my screen and "listen" to the video, the app crashes after a few minutes. It's really annoying and I cannot trace back what changed to guess what the cause might be. I don't have a lot of apps installed and didn't mess around with my phone in any other way.
Does anyone have a suggestion for me?
Thanks =)
OdlG26 said:
Hi everyone,
For several months I have a problem with my phone that didn't exist when I first got it.
When I play a video in the YouTube Vanced app or if I play it in picture in picture mode, everything works flawlessly. However when I lock my screen and "listen" to the video, the app crashes after a few minutes. It's really annoying and I cannot trace back what changed to guess what the cause might be. I don't have a lot of apps installed and didn't mess around with my phone in any other way.
Does anyone have a suggestion for me?
Thanks =)
Click to expand...
Click to collapse
Hi m8,
In order to get ALL time YouTube Vanced working in background, do this steps:
1. Go to Settings/Battery/App launch and give permission to run in background - set to Managed manually with Auto-launch, Secondary launch and Run in background;
2. Go to Settings/Apps/Apps/3 dots upper right corner select Special Acces/Ignore battery optimisation/select All apps/YouTube Vanced set it to NOT Allow and hit OK.
If you still encounter problems, try by removing "PowerGenie" in ADB, with following command pm uninstall --user 0 com.huawei.powergenie
Sent from my HUAWEI VOG-L29 using XDA Labs
Thank you for your quick help <3
I followed the instructions and will report back asap
Thank you for your quick help <3
I followed the instructions and will report back asap
OdlG26 said:
Thank you for your quick help <3
I followed the instructions and will report back asap
Click to expand...
Click to collapse
OK, let me know if it worked ?. That's how it's set up on my device.
Sent from my HUAWEI VOG-L29 using XDA Labs
It did not crash after about 25 min so it seems to work. Thank you so much!
OdlG26 said:
It did not crash after about 25 min so it seems to work. Thank you so much!
Click to expand...
Click to collapse
Glad i could help you, m8 ?. Don't hesitate to ask for help if you need some in time.
Stay safe ?, be healthy?
Sent from my HUAWEI VOG-L29 using XDA Labs
Hey there, I've got an update. When I'm using my phone and YouTube Vanced is running in the background (not picture in picture), the app doesn't seem to crash. However when I lock my screen, the app crashes again. Although I have the impression that I now get a few more minutes when locking my screen. I will try the adb command next.
Hi, I think I've found the solution, it was kind of inspired by the first solution.
Go to Settings > Apps > Apps > Vanced MicroG > Power usage details > App launch > Disable Manage Automatically (Leave the other 3 settings untouched) > Press Ok and Enjoy!
I am using the latest version of Youtube Vanced on my P40 Pro and have no issues so far. If I had to guess, it could be the power optimization by the Huawei OS that shuts down MicroG services in order to save on power, and that prevents Youtube Vanced from running. My Youtube Vanced settings are on its automatic default power settings btw, so the only power settings that needs to be changed is relating to the MicroG services.
Hope this helps!
dont forget the MICROG, put it also in permission to run in the background all the time
Thanks, I had the same problem. Cheers for helping me out fixing it.
Hi there, stumbled across this thread while finding a solution to my problem. It's not exactly the same, but it's along the same lines. The Vanced MicroG app keeps crashing all the time, even though Youtube Vanced is working perfectly fine. Tried different versions of both apps but the problem persists. Andriod version is older, Android 6 to be exact, as it is a carrier-locked device, so can't update it. LEt me know if you have any solution. Thank you in advance.

Categories

Resources