yashsingh1/xdaforums huggingface dataset:
[Magisk] daftect:
Well, I can't seeing that was one of my showstoppers for using NanoDroid, I went back to opengapps nano.
[Magisk] d1n0x:
Traitor
[Magisk] TheMadRuffian:
Despite the controversy regarding Digital Wellbeing, does it work with the latest implementation of NanoDroid?

Thanks in advance
[Magisk] Setialpha:
The microG build in the NanoDroid F-Droid repo does, yes.
[Magisk] Apex Predator:
You need to downgrade to v191 to get push messages working. Then you can update to v193.
[Magisk] DoR3M3:
The things you are doing like this, is just another fine example of what I'd hope to see going on in the microG project, so when people have to download and manually install like me, which is not to imply any disrepect towards you! You are doing a great job, but you said it yourself, this is more for Custom Roms, and this isn't going to work for everyone if on Stock.

I hope things like this you are doing are being pushed as well by either you or someone else in the microG project. Unless what you are doing is just something exclusive to NanoDroid and it doesn't need to happen with the microG project, they have everything that you are doing covered?

The point is, you make it look like you are really doing some great things because you are so active with NanoDroid compared to microG development... LOL

Cheers
[Magisk] sxml2015:
I have a question, why not use Google's official market, but use the Google patch market?
[Magisk] Oswald Boelcke:
As the OP (that's always the very first post of a thread) briefly and the read-me, also linked in the OP, clearly states:

I assume you did read both prior to posting. Anyway, you can use the official Google Play Store (e.g. downloaded via apkmirror) but then you won't be able to make any purchases.
[Magisk] ashwini215:
So I tried this on Samsung A5 (2016) running stock nougat 7.0 and the latest beta version works just as intended.

But I can't seem to update it through the fdroid repo.

Microg services core was updated to v0.2.6.14366-dirty-102 and updating it via fdroid repo is giving an error -112 which says 'system failed to install the package because it is attempting to define a permission that is already defined by some existing package'.

Any suggestions please.
[Magisk] bre75:
Hi Sorry really basic questions but i just want to be sure how to install... From stock rom (OxygenOS), do i need to flash from recovery NanoDroid ? And then after reboot can i choose from NanoDroid options to get ride of GApps ? Will i have to uninstall and reinstall all my apps after setting up MicroG ? Thx for any help.
[Magisk] Setialpha:
Hmm... NanoDroid started as a personal project, for myself only, but after adding Magisk support and posting on XDA, it suddenly grew way bigger as I expected in first place. Since my personal goal is to reduce Google to Nintendo private-data-wise, I'll happily assist others trying the same. I'll skip explaining in detail, but read it as: give Google only the actually required data for serving me, the way I want and deny everything else, just as Nintendo, which in first place deosn't even ask for "everything else".

My microG build is a compilation of my own changes (a handful) and changes from other people, currently there are 11 relevenat open pull requests for microG, which contain almost all my custom build includes, so it's up to mar-v-in to merge those changes from us upstream, no exclusiveness as such, or as gamers would say: it's only "time-exclusive". Also the source for my microG build is on GitHub.

mar-v-in is part of a newly built start-up which likely consumes much of his free time, thus the slow-down in development. I personally see my microG build as somekind of "unlicensed" beta (lol), which sucks up all work before mar-v-in gets to merge it.
[Magisk] Setialpha:
Yes, downgrading smali/baksmali solves the issue, though the patcher indeed does include smali/baksmali 2.2.5 for SDK 26 and newer, for older SDK it includes version 2.2.2. Is an even older version required for Android 6? You can see the file patcher/CommonPatcher, function detect_sdk(), line 237, in the git repo.

In theory it should work, yes.
[Magisk] Setialpha:
NanoDroid can be flashed from both TWRP or Magisk Manager, though TWRP is the recommended way. Setup needs to be done before flashing. It tries to get rid of GApps during installation.

Yes, if you're going for a dirty flash, then you'd indeed have to re-install those apps that use GCM/push messages.
[Magisk] bre75:
Thanks a lot for your answer it's much more clear now.

2 last questions : in TWRP do i have to wipe cache etc ? Is it better to uninstall my apps before flashing NanoDroid or it doesn't matter ?
[Magisk] Setialpha:
wiping cache is optional, it doesn't matter whether you uninstall those apps before or after installing NanoDroid. You just have to setup microG first, then reboot (as stated in the documentation linked in first post), then re-install them for push messages to work.
[Magisk] bre75:
Thx. Really appreciate you took time to answer me !
[Magisk] zxip:
I just did a complete clean install according to the instructions and get the message "*APP* won't run without Google play services which are not supported by your device" from protonmail or a push notification tester app. Protonmail still works but I don't get push notifications. WhatsApp registered for gcm according to microg settings but signal complains about missing play services. Does anyone have an idea what is going on?
[Magisk] Setialpha:
I guess you don't have Fake Store or Play Store installed, or you did not grant signature spoofing permission.

As mentioned here: https://gitlab.com/Nanolx/NanoDroid#issues
[Magisk] zxip:
I installed the nanodroid microg and fdroid packages in recovery after the nitrogen OS 9.0 rom and magisk, gave all permissions including signature spoofing on first boot, updated via fdroid repo and rebooted. According to the microg self-check everything is fine except for the play store signature. But the play store that is included in the zip has the signature spoofing permission.
[Magisk] Setialpha:
Play Store needs signature spoofing granted separately, it's not getting it automatically, just as I said.

Settings > Apps > Permssions > Signature Spoofing
[Magisk] zxip:
Oh I'm sorry you're right. If I looked just at the permissions of the play store it had the signature spoofing permission. But it was not enabled in the seperate signature spoofing menu. Now everything is working. Thank you alot.
[Magisk] bre75:
I just saw on the 1st page that NanoDroid works for Android 9.0 and needs to be "deodexed".

I'm on OxygenOS 9.0.1/Android 9 so i'm not sure anymore it will work ...

I also checked with "Signature Spoofing Checker" if my ROM supports Signature Spoofing and i got "Disabled". Does it means i can't deodexed my rom or that it's not done yet ?
[Magisk] kurtn:
Sorry, no. Spoofing disabled has nothing to do with deodexed. Typically pie ROMs have no signature spoofing support and are odexed. The route to get microG compatibility is

1. deodex

2. patch
[Magisk] bre75:
Thanks. I will have a look how to perform a deodex. From what i understood it's more "complex" on Android 9.

---------- Post added at 10:08 PM ---------- Previous post was at 09:41 PM ----------

I'm sure some will laugh at my questions but i prefer to ask than doing mistakes..... Do i have to root to be able to flash Nanodroid ?
[Magisk] kurtn:
Sorry, are we talking about oxygen OS? I have seen no report of successful de-googling that ROM. General recommendations are to install a custom ROM.
[Magisk] bre75:
You're right i'm on Oxygen OS 9.0.1.

On another device i installed LineageOS for microG which is working really well. But there's no OnePlus6 version of this Rom.
[Magisk] kurtn:
I recommended https://xdaforums.com/oneplus-6/development/rom-lineageos-15-1-t3814832/

Nanodroid patcher can deodex Oreo ROMs.
[Magisk] Setialpha:
Not essentially. Most features and apps are rootless. Without root, for example, Amaze can't browse / or /data and the-like.
[Magisk] Gia90:
I managed to deodex my rom using the baksmali/smali version 2.1.3, so it seems an older version is required for API version < 24.

I already integrated those changes in the CommonPatcher, but I don't have enough devices running Android 6 to properly test it.

Another issue that I faced, this time related once again to the x86_64 arch, is this error when the script is trying to use the zip.x86 binary bundled in your patcher zip:

I dunno how this file was compiled, but it's failing finding some used symbols..

After spending the whole day, I finally managed to cross compile a new "zip.x86", this time statically linked.

On my tablet, it seems to work well, but also in this case, I cannot properly test on different devices...

I will push soon my changes on GitLab, so that you can have a look :)

PS: Unfortunately I had to use version 23 as target API when compiling the "Info Zip" binary, to avoid "pthread_atfork" missing reference linking errors.

I didn't search a lot for possible ways to make it work on older platforms.

Here more info: https://github.com/openssl/openssl/issues/3901
[Magisk] kopap:
Hi i get onedrive app crashing with microg outlook works fine .Does anyone know a solution? (using other cloud services isnt an option)
[Magisk] DoR3M3:
Well in the meantime, as I'm installing manually, if and when I need Play Store for paid apps I've been using your Phonesky.apk, so I can say with microG manually installed from F-Droid that the Phonesky.apk works!

Thanks
[Magisk] weissgarnichts:
Hi.

I am using AOSIP Pie on a whyred.

I installed nanodroid with the setup as a magisk module including swipe for the Aosp-keyboard but the keyboard crashes when i try to swipe.

Here the logs:

https://del.dog/hosubavama
[Magisk] nickelnine:
Hi,

I'm having some trouble getting the UnifiedNLP to work. I installed via Magisk, the Nanodroid-microg module and have configured backends. I just can't seem to enable the 'System supports location provider" checkbox or the "registered in system" checkbox. Any suggestions please? I'm on Oneplus 6 Android 9 Liquid Remix ROM.

Thank you.
[Magisk] kurtn:
Change ROM
[Magisk] Okeanij:
I have a question. Waiting new rom for my phone, it will be Lineage 16.0 (Android Pie), so I need to install MicroG here.

But as on instruction for Pie, patch need to have classes.dex in services.jar.

Am I right to make this I just need to extract from rom archive classes.(some Pie extension, now I dont know name), deodex it, and replace old classes.* with new classes.dex? Or I need to have them both?
[Magisk] Setialpha:
The patcher checks for classes.dex in services.jar, as stated, so it needs to be there. Automatic deodexing in Pie is not possible, manual kinda difficult compared to Oreo and below.
[Magisk] Setialpha:
Ever felt jealous of OmniROM for their OmniJAWS? No longer, NanoDroid's F-Droid Repo now contains a build of it, from latest official source and gradle build scripts by azuwis.

Note: OpenWeatherMap is not supported currently, as I don't have an API key (yet?), so go with Yahoo! backend for now.
[Magisk] bre75:
What if we did it on Oreo then through OTA upgrade to PIE ?
[Magisk] Okeanij:
In the end of deodexing instruction from "vdexExtractor: Strategy to convert CompactDex back to StandardDex", there is post for tool to make it simple. I hope it will help.
[Magisk] kurtn:
Noob idea! We have to praise setialpha for making a on device patcher. This patcher is automatically activated after each OTA. If it fails in a fresh installation, it will also fail in OTA.
[Magisk] bre75:
What i meant is : On an Oreo device with flash with success NanoDroid. Everything working fine. Then "one day" OTA upgrade for PIE comes. What happens ?
[Magisk] friedCELLS:
I'm completely lost here. Been trying to install this for about 5 hours now. Actually over 12 if you count all the reading, backing up messages, contacts, important apps and info, downloading all files. I unfortunately cannot install any AOSP Rom as I need WiFi calling on my H932 on T-Mo and no AOSP Rom for our device supports this. So I'm flashing the latest beta as this seems to have the most progress for flashing on stock Roms. So I start with a clean flash of Oreo stock. Then I flash Magisk. Then I flash full Nanodroid package. Boots but the part where you setup a new device keeps crashing and nothing gets me past this. Not rebooting, not trying to close setup manager, nothing. Then I start over. Wipe everything, install Rom again, install Magisk, install just microg and fdroid. Gets stuck on T-Mo screen. Won't boot. Then I start over, boot without installing any microg packages, get through setup on phone, reboot, install every possible combination of packages, and never get past T-Mo screen. Try again, install Rom and Magisk, boot, setup, reboot, flash services.jar patcher and it boots, then reboot, flash microg and fdroid only, and can't get past T-Mo boot screen. I just don't understand why when I flash the full package during a clean install, it boots but I keep getting crashes of the setup wizard trying to initiate. It's a good sign that it boots after flashing the full package. So logically I have to get through the setup before flashing any package, but if I do that, I can never get it to boot again after flashing anything containing the microg zip. It says these things can also be installed via Magisk modules. Where are those? I go to Magisk and search in the modules, and there's nothing to do with this in the modules. So then I think maybe zips can be flashed in Magisk. Look through all the options and that doesn't exist. Read the OP, read the more detailed instructions on the git link in OP. Nothing anywhere about how to install via Magisk modules as it says can be done. How? I don't know what to try next. I've been trying to do this without asking questions but I'm totally lost and there's different information everywhere I look.
[Magisk] kurtn:
Fail
[Magisk] kurtn:
Besides the possibility to donate for WiFi calling:

I dont think the boot-problems are from something you add, but from something that gets removed. Some verry basic Stock-Rom debloating stepps:

Clean install

Setup without Google account

Deactivate some system apps

Reboot

repeat
[Magisk] bre75:
I'm wondering ...If i installer HydrogenOS on my OnePlus6 it would be Gapps free right ?

And if it's the case it would be possible to install directly microG on it ?
[Magisk] friedCELLS:
I appreciate the response. When you say deactivate some system apps, do you mean Google apps, or are there others that could be offending? There's about 200+ preinstalled things on stock so it's a bit daunting.
[Magisk] kurtn:
I think main apps are Google play and play services.
[Magisk] friedCELLS:
Finally got excited about this and had it installed. Been trying this for 2 solid days now. What finally worked on my stock oreo H932 was to install clean Rom, don't setup Google account, remove all Google related things in Titanium Backup, flash Nanomod patcher, reboot. And then flash microg and F-droid from within Magisk! (never knew you could flash zips in Magisk). Flashing from TWRP always fails to boot. Followed instructions to get all the checkboxes in Microg to be checked. Rebooted. Everything still checked, everything enabled. Can't open Play store. Can't install any apps from anywhere, can't restore any apps, can't access any app permissions, can't even open file manager. All these things give me a package installer error. Any ideas? Tried rebooting, tried installing Yalp store, tried clearing cache. Nothing works.

Edit: Also, mysteriously, WiFi calling won't work anymore. Get a Reg99 error. Tried resetting network settings. WiFi on/off, reboot. No Wi-Fi calling.
[Magisk] kurtn:
Tried installing apps before flashing microG? One time I've seen such a behaviour. It was magisk related.
[Magisk] friedCELLS:
Only whatever apps are already there. Didn't install anything else. Only did first time boot, removed google apps, reboot, install MicroG. Any fix for Magisk related issue?
[Magisk] :
i also just installed pie rom with nanodroid and i get same message "*APP* won't run without Google play services with protonmail, it was working on oreo and i had no message like that so :confused:

edit:

got it working
[Magisk] friedCELLS:
I've finally got this to where it's almost working. My package installer isn't crashing anymore. I've been working on this for 2 days. Today...almost 15 hours non-stop. I've tried everything. Won't go into everything that I've done. But it's installed, all checks are checked (see screenshots), package installer isn't crashing. I have F-Droid installed, microg repository, everything updated, but I can't open play store or add google account. Always get a microG core has stopped. I don't have options in my settings to add signature spoofing but it shows that it's checked in the Self Check. I flashed the patcher for that. Is there something that I'm missing? Do I also need an Xposed module? I did not install xposed. Please give me any ideas that you have. I'll only have 2 hours in the morning before I need to leave and need my phone working. So if I can't get it by then, I'll have to abandon this 2 days of work on this. And I want so badly to be Google free. But I can't install an AOSP Rom for various reasons. So I'm stuck trying it on stock. Thanks so much if you have time for suggestions. :fingers-crossed:
[Magisk] kurtn:
To get Google free: don't sync accounts. Get contacts as a vcf file. Get play store content with yalp.
[Magisk] friedCELLS:
I already have my contacts via vcf. But there are some apps that I need for work that do not function without the gms core working properly.
[Magisk] LovepreetSinghGill:
How to fix this error of Google play store

"error retrieving information from server rh-01"
[Magisk] Oswald Boelcke:
That was already really often discussed. Just use the powerful XDA search engine and search this thread but also the µG one.
[Magisk] ydd0ras:
On my devices a reboot mostly help.
[Magisk] pajz38:
Can i flash this over lineageos for microg?
[Magisk] d1n0x:
Yes, but you need to enable "override apps" in the setup wizard
[Magisk] lambroslnk:
In my experience clearing data/cache of the store fixes it 100% of the time. If i close it again, to work again i need to clear data/cache everytime. But the results are consistent.

I personally keep the store frozen, and unfreeze it - clear data/cache - use it for whatever reason it is (install purchased apps) - freeze it again.

For the rest of the time I update my apps with Yalp Store and APKupdater apk.
[Magisk] Setialpha:
override apps is only for extra apps from the Full package (Amaze, Blokada...), not for microG or F-Droid, they'll always do.
[Magisk] pokipokipxorn:
[MENTION=1191841]those[/MENTION] on android pie

Care to share how to handle .cdex files?

Got lost on the instructions from OP, ty
[Magisk] meltbanana:
thanks [MENTION=4173217]Setal[/MENTION]pha, for me everything except google maps works flawlessly on a poco f1 with LOS16. Maps - searching endlessly - can't be fixed atm, right?
[Magisk] ydd0ras:
Haven't tested it before. Just installed Maps. Doesn't shows any maps, you're right. Have an p0c0 with LOS 16 as well. With spoofed signature. Everything works including GCM, certified PS and passed SafetyNet. Personally I don't use Google Maps,but was curious.
[Magisk] Apex Predator:
[MENTION=8938444]meltbanana[/MENTION] [MENTION=6282592]ydd0ras[/MENTION]

See the microG thread for some ideas which maps version might work for you.

https://xdaforums.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616/page533
[Magisk] the.D:
[MENTION=4187311]Setialpha[/MENTION] left out the part where you must use the external tool "compact_dex_converter" to convert a Cdex file back to a standard Dex.
[Magisk] guest4711:
So just don't use aroma. Create the config file by hand (if necessary, see OP), reboot into recovery and flash NanoDroid...
[Magisk] iruiz2:
First of all, a big thank you for all this work! I'm trying to migrate to micro-g but I'm having some issues:

All micro-g self-check lines are checked, BTW.

1- protonmail push notifications don't work. I tried like suggested in another post downloading a previous version (191) but the app doesn't recognize my credentials.

2- Google Maps. Map tiles don't seem to load.

I tried this in a crDroid Oreo + nanodroid and in lineageOS with micro-g. Same result.

Any help?
[Magisk] aaron74:
[MENTION=4187311]Setialpha[/MENTION]

Many Thanks for this. I am new to microG and am interested is becoming Google free. And this is very well informed. The gitlab pages are well documented. Thank you very much for this.
[Magisk] vaselor:
Latest versions of Google Maps doesn't work. Check this thread as it's already been talked about, [MENTION=4187311]Setialpha[/MENTION] commented what was happening. AFAIK every other navigation system works fine.
[Magisk] iruiz2:
Thanks. Solved GMaps by going back to 9.80.0. Any idea on protonmail?
[Magisk] DoR3M3:
[MENTION=4187311]Setialpha[/MENTION], keep up the great work!

Do tell what does Crossfield mean? :)
[Magisk] guest4711:
See the hint in his announcement:
[Magisk] vaselor:
No idea really. I don't use it, sorry!

Enviado desde mi Redmi Note 2 mediante Tapatalk
[Magisk] DoR3M3:
My bad...
[Magisk] Setialpha:
http://memory-alpha.wikia.com/wiki/Crossfield_class
[Magisk] Peter1212:
Play store RH-01

I'm unable to get my play store working.

I am on android 9.0 using TugaPower Rom on oneplus one. I don't have the xposed since it isn't available for sdk 28 yet. I can't get the signature spoofing to work and I don't want to install microg in my system, I am using magisk to keep it systemless.

I have tried shadow53's method from his site to enable Fake Signature through terminal but it doesn't stick after a reboot. And even if I don't reboot and in MicroG self-check I can see the play store has correct signature as ticked off, play store still doesn't work for me even after that. Tried clearing the app cache and data but still nothing.

After the reboot it returns back to normal. I was going to try and put that command in userinit.sh but unfortunately it isn't working for me in android pie, even after using kernel adiutor to emulate the init.d

Could this be related to me using a different kernel than what came with the ROM, although I was using thunder kernel without any problems before. I can't seem to come up with a solution, can someone shed some light, I don't want to lose play store and even so need it's license verification check for some of the apps I paid in before.
[Magisk] mobilism:
Many thanks for this! Installed version 19.0 "Crossfield" ,everything works great!(microg works without starting shadowsocks )

But when I use Myandroindtoolspro to disable some application Service, activity,receiver (do no disable anything about microg application) .(microg Only works with starting shadowsocks,else fail connectting to google sevices)

Attached log!
[Magisk] Apex Predator:
Quick question before I update to v19: when the F-Droid repo became a thing, I had to flag Fakestore to not receive updates because it would get replaced by the full phonesky version. Is that fixed now and can I turn updates back on after installing v19?
[Magisk] iacchi:
Yes, it's fixed. At least, I have fakestore installed and I keep having that.
[Magisk] DoR3M3:
Woo Setialpha is a Trekie! LOL

Live Long & Prosper! :)
[Magisk] Nosepull:
I get a bootloop, too, with the current release. The previous beta works. S7 with LOS15.1 and Magisk17.3.
[Magisk] sxml2015:
The orbot I installed still does not open this setting.

microG settings

How to use him?
[Magisk] guest4711:
"Not yet supported" means "not implemented". So you either must implement it yourself or wait until the dev(s) have finished it...
[Magisk] Klizi:
Why don't we see this nanodroid in Magisk module repository? This F-Droid setup has never worked for me. It just displays as the package requires up to date but when I run the update, it just fails.
[Magisk] joelh:
Have you given any consideration to adding an Aurora Store + Fake Store option for microG?
[Magisk] Setialpha:
For various technical issues. It won't ever come to the module repository.

If F-Droid does not work for you as expected, I would need more informations, most preferably a logcat.