yashsingh1/xdaforums huggingface dataset:
[Magisk] DoR3M3:
[MENTION=4187311]Setialpha[/MENTION] I forgot to ask before, for "privapp-permissions-google.xml" are these now suppose to be the only permissions listed for "com.google.android.gms"

<permission name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"/>

<permission name="android.permission.INSTALL_LOCATION_PROVIDER"/>

<permission name="android.permission.FAKE_PACKAGE_SIGNATURE"/>

Or are these just added to the orignial permissions as an addition to them?

I mentioned before that dirty-163 has Location Backend issues, did you see my reply? "UnifiedNlP do not have Location to test Geocoder" is unchecked in dirty-163. Sometimes I wipe the partitions in TWRP and flash my ROM over and it's checked other times it's not checked. Not sure what to say, it works in dirty-155... hmm

I'm using DejaVu & Mozilla, I wonder if there's ever times where the Location Backends are not repsonding, due to some issue on their end, or net congestion, because as I mentioned, sometimes this is working, but dirty-163 seems to have more problems in this regard to the Location.

Before seeing "UnifiedNlP do not have Location to test Geocoder" not checked in a previous ROM was only a permission problem so by adding in at the terminal these perms resolved it;

pm grant com.google.android.gms android.permission.ACCESS_COARSE_LOCATION

pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION

But then "default-permissions" already has, microg-permissions.xml;

<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"/>

<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/>

So this is not making sense as to why "UnifiedNlP do not have Location to test Geocoder" keeps appearing unchecked in dirty-163...

P.S. [MENTION=4187311]Setialpha[/MENTION] Would microG and Fdroid work better with these permission names instead?

privapp-permissions-org.fdroid.fdroid.privileged.xml

privapp-permissions-com.android.vending.xml

privapp-permissions-com.google.android.gms.xml
[Magisk] oF2pks:
Since Oreo, permissions belonging to category [privileged] are only available if apks are located in /system/priv-app/ with corresponding xml_declaration. Otherwise they failed to grant these permissions (like these 3 for gmscore).

"privapp-permissions.xml: file that lists all

signature|privileged

permissions required to be whitelisted:" https://source.android.com/devices/tech/config/perms-whitelist

Checked in your first line, your gps.conf is in /vendor partition: you can use a MagiskModule(template) to switch systemless (& vendorless) to another one: /system/

vendor

/etc/gps.conf in https://github.com/topjohnwu/magisk-module-template/blob/17000/config.sh#L49
[Magisk] DoR3M3:
GmsCore is in /system/priv-app I have however been using GsfProxy in /system/app but then switching it to /system/priv-app not sure if GsfProxy in /system/app would be bad?

Not sure I understand about the Whitelist? I am of course using the permissions that are in NanoDroid-microG, so is there something wrong with them?
[Magisk] PoochyX:
That's why using the newest operating systems causes errors......on marshmallow with no issue but my permissions are being runned at runtime

PoochyXXX
[Magisk] DoR3M3:
This has nothing to do with a Newer system, I've had this working just fine in Oreo for the past year, it's just that for some odd reason I've yet to figure out what's going on now and we're all Geeks on this forum most of us, so replies that benefit with some useful information like oF2pks' reply is more appreciated, for the benefit of everyone, rather then some nonsense about "newest systems" when it has nothing to do with it, is not helping anyone... :eek:
[Magisk] PoochyX:
Ohhh

PoochyXXX
[Magisk] DoR3M3:
Sorry didn't mean that to be rude, I am just extremly aggitated/frustrated over this situation because I am working on a ROM I released on XDA and this was working just fine up until today.

So I'm pulling hair here trying to figure out what the HECK is wrong here and yes I have GsfProxy and GmsCore with matching signatures too...

And what's even more frustrating, the ROM I released it worked, now I took that same extact ROM today, flashed it back in and "UnifiedNlP do not have Location to test Geocoder" is now unchecked, which should be impossible, becacuse I changed nothing, simply flashed the working ROM, which now makes me think something has changed in regards to DejaVU or Mozilla making changes on their end that has broke this, if that's possible? Or something out on the Location Backened Online somewhere has changed...

Anyhow... Peace :)

P.S. After messing with this for like 2 BLOODY HOURS AHHHH "UnifiedNlP do not have Location to test Geocoder" finally FLIPPING CHECKED! WTF is going on here? Any clue as to why it took 2 hours to get checked? Online Location Backend Issues? BUT this is on dirty-155... :eek:

Ahhhhhhhh
[Magisk] iacchi:
On a less technical matter, I have a question. As I mentioned a few posts ago, I cannot use a certain bank application because it's incompatible with microG. This bothers me quite a bit as this app, in the country where I live, is used for everyday payments (in Sweden cash is basically socially banned, and all transactions, even among privates and friends, either go via credit/debit card, wire transfer or this app) and it would be quite useful to have. I am considering (I still haven't decided yet) to maybe drop microG to install pico gapps and keep nanodroid-fdroid installed to have f-droid and contine using yalp store for the rest.

My question is: if I don't login to a google account and as I said I continue using f-droid and yalp rather than google play, how much information is actually sent to google servers just because the google play services are installed? I mean, I guess it has to be something, otherwise there would be no point in the development of microG, but how much? Consider that my stock rom is a bit peculiar and has nothing of google installed in it by default (no contacts app, no nothing). I'm not quite sure how to answer this question myself and I hope someone more knowledgeable might give me some clues.
[Magisk] PoochyX:
Dude why you want a modified device if your doing secure stuff on it like banking....

PoochyXXX
[Magisk] iacchi:
Because basically I don't want Google on my phone, easy. Using microG doesn't make it less secure, I actually consider Google a security breach. It's just that this stupid app is known for not working with microG, regardless of safetynet checks passing or not, so I wonder how much of a security breach I will have if I do like I said.
[Magisk] kurtn:
If someone would force me to use a banking app: I think I would use an i-phone.
[Magisk] Zark0s:
If this app doesn't check SafetyNet, maybe you can try XPrivacy Lua, a Xposed module which will send fake data to apps you choose, Google Play Services for example.

But you have to be on Oreo or anterior since Xposed doesn't support Pie at this moment, and you didn't tell much about your setup and this app.
[Magisk] iacchi:
You're right, I haven't provided too much info. The system is on 8.0 Oreo and the app name is BankID, which is known to have issues with microG (and it's not just safetynet). The app provides a form of digital ID provided by your bank and recognised at government level. The app starts just fine but I think it is not working properly because there is code missing in microG, rather than it being a problem of checking if something is installed or not, so no faking will do it much good. For example, to install the certificate on the phone you're supposed to scan a QR code provided by your home banking and take it from there, but when play services are not installed the app will not manage to scan the QR code.

The funny thing is that when I installed it the first time (and I didn't know about these issues) I managed to make it work by scanning the code with a QR reader app and then opening the link with the bankid app. However, a week after the app updated and it stopped working altogether. Something must have changed in the bankid servers as well because if I try to do the same trick again I just receive an error stating technical error 134 or something. I haven't had a proper look at logcat yet, but basically the app fails to connect to the bankid servers (I said the app starts fine, but compared to before it takes a long time to start properly and often I get a button that says connect, because it failed to connect to the servers). I also tried to revert back to the version that I installed originally the day I made it work but it's not working anymore. I will try to open a proper bug in microG, but I guess it won't be that easy for mar-v-in to debug.

So, this is the issue with the app and the related context. I would still be glad if someone could answer my original question.
[Magisk] -Happy Feet-:
I try to install nanodroid but i run into an bootloop. I try it also with the setupwizard. But the lineage ROM wont Boot.
[Magisk] Danko Jones:
Hi,

I have a G Pad 8.3 with freshly installed crDroid 5.1 on it (Android 9.0). After rom I immediately flashed NanoDroid-microG and NanoDroid-fdroid package. After installing and testing of some apps I noticed that some apps won't start and complaining about missing google play services. I looked into microG settings and recognized that there's a signatur spoofing problem. I looked into documentation but all settings seems to be fine (see screenshots).

I've previously only used LOS builds with microG included so it's the first time for me playing with microG/nanodroid. I hope someone can help me out (if the problem is on my side).

Thanks in advance!
[Magisk] daywalk3r666:
flash the nanodroid patcher...if it has build-in sig. spoofing flash an older patcher version
[Magisk] Zark0s:
Concerning your original question, since the Play Services are closed source, nobody can know what data is sent... But we know that the Play Services have access to almost the entirety of the phone (you can check the permissions in the settings).

But, you can consider to use a firewall like AFWall+ (available on FDroid) which can block the Internet access of the selected apps. Unfortunately, since I don't use this, I don't know if it's a reliable setup.
[Magisk] b4rgh3st:
Just a short question:

Why is there "NanoDroid-OsmAnd: includes OpenStreetMap for Android (OsmAnd+)"? What's the difference between the NanoDroid version and the direct installation via F-Droid?
[Magisk] Danko Jones:
Thanks for the hint. I tried your attached patcher after clean install, but it hangs at "patching services.jar". Also tried the 20.4 version since it was mentioned in this thread that it worked but same situation.

Since crDroid will include (working) native signatur spoofing in future and someone in this thread said that it's better to wait in this case: can I install nanodroid without the patcher and sig spoofing will work automatically when I'll install a updated rom with fixed sig spoof? Or do I need to reinstall any nanodroid packages then?

Thanks again!
[Magisk] kurtn:
Bull****
[Magisk] daywalk3r666:
what bull****?some **** roms has broken signature spoofing.and for some people the last patcher won't work with this **** roms
[Magisk] PoochyX:
Use Smali patcher and make a magisk module for the signature spoof also it takes a while to patch services jar when using the patcher.... And it only works if you have a deodexed jar file I believe lucky patcher can deodex it for you also

PoochyXXX
[Magisk] gadgetguy08:
Thanks for the hint. This did the trick for me. RR 7.0 (PIE).

---------- Post added at 03:06 PM ---------- Previous post was at 02:58 PM ----------

Tried this, but it didn't work. First attempt was with NanoDroid MicroG, but since I had installed it with the full NanoDroid pkg it wouldn't allow that. Second attempt was with a reinstall of the full pkg and it made no difference.

While it shows the ND version number, it claims it can't reinstall it or Upgrade it with the NanoDroid repo due to a mismatch of the key.

Anyone else have this issue and resolve it?
[Magisk] tom.android:
try this method !!! for 9x Pie ROM (if your rom supported "Allow signature spoofing , or use Smali Patcher add signature spoofing feature)

****Please delete your old hidden setup file from NanoDroid-Setup-Wizard first.

****No GApps installed before (Clean Installation) *recommend* but you can use ROM with GApps pre-installed also.

****Suitable for Custom ROM without GApps Pre-install. (Not for Factory ROM)

Flash Magisk (Stable v18.1 work)

Flash Only NanoDroid microG Sub module.

https://downloads.nanolx.org/NanoDroid/Stable/NanoDroid-microG-20.6.20190126.zip

***Auto installed by NanoDroid script

++Nominatim geocoder backend

++Deja Vu Location backend

++NanoDroid microG GmsCore

+++with Maps API v1

+++with Play Store

---without Fake Store

---without Google Sync Adapters

---without swipe libraries

---without /system application override

Reboot system

Enable Allow signature spoofing (Your ROM Specific)

Setup microG setting

Setup & login Play store

Reboot system

Give app permissions (spoof package signature)-check apps permission for Google Play Store +microG Services Core

Install fdroid.apk (lastest version. https://f-droid.org/en/) --No use NanoDroid-fdroid

-open f-droid program--->set up repo (Add 3 new repos below)

https://www.nanolx.org/fdroid/repo

https://fdroid.bromite.org/fdroid/repo

https://microg.org/fdroid/repo

Copy url Click Add repo

***Add Storage Permission

Search & Install MozillaNlpBackend from f-droid App

Run microG Self-Check again but this time click UnifiedNlp setting---->Configure location backends-----Enable Mozilla Location Service

Setup f-droid ---Enable Expert mode

-if you want auto-update please install F-Droid Privileged Extension from magisk Repo

Open device GPS and use Geolocation Map or install Satstat from F-Droid. (Find your Location)

Note helping pass 6 choices of UnifiedNLP Setting ( self-check--->UnifiedNlp Status)

SafetyNet Check Pass ---> Add microG DroidGuard Helper To --Magisk Hide List

Note--if ctsprofile still not pass Please install SafetyPatch v2 from magisk' repo

Bromite SystemWebView

Goto https://www.bromite.org/system_web_view and download your platform apk file.

install it and update with F-Droid Program.

************From Now On you can auto-update NanoDroid +=+=from F-Droid
[Magisk] mongo0:
same problem here. Since crDroid should support signature spoofing (but doesn't) I cannot use the patcher.
[Magisk] SrJardel:
Not sure if this will help you, but the patching process took something like 15 or 20 minutes to complete on my phone.

After trying all methods for Pie, I went to XDA trying to get any ideas. As soos as I finished writing my message I looked at my phone (which I though was stuck) and the patching was done.
[Magisk] DJ aliasz3d:
Tapatalk has a lot of issues when it comes to XDA from what I've experienced.
[Magisk] Setialpha:
So I replaced the graphical links in the OP with text links, everything should be fine now with every browser / forum app.

Still people should consider writing bug reports against the specific apps because simple bbcode like

[url=abc.com][img]myimage.png[/img][/url]

should be supported by forum apps, that's not something magical at all.

Either way, it should be fine now from user side.
[Magisk] Setialpha:
9.3

Version 9.3 is now here, full ChangeLog since version 9.2:

* Bug Fixes
* Full, F-Droid, microG packages: fix installation in System Mode
* microG package: bundle `aapt` (required for `nanomod-overlay`)
* Installer Changes
* Full package: remove app libraries not required for device architecture
* example: on ARM the libraries for ARM64, x86 and x86_64 are removed
* add `nanomod.gsync=[0|1]` setup variable
* defines whether to install Google Sync Adapters
* General Changes
* x86/x86_64 support (work-in-progress)
* currently working in System Mode, but not as Magisk Module
* add `Jelly` to the list of pseudo-debloated apps by default
* `nanomod-overlay -p` now checks for proper permissions of system apps
* FAKE_PACKAGE_SIGNATURE for microG Gms Core and Play Store
* READ_CALENDAR and WRITE_CALENDAR For Google Calendar Sync
* READ_CONTACT, WRITE_CONTACTS and GET_ACCOUNTS for Google Contacts Sync
* add `permissions` init script that runs `nanomod-overlay -p`
* Full package only
* for microG package manully run `nanomod-overlay -p` as before
* added force-debloat script (for system mode!)
* script that can be run from recovery to debloat the system
* the list of applications resides in the script itself
* the default settings equal to the pseudo-debloat settings of `nanomod-overlay` script
* needs to be run from TWRP, requires explicit user acceptance
* re-signed microG GmsCore and Phonesky with my own key instead of debug key
* microG package: don't install terminfo files as GNU Nano is not included
* on-pc framework-patcher: only do actual work if in TWRP
* Removed Applications
* Magisk Manager (now bundled with Magisk itself
* Replaced Applications
* VLC replaced with MPV
* Added Applications
* OpenWeatherMap Provider (1.0)
* add optional Google Calendar Sync and Google Contacts Sync
* not installed by default
* bundled with Full and microG package
* Updated Applications
* GNU Nano (2.8.2)
* microG Gms Core (0.2.4-103)
* Substratum (782)
* Yalp Store (0.17)
* Simple Calendar (2.5.3)
* Simple Gallery (2.10.10)
* Termux (0.52)
* Twidere (3.6.21)
* Play Store (7.9.80.Q)
* New Pipe (0.9.8)
* Kernel Adiutor (0.9.70.3)
* Yahoo Weather Provider (1.0)
* Lightning (4.5.0~snapshot)
* F-Droid (0.104)

Download from AFH.

In case of issues, please provide

your device's architecture

your device' Android version (not ROM version)

whether installed as Magisk Module or in System Mode

recovery.log or logcat or both (whatever is applicable)
[Magisk] ProudRed:
I am using NanoMod-microG. When I am opening play store, It is not displaying its content and showing error retrieving info from server.
[Magisk] Shadow53:
First make sure that you have microG set up completely, including device registration and google cloud messaging. Then close Play Store completely and re-open it.
[Magisk] ProudRed:
Both done, still having the same issue. Any fix ?

EDIT : fixed it. Thank you. Now to receive GCM when I am using my phone do I need to put it outside battery optimization ?
[Magisk] Indha Lezzio:
Clear Google play data!

Enviado desde mi GT-I9505 mediante Tapatalk
[Magisk] technotravel:
reboot helped in my case ...
[Magisk] ProudRed:
fixed it. Thank you. Now to receive GCM when I am using my phone do I need to put it outside battery optimization ?
[Magisk] Bludwurst:
Micro G Core shouldn't be optimized.

Have a gratuitous screenshot.
[Magisk] espionage724:
Was attempting to run NanoMod Patcher on LineageOS 14.1 and got "could not detect dalvikvm architecture". Here's my recovery.log: https://pastebin.com/raw/1rRgZfrG

Here's what I did up until this point:

Wiped everything

Installed LineageOS

Rebooted back to recovery and formatted /data and /cache as F2FS

Rebooted back to recovery and flashed FrancoKernel, Magisk v13, and NanoMod in that order

Rebooted to System, did LineageOS Setup Wizard

Rebooted back to recovery, tried installing NanoMod Patcher
[Magisk] DJ aliasz3d:
MicroG 23/6 flashed fine for me but patcher failed so reverted to the one from the 10th, will have to find where the log is stored and upload later.
[Magisk] Oswald Boelcke:
Did you try Magisk v12. Otherwise, your process looks good to me - besides me not using F2FS. Used it about a year ago but could see/find any advantage.
[Magisk] DJ aliasz3d:
On magisk v12 at the moment , gave me the error you get when you flash patcher twice so probably my error. Are the logs stored in twrp folder on I9305?
[Magisk] Oswald Boelcke:
I don't know where the log is saved internally. I always use the function under advanced settings to copy the log to external SD.
[Magisk] DJ aliasz3d:
OK thanks I'll remember that in future :):good:
[Magisk] Setialpha:
The TWRP log is stored in /tmp/recovery.log
[Magisk] inestion:
I'm having the same problem while flashing the patcher.

Nexus 7, it's arm I guess. Android 7.1.2 using system mode.
[Magisk] Setialpha:
NanoMod patcher test

Attached find a patcher zip that should fix your issues with version 9.3.
[Magisk] inestion:
Just flashed but it still doesn't work, I even tried to use Tingle but no luck so I'm starting to think that it may be a problem on my side.
[Magisk] temporarium:
Thanks for the hint. I just replaced the gpsconf in the vendor partition. ??
[Magisk] smerm07:
how do you update nanodroid and its packages? when i flash a newer zip in twrp it fails.
[Magisk] PoochyX:
Thats werid

PoochyXXX
[Magisk] DoR3M3:
Where is [MENTION=7408621]Oswald Boelcke[/MENTION] when you need him... ;)
[Magisk] kurtn:
It should not fail. The main components can be updated with nanodroid repo in f-droid. The microG core gets frequent updates.
[Magisk] jemail:
Just for info the NanoDroid version 20.6 Magisk module disables Magisk 18.1 logging. Magisk reports log file empty. There is no magisk.log file created in /cache.

Disable NanoDroid Magisk module then reboot and Magisk creates a log file as usual in /cache. This is ? reproducible for me.

I am using Android 7.1.2 Nougat ROM. I have observed this behavior on AsopEX and LineageOS roms.
[Magisk] Oswald Boelcke:
Does not apply to my device on RR-N-v5.8.5 Please refer to screenshots.

I apologise but I'm currently too busy with other tasks that don't allow me to permanently monitor the threads as I did in the past.
[Magisk] jemail:
I notice your logcleaner script contains the following line:

rm -f /cache/*.*

I assume this is deleting the Magisk log?

I just edited the logcleaner script to remove the line mentioned above, rebooted and magisk.log is now present in /cache.

If the aim of the logcleaner is to clean logs wouldn't

rm -f /cache/*.log

be safer?
[Magisk] trohn_javolta:
Hi, can I somehow list all apps that receive push messages?

I'm reffering to this in the readme: https://github.com/Nanolx/NanoDroid/blob/master/README.md#push-messages

I use titanium backup and want to restore a backup. I don't want to restore all apps without data and then open up all apps once, then restore all app data.

I'd like to first just restore the apps receiving push messages without data, open these few apps and then restore everything.
[Magisk] kurtn:
Sounds like you are going to use nanodroid like GApps. That's not how it's meant to work. Use your brain. Only use proprietary apps where there is no FOSS replacement. Next ask: which of them does really need push messages.
[Magisk] iacchi:
What is your situation exactly? Are you using gapps at the moment and you want to switch to microg, and you want to know in advance which apps use push messages? Or are you currently already on microg and want to start fresh, so that you need this list? What is your current android version? In all cases, at least for the apps that need push messages, you will have to install them without data, open them once, and then restore data, there is no other way around it.
[Magisk] bege10:
How to install Play Store independently?

Hi,

in the bug tracker Setialpha recommended to me to install the Play Store independently (without the NanoDroid installer), because I only need this one on top of LineageOS for microG. But how does that work? I can install it neither from the NanoDroid repo in F-Droid nor using the apk from NanoDroid zip. Both throw errors.
[Magisk] trohn_javolta:
Thx for the kind words! :good:

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

I started off fresh, for my device there's only microg los 14 avaiable. So I flashed los 15.1 build from this forum. And later found NanoDroid.

Tbh I don't really care to get rid of gapps cause it's not open source. I just want to try if I can get better battery life without gapps. I hope that's not considered a crime, here in this thread :eek: