yashsingh1/xdaforums huggingface dataset:
[Magisk] :
Instructions:

1. Wipe everything (system, data, cache, dalvik cache)

2. Flash ROM

3. If you want a Magisk install (to use pseudo-remove), flash Magisk first, otherwise flash it after flashing NanoDroid

4. Flash Xposed (if you've flashed Magisk, I recommend you flash Xposed later from its repo)

5. Reboot

6. Enable all permissions in the microG app

(Make sure to enable device certification and the cloud messaging, otherwise you might not get push notifications from some apps)

To run the setup wizard just flash it in TWRP. It will present you with an Aroma installer, where you can visually choose what you want installed. No need to reboot afterward, you can just flash the ROM and NanoDroid as mentioned above.

To download the NanoDroid package go to the first post and find the link labeled "Stable". It will redirect you to the dev's website, where you can download the full package and the setup wizard.

Don't reboot in-between the packages, reboot after you've installed everything, otherwise some apps might not work.

Can you tell me which device and which rom, I might be able to tell you if it's de-odexed. But for reference, NitrogenOS supports Signature Spoofing and NanoDroid works with it without modifications. LineageOS though doesn't work, but I don't know if patching it will work (it probably will).

Again, flash everything before rebooting.

You don't need to flash a custom kernel. If you don't know what that is, you should just stick with the one that comes with the rom, it should work just fine.

The package you mentioned features all the stuff, including the Apps, which you can choose to install. I recommend you flash that one and select the features you want in the setup wizard.

Hope this helps, if you need any more info PM me, but please at least tell me your setup (device and rom you want to flash).
[Magisk] AngryLady:
That's my device (Vince) and preffered ROM (AEX). I'm following your guide tonight. Thank you and stay in touch.
[Magisk] kurtn:
There you have luck. No need to care about (de)odexed, nanodroid patcher or xposed. ROM has built in signature spoofing. You only have to grant permission to microg and phonesky.
[Magisk] ranfdev:
After trying with the AEX rom everything works fine. This is strange, in the others 2 oreo roms i tried, it didn't work. Anyway, thanks for your awesome work!
[Magisk] Predatorhaze:
Will nanodroid/microg support play games in future?
[Magisk] inVain_theGenuine:
is there anyway to un-install,

just a single apps

installed on the magisk partition by the NanoDroid?

so here's the background:

I had the Nanodroid installed the following apps to the magisk partition:

- AnysoftKeyboard

- Orbot

- Orfox

- QKSMS

- SimpleGallery

- Termux

long story short, I can't make the Orfox working as the system app on Omni Rom 8.1 for mido (I've tried manually extract the lib, and place it on the system partition.... still got no luck).

now since everything's work flawlessly..... really minimum error on MatLog; I need to remove the Orfox only.

is it possible without having to re-install the NanoDroid again? (I'm too afraid that I might broke something in the process :">)
[Magisk] FriendlyNeighborhoodShane:
Just use a file manager to delete the orfox folder in /magisk/NanoDroid*/system/app/

(i am taking some artistic/common-sensical liscence on the module name)
[Magisk] inVain_theGenuine:
you're absolutely right.

I used to thought the magisk partition was hidden away only accessible via the terminal while in the recovery...... LOL

you've made my day, thx a bunch :)
[Magisk] demonoidmaster:
Ahhaha why did they put the same app in both ? Whoever made that rom either forgot to remove one of the two, or just doesn't know what he's doing

In any case remove the dupe package from priv-app (make a backup)
[Magisk] AngryLady:
How to re-configure NanoDroid-SetupWizard and also update into NanoDroid Beta? I Succesfully boot into ROM (AEX) with NanoDroid-MicroG-Stable. It's clean without apps installed because I uncheck all apps in the NanoDroid-SetupWizard before. The battery drain faster than the Stock-ROM (MIUI 9). I need to re-enter NanoDroid-SetupWizard again to install some apps.

Is this STEPS ok?

1. Flash Setup-Wizard.zip again

2. Choose what apps to install

3. Flash NanoDroid-MicroG-BETA

4. Reboot to ROM

Do we need to uninstall first (flashing NanoDroid-Uninstaller.zip)?
[Magisk] :
Since you can update without flashing the uninstaller it should work the same in your case.
[Magisk] nugrohoz:
hi, i have flashed nanodroid-microg version through twrp. as i mentioned, i have flashed rom (omnirom 8.1) and magisk before i flashed nanodroid. after the device boots up, microg setting is on the launcher but,the play store is not working. it keeps stopping. could anyone help me please, thanks before.
[Magisk] abacate123:
Did you follow these steps here after the first boot?:

https://gitlab.com/Nanolx/NanoDroid/#microg-setup

Also, make sure that your rom has support for the signature spoofing, as mentioned here:

https://gitlab.com/Nanolx/NanoDroid/#signature-spoofing-support
[Magisk] inVain_theGenuine:
this is super awesome! :good:

by the way,

does the NanoDroid can be use to manually re-adjust the magisk partition?

or at least, have it kept the initial ~350mb instead of re-shrinking it according to the chosen installed apps....

since I've just learn that the NanoDroid had made customizing system apps is really easy :D
[Magisk] Pupet_Master:
I'm not too sure, but i would say that yes. There are other modules that re adjust it so NanoDroid do the same ;)
[Magisk] Setialpha:
Nope, that's not supported (yet).
[Magisk] AngryLady:
CarbonROM Not Supported

Not working on CarbonROM (v7.1.2) device: Redmi 5 Plus (Vince). I've flashed NanoDroid-STABLE (v16.5 Full) also Latest BETA (v17-BETA-2 Full). I've done all settings instructions and restart. UnifiedNlp status is not registered. See screenshot.
[Magisk] marcdw:
It works. Problem is with CarbonROM. UnifiedNlp issue is a known(?) one.

Search this thread and the main microG thread for that ROM.

Only solution I had for Carbon was to install Xposed and the XposedGmsCoreUnifiedNlp module. With that everything was good.

Moto G5S Plus XT1806, PixelExperience Oreo, MultiROM, Tapatalk 4.9.5
[Magisk] AngryLady:
It means overwrite microG-by-NanoDroid with XposedGmsCoreUnifiedNlp module via Magisk? Or uninstall microG-by-NanoDroid first, and then install Xposed-module and XposedGmsCoreUnifiedNlp-module via Magisk? Thank you and sorry I'm beginner. Also the XDA's search is not working.
[Magisk] inVain_theGenuine:
if it wasn't too much.... please consider it as a feature request :o
[Magisk] marcdw:
Oh, sorry, I don't use Magisk. But no you wouldn't/shouldn't have to touch your microG setup.

You would install the appropriate Xposed framework via Magisk. Then the Xposed installer app that is used to install and activate the aforementioned module.

Again, I'm not a Magisk user so hopefully someone else will chime in with correct steps to take.

Xposed can be iffy, depending on device or ROM, so take precautions (nandroid backup).

ZTE Axon 7 A2017U, AospExtended v4.6 ROM, microG (NoGapps), Multiboot, Tapatalk 4.9.5
[Magisk] inVain_theGenuine:
I didn't mean to scare anybody, but I'm currently unable to pass safetynet with microG anymore after I was installed xposed (the system-ed, one).

previously, I had no issue on passing the safetynet with microG /NanoDroid.

so please be cautious when using xposed :)

to my understanding, the main function of the microG xposed module; is to granting the spoof permission for the microG and the fakestore.

afaik, this is not necessary if you're using a rom which natively allow the "spoof permission" (such as, the Omni Rom).

or, you can use the NanoDroid-patcher to grant the spoof permission for microG, and the patched Playstore bundled with the NanoDroid, or even the fakestore.

since you've already met the the requirement to grant the spoof permission for micro G and playstore (on your previous SS atachment), all you need is to provide the network location provider (nlp).

provided by: nominatim + ichnaeae (I personally use these 2 which can be found on the Nanodroid package as well) or the dejavu.

during my early attempts, I've learned the hard way; that I need to remove the "com.qualcom.location" from the priv-app folder.

I also learned, that I need to have both wifi + phone connected (with dialer app, as well), and set the location to battery saving profile to get my nlp works.

sometime, a reboot was required (as written on the micro-G self check itself)

I do remember reading somewhere, that there's an extra xposed module for the nlp as well....

but I can't remember whether I read it on the micro G thread, here, or somewhere else :D
[Magisk] Setialpha:
You never pass SafetyNet with Xposed and also currently not with microG, see https://github.com/microg/android_packages_apps_GmsCore/issues/521#issuecomment-381926017
[Magisk] AngryLady:
1. Find file ".nanodroid-overlay" in internal storage (it's hidden, show-hidden-files in explorer settings).

2. Open as Text. Edit and Save.

3. Open Termux. Type "su" enter. Type "nanodroid-overlay --update" enter.

4. Exit Termux and reboot.
[Magisk] xrogi:
how do i install micro g and fdroid correctly why when i install from an error in the installed package in rom?? :rolleyes:
[Magisk] :
Maybe include a bug report or the error first...
[Magisk] inVain_theGenuine:
ahhh...... that discussion really nailed my issue!

I got a hunch that google had blacklisted my device, somehow.

so "device ID" was the keywords.

guess I'll just pseudo-debloated my device for a while, till the demigod has returned :D
[Magisk] Setialpha:
For full documentation of the feature: https://gitlab.com/Nanolx/NanoDroid/blob/master/doc/NanoDroidOverlay.md
[Magisk] Klizi:
How do I update with magisk?

Should I remove the current version 16 beta 3, from Magisk in order to install the 17.0 beta 2 version? or should I just add new module by selecting the zip file? Would it be overwrited?
[Magisk] Setialpha:
Just flash.
[Magisk] alza jibrani:
thx , first day test MI A1 - Nitrogen OS.

flash via TWRP

how to install include google contact + sync via magisk?
[Magisk] Klizi:
I wanna know If I'm doing it using Magisk, (without twrp?)

And is it ok if I flash the -fdroid.zip and -microG.zip both?
[Magisk] igor renan:
this beta is not installing in my twrp will be why you have some light at the end of the tunnel for me to help
[Magisk] guest4711:
Without any log and any detailed error-message nobody can help you..

Save the recovery.log from TWRP after trying to flash and post it here (as attachment after renaming it to recovery-log.txt).
[Magisk] Setialpha:
Doesn't matter. Yes, the minor packages can be installed alongside.
[Magisk] alza jibrani:
in microG battery optm should be tick or untick?

because i cant change that and the install guide make me confiused :D

thanks for your help.
[Magisk] jenslody:
If possible all checkboxes should be active.

Battery optimization can break (parts of) microG (e.g. push notifications).
[Magisk] Klizi:
Thank you :good: I also figured out where's the magic happen. :o

since the module.prop file has the same module ID in both zip packages, It's safe to just import the next version's zip file as a module. :good:
[Magisk] Setialpha:
I just uploaded modified Play Store 9.8.07, use 'nupd ps' on-device, as root, to update.
[Magisk] fastguy:
Hi microg users, in related bug report, there are feedback from few users that say Google Photos Backup function is now working with microg.

I know it was possible to see already backed up pictures but you could not backup yours as microg didn't provide necessary functions.

Could any of you confirm if Google photos backup now works? (not because of changes in microg but possibly because Google Photos changed its backup method?)
[Magisk] kurtn:
I still don't understand why people move from gapps to microG and continue sharing all of their live with Google.
[Magisk] Gr0m03eka:
Doesn't work for me
[Magisk] iacchi:
you know, it's exactly what I was thinking! I mean, everyone's free to make their choices, but why bother with something that works sub-optimally, especially with Google systems, if you want to use Google stuff anyway? I can understand the play store because more or less it's the only way to get paid apps, but the rest?
[Magisk] :
Even though I agree with what you both are saying, and I don't even use the play store, there is a good reason to use microG. Battery life. Google Play Services are notorious for using up a lot of battery. They also use quite a bit of space. But yeah, if you're using google apps, then why not just use opengapps and not have any problems.
[Magisk] fastguy:
Exactly, my motivation for using MicroG was never privacy, it was more on battery life. I use Gmail service with Aquamail, and my contacts and calendar are still on Google even with microg, plus I use Google Photos.

Those are almost the only services I'm using.

I did setup my own "owncloud" instance (renamed to nextcloud now I think) and enforced client side encryption even in the past when I was more sensitive on this topic, tried with many other self hosted sync solutions, but unfortunately none of them gave the flexibility and feature of Google Photos. They don't go beyond storage and most of them don't do client side encryption.

I wonder how you backup your pics and videos? At home server with dual disks? Is it connected? Secure enough? What if a thief steals it? Or God forbid a natural disaster?

I don't consider myself important enough for Google to focus its attention on my pics, so I started using Photos after I discovered it.

Since this is going off topic, i can continue on PM if you'd like to continue the discussion.

I'm still interested to hear if any of you would like to give it a try and report back if it works.
[Magisk] kurtn:
This is an interesting discussion and I think we should stay here until OP says stop.

If you are searching for lightweight play services, you should have a look at Oreo go: https://arstechnica.com/gadgets/2017/09/android-8-0-oreo-thoroughly-reviewed/ "For Android Go, Play Services ... Read yourself
[Magisk] itzram:
Playstore stopped working

I am getting this whenever opening. Enabled signature spoofing. Changed battery optimization settings. What should I do more?
[Magisk] kurtn:
Did you enabling signature spoofing and disable battery optimization?
[Magisk] itzram:
Yes. Some what i made it work. But now apps aren't instaling. Can't install apk and from playstore
[Magisk] Dobsgw:
Unfortunately they are under the impression microg uses less battery.

It really doesn't. The privacy is amazing but google has actually seriously revamped battery consumption on gapps.

I switched back from being a long term microg user (and I'm locked into gapps now because I'm really enjoying having working safety net. I might switch back to microg when safety net works again) and honeslty there is no difference in battery life on Oreo 8.1 ROMs.

I do like the idea of privacy but I'm at the point where stability and features are beginning to over ride this for me (plus EU law is about to make things super easy to manage privacy so props to Facebook for that outcome for non FB users like us :p ).

So I'm back to gapps and will probably stay there for the safety net passes and working push notifications.

Battery is a non deciding factor since it doesn't seem to make a difference on Oreo (but perhaps older phones and firmware it does?).

I'll be experimenting with microg though once safety net is working again since the edgy techie in me really wants to be different and not use gapps (but retain some of the functionality).
[Magisk] ydd0ras:
I am not sure about the battery consumption. With microG I have never faced any (even slight battery drain. The battery consumption of the Gapps is better these day for sure. For me the aspect of my privacy is more important. I don't want to share my life on a every single breath or step with Google. Not with Facebook, Microsoft or even Xiaomi. They are all shi...on our privacy. What counts are billions, nothing else. Why do they have to save all the data, every spoken or written word, monitoring every move, absolutely everything. No thanks, life is better with less or better, without Google & Co.
[Magisk] raza.dey:
Unable to sign in to the e-mail address, Its not showing on gmail app.
[Magisk] Dobsgw:
The point is kind of to not have any google apps on the phone....

You can try removing the account and adding it through gmail
[Magisk] raza.dey:
Google drive, YouTube, Google+ working well but Gmail, Google play games can't find any google a/c,I've tried with my 2nd google ac but it failed to load that ac.
[Magisk] d1n0x:
I just used the manual setup and added the Gmail IMAP and SMTP servers
[Magisk] American_Jesus:
Whats the point of going nogapps is you want to use gapps!

Google play games doesn't work with microG at the moment, gmail you can create an app password (on you Google account settings) and use it with IMAP with other mail app (e.g. K9-Mail)
[Magisk] FriendlyNeighborhoodShane:
Thank you sir for removing column from novl dependencies. awesome work :svetius: keep it up

Also, I think the setup wizard has problems selecting b/w stores. i selected fake, it got play
[Magisk] :
The fake store is the Play Store. You have three options: No store, Yalp store and Fake Store (modded Google Play Store)
[Magisk] d1n0x:
No. Fake Store is just a placeholder for apps that look for an installed Play Store, so they don't go crazy if they don't find it.
[Magisk] :
Damn, ok, thx for explaining.
[Magisk] guest4711:
Thank you for the new version. It's running fine on all device where I can use magisk. But on my S II (i9100) nanodroid-microg fails to install. It stays about 2' on "installing scripts", then TWRP restarts. 16.4 installs fine.

According to the log (attached) there is a signal 6 because of calling an unknown entry in /bin/sh. (So it's not supported by this version of TWRP, which should be the newest one for my device):

substitute: adjust [MENTION=1844459]zipdir[/MENTION]@ in /system/xbin/nanodroid-overlay

substitute: adjust [MENTION=3065454]ModP[/MENTION]ATH@ in /system/xbin/nanodroid-overlay

CANNOT LINK EXECUTABLE "/system/bin/sh": cannot locate symbol "__register_atfork" referenced by "/system/bin/sh"...

libc: CANNOT LINK EXECUTABLE "/system/bin/sh": cannot locate symbol "__register_atfork" referenced by "/system/bin/sh"...

libc: Fatal signal 6 (SIGABRT), code -6 in tid 2032 (nanodroid-overl), pid 2032 (nanodroid-overl)

Starting TWRP 3.1.0-0-76958ae9 on Wed May 2 15:28:55 2018

Sorry, cannot upload complete recovery log now. Its hanging while uploading...
[Magisk] tom.android:
How to find error-log if i can't forced system with .nanodroid-overlay.?
[Magisk] FriendlyNeighborhoodShane:
Try an older/more stable versions of tour recovery. Something like this happened on my 'official' TWRP with several zips.
[Magisk] Setialpha:
Your TWRP is pretty old, try a new one, they fixed a lot of bugs.

Because it's the wrong file? .nanodroid-setup is what you look for. Though, why would you force System Mode, if you're already using Magisk?
[Magisk] guest4711:
https://eu.dl.twrp.me/i9100/twrp-3.1.0-0-i9100.img.tar.html is the newest one according to https://eu.dl.twrp.me/i9100/

So I'm using the latest one officially supported.
[Magisk] Mynacol:
UNTESTED but there:

https://xdaforums.com/galaxy-s2/orig-development/recovery-twrp-3-2-1-0-t3740526
[Magisk] flipmode_11:
Hi,

Is there a list of commands somewhere, or examples?

https://gitlab.com/Nanolx/NanoDroid/wikis/home
[Magisk] :
The 'doc' folder should provide you with what you need.

https://gitlab.com/Nanolx/NanoDroid/tree/master/doc
[Magisk] raptorddd:
i have old nanodroid version only microg core ect.. can i download latest stable and just flash it in twrp?
[Magisk] flipmode_11:
Been there, done that... The Doc folder doesn't mean anything, just lists of changes to files. WIKI is just Empty!

Thought it was weird....

Christopher Roy Bratusek > NanoDroid > Wiki

Empty page

You are not allowed to create wiki pages
[Magisk] :
I have no problem finding info on everything.
[Magisk] flipmode_11:
Okay, I was looking for actaul documentation mentioned in OP rather than code changes and GIT updates.

Never mind. Thanks.
[Magisk] Setialpha:
That is the actual documentation, just not in Wiki format, but standalone md.The README.md is basically the mainpage, the others linked from it.
[Magisk] PetaByteBoy:
I'm having an issue where the play store always asks me to add an account and then goes back to the home screen even after I added one.

I don't have the logs right now but I looked at them and didn't find anything suspicious.

I tried with CardinalAOSP, AOSPExtended and LOS 15.1 self-built with sig spoofing patch.

And in different combinations with NanoDroid 17.0.20180430 and the last Nanodroid 16.5.

I installed Play Music and the login works flawlessly, but still the Play Store will ask for an account.
[Magisk] :
Yup, I've encountered that one too. It just kept resetting to login screen on AEX but surprisingly enough the problem disappeared on crDroid.
[Magisk] abacate123:
It's just fine here, using v17 + AEX 4.5 (7.1.2). Maybe an Oreo thing?
[Magisk] PetaByteBoy:
Maybe. It worked fine in earlier Oreo builds of CardinalAOSP and LineageOS. Last time it worked I ran I ran a quite old build, from before April.
[Magisk] FriendlyNeighborhoodShane:
Does play have all the permissions?

---------- Post added at 11:32 AM ---------- Previous post was at 11:25 AM ----------

Hey [MENTION=4187311]Setialpha[/MENTION]

I've been thinking about this. Wouldn't it be cleaner and more practical to have one wrapper script instead of 5? like

nanod [upd|update|ovl|overlay|pem|permission|otherscripts] [arguments]

And just nanod will list out all scripts.

The actual scripts can remain separate, that's better this way [arguments were causing a lot of confusion otherwise]

Good work on 17 so far.

Good Luck and regards.

EDIT: Also, How about moving Play store and Yalp (and aurora when it releases hopefully?(of course with an android version check)) to the zip with fdroid and extension and renaming it NanoDroid_Stores? Fake store should remain in the microg zip and FS and PS will remove each other as needed on flash.

It will greatly reduce the microg zip size (most of use only use microg module due to internet constraints) and will keep the stores separate, which i personally would prefer as i myself can manually control them. For people who use both, this won't change anything anyway. Thanks.

EDIT2: (Sorry i'm just having these random ideas)

So to go along with the store idea, You have got to split the store variable;

-One for the stores that are mutually exclusive;

The normal store variable with these values:

--0 - No Store

--1 - Fake Store

--2 - Play Store

(FS is one and PS is 2 because MicroG's goal is to get rid of client-side google.)

-And Independent variables for each other store like Yalp, Aurora, F-Droid, Because these do not conflict with each other. Also, These should be moved to .nanodroid-apps because that's where they belong. They also deserve their own page in setup-wizard (with tick-type buttons, obviously, not radio)

This would allow for greater usability and flexibility, leading to greater automation, and salvation for those that don't want it. Plus, freedom is kind of the point of MicroG, isn't it?

Also, The way i would suggest the store variable logic would work, for clarification, would be:

-The MicroG zip would be like;

--If variable is 1

---Install FS in Microg module

---Remove PS from Store module if it exists

-The Store zip would be like;

--If variable is 2

---Install PS in Store module

---Remove FS from MicroG module if it exists

I know i may be suggesting quite a major change, but i hope it will ultimately lead to more usability and versatility for the module.

Thanks and Regards.
[Magisk] :
a question how can i install micro g and f-droid without the playstore
[Magisk] guest4711:
You may flash them using TWRP. F-droid may be installed as apk, too, but you have to allow "install from unknown sources" for this to work.