Related
Updated and tested for Android 10 (with Omnirom)
Why MicroG?
Here is a great explanation from the official wiki itself: https://github.com/microg/android_packages_apps_GmsCore/wiki
There are different and good reasons to move away from Google services and get microG services:
1) More privacy: all Marvin's work is open source and focused on privacy. The "Google Play Services" app is probably the worst app you can have on Android when it comes to telemetry, spying, etc. It's always running tons of services to know all your comings and goings. As a side note, it's also good to not rely on Google too much.
2) More RAM available: Google Play Services use a lot of RAM when GMScore uses almost nothing.
3) More battery life, especially while idling: you'll avoid all the wakelocks related to Play Services (whether they are intentional or not)
CREDITS / Thank you:
@MaR-V-iN, for his wonderful and amazing work to free us from Google. One of the most underrated dev in the Android world.
@Setialpha , for his nanodroid module and his availability to help.
@topjohnwu for Magisk
How will your Android experience change?
Actually, not so much. If you're only interested in MicroG for the reasons 2) and 3), you can still use all Google apps, including the Play store (you need a patched version). Be aware, some apps don't work or are not working properly. Implementation status of different Android/Google services can be found here: https://github.com/microg/android_packages_apps_GmsCore/wiki/Implementation-Status
If you wonder if an app works or if you've tried and it doesn't work, just check on the issues tracker on Github or on your favorite search engine.
Now, if you want to change your habits, F-Droid will become your new best friend. It's an app store, like the Play Store, but which only delivers controlled, quality and open source apps. Both stores share many apps in common but F-Droid also has apps that the Play Store doesn't, because they're against Google policy for example. It should become your main app store as it's always good to use open source apps, for many reasons. Let's not start a debate here.
However, at least, at the beginning, it's tough to not use ANY app from the play store. For that, you should use Aurora store (whick is a fork of Yalp Store FYI). You get access all apps from Play Store. You can either use an anonymous account or use your own Google account. In the second case, you'll be able to download your paid apps. However, these won't work if they include a license check (most of them nowadays). You can nicely ask the dev if there's a workaround. Some accept, like the team behind Titanium Backup for example. Or SmartPack Kernel Manager's developer.
If you're looking for open source alternatives to the apps you usually use, I could list a few of them but this list is just great: https://github.com/offa/android-foss .
If you don't know how to replace Google services, this list is great as well: https://shadow53.com/android/no-gapps/alternatives/
You can also check on reddit like on this subreddit: https://www.reddit.com/r/fossdroid/
What ROM to use?
Any custom AOSP ROM should work, as long as :
1° it supports signature spoofing
2° it's deodexed
3° it supports alternative location backends, it's
-I wouldn't recommend any ROM that comes with gapps included. It just makes things more complicated.
On Android 10, I would highly recommend OmniROM, which offers an archive with microg prebundled, and also because it perfectly supports microG (signature spoofing, alternative location backends, etc.)
USEFUL LINKS
-MicroG thread: https://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616
-MicroG wiki: https://github.com/microg/android_packages_apps_GmsCore/wiki
-UnifiedNlp thread (location): https://forum.xda-developers.com/android/apps-games/app-g-unifiednlp-floss-wi-fi-cell-tower-t2991544
-Nanodroid (provides packages related to open source / microG stuff): https://forum.xda-developers.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928/ (you need to download the microG edition) + here to understand how to edit the .nanodroid-setup file: https://gitlab.com/Nanolx/NanoDroid/blob/master/doc/AlterInstallation.md#detailed-description
-microG unofficial installer (doesn't work on our device yet): https://forum.xda-developers.com/android/development/microg-unofficial-installer-t3432360
-Useful website about installing, getting packages, etc. : https://shadow53.com/android/no-gapps/setup-guide/microg/
-Great list of FOSS (open source software) apps for Android: https://github.com/offa/android-foss
-Alternative to Google apps: https://shadow53.com/android/no-gapps/alternatives/
-Personnal experience feedback: https://forum.xda-developers.com/android/general/gapps-free-samsung-galaxy-s3-lte-gt-t3553620
If you read all these threads you'll start to have a good understanding of what is microG and how to live without Google.
Prerequisites:
-OnePlus 6
-Unlocked bootloader
-TWRP installed
-A ROM supporting microG
-All files downloaded, on your device
DOWNLOAD LINKS
-OOS: https://forum.xda-developers.com/oneplus-6/how-to/official-oxygenos-5-1-5-ota-oneplus-6-t3794232
-TWRP: https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3860815
-Magisk: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
-Nanodroid: https://downloads.nanolx.org/NanoDroid/Stable/ (you need to download the microG file)
-Push Notification Tester: https://play.google.com/store/apps/details?id=com.firstrowria.pushnotificationtester
-Working Google Maps app: https://www.apkmirror.com/apk/google-inc/maps/maps-9-82-1-release/
-F-Droid: https://f-droid.org/FDroid.apk
INSTALLATION TUTORIAL
Italic = recommended, but not mandatory. Do it if something doesn't work properly
0) DON'T RESTORE your apps until everything is set up, otherwise you'll have issues with GCM (getting instant notifications from messaging apps for example)
1) Flash the custom ROM of your choice ( these instructions should work: https://privatebin.net/?42d550f9ae5df09f#imAFxWjM0gW+V9+ex+8nRyYSoSQzLPjhNXsbKIUjzqA= )
2) Flash magisk, reboot to system
3) Reboot to recovery
4) Flash Nanodroid (you need to download the microG edition, and make sure you have made the .nanodroid-setup file at the root of your internal storage, see instructions here https://github.com/Nanolx/NanoDroid/blob/master/doc/AlterInstallation.md) or you can also try MinMicroG (https://github.com/FriendlyNeighborhoodShane/MinMicroG_releases/releases).
If you choose nanodroid, update microG thhis way: https://www.reddit.com/r/MicroG/comments/fd7udr/fork_of_microg_gmscore_with_unifiednlp_working_in/
5) Reboot to system
6) Open MicroG, give it permissions if that's not already the case
7) Click on self-check. Give signature spoofing to all the empty boxed so they get ticked.
For Omni/Arrow/Aex, you can make sure it's allowed in settings/apps & notifications/apps permissions/spoof package signature. for playstore/fakestore make sure you click on the 3 dots and check system apps (if it exists).
8) Give permission to ignore batter optimizations.
9) Enable Google device registration and Google Cloud Messaging.
10) Enable Safetynet if you want
11) Click on UnifiedNlp and active the 3 backends: location backends: Mozilla+ Déjà Vu; adress lookup backends: Nominatim.
12) REBOOT
13) Open your phone app, and type this:
Now try this instead in order to manually enable device registration and connect to Google Cloud Messaging:
Code:
*#*#2432546#*#*
Code:
(old) *#*#42678278#*#*
. Nothing will appear on your screen but it can help. It's probably necessary but I prefer to make all the steps to make everything work. Sometimes logging in on your Google account through settings help. You can then log out if you don't want to use any Google account.
14) Install Push Notification Tester from Yalp Store.
15) Test the app, see if everything works. If it doesn't, ask for advice here as it should at this point. You can try to reboot one more time. Make sure that in the GCM settings you're connected since X time, otherwise something is wrong. Step 23 is the most important step to check if it doesn't work.
16) Go back to the self-check menu, now you can check the self check status and almost all boxes should be ticked. Some are not for me but GPS still works, even on Google Maps. Here is a screenshot of how it looks like for me: https://i.imgur.com/WsPX5RC.png
17) Now you can try to install the apps you want! Don't install apps that need push notifications before all these steps otherwise they might never be registered. Clean installing apps is recommended. You can try to restore them from a backup as well, but it often doesn't work. The middle ground solution is to install the app with the Yalp Store / F-droid and then restore its data with Titanium Backup for example.
18) Now you should see apps being registered in microG.
19) You can make sure your gps work with either OSM (https://f-droid.org/en/packages/net.osmand.plus/) or Google Maps (see apk mirror link earlier, the last version won't work). You should get your location without any isuses at this point.
20) Enjoy your almost Google free phone.
EXTRAS:
α) If you have issues with location, you can try this (on some custom ROMs, Google Maps finds my location but then it doesn't update and so if I move around it won't update my location. Also sometimes I need to reload the app to update my location which is quite inconvenient. It seems that doing the steps following help)
Install a terminal emulator (I recommend Termux)
Make sure your phone has root rights and type :
Code:
su
Authorize the app
Type next:
Code:
pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION
Then
Code:
pm grant com.google.android.gms android.permission.ACCESS_COARSE_LOCATION
iii) Reboot
β) If you have issues in general, try to update Nanodroid (if you used Nanodroid, ofc) apps from F-Droid. Add this repo to F-Droid: https://www.nanolx.org/fdroid/repo/
And then make sure all your apps are updated (including microG GmsCore)
A) DroidGuard uses non-open source stuff. It's in order to pass safety net.
B) GCM is not open source either.
C) If you want google maps to work, you need to install an "old" version and not update it. You can find it here: https://www.apkmirror.com/apk/google-inc/maps/maps-9-82-1-release/. Sometimes, your location might never appear. In this case, restart a few times Maps until your position shows up.
D) You can also try to install MicroG and its dependencies as user apps. I've tried it and wasn't very happy with the results as they don't work as well being user apps. From what I've heard, everything works fince except location. So you can give it a try as well this way.
E) My personal .nanodroid-setup is this one (to understand what it does, check here: https://gitlab.com/Nanolx/NanoDroid/blob/master/doc/AlterInstallation.md#detailed-description ):
Code:
nanodroid_gmscore=0
nanodroid_play=21
nanodroid_overlay=0
nanodroid_mapsv1=1
nanodroid_gsync=0
nanodroid_swipe=1
nanodroid_forcesystem=0
nanodroid_fdroid=1
nanodroid_nlpbackend=1100
Reserved.
Very nice,
too bad that it doesn't support OOS but it's understandable.
nimrodsv said:
Very nice,
too bad that it doesn't support OOS but it's understandable.
Click to expand...
Click to collapse
Maybe it could work with nanodroid patcher for signature spoofing and then manually deodexing the ROM. It would also be necessary to remove all the Google apps. So yes I guess it's just easier to use a custom ROM as a saner base.
nimrodsv said:
Very nice,
too bad that it doesn't support OOS but it's understandable.
Click to expand...
Click to collapse
Like above, it could work. By installing xXx module and choose total gapps removal then try what he said above for spoofing. Tempted to try, but can't atm.
OOS has normally odexed system and do not support signature spoofing.
An option would be to deodex services.jar and the use the nanodroid patcher to enable signature spoofing.
I have done that for some 8.1 OOS roms but not on the latest releases.
whizeguy said:
Like above, it could work. By installing xXx module and choose total gapps removal then try what he said above for spoofing. Tempted to try, but can't atm.
Click to expand...
Click to collapse
NisseGurra said:
OOS has normally odexed system and do not support signature spoofing.
An option would be to deodex services.jar and the use the nanodroid patcher to enable signature spoofing.
I have done that for some 8.1 OOS roms but not on the latest releases.
Click to expand...
Click to collapse
Maybe I'll give a try it seems possible.
@Tomatot- I see that you've tried to working with MicroG on Omni but getting bootloops and that you will try working with it again soon.
Anything I should know before I try this on Omni? Thanks!
nimrodsv said:
@Tomatot- I see that you've tried to working with MicroG on Omni but getting bootloops and that you will try working with it again soon.
Anything I should know before I try this on Omni? Thanks!
Click to expand...
Click to collapse
I had a weird experience on Omni. At first it was working all fine with nanodroid-microG, but then I tried to change the .nanodroid-setup and it broke all my system, I was never able to make it work again on Omni. I also tried once the Nisse .zip and it didn't work either. So I can't really tell what's the pattern to make things work or not work... I really liked Omni so I'm going to try again within the next few days, with a nice clean flash and Nisse zip. I will let you know. If you're impatient and want to try, try to follow the steps from this tutorial and let me know how it goes.
Omni is a bit tricky with permissions, use the latest Nanodroid-microG from https://downloads.nanolx.org/NanoDroid/Stable/ to install on omni, it adds bit more (calendar and contacts sync etc) that i dont want tho
NisseGurra said:
Omni is a bit tricky with permissions, use the latest Nanodroid-microG from https://downloads.nanolx.org/NanoDroid/Stable/ to install on omni, it adds bit more (calendar and contacts sync etc) that i dont want tho
Click to expand...
Click to collapse
Did you manage to make your script work on Omni? I'm not interested in these extras either.
Tomatot- said:
Did you manage to make your script work on Omni? I'm not interested in these extras either.
Click to expand...
Click to collapse
Yes, but some extra work is needed: Open the zip with 7-zip and extract all item from priv-app and delete the priv-app folder from the zip.
Install rom, the modified zip and boot into system.
Install the extracted apps normally.
Use https://forum.xda-developers.com/apps/magisk/module-terminal-app-systemizer-ui-t3585851 to convert the 4 installed apps (gms, gsf, phonesky and yalp) to system apps (to priv-app).
Thats bit much but its functional on omni.
NisseGurra said:
Yes, but some extra work is needed: Open the zip with 7-zip and extract all item from priv-app and delete the priv-app folder from the zip.
Install rom, the modified zip and boot into system.
Install the extracted apps normally.
Use https://forum.xda-developers.com/apps/magisk/module-terminal-app-systemizer-ui-t3585851 to convert the 4 installed apps (gms, gsf, phonesky and yalp) to system apps (to priv-app).
Thats bit much but its functional on omni.
Click to expand...
Click to collapse
Awesome, thanks, I'll try this asap.
I will update OP but I can tell Arrow OS seems to support perfectly MicroG. And your script works directly @NisseGurra . I've noticed the location apps are a bit oudated, could you update them please? Cheers.
Thread updated with my experiences with the different custom ROMs available on our device. i've also improved instructions a little and make some steps not mandatory but recommended.
Thanks very much for this great tutorial although I've never had an OnePlus. Quite a long time ago, I tried to capture my personal way to become GApps-free from the very beginning by installing µG un to today where I always use NanoDroid. Maybe my thread contains some information useful to you?
Oswald Boelcke said:
Thanks very much for this great tutorial although I've never had an OnePlus. Quite a long time ago, I tried to capture my personal way to become GApps-free from the very beginning by installing µG un to today where I always use NanoDroid. Maybe my thread contains some information useful to you?
Click to expand...
Click to collapse
Yes I read it and it was very useful. Your thread was already included in "useful links" btw.
Updated backends microg installer (attached)
NisseGurra said:
OOS has normally odexed system and do not support signature spoofing.
An option would be to deodex services.jar and the use the nanodroid patcher to enable signature spoofing.
I have done that for some 8.1 OOS roms but not on the latest releases.
Click to expand...
Click to collapse
whizeguy said:
Like above, it could work. By installing xXx module and choose total gapps removal then try what he said above for spoofing. Tempted to try, but can't atm.
Click to expand...
Click to collapse
Bumping you again to give you some news.
So I really don't feel like going back to use Google Play services but I miss OOS for battery life and performance reasons.
However, I feel like deodexing OOS is really not optimal, see these links:
https://i.imgur.com/FRJgqVm.png
https://github.com/anestisb/vdexExtractor/issues/33
https://i.imgur.com/9Y6JBGD.png
So yeah, it's a tough choice...
Tomatot- said:
Bumping you again to give you some news.
So I really don't feel like going back to use Google Play services but I miss OOS for battery life and performance reasons.
However, I feel like deodexing OOS is really not optimal, see these links:
https://i.imgur.com/FRJgqVm.png
https://github.com/anestisb/vdexExtractor/issues/33
https://i.imgur.com/9Y6JBGD.png
So yeah, it's a tough choice...
Click to expand...
Click to collapse
Aw man.. That's just too bad :/ thanks for the update mate.
Hi folks,
LOS with MicroG has finally been released.
For people who don't know what the heck is this, it's besically LineageOS unofficial fork with built-in microG gapps implementation. That's right! It's the same LOS without Google spyware.
Some cool features of LOS with MicroG
1. Full Play Services compatibility:
This ROM has built-in microG free-as-in-freedom re-implementation of Google's proprietary Android user space apps and libraries.
This enables you to use every Google service you need without keeping another closed-source binary blob in your Android system.
2. Native F-Droid support:
LineageOS for microG comes with F-Droid already installed. You can use it to access plenty of FOSS applications
3. OTA updates like official LOS:
The ROM has OTA updates from upstream LineageOS weekly. In this way you always receive new features and security updates just few days after they are released mainline.
Installation instructions
This ROM and official LineageOS use different signing keys, so you can't flash this ROM on top of the official LineageOS. Clean installation is strongly suggested.
1. Download the ROM zip and vendor+firmware zip
2. Boot into TWRP
3. Wipe System, Data, Cache and Dalvik
4. Flash the Vendor+Firmware zip and the ROM zip
5. Flash Magisk (optional)
6. Reboot
Post-installation
First, open the "microG Settings" app and check if everything is OK in the "Self-Check" section; you will probably have to give microG some permissions, like location and file access.
1. UnifiedNlp
UnifiedNlp is the microG Network Location Provider, which provides the current location of the device without the use of the GPS. While Google's NLP can only use Google's servers for positioning, UnifiedNlp obtains the geolocation through different plugins, which interface to different services.
By default there are two plugins installed:
MozillaNlpBackend, which uses the Mozilla Location Service (online)
NominatimNlpBackend, which uses MapQuest's Nominatim service (based on OpenStreetMap) for geocoding (online)
If you want to use these plugins, go to microG Settings -> UnifiedNlp Settings, configure and enable both.
If you instead want different plugins (like the LocalGsmNlpBackend, which uses a local offline database of the GSM towers to obtain the location) you can download them in F-Droid and enable them in the same way.
Reboot and check whether UnifiedNlp is correctly set up in the "Self-Check" section of the "microG Settings" app.
2. F-Droid
You have the F-Droid Privileged Extension installed by default, why not use it? To make a good use of it go to the F-Droid Settings and enable auto updates.
3. Google Cloud Messaging
Many apps rely on the Google Cloud Messaging, a Google proprietary system to push notifications to your device. This feature is implemented in microG but, as not every user requires it, is disabled by default. If you need it, enable the "Google Device registration" and the "Google Cloud Messaging" features in the "microG Settings" app.
4. Weather service
If you want the weather features of LineageOS (like in the lock screen or in the cLock widget) you have to download a weather provider from here. Choose your favorite one, install it and configure it in cLock (or in Settings → Apps → Gear icon → Weather).
Downloads
ROM Link: https://download.lineage.microg.org/beryllium/
Vendor+Firmware: https://mirror.akhilnarang.me/MIUI/beryllium/
Twrp build: https://forum.xda-developers.com/poc...ption-t3853004
Magisk: https://github.com/topjohnwu/Magisk/releases/download/v18.1/Magisk-v18.1.zip
Find more about the project here https://lineage.microg.org/
Credits
MicroG Team
Lineage OS team
@akhilnarang for Vendor+Firmware
@vasishath for TWRP
@topjohnwu for Magisk
Disclaimer:
I'm not the developer of the ROM, neither I'm associated with the team who is behind this amazing piece of work. I am just sharing the work for everyone on XDA.
Shout out to Team MicroG for their wonderful work!!!
Sweet! Good to see official LOS microg.
Thanks for sharing brother.
how is the battery and performance someone who tried it ? and is it safe to wipe system ?
niteone said:
how is the battery and performance someone who tried it ? and is it safe to wipe system ?
Click to expand...
Click to collapse
Battery life is amazing since the notorious Google Play Services is not present on this ROM. Performance is more or less the same. The main reason people use MicroG over other GApps is because of privacy and battery.
And talking about your last question, I guess you wipe System partition everytime you do a clean flash. So yeah, it's completely safe to wipe System partition.
Rowdyy Ronnie said:
Battery life is amazing since the notorious Google Play Services is not present on this ROM. Performance is more or less the same. The main reason people use MicroG over other GApps is because of privacy and battery.
And talking about your last question, I guess you wipe System partition everytime you do a clean flash. At least that's what a vl an flash mean (wiping System, Data, Cache & Dalvik). So yeah, it's completely safe to wipe System partition.
Click to expand...
Click to collapse
Yes i tried it but cant sync my contacts because they are stored in google and other things but from my little expirience its great.i moved to the normal lineage now
niteone said:
Yes i tried it but cant sync my contacts because they are stored in google and other things but from my little expirience its great.i moved to the normal lineage now
Click to expand...
Click to collapse
You can easily get contacts.vcf file from google and just import it in your normal contacts app. Takes a minute only.
---------- Post added at 06:59 PM ---------- Previous post was at 06:57 PM ----------
OP, I will suggest to add 'Flashing DFE' also in the first post instructions, for people who don't want to get encrypted.
Interesting project, good job!
Thread cleaned!
Personal attacks will NOT be tolerated on this private development site!
Found work can be posted in NEWS sections with proper credits
If the original developer does not wish it posted they can request it be taken down
No one else has that right!
Thank you all for your cooperation
Friendly Neighborhood Moderator
Works as expected. No issues. Running it on tissot, bacon and now testing on poco! Thanks for reminding!
Sent from my Poco F1 using XDA-Developers Legacy app
Great Image verry fast Thanks MR
the ROM is awesome, but I can not get contacts and Gmail to work. The rest of apps, perfect!.
piernodoyuna said:
the ROM is awesome, but I can not get contacts and Gmail to work. The rest of apps, perfect!.
Click to expand...
Click to collapse
Because it is microg ROM. Gmail will not work.
surely, the answer could have been more elaborate. and yes, Gmail can work with microg, but in my case, I have not succeeded.
piernodoyuna said:
surely, the answer could have been more elaborate. and yes, Gmail can work with microg, but in my case, I have not succeeded.
Click to expand...
Click to collapse
Personally I don't use gmail (using K9), but maybe you will find an answer here:
https://github.com/microg/android_packages_apps_GmsCore/labels/👥 Accounts
Sent from my Poco F1 using XDA-Developers Legacy app
ydd0ras said:
Personally I don't use gmail (using K9), but maybe you will find an answer here:
https://github.com/microg/android_packages_apps_GmsCore/labels/👥 Accounts
Click to expand...
Click to collapse
Thank you very much for the reply! I think my problem is not in the mail client, but in the authentication of credentials that access my contacts, calendar events and emails. I think that this issue is not yet solved
Does 0805 build have included vendor? I can see only 5.62MB vendor.new.dat.br which is usually 280MB on official one.
For some reason i won't get the UnifiedNLP working on my Poco F1.
I did a clean install, coming from the latest MIUI global ROM and followed the post install guide on https://lineage.microg.org/. The only additional Tool i installed was the latest Version of Magisk.
**EDIT**
I reinstalled microg LineageOS without Magisk, but it still does not work.
Any suggestions?
Most probably you've hit version with support for something called Qualcomm Location. It was fixed in build on 27th November because thingy was not working well (also because it is closed source soft).
AFAIK there are two ways to fix it:
- install LOS >=2711.
- patch framework-res.apk to force use UnifirdNlp. There should be some info about procedure in a LOS thread though I'm not 100% sure.
crow6 said:
Most probably you've hit version with support for something called Qualcomm Location. It was fixed in build on 27th November because thingy was not working well (also because it is closed source soft).
AFAIK there are two ways to fix it:
- install LOS >=2711.
- patch framework-res.apk to force use UnifirdNlp. There should be some info about procedure in a LOS thread though I'm not 100% sure.
Click to expand...
Click to collapse
I will try that. Thank You!
Are ports of Lineage 17 planned? The Websites last nightly is from 2020-09-30 (los 16)
Hi all
Download the GMS Installer and install the APK, open the app, and press One Touch Installation, your device will automatically reboot and automatically install Google Play Services in Huawei eRecovery.
After your device booting back into system, check in Apps if the Google Play Services installed correctly.
After that, you can download the rest from APKMirror : Google Account Manager, Google Calendar Sync, Google Contacts Sync, Google Play Store, and Google Services Framework. Keep in mind you should download version that fit to your android version.
You can even update the Google Play Services to the latest version using the apk's from APKMirror, don't worry it will works.
That's it!
[LINKS]
GMS INSTALLER :
http://http://www.mediafire.com/file/xmqmw3n5kvf9g2i/chat_partner_full_0207.apk/file
mate 30 pro 5g 8+256亲测可用。此前一直卡在谷歌服务更新上,换了几个梯子都不行。今天到日本玩,一下飞机就能连上google play。
wadywadywady said:
Hi all
Download the GMS Installer and install the APK, open the app, and press One Touch Installation, your device will automatically reboot and automatically install Google Play Services in Huawei eRecovery.
After your device booting back into system, check in Apps if the Google Play Services installed correctly.
After that, you can download the rest from APKMirror : Google Account Manager, Google Calendar Sync, Google Contacts Sync, Google Play Store, and Google Services Framework. Keep in mind you should download version that fit to your android version.
You can even update the Google Play Services to the latest version using the apk's from APKMirror, don't worry it will works.
That's it!
[LINKS]
GMS INSTALLER :
ModEdit: Link removed
Click to expand...
Click to collapse
Hey
Does google pay work with this method?
Thanks
stutoni said:
Hey
Does google pay work with this method?
Thanks
Click to expand...
Click to collapse
Would love to know if it works. Did you check it ?
I would like to know if this fixes the Google Assistant problems????
I already had gms installed if I want to install this what I should do?! Reset the phone?
paullu said:
I already had gms installed if I want to install this what I should do?! Reset the phone?
Click to expand...
Click to collapse
Yes you would have to reset the phone and reinstall everything.
zhaozhaofeng said:
mate 30 pro 5g 8+256亲测可用。
Click to expand...
Click to collapse
Will this method help with any known issues? Like installing Netflix, copying Google account from phone to watch, etc
Or does it do the same thing thing as restoring Google apps from backup(with HiSuite and lzplay)?
WishToLive said:
Will this method help with any known issues? Like installing Netflix, copying Google account from phone to watch, etc
Or does it do the same thing thing as restoring Google apps from backup(with HiSuite and lzplay)?
Click to expand...
Click to collapse
No one has replied yet, who knows if it does! I don’t think it changes for Netflix!
I have included GMS through old method USB, i have no issue at all except the security (Netflix, Google pay...)
Any difference?
From other threads, this app just installs a messaging app, take a look here https://forum.xda-developers.com/showpost.php?p=81568945&postcount=5
The 2 links are different, be careful, see pic below.
Even the GM's installer looks like it is just a cover for an app called com.tyq.pro. Please be careful, could do with someone who can analyse the files better than me to check. It just seems to be everywhere.
anasmhds said:
I have included GMS through old method USB, i have no issue at all except the security (Netflix, Google pay...)
Any difference?
Click to expand...
Click to collapse
But does your “Hey Google” work?
Acidburnsn0w said:
But does your “Hey Google” work?
Click to expand...
Click to collapse
Yes works no issues
anasmhds said:
Yes works no issues
Click to expand...
Click to collapse
Can you send me the tutorial or link you have?
Guys, installing GMS one way or the other if using the proper files and not some dodgy messaging app will have the same end result. Our Mate 30 pro's are still flagged @ google as not being certified. At the end its the same old same GMS you install. I would be extremely carefully with what you download/install on your phones...We still don't know which "backdoors" if any are being installed with the so called restore hack.
Didn't fix any of the problems.
Sent from my [device_name] using XDA-Developers Legacy app
viruz1225 said:
Didn't fix any of the problems.
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
Thanks for letting us know!!!
Bros : qiyetong_installer_full.apk works fine.
Stop being so paranoid
Credits : EloyGomez
https://www.youtube.com/watch?v=dk-7XqhFGJk
Acidburnsn0w said:
Can you send me the tutorial or link you have?
Click to expand...
Click to collapse
https://www.youtube.com/watch?v=Nq7XGP4_Big
HydrogenOS already have Google Play Services & Google Services Framework in it, but it's a modified version, you just need to install Play Store apk and you can install all app with play store, without unlock bootloader and root. If you root, use magisk hide, you can also download like Netflix with Play Store.
It can nearly fit all your needs, but there are many other problems, mainly about Google features and sometimes network error, because China bans access to Google. All the problems arise when used in China. Whether there are such problems in other countries remains to be confirmed.
The Play Store can't auto update itself
The Play Store open or update app with a forever loading
You can't allow Google Location History
You can't Use Google Map Timeline
Your device can't display on web Google Play
You can't use Google Feed
You can't use "OK Google"
Some apps that rely on Google services sometimes experience network connection errors
......
The HydrogenOS Google Play market will connect to the domain name services.googleapis.cn, which cannot be opened, controlled by the /system/etc/permissions/services.cn.google.xml file (root is required to access
There is a line in the file, <feature name="cn.google.services" />
Someone made Magisk module Unlock CN GMS to solve this problem, by deleting or replacing this file, but it is still not perfect, there will still be a problem of network connection error. Another Magisk module can also help, Location Report Enabler.
You may ask, why not use OxygenOS?
Because in China, HydrogenOS have some useful localization features
Call Recording
NFC bus card
Call attribution
Harassment call interception
......
So, Can i flash GApps package to turn the built-in incomplete Google service into a full version?
Will this affect my subsequent system upgrades? I will upgrade through the full OTA package every time.
Do I need to flash the Gapps package again after each system upgrade?
This way is, use H2OS, import some OOS feature, only needed is pure Gapps.
_______________
There is an opposite way.
Use OOS, import some H2OS feature, the most needed is call recording, see this thread.
But if you are Cyberpunk edition, HydrogenOS is the best.
_______________
I don't find any solutions now, the TWRP is not out, so we can't flash Gapps, totally we have 3 ways to try with h2os.
1. Replace the h2os GMS to oos GMS, very difficult, don't know to replace what, may cause crash.
2. When TWRP comes out, flash Gapps, like Open Gapps, FlameGapps, may cause crash.
3. Use Magisk Gapps, like Weeb Gapps, may cause crash. This thread talked about this.
We discussed this in many places, all advice that don't try the 3 ways, because may cause crash, for a normal user, crash means you may face boot loop or lose data, and have to factory reset.
Still waiting for an expert guy good at flash phones to give a clear way.
Dude. We don't have a TWRP yet. So you can't flash gapps zips. The simplest and the best way would be to download the EU/IN full rom zip, do a local upgrade, then format the data. Your phone will have full GMS and will get updates for the OOS variant you flashed (EU/IN).
theincognito said:
Dude. We don't have a TWRP yet. So you can't flash gapps zips. The simplest and the best way would be to download the EU/IN full rom zip, do a local upgrade, then format the data. Your phone will have full GMS and will get updates for the OOS variant you flashed (EU/IN).
Click to expand...
Click to collapse
Thanks, i know what you mean
But as mentioned in the question, I still need to use some of the characteristics of Hydrogen OS, so I can’t directly change to Oxygen OS.
If 8T TWRP comes out, is the solution I mentioned above feasible?
oticktock said:
Thanks, i know what you mean
But as mentioned in the question, I still need to use some of the characteristics of Hydrogen OS, so I can’t directly change to Oxygen OS.
If 8T TWRP comes out, is the solution I mentioned above feasible?
Click to expand...
Click to collapse
Pretty sure no one will know until it comes out.
Sent from my KB2005 using Tapatalk
Wilazn said:
Pretty sure no one will know until it comes out.
Sent from my KB2005 using Tapatalk
Click to expand...
Click to collapse
haha, of course u r right.
Same problem here from China. Could install play store,but cantbconnect to my google account. can't install google play services or google services framework, not sure if its because they're the wrong version apks or because hydrogen now comes with a hard blocking on those.
It really sucks because on my 5t I didn't have to, hydrogen allowed google services too provided you use a VPN.
Let me know if you find a solution ! I also would rather not try to flash another is and lost warranty..
keuzzz said:
Same problem here from China. Could install play store,but cantbconnect to my google account. can't install google play services or google services framework, not sure if its because they're the wrong version apks or because hydrogen now comes with a hard blocking on those.
It really sucks because on my 5t I didn't have to, hydrogen allowed google services too provided you use a VPN.
Let me know if you find a solution ! I also would rather not try to flash another is and lost warranty..
Click to expand...
Click to collapse
I was successfully able to install services framework. play services already exists so need for that. although play store show that the device is certified yet i am unable to install netflix. this is the only issue so far
Guys, flash oxygen os zip that is higher than an older h2os base. Then install it again with local upgrade, then use the msm h2os tool, that puts it only on one slot. Then, install 11.4.5 ota zip, it reboots to opposite slot and that is the slot oos will be on. Should be oos with the Chinese apps but difference is google installed. I do the opposite to run my normal 8t cyberpunk as oos
FullOfHell said:
Guys, flash oxygen os zip that is higher than an older h2os base. Then install it again with local upgrade, then use the msm h2os tool, that puts it only on one slot. Then, install 11.4.5 ota zip, it reboots to opposite slot and that is the slot oos will be on. Should be oos with the Chinese apps but difference is google installed. I do the opposite to run my normal 8t cyberpunk as oos
Click to expand...
Click to collapse
r u sure? u say u run oos but have all chinese apps, such as the dialer is not google dialer and can use call recording...if so, i think u do the opposite way is better.
It is convenient for you to describe your operation steps in detail, like how to flash oos, what's your oos country version, etc. It is still not clear from the above reply. I think this will help many people, including the problem that OOS can’t use call recording. I am not very good at flashing the phone.
Do these operations do not need to unlock root, can OTA work normally afterwards, and the chinese apps still there, or can normally update these apps?
In addition, can the normal 8T also use all the features of the cyberpunk version?
thks!
FullOfHell said:
Guys, flash oxygen os zip that is higher than an older h2os base. Then install it again with local upgrade, then use the msm h2os tool, that puts it only on one slot. Then, install 11.4.5 ota zip, it reboots to opposite slot and that is the slot oos will be on. Should be oos with the Chinese apps but difference is google installed. I do the opposite to run my normal 8t cyberpunk as oos
Click to expand...
Click to collapse
In my way, i still wait TWRP comes out, so i can flash Gapps like FlameGApps, but I don’t know if this method will work.
oticktock said:
r u sure? u say u run oos but have all chinese apps, such as the dialer is not google dialer and can use call recording...if so, i think u do the opposite way is better.
It is convenient for you to describe your operation steps in detail, like how to flash oos, what's your oos country version, etc. It is still not clear from the above reply. I think this will help many people, including the problem that OOS can’t use call recording. I am not very good at flashing the phone.
Do these operations do not need to unlock root, can OTA work normally afterwards, and the chinese apps still there, or can normally update these apps?
In addition, can the normal 8T also use all the features of the cyberpunk version?
thks!
Click to expand...
Click to collapse
What I have done is not for inexperienced users. I am in USA, bought the global 8t. I said the phone is converted so that's why I have oos dialer and apps. Chinese apps I have uninstalled. But I also have Google apps. You can also use Weeb Magisk Gapps or micro G. Both work.
FullOfHell said:
What I have done is not for inexperienced users. I am in USA, bought the global 8t. I said the phone is converted so that's why I have oos dialer and apps. Chinese apps I have uninstalled. But I also have Google apps. You can also use Weeb Magisk Gapps or micro G. Both work.
Click to expand...
Click to collapse
ok, get it.
So, for me, base on h2os with pure Gapps is the only way, until now many guys say that don't flash Gapps directly on h2os, may cause crash, you provide a new magisk Gapps way, thks.
You use normal 8t with full cyberpunk features, right? It's a goods news for all.
oticktock said:
The Chinese HydrogenOS is incomplete,
You can't allow Google Location History
You can't Use Google Map Timeline
Your device can't display on web Google Play
You can't use Google Feed
You can't use "OK Google"
Some apps that rely on Google services sometimes experience network connection errors
......
The HydrogenOS Google Play market will connect to the domain name services.googleapis.cn, which cannot be opened
Controlled by the /system/etc/permissions/services.cn.google.xml file (root is required to access
There is a line in the file, <feature name="cn.google.services" />
Someone made Magisk package Unlock CN GMS to solve this problem, by deleting or replacing this file, but it is still not perfect, there will still be a problem of network connection error
You may ask, why not use OxygenOS?
Because in China, HydrogenOS have some useful localization features
Call Recording
NFC bus card
Call attribution
Harassment call interception
......
So, Can i flash GApps package to turn the built-in incomplete Google service into a full version?
Will this affect my subsequent system upgrades? I will upgrade through the full package every time
Or do I need to flash the Gapps package again after each upgrade?
Click to expand...
Click to collapse
In addition, google and it's associated apps are blocked in china. Facebook, instagram, YouTube, twitter are also blocked.
When and before I go to china, I make good and sure my VPN on my phone is updated.
FullOfHell said:
Guys, flash oxygen os zip that is higher than an older h2os base. Then install it again with local upgrade, then use the msm h2os tool, that puts it only on one slot. Then, install 11.4.5 ota zip, it reboots to opposite slot and that is the slot oos will be on. Should be oos with the Chinese apps but difference is google installed. I do the opposite to run my normal 8t cyberpunk as oos
Click to expand...
Click to collapse
Need more details for this procedure
---------- Post added at 05:13 AM ---------- Previous post was at 05:12 AM ----------
oticktock said:
ok, get it.
So, for me, base on h2os with pure Gapps is the only way, until now many guys say that don't flash Gapps directly on h2os, may cause crash, you provide a new magisk Gapps way, thks.
You use normal 8t with full cyberpunk features, right? It's a goods news for all.
Click to expand...
Click to collapse
Do let me know if that works
keuzzz said:
Same problem here from China. Could install play store,but cantbconnect to my google account. can't install google play services or google services framework, not sure if its because they're the wrong version apks or because hydrogen now comes with a hard blocking on those.
It really sucks because on my 5t I didn't have to, hydrogen allowed google services too provided you use a VPN.
Let me know if you find a solution ! I also would rather not try to flash another is and lost warranty..
Click to expand...
Click to collapse
As i know, HydrogenOS already have google play services & google services framework in it, you just need to install play store and you can install app with play store, it can fit your basic needs, but as my thread said, there are many other problems, because the Hydrogen GMS is not the same as OxygenOS.
After all I managed to update from the original hydrogen on my Chinese model directly to a european oxygen quite easily.
I downloaded the full rom EU version here: https://www.xda-developers.com/oneplus-8t-oxygenos-11-0-4-5-update/amp/
Then moved the downloaded zip file at the root of the phone's internal storage. Entered the phone settings, system, system updates then hit the settings icon displayed in top corner to reach local update.
The downloaded rom shows up here as an update.
Quite easy procedure, no problem accessing play store and adding a Google account after that, provided you already have a VPN app to bypass the usual blocking in China.
FullOfHell said:
Guys, flash oxygen os zip that is higher than an older h2os base. Then install it again with local upgrade, then use the msm h2os tool, that puts it only on one slot. Then, install 11.4.5 ota zip, it reboots to opposite slot and that is the slot oos will be on. Should be oos with the Chinese apps but difference is google installed. I do the opposite to run my normal 8t cyberpunk as oos
Click to expand...
Click to collapse
Can you explain what the point of the 2nd part is? What is the msm h2oos tool?
I suppose it's about two partitions in the phone storage, but is that something already there by default?
keuzzz said:
Same problem here from China. Could install play store,but cantbconnect to my google account. can't install google play services or google services framework, not sure if its because they're the wrong version apks or because hydrogen now comes with a hard blocking on those.
It really sucks because on my 5t I didn't have to, hydrogen allowed google services too provided you use a VPN.
Let me know if you find a solution ! I also would rather not try to flash another is and lost warranty..
Click to expand...
Click to collapse
keuzzz said:
After all I managed to update from the original hydrogen on my Chinese model directly to a european oxygen quite easily.
I downloaded the full rom EU version here: https://www.xda-developers.com/oneplus-8t-oxygenos-11-0-4-5-update/amp/
Then moved the downloaded zip file at the root of the phone's internal storage. Entered the phone settings, system, system updates then hit the settings icon displayed in top corner to reach local update.
The downloaded rom shows up here as an update.
Quite easy procedure, no problem accessing play store and adding a Google account after that, provided you already have a VPN app to bypass the usual blocking in China.
Can you explain what the point of the 2nd part is? What is the msm h2oos tool?
I suppose it's about two partitions in the phone storage, but is that something already there by default?
Click to expand...
Click to collapse
Can you please check , does it have wallet or bus card apps ? i am in really bad situation ; i want netflix but also need NFC bus card application... card application was there in my old oneplus 7 converted from hydrogen to oxygen but i am not sure about its availability for 8t oxygen os
engrmudassar said:
Can you please check , does it have wallet or bus card apps ? i am in really bad situation ; i want netflix but also need NFC bus card application... card application was there in my old oneplus 7 converted from hydrogen to oxygen but i am not sure about its availability for 8t oxygen os
Click to expand...
Click to collapse
I noticed a few Chinese apps have disappeared such as the default web browser or the one plus market app. I managed to reinstall market through an apk site, didn't get to use the nfc card app you're talking about though. But I think you can always use alipay or we chat for bus payments. Or maybe that nfc app can also be reinstalled from a Chinese app store?
keuzzz said:
I noticed a few Chinese apps have disappeared such as the default web browser or the one plus market app. I managed to reinstall market through an apk site, didn't get to use the nfc card app you're talking about though. But I think you can always use alipay or we chat for bus payments. Or maybe that nfc app can also be reinstalled from a Chinese app store?
Click to expand...
Click to collapse
Market App is working? I had a strange problem with market app when using oneplus 7. It just didn't works with oxygen os.
engrmudassar said:
Market App is working? I had a strange problem with market app when using oneplus 7. It just didn't works with oxygen os.
Click to expand...
Click to collapse
Yes. I downloaded it from here http://m.2265.com/down/5615.html
By the way I do have the "card package" app installed since upgrading to oxygen, is that the same app you were using on hydrogen?
CalyxOS for Pixel 4a Sunfish
Downloading the Flasher
Linux: xxxxxx
macOS: xxxxxx
Windows: xxxxx
SHA256:
Linux: f4e68992198868148ca2d4bd0fd40d0176da4058a188a3fdf80732d04a6c3543
macOS: 5e5542f51c1592e392114636f2e64fe9dae1cacaaf55c722822780ec5cbf9331
Windows: 0cdaf47f1c97e43c70e0fe7cfff63fcaa140799ccc494bebf6451e96cbcdda6c
Steps
Download CalyxOS image for your pixel 4a here: xxxxxxxxxxx
Download the flasher for the Operating System you’re using from the links above
For Windows, you also need to download and install “Googles USB driver ZIP file” from xxxxxx
For installation instructions, see xxxxxxxxxxx
Place the flasher as well as the CalyxOS image into the same folder. Do not extract or rename the zip, simply copy it as-is.
Double-click the flasher to run it, and follow the steps shown on your screen.
If that doesn’t work, then you can:
Open a Terminal or Command Prompt in that directory, and then
Run the flasher using:
Linux: chmod +x ./device-flasher.linux; ./device-flasher.linux
macOS: chmod +x ./device-flasher.darwin; ./device-flasher.darwin
Windows: .\device-flasher.exe
Notes
On some Linux distros, you may have to use sudo, i.e. sudo ./device-flasher.linux
On macOS, you may have to disable gatekeeper. See xxxxxx
On Windows, your anti-virus may falsely flag this as infected. This is because the program is written in the Go programming language, see xxxxx for more information.
This is the updated August 2021 security patch
CalyxOS does not include gapps and can not be flashed on this rom.
MicroG is included and can be enabled or disabled based on user preference.
Aurora Store replaces Google Play Store. Most Google Play Store apps supported. Google play store paid apps are NOT supported.
MicroG replaces Google Play Services.
Google Fi does work but must login to Google account.
Signature spoofing support.
MOD EDIT: Links removed
I tried to install with no success, unlocked phone but doesn't allow my to flash new OS on it, I tries CalyxOS & GrapheneOS the same way and I tried run xxxxx (MOD EDIT: Link removed) on their site but PC doesn't alow me to run it.
Is rooting on this ROM not recommended?
darashikoh said:
Is rooting on this ROM not recommended?
Click to expand...
Click to collapse
Calyx doesn't support root
adavid said:
I tried to install with no success, unlocked phone but doesn't allow my to flash new OS on it, I tries CalyxOS & GrapheneOS the same way and I tried run xxxxxx (MOD EDIT: Link removed) on their site but PC doesn't alow me to run it.
Click to expand...
Click to collapse
It is either your browser, antivirus or firewall that are blocking this installation.
First, try a different browser.
Then turn off/make an exception in your antivirus.
If that doesn't work, check firewall to see if it's being blocked.
In my case, it was the browser and the firewall blocking the download/app.
For anyone wondering... this ROM is amazing. Runs smooth/fast. No bugs that I've experienced. Battery life is good. Not a ton of features, so if that's what you're after you should probably look at Resurrection or something like that.
To anyone security/privacy-conscious looking for a good mix of security and convenience, I think this ROM hits a sweet spot.
I've tried Graphene OS and the Lineage OS with microg patch. Both were great ROMs, but Graphene is way too locked down for my purposes and lineage is a bit too insecure for my nerves.
Try it out! And while you're at it, give the Calyx Institute a look. They have a membership program that has several benefits, including an LTE hotspot with unlimited data.
Very good rom. Very good battery life!!!!!! Only thing is I can't sync gmail.
WaxysDargle said:
For anyone wondering... this ROM is amazing. Runs smooth/fast. No bugs that I've experienced. Battery life is good. Not a ton of features, so if that's what you're after you should probably look at Resurrection or something like that.
To anyone security/privacy-conscious looking for a good mix of security and convenience, I think this ROM hits a sweet spot.
I've tried Graphene OS and the Lineage OS with microg patch. Both were great ROMs, but Graphene is way too locked down for my purposes and lineage is a bit too insecure for my nerves.
Try it out! And while you're at it, give the Calyx Institute a look. They have a membership program that has several benefits, including an LTE hotspot with unlimited data.
Click to expand...
Click to collapse
did you lock your bootloader?
I installed CalyxOS on my 4a yesterday afternoon and all I can say is "Two thumbs up".
Only issue I have had so far is Signal telling me it can't find google services and the pop-up about establishing a connection (I don't remember the exact wording). I reinstalled Signal and haven't had the pop-up in awhile. Not a deal breaker by any means. I think I have this fixed now.
I'm on Visible Mobile and have had no issues with data, SMS, or calls.
I haven't flashed a phone in 7 or 8 years... The CalyxOS install was simple as pie.
sinkoo1979 said:
did you lock your bootloader?
Click to expand...
Click to collapse
No. Didn't know that was an option
Why you ask?
WaxysDargle said:
No. Didn't know that was an option
Why you ask?
Click to expand...
Click to collapse
because I locked it.
TheSayaMan said:
CalyxOS for Pixel 4a Sunfish
xxxxxxxxxx (MOD EDIT: Link removed)
Simple install. Extract link to your ADB tools folder. Double click on flash-all and let the flashing do the work on it's own.
This is the updated February 2021 security patch
CalyxOS does not include gapps and can not be flashed on this rom.
MicroG is included and can be enabled or disabled based on user preference.
Aurora Store replaces Google Play Store. Most Google Play Store apps supported. Paid apps NOT supported.
MicroG replaces Google Play Services.
Google Fi does work but must login to Google account.
Signature spoofing support.
Click to expand...
Click to collapse
Paid apps dont work as in apps like Spotify and Strava?
sruel3216 said:
Paid apps dont work as in apps like Spotify and Strava?
Click to expand...
Click to collapse
Referring to paid apps from the Google Play Store. This Rom does not have google play store or google play services.
slimbobaggins said:
Calyx doesn't support root
Click to expand...
Click to collapse
Actually that is incorrect. You can use the boot.img inside the image zip and patch it with magisk and root it.
sinkoo1979 said:
Very good rom. Very good battery life!!!!!! Only thing is I can't sync gmail.
Click to expand...
Click to collapse
No but you can always use browser to login to your gmail account.
OP updated with March security update. If you are already on January or February's of this ROM, and don't want to wipe your device, you can edit the flash-all.bat file with notepad and remove the -w before the update zip.
TheSayaMan said:
Referring to paid apps from the Google Play Store. This Rom does not have google play store or google play services.
Click to expand...
Click to collapse
Right but what do if they are installed via aorara?
sinkoo1979 said:
because I locked it.
Click to expand...
Click to collapse
Anything I need to know before locking mine?
sruel3216 said:
Right but what do if they are installed via aorara?
Click to expand...
Click to collapse
The paid apps are not available in Aorora Store.
TheSayaMan said:
The paid apps are not available in Aorora Store.
Click to expand...
Click to collapse
I see spotify in the Aorara app store. Its subscription based in the app, not paid through play store