yashsingh1/xdaforums huggingface dataset:
[Magisk] breversa:
I'm having an issue with NanoDroid-patcher-22.6.20200298.zip on a Samsung Galaxy Tab 3 8" running LineageOS 14.1 (Android 7.1.2) :

>> deodexing services.jar [ODEX]
[1] baksmali services.odex
Exception in thread "main" java.lang.NoClassDefFoundError: Failed resolution of: Ljava/nio/file/Path;
at com.beust.jcommander.internal.DefaultConverterFactory.<clinit>(DefaultConverterFactory.java:66)
at com.beust.jcommander.JCommander.<clinit>(JCommander.java:167)
at org.jf.baksmali.Main.main(Main.java:78)
Caused by: java.lang.ClassNotFoundException: Didn't find class "java.nio.file.Path" on path: DexPathList[[dex file "/dev/tmp/install/dexpatcher/baksmali_25.dex"],nativeLibraryDirectories=[/system/lib, /vendor/lib, /system/vendor/lib, /system/lib, /vendor/lib, /system/vendor/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
... 3 more

!! failed to deodex services.jar

Here's the full TWRP log : View attachment recovery.log
[Magisk] Estebanium:
So if an new Nanodroid version is released, I can update via F-Droid all relevant Apps?
[Magisk] githyanki:
Yes, nanodroid makes it easy to install everything when you start from scratch, updates are done from relevant developers thru fdriod.
[Magisk] Exabyter:
Trying to setup nanodroid on OmniROM. (Android 10)

But various components in the microG Settings app suggest spoofing isn't working. I couldn't find any setting in OmniROM to enable or disable this. (Edit: I was able to resolve one of these permissions issues in the settings app for gmscore by clicking on that item and giving it the spoofing privilege.)

But the Self-Check still shows perms issues with Phonesky, and NLP shows unchecked. (Mind you, I have no connectivity on this device atm as I'm having wifi auth issues and no sim card in this device yet)

Also, I thought there was supposed to be some sort of configurator or wizard that launches on restart but all I got was a superuser request, which I approved, and then nothing beyond that.

I noticed the nanodroid docs suggest it may require Busybox, so I installed that prior to flashing nanodroid, but my variant of busybox requires a license key for the version that persists through a reboot (which can't be validated until Play store is working) - is it possible the installer didn't finish due to lack of busybox at boot time?

There are now tons of apps and stuff on there I don't want and it looks like they're all installed as system apps so I can't remove them either.

Thanks
[Magisk] Estebanium:
With 22.6.20200208 I noticed that the survival script is not working. I dirty flashed an update for my ROM, so before TWRP starts, addon.d for NanoDroid is executed to save current ND. When TWRP successfully flashed the ROM the survival script of ND starts and it reports then that it recovered ND successfully. Moreover it reports that any GApps were removed. However if I reboot to System, MicroG app and all related things of ND vanished.
[Magisk] carlos974:
Yes it's true here too.

This is why with each update of the rom I flash a zip that I created to put the applications and microG files before reboot
[Magisk] Estebanium:
Is it possible that ND removes itself after restoration? That would make sense.
[Magisk] Keule-Tm:
Try the Magisk busybox. It's free, and probably better tuned to work in this setting.
[Magisk] carlos974:
Addons.d are saved and restored but the survival script of ND "91-nanodroid.sh" don't restore!

This is why the apk and configuration files are not there.
[Magisk] Exabyter:
I found a different solution for Busybox but it appears Magisk has some form of busybox enabled by default anyway bc I saw a reference to it in the system somewhere.

I flashed the nanodroid uninstall script which seemed to work. (took about 2 seconds in TWRP which kind of shocked me)

Then I decided to try the Setup Wizard (yes my device meets the stated HW requirements) and it froze TWRP for at least 5 minutes, I had to do a hard power-off.

---------- Post added at 06:56 PM ---------- Previous post was at 06:52 PM ----------

What does this zip file contain? APK's that you have to reinstall everything with manually, or ??

Which ROM is this?
[Magisk] carlos974:
The zip file contains the list of files that the 91-nanodroid.sh script references, i.e.: / data / adb / NanoDroid_FileList

The Rom is crDroidAndroid-10.0-20200427-meliusltexx-v6.5
[Magisk] :
I suspect you used full nanodroid package, unaware of all the apps that came with it. Just use nanodroid uninstaller to remove them. Instead, use the package you acctually want, which I suspect would be microG package, aswell as perhaps fdroid. You may also use a config file instead, and just choose not to install all the extras, but its really unneccessary if you only want microG.

Omnirom now also comes prepackaged builds with microG for some phones, check their website for availability for your phone.
[Magisk] bre75:
Hello,

Trying Nanodroid for 1st time on a old Samsung Galaxy J1 (SM-J120FN), Android 5.1.1.

I followed these steps (except Magisk): https://github.com/Nanolx/NanoDroid/blob/master/README.md#stock-rom-with-gapps

Nanodroid patcher fail when i install it (cf attached picture).

Also i tried Nanodroid-microG, it installed well microg on the device but Gapps apps are still there. I understood they were removed by the process. Did i miss something ?

Any idea ?

Thanks for help
[Magisk] xelayz:
I am interested in LOS17 support, too.
[Magisk] Estebanium:
I tried the patcher from the beta repository, but it failed on LOS17.1. So I stick to the Smali Patcher that creates the patch as a Magisk module..
[Magisk] carlos974:
[MENTION=4187311]Setialpha[/MENTION]

https://xdaforums.com/showpost.php?p=82407891&postcount=7957
[Magisk] Knowbody42:
I've got Lineage OS 16 on an LG G4 H815, and I'm trying to get MicroG to work properly.

The only thing that isn't working is that under the self-check, "System spoofs signature" is unticked.

I have tried deodexing it, as well as granting these permissions in a terminal:

su
pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE
pm grant com.google.android.gms android.permission.FAKE_PACKAGE_SIGNATURE
[Magisk] carlos974:
Your rom may not have microG support!

At that time you will have to use nanodroid-patcher before

FYI: To give full permissions, in a terminal

su

npem
[Magisk] Knowbody42:
When flashing nandroid patcher through TWRP, it says "ROM has native signature spoofing already" and exits.

Also, I ran that npem command, and it just said all the packages already have the permissions.
[Magisk] carlos974:
In the parameters of certain roms it must be activated by checking "System spoofs signature"

Settings -> Apps and notifications -> Authorization manager
[Magisk] amg314:
You do not need signature spoofing patch. Simply Install Nanodroid, or MinMicroG https://github.com/friendlyneighborhoodshane/minmicrog_releases/releases
[Magisk] Knowbody42:
It says MicroG has spoofing permissions in there

*edit*

Actually, I found a separate option to allow spoofing in the developer options. I enabled it there, and that solved the problem.
[Magisk] carlos974:
:good:
[Magisk] Jay0r:
does somebody know if its now possible to cast music from spotify to a chromecast with microG? Im asking because a year ago it wasnt possible.
[Magisk] crypta:
Don't get the connection.

Chromecast is dlnp. For this I used a tool long ago.

For my understanding it is an androing thing, not microg.

Do playservices offer such functionality nowadays?
[Magisk] Exabyter:
An option for package spoofing in vanilla LOS??

[[SHOCK]]

I assume you're running an unofficial build?

LOS officially stopped supporting the G4 over 2 years ago.

Pity too - if you're lucky enough to get one that doesn't bootloop, they're a very nice phone considering the age. (I have a very reliable H811)
[Magisk] Jay0r:
Thank you for your answer :)

Yes it does... And it's working pretty easy and great. I can choose in Spotify on which device I want to cast the music. I have a soundbar with build in chromecast and I use it a lot. I tried to get it to work a year ago with nanodroid/microg but sadly only installing play services again fixed it. I hope so bad it will work someday.
[Magisk] Knowbody42:
It's this unofficial build:

https://xdaforums.com/g4/development/rom-lineageos-16-0-t3929082

But yeah, if I could get an LG G4 with like a Snapdragon 835 instead of the 808, I'd buy it.
[Magisk] Razor64:
DeviCe: Mi Mix 2

ROM: cRdroid 6.5

Not workimg for me. Tried both microg beta and stable zip files. Device goes into bootloop. Any suggestions?

---------- Post added at 06:44 PM ---------- Previous post was at 06:44 PM ----------

DeviCe: Mi Mix 2

ROM: cRdroid 6.5

Not working for me. Tried both microg beta and stable zip files. Device goes into bootloop. Any suggestions?

---------- Post added at 06:44 PM ---------- Previous post was at 06:44 PM ----------

DeviCe: Mi Mix 2

ROM: cRdroid 6.5

Not working for me. Tried both microg beta and stable zip files. Device goes into bootloop. Any suggestions?
[Magisk] carlos974:
Check that the rom has microG support !

https://gitlab.com/Nanolx/NanoDroid/blob/master/README.md#signature-spoofing-support
[Magisk] starbright_:
(sorry wrong post - deleted)
[Magisk] d1n0x:
This "updating Play support libraries" notification is starting to get on my nerves. I disabled every possible service for Play Store imaginable without breaking it, I disabled it from running in the background, but I still get this annoying notification about play support libraries again and again and again. Can we please have a definitive answer on how to disable this, other than disabling the app completely?
[Magisk] andy356:
This didn't work?

https://gitlab.com/Nanolx/NanoDroid/blob/master/README.md#updating-play-support-libraries
[Magisk] d1n0x:
Of course. I disabled that service but it didn't stop, so I disabled others but I still get it frequently
[Magisk] Djurba:
While doing clean install of rom, I tried to install nanodroid but no success, phone keeps rebooting in twrp. with opengapps everything works fine

Is there some specific procedure how to do it, step by step, or this rom ( crdroid) is maybe not supporting it ?
[Magisk] d1n0x:
Boot into ROM once before flashing NanoDroid
[Magisk] TRexombo:
Hi [MENTION=4187311]Setialpha[/MENTION]! Hope you are doing well. Thank you for all of your hard work, it is very much appreciated. I've been using Nanodroid on my OP6T since late 2019 and it's my favorite open source installer.

I have been using Nanodroid 22.4 but over the weekend I decided I wanted to upgrade to the latest Nanodroid. I think it's 22.6. I ran into an issue. When I attempt to flash it in TWRP it says it is not a recognized zip file. I am on android 9 and I have magisk installed on a custom ROM with signature spoofing support. The ROM is android extended.

Thank you.
[Magisk] Djurba:
Its working now :) , thanks!!!

After booting to system do I need to set up something to complete MicroG setup ??

finally I found some instructions on GitLab, I am supposed to do this

https://imgur.com/9PVXfMJ
[Magisk] TRexombo:
Been thinking about this issue. Is it because I need to ADB side load it? My previous version (22.4) installs just fine in TWRP but 22.6 always gives me the invalid zip error. :confused:

I have the latest TWRP on my OP6T

Edit:

Or is it only compatible with Android 10?
[Magisk] Setialpha:
I would rather say that your downloaded zip is faulty. Try downloading it again.
[Magisk] TRexombo:
Yes, thank you. You are exactly right! I re downloaded my zip and tried it again. Now it works:laugh:
[Magisk] JoeRifle:
I can not concur that the patcher works for Android 10 - at least not with all devices. I have a S10+ and the patcher fails with the following log:

Seems to me that the updater does not find dalvikvm because it does not receive the right path after all the traversal. But I am not sure.

I did a ls -l to that path and I see it a link to

lrwxrwxrwx 1 root root 38 2020-05-25 01:48 system/bin/dalvikvm -> /apex/com.android.runtime/bin/dalvikvm

and another link to

/apex/com.android.runtime/bin/dalvikvm -> dalvikvm64

This then gives something that is not a link, but has the owner shell for a change

-rwxr-xr-x 1 root shell 28552 2008-08-01 14:00 /apex/com.android.runtime/bin/dalvikvm64

I guess if the updater were to find this exact location, it would succeed. Maybe it helps at correcting the problem?
[Magisk] Bracher:
Hi, I hope everybody is fine and I want to thank as well Setialpha for all his important and hard work.

Unfortunately I have the same problem with the Patcher and Android 10 - updater process ended with ERROR:1

It's the Fairphone 2 of my daughter with LOS 17.1 and Magisk 20.4 and the Beta-Patcher. I found no log for the Patcher only for microG. Unfortunately the USB connection of Android devices with my PC is not seriously working so the option with Smali-Patcher does not work for me
[Magisk] brodo:
Hello,

since recently it's not possible for me to sign in into my Google account. It says there is a problem with communication with the Google servers. I tried flashing the latest beta version of NanoDroid but to no avail.

I'm using Nanodroid on Lineageos 14.1 (Android 7).

Signature spoofing is enabled and MicroG's self-check passes completely. Anything I'm doing wrong or is it Google's fault?
[Magisk] birleytweet:
Hey could someone please help me? I have a OnePlus 5t and had been on LineageOS 16 Android 9 working perfectly with MicroG version and Google Play App Store support for paid apps. I've had issues updating it to later versions, so was running one from 1 year ago. I thought I'd try crDroid as for the extra customization, but completely stuck at getting the Play Store working. Have tried the version from Shadow53, tried installing the full NanoDroid packages and running pm grant com.google.android.gms android.permission.FAKE_PACKAGE_SIGNATURE and pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE as in Microg I had been getting a signature issue, which that command resolved.

Now if I open the Play Store it is recognizing my account, but gets error DF-DFERH-01 and doesn't proceed.

Does anyone know how to resolve this? Have tried everything I can think of. Otherwise considering restoring the old ROM from 1 year ago.
[Magisk] carlos974:
https://gitlab.com/Nanolx/NanoDroid/blob/master/README.md#play-store
[Magisk] birleytweet:
Hi thanks for the reply.

When I go to Settings > Apps > Permissions and find signature spoofing it shows no apps. That could maybe be related to why. Any idea why the Play Store doesn't appear in the Spoof package signature option?

It's driving me crazy as have a few paid apps especially for dual SIM. So any more ideas would be appreciated
[Magisk] DPMDP:
nothing works for me, see screenshot. Does somebody has any idea? why the error is displayed with jelly bean, no idea

My Device: realme X2 Pro (Stock Android 9 - 10)
[Magisk] carlos974:
In a terminal:

su

npem
[Magisk] Kungencortes:
http://m.uploadedit.com/ba3s/1491864373849.txt Logcat omirom 7.1.2
[Magisk] victor141516:
I'm trying to install in a Oneplus 3 using multirom as secondary rom. ROM boots correctly with Magisk, then I install your module but after that I reboot and it get stuck at bootlogo, can't even connect through adb. I don't know if creating a folder called 'magisk' on the root directory of the ROM in the multirom directory is equivalent to do the same on the real root, I think that is the failure. Can I achieve some kind of workaround?
[Magisk] Setialpha:
Depending on the device it might stay up to a minute on boot logo, as stated it's a big module. Though I never used MulriROM.
[Magisk] MaurixMystic:
work on tugapower oneplus one ?

---------- Post added at 01:21 AM ---------- Previous post was at 01:20 AM ----------

that sounds wonderful
[Magisk] Setialpha:
It should work on any ROM, in theory. I suggest doing a TWRP backup if you're unsure, so can can simply roll back if something fails.
[Magisk] victor141516:
I can't make it work using Magisk but I just copied the system dir from the module to my system dir and I get microG and all stuff, so the problem must be something related to how Magisk loads the module.
[Magisk] Setialpha:
MultiROM with Magisk is experimental afaik. Though topjohnwu said there will be more news coming with future releases of Magisk.
[Magisk] Kungencortes:
Could you take a look at my logs when u have some spare time? Thanks.
[Magisk] Setialpha:
I did. At first I saw nothing wrong, but then it said something about an empty token... did you go into microG Settings and set up everything and rebooted afterwards, as mentioned in Installation in first post? That empty token part of the log sounds like you did not turn Google Device Registration on in microG Settings...?
[Magisk] victor141516:
I think you misunderstood. topjohnwu said he will make his own version of multirom, but what I have done is use the official MultiROM for OnePlus 3 and try to use your module in a secondary rom.

Edit: As I'm reading, I thing Magisk modules doesn't work well on secondary ROMs
[Magisk] rohit83:
Guys which zip to flash? There are two zips in download on afh, one is of 170mb and other is of only 13mb, I'm flashing it for first time so pls help
[Magisk] Setialpha:
As stated in first post: the big one contains everything mentioned, the small one only microG and nothing else.

Which one you download and flash/install depends on your need.
[Magisk] victor141516:
You must choose one of that zips, the biggest has everything and the smallest has only microG. You dont have to flash it, it's a Magisk module.
[Magisk] topyli:
I like freedom which is very difficult to achieve on phones. I am closer now than ever, with CM13 and this. no Gapps. (no, I don't use MicroG's Google fakery either, I just want UnifiedNLP and F-Droid really.) This is the easiest setup I have ever done, it's rock stable and very very nice to use. Of course, some device drivers and whatever blobs I don't even know about, are still there and non-free, but I appreciate Magisk and this module immensely. Thank you.
[Magisk] leonardoroza:
Thanx
[Magisk] Setialpha:
version 5.2

Version 5.2 now available. Changes since 5.1:

nanomod-overlay now has the parameter -p, respectively --permission which will grant fake sign permission to microG GmsCore and Play Store, in case it's not auto-granted (this is basically for pre-patched ROMs like OmniROM and crDroid, where some users reported lack of permission on Play Store).

framework-patcher.sh updated to support Mac OSX, thanks to [MENTION=4603898]victor141516[/MENTION].

F-Droid can now be installed regardless of other apps, this is due the new nanomod.fdroid setup variable, which makes F-Droid and it's Privileged Extension independent of nanomod.apps setup variable.

Also revised several parts of the README / first post.

Complete ChangeLog since 5.1:

- Internal Changes:
- no longer copy DroidGuard.apk to /sdcard
- add 'nanomod.fdroid' setup variable
defines whether to install F-Droid or not
- add '-p', respectively '--permission'
parameter to 'nanomod-overlay', which will
grant fakesign permission to microG GmsCore
and Play Store, aswell as ignore battery
optimization permission to microG GmsCore
- 'framework-patcher' revised to support Mac OSX
thanks to victor141516
- Updates:
- F-Droid Privileged Extension (0.2.3)
- Yalp Store (0.13)
- Substratum (632)
[Magisk] Setialpha:
There's now also a F-Droid only package available, which installs F-Droid and it's Privileged Extension as Magisk Module*. Can also be created from github repository using

mod.sh fdroid

Updated README accordingly.

The README in the github repository was heavily fancy-fied, now has graphical links to F-Droid (or the-like) pages for all provided applications of the full package.

* I know other modules exist, too, but it was just a few lines of shell script to automatically create the F-Droid only package from the full package, so ... long live choice.
[Magisk] f41lbl0g:
For some reason, when using this module I am unable to pass safetynet, even with magisk hide ticked and droidguard installed properly. (CTS profile mismatch) However, disabling the module and extracting all the apps to /system/app and priv-app allow it to pass safetynet. Any way to fix safetynet with the module? Using 0408 microG edition.
[Magisk] Setialpha:
That's an Magisk issue then. I can pass basic on Samsung devices, CTS on Motorola devices.

But topjohnwu currently re-writes Magisk daemons, so we'll see, what the next version brings.
[Magisk] Mauzii:
Thank you for this, working flawlessly. I just wondered how to update to the latest beta version of MicroG?
[Magisk] piet8stevens:
Installed 11.1 over Magisk 13.2 after having dirty flashed a new ROM (I uninstalled magisk 12 and then flashed the 13.2 zip). Nanomod-Patcher zip again returns Error creating fstab. But for the rest, it works well.
[Magisk] abacate123:
[MENTION=4187311]Setialpha[/MENTION], hello, I've tried the nanomod-setup steps and it worked, thanks, I booted into the rom, then I flashed the patcher right after, configured the account and microg settings (then reboot again) and gave the permissions to the sync apps manually, but then I noticed that the contacts sync app crashes randomly, and I guess the fault is that the GoogleBackupTransport apk is not installed, it doesn't install. I tried to get the logs but I couldn't, since on MM when the app start crashing you can't go anywhere because it keep poping up on your face lol (unlike on N that you can stop it until reboot), sorry... Could you take a look at it?

I noticed if I Install the MM googlebackuptransport apk it works.

My setup (using the microg package):

nanomod_play=1

nanomod_overlay=1

nanomod_mapsv1=1

nanomod_gsync=1

nanomod_swipe=0

nanomod_forcesystem=1

nanomod_reinstall=0
[Magisk] demonoidmaster:
GBT apk is in the zip but anyways like he said a few pages back you have to flash a separate zip for calendar/contacts sync @ https://shadow53.com/no-gapps/downloads

---------- Post added at 01:41 AM ---------- Previous post was at 01:35 AM ----------

[MENTION=4187311]Setialpha[/MENTION]

Say, i noticed through the logs that it places the nanomodmicrog folder in /magisk as a module, but since my device then doesn't boot at all (i attached logs a page back) by flashing these zips, would it still work if i were to manually place the folder into /magisk (I'd have to use Topjohnwus magiskmount zip to temporarily mount the folder and then place it in)

I might try it and see if it works, unless you're certain it wouldn't, in which case please let me know
[Magisk] abacate123:
I didn't say it's not in the zip, I said it's not installing, and won't with the zip you provided, since I've tried with it as well before.

Also...

https://xdaforums.com/showpost.php?p=73008795&postcount=731

https://xdaforums.com/showpost.php?p=73015452&postcount=738
[Magisk] demonoidmaster:
Seems like it's an issue with your rom or maybe device?, cuz for me it's present in the system partition when i view it on twrp

Wish this would work, tried it but device won't boot, cleared out all google based data in /data/data and in /data/system, deleted all com.android.* based data too, still nada

I'm seriously not going to wipe my apps just to test this s#-t, it just won't work, installed as system or as a module it my device just won't boot, that's why I'll stay with gapps because atleast the that works..

Even tried with flashing my Resurrection Remix rom, then magisk and then the sync adapters zip op told about..Then microg and fdroid zips, still no boot

Rom + opengapps? No issue whatsoever, so i think either my rom isn't compatible or whatever
[Magisk] abacate123:
Nah, that's not my device nor rom, that should be the android version (mine is 6.0.1, the ContactsSync and GoogleBackupTransport, in both zips nano and shadow's, are for 7.1 but as Setialpha said it should work with 6 but it doesn't seems to).

The weird thing is that I've downloaded the shadow sync zip, and changed the apks to MM ones I got from apkmirror, and it's working now. I'll attach the zip I made here (for MM).