OxygenOS/Adroid Pie keeps autokilling or refreshing background apps - OnePlus 6 Questions & Answers

So ive been having this issue recently where the phone will turn off apps that i want to run in the background and i cant figure out a way to fix it. The biggest issue is with AdGuard. When im using it, the phone will randomly kill the background process and the vpn will turn off allowing all the adds to come pouring in. I've mentioned this issue on the oneplus forums and nobody there seems to know how to fix it. I'm considering moving to a custom rom once i find one that works well with my needs but first i want to make sure this isnt something that i can fix on the stock rom since i dont really need all the custom settings that come with custom roms. Im running the latest stable 9.0 pie/OOS.
Thanks for any help in advance

When you open the recent app tab press on the 3 dots right above the app. The press lock. That worked for me

did you set it to not optimize in battery settings?

under battery optimization. disable advanced optimization.

MrSteelX said:
under battery optimization. disable advanced optimization.
Click to expand...
Click to collapse
ive disabled all battery optimization options including adaptive battery.
whizeguy said:
did you set it to not optimize in battery settings?
Click to expand...
Click to collapse
yes ive gone into the specific adguard app and disabled battery optimization in that app
noppoer2 said:
When you open the recent app tab press on the 3 dots right above the app. The press lock. That worked for me
Click to expand...
Click to collapse
Ive enabled the lock and it still clears it and i have to reopen the app and re-enable the lock
Ive also set background process limit to be unlimited in the developer options. I cant think of anything else to do except maybe install adguard as a system app???? I've seen that this problem occured with the OP5 as well and people modified build.prop to increase the process limit, i've since found out that the option thats in the build.prop file is gone in the OP6 so i cant do that either. This is driving me crazy and i dont even know if its related to the os or the kernel.

Related

Possible Solution For Notifications

I think that the notifications that don't appear when screen off is caused by the restricted background data that lenovo has pre-checked. Just untick the option ​shown in the picture to allow background data for the application you want. Tell me if this will work for you
chtsarts said:
I think that the notifications that don't appear when screen off is caused by the restricted background data that lenovo has pre-checked. Just untick the option ​shown in the picture to allow background data for the application you want. Tell me if this will work for you
Click to expand...
Click to collapse
Doesn't seem to work for me for Messenger. Still only receive notifications when i open the app. :crying:
benneb2 said:
Doesn't seem to work for me for Messenger. Still only receive notifications when i open the app. :crying:
Click to expand...
Click to collapse
Also turn off battery optimization for this app.
Settings->power management->battery optimization and then choose all apps instead of not optimized, find the app you want and disable battery optimization
chtsarts said:
Also turn off battery optimization for this app.
Settings->power management->battery optimization and then choose all apps instead of not optimized, find the app you want and disable battery optimization
Click to expand...
Click to collapse
I have done this also :crying:. Upon re-opening Messenger while on data, it shows 'Waiting for Network' then 'Connected' and all the notifications come through. Ive also tried disabling Doze to no avail. Notifications work fine when on Wifi so not sure what the problem is, looks like a software design problem made by Lenovo. I might try Lineage in the future.
I find that when I return home and phone gets WiFi while pulling in drive I suddenly get Gmail notifications so seems mine is same.
The only way to fix notifications I've found that actually works is to disable doze via adb shell.
Sadly this fix needs to be reapplied every time you restart the phone making it a bandaid for a gunshot wound.
It feels like the OnePlus 3 all over again...
Install this app...
This app should work very well...
https://play.google.com/store/apps/details?id=de.geroo.disabledoze
Try this.
chtsarts said:
I think that the notifications that don't appear when screen off is caused by the restricted background data that lenovo has pre-checked. Just untick the option ​shown in the picture to allow background data for the application you want. Tell me if this will work for you
Click to expand...
Click to collapse
You have to close the lock, see image in the link below.
http://imgur.com/Gc4IBIj

GMAIL: Any way to remove the delay in checking/alerting of new emails?

Several years ago Gmail alerted me on my phone immediately when an email came in - these days it can take as much as 10 minutes using the Gmail app to alert me of a new mail because of power saving functions. Those minutes can end up costing me money - a lot of it!
BTW, it doesn't matter if I am on wifi or my carrier's network.
I've tried googling this but am finding nothing but old articles from years ago that no longer apply.
Does anyone know a definite 100% sure-fire way to get the immediate notifications back?
JWhipple said:
Several years ago Gmail alerted me on my phone immediately when an email came in - these days it can take as much as 10 minutes using the Gmail app to alert me of a new mail because of power saving functions. Those minutes can end up costing me money - a lot of it!
BTW, it doesn't matter if I am on wifi or my carrier's network.
I've tried googling this but am finding nothing but old articles from years ago that no longer apply.
Does anyone know a definite 100% sure-fire way to get the immediate notifications back?
Click to expand...
Click to collapse
Have you turned off battery optimisation for gmail? Something i find works well is pinning the apk in the recently opened apk menu.
Also try going into battery, battery optimisation, advanced optimisation and making sure the sleep standby is off
hallo dare said:
Have you turned off battery optimisation for gmail? Something i find works well is pinning the apk in the recently opened apk menu.
Also try going into battery, battery optimisation, advanced optimisation and making sure the sleep standby is off
Click to expand...
Click to collapse
I don't even see Gmail in the list of apps for battery optimization - simply isn't there!
Sleep standby IS off.
JWhipple said:
I don't even see Gmail in the list of apps for battery optimization - simply isn't there!
Sleep standby IS off.
Click to expand...
Click to collapse
You're right, it's not there. Have you tried pinning it?
See - no Gmail to be found...
hallo dare said:
You're right, it's not there. Have you tried pinning it?
Click to expand...
Click to collapse
I'm using a different launcher, but will switch back to default and try that now.
hallo dare said:
You're right, it's not there. Have you tried pinning it?
Click to expand...
Click to collapse
Ok I'm not even seeing where that can be done.
JWhipple said:
Ok I'm not even seeing where that can be done.
Click to expand...
Click to collapse
I have the same Problem with my OnePlus 7 T Pro, I tried the same but without any result.
For whatever reason OnePlus decided to load Gmail as a System App. I was able to uninstall it, and reinstall it from the Play Store and it STILL installs as a system app...thus...no way to adjust battery optimization.
To lock it in memory you need to open the app, then act like you want to go back an app...you know drag it up to the middle of the screen where you can scroll left and right through recent apps. When Gmail is on the screen tap the three dots in the upper right and choose "lock". This is supposed to keep it in memory so that the OS doesn't remove it from RAM and "maybe" your notifications will come in as soon as a new email arrives. YMMV
There is a Magisk package that disabled any kind of optimization for Gmail. However, while it made Gmail display "Disabled" if I checked the app, now I cannot even see that setting anymore.
But yes even previous OxygenOS versions have suffered from the very same issue. People been asking for a fix for years. Only permanent fix is to reinstall Gmail as user app or use a custom rom.
Ps.: Look for "OxygenOS" within magisk to find the module. Back then you coulf also use an app like Nova to go into the Battery Optimization list, and disable the optimization. That also worked, needed no root. But it was reset after each reboot. So one time you forgot? Boom.
I bought my Oneplus 7t Pro yesterday and had this push problem with Gmail. But I also had problems with microsoft authenticator and Google Duo. Yesterday evening I did a full wipe (Hard Reset) and now gmail works properly and also the other apps.

Alarm App Killed

How do we prevent Samsung from killing alarm clock apps? Mine didn't go off today. I had specifically whitelisted it so that it couldn't be put to sleep. What else should I do? Any ideas? It's really frustrating... Samsung is so aggressive with that sometimes.
PsiPhiDan said:
How do we prevent Samsung from killing alarm clock apps? Mine didn't go off today. I had specifically whitelisted it so that it couldn't be put to sleep. What else should I do? Any ideas? It's really frustrating... Samsung is so aggressive with that sometimes.
Click to expand...
Click to collapse
Uncheck Put unused apps to sleep under Device Care -> Battery -> App power management
ram4ufriends said:
Uncheck Put unused apps to sleep under Device Care -> Battery -> App power management
Click to expand...
Click to collapse
I'll try that. I also FINALLY found a way to choose specific apps to NOT "optimize". It used to be way easier to find. I can't even remember how I found it now, haha. It was buried somewhere.
PsiPhiDan said:
I'll try that. I also FINALLY found a way to choose specific apps to NOT "optimize". It used to be way easier to find. I can't even remember how I found it now, haha. It was buried somewhere.
Click to expand...
Click to collapse
Not optimizing a app still doesn't stop it from being killed..You have select Not sleeping apps or select option to not sleep apps after 3 days of non use
ram4ufriends said:
Not optimizing a app still doesn't stop it from being killed..You have select Not sleeping apps or select option to not sleep apps after 3 days of non use
Click to expand...
Click to collapse
Really? Once I chose to not optimize it, it removed it from the list of apps that I had manually chosen to "never sleep" so I figured it just excluded that possibility entirely. That's... Weird!

Question Delayed notification on text messages

Sometimes I don't get a notification of an incoming text message until several minutes after it was sent. I'm totally stock and I have disabled adaptive battery and I gave unrestricted battery usage to the messages app. Anyone else having this problem or know how to fix it?
Do u maybe have doze/aggressive doze options in any apps u have? Maybe wifi/mobile connection disabled at screen off/lock option somewhere? Anything like that in general? Provider/connectivity issues recently? Poor signal issues at all? R u rooted running stock or non-rooted? Is it just recently? Installed any 'new' appz at all? Lotsa possibilities...gotta go thru and try n tick 'em off one at a time...a bit of detective work should give u a suspect...hopefully.
Zaxx32 said:
Do u maybe have doze/aggressive doze options in any apps u have? Maybe wifi/mobile connection disabled at screen off/lock option somewhere? Anything like that in general? Provider/connectivity issues recently? Poor signal issues at all? R u rooted running stock or non-rooted? Is it just recently? Installed any 'new' appz at all? Lotsa possibilities...gotta go thru and try n tick 'em off one at a time...a bit of detective work should give u a suspect...hopefully.
Click to expand...
Click to collapse
As I said, the phone is totally stock. The wifi and mobile is on. I think the signal strength is fine and I don't think it is a provider issue. I don't understand what you mean about the doze option in apps. I've never heard of that - what kind of app would have those options? I think it has happened since I've had the phone, but it is hard to say since it only happens sometimes and it took me a while to notice it as a pattern. I don't get a lot of texts typically and if I get a text, I don't always notice that it has been delayed. I think that it might happen most with the first text I get in a day.
'Doze' is a low power mode that android goes into after a few hrs. with no activity or screen wakeup. But if ur not rooted then I think it requires ADB to allow perms...if u did, you'd know it...lol
If there's no 'suspect' apps installed then the next step of uninstalling 1 app at a time until there no more occurrences may not be feasible. Only other option I can think of sux...a factory reset with wipe then add ur apps one at a time etc...
Zaxx32 said:
'Doze' is a low power mode that android goes into after a few hrs. with no activity or screen wakeup. But if ur not rooted then I think it requires ADB to allow perms...if u did, you'd know it...lol
If there's no 'suspect' apps installed then the next step of uninstalling 1 app at a time until there no more occurrences may not be feasible. Only other option I can think of sux...a factory reset with wipe then add ur apps one at a time etc...
Click to expand...
Click to collapse
Thanks. I can't think of why an app would be able to affect this problem and I don't want to go through that amount of work, so I'm going to live with it and wait and see.
I'm having this issue as well. I'm in Mexico on a Mexican sim. Texts taking a long time to come through

Question Miui Optimization bug

So I turned off Miui Optimization because I wanted the always on display to always been on (apparently if you disabled Miui Optimization, it wouldn't turn off after 10 seconds). It worked, but I lost some things like the haptic vibration or the Gaussian blur of the interface. I need help, I enabled Miui Optimization again but it didn't fix it (I restarted my cellphone more than 5 times). I don't know what to do and I'm not able to find a solution.
Disable battery saver then restart the phone
Michael P. said:
Disable battery saver then restart the phone
Click to expand...
Click to collapse
Y completely did. Trust me, I did everything; I also check for similar bugs on YouTube and it didn't work. Suddenly I just woke up and it started working again... I'm not understanding, but we'll. Anyways, thanks!
Karlosx2Z said:
So I turned off Miui Optimization because I wanted the always on display to always been on (apparently if you disabled Miui Optimization, it wouldn't turn off after 10 seconds). It worked, but I lost some things like the haptic vibration or the Gaussian blur of the interface. I need help, I enabled Miui Optimization again but it didn't fix it (I restarted my cellphone more than 5 times). I don't know what to do and I'm not able to find a solution.
Click to expand...
Click to collapse
Did you able to find the solution for this issue? I got this issue two times and everytime I had to reset. Funny thing is that there was also a dark mode glitch as well. Although, everything gets normal while charging the phone... Seriously, MIUI is annoying as hell.
Darkstaranku said:
Did you able to find the solution for this issue? I got this issue two times and everytime I had to reset. Funny thing is that there was also a dark mode glitch as well. Although, everything gets normal while charging the phone... Seriously, MIUI is annoying as hell.
Click to expand...
Click to collapse
Yeah, I was able to find a solution for it. I suffered the same thing you have, phone was back to normal when I plugged the cable to charge it. I installed an app called "Hidden Settings (if you search it on the play store as "Hidden Settings Miui" it'll appear on there). Open the app and go to "hidden" at the bottom of the interface, then search for the battery options and its gonna be one of those 4 options.
In my case, the problem was with the second battery option. It was enabled and I had to disable it, then it started working like nothing happened.
I hope you can fix it, if you need help just answer this saying it.
Karlosx2Z said:
Yeah, I was able to find a solution for it. I suffered the same thing you have, phone was back to normal when I plugged the cable to charge it. I installed an app called "Hidden Settings (if you search it on the play store as "Hidden Settings Miui" it'll appear on there). Open the app and go to "hidden" at the bottom of the interface, then search for the battery options and its gonna be one of those 4 options.
In my case, the problem was with the second battery option. It was enabled and I had to disable it, then it started working like nothing happened.
I hope you can fix it, if you need help just answer this saying it.
Click to expand...
Click to collapse
Thank you so much for replying and your help buddy. I had to reset everytime because of that bug and eventually decided not to turn off MIUI optimizations. BTW Did it work while MIUI optimization was off?
Darkstaranku said:
Thank you so much for replying and your help buddy. I had to reset everytime because of that bug and eventually decided not to turn off MIUI optimizations. BTW Did it work while MIUI optimization was off?
Click to expand...
Click to collapse
tbh I didn't try it with the Miui optimization off, but I think that if you disable the battery optimizations I told you before; it should work fine even with Miui optimization turned off. You can try it, you do know how to fix those "bugs" if they happen again so you'll not lose anything.

Categories

Resources