yashsingh1/xdaforums huggingface dataset:
[Sony Xperia 1 III] darwinmach:
Just to be sure, I went through and double checked that Gmail, Google Play Services, and Google Services Framework all had:

* Battery/Power-saving Feature: Excepted

* Unrestricted data: Enabled

Still didn't resolve my sync issues :(
[Sony Xperia 1 III] jaseman:
Did you try this: settings > accounts > tap your email google account > account sync > has everything synced fairly recently? Any of them appear to be stuck, not spinning? Top right 3 dots sync now, does everything finish syncing?
[Sony Xperia 1 III] hotcakes_shinku:
Just adding that I noticed this problem after the .92 update. I'm not sure if its there before. So the .92 didn't solve the issue on my end, glad it solved yours.

You make it sound like you think people are idiots because as already mentioned in the FIRST POST, he already excepted his apps from battery optimization. If you still ask people if they have done so, you obviously think we are idiots, since you ask a question that has already been answered. Grow up please.

Edit: Here let me quote it for you:
[Sony Xperia 1 III] shadowstep:
THREAD CLEANED

Hi! Just popping in to leave a reminder for everyone: keep it civil, on-topic and refrain from responding to posts that you think are offensive or hateful. Just report if you feel something isn't right and let us take care of it for you. :)

Regards,

shadowstep

Forum Moderator
[Sony Xperia 1 III] hotcakes_shinku:
Testing out a potential fix which seems to be working for now.

I found out that my phone backup isn't working either. Manually pressing the button, the backup keeps telling it failed and asks me to try again later. Searching online, there are some that suggest to remove the screen lock to see if backup starts working again.

After I removed my screen lock, I cleared cache/storage of Google Play Services, Google Services Framework and Gmail. Then I rebooted my phone and left it a while to let it fully boot. I can now backup my phone, and I am getting my Gmail notifications. Now I am observing to see if this is permanent..

If the fix is permanent, at least on my end, it seems that Sony's build of android has buggy encryption. This was an issue with other brands too.
[Sony Xperia 1 III] hotcakes_shinku:
Update on my problem. Firstly, after trying the above, I noticed a few days later that in general I wasn't getting notifications from anything. I concluded that I messed up Google Services too much and therefore factory reset my phone.

After that and readding my google account, My notifications was fixed, except Gmail still wasn't getting notifications, but phone backup started working. I was about to give up and use another email app, when today the September security update arrived in 61.0.A.14.3 update. Being desperate to try anything I updated without hesitation.

This seems to fix the problem and I am getting my gmail notifications.

Not getting my hopes up too much and just continue monitoring but I hope this the end of my google problems.
[Sony Xperia 1 III] terrylwh:
I got the same issue since last firmware update/Gmail App update(not sure which one cause it). I try all the methods in this thread, I have set all the Google App/Service "excepted" for Battery Management and allow them for unlimited background data but still no luck. I have tried to reset the sync but this only work for a while. I guess re-triggering the sync will restart the service or something else but later it will get stuck or blocked again. So the Gmail still not working properly.

I also got the 61.0.A.14.3 update yesterday, but it still not working for me. Can you confirm if factory reset + new update help to solve the problem? If it does, then maybe I will do so too...
[Sony Xperia 1 III] hotcakes_shinku:
So far so good I have been getting all my gmail notifications since the new update.

I forgot to add that I did try one more thing after I factory reset before the update. I went to https://myaccount.google.com, in the Your Devices of the Security section, I selected my Xperia 1 III and signed out my account from my device from there. I do not know if this helped, as it didnt fix the problem before the update came.
[Sony Xperia 1 III] terrylwh:
I think I have the problem fixed!

A few days ago, I have read your reply, try the "Sign Out my device" from Google and seems nothing happen, then I decide to factory reset my phone. But before I do so, I want to have my final try and begin to search any other things I can do. I then found that one more thing at my phone is also not working: The Google Play Store Auto Update.

I have set the Google Play Store Auto Update to work at any network, which means all the apps shall update automatically, but I found that lots of apps has been stuck there waiting for update. I recall my memory and realize that I have been manually updating the apps for a few weeks, which this time period is the same as Gmail start not working. So I guess they both may have the same root cause.

So I search if there is any discussion on this. Some pages suggest that this can be fixed by clearing the data/cache for app "Download" and "Download Manger" at the phone. I tried and then everything start working!

I have observed my phone for a few days, and try to forward emails to the Gmail account to test, and now it is working properly, plus the Google Play Store is auto updating the apps.
[Sony Xperia 1 III] terrylwh:
My reply is too long so I am writing a separate reply.

I have done the following and my Gmail Notification / Google Play Auto Update is now working:

1. Go to https://myaccount.google.com, in the Security section, select you device and choose signed out. Then re-sign in at your phone.

2. At your phone, go to Setting>Apps & Notification, search the app "Downloads" and "Download Manager". At "Storage and cache", clear their storage and cache, then restart your phone.

Hopes this help!
[Sony Xperia 1 III] jaseman:
Not sure signing out of your account is necessary. I think clearing the cache and data of downloads and download manager may be good enough! YMMV
[Sony Xperia 1 III] turnturn1225:
I did this and everything started working for maybe an hour, stopped working shortly after though.
[Sony Xperia 1 III] jaseman:
Well, this is certainly a Sony issue because if it was a Gmail issue the media sites would be full of screaming people. Sony needs to get this fixed...though I doubt they're even looking at it. They have something going on that's causing Gmail to sleep to deeply when the screen is locked.
[Sony Xperia 1 III] turnturn1225:
I had a Pixel 3 XL up until May of last year when I switched to an iPhone SE, and the last few weeks or so I had the same problem where I couldn't receive Gmail notifications. So I'm not sure if it's a Sony issue or a Google sync issue.
[Sony Xperia 1 III] jaseman:
I agree it's very hard to tell. Ever since so many OEM's have started to pre-install Gmail as a system app the issues have gotten worse for sure. You can't truly uninstall and reinstall Gmail like you should be able to do! I also have a OnePlus 8T and it doesn't have this issue, and OnePLus is notorious for putting apps into deep sleep. So why does the 8T get the notifications right away and the Sony doesn't??? I think it has something to do with the OEM's and not Gmail itself. However, since the last two updates to the Sony mine has been working a little better. I have tested my SMS and Gmail and it's only the Gmail that gets delayed.
[Sony Xperia 1 III] hotcakes_shinku:
I did notice that my play store autoupdate wasn't consistent, so I tried this. Now my gmail notifications are broken again. Doesn't look like theres a fix for everyone, and one's fix might break another. Guess its up to sony to continue fixing this then.
[Sony Xperia 1 III] terrylwh:
I just saw the above replies and yours, and I have just recall one thing - do you have multiple devices that have the same google account logging in? When I try logging out my device, I found that I have an old Sony Z5P that still binded to my Google Account, then to play safe I have logged out those device too. Then I re-log to my Xperia 1 III and clear the Download App data/cache. Maybe you can have a try?

I think like user turnturn1225 said, it is difficult to tell if it is Google's issue or Sony's. We cannot sure which step is the real fix, We can only try. :(
[Sony Xperia 1 III] hotcakes_shinku:
Ok ill try this. If this is the issue and i can't have multiple devices logged in with the same account, its annoying that i cant use my secondary device as a secondary authenticator.
[Sony Xperia 1 III] hotcakes_shinku:
Update, sadly it only worked for about half a day. And later today I realize once again not only there are no gmail notifications, there are no notifications at all from other apps. So I guess I broke it again. Will factory reset when the next update comes out.
[Sony Xperia 1 III] cronus101:
Could it be the battery adaptive setting? Mine is on, and when I use Gmail frequently, it automatically syncs, but when I stop using it for a while, it stops automatically syncing.
[Sony Xperia 1 III] jaseman:
I believe you may be on to something here. I have mine turned off (along with all the other exceptions listed in this string) and I appear to get my Gmail notifications regularly. They still may not be as immediate as SMS or WhatsApp, but they do come in fairly quickly. I think it is just as the feature states when turned on...if you do not actually open and use Gmail regularly then the app is put to sleep in an attempt to limit battery use. I just leave the feature turned off and I see no real harm to the battery use.
[Sony Xperia 1 III] hotcakes_shinku:
Adaptive battery is the first thing I turned off upon getting my phone. I dislike all these attempts at saving my battery according to the manufacturers/Googles rules, and therefore disable them straightaway even on my previous phones.

Most likely in my case Gmail notifications are not coming in because my google account is refusing to sync, even when pressing the Sync now option. All of them are stuck not syncing except Contacts.

Btw I reattempted the above with an additional step: I removed my account from my old phone after I signed it out My other notifications are back, but my google account is still refusing to sync. I'll live with this for now til the next update from Sony and attempt to fix it again then.
[Sony Xperia 1 III] hotcakes_shinku:
Another update, I have just remembered one fix i didnt try. Ive uninstalled updates for Google Play Services from the Play store and restarted my phone. Then I manually synced my account and made sure all of them complete syncing. Then I reinstalled the update from the Play store. My gmail is back for now.
[Sony Xperia 1 III] jaseman:
This is all so sad...how long have we all been reliant on email...Gmail is probably the MOST utilized app in the entire world and yet we are struggling to make it work smoothly! Makes me sick!
[Sony Xperia 1 III] turnturn1225:
Okay, so this is going to sound crazy, but I've started getting notifications reliably and on time all of a sudden. I said screw it and just turned off adaptive battery and everything started working. It has been working for about 12 hours now no problem. I also have done just about everything else in this thread along with being in contact with Google support sor over a week, so I don't know if they did something on their end to fix it, but everything works now, and my other notifications are coming in a little faster it appears as well. I'm on build 61.0.A.14.3 on XQ-BC62.
[Sony Xperia 1 III] cronus101:
How's your battery life effected?
[Sony Xperia 1 III] turnturn1225:
Honestly, seems just fine, but I'll let you know tonight how it's been after a full day.
[Sony Xperia 1 III] turnturn1225:
Ok, so going out shopping and using it while out my battery life seems to be almost exactly the same. If there is a difference it doesn't seem to be noticeable.
[Sony Xperia 1 III] turnturn1225:
Well it was nice while it lasted, it’s now back to not pushing notifications through :/

EDIT: Now they seem to be working again? Idk at this point lol.
[Sony Xperia 1 III] turnturn1225:
Hey everyone, not sure what has happened, but I can't stop getting my gmail notifications now, so that's a win. I even have adaptive battery turned on and notifications are coming through. I haven't done anything different really, but my phone finally feels normal.
[Sony Xperia 1 III] jaseman:
Well that's great to hear...but it's not very helpful! Nothing against you. I wonder sometimes of it's something being controlled by Google. I imagine that Google's email servers are working at full capacity 24/7 and when the load is heavy that our individual email notifications might be delayed. When we get a few email's all at the same time it's like Google places them all in our own personal queue and then the moment the server has time it sends them out.
[Sony Xperia 1 III] cronus101:
Turned off adaptive battery and Gmail is syncing properly. Will turn it back on after 3 days.
[Sony Xperia 1 III] terrylwh:
I am thinking the similar thing. But Just my guess, I completely have no evidence.

Maybe when we login with our Google Account we will be assigned with token to particular Google server according to geographical location/server loading. We sometime got assign to some malfunctioning server group so our Google Services are not syncing correctly.

That is why some people here got the problem fix when they reloggin at the google account, or when the time pass they got their token expired and then luckily got assigned to another google server group that work fine, so problem suddenly solved.
[Sony Xperia 1 III] terrylwh:
All of a sudden the google sync problem show up again. I have done nothing but just change the language of my phone, then my Gmail and Play Store suddenly stop working fine. I clear the data of Google Play, Gmail, Download & Download Manager, and sign out of my phone for many times and of coz restart my device , but it still does not work. Maybe I really shall factory reset my phone?
[Sony Xperia 1 III] hotcakes_shinku:
latest update fixed it for a while, then broke again. Gonna factory reset soon when i find the time i guess.

Update: factory reset didn't work. My account stopped syncing about an hour after the factory reset.
[Sony Xperia 1 III] terrylwh:
Same here. My Google Play and Gmail now both do not sync automatically. All previous fix method in this thread did not work. Do not know what to do next. Have you tried any other new way to fix them? Thank you!
[Sony Xperia 1 III] hotcakes_shinku:
in my case, after the update, I logged out my account(s) from all my android devices on the google my account security page. Then I removed those account(s) from my phone. After that I did a hard factory reset from the recovery menu, instead of factory reset through settings. Then I setup my phone as if its new. Its been working since then, but like i mentioned before, my google play auto updates seem inconsistent. I guess I rather live with that than no gmail notifications. Im also giving up on my accounts being on multiple devices if it causes me all these problems.
[Sony Xperia 1 III] hotcakes_shinku:
The fix didn't even last a month. My account is not syncing again after a few weeks of no issues.
[Sony Xperia 1 III] dannejanne:
I think the problem is in Android itself. It doesn't treat Gmail as high priority natively. Other email apps should work fine like Outlook for example.
[Sony Xperia 1 III] cronus101:
Can confirm that my Gmail still syncs normally. @turnturn1225 what about you?
[Sony Xperia 1 III] turnturn1225:
Been syncing just fine since my last post
[Sony Xperia 1 III] hotcakes_shinku:
Today, it decided to fix itself. After giving up, I decided to disable all Google syncing and their related apps (GMail, Calendar, Drive) besides contacts since they don't work and switch to alternatives (Outlook). I've been enabling them every now and then to see if they were magically fixed and so far they continued to not work. Until today, I enabled them again and I started receiving notifications and all of the Google Services are now syncing. I hope this a sign that Google has fixed something on their end and and this doesnt happen again.
[Sony Xperia 1 III] darwinmach:
I think I found the answer (at least for now).

I disabled the following system apps (followed by a reboot) and I get Gmail notifications even when I leave the phone idle for extended periods of time:

Com.sonymobile.wifi

Com.sonymobile.wifi.presetnetwork

Com.sonymobile.smartnetworkengine

Com.sonymobile.smartnetworkengine.ext

It seems like their Smart Connectivity feature which tries to prevent connectivity to poor quality wifi networks and also automatically use your data connection to boost internet connectivity gets in the way. Disabling these apps also seemed to improve connectivity overall. YMMV
[Sony Xperia 1 III] hotcakes_shinku:
I dont think the above works if your notifications are fine in general. Ive been getting every other notification consistently, just google services don't work. the above doesn't seem to fix sync issues on my phone.
[Sony Xperia 1 III] cronus101:
Try clearing your Google services cache. Ie. Gmail, Google news, play, etc. Then restart your phone.
[Sony Xperia 1 III] akitomartin:
Xperia 1 iii updated to Android 12 (UK ver.). I confirm that the problem still continues. All workarounds have been tried without success.
[Sony Xperia 1 III] janlea:
Samsung s9 since yesterday gmail notifications coming through though all my settings set to none driving me mad tried everything to stop them

Help anyone
[Samsung Galaxy Watch 4] pabgar:
This is really annoying

When I start Google Messages on watch, it urges me to install Google Messages on the phone.

I do it but Messages on watch do not "see" installed Messages on phone and keeps me urging to do it

Any solution ?
[Samsung Galaxy Watch 4] galaxys:
Try making it the default message app in settings....
[Samsung Galaxy Watch 4] pabgar:
I did
[Samsung Galaxy Watch 4] dwhisent:
I believe I did the same steps as you, although there was another setting on the watch for the messages app, like enabling notifications both on the phone and watch. I did also uninstall/reinstall messages on both phone and watch. I could read all the messages that were on my phone. But as I posted elsewhere, the watch did not display notifications for new messages, and the only way to read a new message on the watch was to open the messages app on the watch. I found this less than useful. I am using Next SMS until this gets worked out. It pops up a notification on the watch and allows me to read the message with a swipe.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] fayzrus:
Call mod for stable Xiaomi.eu 12.5.6

Video https://mega.nz/file/mr4yxZrR#z-4a8B7uSodpK1D_0qlPCf0SGKOGRh0AQMP2PwrXvu0

Download module magisk : https://mega.nz/file/i7gEDTAS#fesfo2G2uWrR66lx9xnsdyFnWzoTv8Pzw60-jBqgBEc
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] fayzrus:
there is an extensive mod, video here https://mega.nz/file/TngFQACL#55r4-gndq0ShYeO6EeJH4412TSnpMhp6zyGVAPIMX38

In an extensive fashion, write either in a personal or telegram @FRust79
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] cyanGalaxy:
🤣 That statusbar jumping effect looks ridiculous, are you seriously using that? 😂😂
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] fayzrus:
I can turn it off or choose another option, but you have the same?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] cyanGalaxy:
I also use Xiaomi.eu but I don't have any effects lol. Where'd you get that?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] fayzrus:
the mod is written in the title, it turns out I made a module with advanced settings
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] kreizas:
What about sharing extensive mod?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] min-dfreak:
Is it ompatible with One OS?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] fayzrus:
write in a personal or telegram
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] fayzrus:
I think yes, the only thing in the settings in the parameters will indicate that Xiaomi.eu, although this point is not difficult to correct
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] fayzrus:
update on 12.5.14 and on 21.9.17 I'll post the phone mod in two days, there is an extensive mod now, from the new auto brightness mode￼￼￼
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] andry1236:
wow awesome man
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] pakino2004:
Good guy @fayzrus

He was very helpful with my struggle. Thank you
[OnePlus Nord N100 Questions & Answers] junedsidiqui:
ettings put secure device_provisioned 0
[OnePlus Nord N100 Questions & Answers] tebasah:
Any success from this ?
[OnePlus Nord N100 Questions & Answers] tebasah:
Please can u elaborate
[OnePlus Nord N100 Questions & Answers] Longturd:
ADB command? is what ithought i first but i think its build.prop if they still even do that
[OnePlus Nord N100 Questions & Answers] dMonsta86:
the correct command is:

adb shell settings put secure device_provisioned 0

however, no. i have never seen it work (i work in a cell phone repair shop)
[Samsung Galaxy A12] ru_vlad1:
I was looking around in here and so far I found 1 person that has a custom rom which is LineageOS 18 GSI.

Which made me think, do any GSI ROMs work? And if yes, would the Android 12 GSI work too like the one seen here?
[Samsung Galaxy A12] LAST_krypton:
Try it and see what happends it is a Generic System Image so it should work. At the end of the day you can always unbrick the phone. I'm not really interested in GSI 12, I like linage more.
[OnePlus 8T Questions & Answers] alteredstate82:
Hello Everyone,

I recently installed LineageOS 18.1 (build: lineage_kebab-userdebug 11). I have retrieved my Android ID using the ADB commands found here: Device Registration and registered my Android ID a few days ago but Google Play Store still shows: "Device is not certified" under Settings --> About --> Play Protect certification. Is there something I'm doing wrong or something else I need to do in order to get my device certified with Google Play Store?
[OnePlus 8T Questions & Answers] ecompton59:
use magisk hide props config I use the pixel 5 fingerprint and add new props

ro.product.model Pixel 5

ro.product.manufacturer Google

option 5 add those 2 after you change fingerprint you will pass and get stadia discounts just can't run edxposed I do but a few changes in that you fail hope that helps
[OnePlus 8T Questions & Answers] alteredstate82:
Thank you for the info. So you are saying in order to get my device "certified" with Google Play Store I need to root my device, add new props and change my fingerprint (I assume you mean Android ID)? I'm not sure what you mean by: "stadia discounts" or "edxposed". Also, I do not see where I need to root my device in the LineageOS documentation or the Google documentation so I'm still unclear why this must be done. Does Google block LineageOS devices from getting "certified" or something?
[OnePlus 8T Questions & Answers] ecompton59:
long as you used dual sim oos file to unlock your phone it won't unless you do something like that and Google thinks I have pixel 5 see pics I pass
[OnePlus 8T Questions & Answers] azoller1:
Unlocking a bootloader breaks SafetyNet passes. This results in the play store as not being certified which usually hides specific apps such as Netflix and some other banking apps and will break them. Magisk is needed to help with spoofing your device to let the play store know your device is certified. Some ROMs have built in patches in which SafetyNet passes fine without root. I believe lineage does not do this with their ROM, so you will need magisk.

This is actually a decent article which describes this if you desire to read it - https://www.hexnode.com/blogs/safetynet-android-security/