yashsingh1/xdaforums huggingface dataset:
[Magisk] Setialpha:
14.3-beta1

The first beta for 14.3 is now available.

It *should* fix the issue that

addon.d

patcher fails for a handful of people, feel free to test.

Full ChangeLog since 14.2:

* Bug Fixes
* Framework-patcher addon.d:
* prefer TWRP binaries over system binaries
* General Changes
* build-package Script:
* code consolidation and simplification
* Full, microG packages:
* Google Sync Adapters for Oreo are now pulled from OpenGApps
* Framework-patcher addon.d:
* display version number
* Updates (manual)
* Play Store (8.3.41.U)
* Updates (automatic)
* F-Droid (1.0-alpha4)
* (Simple) Gallery (2.15.1)
* Face Slim (3.2.1)
* OpenKeychain (4.7)
* (Simple) Calendar (2.7.6)
* OpenLauncher (0.5.5)
* Substratum (854)

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)
[Magisk] piet8stevens:
Thx. Is this then maintained when I update the ROM or reinstall nanomod? Or is it only maintained when I do a reboot?
[Magisk] Setialpha:
All three, that is, if you use Magisk, as it requires Magisk's resetprop.
[Magisk] piet8stevens:
Thx. First time I did it, I received an sed error message that some directory/file (build.prop) did not exist (sorry - it is no longer on my screen, so I cannot give you the exact error message and searching through the logcat also does not find the property name listed anywhere). I then used -L (as 'su', I typed nanomod-overlay -L and received "-A qemu.hw.mainkeys", which is the property I had added with value 1) and so the property was shown, but not its value. I then used -A a 2nd time, and now no error but with -L it still did not show any value. Is this normal?

When I check in build.prop, the value of the property has not been changed (but then maybe it would only be changed upon reboot). The logcat does not show anything that contains the property I have changed.

I then rebooted the phone, and the value of the property is not as per my 'nanomod-overlay -A qemu.hw.mainkeys 1", but still 0 (again checked in build.prop). nanomod-overlay -L again shows as output "-A qemu.hw.mainkeys".

So, not sure where I went wrong.
[Magisk] kurtn:
Off topic: f-droid alpha4 FC's. Delete app data to get it running.
[Magisk] kurtn:
Sorry
[Magisk] paed808:
I think I found the issue, but I'm not 100% sure.

From another Magisk module I have, this script is in service.d

#!/system/bin/sh # chmod -R 755 /magisk/.core/service.d # # Systemless Media Post-Uninstall Cleanup # osm0sis @ xda-developers if [ ! -e /magisk/nexusmedia ]; then rm -f /cache/magisk_mount/system/media/bootanimation.zip; cd /cache; rmdir -p magisk_mount/system/media; rm -f /magisk/.core/service.d/000mediacleanup; fi;

Also, Play Store works now. It was substratum causing the crashes, so I re-applied the theme and now it works. Also, after a while it also detected my previously purchased apps !
[Magisk] Hurkamurka:
Hi there!

I'm on a TugaPower ROM on a OnePlus One. TugaPower ROM says "Support out of the box to microG GmsCore ". So i flashed the rom, than flashed Nanomod full package with Aroma. At self check there are some points without check: "system supports location provider: your system does not support this unifiednlp package. etc..." ; "unifiednlp is registered in system: the system did not bind the unifiednlp service. etc...". Till now i used MM based Ressurection Remix with nanomod patcher, worked everything really good. But now i1m stucked. Is there anyone else using marsmallow based tuga power rom on a OPO with nanomod? Is it something with nanomod, or is it something with the rom itself? I tried with force system and magisk module, just the same in all mode.

Thanks any help you can provide!

After 1 hour:

Now i tried nanomod without microg and it's companions, just flashed fdroid, play store and some apps. I've downloaded every app from microg's fdroid repository, + mozillanlpbackend and nominatimnlpbackend. Now every point have check, but "system supports location provider: your system does not support this unifiednlp package. etc..." . What does it mean? Is it good or bad? Should i use xposed module, but than SafetyNet check will fail. What can i do?
[Magisk] Setialpha:
14.3

Version 14.3 is now available.

Highlights:

fix addon.d patcher

fix -A and -R parameters for nanomod-overlay Script

Full ChangeLog since 14.2

* Bug Fixes
* Framework-patcher addon.d:
* prefer TWRP binaries over system binaries
* nanomod-overlay Script:
* fix `-A` and `-R` parameters
* General Changes
* build-package Script:
* code consolidation and simplification
* Full, microG packages:
* Google Sync Adapters for Oreo are now pulled from OpenGApps
* Framework-patcher addon.d:
* display version number
* Updates (manual)
* Play Store (8.3.41.U)
* Updates (automatic)
* F-Droid (1.0-alpha4)
* (Simple) Gallery (2.15.1)
* Face Slim (3.2.1)
* OpenKeychain (4.7)
* (Simple) Calendar (2.7.6)
* OpenLauncher (0.5.5)
* Substratum (854)

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)
[Magisk] kurtn:
Today's Patcher 14.3 does the trick. Edit: patching Oreo still takes more than five times that of Nougat
[Magisk] Ex_FallenSkyTear:
arm.

sdk 25.

lineageos latest.

7.1.2.

magisk 14.0.

i tried unistaller, but don't work, and in magisk is present nanomod-microG, but say "nothing information"...

edit:

previuos unistaller work.
[Magisk] Mynacol:
The only thing I can think of is you have to reboot your device...
[Magisk] Hurkamurka:
Unforunately it didn't help... But i could add google account to my phone, and could download apps, even apps with in app purchase. Now i'm wondering that am i good to go with these boxes are unchecked? Do these settings are really necessary?
[Magisk] paed808:
Thank you for this mod. It is the easiest MicroG + Zelda + Apps + Debloat + More installer out there. It is the best way to install MicroG (outside of using a pre-patched ROM) it works really good on my Moto G 2014 running Lineage OS. Thanks for making this.
[Magisk] bass@89:
I have installed on atomic OS on a6000.

It is working very much fluid. No issues. Everything working great.

Only thing that need to must install sim tool kit app also otherwise system will FC & keep on pop-up error message.

Thanks to [MENTION=4187311]Setialpha[/MENTION].
[Magisk] ngtung84:
How to update this module?
[Magisk] hungvip2001:
[MENTION=4187311]Setialpha[/MENTION]

Can you add a contact app, a calculator in next update, please?
[Magisk] gimpy1:
Just as an FYI only, I installed Nanomod 14.3 and setup wizard 14.3 only. I did a real dirty wipe, wiping only the two caches. After rebooting, f droid started force closing on me. I then installed the 14.3 f droid module only with the two caches wipes. F droid still fc'd on me. After installing the 14.3 patcher (still had the fc's of f droid), I went into app settings and wiped f droid's data.

That seems to have done the trick. The repository rebuilt and no force closes since.

As I said FYI, only.
[Magisk] Setialpha:
A bug in F-Droid 1.0-alpha4 it seems.
[Magisk] kurtn:
I was first [MENTION=5420028]gimpy1[/MENTION] [MENTION=4187311]Setialpha[/MENTION]
[Magisk] gimpy1:
Sorry,:), I've been on vacation and just got home a couple hours ago. Not reading too well this morning.:eek:
[Magisk] piet8stevens:
Am testing 14.3 on completely clean install and have the same issue.
[Magisk] Shadow53:
The following are my own thoughts, not Setialpha's:

Your ROM should at least ship with a contacts app. The only open source one I've seen is the AOSP one, which is meant to be baked in. Otherwise the included contacts app would be the Google one, which I think goes against the intent of NanoMod.

(I've done my own search for a contacts app in the past because I wanted to try a ROM that for some reason stripped it out and expected me to flash the Google one. In terms of open source apps, I didn't find anything)

As for the calculator, your ROM should already ship with one. If we look at F-Droid for options, the only basic calculator app is really the one that's just a standalone version of the AOSP one, which should already be on your device.
[Magisk] hungvip2001:
I don't like AOSP 's one, and i want the mod can have the replace of all must-have app.
[Magisk] gimpy1:
Shadow 53, a couple of questions for you, if you don't mind. Since you don't use Google contacts and/or calendar, what/how do you use/set up yours, if at all. I have lots of contacts I would like to keep.

I'm trying to get away from using Google's stuff (but it's hard to do when you (I mean me) don't know exactly what you're doing.

I try to use Yalp store instead of Google's play store. Is that keeping Google from tracking you (same as not using any of Google's apps)?

One last question. Several years ago, I started using Google's play music. I have about 500 songs, most of them, I "burned" from my CDs and put them up in their cloud. Do you know of any way to get them out of their cloud permanently and onto my phone or an sd card or thumb drive?

I only have 5 songs permanently on my phone. Everytime I change/update my ROM, those 500 songs go back up into the cloud to be downloaded again:rolleyes::confused:

Thx for any help or suggestions you might have for me.
[Magisk] piet8stevens:
Question not addressed to me, but for contacts and calendar, posteo.de is a good solution. Cost is 1€/month.
[Magisk] paed808:
Play Music Exporter from F-Droid
[Magisk] Shadow53:
For a while I was using Baïkal on my own server for contacts/calendar sync, but then I decided to switch to NextCloud. For both I used DAVDroid for syncing on my phone. I self host a number of things for myself, so you may find that a different provider may work better.

Yalp Store still communicates with Google's servers to get the app, authenticate that you own a paid app, etc. I imagine there is less information sent than using the Play Store or official gapps, but I have no actual metric for that. MicroG does strip unnecessary identifying information when it communicates with Google, though.

As for Google Music, I'd install their desktop client, use that to download all of your songs, and either keep them on your phone or, if you really want/need to stream, set up an Ampache or Sub/Madsonic server to stream from. That, or use a different proprietary service like Spotify or Amazon or insert-favorite-here.

Personally, I keep the full collection on my phone and keep my devices in sync using Syncthing (https://syncthing.net)
[Magisk] demonoidmaster:
This isn't what this is for. If you want those kinda apps then search the internet or yalp or the play store
[Magisk] hungvip2001:
Flashed lastest version, and get error . TWRP log say my system partition is not enough space, but it have a blank 400mb+. Any ideas?
[Magisk] hungvip2001:
Sorry, I forgot
[Magisk] Texas_Ace:
I am trying to flash nanomod to a Samsung core prime with custom rom but am getting a "failed to sysmapfile" error for the main nanomod file.

If I try to flash the smaller files they flash just fine (booting now to see if they work), what am I missing if I only install the fdroid, microG and patch zips and don't flash the main nanomod zip besides the extra applications?

TWRP is 2.8.7.0 IIRC and android version is 5.1, I have not been able to get any newer versions of TWRP to work on this phone.
[Magisk] ShiShTuBaBu:
what should I do if I just want to update nanomod micro g over old one? just flash the zip in recovery?
[Magisk] Gonzalez92105:
I'm very impressed with the latest patcher. It's super fast now.
[Magisk] hungvip2001:
Me too. My phone is galaxy ace 4 neo and twrp 3.0.2-0
[Magisk] Setialpha:
I'll check the logs soon™

----8x----

On a side-note: F-Droid 1.0-alpha5 is now available, should fix the crash bug.
[Magisk] Oswald Boelcke:
Yesterday evening, I just did exactly that without any issues (including a wipe of dalvik and cache; my usual behaviour if I'm already in TWRP). However, after boot into system I'd to go back into TWRP to (re-)flash Nanomod-patcher as signature spoofing had been "lost" on RR v5.8.5. Anyhow, afterwards running as fantastically as usually.
[Magisk] zputnyq:
Just wanna add an information to your side-note :)

For those who haven't got F-Droid 1.0-alpha5 update yet & still want to use 1.0-alpha4.

There is a fix for it's fc issue by cleaning f-droid's data

I sent an email regarding to this issue & I got a suggestion to clean f-droid's data & it's fix the problem on my device.

I hope this could help for those still running alpha4
[Magisk] shadowbone:
Was wondering, is it possible to use nanomod patcher only, without magisk? Just for signature spoofing?
[Magisk] hungvip2001:
Yes, you can flash via TWRP
[Magisk] shadowbone:
So, no need to flash magisk beforehand?
[Magisk] Setialpha:
As stated in the documentation:

"NanoMod can be installed as a Magisk Module or

directly to /system

"

[>>] and

"Both patchers support installing the patched services.jar into the following locations:

+ NanoMod Magisk Module

+ NanoMod-microG Magisk Module

+

directly into /system

So you can use them regardless whether you're using NanoMod or not."
[Magisk] shadowbone:
Thanks :svetius:
[Magisk] Eng.Raman:
Which version of youtube that the latest module support?
[Magisk] Hurkamurka:
Now on Nougat based TugaPower N50 nanomod do what it should do. It works flawlessly.
[Magisk] ShiShTuBaBu:
Was that RR rom pre patched with signature spoofing or you patched it with nanomod patcher in the first place?
[Magisk] Oswald Boelcke:
No need to double post, not only against forum rules but most guys read the other threads, too.

However, weird and that lets assume me it wasn't Nanomod, microG or unifiednlp related.

RR for the Samsung i9305 doesn't come pre-patched. In the very beginning (MM times) I'd to fake signature by a Xposed module; since the availability of Magisk and Nanomod, I'm always using (and have to) Nanomod-patcher - and actually without any issues. Great job by Setialpha.
[Magisk] bass@89:
Framework Patcher Error

[MENTION=4187311]Setialpha[/MENTION]

I have flashed in the sequence

1. NanoMod-setupwizard-14.3.20171005

2. Clean install of Validus(oreo)

3. Magisk v.14.0

4. NanoMod-14.3.20171005

5. NanoMod-patcher-14.3.20171005

But I have received patch error: 1 (settings.apk) after flashing NanoMod-patcher for the signature spoof.

For reference I attached error screenshotwith recovery.log

Edit:

Thanks for the Solution from [MENTION=4187311]Setialpha[/MENTION] & [MENTION=7408621]noc.jfcbs[/MENTION].....

located Framework Patch Error:1 solution
[Magisk] hungvip2001:
Reboot, then try again
[Magisk] demonoidmaster:
Flash your rom first.............
[Magisk] bass@89:
Yes, I flashed ROM first.

Edit: Flashed NanoMod-patcher (Just for creating configuration files)
[Magisk] demonoidmaster:
Then why did you say you flashed the nanomod wizard first then clean flashed your Validus rom?
[Magisk] bass@89:
Setup Wizard only to create configuration files as per the installation steps.

Even I have done it same procedure for Nougat also, I didn't faced any issues.

FYI, attached screenshot of installtion prodedure.

Correct me if I am wrong on this.
[Magisk] Oswald Boelcke:
This procedure obviously onyl works if the .nanomod-setup file is saved on internal memory or external SD. If the file is saved at /data, it's deleted during the full wipe of course. The setup wizard allows you to allocate the storage location.

What location did you choose?
[Magisk] bass@89:
Thanks for your info.

I installed on /sdcard (wipe safe).

The same procedure I done it on nougat, didn't faced single error.

But here in Oreo based rom framework patcher returns error: 1 as I attached in previous post.
[Magisk] Oswald Boelcke:
I apologise - my bad. I must admit I didn't scan the thread to the very beginning and didn't realise that it was Oreo related - otherwise I'd kept my mouth shut.

I've no experiences with Oreo at all - and most likely never will. Sorry, don't know why you can't patch but even worse, I believed you had an issue with the setup wizzard. Didn't realise it was the patcher.

My one and only initial idea. Do everything else again as described but don't flash the patcher yet. After step 4 in your post here, boot into system, afterwards back into TWRP. Flash the patcher and reboot.
[Magisk] Setialpha:
I'm getting a Nexus 6 soon, so I'll be able to test Oreo, meanwhile, simply don't patch Settings.apk, it's optional anyway.
[Magisk] bass@89:
Thanks for the Info's [MENTION=4187311]Setialpha[/MENTION].

But I have not selected any option while patching.

I just flashed the NanoMod-Patcher.

As I said, in nougat without this patcher works fine.

---------- Post added at 02:48 AM ---------- Previous post was at 02:45 AM ----------

Thanks [MENTION=7408621]noc.jfcbs[/MENTION]

I flashed patcher for the signature spoof error.
[Magisk] Setialpha:
For you it fails at Settings.apk, so you've selected Signature Spoofing UI in SetupWizard. Unselect that, so you get sigspoof without user interface.
[Magisk] bass@89:
Thanks

Thanks [MENTION=4187311]Setialpha[/MENTION]
[Magisk] kurtn:
Setialpha is working night and day
[Magisk] pnsdhrn:
Dear Setialfa,

Wether these zips are inclusive of Magisk?If so,is there any possibility of getting completely free of Magisk?

I am using Redmi 2 Prime running with AOSP Oreo ROM.
[Magisk] Setialpha:
As the thread title suggests, it's both installable as Magisk Module or in System Mode.
[Magisk] pnsdhrn:
Thank you Setialfa.
[Magisk] pnsdhrn:
Dear Setalpha,

Is it possible to prepare a Nanomod or MicroG zip which will work with SuperSu and ofcourse without Magisk?
[Magisk] demonoidmaster:
It's going to work the exact same, just flash this and boot up, do the setup then reboot to twrp and flash superSU, shouldn't have any problems unless you're using one of them Samsung devices or other devices with weird partitions or such
[Magisk] pnsdhrn:
Thank you Sir.So I am going to test this without Mavisk and with SuperSu.
[Magisk] mostevil94:
Flashed the nano stable with magisk and all seem fine, but am i able to open aroma to choose whick applications to be included? The process installed automatically all the package containment.
[Magisk] bass@89:
Thanks.......... :cool:

Yes it is working on (Oreo & NanoMod) as [MENTION=4187311]Setialpha[/MENTION] said..

Now Magisk on Oreo

ctsProfile:true

basicIntegrity:true

SignatureSpoof working
[Magisk] mostevil94:
I am highly thankful for the builds you provided, major improvement overall especially on energy consumption and free RAM, the alternatives to the stock apps and the included yalp store, there's no Google crap to drain battery left and, I feel like I have a new device. This is revolutionary! Supreme gift for android users.
[Magisk] Setialpha:
14.4

Version 14.4 is now available.

Highlights since 14.3:

fixed backup and restore of patched services.jar upon update (if any)

update dexpatcher and haystack patches to latest versions

Full ChangeLog since 14.3:

14.4.20171014
* Bug Fixes
* Full, microG packages:
* fix patched `services.jar` backup and restore upon update (if any)
* General Changes
* Framework patcher package, addon.d:
* don't patch `Settings.apk` on Oreo (regardless of user's choice)
* update patches to latest versions
* update `dexpatcher` to version 1.5.0
* Full package:
* switch from F-Droid build to Pre-Release build for K-9 Mail
* Updates (manual)
* Play Store (8.3.42.U)
* Updates (automatic)
* (Simple) Calendar (2.8.1)
* Twidere (3.7.0)
* F-Droid (1.0-alpha5)
* (Simle) Gallery (2.15.2)
* Yalp Store (0.27)
* Kernel Adiutor (0.9.73.1)
* K-9 Mail (5.300)

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)
[Magisk] kurtn:
Thank you [MENTION=4187311]Setialpha[/MENTION].

Patcher 14.4 does the job. Even on my old condor with Oreo ROM. But patching services.jar takes more than 10 minutes. In nougat this is don't in two minutes.
[Magisk] fastguy:
Hi Setialpha, how does the backup restore of services.jar behave when there's an updated services.jar in the updated rom? Does it compare the originals to decide if we can restore or not?

I'd assume that if the services.jar is updated in a new nightly or weekly of LineageOS for example, we can't restore patched version from backup as there might have been some fixes in original file.
[Magisk] Setialpha:
It checks whether /system/.nanomod-patcher exists, which does not not after ROM update.
[Magisk] demonoidmaster:
Did you yknow, flash the setup wizard first??
[Magisk] bass@89:
Please have a look at the screenshot for installation instructions in following post.
[Magisk] Setialpha:
I know, afaik Oreo introduces changes to dex file format, maybe that causes it? Dunno, I may ask the dexpatcher author.
[Magisk] kirkirehani93:
+1. The old version of nanomod did took 20 mins....parallel processing the script reduced it to 8. Still something is slower now for oreo..Thanks for your hardwork [MENTION=4187311]Setialpha[/MENTION]
[Magisk] hungvip2001:
Hello [MENTION=4187311]Setialpha[/MENTION] , can you check my log at page 165
[Magisk] Setialpha:
It says "no space left". During jnstall you need about twice the package size free space. If you feel that's wrong, issue the following commands from adb shell within TWRP, once before flashing, one afterward

mount >>/sdcard/mount.log
df -h >>/sdcard/df.log

and post the files mount.log and df.log which will be created in your device's internal storage.
[Magisk] hungvip2001:
OK. Thank you. I have 400mb+ blank system space, so I will check adb
[Magisk] Max Line:
Im running resurrection remix, the lastest version (7.1.1) on a oneplus 3t.

For some reason when I reflashed my rom, (didn't remove my data), after removing my system, I flashed nanomod microg with the patcher through twrp, I get a message on phonesky that says "your device is contacting google to save information to your account. this can take a couple of minutes". Of course it never goes away, and phonesky never connects.

Microg however is working fine. The applications that rely on google play services are working well with microg. I tried to reflash older versions of nanomod, and also tried to replace phonesky with an older version of itself, but it still didn't work. I tried reflashing through magisk, and I still got the same issue. I tried to down grade my rom, but I still got the same issue.

Any idea on what i should do?

Phonesky has always worked for me...

Edit:

Just want to mention that for some reason I am able to log into other google accounts but not mine. It gets stuck on "just a sec".
[Magisk] Texas_Ace:
I was messing with nanomod on a note 4 with lineage 14.1 (android 7.1) and it seemed to install ok except for the signature spoofing. MicroG said it could not spoof the signature. I had to install xposed fakegapps to get spoofing to work, worked great after that.

I plan to mess with the phone some more later this week to see if I can get it working better.
[Magisk] hungvip2001:
Sorry for late upload. Here are logs from my device:

Edit: those are wrong log. I updated it in new quote
[Magisk] bass@89:
Gmail not adding & opening

Please help me out for gmail app.

I have flashed NanoMod 14.4.20171014 on 7.1.2. Followed all the steps. Everything went smooth including patch installer.

Everything works fine including google contacts sync, Play Store. I can able to download all the apps from playstore.

But gmail is not working. gmail account has been added and not able to open the gmail. It is keep on asking to add the google account for gmail.

Thanks
[Magisk] Setialpha:
Did you grant all permissions? Else I need a logcat.

Did you flash the patcher?

I'll have a look.

You need to grant phone/contacts permission to GMail else it won't detect your account, same for Maps btw.