MicroG Works on Nougat - Motorola Droid Bionic

If anyone's still got a modded Bionic laying around, you might appreciate microG over GApps on this aged phone's limited hardware.
Now, I've found that flashing Nanolx microG doesn't work. However, I'm here because I'm cross-pollinating from the Amazon Fire 5th gen forums, where user Ziona made microG packages specifically designed to work for Nougat. These zips do work on the Bionic.
Find the Nougat signature spoofing patcher and basic microG (no Play Store) zips here.
(Optional) The patched Play Store zip here.
To avoid errors with the Play Store, set up microG with proper permissions and flip on Google device registration, Google Cloud Messaging, and Google SafetyNet, then set up the Google account from the Play Store.
I don't expect this will get much attention, but since I found it, I figured I'd share anyhow. Enjoy!

Related

How is MicroG on the 3T?

Hi all.
I am considering to replace my vanilla LineageOS with the MicroG version.
I aim at prolonging the battery life and get rid of Google's Play Store Services, while keeping a bunch of Google apps: Gmail, Hangout and Maps.
Any experience? Anything relevant to report?
I am asking as the installation will likely require me a full reinstall (nothing I fear of, though).
https://github.com/microg/android_packages_apps_GmsCore/issues/467 You can't sign into google accounts in apps using the modern API. Google maps should work since you don't need to sign in and some gapps not updated to the new apis like google inbox too.
Hi I am using Nlos with microg for sometime now . whats not working out of my experience .Gmail ,google maps(need to use older version) alternatively use maps go ,backup on viber WhatsApp(if you want to use a backup you need to use older version again) some apps that use map api from Google
You will gain some battery but I believe microg has to do with getting free from Googles abusive practices and collecting personal information.
Google is collecting info of your location without your consent scanning your Gmail etc . (move away from Gmail that's my opinion)
Do a research of the apps you are daily using if and how they work under microg.

SkydragonOS and microG (almost fully working)

I'm sorry if the answer to my question is hidden somewhere in another thread. I tried very hard with a number of searches and could not dig up anything specific to my question.
I have flashed my OnePlus 3T with SkydragonOS and it works fine. I really like the OS. However, I decided to put on microG rather than Gapps and after getting it mostly working, I have now been stuck for a while on two issues:
1. The Google Cloud Messaging implementation works for most apps but not for all. I have tried a number of apps and most like e.g. Chromium and Whatsapp register fine while others do not register. So far, the ones I have found which do not register were Signal and Threema. This happens even if I wipe, flash Skydragon, Magisk and Nanodroid, switch on the full Google integration and only then install apps. Signal and Threema will always refuse to register and also show the corresponding warning about Play Services being absent on startup. I have read up on the whole setup quite a bit but cannot make sense of this.
2. The microG self-check tells me that signature spoofing is supported. However, the boxes for "System grants signature spoofing permission", "System spoofs signature", "Play Services has correct signature and Play Store has correct signature" are unticked. Given my problem described in the first question, I am wondering if that is sufficient or, if not, how I fix it.
Happy to provide further information if I left out anything important. The only other detail I can think of right now is that I sideloaded all of the above via TWRP.
@jsfan If I correctly remember all these questions have already been asked and answered in the microG thread but also in the Nanodroid thread (although from my point of view being off-topic there as Nanodroid "only" provides a µG installer; ok, besides a few other features with the "full" module, the signature spoofing patcher and the modified Google Play Store).
Consider to first search the two linked threads for answers, and if unsuccessful to search for advice in the µG thread. Excellent community there.

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

Using MicroG with Mate 40 Pro

I would like to start a new thread and discuss technical details of getting some of the GMS functionality for EMUI 11 devices with example of Mate 40 Pro.
I have installed the standard MicroG services and with the latest version Firebase notifications seem to work for the most of the application I use.
There is still a problem with login when using the standard MicroG GMS Core Service as it seems Google banned specific Huawei devices from logging in.
There is a fork/workaround/patch created by EloYGomeZ for the older version (I think it is even used by Googlefier) which allows log in but this version of the Core Service does not cover notifications.
Then there is another fork created by a different user jcchikikomori. So I took his version and created signed APK for my own testing. Both notification and login seem to work but the apps do not recognize the Google account. It is visible under the accounts and I can select sync options.
https://microg.org/
https://github.com/microg/android_packages_apps_GmsCore/issues/1189
https://github.com/EloYGomeZ/android_packages_apps_GmsCore-HUAWEI
https://github.com/jcchikikomori/GmsCoreHuawei
Happy to discuss further with anybody who has additional ideas clues. Would be happy if jcchikikomori and @eloygomez could join the discussion here.
The final issue I am having is described here:
https://github.com/jcchikikomori/GmsCoreHuawei/issues/5
chortya said:
I would like to start a new thread and discuss technical details of getting some of the GMS functionality for EMUI 11 devices with example of Mate 40 Pro.
I have installed the standard MicroG services and with the latest version Firebase notifications seem to work for the most of the application I use.
There is still a problem with login when using the standard MicroG GMS Core Service as it seems Google banned specific Huawei devices from logging in.
There is a fork/workaround/patch created by EloYGomeZ for the older version (I think it is even used by Googlefier) which allows log in but this version of the Core Service does not cover notifications.
Then there is another fork created by a different user jcchikikomori. So I took his version and created signed APK for my own testing. Both notification and login seem to work but the apps do not recognize the Google account. It is visible under the accounts and I can select sync options.
https://microg.org/
https://github.com/microg/android_packages_apps_GmsCore/issues/1189
https://github.com/EloYGomeZ/android_packages_apps_GmsCore-HUAWEI
https://github.com/jcchikikomori/GmsCoreHuawei
Happy to discuss further with anybody who has additional ideas clues. Would be happy if jcchikikomori and @eloygomez could join the discussion here.
The final issue I am having is described here:
https://github.com/jcchikikomori/GmsCoreHuawei/issues/5
Click to expand...
Click to collapse
Hi, all is working fine for me. Youtube vanced on Emui11 with my google account login is working perfectly. I don't have GMS installed either. I'm using the very latest youtube vanced and microg versions too. I simply logged in via the youtube vanced app. All good here
Thanos88 said:
Hi, all is working fine for me. Youtube vanced on Emui11 with my google account login is working perfectly. I don't have GMS installed either. I'm using the very latest youtube vanced and microg versions too. I simply logged in via the youtube vanced app. All good here
Click to expand...
Click to collapse
Vanced is different from the normal MicroG package. Vanced Youtube app is patched and is not checking signatures of specific Vanced MicroG components and also Vanced developer implemented Huawei specific login fix.
The regular MicroG installation does allow Huawei phones to login and even if you use patched version then the accounts are not listed or picked up in the apps.
To be able to login in Vanced, use the indications from these pictures.
Download the zips, extract the apps (or dowload them from Apkmirror page or other store), install them WITHOUT starting Vanced, go to MicroG - setting - switch off "Google cloud messaging" (first) and "Google device registration". After that you can login in Vanced with your account.
This is the Vanced page where you can see I'm logged in ...
LE: BTW, I'm on 11.0.0.127(C432E6R4P1), NOH-NX9.
Not sure what are you trying to explain here. Vanced MicroG works with login and YouTube Vanved without any issue and in parallel to the usual MicroG which js required for push notifications in a lot of apps. There is also a patched version of the usual MicroG that allows login in but the other Goolge apps like maps or google photos do not accept that login procedure.
I probably misunderstood that you can't log in and show your account in the application ...
Are you referring to this display?
(Setting - accounts - vanced microG - display or not the account)
In the end, it matters that the application works ... no matter how ...
Shymmy said:
I probably misunderstood that you can't log in and show your account in the application ...
Are you referring to this display?
(Setting - accounts - vanced microG - display or not the account)
Click to expand...
Click to collapse
No, again, I have no issue with Vanced MicroG. The issue is with the usual MicroG.
I was able to use Micro G to get google play services natively working on my Mate 40 RS. Seems Chinese variants at least at latest current firmware can be exploited to allow this to work still. Seems maybe, Huawei doesn't seem to care or purposely have allowed the LZ Play to continue to function? John Wang on Youtube has a working tutorial, from what I saw from other people it doesn't seem to work on International Mate 40's though.
tserv95 said:
I was able to use Micro G to get google play services natively working on my Mate 40 RS. Seems Chinese variants at least at latest current firmware can be exploited to allow this to work still. Seems maybe, Huawei doesn't seem to care or purposely have allowed the LZ Play to continue to function? John Wang on Youtube has a working tutorial, from what I saw from other people it doesn't seem to work on International Mate 40's though.
Click to expand...
Click to collapse
Guys, let's not mix up topics. Yes chinese versions will still allow LZPlay and GMS installation. This thread is about using MicroG as GMS alternative.
chortya said:
Guys, let's not mix up topics. Yes chinese versions will still allow LZPlay and GMS installation. This thread is about using MicroG as GMS alternative.
Click to expand...
Click to collapse
The only thing I can think you could possibly try is sideloading the google apps, start with google account manager first and have the huawei patched microg installed, then try to add the google account to your device, at this point then try to sideload the google apps in the correct order from John Wang's tutorial. It's worth a try at least.
With MicroG and YouTube Vanced installed (I can login into Vanced), I've installed Google account manager, but I couldn't add the Google account.
International version ...
Sily question, can MicroG helps other apps? Or just for Youtube Vanced?
rambits said:
Sily question, can MicroG helps other apps? Or just for Youtube Vanced?
Click to expand...
Click to collapse
Youtube Vanced's micro g fork only works for Vanced apps, doesn't work for google play services at all. I don't mean to be negative but unless you have the Chinese version of the Mate 40 series you are basically SOL.
Shymmy said:
With MicroG and YouTube Vanced installed (I can login into Vanced), I've installed Google account manager, but I couldn't add the Google account.
International version ...
Click to expand...
Click to collapse
Same thing. I just bought my mate 0 pro yesterday and it is international verion. I heard that someone said that sideload method can work. So is there any tutorial to do it?
GMS works only on China version.
what do you want to know? I have european version of mate 40 pro and microG installed
It's about GMS ...
I have Vanced too, but Google services can't be installed for now.
what does not work for you with microg?

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