[GUIDE] Fix WiFi delayed notifications - OnePlus 5 Guides, News, & Discussion

After testing and testing, I finally fixed my delayed notifications problems and disconnection problem with apps like webwhatsapp and airdroid
I hope this can help others that have the same problem that I had. I hope this work for everyone.
Steps:
Disable Advanced Battery Optimization: Deep and Sleep
Disable Adaptive Battery
Disable optimize battery for the apps(maybe this isnt needed since I am getting notifications on time from apps that have this enabled)
Run this command via ADB or Android Emulador(this is disabledwhen you restart the phone so you need to run again):
dumpsys deviceidle disable
This is tricky, you may need to root your phone for it. You have to edit the build.prop this is located inside the system folder
Find this 2 lines
ro.vendor.qti.sys.fw.bservice_limit=5 - > I changed it to 120
ro.vendor.qti.sys.fw.bservice_age=5000 -> I changed to 10000
Lock your apps you want to receive notifications(maybe you don't need this)
But go to overview mode, click the 3 dots above the app and choose Lock
I locked my google play service too, just in case
Go to dial, and dial *#*#426#*#* this will open the GCM service(google play service) this is the guy that handles notifications.
After it is open, go to overview, 3 dots and lock it.
Now I have notifications in time, and my webwhatsapp or airdroid never lose the connection because the phone went to sleep mode.
For battery, I must say I did not noticed it got worst in FACT I think it got better, since now I can play(ragnarok eternal) for more time than I was playing before.

archraziel said:
After testing and testing, I finally fixed my delayed notifications problems and disconnection problem with apps like webwhatsapp and airdroid
Click to expand...
Click to collapse
I own Oneplus 5, and have similar problem but my notifications does not work at all, until I wake up the device, no matter what.
Have all sleep options OFF, it doesn't help. But I heavily use Goole Pay, so I don't wan't to loose SafetyNet cert.
How can I do this change permanent? I think OnePlus never confessed that they screwed this notifications things up. And I have 8GB of RAM, and they are killing each app...

twinsen.net said:
I own Oneplus 5, and have similar problem but my notifications does not work at all, until I wake up the device, no matter what.
Have all sleep options OFF, it doesn't help. But I heavily use Goole Pay, so I don't wan't to loose SafetyNet cert.
How can I do this change permanent? I think OnePlus never confessed that they screwed this notifications things up. And I have 8GB of RAM, and they are killing each app...
Click to expand...
Click to collapse
Did you try using this app: https://play.google.com/store/apps/details?id=io.github.mobodev.heartbeatfixerforgcm&hl=en
If even that does not work, I am sorry but you will have to root to fix it. I think you can have root and SafetyNet cert, have a look around, it might be possible.

Related

Disable bluetooth MAP?

My X is paired to my 2013 F-150 via SYNC and it automatically adds the voice, media and message features upon connecting. However, every time I get a text, SYNC stops everything to tell me I have a new text message, and it's annoying. You can turn MAP off temporarily by manually disabling it while the phone is paired, but once it re-pairs with SYNC, it automatically activates MAP again. I do use the voice and media though.
My question is this... is there any way to permanently disable the MAP feature on the X? I don't use it and never will. I always check my phone when a new message arrives or wait until I'm at a stop. I just want to be able to be able to remove the MAP feature.
triton302 said:
My X is paired to my 2013 F-150 via SYNC and it automatically adds the voice, media and message features upon connecting. However, every time I get a text, SYNC stops everything to tell me I have a new text message, and it's annoying. You can turn MAP off temporarily by manually disabling it while the phone is paired, but once it re-pairs with SYNC, it automatically activates MAP again. I do use the voice and media though.
My question is this... is there any way to permanently disable the MAP feature on the X? I don't use it and never will. I always check my phone when a new message arrives or wait until I'm at a stop. I just want to be able to be able to remove the MAP feature.
Click to expand...
Click to collapse
You can probably unpair (from both the phone and sync) and then repair and when you repair just deny the MAP access request.
Also, you should be able to turn off new message download in Sync
triton302 said:
My X is paired to my 2013 F-150 via SYNC and it automatically adds the voice, media and message features upon connecting. However, every time I get a text, SYNC stops everything to tell me I have a new text message, and it's annoying. You can turn MAP off temporarily by manually disabling it while the phone is paired, but once it re-pairs with SYNC, it automatically activates MAP again. I do use the voice and media though.
My question is this... is there any way to permanently disable the MAP feature on the X? I don't use it and never will. I always check my phone when a new message arrives or wait until I'm at a stop. I just want to be able to be able to remove the MAP feature.
Click to expand...
Click to collapse
Did you ever find a solution for this? I just got a '14 Raptor and it does the same damned thing. I've deleted the phone pairing and repaired and deny access when repairing but it still automatically connects to all 3 protocols when I get in the truck. My phone is actually an LG G3 but it seems to be an android problem and not a specific phone problem.
boosting1bar said:
Did you ever find a solution for this? I just got a '14 Raptor and it does the same damned thing. I've deleted the phone pairing and repaired and deny access when repairing but it still automatically connects to all 3 protocols when I get in the truck. My phone is actually an LG G3 but it seems to be an android problem and not a specific phone problem.
Click to expand...
Click to collapse
Nope. I also got a '14 Focus ST and the bluetooth "feature" is even worse on it. Since I have the full touchscreen, it will now display the notification that I have a text, and who it's from. Again, you can temporarily disable it on the phone but not permanently.
triton302 said:
Nope. I also got a '14 Focus ST and the bluetooth "feature" is even worse on it. Since I have the full touchscreen, it will now display the notification that I have a text, and who it's from. Again, you can temporarily disable it on the phone but not permanently.
Click to expand...
Click to collapse
Yeah that's exactly what I'm getting in my 14 Raptor. Terrible, I guess I have to disable it every time I get in the car now.
triton302 said:
Nope. I also got a '14 Focus ST and the bluetooth "feature" is even worse on it. Since I have the full touchscreen, it will now display the notification that I have a text, and who it's from. Again, you can temporarily disable it on the phone but not permanently.
Click to expand...
Click to collapse
Do you guys have root? if so maybe you can try something. but keep in mind I have not tried this myself and also I could be completely wrong.
Anyway, I noticed in my moto x build.prop file (that sets the phone settings on boot) that one of the lines seems to disable Bluetooth SAP on boot. The line is
ro.qualcomm.bluetooth.sap = false
if that can turn off SAP maybe
ro.qualcomm.bluetooth.map = false
can turn off MAP on boot.
Keep in mind editing build.prop the wrong way can give you boot up problems. Backup the file, and also keep track of and set the appropriate permissions for the file.
In fact, it's probably better before editing build.prop to try the setting on the fly. In a terminal emulator with SU enabled try the line
setprop ro.qualcomm.bluetooth.map false
then check that with getprop and with your car.
this is safer if you have any problems you can just reboot. if it works you can proceed to build.prop
dtg7 said:
Do you guys have root? if so maybe you can try something. but keep in mind I have not tried this myself and also I could be completely wrong.
Anyway, I noticed in my moto x build.prop file (that sets the phone settings on boot) that one of the lines seems to disable Bluetooth SAP on boot. The line is
ro.qualcomm.bluetooth.sap = false
if that can turn off SAP maybe
ro.qualcomm.bluetooth.map = false
can turn off MAP on boot.
Keep in mind editing build.prop the wrong way can give you boot up problems. Backup the file, and also keep track of and set the appropriate permissions for the file.
In fact, it's probably better before editing build.prop to try the setting on the fly. In a terminal emulator with SU enabled try the line
setprop ro.qualcomm.bluetooth.map false
then check that with getprop and with your car.
this is safer if you have any problems you can just reboot. if it works you can proceed to build.prop
Click to expand...
Click to collapse
Great idea, however I just tried it with no avail.
I just thought of something as well... my fiance has a '13 Focus SE with the base stereo, and she has the same model phone as me (VZW X Dev). Her SYNC doesn't alert her to new messages, but my truck with the same SYNC setup did, but I figured my truck had a more recent version of SYNC. I dunno, all I know is it's annoying as hell and I'd like to find a more permanent solution. Especially since I'm contemplating on buying the Droid Turbo in the future and I'm sure it will do the same thing.
triton302 said:
Great idea, however I just tried it with no avail.
Click to expand...
Click to collapse
That sucks... Just to clarify I assume you tried this with a terminal emulator. did you remember to give it root before running the setprop command? i.e. type su and enter. without root setprop will appear to go through but won't actually set anything. And if it's set properly, getprop ro.qualcomm.bluetooth.map should return false like it does for SAP. otherwise it will return empty.
Another thing that might or might not make a difference, was Bluetooth on when you tried this, if so try it with Bluetooth off.
As for the difference between the two SYNCs my guess is you're right the version difference could be affecting something. A quick Google search suggests some versions of SYNC have a setting for MAP. in SYNC menu check System Settings -> Advanced -> MAP Profile
dtg7 said:
That sucks... Just to clarify I assume you tried this with a terminal emulator. did you remember to give it root before running the setprop command? i.e. type su and enter. without root setprop will appear to go through but won't actually set anything. And if it's set properly, getprop ro.qualcomm.bluetooth.map should return false like it does for SAP. otherwise it will return empty.
Another thing that might or might not make a difference, was Bluetooth on when you tried this, if so try it with Bluetooth off.
As for the difference between the two SYNCs my guess is you're right the version difference could be affecting something. A quick Google search suggests some versions of SYNC have a setting for MAP. in SYNC menu check System Settings -> Advanced -> MAP Profile
Click to expand...
Click to collapse
The newer SYNC version doesn't have that MAP option, that was the first thing I found when googling as well. (and for the record I don't have a moto, I'm using an LG G3 and found this thread while searching for a solution). Unfortunately my build.prop doesn't have those lines in it. Not sure if I could just add the MAP entry or not, that's above my knowledge base
boosting1bar said:
The newer SYNC version doesn't have that MAP option, that was the first thing I found when googling as well. (and for the record I don't have a moto, I'm using an LG G3 and found this thread while searching for a solution). Unfortunately my build.prop doesn't have those lines in it. Not sure if I could just add the MAP entry or not, that's above my knowledge base
Click to expand...
Click to collapse
well without putting in commands manually I see two things you guys can try. the first doesn't need root while the second one does.
1) turn on Bluetooth on your phones, then go to Settings -> Apps -> Running -> Bluetooth Share then just Stop the Map service. This method will stick as long as you don't turn off Bluetooth and start it again, and as long as you don't restart the phone. if you do either you'll have to do the stopping again.
2) this requires that your phone be rooted, but on the plus side it might be more permanent. There's a nifty app in the play store made by some benevolent developer that claims to disable any service started by any app. appropriately enough the app is called Disable Service. You open the app, slide over to the System Apps section, find Bluetooth Share and click it, then just uncheck the Maps service box. So simple, but won't work without root. Try it with Bluetooth off and if that doesn't work reset it then try it with Bluetooth on. But word of caution you don't want to go messing around disabling other things unless you're sure of what you're doing. disabling the wrong thing will cause you problems.
https://play.google.com/store/apps/details?id=cn.wq.disableservice
good luck.
dtg7 said:
well without putting in commands manually I see two things you guys can try. the first doesn't need root while the second one does.
1) turn on Bluetooth on your phones, then go to Settings -> Apps -> Running -> Bluetooth Share then just Stop the Map service. This method will stick as long as you don't turn off Bluetooth and start it again, and as long as you don't restart the phone. if you do either you'll have to do the stopping again.
2) this requires that your phone be rooted, but on the plus side it might be more permanent. There's a nifty app in the play store made by some benevolent developer that claims to disable any service started by any app. appropriately enough the app is called Disable Service. You open the app, slide over to the System Apps section, find Bluetooth Share and click it, then just uncheck the Maps service box. So simple, but won't work without root. Try it with Bluetooth off and if that doesn't work reset it then try it with Bluetooth on. But word of caution you don't want to go messing around disabling other things unless you're sure of what you're doing. disabling the wrong thing will cause you problems.
good luck.
Click to expand...
Click to collapse
Thanks so much! Option 2 is exactly what I've been looking for! Option 1 doesn't work for me because I use Trigger and have conditional BT on/off and that would just recreate the same problem lol.
Just tried option 2... If any of those services are unchecked, Bluetooth itself turns off automatically and won't turn back on until that service is restored.
triton302 said:
Just tried option 2... If any of those services are unchecked, Bluetooth itself turns off automatically and won't turn back on until that service is restored.
Click to expand...
Click to collapse
Yep same here, tried it on my way home yesterday and the disable service app completely disables bluetooth if you disable MAP.
boosting1bar said:
Yep same here, tried it on my way home yesterday and the disable service app completely disables bluetooth if you disable MAP.
Click to expand...
Click to collapse
Wow no breaks...but not quite out of ideas yet. a few more to spitball, going from simple to more complex:
a) we've established there's no option to disable MAP from within SYNC under System Settings. What about under Phone Settings? Indications are there should be an option there to turn off Message Notification. If it's there set it to OFF. frankly I'd expect there to be such a setting somewhere in there.
b) reaching a bit here, but in Disable Service app I notice there's another system app that has Bluetooth service settings. the app's name is org.codeaurora.bluetooth (Apparently Code Aurora is the Qualcomm Linux kernel). No idea if this will work where the other failed but won't hurt to try. the service says BluetoothMasService but if you check the full name it is map (maybe service instead of profile).
c) this one brings out the big guns. not only do you need root, but you also need Xposed installed. if you already have Xposed then it would be quick to try. if not, just read up on it. anyway, with Xposed installed you need the AppOpsXposed module. when you have that up and running you open the App Ops screen of the Bluetooth Share app (a few ways to do that, doesn't matter how). in that screen you turn off all of Bluetooth Share's access to SMS. Basically you disable Bluetooth from interacting with Messaging. you revoke the permissions. Bluetooth will still work unaware that it can't access messages, and I figure if it can't access messages it damn well can't send them to the car.
There's another module that can do this more thoroughly, but App Ops is less scary/more user friendly.
that's it. personally I still prefer my original idea of figuring out how to do it manually thru setprop and build.prop, but if that's not an option then try these.
Roger, I'm off work today so I'll try these out here shortly.
EDIT: From what I recall, if you have a recent version of MFT, there are no options whatsoever for MAP, in phone or system settings. I'll double check.
EDITING EDIT: #2 doesn't work.
dtg7 said:
Wow no breaks...but not quite out of ideas yet. a few more to spitball, going from simple to more complex:
a) we've established there's no option to disable MAP from within SYNC under System Settings. What about under Phone Settings? Indications are there should be an option there to turn off Message Notification. If it's there set it to OFF. frankly I'd expect there to be such a setting somewhere in there.
b) reaching a bit here, but in Disable Service app I notice there's another system app that has Bluetooth service settings. the app's name is org.codeaurora.bluetooth (Apparently Code Aurora is the Qualcomm Linux kernel). No idea if this will work where the other failed but won't hurt to try. the service says BluetoothMasService but if you check the full name it is map (maybe service instead of protocol).
c) this one brings out the big guns. not only do you need root, but you also need Xposed installed. if you already have Xposed then it would be quick to try. if not, just read up on it. anyway, with Xposed installed you need the AppOpsXposed module. when you have that up and running you open the App Ops screen of the Bluetooth Share app (a few ways to do that, doesn't matter how). in that screen you turn off all of Bluetooth Share's access to SMS. Basically you disable Bluetooth from interacting with Messaging. you revoke the permissions. Bluetooth will still work unaware that it can't access messages, and I figure if it can't access messages it damn well can't send them to the car.
There's another module that can do this more thoroughly, but App Ops is less scary/more user friendly.
that's it. personally I still prefer my original idea of figuring out how to do it manually thru setprop and build.prop, but if that's not an option then try these.
Click to expand...
Click to collapse
I think we have a winner! #3 works perfectly.
I tested it with the phone unlocked and locked, rebooting the phone, toggling bluetooth on and off, turning the car on and off... seems to work every time. As long as you turn off just the SMS/MMS options, you can still have it send and receive calls and allow the device to remain unlocked while connected.
Ahhhh...... Success feels good...
Xposed is pretty amazing... It gives us a fighting chance lol.
if only they'd installed Xposed on Skynet things might have turned out differently...
dtg7 said:
c) this one brings out the big guns. not only do you need root, but you also need Xposed installed. if you already have Xposed then it would be quick to try. if not, just read up on it. anyway, with Xposed installed you need the AppOpsXposed module. when you have that up and running you open the App Ops screen of the Bluetooth Share app (a few ways to do that, doesn't matter how). in that screen you turn off all of Bluetooth Share's access to SMS. Basically you disable Bluetooth from interacting with Messaging. you revoke the permissions. Bluetooth will still work unaware that it can't access messages, and I figure if it can't access messages it damn well can't send them to the car.
There's another module that can do this more thoroughly, but App Ops is less scary/more user friendly.
Click to expand...
Click to collapse
Awesome, worked here as well!! I'd looked through xposed and didn't see any modules that would do what we were after, completely forgot about AppOps. Outstanding work and thanks so much for the help!
You're welcome!
boosting1bar said:
Awesome, worked here as well!! I'd looked through xposed and didn't see any modules that would do what we were after, completely forgot about AppOps. Outstanding work and thanks so much for the help!
Click to expand...
Click to collapse
How did you get this yo work? I am on a cm12 Rom also with the same issue.
Did all the above, but anytime I start the Bluetooth afterwards, it just reactivates the "Read / Write sms messages permission all over again nd im back to square 1.
Sorry to bump an old thread. But its still yhe same issue I am dealing with.

App that toggles GPS automatically

I recently decided to root my droid turbo since it seems like we are never going to get the lollipop update ?. Im already seeing improvements in battery life and performance by using various apps like clean master and battery doctor.
I was wondering if anyone knew of any apps that would know when I'm using a certain app and toggle certain setting when I am and off when I'm not. For example, if I pull up the maps app, I obviously need location on so as soon as I open it, it turns location on, and then when I'm done with the all, turns it back off.
Ive seen the "tasker" app on the Google play store that's like 2.99 and I didn't know if it would do that or not.
Thanks in advance!!
IIRC, Tasker does this. I think Llama (similar to Tasker) can also do it.
drexhex said:
IIRC, Tasker does this. I think Llama (similar to Tasker) can also do it.
Click to expand...
Click to collapse
Yes, Tasker does this with the addition of Secure Settings. You can set it so that whenever you open apps X, Y, Z, it will automatically toggle GPS.
I have this set up for Maps, Yelp, etc. When I exit the app, GPS is turned off after a 2 minute delay (it kept disabling GPS if I quickly switched to another app during navigation, so I set a longer delay than most tutorials suggested)
http://www.csullender.com/blog/2014/01/26/automatic-high-accuracy-android-location/
ds728 said:
Yes, Tasker does this with the addition of Secure Settings. You can set it so that whenever you open apps X, Y, Z, it will automatically toggle GPS.
I have this set up for Maps, Yelp, etc. When I exit the app, GPS is turned off after a 2 minute delay (it kept disabling GPS if I quickly switched to another app during navigation, so I set a longer delay than most tutorials suggested)
http://www.csullender.com/blog/2014/01/26/automatic-high-accuracy-android-location/
Click to expand...
Click to collapse
Thanks, I decided to buy tasker right after I posted that. Was gonna wait till I knew for sure that it would work but decided I wanted to try it anyway. Took me a little bit to figure it out but finally did.
I'm trying to figure out now how to use the scenes to make a pop up menu that will be there during navigation to allow me to start playing music and different navigation tasks so I can stay on the navigation app. I'm having a lot of trouble with it.

Can't keep apps running in the background

I know this is the Mi 8 forum, but I feel that the issue I have on my Mi 9 will be common across both phones, and thought I would post here too.
I've noticed that at least two apps will mysteriously stop working in the background, causing problems:
First, most important, I use my Google Voice number, not my SIM number, so I need Google Voice to be running so that it intercepts my calls and uses the right phone number to make calls. If I open Google Voice, it will work for a few hours, maybe a day, and then GV stops working and calls start going out through my SIM number.
The other app that exhibits this behavior is Garmin Connect -- my watch gives me notifications, but then, for no reason, it will stop working. Opening Garmin Connect solves the problem.
I have ensured all permissions are set as liberally as possible, even the "allow autostart" option. Not sure what else to do. Any ideas would be great. I actually didn't have the issue with my Mi 8, but I wonder if anyone has any knowledge on how this could happen on the Mi 9.
Thanks!
sshanky said:
I know this is the Mi 8 forum, but I feel that the issue I have on my Mi 9 will be common across both phones, and thought I would post here too.
I've noticed that at least two apps will mysteriously stop working in the background, causing problems:
First, most important, I use my Google Voice number, not my SIM number, so I need Google Voice to be running so that it intercepts my calls and uses the right phone number to make calls. If I open Google Voice, it will work for a few hours, maybe a day, and then GV stops working and calls start going out through my SIM number.
The other app that exhibits this behavior is Garmin Connect -- my watch gives me notifications, but then, for no reason, it will stop working. Opening Garmin Connect solves the problem.
I have ensured all permissions are set as liberally as possible, even the "allow autostart" option. Not sure what else to do. Any ideas would be great. I actually didn't have the issue with my Mi 8, but I wonder if anyone has any knowledge on how this could happen on the Mi 9.
Thanks!
Click to expand...
Click to collapse
MIUI itself is a bit heavy on RAM, for one, and it's always been a bit aggressive on RAM management. Another thing, have you disabled MIUI's power saving functionality for those apps? I believe it only affects background push data, but I may be wrong. To configure said apps, go to Settings > Battery & performance > Choose apps and then select the apps in question and set to No Restrictions. There used to be an option to completely disable it, but that has since been removed. Another thing is to enable Developer options by tapping the MIUI version several times in the About phone section of the Settings app, then go to Additional settings > Developer options and disable MIUI optimizations. Read the prompt that pops up as I recall it mentioning something about affecting certain services.
Crossvxm said:
MIUI itself is a bit heavy on RAM, for one, and it's always been a bit aggressive on RAM management. Another thing, have you disabled MIUI's power saving functionality for those apps? I believe it only affects background push data, but I may be wrong. To configure said apps, go to Settings > Battery & performance > Choose apps and then select the apps in question and set to No Restrictions. There used to be an option to completely disable it, but that has since been removed. Another thing is to enable Developer options by tapping the MIUI version several times in the About phone section of the Settings app, then go to Additional settings > Developer options and disable MIUI optimizations. Read the prompt that pops up as I recall it mentioning something about affecting certain services.
Click to expand...
Click to collapse
I have set the apps in question to No Restrictions, a long time ago, but that didn't help. Today, I tried another option -- Use Adaptive Battery (Limit battery for apps that you don't use often). I turned that OFF, and it appears I've been getting alerts on my Garmin watch all day. However, I made a call and Google Voice wasn't active. I was getting excited that I'd found a cure until that happened. I'll try your suggestion in developer options and report back if it works. Thanks for that idea.
No luck -- Google Voice is still stopping, even after just a few minutes. I can't make calls on my google voice number unless I first launch Voice, then go to the phone app.
sshanky said:
No luck -- Google Voice is still stopping, even after just a few minutes. I can't make calls on my google voice number unless I first launch Voice, then go to the phone app.
Click to expand...
Click to collapse
Yeah MIUI 10 + Android 9.0 are worse than previous versions of MIUI, but Google apps have issues on all devices that do not use stock or near stock Android. Have you attempted to lock the app in the task manager? Open your app, for example Google Voice, then using the task manager (App switcher), long press that app and tap the lock button. Try using the phone as you normally would and see if it helps.
@Crossvxm that's a good idea. I'll try and let you know how it goes.
sshanky said:
@Crossvxm that's a good idea. I'll try and let you know how it goes.
Click to expand...
Click to collapse
All you have to to do is turn off Battery restrictions.
Also, I would suggest giving the launcher "Smart Launcher: a try. Not only is it awesome but it gives you quick access to all of the permissions, and battery optimizations. You can manage all of this from the Apps list.. Press and hold on any icon and click namage ( or the gear then manage) this is much easier then searching through the system settings for autostart, permissions, battery management etc. This is one app that is worth buying. The free version is great, but the paid version is incomparable, and I own all of the popular launchers. Smart Launcher Pro 5 is absolutely the best, and highly customizable.
My biggest issue with all AOSP roms is that the battery goes up to 105F when charging on every single AOSP rom that I have tried on the Mi8. While there is no immediate risk in the long term the battery should not get hotter than room temperature.
Back to Miui, turn off battery restrictions and you will have no issues, you also have the option of clicking the pin in recents to keep the app active.
Hi @tsongming, I've done everything possible to deactivate restrictions. I've done it the way you mentioned and other ways as well. I did try locking the app as mentioned by @Crossvxm and it might have done the trick -- will know more in a few days. I use Nova Launcher (paid version) and it has the same features you mentioned about Smart Launcher, where I can get to the settings instantly.
sshanky said:
Hi @tsongming, I've done everything possible to deactivate restrictions. I've done it the way you mentioned and other ways as well. I did try locking the app as mentioned by @Crossvxm and it might have done the trick -- will know more in a few days. I use Nova Launcher (paid version) and it has the same features you mentioned about Smart Launcher, where I can get to the settings instantly.
Click to expand...
Click to collapse
I run MIUI stock 10.3.3.0 with Sphinx Kernel and root. I also use Hangouts, Google voice, and Google message without issues. It's like tsongming mentioned. Turn off the adaptive battery and remove battery restrictions on each app. Also make sure they get all permissions.
Something to note , when I used Canting Kernel, I had lots of apps turn off in background including my Fossil sport watch connection. Going back to Sphinx Kernel took care of issue, probable too aggressive memory killer in Canting. Stock Kernel might have same issue idk.
./
When I had my Mi 8, I had no issues. This seems to be something new with the 9. I've disabled adaptive battery, I've provided all permissions to the app, I've removed all power restrictions. I'm not rooted, so I can't change kernel right now. It appears that locking the app might have helped a bit, but I wish I didn't have to do it.

Question Fix for Notifications in Dark Mode?

I found the following info on some Chinese sites about how to fix notifications (also in dark mode?). The problem seems that Vivo.pem or vivo kills the google play services to save battery - thereby killing many notifications too.
Fix is a clutch but could work even with .pem not removed.
Open Vivo phone - dial *#*#426#*#*
Then lock the open FCM diagnostics play services app in the recent apps drawer by putting the lock symbol.
Needs to be done after every reboot and you must not manually remove the app by swiping it up. You can save quick dial codes in your contacts (as they will not be saved to the recent call list).
The problem is - play services cannot be added to autostart...
Seems to be working for a start for me - but not sure if it really does. Info from here: https://www.mobile01.com/topicdetail.php?f=754&t=6723285
Edit: so far it seems to be working for me. I will not dare to try what happens if I enable power saving mode - because each time so far that meant I would need to reset all permissions for some apps like Signal even after disabling as they would then miss notifications. But dark mode seems to be usable.
Doesn't really work for dark mode. What the above does is, that it removes the need to remove vivo.pem - but if you activate dark mode then notifications will not arrive after a certain time of no use - like 10 minutes or so.
Dark mode therefore is still broken (tested mainly with gmail).
some of our guys on telegram emailed vivo and they said that an update is coming to fix dark mode
SirTAVARES said:
some of our guys on telegram emailed vivo and they said that an update is coming to fix dark mode
Click to expand...
Click to collapse
yeah, what vivo (support) tells and what actually happens has always been a big discrepancy... It's been several updates and dark mode still broken. With the above fix of locking the FCM window it just works a bit differently to no notification at all, but no notification at all if phone has been idle for some minutes.
It's a feature not a bug...
And yeah the alternative is to install another notification app altogether - but I am pretty sure that will decrease battery life as you then have an active pull instead of the standard android push for notifcations which uses very little battery. Or use dark mode and install "heartbeeat fixer for GCM" and set it to 1 minute to force the phone to never sleep.... Both not good solutions.
Actually the only updates available were on trial so let's see if they actually release something.
SirTAVARES said:
Actually the only updates available were on trial so let's see if they actually release something.
Click to expand...
Click to collapse
No all trials so far were released as official update 7 days later or so... Except todays newest trial update - all trials have made it to normal version. No beta update ever however AFAIK.

How To Guide How to fix notifications on Vivo X90 Pro+

Seeing as there are dozens of people who are claiming issues with receiving notifications. I figured it's time to make this thread.
The following has worked for me to restore notifications for every single app I use.
To date, I have had absolutely no problems whatsoever with getting any notifications from any apps. Regardless of the app itself, time, battery state of the phone or 4G/5G/Wifi et cetera,
These are the steps that I have done. They worked for me. If you have already done other steps and things are not working for you. You may likely have broken something on your own, in which case these below steps obviously won't work for you.
Steps.
I got my new phone
I ran the Debloat Script
Rebooted the phone to check everything is working, no force closes etc.
Installed the apps I needed manually (did not copy from any previous device or use a transfer app)
Settings > Battery > Set to Balanced
Settings > Battery > Background Power Consumption > for messaging apps and other real-time important apps I set "High Background Power Usage"
For each app > Go to "App Info" (longtap on app) > Permissions > All Permissions > Autostart ON
Install APKPure store
Update these: Google Play Store, Google Services Framework, Google Play Services, Carrier Services
Reboot
Make a test notification from another phone to my Vivo - it works.
Open the app, then use the App Manager to swipe it away from the recents drawer
Make another test notification - it works.
Most of this is just simple a' la: https://dontkillmyapp.com/vivo
I have tested this with the following apps (and many more I could not be bothered to list):
Whatsapp (all message notifications are fine, can receive calls too)
Facebook Messenger (all message notifications are fine, can receive calls too)
Telegram (all message notifications are fine, can receive calls too)
Signal (all message notifications are fine, can receive calls too)
Threema (all message notifications are fine, can receive calls too)
Snapchat (all message notifications are fine, can receive calls too)
Google Photos (sync works fine, also got shared photos notification)
Gmail (all email notifications working, also Google Meets notification reminders)
Google Calendar (calendar reminders all working)
Microsoft Todo (reminders working fine, also added shared tasks notifications working)
Protonmail (all email notifications working)
Tutanota (all email notifications working)
Weawow Weather (weather alerts working fine, plus persistent notification not being killed for weather)
Pano Scrobbler (automatically opens and detects any playing music correctly even if I haven't opened the app in days)
Youtube Vanced (subscription notifications working fine, so are recommendations)
NewPipe Sponsorblock (same as Youtube Vanced)
This allows apps to start by themselves (also when invoked by another app in the background), it also prevents them from ever being killed in the background so you still get notifications.
Other things to note:
Dark Mode - I have it set to always on, no problems with notifications whatsoever and I have never had a problem
Do Not Disturb - When the schedule is set, all notifications are still received but are muted
com.vivo.pem - Still installed on my phone, I never removed it and I do not recommend removing it
120hz Mode - I am using this all the time
Battery saving or task killing apps? - I have none installed. They are all unreliable.
TradingShenzhen - I got my phone from here
System Version - PD2227C_A_13.0.19.0.W10.V000L1
Battery drain?
My phone barely even drains 20-35% in a day. This is by far the best phone I have ever used when it comes to battery drain. I have never had a problem with the battery draining at all. Not even randomly or overnight. The longest I have left my phone on without any kind of reboot is about 9 days. The phone drains on average about 1.3% per hour if I am not using it and 3% an hour with light use. Even using the camera and taking 4K video, the drain is very minimal. I use auto brightness and I have the always-on display turned off.
Battery drain will always come down to how you use your phone:
How much you pick it up,
Did you Debloat your phone,
Do you play games (I do not),
Are you using 5G (much higher drain) or Wifi (lower drain),
Do you have lots of apps syncing high volumes of data in the background,
Do you have Bluetooth on constantly and NFC in the background always on,
Do you watch a lot of videos (I do not),
Do you regularly properly close apps you aren't using?
and all things like this. As always YMMV. For me though, I could not get a single day out of my Samsung S22U. I can get almost 3 days out of my Vivo X90 Pro+ whilst taking a lot of photos, quite a few videos, having a few calls and using my browser a lot.
Here's 2 screenshots of my battery usage. Purple bars are background usage, which you can see is really nice and low for all apps. Turquoise (blueish) is foreground usage and I think those levels are normal. Notion is a massive battery hog, so is Libby. Notion due to sub-optimal coding and the over aggressive syncing it does when you're even just typing. Libby is just badly made. Likely I will also prevent Libby running in the background, but I allowed it only so I get notifications when my books are ready.
What about *x* app?
I don't know man, do these steps and try it for yourself. This is just what I have done and I have literally a perfect experience with this phone so far, which I think is to be expected because I wasn't chopping up my OS and removing system apps etc. If you feel like you are having a really bad experience, likely the only way forward is to fully factory reset the phone and try these steps.
What about com.vivo.pem?
Look. Friend... If you haven't figured out by the screenshot evidence and everything else I've been saying here and in my other threads, that you absolutely do not need to remove it (and absolutely should not). Then I can't help you and I won't say it again. What I will say though is this. There are a few people who have removed it, all of which STILL are having problems. ALL of which who are facing far WORSE problems like battery drain so bad that one of the biggest advocates for deleting this package is now selling his Vivo X90PP because he's unwilling to admit he bricked it by removing this package. Yet despite this he's still telling others to remove it . What we do know? Well removing to causes massive battery drain, your phone won't even last a full day. Removing it also can make it impossible to install any apps after an OS update . Removing it can also do all sorts of other weird things with your phone like force close apps randomly and cause random restarts. So why did people remove it? Because some "genius" was convinced it was a good idea. Because one guy who owned an X80 said it solved a problem getting his notifications to work. Because instead of looking for a really solution, some guys got out the axe and started hacking. So, keep the package? The worst you'll get is what... a notification might not work (which this whole guide should fix anyway). Remove it? Then only God can help you (or maybe a factory reset). My advice: Leave the package alone. If you already removed it and are having problems, factory reset and run the new debloat script and follow this guide.
Final word
I don't really use this community at all. Nor do I check posts very often. I help out only in my spare time and I don't have any interest in being some active member. In the past I have found this community unwelcoming, toxic and full of chest beaters, so I am really only interested in getting the tools and info I need and then getting out. I am not sure even why I bothered fixing the script for everyone else, I guess because it was simple and I really love this phone and want others to enjoy it. In short, I want more good phones like this and with a little bit of tweaking it can be an amazing device. However, lately, a lot of people have been DMing me after I fixed the debloat script, like over 20 people. Please do not DM me, I will likely not see these posts at all. All my notifications are disabled now after too much spam. Plus I won't reply to them individually. Make your posts in a thread where more than just me could give you an answer and do not pose your questions to "just me". I won't help you with your specific issues. The community here has always been adamant that you need to help yourself, otherwise just buy some overpriced Samdung or iPhone and forget about XDA altogether. My 2 cents.
In any case, I hope this thread helps some people going forward.
Have you got muted group chats in Signal, Telegram and or Whatsapp?
extremecarver said:
Have you got muted group chats in Signal, Telegram and or Whatsapp?
Click to expand...
Click to collapse
You're on my ignore list but I will reply to you this once only. Yes and those chats don't notify me when they are muted but my unmuted group chats notify me on every message. That is, the chats work fine, the exact same way as on my other phone. I don't want muted chats to notify me anyway.
Only viber doesnt work in dark mode in my case (it lights up screen with no content shown and no sound, no notification shown on garmin fenix 7) in light mode works perfectly
Thank you for the guide. But after some time my apps stop getting notifications again. What the solution for that? I have script 2.6 too and vivo pem active.
M5Pro60 said:
Thank you for the guide. But after some time my apps stop getting notifications again. What the solution for that? I have script 2.6 too and vivo pem active.
Click to expand...
Click to collapse
Disable dark mode
ef1x said:
Disable dark mode
Click to expand...
Click to collapse
I don't have dark mode.
This method don't work for me. I have read in other forums it is save to kill pem.vivo. i will try now this.
M5Pro60 said:
This method don't work for me. I have read in other forums it is save to kill pem.vivo. i will try now this.
Click to expand...
Click to collapse
I currently have vivo.pem active , there is old debloat script that kills vivo pem, i would recomend that you kill only com.vivo.pem only. Delete other lines leave only vivo pem.
Also i have noticed when you run new and then old script then battery drain starts.
I always do factory reset before debloating and never restore using unbloat script.
ef1x said:
I currently have vivo.pem active , there is old debloat script that kills vivo pem, i would recomend that you kill only com.vivo.pem only. Delete other lines leave only vivo pem.
Also i have noticed when you run new and then old script then battery drain starts.
I always do factory reset before debloating and never restore using unbloat script.
Click to expand...
Click to collapse
Ok thank you.
ef1x said:
I currently have vivo.pem active , there is old debloat script that kills vivo pem, i would recomend that you kill only com.vivo.pem only. Delete other lines leave only vivo pem.
Also i have noticed when you run new and then old script then battery drain starts.
I always do factory reset before debloating and never restore using unbloat script.
Click to expand...
Click to collapse
Will i brick my phone? it says in main post.
M5Pro60 said:
Will i brick my phone? it says in main post.
Click to expand...
Click to collapse
No
Hi mate
Can you please tell me if your floating notifications pop up for WhatsApp? (The small message preview windows at the top of your screen whilst unlocked.) They work for every app except WhatsApp on mine.
luontokoodaus said:
Seeing as there are dozens of people who are claiming issues with receiving notifications. I figured it's time to make this thread.
The following has worked for me to restore notifications for every single app I use.
To date, I have had absolutely no problems whatsoever with getting any notifications from any apps. Regardless of the app itself, time, battery state of the phone or 4G/5G/Wifi et cetera,
These are the steps that I have done. They worked for me. If you have already done other steps and things are not working for you. You may likely have broken something on your own, in which case these below steps obviously won't work for you.
Steps.
I got my new phone
I ran the Debloat Script
Rebooted the phone to check everything is working, no force closes etc.
Installed the apps I needed manually (did not copy from any previous device or use a transfer app)
Settings > Battery > Set to Balanced
Settings > Battery > Background Power Consumption > for messaging apps and other real-time important apps I set "High Background Power Usage"
For each app > Go to "App Info" (longtap on app) > Permissions > All Permissions > Autostart ON
Install APKPure store
Update these: Google Play Store, Google Services Framework, Google Play Services, Carrier Services
Reboot
Make a test notification from another phone to my Vivo - it works.
Open the app, then use the App Manager to swipe it away from the recents drawer
Make another test notification - it works.
Most of this is just simple a' la: https://dontkillmyapp.com/vivo
I have tested this with the following apps (and many more I could not be bothered to list):
Whatsapp (all message notifications are fine, can receive calls too)
Facebook Messenger (all message notifications are fine, can receive calls too)
Telegram (all message notifications are fine, can receive calls too)
Signal (all message notifications are fine, can receive calls too)
Threema (all message notifications are fine, can receive calls too)
Snapchat (all message notifications are fine, can receive calls too)
Google Photos (sync works fine, also got shared photos notification)
Gmail (all email notifications working, also Google Meets notification reminders)
Google Calendar (calendar reminders all working)
Microsoft Todo (reminders working fine, also added shared tasks notifications working)
Protonmail (all email notifications working)
Tutanota (all email notifications working)
Weawow Weather (weather alerts working fine, plus persistent notification not being killed for weather)
Pano Scrobbler (automatically opens and detects any playing music correctly even if I haven't opened the app in days)
Youtube Vanced (subscription notifications working fine, so are recommendations)
NewPipe Sponsorblock (same as Youtube Vanced)
This allows apps to start by themselves (also when invoked by another app in the background), it also prevents them from ever being killed in the background so you still get notifications.
Other things to note:
Dark Mode - I have it set to always on, no problems with notifications whatsoever and I have never had a problem
Do Not Disturb - When the schedule is set, all notifications are still received but are muted
com.vivo.pem - Still installed on my phone, I never removed it and I do not recommend removing it
120hz Mode - I am using this all the time
Battery saving or task killing apps? - I have none installed. They are all unreliable.
TradingShenzhen - I got my phone from here
System Version - PD2227C_A_13.0.19.0.W10.V000L1
Battery drain?
My phone barely even drains 20-35% in a day. This is by far the best phone I have ever used when it comes to battery drain. I have never had a problem with the battery draining at all. Not even randomly or overnight. The longest I have left my phone on without any kind of reboot is about 9 days. The phone drains on average about 1.3% per hour if I am not using it and 3% an hour with light use. Even using the camera and taking 4K video, the drain is very minimal. I use auto brightness and I have the always-on display turned off.
Battery drain will always come down to how you use your phone:
How much you pick it up,
Did you Debloat your phone,
Do you play games (I do not),
Are you using 5G (much higher drain) or Wifi (lower drain),
Do you have lots of apps syncing high volumes of data in the background,
Do you have Bluetooth on constantly and NFC in the background always on,
Do you watch a lot of videos (I do not),
Do you regularly properly close apps you aren't using?
and all things like this. As always YMMV. For me though, I could not get a single day out of my Samsung S22U. I can get almost 3 days out of my Vivo X90 Pro+ whilst taking a lot of photos, quite a few videos, having a few calls and using my browser a lot.
Here's 2 screenshots of my battery usage. Purple bars are background usage, which you can see is really nice and low for all apps. Turquoise (blueish) is foreground usage and I think those levels are normal. Notion is a massive battery hog, so is Libby. Notion due to sub-optimal coding and the over aggressive syncing it does when you're even just typing. Libby is just badly made. Likely I will also prevent Libby running in the background, but I allowed it only so I get notifications when my books are ready.
What about *x* app?
I don't know man, do these steps and try it for yourself. This is just what I have done and I have literally a perfect experience with this phone so far, which I think is to be expected because I wasn't chopping up my OS and removing system apps etc. If you feel like you are having a really bad experience, likely the only way forward is to fully factory reset the phone and try these steps.
What about com.vivo.pem?
Look. Friend... If you haven't figured out by the screenshot evidence and everything else I've been saying here and in my other threads, that you absolutely do not need to remove it (and absolutely should not). Then I can't help you and I won't say it again. What I will say though is this. There are a few people who have removed it, all of which STILL are having problems. ALL of which who are facing far WORSE problems like battery drain so bad that one of the biggest advocates for deleting this package is now selling his Vivo X90PP because he's unwilling to admit he bricked it by removing this package. Yet despite this he's still telling others to remove it . What we do know? Well removing to causes massive battery drain, your phone won't even last a full day. Removing it also can make it impossible to install any apps after an OS update . Removing it can also do all sorts of other weird things with your phone like force close apps randomly and cause random restarts. So why did people remove it? Because some "genius" was convinced it was a good idea. Because one guy who owned an X80 said it solved a problem getting his notifications to work. Because instead of looking for a really solution, some guys got out the axe and started hacking. So, keep the package? The worst you'll get is what... a notification might not work (which this whole guide should fix anyway). Remove it? Then only God can help you (or maybe a factory reset). My advice: Leave the package alone. If you already removed it and are having problems, factory reset and run the new debloat script and follow this guide.
Final word
I don't really use this community at all. Nor do I check posts very often. I help out only in my spare time and I don't have any interest in being some active member. In the past I have found this community unwelcoming, toxic and full of chest beaters, so I am really only interested in getting the tools and info I need and then getting out. I am not sure even why I bothered fixing the script for everyone else, I guess because it was simple and I really love this phone and want others to enjoy it. In short, I want more good phones like this and with a little bit of tweaking it can be an amazing device. However, lately, a lot of people have been DMing me after I fixed the debloat script, like over 20 people. Please do not DM me, I will likely not see these posts at all. All my notifications are disabled now after too much spam. Plus I won't reply to them individually. Make your posts in a thread where more than just me could give you an answer and do not pose your questions to "just me". I won't help you with your specific issues. The community here has always been adamant that you need to help yourself, otherwise just buy some overpriced Samdung or iPhone and forget about XDA altogether. My 2 cents.
In any case, I hope this thread helps some people going forward.
Click to expand...
Click to collapse
I killed vivo.pem at sunday and it's good. what you say from remove is not right!
@M5Pro60 but do your floating notifications pop up for WhatsApp?
Btw, if I have my phone in vibration mode with screen off it doesn't vibrate for many app notifications . Seems to be just another bug related to notifications. Then when I switch on the screen the notifications arrive delayed sometimes, sometimes not....
Also the notifications don't make it onto my Fenix 6X pro with vibration mode...
Just a rotten software with bugs everywhere....
I did everything as in the first post:
- reminders made on the same day (yesterday) - everything worked
- today, next day, again Google Calendar does not send notifications.
All settings are preserved, nothing has changed.
I don't understand what happened now?
Tiverask said:
@M5Pro60 but do your floating notifications pop up for WhatsApp?
Click to expand...
Click to collapse
Yes works when watch YouTube landscape.
usersmrtph said:
I did everything as in the first post:
- reminders made on the same day (yesterday) - everything worked
- today, next day, again Google Calendar does not send notifications.
All settings are preserved, nothing has changed.
I don't understand what happened now?
Click to expand...
Click to collapse
Yes I have the same. I delete vivo.pem and now all is good. Main post is lie about pem.
M5Pro60 said:
Yes I have the same. I delete vivo.pem and now all is good. Main post is lie about pem.
Click to expand...
Click to collapse
I can't find myself ... com.vivo.pem

Categories

Resources