Google assistant reminders don't work. - OnePlus 7 Questions & Answers

I have a OP7 with unlocked bootloader, magisk, build 10.3.0.GM57AA.
I heavily use the google assistant reminders, but I can't get them to work on the OP7. Reminders notifications come several minutes/hours after the programmed time. I had no problem with my previous phones, one of which I still use and it never misses a reminder notification (thus confirming that is not a problem of the Google app, but of the OP7 software). I tried different solutions:
- Disable adaptive battery and all other battery-related optimizations. Didn't work.
- Uninstall the system app Google and reinstall it as a user app. This, for whatever reason, breaks the ''OK google'' voice recognition so is not a viable solution.
- Modify the magisk module ''OxygenOS gmail battery fix'' from David Sn, to work with the Google app instead of the Gmail App. I can confirm that the Google package (com.google.android.googlequicksearchbox) is correctly whitelisted from Doze after installing the module (I checked with the command ''dumpsys deviceidle" with a terminal emulator). This way the reminders notifications come immediately after I unlock the screen, but they still don't work when the screen is off.
- Manually add com.google.android.googlequicksearchbox to the .xml files that control the Doze whitelisted apps (/system/etc/sysconfig and /system/product/etc/sysconfig). Didn't work.
- Use the Nova Launcher activity trick to make system apps appear in the ''Battery optimization'' menu (https://forum.xda-developers.com/showpost.php?p=79613520&postcount=8) but it didn't worked (I can't get system apps to show in that menu). [Side note: why the hell Oneplus decided to hide system apps in the battery optimization menu????????]
The only way I managed to get the reminders notifications when the phone is idle is to completely disable Doze with "dumpsys deviceidle disable" command. This way all the notifications work perfectly but obviously there is an abnormal battery drain when the phone is idle. I'm about to give up and switch to another reminder app or to a custom rom, but this piss me off because this is theoretically a top-range smartphone and it is ridiculos that such a basic function don't work, especially considering that this is an almost stock software and that this issue was reported a long time ago on the Oneplus Community forum by multiple users.
Please if you have any advice/solution share it with me.

Related

[HOW-TO] [FIX] [XPOSED] NlpWakeLock, NlpCollectorWakeLock and RILJ.

Greetings,
After going through many forums trying to find a solution for these Wakelocks, all I found was switching off Location or Google Location History to get rid of RILJ and using Amplify to increase the interval of Nlp.
However, Turning off location or GLH is not a practical solution for me, and Amplify is not that easy to work with, so I was back to square one.
I found out that Nlp Wakelocks are associated with Google Play Services, Google Services Framework. RILJ is associated with Phone (Telephony) functions.
*The solution:
An Xposed module called (No Wakelock) in the Play Store that is capable of controlling Partial and Full WLs, aligning alarms and controlling sync for the selected apps, including system apps with the donation package.
*The results:
After disabling Partial/Full Wakelocks and enabling Aligning alarms for the aforementioned apps, Location and GLH are On.
They are no longer showing in BBS or WLD. AT ALL.**
Android Device Manager is capable of locating my phone.
SMS/Phone calls are working Fine.
No Frozen Screen, SoD, etc.
Gmail sync is delayed a few hours/minutes, without changing its settings in the module.
** Since everything is working perfectly fine even though these WLs are not showing at all, then what is the Real purpose of having them working in excess like that?
Kindly note that I'm not affiliated with the module or the developer in anyway.
If you would like to use it, please use common sense and do it at your own risk.
Cheers.
What did you disable?
I'd like to know that too
do you have fix for nougat? i use forcedoze and it works well with every service. But google services still trigger wakelock and drain my battery.
However, this problem had a temporary fix, if i switch on battery saver. this problem will stay away for awhile.
But i don't like this kind of method.
im also interesting how to fix it in Nougat

Delayed notification for Whatsapp, Signal, G Voice

This post was originally posted in Moto G5s Plus forum, but I thought/hope to get broader exposure and feedbacks:
I did extensive search and found no fix so far.
Problem: if my phone is locked for maybe 10min, then it will not display notification for incoming Signal, Whatsapp and Google Voice messages, until I unlock the screen and run the apps. In other words, I will not get notified of new messages if the phone is locked for over 10 minutes.
Native Messenger app is not affected, it displays incoming message right away. Gmail is good too.
I do not use Wifi, it is turned OFF. I am on Data 100% with T-Mobile. Stock ROM, rooted with Magisk and TWRP.
I have done "Battery Not Optimized", "unrestricted data", Battery saving mode is set Never, and there is no battery saving apps installed such as Greenify etc.
I have removed and reinstalled these apps from Play store, cleared data and cache, the whole 9 yards.
Still stuck with delayed notification.
Anyone with suggestions?
Thanks,
clu1688 said:
This post was originally posted in Moto G5s Plus forum, but I thought/hope to get broader exposure and feedbacks:
I did extensive search and found no fix so far.
Problem: if my phone is locked for maybe 10min, then it will not display notification for incoming Signal, Whatsapp and Google Voice messages, until I unlock the screen and run the apps. In other words, I will not get notified of new messages if the phone is locked for over 10 minutes.
Native Messenger app is not affected, it displays incoming message right away. Gmail is good too.
I do not use Wifi, it is turned OFF. I am on Data 100% with T-Mobile. Stock ROM, rooted with Magisk and TWRP.
I have done "Battery Not Optimized", "unrestricted data", Battery saving mode is set Never, and there is no battery saving apps installed such as Greenify etc.
I have removed and reinstalled these apps from Play store, cleared data and cache, the whole 9 yards.
Still stuck with delayed notification.
Anyone with suggestions?
Thanks,
Click to expand...
Click to collapse
It's probably caused by a wakelock that triggers after the screen is off for a set amount of time. Or maybe your device has a deep sleep mode that is triggered after a certain time with screen off.
Use Wakelock detector to identify the wakelocks on your device, then research the wakelocks that you find to see if any of them might be the cause of this issue. If you find a wakelock that is causing this, try using an app that can manage wakelocks to enable/disable the wakelock(s) as needed in order to get it working the way you want/need.
Sent from my SM-S767VL using Tapatalk

Not showing notifications on WearOS smartwach

Hey, guys does anyone else have this problem, my Fossil Sport wont show notifications that I recive on my phone, I have tried setting WearOS app so that MIUI doesn't stop it because of Battery management and my notifications are all set to show ?
I have been using Poco X3 NFC for a week and had been facing the issue of notifications although my Galaxy Active 2 was connected with the bluetooth.
I tried a lot of methods and it seems that the issue has been fixed from last 3 days.
1 - Please switch off battery optimization for all the apps related to your watch and the xiaomi frameworks (you have to do this everytime you restart your phone as the battery optimization automatically changes its settings upon restart)
2- Switch on all the notifications for all the apps for all the times
3- Allow all permissions to the wearable related apps
4- (Most important step which I believe is the key) Go to Settings, write Access Notifications. You will see Wearable and Xiaomi Framework sort of thing. Please allow these both. Once you will allow these both options, hopefully the notifications will start to show. If the notifications switch off, then please deactivate this option and reactive it along with the wearable's own application notification settings (put off and then on)
Mid range phones are interesting buy but they are full of bugs. I have recently shifted to Poco X3 NFC from Note 8.
thanks, hope it works.
just bought POCO X3 NFC I had noticed problems with notifications and therefore I had deactivated energy saving on wearos and nova launcher apps, giving them administration rights. now it is something like 10 days that I can no longer receive notifications on my huawei watch 2 smartwatch and my favourite launcher (Nova).
I reset my watch to factory values and it worked for just over a day, after which it went silent again, it no longer displays my notifications.
Now I will follow your advice, actually the framework did not have access to notifications. we hope well

Question Still Slow notification on 12S Ultra

I set all :
Autostart
Locked in background
No restriction battery saving
Allow notification
But sometime i still have to open phone to receive new notifications
What should i do now ?
hoangtu2410 said:
I set all :
Autostart
Locked in background
No restriction battery saving
Allow notification
But sometime i still have to open phone to receive new notifications
What should i do now ?
Click to expand...
Click to collapse
Yes I've also noticed this. Awaiting a custom ROM to fully eliminate this issue. Google services being baked into the ROM will make a world of a difference.
@hoangtu2410
Disable "Sleep mode" in battery settings
Disable "Suspend execution for cached apps" in developer options
Disable powerkeeper (after settings battery saver option)
Install Global ROM-ify Magisk module
[MAGISK] Add languages to MIUI CN - Enables Google Location History & Nearby Share
I want to use the original MIUI Chinese version as it is, so I created a Magisk module to add the languages! The translation is extracted from MIUI Global ROM for Xiaomi 11T Pro. This module also enables Google Location History & Nearby Share...
forum.xda-developers.com
might help.
AndroPlus said:
@hoangtu2410
Disable "Sleep mode" in battery settings
Disable "Suspend execution for cached apps" in developer options
Disable powerkeeper by adb shell pm uninstall -k --user 0 com.miui.powerkeeper
Install Global ROM-ify Magisk module
[MAGISK] Add languages to MIUI CN - Enables Google Location History & Nearby Share
I want to use the original MIUI Chinese version as it is, so I created a Magisk module to add the languages! The translation is extracted from MIUI Global ROM for Xiaomi 11T Pro. This module also enables Google Location History & Nearby Share...
forum.xda-developers.com
might help.
Click to expand...
Click to collapse
i dont really want to use magisk cause some my country's bank apps might not work. Experienced before
I thought this too from bad magisk modules. I currently have magisk with safety net fix. That works with unlocked bootloader. Also SkyGo and Lloyds Bank works with the deny settings ticked and every app that complained about root or unlocked bootloader now work using these magisk settings. I'm quite happy. I will still remove root if and when the Xiaomi EU ROM is released but just how amazed how far magisk has come on since it's early days.
Clear data and cache of Always On Display (AOD) and notfications will work normally
I'm also impacted; I've locked my apps in the background, enabled all the relevant notification categories for each app, and ensured that the "show on lock screen" permission is set to "Allow". Have also ensured there is no battery saver enabled for my apps.
The strange thing is, though, even my Chinese apps like Weibo suffer from this issue, to the point that lock screen notifications don't work, and notifications only come in when my phone is unlocked.
I have a Mi 11 Ultra, also with CN ROM, and no issues whatsoever – settings as above, and notifications arrive instantaneously, and without issue.
I've also executed (via adb) this command (which must be re-run at every boot):
./adb shell dumpsys deviceidle disable
The result of executing this is the following message:
Deep idle mode disabled
Light idle mode disabled
This appears to have helped, but only a few notifications are showing, not all of the apps are, including AOD-wise (yes, permisssions regarding the AOD are set correctly, too).
Anyone else experiencing what I am with my 12S?

Question How to prevent apps from auto starting at boot

Hello,
All is in the topic, I've got an app that starts automatically when my phone is powered on.
It is Aircall, an app I use for passing and receiving calls at work.
I would like this app not to start automatically each time I power on the phone.
Is there a setting for disabling some apps to autostart ? Or an app you can advise ?
Thanks for your help.
Check the app's preferences to see if there are options.
In the Android settings, go to Apps > See All > (your app. eg Air Call) > App battery usage and set it to 'restricted.' This will greatly restrict an app's ability to do many things in the background.
Other than that, you'd have to root your device to get any more control over the app using something like Servicely (Google Play Store), My Android Tools (apkmirror.com), Permission Manager X (fdroid), AppOppsX (fdroid), or Blocker (fdroid) to control the app's broadcast receivers. Apps can choose to respond to various phone states such as when a boot is completed, when network connectivity changes, power is connected/disconnected, etc. It can take some aggressive action to fully prevent an app from always running.
If you're just annoyed by a notification icon in your notification area you can always disable that app's notification so it doesn't appear.
I have tried all of these things to control apps but if apps use a lot of various broadcast receivers they will find ways to keep running. You may find stopping it to have unintended consequences. It being a work app, I'd consider simply disabling the app's notificaiton if it has a persistent notifcation or something. The next step would be to restrict the app as in 2. The most aggressive thing is to root and tinker with its broadcast receivers.
Hello jawz101,
Thank you very much for this very complete answer.
All your precise instructions are very interesting.
I'll have a look at all these solutions.
Thanks again.
I am not sure about straight forward solution. But I would like to use Greenify app. Add apps to it once and run it once everytime you restart your phone.

Categories

Resources