How to get notification without freezing GSF

Search This thread

mmarkq

Senior Member
Nov 29, 2016
65
53
Samsung Galaxy Fold
Hello everyone, I have been carefully reading the 9 pages of this thread.

I have Google services perfectly installed in my Mate 30 Pro 5G since having Chinese firmware with EMUI 11 can be installed without having to resort to applications like Dual Space or downgrade to 10.1 ... and what does interest me a lot is to be able to receive push notifications without having to freeze the GSF apk.

I already did it once with Icebox + ADB and working with the Aurora Store, but I missed the Play Store and Google's location services a lot ... in addition, several paid apps did not work well for me as they had the built-in-purchase system in the Play Store.

That is why I am very interested in looking for a method that allows me to receive push notifications without having to unfreeze the Google Services Framework.

I have also used the Device ID app to copy the code of my GSF and register it on the Google website -> https://www.google.com/android/uncertified/ ... in fact, there I have 2 registered GSF id, the one from 2019 and the current one, since by mistake I deleted the data from Google Play Services last November when I wanted to try something and I had to reinstall all the GMS.

Summing up: This method of the colleague @mmarkq, does it work today? It seems that some do and others do not after waiting a few hours, right?

I am very happy to meet people who are trying the same thing as me. See if you can find a method that works ...

The method still works fine. And there is no magic in it. Everything is about not allowing GSF to run in the background. You may still got play protect notifications sporadically (like I did yesterday after updating Play Services) but that's not a big issue; simply clear data of GSF and restart phone in airplane mode.
 

djrush

Senior Member
Dec 14, 2008
73
27
But, have you been without Play Protect notifications for 20 hours since the last time you did it, or was it the first time and you have been without notifications for 20 hours?
I had for a while freez the gsf and yesterday I activated it again. Since there are no play protect notifications. I don't need the play store. All apps work. For example Android Auto, Maps are work whit good GPS accurately and all notifications work. But now, whit play store all is good too. Comes the play protection notification back, I but my phone in airplane mode, restart it, wait till my gsf ID comes back and deactivated airplane mode. Now, I'm happy whit my phone. I'm now are on 11.0.0.151
 
  • Like
Reactions: luisvalino

luisvalino

Senior Member
Feb 11, 2011
622
50
Honor Magic 4 Ultimate
I had for a while freez the gsf and yesterday I activated it again. Since there are no play protect notifications. I don't need the play store. All apps work. For example Android Auto, Maps are work whit good GPS accurately and all notifications work. But now, whit play store all is good too. Comes the play protection notification back, I but my phone in airplane mode, restart it, wait till my gsf ID comes back and deactivated airplane mode. Now, I'm happy whit my phone. I'm now are on 11.0.0.151

Ok, thanks for your reply.

For me Play Store is very important ... I freezed GSF once since two moths but I missed Play Store too much and some Google location services that didn't work well on my device.
I have a Mate 30 Pro 5G with EMUI 11.0.0.165 ... it's a Chinese device.
GMS are working nice now, my Google account is sync ... all is good.
But I miss push notifications ... which I haven't got them.
Do you recommend me to try this method that is explained at the beginning of this thread? Play Store is important for me and I don't want lose it.
Is it true that if I need to reboot my phone, first I must set my Huawei in Airplane mode? And what will happen with EMUI updates which the phone reboots alone ??
 

terjene

Member
Jul 2, 2008
24
6
First time I tried this it worked, but I got play protect notifications after 12 hrs. Went back to GSF freeze, but I want Play Store so tried this guide again. Now it's been a couple of days and no errors so far. P40 Pro with 11.0.0.151. GMS installed with an old guide from last summer, not using googlifier.
Notifications, gps and Google Play all work ok.

The one or two times I've got play protect notifications error, it was easy to fix (as in the updated guide in first post):
airplane mode
force stop gsf
delete gsf data
reboot
wait less than 5 min for gsf device id to appear
turn of flight mode
 
  • Like
Reactions: luisvalino

luisvalino

Senior Member
Feb 11, 2011
622
50
Honor Magic 4 Ultimate
First time I tried this it worked, but I got play protect notifications after 12 hrs. Went back to GSF freeze, but I want Play Store so tried this guide again. Now it's been a couple of days and no errors so far. P40 Pro with 11.0.0.151. GMS installed with an old guide from last summer, not using googlifier.
Notifications, gps and Google Play all work ok.

The one or two times I've got play protect notifications error, it was easy to fix (as in the updated guide in first post):
airplane mode
force stop gsf
delete gsf data
reboot
wait less than 5 min for gsf device id to appear
turn of flight mode

Thank you !!

Two questions:

*When you said: "Went back to GSF freeze..." -> How did you freeze GSF on your device? ADB + Icebox? Is it necessary if I would have Play Protect notifications later?

*And if you need to reboot your phone anytime ... first of all you have to change to Airplane mode, right? or not?
 
Last edited:

terjene

Member
Jul 2, 2008
24
6
*When you said: "Went back to GSF freeze..." -> How did you freeze GSF on your device? ADB + Icebox? Is it necessary if I would have Play Protect notifications later?

*And if you need to reboot your phone anytime ... first of all you have to change to Airplane mode, right? or not?

I have been using "Multi-Tool 8", from a computer to Freeze / Unfreeze GSF. So had to connect to computer to do the job. Never tried Icebox. My (short) experience is that I don't need to do this any more. If I get Play Protect notifications, just do the instructions in the guide (airplane mode, delete, restart etc).

When reebooting, put the phone in ariplane mode first, reboot, and maybee wait a few minutes before activating data again (might not be necessary to wait).

Windows Defender has started to report Multi-Tool 8 as a trojan (Trojan:Win32/CryptInject!ml), might be a false positive, but don't want to use this program any more.
 
  • Like
Reactions: luisvalino

luisvalino

Senior Member
Feb 11, 2011
622
50
Honor Magic 4 Ultimate
I have been using "Multi-Tool 8", from a computer to Freeze / Unfreeze GSF. So had to connect to computer to do the job. Never tried Icebox. My (short) experience is that I don't need to do this any more. If I get Play Protect notifications, just do the instructions in the guide (airplane mode, delete, restart etc).

When reebooting, put the phone in ariplane mode first, reboot, and maybee wait a few minutes before activating data again (might not be necessary to wait).

Windows Defender has started to report Multi-Tool 8 as a trojan (Trojan:Win32/CryptInject!ml), might be a false positive, but don't want to use this program any more.

So you have two days without errors ... that's ok.
And if you receive an EMUI update that needs Wifi/Data, the phone will be rebooted by itself ... because I don't remember exactly the way but I think the phone first it download the uodate and then it reboot and install all together ... it's a hypothesis ...
 

fromiOS2Android

Senior Member
Dec 29, 2018
278
79
Trondheim
I have been using "Multi-Tool 8", from a computer to Freeze / Unfreeze GSF. So had to connect to computer to do the job. Never tried Icebox. My (short) experience is that I don't need to do this any more. If I get Play Protect notifications, just do the instructions in the guide (airplane mode, delete, restart etc).

When reebooting, put the phone in ariplane mode first, reboot, and maybee wait a few minutes before activating data again (might not be necessary to wait).

Windows Defender has started to report Multi-Tool 8 as a trojan (Trojan:Win32/CryptInject!ml), might be a false positive, but don't want to use this program any more.
Icebox works bretter with commands. Its not so heavy software either. (bytta ut multitool rimelig kjapp siden sist vi snakka mister👍🏼)
 

nando_donk

Senior Member
Mar 12, 2012
58
17
What kind of device have you got?
What do you mean "because I curious" ??
Still no errors currently?
My device p40 pro.
Curuios - > I want to know, if i restart my Phone are notif error show. But i got error when restart without airplane mode.
Now i got no error for 2 Day after fix error with clear gsf And restart on airplane mode.
 
  • Like
Reactions: luisvalino

luisvalino

Senior Member
Feb 11, 2011
622
50
Honor Magic 4 Ultimate
'Play Services' sometimes is updated, and 'Play Store' too. GSF, at this status ... will be updated if it's necessary ?? Sorry for these questions but I want that my Mate 30 works nice :)
 

mcall_r

Senior Member
Mar 13, 2008
358
41
Glasgow
OPPO Find X5 Pro
Are we all saying that we are willing to put up with the nonsense of having to deal with these notification issues in order to have a phone with the best camera?
I just got this phone used and didn't read too much into the Google thing, only that it was possible. Now regretting my purchase as I don't have time to fiddle about every couple of days incase I miss an important email because the push notifications stopped working suddenly!
How realistic is it that we will find root on this device soon without bootloader unlock? And maybe use magisk to come up with a better solution?
 

fromiOS2Android

Senior Member
Dec 29, 2018
278
79
Trondheim
Are we all saying that we are willing to put up with the nonsense of having to deal with these notification issues in order to have a phone with the best camera?
I just got this phone used and didn't read too much into the Google thing, only that it was possible. Now regretting my purchase as I don't have time to fiddle about every couple of days incase I miss an important email because the push notifications stopped working suddenly!
How realistic is it that we will find root on this device soon without bootloader unlock? And maybe use magisk to come up with a better solution?
People have different prioritys. Someone likes to fiddle with their Phone and was aware of the risk when buying the Phone.

I am hopping as you that we see root soon. Then the p40 pro can unleash its potensiale.
 

luisvalino

Senior Member
Feb 11, 2011
622
50
Honor Magic 4 Ultimate
[UPDATE] -> Does anybody got Play Protect notifications today ??

@terjene @djrush @mmarkq @Seresseran1

After do it this way in order to take push notifications ... does Play Protect still working at Play Store if I access to Play Store > Settings > Play Protect ??

Can I use my Bank app to view account balances, movements, etc. ??
Can I make payments (NFC) by my Bank app ??
 
Last edited:

addx972

Senior Member
Mar 19, 2007
318
48
Huawei P40 Pro
Huawei Mate X2
[UPDATE] -> Does anybody got Play Protect notifications today ??

@terjene @djrush @mmarkq @Seresseran1

After do it this way in order to take push notifications ... does Play Protect still working at Play Store if I access to Play Store > Settings > Play Protect ??

Can I use my Bank app to view account balances, movements, etc. ??
Can I make payments (NFC) by my Bank app ??
yes I tested the method it is good but we are a slave because of putting our phone in airplane mode wait, to pay attention to its battery if the phone cuts out ... any way yes if you use this method you will be able to use the application of your bank but not google pay.
 
  • Like
Reactions: luisvalino

luisvalino

Senior Member
Feb 11, 2011
622
50
Honor Magic 4 Ultimate
yes I tested the method it is good but we are a slave because of putting our phone in airplane mode wait, to pay attention to its battery if the phone cuts out ... any way yes if you use this method you will be able to use the application of your bank but not google pay.

Does push notifications work nice on your device?
Have you got GMS installed in? Does Play Store work nice? Have you got any Play Protect notification?

I switch off the Mate 30 every night before going to sleep so I must to disconnect Wifi + Data mobile and turn on Airplane mode ... right?
Battery always I charge since 30-40% remaining.
 
Last edited:

addx972

Senior Member
Mar 19, 2007
318
48
Huawei P40 Pro
Huawei Mate X2
Does push notifications work nice on your device?
Have you got GMS installed in? Does Play Store work nice? Have you got any Play Protect notification?

I switch off the Mate 30 every night before going to sleep so I must to disconnect Wifi + Data mobile and turn on Airplane mode ... right?
Battery always I charge since 30-40% remaining.
push notifications work well
GMS installed playstore works fine

yes you must first cut the wifi activate the airplane mode before switching it off. (for me it's painful I think the GFS will be frozen soon)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 21
    Below is a third version of the guide (ok, it's 3.5). As of January, 15th I've added great finding by @Seresseran1. Thanks man!

    The below guide will provide you with fully working Google services, play store will work, push notifications will work, location accuracy etc. Everything will work until you restart the phone without enabling flight mode first. Then you might start receiving play protect notifications and you have to redo the procedure.

    Prerequisite : GMS has to be installed and fully working without play protect notifications. Any method of installation should be OK, i prefer manual but Googlifier is fine.

    1a. Run following commands using ADB:

    adb shell
    cmd appops set com.google.android.gsf RUN_IN_BACKGROUND ignore
    cmd appops set com.google.android.gsf RUN_ANY_IN_BACKGROUND ignore
    cmd appops write-settings

    1b. Open Settings - Apps - App Launch
    Tap the three dots, select "Show system Processes".
    Search For Google Services Framework.
    Change from Manage Automatically- To Manage Manually. Deselect Options "Auto-launch" and "Run in background". Only secondary launch remains selected.

    2. Put phone in airplane mode. It's very important!
    3. Open Settings, go to Apps, Apps, tap three dots, select Show system processes, find Google Services Framework. Open it.
    4. If you have frozen Gsf defrost it (enable).
    5. Stop it if it's running. Go to Storage, clear cache, clear data. Stop it again if necessary.
    6. Restart the phone.
    7. Do not disable airplane mode yet! Wait few minutes in airplane mode or check with Device ID app if you see your GSF ID.
    8. Disable airplane mode and check play store. If you see error message, close it from task list and try again.

    If you restart the phone without enabling airplane mode first all you have to do is redo above guide starting from point 2.

    If you see play protect notifications do not panic! Enable airplane mode, go to settings, apps, apps, find Google framework services, goto storage, stop it, clear cache, clear data, restart your phone then you should be good.

    I do not use Google apps except maps, but they should work. Remember that using above guide does not mean your device will get play protect certification. So, Google pay will not work for sure.
    4
    Here is what i think::

    1. install gms in one of the backways ( googlefier +++ )
    2. safetynet will not pass anyway because of uncertification
    3.up and running with google services until the error comes up.

    4. Like somone in here earlier mentioned, and i agree, the error comes up when communicating with google servers. I had excactly 8 hours on the second! between errors. Some of you 12 and 24 and on and on. (maybe variety because of where on earth we live or how google "check", i do not know)

    5. The gsf size DOES matter because that is the ONLY common reference all of us in here have to the error popping up. On any "normal" phone with GMS the size of this does not matter because the device is "whilelisted" with google.
    Communication with google will trigger this to come back at some point.

    6. We freeze GSF (google service framwork) with icebox or multitool to stop this communication/check with google and keep the GSF file on "HOLD". (size will not go up and down and no errors occur)

    7. Altso there is linked in this forum to google which is suppose to close down one after one app on uncertified devices. What will happen then? I use google home as normal with frozen GSF. It works 110%. So i stick with frozen gsf for now.
    All is normal , but need to use Aurorastore instead of Play Store. (unfreeze, refreeze for paid app or restore purchase after i format the phone.

    8. GAM (google account manager) i do not belive have anything to do with this at all. ( I might be wrong, but i belive this DOES NOT trigger errors.

    9. About our p40 (pro or plus) showing up as "Nexus, P30 lite, Mate 30, Mate 40 etc is ONLY because the author of the backup file made this backup file on these different units when the "GMS METHOD" you use was born. I do not belive this is relevant for the GSF at all.

    10. After testing alot of different disable this and that and errors and uncertified plus plus plus i now have stop at emui 11 (latest) with frozen GSF all working except google pay. I'd rather have notifications 100% working than 70% working.

    11. I really hope for a future solution for this unit. The P40 is remarkable and I fell in love with emui. I really love the enthuiasm from you guys not giving up this probelm . Keep it going guys!

    12. The end. :) (feel free to disagree with me, this is only my appinion on this)
    4
    Will this break my notification? I really do no want to reinstall all my apps...
    Yes, the best way to have everything working is to repeat the whole process until you get it. And yes, changing GSF ID forces to reinstall/clean current apps.

    This is what works for me (may be different for others):
    0) Disable all location methods (GPS, GLS,...)
    1) Uninstall gsf-fix (in my case it may freeze phone, repeat until you can uninstall). If it's the first time doing the method uninstall any GSF you have already (you start from manual or googlefier method to get Gapps)
    2) Install Gsf10 + Activate GLS in options menu. Settings/Location/Google Location Accuracy
    3) Uninstall current GMS (in my case it may freeze phone, repeat until you can uninstall)
    4) Install GMS2.3 , 2.4 OR an updated GMS apk specific for your phone but for Android 6+ max (apkmirror)
    5) Get GSF ID: install several apps from Play Store. Play protect errors are good here. Device ID apps that show GSF ID need to be reinstalled too. This can take a while or not depending on the model, be patient.
    6) Uninstall GSF10 (stop and clean to uninstall - it may freeze phone)
    7) Install Gsf-fix + Activate GLS in options menu (screen may close when activating, but it may remain enabled)
    8) Reset.
    9) Check Play store, push and GLS enabled. If not go to step 1), it sucks, I know...
    10) install maps, auto. Reinstall or CLEAN data of any app that uses push (normally a clean is enough and you only need to login in the app again)
    11) For Android auto , update GMS manually with apk for your model/Android (Android 6+ max version of GMS). If you didn't get it already in step 4
    Extra) Don't update GMS from Play store ANYMORE. Always try an updated apk from Apkmirror or similar.

    EDIT: For some, GLS works by disabling ALL Location methods before installing a fresh Google Maps and accept when it asks for them. You can disable before doing any step and try this on step 10.
    4
    for everyone who uses gsf 1.1.8 and have google accuracy problem. Or push notification can't run together with gls. Try remove your GAM(google account manager). It's work for me. I find this from the video. The author not have GAM when installed the patch. Thanks
    3
    Ok, let try this (i am not good with video)
    I needed to get errors and apps not working to do screenrecording.
    Thats why i took so long, sorry.

    See this video:

    You can see that the xplora app in the video is black. (screen recording will not record this app due to sensitive information, its my kids GPS watch ) but its not working in the start and fully working in the end.

    My play protect error does not show because i removed them, but they are there.
    You can se the google home is not working first.
    When i am finish with the video you can see evrything works, at least for me.
    But i do not like this unfreeze. i think it is unstable.

    The steps are as in the video:

    1. force stop GSF, clear gsf data, cache (see video)
    2. force stop google services, CLEAR BUFFER only (see video)
    3. Its done. (as shown in video)

    Now you see my play store is working, notifications are working until i get error later during the day. (GSF kb exceeded?) Hope this help those of you wanting to have it unfrozen, but not for me.

    You see no need for restart or plane mode. This works for me, but might not work for you.

    I will look into this post for updates from you guys. i really want an unfrozen solution. any feedback on the ictfix solution 3?

    Let me know if video is not working please

    EDIT : DO NOT USE THIS METHOD! TO MANY REPORTS OF FAILS!