yashsingh1/xdaforums huggingface dataset:
[Magisk] gps3dx:
great ! thanks for the feedback.... more testing is needed - but it sounds like the right direction... maybe...

AFAIK, when you perform changes to switches such as "Allow apps to find account" - you MIGHT need to reboot the system in order for the change to take effect.

Personally I turn this option ON, as written in my nanodroid installation guide.
[Magisk] githyanki:
LOS with microg already has most everything you need, so run the setup and select not to install microg, fake store, and fdroid. Basically will only chose apps and some debloat options. Perhaps sync adapters or swype libraries.
[Magisk] andy356:
As I mentioned, I've already set up everything to my satisfaction. But there really should be a guide since there is component clash between the two packages.
[Magisk] githyanki:
The guide would be to not use nanodroid with the lineage with microg rom. Most of the things you would want could just as easily be installed from fdroid since all of the core components are already installed.
[Magisk] starbright_:
I have no clue, why spoofing is not listed as a permission in my LOS16 device. I installed nanodroid a few times but this device is different.

It is patched and the microG selfcheck don't find any issues (beside the cell net based location - it is a wifi tablet).

If I ceck microG core (permissions, advanced) I see spoofing, but it has a "!" symbol - not the normal one. What can be the reason for this?

Thanks for any help!

(Additional question: How can I dial "##CHECKIN##" for push reregistering if I have no phone/dialer - as it is a WiFi-tablet)
[Magisk] :
In roms with no factory signature spoofing support, the setting for it wont be available. It should go automaticly.

If not, just run

su
Npem

and see if thatll give you correct permissions.

I couldnt even give the permission on syberia 10 myself, had to run npem if it didnt go automaticly.
[Magisk] starbright_:
Ok, that is a ROM that I have to patch by myself (nanodroid-patcher). But it must be something different - nperms show that gms and vending have FAKE_PACKAGE_SIGNATURE (or should it list something else). So that is same as in my working device.

Again listing the permission in microG-Core it shows a "!" at point "Spoof package signature" !?!
[Magisk] starbright_:
See here
[Magisk] rayman95:
just flashed latest havoc 3.0 10.0 for my device hlte and 22.5 nano microG, but still haven't gps fix....can't activate unifiednlp..had issue with previous rom...how can I change that??

thank's...
[Magisk] gloeyisk:
Try to set and configure your installed nlp Backends and make sure everything works, if it still didn't help you try to install another Backends (in this case Local GSM and Local Wifi; you can find them on F-Droid). I usually (not really often) use SatStat to lock everything related with GPS (latitude, longitude, etc.) then open my installed Maps app (I'm used OsmAnd+) and the GPS working as it should.
[Magisk] :
Hi

Something has gone wrong. I'm quoted in your post, but that's not my post. Clicking on that quote I end up in another post of me that I did send. I can't remember sending the post that you quoted. Not a big problem. Only the wrong guy getting the notification.
[Magisk] gps3dx:
I fixed mine, please edit yours and please

wipe

the 2nd part where I talk about restoring purchased app.
[Magisk] starbright_:
Looking that the FAKE_PACKAGE_SIGNATURE ist granted. :) - so that seems to work.

But why Push doesn't work? I even get no app. Even if Push Notification Tester is running, the app will not registered in microG.

I have observed two cases: It fails while registering or while receiving. Right now it doesn't even register ?!
[Magisk] rayman95:
I have 7 backends installed on my system and activated, and use gps app to dl xtra data, but it show 0 sats detected on 20 total....on ss you can see that there is a problem with location sensor...
[Magisk] Oswald Boelcke:
Push Notification Tester isn't working for me already for months; however, all the three applications, to which I've granted GCM/FCM notifications, do in deed receive them.
[Magisk] starbright_:
I installed same nanodroid modules on 2 devices. At my phone push notifier works (2.9), and also 18 apps are registered at microG for push. At my tablet just nothing. Anything that I can debug?

Now I am back to state that PushNotificationTester shows it registers (page one is green). Also in Matlog I can see that. But I don't see it in microG and don't receive a notice.

If I compare them in MatLog:

I get in both logs :

- connected to internet

- successfully registered

but the failing one gives:

- disconnect: not connected

the proper one:

- received new token

and later

- incoming message.
[Magisk] starbright_:
Are they listed in your microG ?
[Magisk] gps3dx:
+++ Please add Google sync support for Android Q/10 ( API 29+) +++

Currently, latest Nanodroid (22.5.20191029) don't include 'G sync' solution ( Google calendar sync and google contacts sync ) for Andr Q/android 10/API 29.

One can see that CommonInstaller has YET to be updated with support for API 29, aka Andr Q/10.

Thus, any users with andr Q/10 wishing to use Nanodroid, is stuck w/o 'direct' google sync solution.

[MENTION=4187311]Setialpha[/MENTION] - Please update Nanodroid with relevant Gsync solution for Andr Q/10.

P.S -Shadow53.com page with Gsync files isn't updated with Q support as well ( it ends with P, API 28 ).

Not sure who's the owner and how they relates to Nanodroid project though.

-----------------------------------------------------------------------------------------------------------------------

UPDATE 1:

Managed to get Google Sync on Q with Nanodroid ( by using limited OpenGapps files, a similar solution that is already included in Nanodroid for Android P and less )

I edited CommonInstaller with relevant changes, and got one of latest OpenGapps BETA Q supported relevant files ( contact&calendar sync & backuptransport ).

You can DOWNLOAD IT HERE: View attachment 4904115.

Installation guide:

Simply extract that zip content, and overwrite "NanoDroid-22.5.20191029.zip" with that extracted content.

Then make sure to pick 'g sync' option in nanodroid's wizrard, and install that modded nanodroid zip afterwards.

After the OS has booted, goto 'system settings'->apps -> permission manager -> enable 'show system' -> open 'Google Calendar Sync' -> permissions -> ALLOW 'calendar sync' permission.

This step can be made through root shell as shell:

pm grant com.google.android.syncadapters.calendar android.permission.READ_CALENDAR
pm grant com.google.android.syncadapters.calendar android.permission.WRITE_CALENDAR

Then log out of google account and login again to be able to see contacts & calendar sync options under 'system settings' -> accounts -> google -> account sync.

ENJOY syncing on Q with Nanodroid.

----------------------------------------------------------------------

Update 2:

Apparently, choosing google's CardDAV as syncing solution is plain dangerous, slow and simply not recommended - that said even if you'd manage to sync with OAuth2 authentication.

For me, personally, since I want to sync with google contacts & calendar products - google already "knows" everything about me... so using OpenGapps's contact & calendar sync is not a big of a deal.

BUT, if one day you'd wish to separate your data from google - apparently there are FREE options out there in the cloud, that allows you to create your OWN PERSONAL CardDAV server to be your "backup" solution for contacts & calendar data.
[Magisk] starbright_:
Ok, thanks. This is different to my tablet. I can't do the dialer "*#*#checkin#*#*" trick, as this has no dialer.

Absolute strange to me - as it is the identical Nanodroid package that I use in my phone.

Firewall on/off doesn't makes a difference - that could be a reason too (afwall+). Not sure about adaware, but I use it in phone too without an issue.

I always thought that this strange "!" in spoofing permission might be a problem, but the apps itself works, just push not.

Any other ideas why apps might not register in microG?
[Magisk] Thibou:
Get PlayStore on LOS16.0 MicroG

Hi everyone, :)

First of all, thank you Setialpha and the other devs for putting so much efforts in making MicroG possible! :good:

I'm sorry to ask this but I'm struggling since 3 days trying to get my MicroG ROM working (first MicroG install for me). I did many Google and XDA researches before writing this.

My setup: Samsung Galaxy S7 with LineageOS 16.0 built for MicroG

My issue: I am not able to get the PlayStore running. The app opens, I type in my email address and password, then screen goes back to the beginning with the "Sign in" button as I didn't logged in... while my Google account is actually added to the device (I can see it in the Android settings) as I just typed my credentials. I need the PlayStore as I got some paid apps trying to check licences. I don't need to purchase apps through it, just have it running to let my paid app work.

Just to make it clear, here is my install steps until now:

- Flash LineageOS 16.0 built for MicroG

- Flash Magisk v20.1

- Reboot

- Uninstall "FakeStore.apk" as it is installed by default

- Set MicroG Settings, enabling everything. When I do the self-check everything is ticked except "Play Store (Phonesky) has correct signature"

- Add Nanolx repo to F-Droid

- Install PlayStore app from Nanolx repo

I am pretty sure I am not that wrong and I will feel stupid after you helped me but I can't figure out what is my mistake for now.

I would be very grateful if you could take time to help me. :fingers-crossed:
[Magisk] Oswald Boelcke:
Did you install Google Play Store in /system/priv-app/Phonesky?
[Magisk] dhacke:
I guess the problem could be the wrong signature thing, too.

Try this:

https://shadow53.com/android/no-gapps/faq/playstore-incorrect-signature/

After you execute the mentioned commands, check the microG self check again and when it says the Signatur is right make the login again.

Plus i would suggest you to remove your not working Google account from the first try and delete app data and cache from the play store.
[Magisk] Thibou:
No, I just installed it with F-droid so PlayStore is an user app for now.

I tried copy/paste/rename the Playstore (vending) folder from data/app to /system/priv-app but it prevents my phone from booting (infinite bootanimation). Is there another way to install the PlayStore in /system/priv-app ?

This command line gives me some errors saying this permission is not changeable.
[Magisk] Oswald Boelcke:
Maybe this: https://xdaforums.com/showpost.php?p=73188806&postcount=32

But you can also search my thread for the keyword Phonesky
[Magisk] dhacke:
Mayby the errors are caused because the Play Store isn't a system app. In the past i installed the play store together with the rest of microG only over NanoDroid via twrp.

So my Play Store was always installed as System App and i didn't have any problems with that commands.

Why don't you customize the nanodroid setup file and install the changed nanodroid package via twrp?
[Magisk] Thibou:
[MENTION=7408621]Oswald Boelcke[/MENTION] [MENTION=9542156]dhacke[/MENTION] thank you for your help.

I went for a custom install of NanoDroid with the Setup Wizard to install the PlayStore only.

PlayStore is running and lets ma log in but my previously paid apps are not available to download, it asks me to pay again for them.

I also tried to do another ROM clean install and flash the entire NanoDroid zip, same issue. :rolleyes:
[Magisk] dhacke:
Can you make a log? Then [MENTION=4187311]Setialpha[/MENTION] could take look on that.

Mayby Google changes something and microG/nanodroid must adapt that change.
[Magisk] Thibou:
Solved! :laugh::laugh:

I got it working after playing around (closing the PlayStore, cleaning cache, restart the phone...)

Thank you for your help, really appreciated! :good:
[Magisk] gps3dx:
Already did so HERE... that issue of not being able to restore purchased apps is happening to many other users... no solution available as of yet.

UPDATE - i've found the solution and it has NOTHING todo with nanodroid !

it's either Adaway or AFWall+ apps - see report in the link above.
[Magisk] dhacke:
I'm glad that it's working now. Now have fun with microG:D

---------- Post added at 10:06 PM ---------- Previous post was at 10:05 PM ----------

Good to know and thx for the link.
[Magisk] Tyakrish:
Ohh... I also thought Adaway must be it. But I was already missing safety net. So I switched to opengapps nano...

But I don't have the same issue here, despite using Adaway with the same filters...

Maybe its the combo of micro g + Adaway. Possibly Adaway is blocking some necessary domains needed by micro g.

---------- Post added at 10:45 PM ---------- Previous post was at 10:19 PM ----------

Even if Google already "knows" everything, we can still limit the information that we send to it.

For example, if one person is a celebrity and tomorrow his/her naked pics are leaked online, does it mean that the celebrity should now roam naked everywhere ? No, right ?

And even assuming that they have huge amounts of storage, they also receive huge amounts of data as well. Its not like they will store our data forever. Eventually non-required data will be deleted from their servers.

Yes. There is NextCloud... You can get it from fdroid. We can sign up for a hosting provider or host the storage ourselves (for more advanced people).

Next, install DAVx5 from fdroid. Its an open source sync application. Combining Davx5 with NextCloud, u can easily sync all your contacts as well as Calendar events...

We can then disable contacts and calendar sync on our device by freezing the apps or uninstalling...
[Magisk] temporarium:
You need this in Adaway's whitelist...
[Magisk] :
I've managed to make paid apps downloadable by the first method you mentioned: adding Google account through Google Play itself. I've adaway as well without without white listing anything and standard sources for hosts file. It's not causing any problem. I don't have AFWall+ installed though.
[Magisk] gps3dx:
The issue of not being able to download purchased app is to random and non consistent.

One time I was able to solve it by removing google account and login back by opening GP.

second time I was to do so after I disabled Adaway.

So I wanted to recheck and test.... i've done THE SAME steps as before - but NONE are working.

Hell... I even rebooted to safe mode, logged out of google account, cleared GP storage, ran NPEM, then reopened it and logged in again... and I was still NOT ABLE to restore purchased apps.

the only conclusion I can say at this point is that Adaway is NOT DIRECTLY RESPONSIBLE for the problem - since even when it is disabled, restoring purchased apps is still a problem.

more testing is needed...
[Magisk] d1n0x:
This was also the case for me, but it sorted itself out after a few days when I suddenly had update notifications.

I'm now on Lineage MicroG, installed patched play store and it worked immediately...
[Magisk] starbright_:
Does for one of you works syncing of "Here" - the navi app? Is this a microG problem? It idles endless...
[Magisk] fink.nottle:
Are you on Android 10 ? There is a known issue with location permissions on Android 10 (https://github.com/microg/android_packages_apps_GmsCore/issues/986). GPS should work, but other backends lose permissions.
[Magisk] D-J97:
Hey guys, I've just made the switch to Android q. I was running lineage for microg with no issues, I've installed msm xtended on my OnePlus 5t (signature spoofing was added sometime in October) and I've allowed signature spoofing permissions, but "system spoofs signature" is still unchecked in the self check tab. Can anyone shed some light? Maybe give me some things to try? Not entirely sure why it won't allow but I can't watch YouTube (YouTube vanced, I use it so I can listen to things while at work). All help is appreciated!
[Magisk] :
Deleted
[Magisk] :
In your first screenshot "Play Store (phonesky) has correct signature" is not checked. I guess that's the culprit. Sure you have signature spoofing enabled in settings. I don't have LineageOS 17 nor android 10. I cannot assist you more I'm afraid.
[Magisk] Keule-Tm:
You're right, it's not the ROM, it's (most likely) MicroG. MicroG doesn't support most games (Marvin is working on a fix iirc).
[Magisk] rayman95:
yes havoc 3.0 based on 10..maybe the solution is to flash pico gapps but not register and block all google services with firewall...
[Magisk] fink.nottle:
It's a permissions issue with foreground v/s background which will be resolved eventually. If you open the location settings page in microg settings, it gets the permissions for a short period of time. If you are trying to get a lock in a navigation app, you can do that as a temporary workaround. Try satstat to confirm. Open the microg location settings page and open satstat right after that. You should see the blue location pin.
[Magisk] Princknoby:
Hello,

I have an old device here, Moto g 2014 (titan) with 8GB of interim storage.

Has anyone been successful trying to install the nanodroid? I always get an error saying I don't have enough space. But I am installing in a fully zeroed ROM, I have thrown in 3.5-4Gb available.

Isn't that enough?

Tried in ROM krexus (MM), Tesla (MM), ViperOS (nougat version) ... I was unsuccessful at any!

I tried the separate installer, MicroG and F-Droid, I succeeded

I tried using SetupWizard, tried to select as few applications as possible, but still got the error that I didn't have enough space.

Do I really need more space? Or am I doing something wrong?

Thank you very much in advance.

NOTE: This is my first time trying to get rid of google services.
[Magisk] FriendlyNeighborhoodShane:
Hello! We are hosting an interview with th microG developer. Everybody can pitch in and offer a question!

https://xdaforums.com/android/software/interview-microg-dev-t4023979
[Magisk] J-Lindo:
Thank you for giving the straightforward solution. I'd been scratching my head and reinstalling Lineage MicroG trying to figure out how to make the patched Play Store appear. I'm writing this comment to thank you (with Thanks given to your comment) and to make a reference point I can look back to.

Edit: I'll also add that initially, I got the df-dferh-01 error with the Play Store. To resolve it, I deleted my Google account (which I'd already set up via MicroG Settings), cleared Data from Play Store, rebooted, then relaunched Play Store. Play Store asked me to sign in, and all is well.
[Magisk] gps3dx:
LOCATION ISSUE FOR Q - TESTING REQ...

I added <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/> to 3 nanodroid packages: GmsCore, nlpBackendApple, nlpBackendIchnaea.

I've decompiled these packages using apktool -> added the 'access_background_location' to the manifest xml then built with '--use-aapt2' option with java x64 on windows.

For GmsCore I made changes to the following files, since I recompiling failed w/o that change:

W: D:\Downloads\GmsCore\res\layout\ask_gcm.xml:14: error: resource android:id/seekbar is private.
W: D:\Downloads\GmsCore\res\layout-v17\ask_gcm.xml:14: error: resource android:id/seekbar is private.

So for file I edit, I added '*' between "@" and "android" to have

android:id="@*android:id/seekbar"

this 2 line edits allowed me to recompile GmsCore successfully.

Then I signed the apps with Nanodroid testkey published here.

SO.... I need testers... ( that have installed NanoDroid AS SYSTEM !!! )

goto recovery, and OVERWRITE CURRENT APKs as follows:

Overwrite GmsCore.apk at '/system/system/priv-app/GmsCore', then change perm to RW-R-R

Overwrite nlpBackendIchnaea.apk at '/system/system/app/nlpBackendIchnaea', then change perm to RW-R-R

Overwrite nlpBackendApple.apk at '/system/system/app/nlpBackendApple', then change perm to RW-R-R

Then wipe 3 files with similar names under '/data/system/package_cache'.

only then reboot to system.

open MicroG settings to make sure you selected 'apple' and 'Mozilla' location backends for the NLP.

close the microG settings, wipe it from recents ( as ppl already states location lock works if nlp settings is opened, but since we want check its BACKGROUND capabilities, close nlp /microg settings screen ).

Set device location for 'high accuracy' then open any app like Moovit/google maps etc and check to see if can get a lock on your location.

A bug I already noticed is that when I goto GmsCore location permission screen, I can click on 'allow all the time' but it reverts to 'allow only while using the app' automatically.

UPDATE:

AFAI tested - adding that permission don't help... navigation apps gets location lock only when I open MicroG settings (GmsCore), even w/o opening nlp sub page.
[Magisk] Setialpha:
mar-v-in seems to already work on it, see: https://github.com/microg/android_p...mmit/db4bb568e1e4f4eb11aee4546abb00aacee20038
[Magisk] AnonVendetta:
With this NanoDroid and the patched Play Store, it takes forever for my purchased apps to be downloadable. Instead they just show a price tag. I waited the past 3 days for some of my apps to appear as downloadable., this morning I am finally able to DL them. But why does it take so long? There must be some kind of account syncing going on in the background...but for 3 days?! I never had this problem with GApps, only recently with Nanodroid's MicroG.
[Magisk] Setialpha:
There's no NanoDroid's microG, only microG, it's a separate project. And NanoDroid is a software bundle/installer with extra features at heart.

I never had such issues. I assume you gave Play Store all permissions it requested? If not, that's likely the cause.

Else, without a logcat, how am I supposed to answer your question?
[Magisk] Setialpha:
NanoDroid 22.5.1.2020102 "NCIA-93"

Hi everyone,

new year, new (minor) release: version 22.5.1 (Codename: NCIA-93) is now available.

No, there no Android 10 support for the Patcher (there's still no on-device compat-dex to dex converter) or Sync Adapters (OpenGApps for Android 10 is not officially released) yet.

ChangeLog

## 22.5.1.20200102

### Bugfixes

* SetupWizard
* fix writing configuration files to external SD card on some devices @hockeymikey

* Installer
* fix compat with vendor partition on some devices

* build-package
* fix `u-gsync` not working
* fix `u-bromite` not working
* fix `u-osmand` not working

### General Changes

* Sync Adapters
* use API 19 Calendar Sync only for API 19 (KitKat)
* use API 21 Calendar Sync for API 21 - API 28 (Lolipop - Pie)

### Updates

* automatic
* Aurora Store (3.1.5)
* Blokada (4.4.3)
* Bromite System WebView (79.0.3945.107)
* F-Droid (1.8-alpha0)
* F-Droid Privileged Extension (0.2.11)
* K-9 Mail (5.703)
* KeePass DX (2.50.0.0beta25)
* Lightning (5.1.0)
* NewPipe (0.18.0)
* Open Camera (1.47.3)
* OpenLauncher (0.7.2)
* OSM Android+ (3.5.5)
* QKSMS (3.7.10)
* Simple Calendar Pro (6.8.2)
* Simple Gallery Pro (6.10.8)
* Tor Browser (68.3.0)

* manual
* Google Play Store (17.9.17)
* MPV (20191106-nightly)

* tools
* dexpatcher (1.8.0-alpha4)
* vdexextractor (0.6.0)

Download links

Download from Nanolx.

Bug reporting

In case of errors, please provide

/data/media/0/MODID_log_INSTALLDATE

/data/media/0/MODID_twrp_INSTALLDATE

SysTest package logfile

logcat (if applicable)
[Magisk] rayman95:
thank's for the update and happy new year.....

still got an issue with bromite who cause no internet....on crdroid 10....
[Magisk] Setialpha:
Bromite doesn't properly work on most Android 10 ROMs yet.
[Magisk] den5o:
MicroG module causes bootloop

MicroG module causes bootloop on my OnePlus 6 with OmniROM 10. This is true for the latest release of NanoDroid MicroG module as well as the 2 previous stable releases.

View attachment logcat.log

View attachment NanoDroid_microG_22.5.1.20200102_log_20200103_04.33.37.log

View attachment NanoDroid_microG_22.5.1.20200102_twrp_20200103_04.33.37.log

View attachment NanoDroid-SysTest-20200103-04.33.57.log
[Magisk] Setialpha:
Does it work when disabling overlay feature?

Will check the logs later,
[Magisk] Setialpha:
To clear this up: Chromium/Bromite 80 will support Android 10. Set for stable relaese 4th of February.