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.
Does there exist an app locker that fully works with Android 11? By "app locker" I mean an app that presents a lock screen on a per-app basis. (Fingerprint support is also good!)
Every one I've tried in Play Store fails to lock the settings, which means it's trivial to bypass by simply uninstalling (and deactivating admin for those that go at least that extra step). Note: I'm not asking for a hacker-proof locker app, just one that is not trivial to bypass for the average or moderately above average user. I do also have a proper lock screen and remote wipe enabled for deeper protection. My use case is just more of a extra bit of protection for if somebody picks up my phone while it is unlocked unattended - just the extra protection so it's not so easy to see email or messages, etc.
I had a OnePlus before getting my Pixel 5A and OxygenOS has such an app lock feature. Again, it wasn't hacker-proof, but it was also not trivial to bypass.
Root/Magisk/XPosed module suggestions are okay for me.
I really am looking into this right now, I need it too!
I found a good one. I tried a lot of different ways to bypass it, but it consistently works. Now, of course, as anybody will tell you, since it runs as a user app, there are ways to kill it (via ADB etc) so it's important to still have device-level security. This is just a defense-in-depth measure, such as when somebody is borrowing your phone or you left it unlocked unattended and want to slow down an adversary.
https://play.google.com/store/apps/details?id=com.sp.protector.free
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.
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