yashsingh1/xdaforums huggingface dataset:
[Magisk] Setialpha:
You need to grant /all/ permissions to Play Store, including signature spoofing. If that doesn't help, delete and re-add your Google account.
[Magisk] Danko Jones:
I solved it with updating play store in fdroid (there was a update from yesterday). After that connection was back again.

Thanks anyway!
[Magisk] dhacke:
Anyone with the same behavior?
[Magisk] Setialpha:
You can grab a log from adb logcat during boot aswell, that is, if adb is enabled.
[Magisk] dhacke:
Ok i will try it tomorrow.
[Magisk] fradav:
That won't work with magisk 19, I guess.
[Magisk] :
I have a question about this

If i install it and after some time i do a factory reset, i have to flash it again or it keeps installed?
[Magisk] Idesmi:
No, it won't. I suggest you to use Magisk 18.1 for now.
[Magisk] Cyberavater:
Plz regularly update Current Release info. I came here and left thinking no latest version was released.
[Magisk] Cyberavater:
No, 20.7 is the latest stable
[Magisk] Oswald Boelcke:
20.7.20190310 is the latest stable; and the OP requires an edit. Latest beta is here.
[Magisk] Cyberavater:
Because I don't have infinite time as you do so plz stop quoting me! (No offense plz). My request was to op not to you. :confused:
[Magisk] jenslody:
The xda-app cuts the topic, if the device is in portrait-mode.
[Magisk] Oswald Boelcke:
I personally appreciate that you acted in accordance with the spirit of XDA. Thanks for that. I also reply if value can be added even if not being personally addressed.

Although I know that everybody did read the rules please allow me to quote them partially:
[Magisk] Klizi:
Does anyone use titanium backup pro with MicroG?

I purchased the license key via play store (it downloads another app from play store and the main app detects it using play services and starts the pro version I guess)

But with microG setup, even I enabled device registration and added the account that I purchased to microG, titanium backup doesn't detect it.

I choose fakestore + aurora option when the wizard runs.

Also I emailed the supports of titanium backup asking if they can convert the app to donation mode, which has an alternative method to prove that i am a pro user, and they never responded.

(Even after I gave them bad rating in playstore, they are not giving a ......)

Does anyone face the same issue?
[Magisk] garylawwd:
Is titanium backup on your external memory by any chance?

I had a similar problem with a different app but when I moved it to internal storage the in app purchases were restored.

I spent a while trying different things to get it to work but that ultimately fixed the issue.

I think you also need to have playstore installed for in app purchases to be restored
[Magisk] Oswald Boelcke:
Yes, I'm using µG (powered by NanoDroid) together with the pro-version of Titanium Backup for years. I don't have and never had any issues. However, I use the Google Play Store modified by Setialpha for exactly this reason.

I didn't check the content of the thread but maybe you'll find an answer also on "[Guide] Noobs guide to use Titanium Backup for backup and restore of apps."
[Magisk] Estebanium:
I am new to MicroG, so before I install my ROM, I use the setup wizard zip to create my config, then I make a clean ROM install and flash Magisk afterwards. Do I then flash NanoDroid or do I have to boot my OS for the first time? Moreover I am not sure which zip I need to install NanoDroid. Am I correct that the NanoDroid-20.7.20190310.zip just contains everything.

To answer my own question:

1. Flash ROM

2. Flash Magisk

3. Run setup wizard

4. Flash patcher

5. Flash NanoDroid

6. Reboot finally
[Magisk] dhacke:
[MENTION=4187311]Setialpha[/MENTION]

i have a log for you. I hope it will help you to fix the problem with the endless omnirom startup screen.

I used the Nanodroid microG zip from the stable channel.

But with the beta zips i have as mentioned the same problem.

Due of the file size i made a zip from the log.
[Magisk] Estebanium:
Is it possible that I missed something?

I flashed everything after ROM install and finally arrived at my OS. Signature spoofing was in place and I was able to download Apps from Play Store. I added my Google account and tried to restore my inApp purchases from an App. When the app starts for the first time, it offers to login to my Google Account in order to restore my recent purchases. This failes with Google Services error. Is it possible that I needed to select Google Account Sync at thw NanoDroid setup? I didn't select it. The MicroG App told me that everything was fine permission related etc. Only the location service was not properly working, I guess that I may not select the battery optimization option at the LineageOS setup.

Is there anyone that can help? Otherwise I am not able to restore my purchases..
[Magisk] marcdw:
Not really an issue. The Pro key apk does a license check which requires the Play Store to handle the request. So it really doesn't matter if a Google account is present in the system although I could swear it worked fine on one of my ROMs without Play Store.

I now have a few ROMs that are either without Play Store or completely Google free (no microG). So TiBu Pro version won't work. In my case I figure I've used the app for years and it's paid for itself many times over. Decided to just donate and get a key file. Did something similar with GravityBox though I'm sure its dev would've accommodated if asked.

Leaving a bad review probably won't help. You could probably just keep emailing them until they get tired and respond. [emoji16]

Moto G5S Plus XT1806, balanceOS 2.0, MultiROM, XDA Legacy
[Magisk] Klizi:
You're correct. And yes. That zip contains everything.

You might also need to flash bromite web view and Osm zips after flash nanodroid.
[Magisk] nivaddo:
Sorry im new :(

Being trying to get this working i have used all the updated version. Currently using Lineage os 16 and i have checked "the If your /system/framework/services.jar file contains the file classes.dex" part and lo16 has it but the patcher doesnt seem to be flashing. The error im getting is E:recv error on uevent. Thanks in advance.
[Magisk] Estebanium:
I flashed Nanodroid yesterday on exactly the same ROM:

LineageOS 16 on Samsung Galaxy S7 Edge by Ivan.

The error you are getting is some random spam. I am not sure what this means, but it does not affect you flashing procedure. The patcher just needs some time and after six to seven of those E:recv error on uevent you are done.
[Magisk] kostas gp:
Which version of Google maps works with micro g?
[Magisk] Estebanium:
According to Klizi it is 9.84.2. I can confirm that, because I installed it by myself, too. Newest version does not work. It fails to download offline maps, because it complains to be not logged in. However the login button seems out of work.

So 9.84.2 works, but I would be interested if it is possible to install 9.84.2 first and update to newest version later. I need Maps for today, but will test it later.
[Magisk] dhacke:
[MENTION=4187311]Setialpha[/MENTION]

Just a quick question. Did you see my log?
[Magisk] Estebanium:
Do I need the Google Sync features if I don't use Google Mail or use Outlook for my contacts? Is it needed for payed Apps or something like that for instance?
[Magisk] marcdw:
No, the sync adapters aren't needed really. More of a convenience thing. On most of my setups I use(d) DAVDroid/DAVx for syncing contacts and calendar, from Google originally but now via NextCloud. Don't need either sync solution if you just keep your stuff local (some kind of backup would be in order though).

For paid apps and/or license checking only the Play Store is needed AFAIK.

LG G3 D851, Candy7 v6.0 ROM, Google free - no microG, MultiROM, XDA Legacy
[Magisk] Setialpha:
Apply this change:

https://gitlab.com/Nanolx/NanoDroid/commit/1f04a89be983fd98a32225b6ccbf38f4d807d3e8

to the file system/etc/permissions/privapp-permissions-google.xml in your NanoDroid zip and check if it works, else gimme another log, as that would mean another permission would need to be whitelisted.
[Magisk] dhacke:
Thanks. That solves the boot problem.

Only the self check says now that UnifiedNLP isn't supported (which is strange in my opinion because all the time UnifiedNLP worked).

I will try the beta build later. Mayby there it works.

If not i will make a log and upload it.
[Magisk] dhacke:
[MENTION=4187311]Setialpha[/MENTION]

I tested the newest beta zip. As by the stable zip UnfiedNlp wasn't recognized in the system.

So here is a new log for you. I hope you will find the reason why UnifiedNlp doesn't work anymore.

Thx in advance.
[Magisk] oF2pks:
[MENTION=4187311]Setialpha[/MENTION] seems your github /gmscore is un-synced for git submodule update --init --recursive

error: Server does not allow request for unadvertised object de3d35f7faa5ddee9a65798255dd55b0dc2bc89a
Fetched in submodule path 'extern/GmsLib/extern/GmsApi', but it did not contain de3d35f7faa5ddee9a65798255dd55b0dc2bc89a. Direct fetching of that commit failed.
Failed to recurse into submodule path 'extern/GmsLib'

Also both external_UnifiedNlpApi and external_MicroGUiTools didn't pass after 20180101 commits on git submodule update --init --recursive.

On [MENTION=3999488]MaR-V-iN[/MENTION] repo, same command works fine, but external_GmsApi only goes to 13.2.80 bump commit.

Just released my Treble Pie GSi (April cve); looks that since Oreo 8.1, aosp uses multiple internals which can modify location efficiency : exceptions to granted permission /NETWORK_SETTINGS or /LOCATION_HARDWARE, or /system/priv-app/*, and major throttling; so I decided to move all backends to priv-app with hidden-api-whitelisted-app plus an "extended" patch adapted to https://gerrit.omnirom.org/#/c/android_frameworks_base/+/32437/ (which also could be linked to Oreo/Pie aosp microG patches ? "Add a whitelist for location providers outside of /system").

[MENTION=6204913]n76[/MENTION] , for Pie roms, it will be great if backends could now target sdk28; unfortunately, I couldn't rebuild/test old wifi_backend with AStudio (annotationProcessorOptions.includeCompileClasspath error).

btw, I noticed that granting the additionnalPermission/Contacts to GoogleContactSyncAdapter (com.google.android.googleapps.permission.GOOGLE_AUTH.cp), prior to Phonesky registration, causes Playstore to miss purchased items and "local" update-able apps.

For latest Playstore versions, following perms are also used :

<privapp-permissions package="com.android.vending">
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
<permission name="android.permission.REBOOT"/>
</privapp-permissions>

Latest working is 9.84.2 : https://androidfilehost.com/?fid=11410963190603886579
[Magisk] starbright_:
If I remember right, I have to install apps AFTER installing microG. So I have two questions:

a) is it ok to reinstall it via migrate-app or TB? If not - is it ok at least to recover data of apps with TB?

b) Do I need spoofing before installing microG and apps or can this be done afterward to gain full functionality?

Thanks
[Magisk] kewinhw:
hey :) i tried insatlled this on my oneplus one with arrow os as a test. to see if snapchat would work.

in push notification tester i got all check marks except play servises installed.

i managed to get snapchat working by doing a backup of snapchat while logged in to an account. but i occasionally get a message over the app saying ''snapchat won't run without google play services, which are not supported by your device'' just press ok and it's fine for a little while.

im just wondering though i cant pass safety net. since play services isn't installed. is microg supposed to make it pass? or what do i need to make it pass? i get the same emssage as snapchat gets. play services not supported. so i cant even try to check safety net hehe xD

droidguard helper is hidden in magisk

google device registration enabled

google cloud messaging ON

google safety net enabled official server

unifiednlp 2 backends configured

self check everything ic checked except

''play store (phonesky) has corerct signature''

and

''network-based location enabled''

both are not checked.

am i even able to pass safetynet :) ?

EDIT: omg got it working followed a post in the thread and enabled spoofing for play store in settings xD got all check marks also in push noti tester :)

tried to install snapchat from the playstore/fakestore and it worked without any missing play services message. very cool! :D

got everything working i think :)
[Magisk] Setialpha:
a) first restore app, then start it, then restore data

b) yes, recommended, else you may get issues with Play Store and some other apps
[Magisk] starbright_:
Thanks, one more question:

According to microG website:

"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."

If so: it shouldn't be allowed to set GCM with registration disabled! But you can. That might confuse some (me).
[Magisk] Setialpha:
You may still don't want to receive push messages.
[Magisk] Setialpha:
Dunno, I asked you whether it's there.

You can use framework-patcher regardless of whether the ROM is pre-patched, btw.

Yes, they are magic mounted, but can be disabled. Though that includes FDroid, too. See 'Alter Installation' in first post. I may opt-in to separate FDroid install into it's own option, though.

logcat is a shell command, readily available. For UI you may use apps likr Catlog or Material Log.
[Magisk] Kungencortes:
i posted the logcat in my prev comment.
[Magisk] Kungencortes:
i appriciate your work and help
[Magisk] D_black84:
will i be able to sync my google contacts with this mod? or would i have to install the apk seperately?
[Magisk] Setialpha:
I'll have a look at the log, when I'm home.

Sync Adapters are not shipped, need to be installed separately.
[Magisk] piet8stevens:
Fascinating module. Has anyone tried this with microg on a XenonHD rom? What would be the benefit of installing microg via magisk/nanomod vs flashing it directly on the rom? (Sorry re my ignorance)
[Magisk] Setialpha:
The benefit is, it won't be deleted upon ROM update or when changing ROM. Plus I modified the Play Store so that (in-)app-purchases work with microG (if Play Store and Google Services don't have the same signature it does not work, so I re-signed microG GmsCore and Play Store with the same key and modified the Play Store to use Signature Spoofing as microG GmsCore does - et voila - (in-)app-purchases).
[Magisk] Setialpha:
Yes, it doesn't like the www. prefix. Thanks.

I pushed a commit to the github repository which adds

nanomod.fdroid

setup variable. So what you want is

...
nanomod.fdroid=1
nanomod.apps=0
...

in your

/sdcard/.nanomod-setup

file. This will populate F-Droid + Privileged Extension, but not the other stuff (in fact it will also include Magisk Manager, cause that's the only other app not effected by nanomod.apps variable, on purpose).
[Magisk] topyli:
Wonderful! Thanks!
[Magisk] Setialpha:
issue the following command as root via

adb shell

or via terminal emulator on phone:

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

this will grant Play Store the required permission. In the upcoming version 5.2 the script

nanomod-overlay

will get the

-p / --permission

parameter which will grant fakesign to microG GmsCore and Play Store, aswell as ignore battery optimization permission to microG GmsCore.
[Magisk] pavanjadhaw:
Okay, I tried it on RR on my moto g 2015 but I am stuck at that part(framework-patcher.sh)

Can you explain it a little?

After executing it shows this and process exits.

I also tried it making executable but same problem.

I dont think it needs to made exec because of the nature of the script.
[Magisk] Kungencortes:
All premissions are active in self check now, but somehow i still have a server issue.

should i use terminal for this? commands does not work, sorry for being brain numb
[Magisk] Setialpha:
You need to do, what it tells you do to: pass the android version on your phone. Example for latest Nougat:

framework-patcher.sh 7.1

Also your phone needs to be in TWRP and connected to PC through USB

This is a known bug that sometimes appears on some ROMs, I can't do anything about it. Though: there's an easy work-around, kill the Play Store and start it again ("kill" = Recent Apps screen -> swipe Play Store away).

Edit:

nanomod-overlay -p

is part of upcoming version 5.2 and does the same as running

pm grant bla blub

just in a nicer fashion.
[Magisk] Kungencortes:
Sadly still not working, maybe im cursed..
[Magisk] pavanjadhaw:
Thanks finally figured it out, now its working perfectly.
[Magisk] Setialpha:
Did you login to your account before or after granting the permission using the 'pm grant...' command?

If you did login before that command, delete Play Store data, delete Goigle Account in Settings > Accounts and re-login. If you did login after that command, try a reboot.

If it still doesn't work then, I'm puzzled.

I know from crDroid that pre-patched ROMs can be very tricky when trying to spoof Play Store. I use framework-patcher.sh on crDroid on my tablet aswell, it makes it work just fine, regardless of built-in fakesign support.

Though I generally use non-pre-patched ROMs, as I know framework-patcher.sh/haystack generates a setup, that's the same on all ROMs/devices, where pre-patched ROMs behave differently.
[Magisk] Kungencortes:
Still not working :/ even switched roms and got same prob, Any easy tutorial for patching framework on windows ? seems very complicated otherwise.
[Magisk] Setialpha:
Uff, Windows (last time I used that thing on my PC was years ago). If you click on the Haystack link in first post, you'll find it's documentation. That should help you.

Porting framework-patcher.sh to Windows is a bit difficult, because of the prerequisites like git, Java, adb...

Else I'd suggest reading up on this stuff in the microg documentation (click microg link in first post).

Dunno what's wrong on your end, I never had such issues.

Did you do a clean flash, including wiping data? If so you could once again post a logcat, this time the complete one please, maybe there's something wrong earlier than Play Store launch.
[Magisk] Kungencortes:
http://m.uploadedit.com/ba3s/1491862333376.txt

CrDroid 2.5
[Magisk] D_black84:
Play store (Phonesky) has correct signature is not ticked.. i entered this command "pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE" but it says operation not allowed . is there a space between vending and android? i must have done something wrong

update: Nevermind i figured it out . All good now
[Magisk] Setialpha:
It's a bug in Magisk, not NanoMod (NanoMod "just" triggers the bug), in fact it's either

Issue #155 in the Magisk Bugtracker

AOSP Extended related WebView issue with Magisk v13

If it's the first, it should be fixed when installing TiBu after installing NanoMod. If it's the latter, all other WebView related applications, will crash, too. Did you try your Browser or whatever? If that crashes, too, it's the AOSP-Extended-Only Bug in the Magisk v13 beta.
[Magisk] piet8stevens:
Thank you for your fast reply. I have tried without Light Patch (which installs Magisk 13) and then it works. That could point to Magisk v13 issue. Let me see what more I can try and I will report back.

EDIT:

when I install TiBu after Light Patch v1.2 and Nanomod, it still does not show up in the launcher. But I notice an app with a green Android icon called com.keramid... and when I launch that, it is actually TiBu and it crashes.

I can use a browser without a problem (lightning).
[Magisk] Setialpha:
Need full logcat of installation of TiBu and crash.
[Magisk] :
[MENTION=1835735]piet8stevens[/MENTION]

Why don't you try with Magisk V12 or simply install TiBu as user app instead of flashing it as system app?
[Magisk] piet8stevens:
Thank you. Tried that but same problem. As soon as I have Light Patch v1.2, I have issues, whether with Magisk 13 or 12 (in order to get to 12 I uninstall 13). When I only use Magisk V12 and Nanomod, it works, but then I have the usual sound problem on incoming phone calls and also on whatsapp this morning.
[Magisk] piet8stevens:
This is full logcat of the TiBu crash. The lines I posted earlier come from this file.

Will try and make adb logcat when flashing TiBu in TWRP and upload that later.
[Magisk] piet8stevens:
Added another full logcat of another TiBu crash (after full wipe, rom reinstall, magisk 12 uninstall, light patch install - includes magisk 13 - , nanomod 9.3 install, reboot, TiBu install, nanomod on device patcher 9.4).

TiBu was installed with a zip in TWRP. I told TWRP to copy the log to the SDcard but cannot find it. Where would it be? (sorry)
[Magisk] piet8stevens:
Sorry - previous upload had failed because of logcat too long.
[Magisk] Setialpha:
/tmp/recovery.log (or /sdcard/recovery.log after copying).

Why don't you simply install it from PlayStore? Either way, I'll check the logs later.
[Magisk] Setialpha:
10.0-beta2

10.0 beta2 is now available, with fixes and improvements to the installers.

Download from AFH.

In case of errors, please provide

your device's architecture

your device' Android version (not ROM version)

whether installed as Magisk Module or in System Mode

used Magisk version

recovery.log or logcat or both (whatever is applicable)
[Magisk] DJ aliasz3d:
Hi I get a message sometimes with apps like outlook and some others that says something about unauthorised app to do with Web view. It's no big deal but was just wondering if there's a solution I tried searching but couldn't find anything. Thanks for nanomod too :good:

Edit: Its a google error message I think on rr 5.8.3 nougat on the s3lte i9305 arm using magisk with microg package. I can get a screenshot if you need.
[Magisk] Setialpha:
It's the usual **** you sometimes get wihen adding your account using microg, if time of access is fine, nothing to worry.
[Magisk] DJ aliasz3d:
OK thanks :good:

Microg has made my device so much better.
[Magisk] cantenna:
how cool is this??
[Magisk] Setialpha:
Dunno, you tell me?
[Magisk] cantenna:
lol, I plan to test drive on my tablet z that does not have gaaps installed, will let you know.