yashsingh1/xdaforums huggingface dataset:
[Magisk] oF2pks:
android 10

( [MENTION=4316015]Simon94[/MENTION] , [MENTION=8701777]ncorna[/MENTION] , [MENTION=8702807]n1zzo[/MENTION] ) I have uploaded microG plus few other patches for March LineageOS-17.1 here https://xdaforums.com/showpost.php?p=82014785&postcount=2 (including _internet and _wakelock permissions switch to runtime, with los stats removed)

[MENTION=4187311]Setialpha[/MENTION] ( [MENTION=3999488]MaR-V-iN[/MENTION] [MENTION=4683552]maxwen[/MENTION] ) , seems android10 needs [permission-group.UNDEFINED]

[SIZE="1"]+ <!-- ====================================================================== -->
+ <!-- Permissions for SPOOF -->
+ <!-- ====================================================================== -->
+ <eat-comment />
+
+ <!-- @hide Allows an application to change the package signature as
+	seen by applications -->
[I]+ <permission-group android:name="android.permission-group.SPOOF"
+ android:label="@string/permlab_fakePackageSignature"
+ android:request="change the package signature"
+ android:priority="103" />[/I]
+
+ <permission android:name="android.permission.FAKE_PACKAGE_SIGNATURE"
[B][U]+ android:permissionGroup="android.permission-group.UNDEFINED"[/U][/B]
+ android:protectionLevel="dangerous"
+ android:label="@string/permlab_fakePackageSignature"
+ android:description="@string/permdesc_fakePackageSignature" />
+
[/SIZE]

added to AndroidManifest.xml in supplementary permission.FAKE_PACKAGE_SIGNATURE (?). For rom dev, (conversely to Nano-patcher) a header group can also be added to have PermissionManager working back, but then [packages/apps/PermissionController] has to be patched too: check attached simplified diff(s).

(jic [MENTION=4683552]maxwen[/MENTION] , aosp Cafeine addition, with long press triggering PermissionsManager : https://dl.xda-cdn.com/4/9/3/1/4/0/....txt?key=hRokybwsAWG6oYxwgBkPqw&ts=1584706919 ?)

your twrp probably built with BoardConfig.mk[TW_TARGET_USES_QCOM_BSP := true]; ask devs to remove it.
[Magisk] FMAranda:
No issues with location services. I use Uber quite often haven't had a single issue.
[Magisk] Estebanium:
I selected to install AuroraDroid and while it is able to update the repositories, it is not able to download any App. If I try to set a download path in settings, it always shows that it can't set it. Any ideas?
[Magisk] newinnov:
Where? Can't believe that I am facing a problem which was reported and fixed a month ago!

I also had to manually install.
[Magisk] amg314:
Try run Aurora via VPN (I use HolaVPN). In my country it helps Aurora connection)
[Magisk] Estebanium:
Why would a VPN help if F-Droid is able to download from the exact same repos?
[Magisk] d1n0x:
Wew lad

Any VPN is sketchy, but hola is another level
[Magisk] flieswithhawks:
I am having trouble with Signal messenger using push notifications. It shows that the app is registered in microg settings, but still says that Play Services are unavailable. How am I able to force the app to register and use GCM?
[Magisk] d1n0x:
No problems here. Make sure signature spoofing is working correctly and everything is set up properly.
[Magisk] andy356:
Guys is anyone able to install Monument Valley from the patched Play Store? It downloads for me, but doesn't install, showing an error instead. The error is generic and just links to common solutions like restarting the phone, clearing cache, etc.

The same happens with Lara Croft GO. I've previously bought Monument Valley, but not the other. This seems to indicate that the problem is with paid apps, even if their price is currently zero.

To be thorough, I can install free apps without any errors.
[Magisk] d1n0x:
Does Play Store hace storage permission?
[Magisk] Diresh:
I was able to install monument valley 2 from the patched play store, I will try Lara Croft Go later. Aside from this my other paid apps download and install fine.(like SD maid,fkm and idm+)

Edit: Lara Croft Go installs fine also
[Magisk] andy356:
I can't believe that was the problem! Thanks! Google doesn't code its own apps properly. :rolleyes:

---------- Post added at 01:14 PM ---------- Previous post was at 01:10 PM ----------

Is IDM+ a download manager? If so, may I suggest Aria2App and Download Navi, both available on F-Droid?
[Magisk] zkoz:
I had the same situation, please login to your Google account and push notifications will be enabled
[Magisk] obifur:
Hi,

I have the following problem:

After sucsessfully applying latest NanoDroid-Patcher, device hangs on bootlogo.

Device: Galaxy A320-FL

ROM: stock rom 8.0.0

I did the following:

- flash stock rom

- flash TWRP 3.3.1

- install Magisk 20.4

- patch "Disable_Dm-Verity_ForceEncrypt_quota.zip"

- delete:

/system/priv-app/GmsCore

/system/priv-app/GoogleServicesFramework

/system/priv-app/Phonesky

=> everything is working up to this step (booting etc.)

To achive signature spoofing I continued:

- applied NanoDroid-Patcher, but it failed with ERROR 1

- tried vdexExtractor (worked fine) -> NanoDroid-Patcher failed with ERROR 1 (I put back the original services.jar)

- tried smali (worked fine) -> NanoDroid-Patcher worked !!

However, after sucsessfully applying NanoDroid-Patcher, device hangs on bootlogo. Surprisingly, when it's plugged in on my Ubuntu-system I get the massege to enter SimCard-pin..

What might be the problem and does anyone has an idea what I should try? Which log should I post? I will do the steps again and hand it in later.

thx!
[Magisk] Akash23q2:
Hey can someone please help me I had installed my latest lineage os ROM based on android 10 and flashed with nanodroid but still my ROM allowed signature spoofing I am still not able to run WhatsApp and other apps that require play services to fiction properly.
[Magisk] starbright_:
I want to test LOS17, but I see that nanodroid patcher is not working with Q. I am a big fan of Nanodroid so I didn't ever use anything other than the patcher. Are there other options (maybe with pro/con)? If so maybe you can add it also to OP, I am probably not the only one asking (as Q is now out for just a while).

Thank you
[Magisk] obifur:
Ok, I tried it again but this time I installed NanoDroid-microG-22.6.20200208.zip directly after the NanoDroid-patcher. Same result - My phone stucks on its bootlogo. Please help - I attached (hopefully) all relevant log files.

thank you,

obifur

Edit: Is it somehow possible to "uninstall" the NanoDroid-patcher?
[Magisk] amg314:
You should not install Nanodroid Patcher after successful usage of SmaliPatcher, as they do the same job.

You cannot uninstall Nanodroid Patcher separately, but you can uninstall all Nanodroid using the following uninstaller:

https://downloads.nanolx.org/NanoDroid/Stable/NanoDroid-uninstaller-22.6.20200208.zip

You can find actual Nanodroid components at

https://downloads.nanolx.org/NanoDroid/Stable/
[Magisk] obifur:
Thank you for your answer!

Now I'm confused, because I thought the updated services.jar I created with baksmali/smali is only the preparation for being able to patch the rom. In the instruction it says:

"[...]

next install the new services.jar to device:

adb push framework/services.jar /system/framework

adb shell

chmod 0644 /system/framework/services.jar

chown root:root /system/framework/services.jar

unmount /system and flash the NanoDroid-Patcher."

(https://gitlab.com/Nanolx/NanoDroid/-/blob/master/doc/DeodexServices.md)

Am I wrong and is signature spoofing alredy enabled after pushing the new services.jar to my device??

btw: I tried the NanoDroid uninstaller but it didn't work for this problem.
[Magisk] amg314:
SmaliPatcher produces Magisk module, which you must install in common way through Magisk Manager and reboot. You do not need to do any other actions with services.jar.
[Magisk] aiphes:
Hello,

I've a Moto G with LOS14 + MicroG installed. My goal is to get mock locations working. So I put Magisk on + SmaliPAtcher but SafetyNet not pass. If I run a GPS spoofer app location stop working, whithout it seem good for transport app.

So is this module could fix my issue ?

Thanks
[Magisk] ranjodhricky:
I'm using AEX Pie Rom which has builtin signature spoofing but after flashing NanodroidMicrog my Youtube won't work and all other apps which needs GooglePlayServices won't work I also tried it in Havocos but no luck only works in CRDroid rom. I tried to flash Patcher but fails with msg "your rom already has signature spoofing" something like that
[Magisk] temporarium:
What does your microG self-check indicate? Especially the first three items? If one of them isn't checked, try tapping that item.
[Magisk] the_Pan:
is there anything special to consider when installing nanodroid 22.6 on the Xiaomi Mi 9TPro? I try to run the settings package, but it won't start and the phone seems to freeze. :(

I already found out that I have to mount /system by hand in twrp.
[Magisk] MajorBoobage:
I was having similar issues, but couldn't find any well written documentation, or help on the forum, so I just gave up.

Please let me know if you manage to solve it.
[Magisk] hypern0va:
Just updated to LineageOS 17.1 (Android 10) and some apps which were previously, on Android 9, correctly making use of Mapbox, now show no map and the Google logo is visible on what should be the map view, down on the left.

Is Mapbox not working on Android 10?

EDIT: apparently only some apps have this problem, others don't. However, I'm 100% sure the first worked on Android 9.
[Magisk] m0zz:
Hello everybody.

I saw that lately the android 10 patching process was enabled and i was willing to try but it crashed.

Would you mind to have a look into the recovery.log? Its the only log i got right now

pastebin.com/DPvhYTDH

The interesting part is:

> patching signature spoofing support

>> patching services.jar

libc: Access denied finding property "heapprofd.enable"

libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 654 (main), pid 654 (main)

Aborted
[Magisk] the_Pan:
Okay, I managed to install nanodroid, using the config files from my second phone, but that's no solution for future updates of nanodroid. Also you sometimes have to mount /system manually in the recovery.
[Magisk] MajorBoobage:
Do you mind writing down what you did?

There is really not enough information anywhere.
[Magisk] the_Pan:
There is not that much to write.

1. Copy (or create) the config files (.nanodroid-apps, .nanodroid-overlay, .nanodroid-setup) from another phone to the root folder of raphael's internal storage

2. Check in twrp/orangefox whether /system is mounted

3. Install the nanodroid.zip(s) in recovery (after the rom is flashed and at least one time booted)

As I wrote, far from a solution, but for now it works. It still would be appreciated if someone with experience would take a closer look on why the settings-installer fails to start only(?) on raphael.
[Magisk] MajorBoobage:
Few questions if I may:

1. Can you post your config files?

2. Which ROM are you using? How will it boot without gapps installed?

3. Which FW are you using?

Thanks!
[Magisk] the_Pan:
Sorry for the late reply, I will send you the files I use when I arrive at home for Easter.

Meanwhile I found this:

https://xdaforums.com/android/development/microg-unofficial-installer-t3432360

It's an installer without graphical interface, maybe you wanna try it to. ;)
[Magisk] obifur:
Thank you very much, I didn't use the SmaliPatcher. I only tried the NanoDroid Patcher.. however, you helped me a lot because I tried the SmaliPatcher and it worked!! Now I have a smooth running stock ROM with microG :)

I described everything in detail here: https://xdaforums.com/showpost.php?p=82224043&postcount=158
[Magisk] starbright_:
Location service not supported/UnifiedNlp not registered

I installed latest stable microG to my LOS17/Magisk system. Selfcheck reports this problem:

- system doesn't supportLocation service

- UnifiedNlp not registered

I don't get it. What is wrong here? I should install an exposed module ?!?

UnifiedNlp is installed by microG 0.2.10.19420 as 1.6.9 and as API 1.5.7

I did configure 2 backends.

Looks like: https://postimg.cc/k6vkfK6Y
[Magisk] ainaz:
[MENTION=4187311]Setialpha[/MENTION]

hi, here is my first time trying microG which I really appreciate this project, and I admit this project is very good and brilliant.. but there are some things that make me go back to using Gapps. including when I use microG ( the two below are very important for me and everyone) :

1. I can't to sync my contacts from Google account. (Here I tried several times to synchronize, but instead it took a long time and it didn't work and no result)

2. Unable login to YouTube (I use YouTube vanced 14.21.54 rooted version)

Note:

*When using Android Q : number 1 & 2 didn't work , so I tried using Pie.. that's also still didn't work (no result)

*There I use flashable NanoDroid-microG-22.6.20200208.zip stable version

my device: HTC m8

Thanks in advance
[Magisk] Keule-Tm:
Hi there, I'm obviously not Setialpha, but maybe I can help you.

1: Did you flash the NanoDroid-Google package as well? It contains the necessary sync apps.

2: You could try NewPipe (probably the best open source yt client).

If you either did flash said package or do rely on YouTube-Vanced, your question would be better off at the MicroG thread (this thread is the NanoDroid thread - and yes, they're different projects, NanoDroid heavily relying on MicroG).
[Magisk] Xyleme:
Same issue here...
[Magisk] Setialpha:
It's known upstream issue from microG on Android 10
[Magisk] ainaz:
1. Yes I flashed NanoDroid-Google package ( 3 more I flashed ) but always not installed

2. As i know (YTB.vanced non-rooted) is needed microG.ytb, But for ytb.rooted version it's not needed for it. So why here I write post.

[MENTION=4187311]Setialpha[/MENTION] ( maybe The known bug is play store are not installed property. Maybe that's from fakeStore also, I don't know which one)

Here screenshoot : I installed PlayStore manually before and after with working YouTube (fix login) , and I make as system-app

Thanks
[Magisk] crypta:
How about cloning the microg repo and merge in the existing pull requests, which address the issue?

So nanodroid would have a stable and (also under android 10) working upstream.

When or if the official microg rep is updated, the cloned one would also profit from the changes.

I think this would help all android 10 user, using nanodroid.

Also it is common practice at github to 'extend' slow developing repos.

In microg official repo the problem seems no maintainer is adressing the existent pull requests. Which indicates that the maintainer is 'away'.
[Magisk] Setialpha:
I've already planned sn unofficial downstream buuld, but then there's Animal Crossing: New Horizons sucking up my time.

Maybe I'll find some time for a build tomorrow.
[Magisk] NegilisticBluesman:
Hi, i saw on git that patcher now supports android 10, so when it will be updates on nanolx stable repo? Thx
[Magisk] daywalk3r666:
https://nextcloud03.webo.hosting/s/EPwY7JFsSRR8Z8x

try this is a snapshot build
[Magisk] NegilisticBluesman:
Oh, does it deodex or i should do it manually?
[Magisk] daywalk3r666:
is from source. it do the same as setialpha pushs a new release
[Magisk] Setialpha:
F-Droid repo has new updates:

- mpv: snapshot from 12.04.

- Google Play: 19.7.12

Patcher support for Android 10 is coming nearer, two new commits to test for users in git repo.

Edit: no custom microG build yet.
[Magisk] crypta:
Any chances to see the naondroid microg repo with fixes soon?
[Magisk] Setialpha:
Likely this weekend.
[Magisk] rayman95:
chief, do you know if it's possible to do a flashable zip of this script, to facilitate install and avoid errors...

thanks..
[Magisk] aCIDsLAM:
Somebody tried, if it works in Systemless Mode with latest Magisk and Edxposed now? It works as installing as user but after every update, it resets too for me so i want to stock MicroG Installation.

But would rather use Nanodroid, with the neat features in it. Maybe somebody can share if they have new experiences with this setup.
[Magisk] carlos974:
FYI !

New update

https://downloads.nanolx.org/NanoDroid/Beta/

Thanks to [MENTION=4187311]Setialpha[/MENTION]
[Magisk] Setialpha:
[MENTION=265865]crypta[/MENTION] I know the microG build doesn't install, I haven't yet posted a release info for the beta for that reason. The other packages are fine. Fixed buuld and official announcement later today, currently not on PC.
[Magisk] crypta:
Changelog doesn't show microg improvements. Are they included?
[Magisk] Setialpha:
Nipe, not yet.
[Magisk] Keule-Tm:
Thanks for your work.

Just tried the setup wizard; it seems it cannot properly select swipe, and there's radio buttons for the init scripts (instead of combo boxes).

Edit: some more.

If you don't write anything in utils, there's funny string things. For me it was

nanodroid_utils="nanodroid_utils""findfs findmnt hexdump lessecho lesskey lsblk lscpu lsipc lslocks lsns ncal whereis"

or something like that.

After fixing that in the setup file, everything went smooth.
[Magisk] Tomatot-:
Hi, just tried latest patcher with LOS 171. on my oneplus 6. I end up with an error: "!!failed to apply patches"

https://i.imgur.com/KJn1X87.png

Any idea? Any other log I could provide?
[Magisk] Setialpha:
twrp.log would be requiredto check
[Magisk] bonbonboi:
Does the beta build fix the known issue of unified Nlp has on Android 10?
[Magisk] bonbonboi:
Tested their pkg, it didn't solve the UNLP issue on Android 10.

---------- Post added at 13:47 ---------- Previous post was at 13:45 ----------

What Do I Do Now? go back to Pie or wait for a while?
[Magisk] d1n0x:
Wait for 2 weeks or so until Marvin continues development for microg
[Magisk] ToughDBlue:
Newbie questions about NanoDroid

I'm possibly going from an iPhone to Oneplus 7T. Was thinking about Pixel 3 but screen is too small. Anyway, I want my OnePlus 7T to be free of anything google and I don't want to root my phone. Does NanoDroid solve what I want to do? Does it work on the Oneplus 7T? Thank you for the responses.
[Magisk] temporarium:
Root your phone, man. You're getting one of the most developer-friendly phones and you don't want to root?? Root is ownership and control. Root has no negatives and lots of plusses. Root it and be free ?
[Magisk] urgali:
You cannot flash nanodroid without magisk so it means you cannot use it without root.

Also, as the user above me wrote, rooting is advised.

Anyway, if you don't want to, forget modules like nanodroid
[Magisk] ToughDBlue:
Isn't rooting illegal? I thought a custom ROM can be installed without rooting.
[Magisk] temporarium:
Some manufacturers will tell you that unlocking your bootloader (required for rooting) will void your warranty, though I believe that doesn't stand up in court. That's why most now make such unlocking practically impossible. OnePlus is an outstanding exception. Anyway, they don't want you to unlock and root, because then you can remove some of their bloatware, block their ads, or "worse still" install a custom ROM ? and OWN YOUR PHONE.
[Magisk] crypta:
Illegal? In which country?

Is it good moral to let you buy hardware and don't give you full control, but instead using the community to help creating the leading mobile os and make it then, step by step, more dependant on closed, copyright protected source aka gapps?
[Magisk] ToughDBlue:
Ok. So can I root the phone and use NanoDroid to remove all the google apps without installing a custom ROM? There might be some Oneplus apps I want to keep and I've read that the camera works better with the Oneplus app. Or is it better to install a custom ROM?
[Magisk] temporarium:
From what I've heard, the stock OnePlus oxygen ROMs aren't too bad. So try it with NanoDroid and down the road you have plenty of other custom options as well, if you so choose.

The beauty of having an unlocked bootloader and custom recovery is that it's easy to backup and restore your system while you try different ROMs ?

So check out the corresponding XDA thread for your device, read up on unlocking and rooting ??
[Magisk] d1n0x:
The pixel 3 would actually be a better choice as pixel devices are among the most secure ones when it comes to hardware. Flash GrapheneOS on it and you have a secure and private device
[Magisk] ToughDBlue:
Thank you for the advice. I never heard of GrapheneOS and so I found their website and read up on it. Sounds interesting and exactly what I'm looking for. I do need to get Microsoft apps on this phone for work purposes. Will I be able to get those apps installed and will they work?
[Magisk] d1n0x:
I'm not sure if they work without Google services entirely since it's not possible to install MicroG on Graphene (and it's not intended to work). You could use a clean ROM without Gapps or MicroG and test it out beforehand. Most apps will miss push notifications, some may display a blank map when there is supposed to be one or straight up crash. It's a matter of testing
[Magisk] ToughDBlue:
Thank you both for the great advice. I've decided to purchase the Oneplus 7T and to keep the stock OS and use NanoDroid to remove gapps. However after spending literally hours doing research, as I'm a newbie to rooting, custom ROMs, etc., I see that NanoDroid requires TWRP. TWRP doesn't support the Oneplus 7T yet. All I want to do is keep the Oneplus 7T stock ROM, remove gapps, install MicroG so I can use the Aurora Store to install Microsoft apps, and have notifications work for all apps. Can I do all this even though I can't use TWRP?
[Magisk] githyanki:
Just installed Ms word, didn't log in, but it loads and looks like everything is working fine. I can test any others if you would like. PM me to continue discussion since it is not nanodroid related.
[Magisk] rayman95:
yes, it works with 2.7 beta 2 version...I'm on it..
[Magisk] bonbonboi:
You're spreading wrong information, nanodroid can be used as "system" means it doesn't need magisk (root) at all.
[Magisk] amg314:
To install microG without root, you need TWRP and a fairly high qualification.

Therefore, it is much easier to get root rights (install Magisk or SuperSU) and conduct a standard microG installation. You can remove root after microG installation.

PS If you have root rights, you can install microG without TWRP.
[Magisk] Setialpha:
Ofc you can flash ND in system mode
[Magisk] urgali:
Yeah my fault, I'm so used to flash it with magisk I actually forgot it was available at system too
[Magisk] ainaz:
Btw i use M_Banking apps for checking my balance, when I use gapps it's (m.banking) can open and run property, but when I use NanoDroid the app is opened but it's cannot run property.. (always loading)

Any way to solve ?
[Magisk] Keule-Tm:
I think that question should go to the MicroG thread. NanoDroid relies heavily on MicroG but it's more about providing/packaging.
[Magisk] crypta:
I would try banking 4a from subsembly. Its a commercial app, but not that stupid insane like most 'native' banking apps. First check if they support your bank. If yes, it is the best banking app you can get.
[Magisk] bluesmashman:
help please

hello i have some problems

first one is unifiednlp do not have location test to geocoder and

second some apps are crashing here is log del.dog/jockuxybal.txt

and i can't update aurora store to latest version
[Magisk] crypta:
Android 10? location won't work until microg ist fixed. More to this earlier in this thread.

Second, did you try to uninstall and reinstall the apps fresh?

Third, try aurora from fdroid.
[Magisk] Estebanium:
Hey there, is it possible to flash newer Nanodroid over older Nanodroid? If you installed Google Play Apps and something with Nanodroid is not working, they keep crashing until uninstalled and installed again. This has something to do that they can not register.
[Magisk] githyanki:
As you have noticed, flashing newer version breaks FCM registration. Just update thru fdriod.