yashsingh1/xdaforums huggingface dataset:
[Magisk] inVain_theGenuine:
[MENTION=4187311]Setialpha[/MENTION],

with the NanoDroid Patcher, should I dial *#*#CHECKIN#*#* to activate microG?

I will also need to ask;

When, does this step should be made?

was it as soon as I got all the check mark on the microG's self check, or after I add the google account on the settings?

should I reboot afterwards?

as of this writing, what I did was: setup microG -> dial *#*#CHECKIN#*#* -> reboot -> setting up my google account on the setings -> reboot -> install my GCM based apps.

fyi, I had only FakeStore (no Playstore, nor Yalp were installed).

so far, my partial wakelocks are good.... but this matters are still troubling me..... I mean, did I did it right?

I learned this "CHECKIN" thing; when I'm exploring the Xposed repo....

but since I ended up with the microG module only on my phone, thought I just get back to NanoDroid Patcher and reclaiming the skynet passport :LOL:

thanks in advance :)
[Magisk] kecodoc:
Thank you for reply

after not use you mod I switch to AEX ROM All functions microG work well. :good:

But Google Search App new feed feature and weather clock not work does google search work well on your mod ?
[Magisk] kurtn:
Weather clock is a AEX bug. You can drag owni weather widget to home screen. If microG setup is OK, you will have weather for current location.
[Magisk] inVain_theGenuine:
I can confirm that microG is working with microsoft launcher's weather widget ;)
[Magisk] bertino:
My Google Play Store is crashing when I try to install an app. In logcat it says something about a SQL database. Can you please help me?
[Magisk] Setialpha:
Not without logcat, I'm not some slavic granny who reads the future from a glassbowl.
[Magisk] sacrificialpawn:
Maybe the funniest reply I've ever seen on xda!
[Magisk] bertino:
Yeah sorry about that. Here it is

Also I can't login into Gmail and other apps. (it asks me to add my account again and then says I already have it on my device)
[Magisk] Setialpha:
I just couldn't resist.

It may be related that microG currently passes as uncertified to Google, as an update to atleast it's DroidGuardHelper is required. I'll have a look at the log later today.
[Magisk] abacate123:
For the login issue, have you already given the "contacts" permission for those apps?
[Magisk] bertino:
Yes. Actually it's just Gmail and Google search that don't work . BTW, to sync contacts I used DAVdroid as they didnt sync automatically. That's how its supposed to be, right?
[Magisk] locolyric:
hi , i successful use play store to install things and gcm works fine.

but when i install google play games, it show some error that it need google play services.

and how to sync my contacts ? can i install the contact sync apk?

----------

is everything in self check must be check? because some option were unable to check .

like

UNfied Nlp is register in system:

UnifiedNlp do not have location to test geocoder

system supports location provider.
[Magisk] Setialpha:
Play Games is not implemented. Yes, install contact sync adapter. For the setup, see Installation in first post, everything described.
[Magisk] locolyric:
is that means MicroG or nanoMod still unable let us play these games?Or there is alternative ways to do that?
[Magisk] Setialpha:
Nope, microG does not provide Play Games API.
[Magisk] marcdw:
Just test whatever games you use. Play Games is not always a necessity for game use.

LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
[Magisk] locolyric:
online multiplayer games and google play games is a MUST.

---------- Post added at 12:22 PM ---------- Previous post was at 12:19 PM ----------

Thanks for your quick reply, i am using current phone as a backup gaming devices. play games is a MUST to games i am playing with.

I think i need to revert back to normal gapps if there is no solution right now
[Magisk] totalcmdext:
So, odexed ROM is not supporting for framework-patch?
[Magisk] Setialpha:
Never was.
[Magisk] totalcmdext:
This solution is only for odexed ROM

1. Install the latest version of Material Design Xposed Installer (https://xdaforums.com/xposed/material-design-xposed-installer-t3137758)

2. Inside the Material Design Xposed Installer select Systemless tab and install the appropiate xposed SDK

3. Install the module FakeGapps from Material Design Xposed Installer

4. Install the module XposedGmsCoreUnifiedNlp from Material Design Xposed Installer
[Magisk] totalcmdext:
Wrong Post
[Magisk] kurtn:
I will try [MENTION=4544860]osm0sis[/MENTION]' flashafterupdate. Magisk doesn't survive updates as well.
[Magisk] droika:
Regarding the failed self check on a unofficial LineageOS 14.1 ROM: It's a Samsung A3 (2015/A300FU).

Logcat is here.
[Magisk] MaurixMystic:
With magisk installed on tugapower n33 does not connect to google api

Any ideas?

I have flash nano module micro g
[Magisk] Setialpha:
If you mean when trying to attest uusing SafetyNet, see Issues in first post.
[Magisk] Setialpha:
Thanks, will have a look.
[Magisk] MaurixMystic:
MagiskHide is activated

In micro g options, the playstore box does not actívate.. But signature spoofing is activated, I do not understand

[on ROMs like crDroid or OmniROM, that have built-in fake signing and don't require running `framework-patcher.sh`, in some cases the Play Store is not granted fake sign permission, to fix this issue one of the following commands as root on your phone

nanomod-overlay --permission

pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE]

How is it done?

With termux app?

I write those commands but it does not work, help: D
[Magisk] Setialpha:
Stock ROMs are odexed, can't be patched for microG support, everything else /should/ work, in case Magisk works.
[Magisk] Setialpha:
To become root in Termux issue

su

then issue one of the given commands.
[Magisk] MaurixMystic:
thanks friend, work nice , problem solutionated , safety net ok, all ok heheh
[Magisk] abacate123:
No, contacts are supposed to sync normally, without any other third party apps. Have you flashed the setup wizard before the nanodroid mains zips and choose the google sync option within the aroma installer? I always did this and it works normally. I do nothing else. I wait the phone boot, setup the microg app, add my google account and reboot, my contacts are there.

Also, gmail works flawlessly here, I don't use the google search app.
[Magisk] bertino:
Ok I dont remember in which order I flashed them. I'm just gonna reflash.
[Magisk] Wo11ven:
Damn, just found out that the patcher wouldn't work for my Zenfone 2 stock ROM because Asus changed Settings.apk to AsusSettings.apk.

Had to change it in .global
[Magisk] abacate123:
So?
[Magisk] bertino:
No luck. I tried changing roms, but got my /data corrupted and had to erase userdata. Now trying to get my stuff back up.
[Magisk] Setialpha:
That's just a cutout, not enough. But it seems to be choking on permissions?
[Magisk] Setialpha:
17.0~beta1

The first beta for version 17.0 is now available. Highlights since 16.5:

fix auto-debloating GApps in System Mode when it already has been previously

fix creating Uninstaller information in System Mode

move NanoDroid-Patcher addon.d logically after Magisk addon.d (75 >> 999)

System Mode OTA survial (based on the Uninstaller information which is created during installation) for Full, microG and F-Droid packages

backup and restore NanoDroid upon ROM OTA update

re-auto-debloat GApps (if required)

restore NanoDroid-Font settings (if any)

switch to QKSMS 3 (now stable)

usual updates

Full ChangeLog since 16.5:

## 17.0 in-dev

### Bug Fixes

* CommonInstaller
* System Mode
* fix creating Uninstaller/Addon information
* fix auto-debloating conflicting GApps when already done before
* CommonPatcher
* System Mode
* move addon.d from 75 to 999 (should now be executed after Magisk (99))

### General Changes

* CommonInstaller
* System Mode
* create /data/adb if it does not exist
* improve creation of Uninstaller/Addon information
* install addon.d (CommonAddon)
* CommonAddon
* System Mode
* Addon for OTA survival
* restore NanoDroid-Font settings after OTA update
* re-remove conflicting GApps after OTA update
* shares file list with Uninstaller
* Full package
* switch to QKSMS 3
* Uninstaller
* System Mode
* sync list of GApps with CommonInstaller
* restore System font if altered using NanoDroid-Font upon uninstallation
* update for new addon.d changes

### Updates

* automatic
* QKSMS (3.0.5)
* NewPipe (0.13.1)
* Orfox (1.5.2-RC1)
* F-Droid (1.2)
* Face Slim (3.3.0)
* Odyssey (1.1.14)
* Simple Gallery (3.7.1)
* Yalp Store (0.37)
* (Simple) Calendar (3.4.2)
* OpenLauncher (0.5.12)

* manual
* Play Store (9.6.11)
* MPV (20180411+merges)

Download links

Download from AFH or Nanolx.

Bug reporting

In case of errors, please provide

/data/adb/.nanodroid_MODID

/data/adb/.recovery_MODID

logcat (if applicable)
[Magisk] bertino:
I ended up switching ROMs and now play store works. I'm still not able to login into gmail. Maybe I'll just switch email apps.
[Magisk] Setialpha:
As I said microG no longer passes as certified since the last DroidGuard update and as reported on XDA Google blocks it's apps on uncertified devices. That's likely the cause.
[Magisk] guest4711:
Installed without problems on my S II running LOS 8.1
[Magisk] tom.android:
How to upgrade from first beta to release version.?
[Magisk] Setialpha:
Will be fixed in 17.0~beta2

Just flash.
[Magisk] bertino:
I got most stuff working, but unified nlp doesn't seem to work and all the apps say that my device doesn't support play services.
[Magisk] Setialpha:
So, you've followed the instruction to properly set microG up? And do theese apps check certification status? Is so, I can't fix it until microG update for new DroidGuard that Google pushed last week.
[Magisk] bertino:
Yes. În the microg settings app I have all boxes checked minus the one for phonesky signature.
[Magisk] Setialpha:
Aha, so you've not granted sigspoof permission to Play Store, that's what causes the issue. Go to Settings > Apps > Permissions > Signature Spoofing and grant it for Play Store.
[Magisk] bertino:
Yes, I have finally got everything working. These past few days I've had so many problems with my move to microg. Thanks so much for your help!

It's sad to see how tied we are to Google...
[Magisk] Pupet_Master:
Anyone has a issue where gps/location wont work?

I tried latest stable and beta on 4 different ROMs, it just wont locate where i am on here maps (oddly is it was working couple of days ago)
[Magisk] inVain_theGenuine:
I had,

but that was when I'm on mozilla nlp 1.3.2, it suddenly just stop..... got fixed with the 1.3.3

and also when I was trying to setup microG without the phone app installed (silly me).

latter I found out that qualcomm might be conflicting with the uG, so I just removed it from priv-app, or let the NanoDroid do it for me.

now everything's good.
[Magisk] Setialpha:
NanoDroid auto-removes com.qualcomm.location and a few other, but there might be more conflicting Packages.

Or it is a ROM issue, eg on my O+3T on Omni everything works, while unlp wasn't in March builds for AOSPEX and Validus.
[Magisk] marcdw:
Hmm, I think the above is also the case with Bootleggers ROM.

Had to add XposedGmsCoreUnifiedNlp to get it all working.

Samsung Galaxy Light SGH-T399, CyanogenMod CM12 ROM, microG (NoGAPPS), Tapatalk 4.9.5
[Magisk] Pupet_Master:
Thanks m8, just to udnerstand, what did you removed from priv-app? ;)
[Magisk] YiPing_Huang:
For some reason, my ROM has two package of the same name in /system/app and /system/priv-app.

But only the one in /system/app is overlayed.

How about separate .nanodroid-overlay into something like .nanodroid-overlay-app and .nanodroid-overlay-priv-app?
[Magisk] Setialpha:
Nope, it checks where the apps is installed and then it does it's work. So if it's found in app, priv-app is no longer scanned.

You've hit a corner case, I haven't covered. The next beta release will solve that issue.
[Magisk] inVain_theGenuine:
everything relating to the network location provider works flawlessly on 16.5 (I don't recall I had any issue since 16.2 as well).

I'm on xiaomi redmi note 4 + Slim 7 stable 2, btw.

I just got itch after I saw the 1.3.2 got starred on the f-droid, so I tried to clean flash (from scratch) with it.... which latter I do regret it.

everything on NanoDroid works fine :good:

what exactly the OP said; com.qualcomm.location.

all I can say, is to make sure you have the wifi and the phone's working correctly.

I rarely use the cellular data during the setup, but maybe as long as we're connected to the net and have our cell on-line it should just work.

I also note that there's another qualcomm.location relating stuff on the /etc/permissions.

but since I don't have any issue with the nlp, I just left them there.

best of luck :)
[Magisk] Setialpha:
I uploaded NanoDroid Play Store 9.7.11 and a new MPV build. On device, as root, issue 'nupd ps' and/or 'nupd mpv' to update.
[Magisk] Pupet_Master:
Thanks m8, i'll remove it and make sure the radio signals still work ;)
[Magisk] utg1:
If I install nanoDroid-microG (I don't know starting from which version) my safety net check fails even it's enabled in microG settings.

Anyone with the same issue?

Any idea?
[Magisk] nexuslexus6:
Im running omniROM 7.1 w/ nanodroid installed as a magisk module, & xposed and the fakegapps and xprivacy module.

Location backends are Deja Vu & Mozilla. and address lookups Nominatim.

All google services on/enabled and self check shows all boxes checked besides the last one (network based location). but i fail safetynet.

Can anyone tell me if i missed anything? thanks in advance
[Magisk] Setialpha:
https://github.com/microg/android_packages_apps_GmsCore/issues/521#comment-381926017

a) you don't need fakegapps with OmniROM

b) https://github.com/microg/android_packages_apps_GmsCore/issues/521#comment-381926017

c) you NEVER pass SafetyNet with Xposed
[Magisk] nexuslexus6:
thanks good info im a NOOB. So why am i able to login to playstore and download apps?

even login to banking app? I fail safetynet but have no problem using apps. Thanks in advance for your patience.
[Magisk] Setialpha:
Simple: theese apps don't utilze SafetyNet status. The Play Store shows 'uncertified', but will still work (until Google decides otherwise).
[Magisk] kurtn:
The last checkbox will get checked as soon as you switch location to battery saving and start an app that requires location.

... :) did you read the "gates of Mordor" part?
[Magisk] :
[MENTION=4187311]Setialpha[/MENTION] I changed some apps and added them to the .nanodroid-apps, but when I flashed a ROM update they got deleted. The apps that were included by you stayed. Any idea why?

Device: Redmi Note 3 SE (kate)

ROM: NitrogenOS Oreo

I don't have logs, but I can try to recreate it and provide them.
[Magisk] Setialpha:
That's not how it works, that file is only for NanoDroid stuff. There's no OTA survival for foreign stuff.
[Magisk] :
Oh, is there a way to add it? I mean how did you add your apps (AdAway, NewPipe, ...) to the OTA survival script?
[Magisk] Setialpha:
Only in System Mode that would work and only with system apps and only with 17.0 beta1 or newer.

In Magisk Mode there's nothing to do in that regard, no OTA survival at all, as it's not required.

In theory, in system mode, in version 17.0 beta1, you can add additional filepaths to /data/adb/.nanodroid-list...
[Magisk] Hodenmumps:
First of all: Big thanks for your work [MENTION=4187311]Setialpha[/MENTION]

I would like to submit a bug.

Phone: Xiaomi Mi6

ROM: Lineage OS 15.1 (Android 8.1)

I have these Partitions: Boot/Cache/Recovery/System/System Image/Data/EFS

I try to use Nanomod-microg. Installed the stable and also the beta version. via Magisk and TWRP directly,but signature spoofing is not working.

It installs completly fine without errors but Signature Spoofing is not working and microg checkbox for spoofing is not checked.

So i patched it via the framework-patcher and get this error:

./framework-patcher 8.1
Bereits aktuell.
>>> target directory: mydevice
>>> adb pull /system/framework/framework.jar mydevice/
[100%] /system/framework/framework.jar
>>> adb pull /system/framework/framework2.jar mydevice/
adb: error: remote object '/system/framework/framework2.jar' does not exist
>>> adb pull /system/framework/core.jar mydevice/
adb: error: remote object '/system/framework/core.jar' does not exist
>>> adb pull /system/framework/core-libart.jar mydevice/
[100%] /system/framework/core-libart.jar
>>> adb pull /system/framework/core-oj.jar mydevice/
[100%] /system/framework/core-oj.jar
>>> adb pull /system/framework/ext.jar mydevice/
[100%] /system/framework/ext.jar
>>> adb pull /system/framework/services.jar mydevice/
[100%] /system/framework/services.jar
>>> adb pull /system/priv-app/Settings/Settings.apk mydevice/
[100%] /system/priv-app/Settings/Settings.apk

*** pull-fileset: success
>>> target directory: mydevice__sigspoof-hook-7.0-7.1
>>> apply patch: services.jar
>>> dexpatcher --api-level 27 --verbose --output mydevice__sigspoof-hook-7.0-7.1/tmp/services.jar/patched-dex --multi-dex /home/xxx/Downloads/NanoDroid-master/haystack/mydevice/services.jar /home/xxx/Downloads/NanoDroid-master/haystack/patches/sigspoof-hook-7.0-7.1/services.jar.dex
info: read '/home/xxx/Downloads/NanoDroid-master/haystack/mydevice/services.jar'
fatal: exception: lanchon.multidexlib2.EmptyMultiDexContainerException: /home/xxx/Downloads/NanoDroid-master/haystack/mydevice/services.jar
Failed applying sigspoof hook patch!

thx in regard.

If you need any more information pls tell me.
[Magisk] Setialpha:
Edit: I see, LOS is odexed, you can't patch it without deodexing it first.
[Magisk] Hodenmumps:
Thanks for the answer.

Didn't know that ^^

Do you know a better/faster way of deodexing a rom than this:

https://xdaforums.com/showthread.php?t=2213235 ?

For example something for linux? maybe a script?

Edit: Maybe i found something:

https://bitbucket.org/superr/deodex_lollipop_linux/src
[Magisk] kurtn:
Or you can workaround with xposed fakegapps.
[Magisk] Hodenmumps:
Using it right now, but with FakeGapps i have my old problem with unifiednip.

That was the reason back then why i switched to NanoDroid ^^

UnifiedNIp is somehow not registered at the System and also my Apps show me "Google play services ist not installed" alltough MicroG self-check shows me "everything ok"
[Magisk] kurtn:
Never seen that with fakegapps. You know you can use fakegapps together with nanodroid or every other microg installer?
[Magisk] marcdw:
For the unifiednlp thing you may have to add this additional module which should take care of it.

XposedGmsCoreUnifiedNlp

Had to use that with CarbonROM Nougat and Bootleggers Oreo.

Moto G5s Plus XT1806, PixelExperience Oreo, MultiROM, Tapatalk 4.9.5
[Magisk] kurtn:
[MENTION=6141250]Hodenmumps[/MENTION] I've seen such crashes. One time a reboot was enough. One time I had to clean install without magisk.
[Magisk] khnoizer:
Any way to disable play protect? It bugging me with its "uninstall harmful app" notifications.
[Magisk] kurtn:
Replace play with yalp store. Yalp Store (Download apks from Google Play Store) - https://f-droid.org/app/com.github.yeriomin.yalpstore
[Magisk] Oswald Boelcke:
Are you using a theme and have somehow themed the package installer?

Just asking 'cause I'm running RR-N-v5.8.5-final, Substratum and PitchBlack Origins as a theme. If I theme the package installer it permanently crashes; unthemed it's absolutely fine.
[Magisk] Setialpha:
17.0 beta2 will come soon™. May replace Substratum app with Bucket (beta; former LibreSubstratum, as it now supports Oreo, too), also System Mode support for NanoDroid-Overlay (mostly).
[Magisk] ranfdev:
Still getting error RH-01 in play store (in beta and stable)

After installing nanodroid (with magisk, and also without), i keep getting error rh-01 when i try to use the play store.

The same happens by flashing everything in the v16.5 (latest) and by flashing only fdroid+microg in v17 beta 1

What i tried:

- Installing with magisk and without.

- Clearing play store, and any microg app data.

- Different roms.

- Removing and adding google account.

In microg>self check everything is checked. Now i'm on android 8.1.

If you need some log to fix this, tell me, i'm glad to help :)
[Magisk] Setialpha:
Close it once from recent apps screen and re-open it.
[Magisk] ranfdev:
Already tried different times... nothing changes, same error
[Magisk] Shadow53:
Have you enabled device registration and GCM in microG settings? Those are necessary for the Play Store to work.
[Magisk] ranfdev:
yes, i have.

I also tried enabling Google safety net (and set "advanced>use official server")

still, same results :(
[Magisk] Oswald Boelcke:
Personally still on Nougat and no experiences with Oreo. However, did you try to reset Google Play Store to default values i.e. wipe cache and data of the play store either directly from settings => applications => Google Play Store => memory (or how it's called respectively the path is in your ROM) or e.g. by a tool like SD Maid Pro.
[Magisk] Loader009:
Is your time/date correct?
[Magisk] ranfdev:
Yes, i did.

Yes, it is.

I deleted play store's data from the settings multiple times, and i also tried changing system time/date manually (i also tried setting another time-zone). Still, same rh 01 error

Now i'm going to try with a nougat rom, to see if it's version related
[Magisk] ranfdev:
No error rh 01 in nougat

I flashed a nougat rom, enabled device registration, gcm, safety net, and now everything works. The problem seems related to android 8.1
[Magisk] Setialpha:
Or ROM specific, I can't reproduce on Omni 8.1.
[Magisk] AngryLady:
Fresh Install Guide

Where to find the Step-by-Step Install Guide for Fresh Install?

Prefered ROM: CrDroid or AEX with NanoDroid (nogapps)

Device: Vince

1. Backup everything from TWRP

2. Wipe Stock ROM from TWRP

3. Flash PreferedROM.img from TWRP

4. Reboot to Recovery

5. Flash Nanodroid MicroG.zip from TWRP

6. Flash Magisk from TWRP

7. Flash Xposed from TWRP

8. Reboot to System

Something like that.
[Magisk] :
Are you giving advice or asking? Because if you're asking, there are installation instruction in the first post.
[Magisk] AngryLady:
Asking. Because that installation instruction is not clear for beginner like me. So it's like an instruction for himself and his developer friends.

How to run Setup Wizard and where? Do i need to flash setup-wizard.zip on TWRP first? And then reboot to system? There's no system it's wiped. I'm already on TWRP.

I don't see pre-built zip on download page. Where to download pre-built.zip or how to create one?

Understood

Understood, need reboot to ROM after installed?

I'm not sure my prefered ROM pre-patched with signature spoofing support or deoxeded. I can't find explanation about it.

Understood, need reboot after installed? Or just continue to flash next step?

Understood, not sure what's the deal installing desired kernel?

I know install and download. Please explain more what .zip to install. I prefer NanoDroid-MicroG, i think.

Understood