yashsingh1/xdaforums huggingface dataset:
[Magisk] piet8stevens:
Thank you very much for this fascinating module. I am trying to use it on a ZTE Axon 7 running BlissROM.

When I run framework-patcher.sh, creating and pushing services.jar to the phone works. But it runs remote.sh on the phone and that generates this error:

*** patch-fileset: success
>>> target directory: mydevice__sigspoof-hook-7.0__sigspoof-core
>>> apply patch: services.jar
>>> dexpatcher --api-level 25 --verbose --output mydevice__sigspoof-hook-7.0__sigspoof-core/tmp/services.jar/patched-dex --multi-dex /home/pstevens/Downloads/NanoMod-master/haystack/mydevice__sigspoof-hook-7.0/services.jar /home/pstevens/Downloads/NanoMod-master/haystack/patches/sigspoof-core/services.jar.dex
info: read '/home/pstevens/Downloads/NanoMod-master/haystack/mydevice__sigspoof-hook-7.0/services.jar'
info: read '/home/pstevens/Downloads/NanoMod-master/haystack/patches/sigspoof-core/services.jar.dex'
info: write 'mydevice__sigspoof-hook-7.0__sigspoof-core/tmp/services.jar/patched-dex'
0 error(s), 0 warning(s)
>>> repack: services.jar
deleting: classes.dex
adding: classes.dex (deflated 55%)

*** patch-fileset: success
4432 KB/s (3159494 bytes in 0.696s)
47 KB/s (1956 bytes in 0.040s)

magisk found: mount to /magisk
NanoMod detected
mkdir: can't create directory '/magisk/NanoMod/system/framework': No space left on device
install to "/magisk/NanoMod/system/framework"
cp: can't create '/magisk/NanoMod/system/framework/services.jar': No such file or directory

Now reboot device and enjoy microG!

The phone has 36GBytes of free memory so I am not sure why it reports there is no space left.

I have also booted into the OS and then gone back to twrp but got the same error message.

Thank you for any help. Hope I provided sufficient info.
[Magisk] m_reyna_16:
I accidentally installed the full version but only wanted the microg version... I tried formatting system and installing everything back again but cannot get back my stock sounds... How can I remove everything the full zip installed?

EDIT: never mind, I panicked and didn't realize I could just remove the module
[Magisk] Setialpha:
Hmm... not enough space refers to the magisk.img, I'll have a look at it today evening, thanks for reporting.
[Magisk] toji12:
i want to get rid of Phonesky, i tried to create a nanomodsetup file, but i cant save the file. anyhelp
[Magisk] piet8stevens:
Thank you for your support. Some additional information: I now generated the NanoMod-patcher-7.1.20170501.zip and installed in twrp (3.0.4-1). Applying hook patch gives 0 errors, 0 warnings and so does core patch. But 'installing services.jar to: NanoMod (full)' gives an error:

Updater process ended with ERROR: 1
Error installing zip file '/sdcard/NanoMod-Patcher-7.1.20170501.zip'
[Magisk] Bracher:
Thank you so much for the developement of Nanomod. It worked well on all my devices (Samsung Note 3/hlte, Samsung Note 10.1/SM-P600), unfortunately I had to replace the last one. I replaced it with SM-P605 and for this device the official nightlies of LineageOS 14.1 are not able to detect my external SD-Card so I flashed the Unofficial LineageOS/CyanogenMod 14.1 for lt03lte (05.12.2017) by davidmueller13. But the Nanomodpatcher is not able to patch this ROM. I got the following remarks:

In red: 'Updater Process ended with ERROR: 1

Error installing zip file '/sdcard/MagiskManager/Nanomod-patcher - 14.8.20171130.zip'

As expected signature spoofing not ticked as well play service (GmsCore) and the play service (Phonesky) have not the correct signature.

ANY HELP WOULD BE VERY MUCH WELLCOMED!!!
[Magisk] Oswald Boelcke:
As already replied in the other thread where you double-posted, this Unofficial LineageOS by davidmueller13 might be odexed, and the patcher only works with deodexed ROMs. If so, consider to use ale5000's tingle to patch (https://github.com/ale5000-git/tingle), prior to that this tool to deodex: https://xdaforums.com/showthread.php?t=2213235
[Magisk] Bracher:
Thanks a lot, but I tried hard to understand this deodex process and gave up, it's far too complex for me, so the P605 will be a spare device only in use for my granddaughter to look videos - this was no longer possible with the P600 the screen is partly defect...
[Magisk] kurtn:
Try xposed fake gapps
[Magisk] :
[MENTION=4187311]Setialpha[/MENTION] patcher doesn't seem to work on 8.1, though I guess it's not supposed to yet.
[Magisk] dels07:
Is MicroG compatible with google keep and gmail?
[Magisk] djlukas1983:
Yes, it is.
[Magisk] pokipokipxorn:
Nanomod patcher do not work on Oreo 15.1 roms, any solution? ty
[Magisk] isoladisegnata:
For me too..I've flashed via twrp nanomod patcher but failed...Im on Oneplus 3/nitrogenOS
[Magisk] Setialpha:
No log, no help posdible. Also 8.1 is not officially listed as supported.
[Magisk] ghostENVY:
Hi,

Unable to install the patcher on Essential Phone running any 7.1.2 custom roms ( I think for the most part all based on Lineage)

I've tried spoofing my Service/Framework but with no success. ( Both with Xposed Gapps, Needle etc)

Back to the plugin; Says that I cant mount RW but I've used ADB along with Root Apps to auto grant RW and still no success.

Might have to do with dual partitions maybe ?

Maybe its the Magisk 14.5 version causing the issue?

Look like the rom is already Deodex not sure what the issue can be.

Thanks for the help :)
[Magisk] klaus-hamburg:
May be; this will be helpful for you:

https://xdaforums.com/showpost.php?p=74607336&postcount=1898

That was the solution for me :)
[Magisk] matpower64:
Is this supposed to come with DroidGuard? I installed both the full (using a custom config) and microG variants for testing and SafetyNet leads to a request fail. If I install DroidGuard through F-Droid, it works but it fails every check (it works fine on GApps) even if I use Magisk Hide on DroidGuard, trying to install DroidGuard as a priv-app doesn't work either, as after I reboot the phone, it vanishes.
[Magisk] Setialpha:
It has DroidGuard Helper. The crash in Magisk Manager when testing SN has a different cause, SafetyNet Helper from PlayStore.
[Magisk] matpower64:
Oh yeah, I was using SafetyNet Helper to test it out. But my issue might be caused due to an unsupported configuration actually, I was testing it on an Oreo 8.1 ROM and the API level did change. I am going to check the install log and see if it is actually installing DroidGuard as I can't find it listed on the apps list nor on system/priv-app.

Edit:

Rolled back to a 8.0 ROM and while SafetyNet doesn't pass (seems like something's up with Magisk Hide though, I think it is not hiding DroidGuard), it is installing properly. Sorry for the misleading report, it was an unsupported setup and I didn't realize it at first.
[Magisk] Setialpha:
SafetyNet checks a lot of things, might also be a prop, Developer Settings active or SEAndroid status...
[Magisk] matpower64:
Indeed, but in theory Magisk Hide should catch those props/conditions and hide them. SafetyNet is just a pain and I wouldn't bother making it work, but I need it for Nintendo games. Right now I am too tired to keep messing with it, I've been awake for exact 24 hours now lol.

I will probably wait until you update NanoMod to support 8.1, right now I just rolled back to my previous backup since there is neither an easy way to get microG nor a proper/stable pico GApps package (which I would rather avoid, but still).
[Magisk] jenslody:
You might need a fake fingerprint to pass cts.

On my rom even with gaps and without Magisk it never passes cts, but basic integrity is fine.

With Magisk I can fully pass safetynet with safetynet helper.

I use microG from their repo for reasons described earlier in this thread and the great on-device-patcher as Magisk-module.

Magisk can not check safetynet because the playservices version of microG is too old.

It does not crash, but I don't remember, if the fix for the crash is in official beta or only in internal testing.
[Magisk] matpower64:
Right now I can't even pass basic integrity with microG, while it is fully working if I use GApps, without needing to deal with fingerprints.

NitrogenOS has signature spoof built-in and I am checking SafetyNet manually on SafetyNetHelper instead of using Magisk Manager. I could manually install microG and see anything changes. I just picked NanoMod first because I wanted the patched Play Store and no /system changes.
[Magisk] jenslody:
Nothing of the microG-stuff is installed below /system.

The problem with microG as Magisk-module is, that if for any reason the device is started without working Magisk all apps that are registererd for the push-service (e.g. Threema) have to be reinstalled.

And the unofficial GZR I use has no signature spoofing built in, so the dexpatcher as Magisk-module is the best option, to be able to revert the changes when ever needed.

I use YalpStore instead of PlayStore and (of course) FDroid, this combination absolutely fits my needs.

And for the SafetyNet issue, just to be sure: does MagiskHide work correctly (can be tested with a root-checker or e.g. rootbeer) ?
[Magisk] abacate123:
I see there's an update available for the microG apk (at F-Droid).

:)
[Magisk] raptorddd:
i decided to try nanomod but mine fails to boot. i removed all Gservices and proceed to flash NanoMod-microG-14.8.20171130

lg g4 7.0

not sure if am doing this right. after that i reboot to sytem but all i get is blue light blinking and it never boots.

if a log is need how do i collect one.?
[Magisk] Hodenmumps:
[MENTION=4187311]Setialpha[/MENTION]

Could you please update the NanoMod Package with the newest commit and Version-Bump for MicroG

2 of my Apps aren't working anymore because of "old play services" and they updated the version of the play services.

I tried to build it myself but failed horribly :D

Thx in regard!
[Magisk] ale5000:
You could also get the latest build directly from here (using the drop down menu and selecting the latest preview build).
[Magisk] Hodenmumps:
Thanks for your answer.

I tried that already, but failed.

When i try to install it the normal way it fails because an existing app with different signingkey exists.

Deleting Nanomod and installing only MicroG requires a manual certificate spoofing to be installed (that i dont have)

NanoMod is also installed via Xposed (and systemles i think?) so i can't just replace the old microg.apk with the new one.

The most intelligent (so i don't destroy anything in my android system) and easiest way would be to update NanoMod i think.

with regards

EDIT: [MENTION=5627087]ale5000[/MENTION]

Sorry, you were right.

When i take the new signed version of the apk it works.

I didn't know that they updated it in the last 30 Minutes :D

Thanks!
[Magisk] abacate123:
Via xposed? You mean magisk right? They're not the same things xD

For the spoofing thing, you can simply flash the nanomod patcher zip, and you'll achieve the same thing, even without nanomod itself.
[Magisk] Hodenmumps:
Yeah yeah!

Of course i mean Magisk.

It's late and it was a long day :D

Thanks

Will rember that for the next time. For this time the signed apk from microg worked.
[Magisk] Setialpha:
I'll roll out a new build today.
[Magisk] Setialpha:
14.9

The minor update 14.9 is now available. Most noticeable it updates microG GmsCore (which will fix all those "Play Services too old" issues), F-Droid (which fixes the annoying notification bug on Oreo) and OpenLauncher (which now has more features, improved layout management and landscape support). Version 14.x will be only minor updates, I do plan on a 15.0 with new features and improvements, but don't expect it this year.

Full list of changes since 14.8:

14.9.20171213

* Updates
* microG GmsCore (0.2.4-107)
* OpenKeychain (4.8.1)
* (Simple) Gallery (2.19.0)
* OpenLauncher (0.5.8alpha)
* Termux (0.56)
* Yalp Store (0.31)
* BeHe Keyboard (1.1.0)
* (Simple) Calendar (2.12.0)
* F-Droid (1.1-alpha0)
* KeePassDroid (2.2.0.9)

Download from AFH.

In case of errors, please provide

your device's architecture

your device's 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)

Additional Notes (shamelessly copied from 14.7 announcement post):

Play Store 8.4.*.V introduces internal apk changes, which are not (yet) supported by APK Tool, so I can't provide a newer version right now. To stop the Play Store from constantly trying to update itself (and drain both battery and mobile data), use an application like DisableService, Servicely or-the-like to disable Play Store's 'DailyHygieneService' *AFTER* you've initially setup the Play Store, else it won't sync your installed applications and won't provide you with updates, until you let that service atleast run once.

If I don't respond to anything anymore (or very slow) after Dec. 1st, res assured I'm still allive, just bound to my TV because Nintendo/Monolith released Xenoblade Chronicles 2 that day.
[Magisk] :
[MENTION=4187311]Setialpha[/MENTION] so no love for 8.1 before 2018?
[Magisk] Setialpha:
There's no 8.1 for my device yet.
[Magisk] Shadow53:
You may reconsider updating OpenLauncher. There is a lovely bug in the current version that can cause it to crash if the app drawer is opened. My tablet did not have the issue at all, but on my phone it crashed every time I tried to scroll the app drawer. It has been fixed in a recent commit but has not made it into a release yet.
[Magisk] Setialpha:
I'll have a look.
[Magisk] Dante Enoshima:
Well.... Already searched around this thread.... But sorry if this problem is already solved

It seems that I can't retrieve account info from the Google app, is that normal? Or is there any solution for this?
[Magisk] marcdw:
Which Google app? There are so many. Folks can't help without knowing what's what.

If you're referring to Google App/Search/Now/Velvet then that's the reason right there. A normal gapps setup would be more appropriate, not microG.

LG G3 D851, LiquidSmooth v4.1 ROM, MultiROM, Tapatalk 4.9.5
[Magisk] Dante Enoshima:
Yup,it's the Google app ( Velvet ). And after reading your reply, i'll assume that it's normal then.
[Magisk] marcdw:
Yeah, a number of Google apps only work properly with actual Google services. Google App, I believe, is one that definitely doesn't work with microG.

I've seen mention on the web of Google Search Lite. Technically available in Asia (Indonesia). No idea how it might work with microG.

I may try it once I get dual booting working on my Axon.

ZTE Axon 7 A2017U, Stock B32, Tapatalk 4.9.5
[Magisk] piet8stevens:
[OT] Complete reinstall

[MENTION=6046143]marcdw[/MENTION] - completely off topic - in one of your posts, you mention that restoring apps with TiBu is not reliable and that you reinstall from play store and then restore the data only with TiBu. Can that process be automated, in other words, if I have a list of apps to install (say in a text file), can I feed that to yalp, for example, and have them installed from the store?
[Magisk] Shadow53:
Using an app like Termux, you might be able to fire intents at Yalp to install various apps by package name or other identifier. I don't think you would be able to script the entire process, though. If you used the desktop tool Raccoon instead, you could keep an updated collection of apks for those apps and adb install them on your device using a script.
[Magisk] allcho:
Work on android 8.1
[Magisk] piet8stevens:
Thank you very much for this reply. Would you know which intents Yalp accepts or could you give me an example of a shell script that downloads & installs 1 single app? (sorry - I am somewhat familiar with bash but not at all with intents).
[Magisk] Shadow53:
I would not be able to tell you which intents Yalp accepts, since I don't use it. There is an app on F-Droid called Intent Intercept that may help with that, I'm not sure.

If you were to use Raccoon like I suggested, you'd probably manually download all of the apks at first, then once they were downloaded to whichever directory Raccoon puts them:

# Save directory as a variable so it is easily changed later
apk_dir="/path/to/apk/dir"
# Recursively search above dir for apk files
apks=$(find "${apk_dir}" -type f -name '*.apk')
# Loop through all apks found
for app in $apks; do
adb install "${app}"
done

This code is untested but, on a Linux and possibly a Mac system with ADB installed, it should work. Note that I do not use Raccoon myself and have no clue how it structures the downloaded files or if it deletes older versions. You may need to modify the file searching to match only the newest versions of the apps.
[Magisk] adwinp:
1: You can just 1-line this: for x in `find /path -name *apk`;do adb install -r "$x";done

2: it seems newer platform tools accept wildcards. Adb pushing definitely works, so one can also try

adb install -r /path/*apk
[Magisk] Setialpha:
Attached find a patcher that will not abort upon SDK 27, so feel free to test whether it works on Oreo 8.1 or not. In any case please provide the recovery.log.
[Magisk] pokipokipxorn:
Updater process ended with ERROR: 1

Attached Recovery.log

thks for the patcher test
[Magisk] trung335:
Updater process ended with ERROR: 1

from xiaomi mi lte rom 8.1
[Magisk] Setialpha:
Linker error, I'll check it.

ROM is odexed as it looks.
[Magisk] piet8stevens:
I also get ERROR 1 with the patcher, SDK25, Android 7.1 (RR), but it happens when patching settings.apk. If I tell it to not add the option in Developers Options, then the patching works. I have done a completely clean RR installation.
[Magisk] xerves78:
no oreo 8.1 support ?

teamnexus only support / release 8.1 rom releases :(
[Magisk] bagajohny:
Does UPI apps like Tez, Paytm or banking apps work with this?
[Magisk] Setialpha:
I suppose they check for root? When you'll get the same results as without microG.
[Magisk] Setialpha:
Likely, the UI patch does not always work, or more precisly: not on all ROMs.
[Magisk] Setialpha:
On a side-note: Next release will feature the Deja Vu location backend (by [MENTION=6204913]n76[/MENTION]), in addition to the Mozilla backend.

> https://github.com/n76/DejaVu

No ETA.
[Magisk] guest4711:
I hope this backend is optional because there is no data export/import allowing sharing the data between devices or to use the local database of LocalGsmNlpBackend (UnifiedNlp location provider (local GSM database)) - https://f-droid.org/app/org.fitchfamily.android.gsmlocation

or LocalWifiNlpBackend (UnifiedNlp location provider (local WiFi database)) - https://f-droid.org/app/org.fitchfamily.android.wifi_backend
[Magisk] Setialpha:
You can choose in microG settings. You may add a feature request for the backend, though AFAIK it's a rewrite, thus no import function.
[Magisk] guest4711:
Yes, I know, thanks. I may deselect it in uG settings. But I'd like to deselect it when installing nanomod so it will not be installed...

BTW: The answer to the feature request is at https://xdaforums.com/android/apps-...-floss-wi-fi-cell-tower-t2991544/post74857462
[Magisk] Setialpha:
I'll add a new setup variable/option in setup wizard. But it will default to Deja Vu, not Mozilla.
[Magisk] guest4711:
Thanks a lot. Id like to deselect Mozilla too because I'm using local databases only (the two mentioned above. I share them among devices using the export/import function).
[Magisk] D3folt:
Android 8.1 not supported:(
[Magisk] Nezorflame:
It works though, if the ROM has sig spoofing, like Omni.
[Magisk] kurtn:
The patcher has a problem

Edit: Sorry haven't seen there is a test version for 8.1
[Magisk] bagajohny:
It also checks for safetynet status.
[Magisk] khnoizer:
So, I made a mistake, setting things before reboot, and cannot login using my account. Below is part of logcat. Any help please...
[Magisk] piskor:
Reset app data, set permissions, reboot and add your account properly
[Magisk] kurtn:
On lineageOS I see error 1
[Magisk] Setialpha:
Could you upload the services.jar?
[Magisk] kurtn:
Here
[Magisk] kurtn:
Just recognized there are Jar files in different locations. Which one do you need?
[Magisk] Setialpha:
/system/framework/services.jar
[Magisk] kurtn:
Now
[Magisk] pokipokipxorn:
What do I tell my ROM dev? Any links to properly patch the ROM for SIG spoofing?
[Magisk] Setialpha:
It's either odexed or has the new format not supported yet, I'll check this during the next days.
[Magisk] kurtn:
Read this

https://xdaforums.com/android/general/index-list-custom-roms-offering-t3557047/post71042083
[Magisk] michaelnothing:
I had nanomod and microg working until this morning when I updated to magisk 14.6. Before I was on 14.5. I am running 8.0 ColtOS. The patcher throws error 1 at settings.apk. Microg has signature spoofing unchecked like nanomod is not installed. I didn't have an option in developer options for signature spoofing before, but, everything was checked in microg. I will try to find a copy of magisk 14.5 to remedy the situation, but, I wanted to report the problem as Marian 14.6 unrolls a lot of bugfixes and updates like the new ramdisk shrinking features. I have never done a logcat, so I have to search the forums for directions right quick, but, I will get you one as soon as I find out how.
[Magisk] michaelnothing:
Logcat made with matlog downloaded from yalp store/play store for zombies like me. Instructions found in this very thread.?
[Magisk] michaelnothing:
Uhm well nevermind then. I uninstalled nanomod installed again starting the system between install and patching and its fixed. I could have sworn I had done it that way already, but, I guess not. I'll chalk this one up to user error. As always thanks to the developers. You guys rock.:good:
[Magisk] andrepgaspar:
Hello, there is a fix for maps not loading:

https://github.com/microg/android_packages_apps_GmsCore/issues/455#issuecomment-353787947.Worked

Can you please add it to your module despite no new official release?

I really need to be able to use uber...
[Magisk] Setialpha:
Working on it.
[Magisk] kurtn:
odexed ROMs are not supported
[Magisk] Setialpha:
There's nothing I can do then. You may manually deodex ore use a deodexed ROM.
[Magisk] piet8stevens:
Android 7.1.2, magisk 14.0. Flashed 15beta (14.9} full version over previous nanomod. Cleaned cache+dalvik. Did not run patcher as I had done so for my previous nanomod install. Result: no microG.

I did not follow my standard process of full uninstall of nanomod & magisk and full install of new version. Should I?
[Magisk] guest4711:
Same here. Doing an upgrade via magisk. Did not patch because I don't need signature spoofing. But indepently from my setting for nanomod_nlpbackend I don't see a mikroG app in drawer nor does any backend work. Installing older version (nanomod-mikroG 20171213) as magisk module solved theses problem after (re-) granting needed permissions.
[Magisk] Trademark97:
And I can confirm as well. Tested with signature spoofing patcher (ResurrectionRemix v5.8.5), and without (crDroid v3.8.3, native signature spoofing). No microG Settings app appeared in either case so I have reverted to ResurrectionRemix v5.8.5 with NanoMod 14.9 . Magisk version used throughout (all 3 times) has been latest stable (v14.0) .
[Magisk] Gonzalez92105:
Same here with microg not displaying in app drawer.
[Magisk] andrepgaspar:
same behavior with the latest magisk v15 (yes, new version of magisk is up aswell)

ty for your work [MENTION=4187311]Setialpha[/MENTION], NanoMod is my go to way of not dealing with google on my phone anymore
[Magisk] Setialpha:
I guess I've found the issue, will upload a new build, soon.

Still, logcats would be nice.
[Magisk] Setialpha:
I've re-uploaded the Full and microG packages with fixed microG GmsCore installation.
[Magisk] andrepgaspar:
Sorry for no logcat, next time will upload it.

I will test the new version and report here the results.
[Magisk] guest4711:
Installed without problems. NLP working again, mikroG settings in drawer again.
[Magisk] andrepgaspar:
Everything seems ok now. Maps load just fine, if you have any problem with some app, I recommend to update to the beta release. Can not say if Uber already works (I am in my home town, not in the city) but at least the map already appears.