yashsingh1/xdaforums huggingface dataset:
[Magisk] Setialpha:
22.5.20191029 "SS Emette"

Hi everyone,

a new stable release is available now (I've choosen to skip the beta release and do a new stable instead), version 22.5 Codename: SS Emette.

Highlights

Support Android 10 (except the Patcher)

improve Patcher support for older Android versions

improved support for S-A-R and A/B devices

fixed Bromite WebView support detection

dropped Yalp Store

dropped nanodroid-font

ChangeLog

## 22.5.20191029 "[SS Emette](https://memory-alpha.fandom.com/wiki/SS_Emmette)"

### Bugfixes

* Patcher
* better ROM compat by detecting what DalvikVM options are actually supported

* Installer, Patcher, Uninstaller, SysTest
* improved support for A/B and system-as-root devices
* mount `com.android.runtime` APEX on Android 10 (if ROM provides it)
* required for fully working installation environment

* Uninstaller
* properly unmount system partition on system-as-root devices

* Full package
* on Android 10 ringtones may need to be installed into `/system/product/media`

* Bromite WebView package
* on Android 10 Bromite System WebView may need to be installed into `/system/product/app`
* fix check whether ROM actually supports Bromite WebView

* build-package Script
* minor fix in version bumping

### General Changes

* Full, microG packages
* drop `Yalp Store`, as it hasn't received updates for a year now
* update `nanodroid_play` setup value accordingly
* before: value 20 = Yalp Store; 21 = Yalp + Fake Store ; 30 = Aurora Store ; 31 = Aurora + Fake Store
* now: value 20 = Aurora Store ; 21 = Aurora + Fake Store
* user will be auto-migrated from Yalp to Aurora Store (if required)

* SysTest
* log the mounted android runtime APEX on Android 10 (if ROM provides it)

* Uninstaller
* in uninstalling System Mode NanoDroid support restoring apps from `/system/reserve` and `/system/product` (if any)

* nanodroid-overlay Script
* support creating overlays for `/system/product/app`
* support creating overlays for `/system/product/priv-app`
* guard non-universal app-directories (`/system/reserve`, `/system/product`) to prevent meaningless error messages

* build-package Script
* improve dalvik-izing jar files

* nanodroid-font Script
* dropped `nanodroid-font` Script and Nintendo UI Fonts

### Updates

* automatic
* Aurora Droid (1.0.4)
* Aurora Store (3.1.3)
* Blokada (4.3.11)
* Bromite System WebView (78.0.3904.72)
* KeePassDX (2.5.0.0beta23)
* microG GmsCore (0.2.9.19420-5 (official nightly))
* NewPipe (0.17.3)
* nlp Backend Déjà Vu (1.1.12)
* OpenCamera (1.47.2)
* Orbot (16.1.2-RC-2)
* OpenKeychain (5.4)
* OpenLauncher (0.7.0)
* OSM Android (3.4.8)
* QKSMS (3.7.3)
* Simple Calendar (6.6.4)
* Simple Gallery (6.10.3)
* SmartPack Kernel Manager (8.9)
* Substratum (1020)
* Termux (0.76)
* Tor Browser (68.2.0)

* manual
* Google Play (17.2.13)
* MPV (20191025-nightly)

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:
[MENTION=4187311]Setialpha[/MENTION] : still issue with bromite 22.5..o havocOS 3.0 10... didn't flash the rest..
[Magisk] Setialpha:
Yes, same on crDroid 6. ROMs framework-res looks like it'll work, but it doesn't. I don't know (yet) why. Not a bug in NanoDroid at least.
[Magisk] rayman95:
Log for you, maybe useful...
[Magisk] birleytweet:
Hey only just recently found NanoDroid. I've been using MicroG for a couple of years with LineageOS version. I've been trying to update LineageOS for about 6 months and would always get a boot loop. I found it was likely the modified Play Store I was using in an older version of Pie. I did a clean install of LineageOS 16 MicroG, but unable to get a Play Store to work to verify my paid apps. I had this working prior. I can't seem to find or get the NanoDroid Play Store to work. I downloaded NanoDroid from https://downloads.nanolx.org/NanoDroid/Stable/ and ran the NanoDroid-22.5.20191029.zip via TWRP. It installs the Aurora Store, which works great, but still can't run paid apps.

To clarify I'm running LineageOS 16 20191029 latest version and just basically want a clean install with the Play Store that works. I've tried installing the Play Store from F-Droid https://www.nanolx.org/fdroid/repo/ but get Error -7 a previously installed package of the same name has a different signature than the new package (and the old package's data was not removed error.

Does anyone know a way around this or a better solution? Is there somewhere to download the individual packages for NanoDroid and not the entire lot as I don't want Substratum or any additional issues that I don't need. Thanks
[Magisk] gloeyisk:
There's a separate zip and mainly for microG and its core frameworks only, or if you've had downloaded the Full zip already, you can just use the Setup Wizard that provided from the link you download the zip. Select any desired apps/services/frameworks there and set it up depend to your need. Don't forget to use modified Play Store for access/download your purchased apps (these way do the trick in my cases). Any questions or so just tell it here. Me or anyone else will be glad to help and assist you ;)
[Magisk] Noru29:
Hi, I also use LineageOS 16 microg but never tried with patched playstore from nanodroid, does it really works ?

And can I also installed Aurora near it ?
[Magisk] gloeyisk:
Yes, it works.

Either modified Play Store from NanoDroid or Aurora Store, as long as you can download your purchased apps, it should fine.
[Magisk] I5WsRcGXFSPHLBFtjNxBXkd2:
Deleted.
[Magisk] birleytweet:
Hi thanks I just tried the setup zip file via TWRP and went through the steps. Strange thing though it doesn't appear to have installed anything. The setup.zip file is only about 1MB. Not sure if it reads the files from the main installer, but tried twice and it says it worked just nothing got installed. I haven't been able to find any decent info about this. If you could elaborate anymore that would be great thanks.
[Magisk] Setialpha:
It's just a SetupWizard, as the name suggests and in the introduction is stared, that it creates the configuration for NanoDroid. Install the desired NanoDroid package afterwards.
[Magisk] birleytweet:
OK thanks. I ended up trying the setup for the beta version and it had the play store included. Though it doesn't sign in for some reason. It's a bit closer than I was. If anyone else has an idea please let me know. Thanks
[Magisk] Setialpha:
See third post for the link to the known issues (and fixes) section. Apparently this one was talked about a myriad of times in this thread.

Also the last beta is older than the stable release.
[Magisk] eigerzoom:
Hangouts/dialer keeps crashing on v24.90.20191014 for me.

I dont remember my steps for successfully integrating hangouts.

Last version used was the beta2 from early july where it worked until this fresh install nano.

Maybe i need to install and configure hangouts before integrating nano/microg? i forget.

Or maybe its an issue with the new version?

Thanks if anyone has experience for success.

EDIT:

tried latest version now can't add google account, microg crashes

I used latest uninstaller to remove 10/14 version because 10/14 wouldn't uninstall...maybe associated reason?

EDIt 2:

reinstalled rom :rolleyes:

everything working on latest
[Magisk] AlreadyFree:
Is there any reason the boxes in the attached screenshot wouldn't be checked on a lineageos 9 rom & latest stable nanodroid installer? Never knew it to not be compatible with UnifiedNLP before?
[Magisk] garylawwd:
Set up your location providers first :confused:
[Magisk] AlreadyFree:
They're set.
[Magisk] garylawwd:
Location permission granted for microg and nominatum?
[Magisk] d1n0x:
They are not set. DejaVu doesn't provide any network location on its own, it relies on GPS. Please read the documentations of each backend.
[Magisk] AlreadyFree:
No permissions requested for nominatum but all permissions for microg are set
[Magisk] cyriotic3:
does anyone still have previous NanoDroid microG version? (22.4)
[Magisk] githyanki:
Clear data on Mozilla unifiednlp backbend. Will have to show system apps to see it. Then enable it again in microg settings.
[Magisk] cyriotic3:
deleted
[Magisk] AlreadyFree:
The Mozilla backend is installed but i wasn't using it. Id just using the deja vu backend.

Edit: But i deactivated nominatum & deja vu. Cleared data for those plus Mozilla. And reactivated all 3 in microg with no change
[Magisk] jackson_c:
Anyway to make Google Play Games works?
[Magisk] kurtn:
Not implemented, but i think there is a bounty source for it.
[Magisk] jackson_c:
Could you give me more details? I read somewhere that there is no official support, but other apps in the same status work normally.
[Magisk] vvilq:
What is the difference between NanoDroid's GmsCore ver 22.5.20191029 and official marvin's GmsCore ? Changelog https://gitlab.com/Nanolx/NanoDroid/blob/master/ChangeLog.md states that Nanodroid ver. 22.5.20191029 uses official microG GmsCore 0.2.9.19420-5, but, in fact, NanoDroid's 22.5.20191029 GmsCore apk is different than the official apk https://github.com/microg/android_p...ownload/v0.2.9.19420/GmsCore-v0.2.9.19420.apk - they have different CRC for classes.dex inside each apk.
[Magisk] :
Yes. I used 22.4 last time I flashed my setup. What about it?
[Magisk] carlos974:
https://github.com/Nanolx/NanoDroid/releases
[Magisk] Setialpha:
It's an official snapshot build from mar-v-in
[Magisk] cyriotic3:
is it possible to upload and give it to me? having problem with the latest ver, it's my ROM's fault, not this Project
[Magisk] d1n0x:
You can download older versions from the archive on the website
[Magisk] Setialpha:
The archive is incomplete cuurently. I do have all missing releases saved, but not yet uploaded.
[Magisk] gps3dx:
I also get a "play support libraries - installing..." notification from time to time, using the latest nanodroid v22.5.

it seems it's buggy... either it keeps downloading it or keeps installing it in an endless loop - don't know.

I worry that Play Store uses my cell-data connection

even though I configured play store to download on WIFI only, and set 'auto-update apps' to "don't".

[MENTION=4187311]Setialpha[/MENTION] mentioned that's possible to block such update - but how ? ( hopefully w/o hurting any other operation like regular 3rd party app updates from play store ).
[Magisk] Oswald Boelcke:
I've already observed this behaviour in July, and since then Google Play Store is always frozen unless I want to check for and conduct updates. I posted about this here, here and here. Additional mods to the play store are certainly appreciated.
[Magisk] gps3dx:
you reported and complained about NEAR the same but DIFFERENT ISSUE.

let me explain:

I'm talking ONLY about the fact that "Google Support Libraries" ( AKA "play services" its old name) is being auto-download & install and it FAILS ( to either download or either install properly ).

this happens randomly, after reboots.

This is very troubling

since NO option exist in GP to disable such update nor limit its download to wifi only. ( thus it uses "cell-data" as much as it want, even if GP options for 3rd party app are set to "use only wifi for updates" ).

now why your complaint is COMPLETELY different them mine ?

cause it's about 3rd party app updates - not about "internal" /system components.

Also, Since I set my GP to NOT allow auto-update 3rd party apps in its settings- NO 3rd party apps are being updated ( like greenify etc ).

Also, just so i'm helpful about your case - I want to report that I have NO issue with taming 3rd party updates to download only on wifi and only manual( i.e no 3rd party auto-update) through GP options. ( BUT "Google Support Libraries" AKA "google play services" )

Lastly, it is important to also post nanodroid version you use ( otherwise it's hard to follow when the issue exist and when it is gone/fixed ) - so my report above made with latest nanodroid v22.5.20191029.
[Magisk] NightFox029:
Hi im using oxygen os pie,with fakegapps xposed,and in microg setting every check box ticked which is good and all,but whenever I try to sign in microg crashing"microg service core keep stopping" error popping up,what should I do?
[Magisk] dhacke:
Why do you have a xposed modul for FakeGapps AND microG?

So my guess: Try it without this fake gapps modul. It wouldn't wonder me when the combination fake gapps modul and microG makes the crash.
[Magisk] NightFox029:
My rom does not support SIgnature spoofing so I installed fakegapps as a workaround
[Magisk] dhacke:
Ah ok now i'm understanding. I thought the modul was only to fake the existense of Gapps somehow. I didn't know that it makes signature spoofing support.

But the problem could still cause from that Xposed Modul.

Did you already try the nanodroid patcher? Or mayby there is another xposed modul for signature spoofing?

If both ways don't work you need probably a custom rom which support signature spoofing out of the box or which can be patched.
[Magisk] NightFox029:
Well the nanodroid patcher not working for my rom,there are other rom with native signature spoofing support available for my device,but I like Oxygen os rom,too bad I cant use microg with it,I really don't want to install standard gapps,I guess I need to switch ROMs :(
[Magisk] dhacke:
Does the patcher stops because oxygen os is odexed?

Then you could try to deodex oxygen os and run it again. I don't know whether this tool works on oxygen os but theoretically it could.

https://xdaforums.com/android/general/toad-source-android-deodexer-t3848307
[Magisk] Shobit Joura:
In poco f1 ,in havoc 3.0 and arrows os android 10 , i tried and couldnt get unified nlp to register into system , it always said it doesnt support system , any thing i can try to make unified nlp work?
[Magisk] AlreadyFree:
Somehow i missed this response earlier. By set, i meant that nominatum & deja vu were selected in microg. GPS seems to be working. My location is detectable in maps app, etc.
[Magisk] d1n0x:
GPS is independent of location backends and works without MicroG entirely. Now network location is a different story. And as stated, Deja Vu itself doesn't provide any network location out of the box. And Nominatim is not a location provider, it is an address lookup provider.
[Magisk] TheBigG:
Hi,

I'm a bit confused.

I want to use nanodroid patcher on the android q image by phhusson from here https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list yet it always says me that android q isn't supported even though it says in https://github.com/Nanolx/NanoDroid that in 10.0 / SDK 29 (Q) Patcher not yet tested / updated

Shouldn't i be able to test it myself and not get directly blocked before i can test anything?

Thanks for info.
[Magisk] AlreadyFree:
Well i guess I'm confused about what you were trying to say in your original comment. I know gps is completely independent of microg. But you said that deja vu was "not set" on my system and went on to say that deja vu "doesn't provide any network location on it's own, it relies on gps". Implying, i thought, that you suspected that my gps was the cause of the problem. That's the only reason why i mentioned that the gps seemed to be working correctly. And where would i find the documentation for the two backends in question that you mentioned i should read; i can't seem to find any.

I'm simply trying to figure out why microg seems to think that my lineageos rom isn't compatible with unifiednlp or that it's not registered in the system. The two have always been compatible before. Honestly everything seems to be working ok. It just bothers me that those two boxes aren't checked in microg and i thought that this might be some known bug that i had missed or that someone else might have run into this problem too at some point. Just seems strange.

I also just updated the nanodroid package to the 10/29/19 release but sadly that didn't change anything.
[Magisk] :
Test with a q rom, and come back with some logs. If you succeed, thats really good. If not, OP would most likely be happy if you provided logs to work with.

---------- Post added at 01:47 AM ---------- Previous post was at 01:45 AM ----------

Some phones doesnt seem to register it properly, thus showing you that it not registered, and such. As long as location work, you shouldnt worry.

I have the same issue with my OP6, but location works none the less.
[Magisk] kurtn:
The only method for Q is smali patcher AFAIK. But you work with gsi: can't you find a version with signature spoofing?
[Magisk] Setialpha:
Note the 'not updated part' in *Patcher not yet tested / updated*.
[Magisk] TheBigG:
Ah I read it like not yet tested but updated anyways, that does explain it.

Thank you
[Magisk] TheBigG:
Couldn't get it to work with smali patcher and i haven't found any Android Q GSI Rom that is maintained and has spoofing enabled. Even the AospExtended v7.0 ALPHA doesn't have it even though https://github.com/microg/android_packages_apps_GmsCore/wiki/Signature-Spoofing states that AospExtended would have enabled it.

If you know any Q based GSI which does have it i would be happy to try it if you point me to it. :fingers-crossed:
[Magisk] d1n0x:
Just stay on Pie, it isn't much different
[Magisk] kaos_king:
I'm having an issue for the first time with Pie, manually deodexed and when flashing the patcher I'm getting this error

++
++ services.jar status: DEODEX
++

> patching signature spoofing support

>> patching services.jar
CANNOT LINK EXECUTABLE "/system_root/bin/dex2oat": "/system_root/system/lib64/libart-compiler.so" is 64-bit instead of 32-bit
linker: CANNOT LINK EXECUTABLE "/system_root/bin/dex2oat": "/system_root/system/lib64/libart-compiler.so" is 64-bit instead of 32-bit
libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 5342 (main), pid 5342 (main)
Aborted

!! failed to apply patches

Updater process ended with ERROR: 1
I:Install took 3 second(s).
Error installing zip file '/sdcard/Download/NanoDroid-patcher-22.5.20191029.zip'

I can't seem to find anything really that I can try when googling it?
[Magisk] eierfrucht:
I gave microG a try on my Honor 8 Pro this summer and I really liked it. This was on EMUI 9.0, I barely managed to find a working TWRP and installed everything into /system.

I'm now grounded with EMUI 9.1 that has /system stored on a read-only EROFS partition. I figured out how to create a Magisk module with a patched fileset that would systemlessly enable signature spoofing. So I can give the Magisk version of microG a try. My current problem: no matter how many times I re-read the Nanodroid documentation, I don't see a chapter/way for installing Nanodroid as a .zip module archive in Magisk, or where to procure one. Like, there isn't a working TWRP for my device running EMUI 9.1 and none is coming. I can't install it with the regular installer and don't understand why would I absolutely need that for a Magisk module.

All I need is to map the basic microG components over /system/priv-apps. I don't need any of the fancy tweaks / goodies / configuration stuff. I can simply freeze all the unneeded / troublesome gapps components either in LuckyPatcher or using the Debloater for Magisk.

I would be very much obliged to anyone kind enough to show me a way to install the basic microG components from NanoDroid as a Magisk module without using TWRP. I don't believe that you absolutely MUST use TWRP if you just want to map a bunch of files on top of /system/ because a lot of modules like Pix3lify do replace a helluva system files without any need for TWRP.

There also seems to exist an alternate way: install vanilla microG .apks first as regular user apps, then map them to /system/priv-app using the Systemize for Magisk module. But is it ever going to work?

Another question: currently I'm using quite a few Magisk modules and have FRP turned on, both Magisk ramdisk and the modules get regular updates without issues. Will I be able to keep FRP with a systemlessly installed microG and signature spoofing patchset? Well the answer seems to be yes, since everything's gonna be literally systemless, but I'm not very sure.

Thank you in advance and sorry if posting in the wrong thread.
[Magisk] :
I dunno about magisk, as nanodroid is supposed to be installed in twrp, atleast afaik. I mean to recall someoke asking about installing in magisk, and the answer was no.

Regarding installing as a userapp, and converting to system app; no problem what so ever. Atleast there shouldnt be. If you however run into some issue with permissions, you can just modify it in your filesystem. Should be something about it here, if not, I think theres a .xml file in the zip.

I used an older script from a guy called nisseguera or something earlier before I discovered nanodroid. And it just installed the apps in priv-apps, or system. I dont remember correctly. I even had to modify it at some point because of some bugs, and had to covert some of the apks to system apps after flashing. Still no issues, so should be perfectly fine installing straight from f-droid, or even the microG nanodroid zip. You can open the zip file and find the apks you want in there. Just install Mix explorer or something that can open .zip files on your phone. Its available here at xda. Or from your pc, whatever you fancy.
[Magisk] eierfrucht:
Well no, microg won't install as a user app because it's already in the ROM as a system app; the ROM is read-only (erofs) and odexed; microg apk's won't install as system app updates due to conflicting signatures.

So it looks like if there's no way to install magisk-based microg from nanodroid without TWRP, I must figure out how to create Magisk modules that override /system/priv-app/

It's probably going to be like that YouTube Vanced magisk module, just downgrade a system app to stock version by removing updates then your magisk-based replacement kicks in 'cause it carries an ostensibly newer version of the system package being replaced (acting like an alternative to the regular way of updating the system apps)

But I can't believe nobody has already been packaging microg vanilla apk's as separate Magisk modules? Been googling around and found none.

BTW mksigspoofmod manual says, «Coupled with NanoDroid by Nanolx or with any other Magisk-based microG solution, it enables fully systemless microG support» What the hell are those supposed «other Magisk-based microg solutions»?

P.S. I also have no idea if I need to manually deodex services.jar for Pie before feeding the fileset to mksigspoofmod patcher or it can handle the odexed stuff automatically... it seems to declare Pie support.
[Magisk] :
You have to remove those apps that conflic with microG, to be able yo use it. Your rom also has to be Deoxed to be able to support signature spoofing.

https://github.com/Nanolx/NanoDroid/blob/master/doc/DeodexServices.md heres a guide how to.

After that youd have to flash the patcher, eithet smali or nanodroid patcher. If your rom doesnt have signsturespofing support, you cant use microG. Unless theres another solution I dont know of.

Now, wether you can do this without twrp, Im not sure.

Though if mksigspoofmod is flashable through magisk, that'll solve your problem.

There was a microG magisk module, but for some reason I cant find it when searching for it in magisk manager. It just installed basic microG apks into /system. But this can just as easily be done manually by installing them manually as user apps, and converting to systemapp, as stated in my previous post. So you dont acctually need either of them. Its just more convinient to use nanodroid or other flashable packages.
[Magisk] gps3dx:
[MENTION=4187311]Setialpha[/MENTION] - can you please advise about that annoying auto-cell-data killer ? :confused:
[Magisk] temporarium:
There was another (systemless) microg module in Magisk that used to criticize NanoDroid for all the "extra" stuff, but it seems to have been removed. Maybe the creator didn't keep it updated or nobody cared.

I have microg running on a LOS system without signature spoofing. I've installed Xposed via Magisk, followed by the FakeGapps module.