Google Maps Timeline stopped working - Magisk

I have rooted my s20 Ultra on Android 10 and 11. In both cases, Google Maps have stopped tracking my gps movements in the Timeline, it keeps thinking I am at home. It works fine providing me navigational directions, its just not recording in the Timeline. The only module I have installed is Energized Ultimate adblocker.
I gave Google Maps full permission, my phone is detected and managed in the Google accounts device management. I am not sure what else I am missing.
Android 11
Magisk 21.1
Manager 8.0.3

That sounds like the hosts file Energized is using is blocking whatever address Timeline is using. To verify you can disable the module, reboot and try again. If that's the case you can figure out what address it is and whitelist it.

Didgeridoohan said:
That sounds like the hosts file Energized is using is blocking whatever address Timeline is using. To verify you can disable the module, reboot and try again. If that's the case you can figure out what address it is and whitelist it.
Click to expand...
Click to collapse
I wiped my phone and didn't install any magisk modules this time. I drove around for 30 minutes and Google Maps still show me as being at home in the timeline. Another weird thing is that everytime I reset my phone, Google keeps track of the current device. Should Google being deleting the duplicates?
Update-trying to flash again

That was the best guess I had... Every time you reset your device it'll get a new ID, and you'll have to remove the duplicates yourself in Google's settings.
Some (yours truly included) would consider it a good thing that Google doesn't track your whereabouts too much... But, I hope you get things sorted the way you want them.

Related

Sony Stock ROM without Gapps

I've been trying to get the GAPPs off my Z3C one by one. I root the phone, I start removing GAPPS, eventually I remove something that causes a bootloop and I have to restore the system partition and start trying again. Is there any existing ROM for Z3C which is the basic Sony ROM (as in the camera works, etc) but without GAPPS?
Thanks!
I'd also like to know this, without reinstalling or risk of bootloops if possible.
Would actually like to use features of the phone without google calling back home with timestamped records of every network ever connected on, every app used and apps calling back through gapps api so google can squirrel away location and wifi memory to your google identity forever. Maps would be useful.
Theseum said:
I'd also like to know this, without reinstalling or risk of bootloops if possible.
Would actually like to use features of the phone without google calling back home with timestamped records of every network ever connected on, every app used and apps calling back through gapps api so google can squirrel away location and wifi memory to your google identity forever. Maps would be useful.
Click to expand...
Click to collapse
You can disable a lot of this stuff (assuming you have root) using AFWall+ and in the Apps Manager settings, I leave google play services disabled. This mostly works. Where I'm having an issue is that I'd like to install micro gms core https://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616 as a replacement for some of these things, but to do that I need to get a clean rom without GAPPS.
Another big issue for me is that, like you, I don't really want Google continually phoning home and such. For me, battery life and simply controlling my own network activity is my main motivation. But anyway, I would be almost really happy to live with google play services simply disabled, and then re-enabling it every once in a while when it's useful (a lot like how I use location), but the issue is that if you try to disable google play services then you get "would you like to remove any updates and go back to the default"? If you click "yes", then reenabling that service means that you have to redownload the updates. I'd be equally happy to live with google play services if I could enable and disable them at will without having to reupdate/uninstall updates every cycle. As it stands, I just live with them disabled. Since I have them disabled, I'd love to go ahead and remove them and try a substitute, thus my question in the OP.

[Discussion] Snapchat Locked Accounts Thread Magisk

This forum is meant for people who are getting locked out of their accounts due to "3rd Party Plugins or Applications"
We need to stop this from happening so share your experiences and thoughts on the matter.
I have 2 devices: a Nexus 6P running Pie (Pixel Experience) and a Pixel 3XL on the stock Pie rom. Both are rooted with Magisk Canary builds and both have Magisk Hide turned on. Snapchat never detects root on the Nexus but ALWAYS detects it on the Pixel. I've even repackaged Magisk on the Pixel but that doesn't help. I've read that it's easier for apps to detect root on A/B partition devices so maybe the newer, updated Snapchat apps have code to detect it. When I have time, I'll try an old version and see if it works...
Note that I don't believe Snapchat bans just by detecting root. It is detecting certain apps that are somehow triggering it. If you check the list of apps that you have given permission for superuser, it would be one of those. The app that I had that was triggering Snapchat was an app named app ops. I had downloaded it and just giving it permissions alone was getting me banned on Snapchat. I think this problem only affects users running Oreo or higher for whatever reason. I myself had an old phone running marshmallow with app ops and never experienced a ban. I don't think that any of the people reporting the problem had anything lower than Oreo. If you have somehow discovered the app causing your problems, uninstalling it may not fix your problem. I had to wipe my phone in order to fix it because I was still receiving bans despite uninstalling the app that was causing my problems
I've never installed app ops so that's not my problem.
As for A/B partitioning, I'm on a Samsung galaxy Note 8 and it didn't come out with this on my device so yeh ?
The main thing I found out that I had to do, was repackage the manager and I haven't been banned for the last 4 days
I am on the S8 plus and was locked out for 12 hours before. Snapchat continued to lock me out even when I fully uninstalled magisk. I decided to clean install a different Rom which seemed to do the trick. A month later I decided to go back to my original Rom and guess what? Can't even login coz of some mod I think.
So I would say it depends on what mods you have installed yourself or packaged with the custom ROM.
Snapchat ban
I have same problem. Yesterday they gave me ban but i was unbanned with their site. But today they give me one more ban but now is for 24h ... anyone know how to fix snap or maybe hide root? S7 9.0 blackdiamond v3
Downloaded an early January 2019 version of Snapchat and signed up for a new account on my Pixel 3XL. All was good at first then I closed the app. When I tried to sign back in, I got the "problem connecting to server" error which requires an update to the most current version. I updated and after just a few hours, I got the "12 hour account locked" message for "3rd party apps". I've had Magisk Manager repackaged but that obviously didn't help. BTW, I have not repackaged Magisk on my Nexus 6P and it's still works. I found a comment by a user of the Bitmoji app (which I use on my Pixel but not my Nexus) that reported his Snapchat was locked by this app so I uninstalled it. We'll see how it goes when my 12 hour ban is up...
Update: I uninstalled Bitmoji. I also added the systemless host module in Magisk and enabled systemless mode in Adaway. That is supposed to prevent Adaway from modifying the system partition but neither worked. I'm on a 24 lock now....
newkydawg said:
Update: I uninstalled Bitmoji. I also added the systemless host module in Magisk and enabled systemless mode in Adaway. That is supposed to prevent Adaway from modifying the system partition but neither worked. I'm on a 24 lock now....
Click to expand...
Click to collapse
What apps have you given superuser? The app causing you problems is likely in that list
I had this happen before to me, i uninstalled edXposed and i was able to use snapchat even while on a 24 hour ban
iMystic said:
What apps have you given superuser? The app causing you problems is likely in that list
Click to expand...
Click to collapse
Nope. I have the same apps on my Nexus 6P and it doesn't get locked out. In fact, my wife's Nexus 6P has the same apps, is rooted with SuperSu and she doesn't get locked out so IDK...
newkydawg said:
Nope. I have the same apps on my Nexus 6P and it doesn't get locked out. In fact, my wife's Nexus 6P has the same apps, is rooted with SuperSu and she doesn't get locked out so IDK...
Click to expand...
Click to collapse
I don't know if this would affect you but an app that was causing the problems on my phone with Android 9.0 has no affect on an old phone running Android 6.0.1. I don't know why this happens but if you were running a new version of Android such as Android 9.0, an app that may not cause problems on your 6P may cause problems for you. And again, I have no idea why this happens but I can guarantee that was my problem and I haven't had a ban since
iMystic said:
I don't know if this would affect you but an app that was causing the problems on my phone with Android 9.0 has no affect on an old phone running Android 6.0.1. I don't know why this happens but if you were running a new version of Android such as Android 9.0, an app that may not cause problems on your 6P may cause problems for you. And again, I have no idea why this happens but I can guarantee that was my problem and I haven't had a ban since
Click to expand...
Click to collapse
Both my Pixel 3XL and Nexus 6P are running Android 9 rooted with Magisk Canary (19005). Both have the same apps with superuser rights. All this to say that Snapchat was working fine on both for months and for about the last 6 weeks, my Pixel 3 XL's account gets locked and my Nexus 6P does not.
Thanks for trying to help and glad you figured your problem out.
I'm copying this from the SnapFreedom thread who's problems obviously mirror your own. I'll be editing parts out, but some of it should still apply if you guys are getting locked out.
XPrivacyLua
Install it from FDroid or Xposed Repo and check the boxes for "Determine activity" and "Get applications" in Snapchat's tab. You can also enable "Get location" to spoof your location and still use SnapMaps.
Magisk
A few points, these probably don't apply, but they're still worth doing.
Repackage it through Settings -> Hide Magisk
Make sure to block all components under "Google Play Services" and "Google Play Store". There's a few things that aren't blocked by default that might trigger SafetyNet.
Snapchat
Hoo boy...
Don't use anything higher than, and including, 10.41.6.0. It's pretty much a ban-fest. With SnapTools, we use 10.20.5.0 and 10.26.5.0. Those are probably your safest bets. Also, if you plan on downgrading, use any 10.39 app. Something in how logins work has changed in the later versions, so apps like Preferences Manager don't work.
Theming your app should be okay. I did it for months and never got a ban.
Only give it the bare minimum permissions. Storage, Camera, and Microphone. Location too, if you're into being tracked by your friends and Snapchat.
Do NOT use modified apps. At all. Ever. They're the easiest things to detect.
If you want to block ads reliably, you can use this Magisk Module. This WON'T stop bans.
Snapchat also logs your device ID. If you've received a temp-ban prior to this, make sure to change your Device ID. If you're on Oreo, you can use this app. If not, you can use Titanium Backup to change it. The latest version with this function is version 8.2.2. But honestly, the most reliable way is to reflash your ROM.
TevW said:
I'm copying this from the SnapFreedom thread who's problems obviously mirror your own. I'll be editing parts out, but some of it should still apply if you guys are getting locked out.
XPrivacyLua
Install it from FDroid or Xposed Repo and check the boxes for "Determine activity" and "Get applications" in Snapchat's tab. You can also enable "Get location" to spoof your location and still use SnapMaps.
Magisk
A few points, these probably don't apply, but they're still worth doing.
Repackage it through Settings -> Hide Magisk
Make sure to block all components under "Google Play Services" and "Google Play Store". There's a few things that aren't blocked by default that might trigger SafetyNet.
Snapchat
Hoo boy...
Don't use anything higher than, and including, 10.41.6.0. It's pretty much a ban-fest. With SnapTools, we use 10.20.5.0 and 10.26.5.0. Those are probably your safest bets. Also, if you plan on downgrading, use any 10.39 app. Something in how logins work has changed in the later versions, so apps like Preferences Manager don't work.
Theming your app should be okay. I did it for months and never got a ban.
Only give it the bare minimum permissions. Storage, Camera, and Microphone. Location too, if you're into being tracked by your friends and Snapchat.
Do NOT use modified apps. At all. Ever. They're the easiest things to detect.
If you want to block ads reliably, you can use this Magisk Module. This WON'T stop bans.
Snapchat also logs your device ID. If you've received a temp-ban prior to this, make sure to change your Device ID. If you're on Oreo, you can use this app. If not, you can use Titanium Backup to change it. The latest version with this function is version 8.2.2. But honestly, the most reliable way is to reflash your ROM.
Click to expand...
Click to collapse
There are all the reasons why i purely stopping to use Snapchat, and also due to the fact that the application is so badly optimized for Android (even since the complete redesign of the application), in the end considering my use so irregular, I just uninstalled it, so no problem.
The time of Snapprefs and Snaptools was fun and funny, and especially less vicious as a concept than the basic one.
The good old days, but all good things must come to an end.
Rom said:
snip
Click to expand...
Click to collapse
It's what happens when a company becomes complacent and puts more effort into blocking modifications instead improving their terrible app.
Update:
About 2 weeks ago, I flashed the May rom update for my Pixel 3 XL, installed Snapchat ver. 10.41.6.0, hid SC and all components of Google Play Services and Google Play Store in Magisk and I haven't been banned! I detach SC from the Play Store with TiBu but it somehow gets reattached. I just don't update it. Thanks @TevW !!!
I have got a problem, I have a Nokia 7 Plus, stock fw no changes at all!
And I keep getting banned... Support is a joke, I just get automatic replies...
The only reason i may have for getting bans is if snap scans the sd card, where I have magisk and roms files from other devices...
Any tips ???
newkydawg said:
Update:
About 2 weeks ago, I flashed the May rom update for my Pixel 3 XL, installed Snapchat ver. 10.41.6.0, hid SC and all components of Google Play Services and Google Play Store in Magisk and I haven't been banned! I detach SC from the Play Store with TiBu but it somehow gets reattached. I just don't update it. Thanks @TevW !!!
Click to expand...
Click to collapse
I tried to follow the instructions but snapchat keeps saying there was a connection problem with the server.
TevW said:
I'm copying this from the SnapFreedom thread who's problems obviously mirror your own. I'll be editing parts out, but some of it should still apply if you guys are getting locked out.
XPrivacyLua
Install it from FDroid or Xposed Repo and check the boxes for "Determine activity" and "Get applications" in Snapchat's tab. You can also enable "Get location" to spoof your location and still use SnapMaps.
Magisk
A few points, these probably don't apply, but they're still worth doing.
Repackage it through Settings -> Hide Magisk
Make sure to block all components under "Google Play Services" and "Google Play Store". There's a few things that aren't blocked by default that might trigger SafetyNet.
Snapchat
Hoo boy...
Don't use anything higher than, and including, 10.41.6.0. It's pretty much a ban-fest. With SnapTools, we use 10.20.5.0 and 10.26.5.0. Those are probably your safest bets. Also, if you plan on downgrading, use any 10.39 app. Something in how logins work has changed in the later versions, so apps like Preferences Manager don't work.
Theming your app should be okay. I did it for months and never got a ban.
Only give it the bare minimum permissions. Storage, Camera, and Microphone. Location too, if you're into being tracked by your friends and Snapchat.
Do NOT use modified apps. At all. Ever. They're the easiest things to detect.
If you want to block ads reliably, you can use this Magisk Module. This WON'T stop bans.
Snapchat also logs your device ID. If you've received a temp-ban prior to this, make sure to change your Device ID. If you're on Oreo, you can use this app. If not, you can use Titanium Backup to change it. The latest version with this function is version 8.2.2. But honestly, the most reliable way is to reflash your ROM.
Click to expand...
Click to collapse
Does this mean that I can't use energized adblock magisk module? Do I have to use only the Snapchat adblock magisk module that you linked for any kind of adblocking on the device.
Thanks!

[QUESTION] SafetyNet passed and device certified, but no Netflix on Play Store

Basically what the title says. I know is not a big deal not having Netflix, Mario Run or Mario Kart (maybe more, those are the ones I use) on Play Store, but it is useful for auto updates.
AFAIK this happens when Play Store is not certified or detecting unlocked bootloader. Now, the thing is, I have everything hidden in Magisk, SafetyNet pass on both Magisk and this app:
https://play.google.com/store/apps/details?id=com.scottyab.safetynet.sample
And weirdly enough, they seem to show up from time to time. How exactly does this work? Is it a play store detection thing, or is it some kind of flag on google's database? Because from the web, the apps shows as "not compatible" with my phone (when they don't appear on the phone, when they appear they are compatible on the web as well).
Sometimes I clear the data of play store and play services, but it doesn't seem to work, or seems to work randomly. I also tried clearing google services framework data, and it helped a couple of times, although I don't do that know, it mess up with apps and I learned that the hard way hehe
I'm just trying to figure out the google handling of this, and maybe a permanent solution from there.
I have a Xiaomi Mi 10 Pro with MIUI 12 (xiaomi.eu), Magisk and Xposed (phone's fingerprint is faked from an untouched phone and I can pass all the tests and use GPay, have Widevine L1... so all seems ok execpt for the apps things, which is beginning to bug me.
Thanks in advance.
I managed to get the apps showing on the store by doing these steps:
-Disabling internet connection on the phone
-Wiping play store and play services and rebooting
-Logging out from the device through the google security panel website
-Waiting 30min to 1h.
-Enabling internet again.
Then the apps were compatible again, as I can see on the play store web (not the app).
BUT, after 24h hours, or a bit less actually, they AGAIN appear as NOT COMPATIBLE on the play store web.
I'm trying to figure out why this may happen. Any clues? Thanks!
eXtremeDevil said:
I managed to get the apps showing on the store by doing these steps:
-Disabling internet connection on the phone
-Wiping play store and play services and rebooting
-Logging out from the device through the google security panel website
-Waiting 30min to 1h.
-Enabling internet again.
Then the apps were compatible again, as I can see on the play store web (not the app).
BUT, after 24h hours, or a bit less actually, they AGAIN appear as NOT COMPATIBLE on the play store web.
I'm trying to figure out why this may happen. Any clues? Thanks!
Click to expand...
Click to collapse
Hi, not sure if this answer will solve your problem, I'll post anyway.
I needed an app available only in US on time. So I got a VPN and connected it. But the app still wasn't available. So I force closed the app and cleared the data (only for the play store) and it worked perfectly.
I know you already cleared data. But this time, try those steps, maybe it'll work:
1- Enable Magisk Hide
2- Force Close Play Store
3- Clear only the Play Store Data
4- Launch the Play Store and see if it worked
Hope this will help.
Have a good day
Thanks for the answer, but I think the problem is a bit more complex than that. Yesterday I re-did all my steps again and I got this:
This time I have not turned off my phone since then, and the "compatibility" is maintained. I will try to stay another 24h with my phone on, then I will turn it off on tuesday night and see what happens.
Also, I think this post would be more useful in the Magisk thread, maybe? Could an admin move it there?
Thanks!
@eXtremeDevil
The "incompatible with your device" message is only shown if you open Google Play Store in PC's browser., not if you run Google Play Store on phone: there an incompatible app simply isn't listed.
Your issue has nothing to do with fact that Magisk is installed on your phone.
Download APK from another market. Open it with 7zip or any other unpacker. Look inside extracted file Manifest.xml for any app's restrictions.
jwoegerbauer said:
Your issue has nothing to do with fact that Magisk is installed on your phone.
Click to expand...
Click to collapse
Then where's the issue? Netflix is obviously compatible, is not a "real" incompatibility. Seems to me that google play store or services detect something on the phone then tell google servers to flag those apps as incompatible, therefore they are NOT shown on the phone and listed as "incompatible" on the web.
What I'm trying to do is to prevent this, prevent the phone from detecting whatever it is detecting and prevent my phone services to tell to google services/servers/database/whatever.
Because I can assure you, before rooting/Magisk this did NOT happen. So no, this is not a "real" incompatibility issue. Actually, as you can see on my screenshot, it IS compatible right now xD Who knows how many hours will this time last...
@eXtremeDevil
If your statement "SafetyNet passed and device certified" - what indicates Magisk gets not detected - is actually still true then turn on your mind.
That's the kind of help I'm asking here, AGAIN, my device is FULLY compatible with Netflix or Mario Run. I installed them through Play Store with no issues and I can run them with no issues. BUT for some reason, even passing SafetyNet and being the device certified, sometimes google detects something that makes those apps incompatible, and no, is it not the hardware or the ROM, is a security related issue, only I don't know which one.
OK, so today after 3 or for days without issues (and without rebooting) I rebooted the phone and the problem went back. I wiped both play store and play services data, rebooted three times and so far so good. Let's see what happens.
Could any forum moderators move this thread to the Magisk subforum?
Thanks.
eXtremeDevil said:
OK, so today after 3 or for days without issues (and without rebooting) I rebooted the phone and the problem went back. I wiped both play store and play services data, rebooted three times and so far so good. Let's see what happens.
Could any forum moderators move this thread to the Magisk subforum?
Thanks.
Click to expand...
Click to collapse
Nice to see it worked
(I'll ask the mods for the thread to be moved, if you wanna do that yourself next time just report your thread and select "thread moving")
Raiz said:
Nice to see it worked
(I'll ask the mods for the thread to be moved, if you wanna do that yourself next time just report your thread and select "thread moving")
Click to expand...
Click to collapse
Thanks for the moving trick, I didn't know that
Ask for the problem, is not actually fixed, I still lose those apps from time to time, and I'm still looking for a cause and for a definitive solution
It happened again after 2 or 3 reboots. I suspect the culprit is EdXposed or one of its modules. What I can't understand is why my other phone doesn't have that issue, or my girlfriends phone, that actually has the original Xposed...
I was seeing a similar issue. Without Magisk installed I was able to download Netflix from the Play store without issue. After Magisk installed and pass CTS, going back to play store Netflix app page showed red error msg, "This app isn't compatible with your device anymore. Contact the developers for more info." Force stop Play Store, clearing cache/storage resolved issue.
Curious but did you try setting the Magisk Manager option to hide and rename the manager package? Also if you have either ed/xposed, did you check if installing SudoHide module and hiding Magisk Manager from Play Store turns out different results? Doing the latter will remove Play Store (or any app you hide from Magisk through SudoHide for that matter) from the Magisk hide app list, something to keep in mind in case you need magisk hide enabled for play store, but I'm assuming you don't need to since you tried that already to no avail. Otherwise I'm curious to know if either, both, or neither solves this issue.
mr3p said:
I was seeing a similar issue. Without Magisk installed I was able to download Netflix from the Play store without issue. After Magisk installed and pass CTS, going back to play store Netflix app page showed red error msg, "This app isn't compatible with your device anymore. Contact the developers for more info." Force stop Play Store, clearing cache/storage resolved issue.
Click to expand...
Click to collapse
Yes, that seemst to work. I think I also need to clean Play Services app as well.
mario0318 said:
Curious but did you try setting the Magisk Manager option to hide and rename the manager package? Also if you have either ed/xposed, did you check if installing SudoHide module and hiding Magisk Manager from Play Store turns out different results? Doing the latter will remove Play Store (or any app you hide from Magisk through SudoHide for that matter) from the Magisk hide app list, something to keep in mind in case you need magisk hide enabled for play store, but I'm assuming you don't need to since you tried that already to no avail. Otherwise I'm curious to know if either, both, or neither solves this issue.
Click to expand...
Click to collapse
Tried that, didn't work. And yes, I have the manager renamed to something random.
SafetyNet does not pass 100% of the time, the clear data works but only for a while, I guess there's nothing to be done here...

How to get google notifications working without gms or sketchy downloads

Hey guys, long time lurker around xda and after purposely getting a huawei gms-less phone to see how it would go I ran into some frustrations learning that apks from the playstore whether from downloads or aurora store app etc, nothing would deliver notifications. My huawei is a nova7se but I had a friend test this on his and it is working as well so I presume it works for all huawei/googleless devices to a point.
The goal of this was to find a way to get notifications from playstore apps such as discord, outlook email , banking apps etc. This is not a replacement for google services apis needed for games or google apps which rely on services framework to operate in general.
A few things
-MUST BE CLEAN GOOGLE-LESS PHONE**
-Does not need root/bootloader unlocked
-Does not need sketchy downloads from random sites formatting recovery/ota/hisuite backups etc
-Mostly all open source
-Easily reversible and minimal risk
-All done through phone without additional mods or adb
-Not all apps will work for notification services for this depending on how the original developer team wrote the app to handle this situations. For example: discord, outlook, capital one bank, chase bank, apps work but protonmail did not want to connect to microg for notifications and I have not been able to successfully trick it to connect to it yet)
- APKS MUST BE FROM PLAY STORE ORIGINALLY. Using fdroid variants or personal stuff probably wont work since those packages did not rely on google notification services. I know some apps have a standalone apk you can download externally from the source but it may differ in its functionality.
-THIS IS NOT GOOGLE PLAY SERVICES AND WILL NOT MAKE GOOGLE APPS WORK. The reason it is not working for your google apps and games is because it was never supposed to. Dx
**By "google-less" phone I am referring to not having any leftover packages from attempting to install gms on the device. Google packages conflict with microG and will not be compatible. If you have used lzplay or other methods to attempt to get some form of playstore working, then you will most likely have google packages installed somewhere even if it failed to get GMS working perfectly. Keep this in mind if you get installation issues. Ideally if you are not using the phone as a daily, factory reset it to original settings if possible to ensure cleanest install if you want to pursue this.
STEP 1)
Download microG apps.
-microG services core
(optional)
- **microG services framework proxy
- **microG droidguard helper (? no idea if this is needed but was in my downloads for microg testing)
**the services framework proxy and droidguardhelper were part of the original experiment but later on I managed to get notifications running without needed either one of these.
Easiest way is to use fdroid store app and to add in microg repo found here.
https://f-droid.org/
https://github.com/microg/android_packages_apps_GmsCore/wiki/Downloads
Step 2)
Open microg settings app - self check
-Signature spoofing will not work because we have no access to anything on the phone system wise
-Installed packages should have "playservices gms core installed" and "services framework installed" checked only (see picture)
-Grant permissions and select to ignore battery optimization (so the service is not closed in background)
Step 3)
MicroG settings main menu
-Turn on google device registration
-Turn on google cloud messaging
-Turn on google safetynet (probably is not actually doing anything but turn it on for good measure)
-Add google account (Does not appear to be needed since it did not do anything specific relating to notifs)
Step 4)
Download aurora store.
https://f-droid.org/en/packages/com.aurora.store/
or
https://gitlab.com/AuroraOSS/AuroraStore
Fdroid route is easiest if you used it to install microg apps.
(Why aurorastore? Why not? The main reason is because it accesses google play store apps which inturn are the apks which are known to use google play services for notifications. Downloading an apk from another origin might not be the playstore version making it not really work with this process)
Step 5)
Download apps as needed with aurora store,
In phone settings, make sure you disable auto management of background apps.
Settings-battery-applaunch. Set apps like outlook, discord etc to manual and turn all settings to on (auto launch/run in background/secondary lauch).
Optional step 6) In aurora store settings , add microg apps to blacklist so aurora store does not try to update microg with play services which will erase micro g and give you a systemless apk of play services which does absolutely nothing.
Thats basically it. I was so caught up on trying to find ways to break into my nova 7se's bootloader and attempted to sideload microg for authentic playstore functionality and playservices but as long as notifications are working, aurora store + notifs is all the functionality I need.
No offense to those offering other ways to add in gms to huawei phones but as a security minded individual, it seems like too much of a risk to use randomly hosted internet files overwriting system functionality.
If you go into microg settings and under "google cloud messaging" you can see which apps are being monitored for notifications. Once I restarted my device, its status turned to disconnected but still catches notifications for outlook and discord as I tested. This is not using microg as a replacement for playservices because again this is ONLY FOR NOTIFICATION USAGE in this implementation.
Hope this helps anyone who wants to be able to use some google play apps but had notification issues.
It is not working as i kept getting error to install microG Services Core due to "Failed to install due to an unknown error" on my Huawei P40 Pro
zoold3vil said:
It is not working as i kept getting error to install microG Services Core due to "Failed to install due to an unknown error" on my Huawei P40 Pro
Click to expand...
Click to collapse
If you have any google core packages installed (even as regular systemless apps) or leftovers from previous attempts at getting gms installed then it will conflict with microg installation since it sees it as a conflicting app. This requires a clean almost factory emui without any remnants of google installation attempts. Ill update the initial post for that bit of info.
This is only for notifications, right?
I mean, this doesn't allow you to use YouTube, Gmail, Keep etc...?
i did played with microG Services as well befire... but ended up in still having the original play services installed, did tested now again with microG services and now, outlook, whatsapp, Microsoft Authenticator and Launcher only force closes... what ah mess
futureshock said:
i did played with microG Services as well befire... but ended up in still having the original play services installed, did tested now again with microG services and now, outlook, whatsapp, Microsoft Authenticator and Launcher only force closes... what ah mess
Click to expand...
Click to collapse
Don't worry, you just have to reinstall every app that force closes.
sheikgr said:
This is only for notifications, right?
I mean, this doesn't allow you to use YouTube, Gmail, Keep etc...?
Click to expand...
Click to collapse
Correct. I stumbled upon this accidentally while trying to figure out a way to enable 'oem unlock' in my nova7se since huawei blocked even adb shell sysprop access to change the setting. Its not a full implementation of microG and probably is not intended to be used this way but it gets notifications through which is a plus when pulling apks from play store. Theres no xda forum for the nova7se but figured Id share it here D:
futureshock said:
i did played with microG Services as well befire... but ended up in still having the original play services installed, did tested now again with microG services and now, outlook, whatsapp, Microsoft Authenticator and Launcher only force closes... what ah mess
Click to expand...
Click to collapse
Yea unfortunatly any attempts with getting original play services installed sort of messes with this. Preferably a clean install/phone reset is ideal starting point. App wise you might have to clear cache and data so it 'resets' which is almost the same as uninstalling and reinstalling the apps. You will still get the message that "this app wont function without play services" since you cant spoof it entirely and on some you might have to find the setting to turn notifications off and back on in the app themselves. If it shows up on microG's setting under 'google cloud messaging' option, it is working. Ive been using the nova7se for a couple days now testing it as a daily user, restarted it occasionally and things are functioning similar to regular android phones(notification wise). Just be sure to allow the app to run in background so the system battery saver/app launch process does not turn it off.
as i say'd i did played a little bit with microG services, but for example, even when reinstalling the apps afterwards, whatsapp does start, and you need to relogin, but on the restore backup screen nothing more happens, only loading forever, when microG Services are installed..
another interessting i found out right now, when the apps force closes, when putting the phone into airplane mode, the apps does open normally!
futureshock said:
as i say'd i did played a little bit with microG services, but for example, even when reinstalling the apps afterwards, whatsapp does start, and you need to relogin, but on the restore backup screen nothing more happens, only loading forever, when microG Services are installed..
another interessting i found out right now, when the apps force closes, when putting the phone into airplane mode, the apps does open normally!
Click to expand...
Click to collapse
Oh ok I get what you are talking about now. Backup functionality (for whatsapp) I believe uses google drive account which microG in this sense is not going to provide. Just a friendly reminder that this process is for push notifications only and not google api usage. provided by play services
futureshock said:
as i say'd i did played a little bit with microG services, but for example, even when reinstalling the apps afterwards, whatsapp does start, and you need to relogin, but on the restore backup screen nothing more happens, only loading forever, when microG Services are installed..
Click to expand...
Click to collapse
maybe i found there a bug of whatsapp... as whatsapp trys to find google drive... but does not work correctly it loads forever... for some reason it looks like it ah hidden error message or something like this... i hit back a couple of times, and closed whatsapp and reopend, and suddenly i saw the no backup found page... anyway still all this is BS, i really hate huawei for not unlocking the bootloader, and let us just do what we like to do... there wouldn't even be an issue with GMS anymore as we simply could flash openGapps
So, you did found a new way, GMS + HMS enabled with no notification error? Am i right?
hayals said:
So, you did found a new way, GMS + HMS enabled with no notification error? Am i right?
Click to expand...
Click to collapse
So the statement is a bit misleading, this is not really GMS but its a way to use 3rd party play store apps that would not give notifications because of play services missing. This will only cover the notification portion of apps/apks originally found in the playstore that require notifications through play services push notifications. I have not touched HMS or anything else but this basically inserts a listener under microG to monitor push notifications and deliver them as needed. Again this does not resolve the issue of missing google APIs found in the full GMS package and is not intended to do so. Strictly notification wise for apps that need them.
Personally I used aurora store to get apks from playstore without needing playstore installed (because playstore version apps are looking to use googles push notification services) but how those apps function is another story. For example: Youtube/maps/google pay etc will not work as they need google apis. But 3rd party apps like discord, outlook email, and banking apps like capital one etc do work. Games might not because they might want play games api which is not present here since this is not GMS. (Tried to fun cytus 2 and a few other games and it wouldnt start since license check fails by default)
To my knowledge this will not work with any other GMS procedure attempted so you cannot combine this with a working GMS hacked install since you will have a version of play services and gsf framework active. Think of this as another alternative entirely in a way if you want to not risk questionable modifications and want to stay on default HMS software. Idk what the future holds as huawei seems to block ways to get GMS on phones after they become popular so I see this as an alternative to the unknown with pulled playstore apks functioning as they should.
GMS and this fix won't cooperate.
I've been using this for a while, but sadly not apps are giving me notifications. Reddit for example is not sending anything to my phone.
I did a factory reset on my P40 Pro followed the guide and when you wrote to add an account I do so, I press Agree and then it stays on
Just a sec
Your device is contacting Google to
save information on your account
This can take a couple of minutes
Sorry
There was a problem communicating with Google Servers
Try again later.
And anything like games that use google to login it fails too
GrimTech said:
I did a factory reset on my P40 Pro followed the guide and when you wrote to add an account I do so, I press Agree and then it stays on
Just a sec
Your device is contacting Google to
save information on your account
This can take a couple of minutes
Sorry
There was a problem communicating with Google Servers
Try again later.
And anything like games that use google to login it fails too
Click to expand...
Click to collapse
Unfortunatly for something like that theres too many factors at play to trouble shoot that from my end. I would say to try a different default browser/vpn it etc as it could be any number of reasons why google servers arent connecting for it. Games that use google wont work because this is not google play services replacement. This was only intended for getting notifications working with most* apps that rely on a simple push notification service through google play services. Unfortunatly this isnt a guarentee depending on the app itself and where its pulled from . This was why I use/suggest aurora store since its pulling the playstore version of the app which almost always relies on google services for notifications.
Some apps like discord, outlook etc have a manner of continuous notification scanning in the background processes to try to get itself to connect to a push service even if they give you the error that "the device does not have google services and might not work properly". I can confirm those are working as are my banking and authenticator apps. I had an issue with proton mail specifically where it wouldnt attempt another push notification check to register with microg like the previous apps and wont recieve notifications. Its not a magic bullet but helps where it works.
Vexusia said:
If you have any google core packages installed (even as regular systemless apps) or leftovers from previous attempts at getting gms installed then it will conflict with microg installation since it sees it as a conflicting app. This requires a clean almost factory emui without any remnants of google installation attempts. Ill update the initial post for that bit of info.
Click to expand...
Click to collapse
Thanks for the info
I still can't open google related apps like youtube or google app itself... Even with Vanced youtube, it is hard to keep up because I can't log in, so i can't have my subscriptions and updates. Also certain games can't be played because the data are connected to my Google Play
Bump...
..So does the MicroG method still work in 2021 or with the latest version of the OS?
arsenal74 said:
Bump...
..So does the MicroG method still work in 2021 or with the latest version of the OS?
Click to expand...
Click to collapse
Yes it does work with EMUI11.
Only advantage it's easier to install and Get push Notification and not mush else.
Now This is the only way you can install with Vanced Manager

How To Guide de-googling oxygen OS on the OnePlus Nord CE 5G

Introduction​As the title says. We'll remove as many google things as we can. We'll replace missing functionality with microG.
This is not meant to be an extensive guide. Just a quick write up of my experience de-googling the device.
I bought this device without doing much research and was a bit bummed when I realized there's no custom ROMs for it. One unofficial build of lineage is on here, but a little known feature, called the phone app, did not work for me, so that wasn't an option. I used it with google for a while but I wanted control of the device back. I didn't find many comprehensive tutorials on how to do this without using custom ROMs, so I thought I'd make a quick and dirty one.
What's the goal?​
Remove google services from the Nord CE 5G without installing any custom ROM
Get full microG functionality (all the checkmarks)
Replace sync functionality for calendar, contacts, photos, etc with NextCloud.
​What's not the goal?​
Fully pass safetynet
Get special google functionality such as chromecast and google pay
Verify play store purchases
Who is this for?​This is basically for me 2 days ago. You have some experience messing about with android, but you don't really know what you're doing most of the time.
What you need​
Oneplus Nord CE 5G already rooted with Magisk (I won't explain how to since there are plenty of guides)
A file manager with root access. I use fx file explorer
f-droid
Step 1: Disable all google things (or as many as you would like)​There are ways to fully remove google apps over adb, but I wasn't sure if this whole thing would work and moreover, I couldn't be bothered. I took the simple and safe way out and recommend you to to the same. Just go to [settings -> apps & notifications], then disable google play services and all other google apps you want to remove. Surprisingly I was actually able to fully uninstall google play services after disabling it.
I disabled every google app on my phone, but you can pick and choose. Some might not work as expected.
Step 2: Install microG​Unfortunately there are too many apps that depend on some part of google play services to function, even if they have nothing to do with google. Luckily people have recognized this problem and we have migroG, which aims to replace at least the basic features of google play services.
This is where I started to be confused. When visiting https://microg.org/download.html you'll see a bunch of apk's without much explanation. I was under the impression you'd have to install this as a system app or something, but apparently not. You can just install the apks using the normal installer. I also though you'd need to install all of these, but you really only need Services Core. It seems it has all the others baked in. You can choose to install this through their f-droid repo as well as explained on the microg page. Choose your poison.
Step 3: Making sure microG actually works​After installing microG, you'll have an app called microG settings. It has a fun little button on top called self-check and if you click it you'll see a bunch of boxes, only some of which are checked. This is where the fun starts, because we will start to increase the number of checked boxes.
Permissions​Some of these boxes are just permissions that are missing. So we jump to [settings -> apps and notifications -> microG Services Core -> Permissions] and grant all of them (or some). We also want to allow microG to always run in the background, so in app info we also click [Advanced -> Battery -> Battery optimization] and select Don't optimise. OnePlus' battery management is the absolute worst so let's hope that will do what it says.
Account and device registration​microG allows to register a google account. This will allow you to use google login in apps like youtube. My personal goal is to not use any google service in the long run so I skipped this.
Google device registration means that your device will be registered with google. I enabled this to get access to google cloud messaging. Some apps need this for notifications. If you leave this off, I believe microG does not talk to google at all.
Signature spoofing​Now we're missing some checkmarks related to something called signature spoofing. I don't fully understand it, but it's basically the ability of microG to act as if it is the real play services (or any app to act as if it's any other app). By default this is made impossible because of obvious security risks. There are many ways of getting signature spoofing to work, and therefore plenty of ways to get lost in the weeds.
The method I used is as follows
Install LSPosed zygisk release module using Magisk Manager.
There are zygisk and riru releases. I don't know what these are. If you can't find zygisk in your magisk settings (gear icon top right), you probably need to install riru and use the riru release.
Now navigate to /data/adb/lspd/ and you'll see a file called manager.apk. Install it and open the app.
Now click the download button on the bottom left and search for fakegapps. After clicking it you can click the up arrow on the top right to go to the website. Here you'll find an apk that you have to install.
back in the LSPosed manager, click modules -> FakeGapps. Enable for microG Services Core. It is recommended not to enable any other apps.
Now signature spoofing related features should work.
Location​After all of this, location in OpenStreetMaps wasn't working and I thought there was no way to get it working.
It turns out I was just an idiot...
Apparently microG takes FOSS seriously enough to give you a choice of location backend. Simply search f-droid for "nlp" and you'll find a bunch of different options. I used one called Local NLP Backend Location since I see no reason for my location service to communicate with any server. After installing, you can enable the provider in microG location settings.
Step 4: Getting back some functionality​Play store apps​Now we would all like to ditch the play store altogether, but it's just a little too convenient. Luckily there is the Aurora store, which allows to download google play apps without the google play store. If you also install Aurora Services through Magisk, it will be as convenient as the real play store.
Cloud syncing​I like to be able to cloud sync photos, calendars, contacts, and notes, so I'd like a solution that is tied to google. I've found that nextcloud works quite well for these purposes. NextCloud is an open source cloud solution with plenty independent providers and the ability to host yourself. I made an account at thegood.cloud, but will probably create my own host at some point.
The nextcloud app can take care of syncing photos and files from your phone.
To synchronize calendars and contacts, there is an app called DAVx5 from f-droid. This app allows you to log into your nextcloud account and you can tell it to sync your contact and calendar. This app is based on the open DAV standard, which is supported by most calendar and contact apps.
To synchronize notes over nextcloud, I use an app called Quillnote. This was actually how I discovered nextcloud in the first place.
Conclusion​This whole process was a lot less painful than I anticipated at first. There is some lost functionality but most things really work fine. Lots of apps will start bothering you and send notifications that they are broken without play services, but I have not seen any of them have any issues. The notifications can be turned off, but unfortunately only one by one.
Updates will probably be a pain since you'll have to go through this whole process again, but who's really expecting major updates for this phone anymore?
Security is likely compromised but not to an extent I'm worried about.
Notnearlynovel said:
Introduction​As the title says. We'll remove as many google things as we can. We'll replace missing functionality with microG.
This is not meant to be an extensive guide. Just a quick write up of my experience de-googling the device.
I bought this device without doing much research and was a bit bummed when I realized there's no custom ROMs for it. One unofficial build of lineage is on here, but a little known feature, called the phone app, did not work for me, so that wasn't an option. I used it with google for a while but I wanted control of the device back. I didn't find many comprehensive tutorials on how to do this without using custom ROMs, so I thought I'd make a quick and dirty one.
What's the goal?​
Remove google services from the Nord CE 5G without installing any custom ROM
Get full microG functionality (all the checkmarks)
Replace sync functionality for calendar, contacts, photos, etc with NextCloud.
​What's not the goal?​
Fully pass safetynet
Get special google functionality such as chromecast and google pay
Verify play store purchases
Who is this for?​This is basically for me 2 days ago. You have some experience messing about with android, but you don't really know what you're doing most of the time.
What you need​
Oneplus Nord CE 5G already rooted with Magisk (I won't explain how to since there are plenty of guides)
A file manager with root access. I use fx file explorer
f-droid
Step 1: Disable all google things (or as many as you would like)​There are ways to fully remove google apps over adb, but I wasn't sure if this whole thing would work and moreover, I couldn't be bothered. I took the simple and safe way out and recommend you to to the same. Just go to [settings -> apps & notifications], then disable google play services and all other google apps you want to remove. Surprisingly I was actually able to fully uninstall google play services after disabling it.
I disabled every google app on my phone, but you can pick and choose. Some might not work as expected.
Step 2: Install microG​Unfortunately there are too many apps that depend on some part of google play services to function, even if they have nothing to do with google. Luckily people have recognized this problem and we have migroG, which aims to replace at least the basic features of google play services.
This is where I started to be confused. When visiting https://microg.org/download.html you'll see a bunch of apk's without much explanation. I was under the impression you'd have to install this as a system app or something, but apparently not. You can just install the apks using the normal installer. I also though you'd need to install all of these, but you really only need Services Core. It seems it has all the others baked in. You can choose to install this through their f-droid repo as well as explained on the microg page. Choose your poison.
Step 3: Making sure microG actually works​After installing microG, you'll have an app called microG settings. It has a fun little button on top called self-check and if you click it you'll see a bunch of boxes, only some of which are checked. This is where the fun starts, because we will start to increase the number of checked boxes.
Permissions​Some of these boxes are just permissions that are missing. So we jump to [settings -> apps and notifications -> microG Services Core -> Permissions] and grant all of them (or some). We also want to allow microG to always run in the background, so in app info we also click [Advanced -> Battery -> Battery optimization] and select Don't optimise. OnePlus' battery management is the absolute worst so let's hope that will do what it says.
Account and device registration​microG allows to register a google account. This will allow you to use google login in apps like youtube. My personal goal is to not use any google service in the long run so I skipped this.
Google device registration means that your device will be registered with google. I enabled this to get access to google cloud messaging. Some apps need this for notifications. If you leave this off, I believe microG does not talk to google at all.
Signature spoofing​Now we're missing some checkmarks related to something called signature spoofing. I don't fully understand it, but it's basically the ability of microG to act as if it is the real play services (or any app to act as if it's any other app). By default this is made impossible because of obvious security risks. There are many ways of getting signature spoofing to work, and therefore plenty of ways to get lost in the weeds.
The method I used is as follows
Install LSPosed zygisk release module using Magisk Manager.
There are zygisk and riru releases. I don't know what these are. If you can't find zygisk in your magisk settings (gear icon top right), you probably need to install riru and use the riru release.
Now navigate to /data/adb/lspd/ and you'll see a file called manager.apk. Install it and open the app.
Now click the download button on the bottom left and search for fakegapps. After clicking it you can click the up arrow on the top right to go to the website. Here you'll find an apk that you have to install.
back in the LSPosed manager, click modules -> FakeGapps. Enable for microG Services Core. It is recommended not to enable any other apps.
Now signature spoofing related features should work.
Location​After all of this, location in OpenStreetMaps wasn't working and I thought there was no way to get it working.
It turns out I was just an idiot...
Apparently microG takes FOSS seriously enough to give you a choice of location backend. Simply search f-droid for "nlp" and you'll find a bunch of different options. I used one called Local NLP Backend Location since I see no reason for my location service to communicate with any server. After installing, you can enable the provider in microG location settings.
Step 4: Getting back some functionality​Play store apps​Now we would all like to ditch the play store altogether, but it's just a little too convenient. Luckily there is the Aurora store, which allows to download google play apps without the google play store. If you also install Aurora Services through Magisk, it will be as convenient as the real play store.
Cloud syncing​I like to be able to cloud sync photos, calendars, contacts, and notes, so I'd like a solution that is tied to google. I've found that nextcloud works quite well for these purposes. NextCloud is an open source cloud solution with plenty independent providers and the ability to host yourself. I made an account at thegood.cloud, but will probably create my own host at some point.
The nextcloud app can take care of syncing photos and files from your phone.
To synchronize calendars and contacts, there is an app called DAVx5 from f-droid. This app allows you to log into your nextcloud account and you can tell it to sync your contact and calendar. This app is based on the open DAV standard, which is supported by most calendar and contact apps.
To synchronize notes over nextcloud, I use an app called Quillnote. This was actually how I discovered nextcloud in the first place.
Conclusion​This whole process was a lot less painful than I anticipated at first. There is some lost functionality but most things really work fine. Lots of apps will start bothering you and send notifications that they are broken without play services, but I have not seen any of them have any issues. The notifications can be turned off, but unfortunately only one by one.
Updates will probably be a pain since you'll have to go through this whole process again, but who's really expecting major updates for this phone anymore?
Security is likely compromised but not to an extent I'm worried about.
Click to expand...
Click to collapse
In the lineageos thread there is one version of LOS without gapps however its security patch is outdated. I also believe that LOS fan edition doesn't come with gapps by default though I have yet to try that rom.
Fisuxcel said:
In the lineageos thread there is one version of LOS without gapps however its security patch is outdated. I also believe that LOS fan edition doesn't come with gapps by default though I have yet to try that rom.
Click to expand...
Click to collapse
Yes and I did install it previously but the phone app stopped working and overall it was a bit buggy for me. Not everyone seems to have this issue so you might want to give it a try.
Doesn"t seem to work on OOS 12
At microG Service Core install I think I must be missing something, it tells me the package is already installed, though I've deleted correctly the com.google.android.gms package (and of course almost everything related)
I've reinstalled the Play Services and Services Framework from Google for now to make my phone work again until a solution is found

Categories

Resources