yashsingh1/xdaforums huggingface dataset:
[Magisk] Setialpha:
Apps are pseudo mounted, and it would be overkill to add 30 more options to the setup file, so I need to find a different way to achieve that more easily.

Both my script and zip use haystack patches, so it's the same.

Thanks, I'll correct the readme.
[Magisk] Setialpha:
Report a bug against Mozilla location backend, as this is not related to NanoMod. If you followed all instructions it shozld work, I'm never off more than 30 meters.

On F-Droid you'll also find other location backends to try out.
[Magisk] Setialpha:
I added support for choosing what apps to magic-mount in the upcoming version 6.1. The github repository already contains that stuff and it's README is up to date.
[Magisk] atendedor_de_boludos:
Wow that was very fast, thanks
[Magisk] Setialpha:
Version 6.1

Version 6.1 is now available. Highlights since 6.0:

users can now control what apps to populate via configuration file (see README)

provided microG GmsCore is now fully installable outside of NanoMod

on-pc framework-patcher (just like on-device framework-patcher) now auto-detects where to install the modified services.jar (supports NanoMod full, NanoMod microG and system)

Full ChangeLog:

6.1 20170421

* Internal Changes
* minor fix in `mod.sh`
* minor improvements to README
* minor improvements in `mount-magisk.sh`
* make on-pc `framework-patcher` auto-detect install path for modified `services.jar`
* like on-device framework-patcher it supports installing `services.jar` to
* NanoMod (full)
* NanoMod (microG)
* ROM (directly to /system)
* add support for `nanomod-apps` configuration file to let the user control what apps to provide when `nanomod.apps=1` is set (default)
* refer to the README for more details
* fix provided `microG GmsCore` not being installable as user-app
* Updates
* (Simple) Gallery (2.8.6)
* OpenLauncher (0.3.1)
* Play Store (7.7.31.O)
* VLC (2.1.5~beta)
* Substratum (672)
* XDA Labs (1.1.1.1)

I'll update the README further to ensure credit goes where credit is due.
[Magisk] Oswald Boelcke:
Yes, you did miss something. Check the OP and the linked documentation.

Quote from the documentation:
[Magisk] Reylom:
Thank you for the hint, now i know where is the problem located, but i've had some issues a few days before with NanoMod 12 on the Samsung tablet. After i have installed version 13 all it's fine.

If i downgrade Magisk then i can't install NanoMod 13 (i get an install error in TWRP), so at the moment i have to decide: Magisk 12 without NanoMod or NanoMod without Magisk (alternative i can use SuperSU) mmmh tricky :confused:
[Magisk] Setialpha:
Irregardless of Magisk you can install NanoMod into /system. See the Setup Wizard or the doc ('Alter Installation') for full options available.
[Magisk] super-drone:
I'm sorry for the noobie question but, how do I get location to work? I've read all these lines and I still don't understand... I must've missed something
[Magisk] gimpy1:
Have You turned on your GPS location in the telephone's settings? Have You turned on the battery optimization check? In the " google services " section, you've checked all three of them? And all the "unified NLP" sections?

And does magisk have safety net check success? Last thing I can think of is did you install the nano mod patcher right after the first reboot?
[Magisk] Againstt:
I'm sorry if this is the wrong place to ask, maybe someone can point me where to ask if so. Everything is working fine but I can't log in to Google Classroom. I get an "try later or a diffrent account", I have done both of those things. Help is much appriciated.
[Magisk] super-drone:
yes I did everything except by check battery optimization and install nano mod patcher, so I do it now, right? or do I need to clean install nano mod again?
[Magisk] kurtn:
Maybe [MENTION=5420028]gimpy1[/MENTION] sent you in the wrong direction. Location provider has nothing to do with GPS. Instead you need location mode "energy saving". NLP has nothing to do with safety net. The patcher is only needed if your ROM doesn't support signature spoofing. You can see this on the top of the self-check screen.

Maybe your ROM realy doesn't support NLP plugins.
[Magisk] mad2mystic:
Any way to stop play store from updating. After install or uninstall the playstore updates itself some data activity happens bit nothing changes this happens frequently. Is there any way to stop it.
[Magisk] demonoidmaster:
Try installing the latest Play Store from apkmirror and see if that helps

Honestly you should've set yalp and play store to "no" in the Nanomod setup wizard and instead have them installed as user apps instead of system/magisk bound apps, easier to update imo
[Magisk] kurtn:
That's the reason for many of us not to use Google apps. It's hard to control data activity. I use an old phone to access play store and push the apk to my daily used one.
[Magisk] demonoidmaster:
Another way is to use yalp for any updates, even paid ones will update but only if it detects that you did indeed buy them

Also you can search for apps and such on yalp just the same as play store because yalp pretty much downloads apks directly from play store so yh, handy
[Magisk] Oswald Boelcke:
Probably this hint by @marcdw is helpful.
[Magisk] Shadow53:
If you want a functional Play Store, my experience has shown me that it has to be installed in /system/priv-app, otherwise you get a bunch of random crashes. Yalp Store as a user app is fine, though if you install it correctly as a system app you can have it automatically install downloaded apps without granting it root access.
[Magisk] demonoidmaster:
True about yalp, though i rather keep it as a user app and just use root, easier
[Magisk] marcdw:
I always forget where that post is until you remind us. Great.

I need to audit installed ROMs and find out exactly what's still valid regarding the disabled services. I haven't had Play Store update in any ROM in a long time but maybe that's luck mostly.

Anyway, I was under the impression that NanoMod's PS did not autoupdate.

Far as microG ROMs go I'm going to check which services are disabled as it seems different on each OS.

Mahdi KitKat, TBO Clear PS, older -81 gmscore.

AOSPA-L Lollipop, Theme Ready PS, ale5000 installer from some months ago.

crDroid N, ale5000 installer, NanoMod PS dropped in.

AospExtended, NanoMod-microG. Installation is newish so no services blocked. Taking a wait-n-see approach to see if PS autoupdates.

My daily driver, PACMAN LP, is a normal setup with Theme Ready apps. It used to suffer from autoupdates. Only one service is blocked. Been good for months.

Tonight I'll jump around each ROM and write down exactly which services are blocked without causing any issues.

LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
[Magisk] marcdw:
Heh heh, guess we can nevermind that last post.

ParanoidAndroid had Play Store 8.0.73 which I thought I put there but that was Google. My version was 7.8.15.

Uninstalled the update and spent nearly an hour trying to get PS to not autoupdate while also being functional with regards to showing updates/installed apps as well as licensing checks. Failed miserably. It was one or the other. Couldn't get both.

At one point I thought I finally got it but eventually it updated to 8.0.73 again. Giving up I wound up flashing 8.1.29. :)

Went to check Mahdi and completely forgot I had put the latest on there already. I've also updated (flashed) Play Store whenever they're made available on the other ROMs.

[ side note: after almost a year Mahdi went unstable on me. Everything is FCing out of the blue. My poor little KitKat. :( ]

Anyhind, I have no idea right now if anything works in stopping PS autoupdates. Services change and/or added with each major version. Like SelfUpdateChecker which is there in v7 but gone in v8.

LG G3 D851, AOSPA-L ROM, Nebula Rev9.3 Kernel, microG (NoGapps), MultiROM, Tapatalk 4.9.5
[Magisk] b4rgh3st:
Nevermind
[Magisk] locolyric:
Hi all,

Is that normal if we choose to install microG. We will never get fcm push notifications?

Because I saw microG settings. App did receive push but the app won't wake up and notify me.

Or I did things in wrong way and that's the results?
[Magisk] Oswald Boelcke:
I receive GCM/FCM pushes on my desired apps. I assume you already know but I always ensure that

GCM notifications are enabled in the microG settings.

the applications that I want to receive GCM pushes are installed after installation of microG respectively Nanomod i.e. occasionally I must uninstall the application and immediately re-install it.

I hope I correctly understood your issue.
[Magisk] Shadow53:
You should also check the ping interval value for GCM (GCM > Three dot menu > Advanced). Larger times helps save battery, but smaller intervals may help with receiving notifications in a timely manner.

Also make sure the GCM is enabled when the app is installed.
[Magisk] razr96:
Why does the uninstaller remove the configuration files? It was quite surprising to see them gone, I don't think this should be done by default. Or at least it should be noted in the documentation.
[Magisk] locolyric:
Yes, i aware of this so thats why i choose to install it at first after clean flash my phone.

I can see the gcm is on , and the app list do show some push received. But no notification pop up by the relevant app. i need to open it and refresh manually to get new email.

did i do something wrong on tweaking system?

i use greenify and only agressive doze, but i add microg related service and email app to whitelist and still i m not able to see any things pop up.
[Magisk] demonoidmaster:
Why not make a backup of it instead before running the uninstaller?

---------- Post added at 01:22 AM ---------- Previous post was at 01:18 AM ----------

Greenify honestly does weird stuff affecting GCM and whatnot, you should uninstall greenify and use ForceDoze from the playstore, the app uses the inbuilt Android Doze mode your rom has so it don't do anything funky except giving you the option to ForceDoze after 1-5 minutes (or more) after screen off
[Magisk] evilvoice:
[MODULE/SYSTEM-MODE] NanoMod 13.0.20170817 (microG, pseudo-debloat, F-Droid + apps)

This more has to do with microg than nanomod, but since most people are running microg, I thought I'd ask here.

I play a game Tower of Saviors that I installed before microg. It downloads a lot of data so I haven't uninstalled it yet. Before microg I was getting a lot of errors about not having Google play services installed. I installed nanomod and those went away. The problem I have is I can not purchase anything in the app. Is this an issue with microg or the fact I didn't install app after? Please help because currently I'm using 2 phones when I need to purchase something in the app (which isn't often). Thanks.
[Magisk] Shadow53:
You should be able to make purchases if you also have the patched version of the Play Store installed. If not, you can flash NanoMod again to install it or use a standalone zip I put together at https://shadow53.com/android/downloads/#google-play-store-standalone

I'd recommend reinstalling NanoMod if you are using the Magisk overlay mode. If you did a system install, either method should be fine.
[Magisk] culiacanazo:
Do you have the store installed or yalp? I'm asking because of the billing service
[Magisk] demonoidmaster:
Yalp is more of a "hey are there updates for my installed apps?" App mostly, even tho ya can search for apps and stuff and install em, but not paid apps

Also don't use your google acc with yalp, use the acc yalp provides instead
[Magisk] culiacanazo:
I know that, I'm asking him because nano does offer the choice and because he can't use billing
[Magisk] evilvoice:
[MODULE/SYSTEM-MODE] NanoMod 13.0.20170817 (microG, pseudo-debloat, F-Droid + apps)

I installed Yalp and am using the built in account with it. I did sign in to google sync for contacts but it doesn't sign in to anything other than contacts and calendar (according to the accounts section). Yalp is installed as system app.

If I need to install the official play store, I can but was wanting to get rid of most Google services. I was under the impression that if I used microg that I had to use an unofficial play store alternative.

Also, thanks everyone for helping me along on this, I've been racking my brain trying to figure it out.

Edit: I'll test the patched one and see. I'm going to have to reflash the phone anyways, so I'm in test mode right now [emoji3]
[Magisk] Shadow53:
Clarification: you can download paid apps with Yalp if you use your own account, you just can't validate licenses at runtime.
[Magisk] CHEF-KOCH:
That made me smile, a uninstaller which uninstall every program/configuration .. aka doing it's job is something to complain about? I guess it's pretty much self-explaining that this is an expected behaviour.

Correct even if Google Play Store is installed side-by-side it asked you if you want to use a fake or your own account.
[Magisk] razr96:
I'm not sure how it's expected behaviour. The configuration files are something I made for the install, not installed by NanoMod (unless made by the setupwizard I guess). Anyways it's simple to edit the uninstaller so it doesn't do this.
[Magisk] CHEF-KOCH:
It's not that it not takes 10 seconds to execute the setup-wizard again or something .. :eek: Yes uninstalling components are exactly the behaviour we want.
[Magisk] bigsupersquid:
I wanted to mention a dirty trick to stop any system app from auto update. Well, update, period.

Learned it with the old Optimus V, some very limited internal storage, and KitKat. Trying to work with internal limitations and an armv6 chip that dislikes newer Play services meant no Play services updates or play store updates. Since they both auto update on first boot after gapps, they're pretty annoying. I'd like to credit the original post I found it in, but it's old and buried and I've lost track.

Best in recovery, a root browser or terminal works if you want to manually chase down the specific Dalek (Dalvik) bits of the app.

In /data/app, take the app folder name, delete the app folder, create a file with that name. chmod 444 for read only. Clear Dalek, er, Dalvik, cache.

Reboot.

Unless something has changed since I needed to use this, the target should silently fail to update, unless you try deliberately. Then it might error.
[Magisk] marcdw:
[MENTION=2980661]bigsupersquid[/MENTION], if I got it right I remember that tip. If it's what I think it is see this older discussion from January. Seemed Google still found a way around that.

http://xdaforums.com/showthread.php?p=70700410

LG G3 D851, AospExtended v4.5 ROM, G3X-Ultimate Kernel, NanoMod-microG (NoGapps), MultiROM, Tapatalk 4.9.5
[Magisk] Setialpha:
On PS 8 stop this service.
[Magisk] Oswald Boelcke:
Google Play Store Auto-update

@bigsupersquid, @marcdw:

I'm currently using the Play Store version as shown in attached first screenshot. This version was installed when I flashed NanoMod 13.0.20170817.

I have neither recognised any auto-update with this version nor with the ones before. Actually, I don't remember when the Play Store tried such an attempt the last time - obviously too long ago for the aged thing between my ears.

The second screenshot shows the services I've disabled in Play Store (already quite a while ago).

@Setialpha: Thanks very much for the advice. I terminated that service, too.
[Magisk] digitman xxx:
deleted
[Magisk] demonoidmaster:
Yeah if you use your Google account, but yalp warns not to do that because google could terminate your account

---------- Post added at 07:11 PM ---------- Previous post was at 06:50 PM ----------

Your fault for not backing up the single most important file

When you use the magisk uninstaller do you expect it to just flash your boot.img or? Nope it also deletes the app no matter where it's installed and deletes the app data from /data/data

An uninstaller does what an uninstaller does

---------- Post added at 07:15 PM ---------- Previous post was at 07:11 PM ----------

MicroG doesn't do google sync, the only sync you can get is contacts & calendar
[Magisk] razr96:
I had it backed up thankfully. This isn't a big deal. It's just not what I expected. An uninstaller shouldn't delete the file that's used to configure the install. That's all I'm saying. Delete the app, delete the app's settings, but not the settings for it's installation. That doesn't need to be deleted.
[Magisk] Oswald Boelcke:
I don't concur to your statement that is illogical and inconsistent in my personal opinion. An uninstaller uninstalls everything somehow related to an installed application. Therefore - and as you did, it rests with the user to backup wanted remnants prior to uninstallation unless the uninstaller offers customisable options.
[Magisk] razr96:
The uninstaller doesn't remove the zip file that was used to install NanoMod. So why should it remove the configuration files needed for it's installation in the way you want. At the very least it shouldn't remove them when they are located in the same folder as those zip files. /data, /sdcard, even /external_sd I can understand, but why the directory of the zip file?
[Magisk] demonoidmaster:
Why would it remove a zip YOU downloaded? What utter nonsense, seriously now

Stop complaining that it deleted every single file, it's common sense that an uninstaller wouldn't leave files behind
[Magisk] razr96:
I wasn't implying that the uninstaller should remove the zip, but that to remove the configuration files is similar to removing the zip. Why should it remove a file I downloaded, why should it remove a file I made. Yes it's common sense an uninstaller shouldn't leave files behind. Files related to the app. Except those configuration files aren't for the app, but for the installer. It shouldn't remove them so you can use them for future installations, instead of having to restore a backup, or remake them every time.

Anyways this is a tiny thing and I was only replying to try make you understand my view but I can see now you won't.
[Magisk] demonoidmaster:
The uninstaller undoes what the installer does, not stuff made by the app, but hey that's on you for running the uninstaller for whatever reason, the magisk uninstaller is no different it deletes the app, data and any other files that make it all tick

Just because you ran a setup wizard before the actual install doesn't exclude it from the one zip meant to wipe your system clean of any traces of nanomod and related items. That's just how it is.

It's not like that config file is so so hard to make, why on earth would you want the uninstaller to leave that one file intact just because you want it to vs anyone else who uninstall this to not use it anymore, i think you running the setup wizard again isn't difficult
[Magisk] kurtn:
May we come back to the patcher issue after all this play store and uninstaller talk? Please!

Is there a chance to get the patcher working in flashafterupdate? Or should I try to build a workaround, maybe bases on homegrown open recovery scripts?
[Magisk] Setialpha:
[MENTION=7086291]demonoidmaster[/MENTION] [MENTION=7626964]razr96[/MENTION]

Because I don't see why you'd keep the config files when using the uninstaller?

As Magisk Module, You can simply re-flash it, because previous installation gets removed before new is done, so that's already 100% clean.

In System mode a re-flash works in 99%, too, though anything deselected compared to the previous installation (if anything) stays intact, obviously.

So you'd only need the uninstaller when you either change System Mode setup drastically or you want to get completely rid of it.

In the former case you re-create the configuration files anyway, in the latter, you don't need them anymore.

In the end it's a matter of choice, mine was the known.

[MENTION=8031265]kurtn[/MENTION]

I'll test it during the weekend, been busy with other things.
[Magisk] razr96:
I haven't gotten around to usng NanoMod for real, I was just testing out the new patcher. So I used the uninstaller to try and undo the patch. It also removed the configuration files I had made for a planned future install and that naturally suprised me. Basically mine was a niche case. I shouldn't have used the uninstaller. It didn't work for ne anyways (stuck in booting) and so I just flashed the system image backup.
[Magisk] CHEF-KOCH:
Is that troll still whining because a uninstaller uninstalls something? That's ridiculous, dude just accept it. Everyone is comfy with it, except you, as said it takes 10 seconds to re-run the setup wizard. I don't see any valid reason to change that, especially if the uninstaller/setup wiz gets fixed you anyway better end up flashing everything again to ensure everything is working properly or in case you bugreport something that everything is reproducible.
[Magisk] razr96:
You seem to have misinterpreted the intention of my comments. I really don't care about this issue. I just wanted to clarify my position because people kept replying to me.
[Magisk] K3V1991:
Is NanoMod-microG only for aosp?
[Magisk] demonoidmaster:
...Why would you think that.

No, it isnt
[Magisk] Oswald Boelcke:
Negative. To quote the OP:

And the requirements for microG taken from its Wiki:
[Magisk] K3V1991:
The module.prop says:

id=nanomodmicrog

name=NanoMod (microG)

version=v12.1.20170807

description=NanoMod (microG only) for LineageOS/AOSP based ROMs
[Magisk] marcdw:
Yes, that's what it says. LineageOS-based (and CM I suppose) and AOSP-based. Essentially most ROMs out there.

If there's something you need to know in particular, please ask. Feels like you're assuming something or wanting to make a point but I can't tell.

Got a particular ROM you want to try microG/NanoMod on? Let the folks know and they will offer up tips, tricks, techniques, and pointers.

ZTE Axon 7 A2017U, DARK ROM, Tapatalk 4.9.3
[Magisk] K3V1991:
My ROM is Fulmics 1.6 (Stock)

I try it soon with Xposed (Magisk) & FakeGApps
[Magisk] Oswald Boelcke:
If I remember correctly Fulmics 1.6 is Nougat. ...and as far as I know FakeGapps doesn't work with the current (unofficial Franken-) Xposed framework. Guess you'll have to wait for rovo89 to come up with the official Xposed - what is supposed to be within the next few weeks.
[Magisk] marcdw:
[MENTION=7752429]K3V1991[/MENTION], in addition to what [MENTION=7408621]noc.jfcbs[/MENTION] pointed out about Xposed (I never tried patching a stock ROM, yet) there's also the Google issue.

I assume, like Fulmics on the G3, it has a Google footprint. You would have to remove as much Google stuff as possible. Ideally you'll want to be Google-free before starting. Might be quite a bit of work.

LG G3 D851, OctOS Nougat ROM, Solid Kernel V2.51, MultiROM, Tapatalk 4.9.5
[Magisk] K3V1991:
Yes i know but i have seen a thread, FakeGApps is listed as working
[Magisk] Oswald Boelcke:
Here is a post that it has possible issues.
[Magisk] kurtn:
Yes, fakegapps is working, but xposed makes my lineageOS nougat unstable. So I stay with nanomode patcher.
[Magisk] K3V1991:
NanoMod-patcher is for signature spoofing right?

Works with Fulmics?
[Magisk] kurtn:
1 right

2 you tell
[Magisk] evilvoice:
[MENTION=4187311]Setialpha[/MENTION] and others. I understand how the patcher works in theory as I've gone through the scripts. I haven't personally tested the new version with the additional patch, so this might not be relevant.

I have done the on PC version of the patch and noticed that the sigspoofui only patches files named "Settings.apk" I currently am using a stock Samsung rom that I have heavily modded to remove Google and minimalize it. My settings app is called SecSettings.apk and I'm sure other roms for other devices have different naming as well (or maybe it's just Samsung). Is there a way to enable the patch on device to work for my SecSettings app? I know the patch works because I renamed it by hand and had the on PC patcher edit it. I know I'm probably the only one, but thought I'd ask. Thanks and if it isn't feasible, don't worry about it.
[Magisk] Setialpha:
I can make it fallback to SecSettings.apk
[Magisk] Islam Mu:
now i need phonesky.apk