yashsingh1/xdaforums huggingface dataset:
[Magisk] marcdw:
Okay, here's the recovery log for ParanoidAndroid. The error section is pretty short so I include it here also.

>> [1/2] applying hook patch
info: read '/tmp/services.jar'
info: read '/tmp/dexpatcher/hook_4.1-6.0_services.jar.dex'
error: type 'com.android.server.pm.PackageManagerService': (PackageManagerService.java:0): target not found
1 error(s), 0 warning(s)
!! dexpatcher failed

https://mega.nz/#!vFom1DaY!p7FdFomdRKCyJv9TVC7SDVbc7HbORUYLf3sgVngo7SU

LG G3 D851, AOSiP v5.9 ROM, microG (NoGapps), MultiROM, Tapatalk 4.9.5
[Magisk] Setialpha:
Ok, this log has more information. Your device is arm64, but dex2oat is 32bit. Uff... I'll figure out a new way to resolve expected architecture.
[Magisk] Setialpha:
This means dexpatcher doesn't find the entry point on where to patch services.jar. I'll try to figure out.
[Magisk] slothdabski:
[MENTION=4187311]Setialpha[/MENTION]

I tried to patch DU 7.1.2 on op3 and got an error. Here is the log

---------- Post added at 06:26 AM ---------- Previous post was at 06:10 AM ----------

https://drive.google.com/file/d/0B1My3ELWb01vb0pQdWtyRW9nTDQ/view?usp=drivesdk
[Magisk] Oswald Boelcke:
GCM Pushes

@Setialpha: Just a brief question regarding Google Cloud Messaging (GCM). After (re)flashing of NanoMod, am I correctly assuming for GCM to work that I need to uninstall all applications using GCM, and to re-install them or to restore their Titanium backups again. Or let's say it shorter: Same procedure as with microG GmsCore by MaR-V-iN?
[Magisk] Setialpha:
Same of course.
[Magisk] piet8stevens:
Yalp + Google Play Store

Hi, for some few apps, I need to download the version I paid for from Google Play Store. For most of my use, yalp and F-Droid work really well. I have flashed a zip with Google Play Store, but it does not show up. Could that be something NanoMod does? Would it be possible to add an option that allows yalp + Google Play Store?

Many thanks. I have been working a lot to get location backends to work and it looks very good.
[Magisk] slothdabski:
I'm using the nanomod microg module and it allows me to restore my in-app purchases and paid apps :)
[Magisk] Setialpha:
If you have choosen Yalp Store with NsnoMod, it also installs FakeStore so that apps believe, you have PlayStore installed and can use the SafetyNet API. So, reinstall NanoMod with PlayStore instead of YalpStore.
[Magisk] piet8stevens:
OK, I did that. Now, Titanium Backup Pro key works and also my Economist app. Those were the only two where I ran into problems. I do not feel comfortable as Play Store immediately identified my location and that I have a new device even though I had disabled all its access rights. There must be another way to keep google completely out.

I do still have a SafetyNet check issue: I do not get a green in the Magisk manager - it says 'Cannot connect to Google API' and my bank app won't run. I know this is not directly a NanoMod question, but any ideas?
[Magisk] slothdabski:
Per the OP, you have to install the droidguard app as a user app bc magisk doesn't mount it correctly.
[Magisk] piet8stevens:
Thank you. I have never made a connection with the SafetyNet check. I copied droidguard to my sdcard and installed but no difference in SafetyNet. It does not show up in the app list, though - not sure that is normal. Is there anything else I missed?

EDIT:

a) I also had to rerun the patcher after having run NanoMod to get Play Store.

b) Still no success - SafetyNet check says no internet.
[Magisk] Oswald Boelcke:
I'm not using Yalp but F-Droid and Google PS that comes with NanoMod microG. Ensure the values in .nanomod-setup are set as provided in OP. And the link in my reply to your post in the UnifiedNlp-thread, you find screenshots how well it works with my purchased applications.
[Magisk] droika:
Maybe an microG issue, but the TomTom GO app doesn't work (can't connect to the TomTom servers).
[Magisk] piet8stevens:
A couple of days ago, my SafetyNet check passed, but now, it says "Cannot check SafetyNet, no internet?"

Does anyone know how to fix that?

Thank you, Piet
[Magisk] Setialpha:
Well, I suspect you do have network connection, so, no, I don't know. Maybe a logcat helps.
[Magisk] culiacanazo:
I've actually been having the same problem but i haven't bothered
[Magisk] Bogdan010:
Restart?
[Magisk] d1n0x:
Already tried... Nothing changes. Strange thing is some apps seem to get location just fine while others don't.
[Magisk] Bogdan010:
Change nominatim source, set permissions or post log here
[Magisk] d1n0x:
I am now on OmniROM and everything is working as intended. Seems to be something with LineageOS.
[Magisk] kurtn:
Strange indeed. Try switching location from high accuracy to power saving.

---------- Post added at 01:31 AM ---------- Previous post was at 01:25 AM ----------

You are omni? Didn't you ask for lineage before?

Patcher doesn't work, because omni has signature spoofing implemented. Try disabling fakegapps.
[Magisk] inVain_theGenuine:
beta's phonesky & patches confirmed working :)

haven't really try anything yet, as I just finnished my fresh install on slim 7 stable 2.

wish me luck :fingers-crossed:
[Magisk] rapiet:
I installed Lineage 15.1, then magisk, and then NanoDroid-microG and reboot.

After reboot i installed Xposed for magisk.

After this, installed Xposed module fakegapps for spoofing signature success.

I have a motox 2014 et everything works great.

Sorry for my poor english
[Magisk] d1n0x:
I tried the patcher on Lineage first, but it didn't work and I had location problems.

I then switched to Omni which has signature spoofing enabled by default and it works flawlessly.

That's also how I did it, but I couldn't get a location. ANyway, working now on Omni.
[Magisk] Setialpha:
Possible, but not related, signature spoofing has nothing to do with nlp.
[Magisk] d1n0x:
I know.

Now I am getting the samw error as on Lineage, plus Deja Vu and Mozilla Location services force stopping randomly. How can I provide logs?
[Magisk] Shadow53:
OmniROM has a built-in app called Matlog that you can use to take system logs instead of using adb logcat. I believe it has an option for exporting the log to a file.
[Magisk] Josh:
Hello guys I'm installed Aosp extended ROM on Nexus 5x with gapps and magisk then see that ROM has spoof signature . Then I wiped system,cache and dalvik and install Rom,Magisk and rebooted. In Magisk installed NanoDroid-16.2.beta2 then rebooted. Everything works except google contacts and calendar sync so flashed Google calendar and contacts sync zip via TWRP but unfortunately doesn't work. I tried to catch logs. Any help would be appreciated.
[Magisk] d1n0x:
You need to give contacts and calendar permissions. Go to settings, apps, permissions, contacts, press the three dots on the upper right, hit "show system" and enable contacts sync.

Do the same for calendar.
[Magisk] Josh:
Forgot to write, already do that. Maybe I try to wipe again and start from beginning!?
[Magisk] guest4711:
Before wiping everything and starting over you should stop all google related services and wipe their data only. Then restart and register your phone again...
[Magisk] Josh:
I wipe system ,cache and dalvik ,flash AEX ROM,Magisk , NanoDroid and it works. Thanks anyway :good:
[Magisk] demonoidmaster:
You shouldn't dirty flash a different rom over another, it'll cause problems if you don't wipe your device first (or at least delete certain files & folders from /data first)
[Magisk] Bludwurst:
...but he didn't do that...
[Magisk] Josh:
I flashed same ROM, doesn't have any problems ;) Just one question guys,in couple of ROMs which I already flashed before and now I've got wakelocks qcom_rx_wakelock in every case I do clean flash. What is that and what causing this!? Thanks
[Magisk] inVain_theGenuine:
there's a permission file for google contact & calendar on the "gsync/etc" folder in the zip file.

copy this file to the system/etc/permission folder and grant the 644 permission
[Magisk] Josh:
Everything is fine already,thanks :good:

Edit: except wakelocks : qcom_rx_wakelock
[Magisk] demonoidmaster:
My bad i misread the other post where you said AOSP i didn't notice the "extended", compared to your other comment after where you wrote it just as AEX

---------- Post added at 06:27 PM ---------- Previous post was at 06:12 PM ----------

Has to do with wifi, you can do this here and see if it fixes anything

https://www.reddit.com/r/oneplus/comments/59hv7c/op3_wifi_battery_drain_qcom_rx_wakelock/

Or go to your router, make sure you disable STP and change the DHCP lease to like minimum 4hrs or more, disable keep-alive packets
[Magisk] Josh:
Thanks ,I've got that isue at work so will check tomorrow and got bad signal in some area at work.
[Magisk] Thaymus:
I searched for Maps on F-Droid and found nothing
[Magisk] d1n0x:
https://f-droid.org/packages/com.github.axet.maps/
[Magisk] Thaymus:
Hello

I can't log in Gmail

I tried the in built Email application showed that I must log in using chrome browser and now it showed your email & password are incorrect

I installed Gmail application, at first run it asked to enter the email when I entered it, Gmail app showed this account is already exist on this device, I entered setting>accounts and removed Google account then went back to gmail app tried to log in, provide username and password and before the app redirect me to the email screen, suddenly it shows the initial setup page where I first should choose Google then provide user name and password
[Magisk] Shadow53:
For the built in email app, either enable "insecure" applications on Google or create an app-specific password for the email app instead
[Magisk] Scottchy112:
Either nanodroid doesn't support Gmail (I'm not sure about this) OR you can try to check the contacts permissions in app settings.

E.g. When i tried to log in to google chrome app i had the same problem like you, but then i checked the permissions in the settings and checked 'contacts' and then it worked.

You can try this
[Magisk] Setialpha:
All apps that need to identify your Google-Account need the contact/phone permission, including maps, gmail and whatever.
[Magisk] d1n0x:
I am still not able to log into gmail. I have a google account set up, have given all permissions and gmail shows up in the account. But after the intro screen, it says I should add an email address.
[Magisk] Josh:
You can try K-9 mail !? I use it and works fine.
[Magisk] d1n0x:
I do have my account set up in the stock email app, but it behaves really inconsistently
[Magisk] the.D:
I know this isn't NanoDroid specific but I can't get microG working on any Android 8.1 based ROM. Shortly after booting microG Core Services stops working. Applications are registered to Google Cloud Messaging but the service is always disconnected.

Edit: Latest NanoDroid with permission changes fixed my issue!
[Magisk] Setialpha:
16.2

Version 16.2 is now available. Highlights since 16.1:

A/B device support (initial), in case installation doesn't work from TWRP, try from Magisk Manager or vice-versa and report your results (I don't own a A/B device)

DroidGuard Helper needs to be installed as system app for several devices for SafetyNet to attest CTS-Profile, but in Magisk Mode it crashes when installed as system app. Thus in Magisk Mode DroidGuard Helper gets re-installed as user-app/update upon first boot, fixing both CTS-Profile attestation and crash (previously it was installed as user-app only, which fixed the crash, but prevented CTS-Profile attestation)

fix storing recovery.log after installation

nanodroid-overlay -U will update Fake Store, Play Store and OpenLauncher (if installed; those are custom apks from NanoDroid which can't be updated from F-Droid or Play/Yalp Store)

include (modified) microG permission settings files by [MENTION=5627087]ale5000[/MENTION]

Full package: logcat init script now deletes logs older than 7 days upon reboot, to prevent /data pollution

Full ChangeLog since 16.1:

* Bug Fixes
* Full, microG, F-Droid packages
* fix storing recovery.log in /data/adb/ after installation
* General Changes:
* Full, microG, F-Droid packages
* use modified Magisk mount code to support of devices with A/B partion scheme
* Full, microG packages
* install microG permission settings file by ale5000
* updated Credits section in README
* extended by FAKE_SIGNATURE permission for microG Gms Core and Play Store
* removed NewPipe from microG permissions file
* install DroidGuard Helper as system app
* fixes SafetyNet attesting CTS-Profile on several devices
* in Magisk Mode Droid Guard Helper crashes as system app, thus it will be re-installed as user app upon first boot
* Full package
* logcat init script removes all logcats older than 7 days upon reboot to prevent pollution
* nanodroid-overlay Script
* add `-U`, `--update-apks` switch to nanodroid-overlay script, downloads and installs latest versions of custom NanoDroid apks, requires Busybox to be installed (for wget applet)
* Fake Store
* Play Store
* OpenLauncher
* Updates (automatic)
* KeePassDroid (2.2.1)
* F-Droid (1.1-alpha3)
* Odyssey (1.1.13)
* (Simple) Calendar (3.3.0)
* (Simple) Gallery (3.5.2)
* Kernel Adiutor (0.9.74.3)
* K-9 Mail (5.501)
* OpenKeychain (4.9)
* MPV (20180222)
* switch from custom to official build
* Updates (manual)
* Play Store (9.0.15)

Download links

Download from AFH or Nanolx.

Bug reporting

In case of errors, please provide

/data/adb/.nanodroid_MODID

/data/adb/.recovery_MODID

logcat (if applicable)
[Magisk] b4rgh3st:
Hi [MENTION=4187311]Setialpha[/MENTION],

the patcher fails with an "error 1“ on my old razr i with lineage 14.1

Log is attached.

TIA
[Magisk] wmatheney:
I know this is a noob question, but I'm wanting to quit using Gapps and don't have any experience with this app. It's it a replacement for Gapps?
[Magisk] bonbonboi:
Check out @ microg.org

No need to ask more general question unless you wanted to be attacked by a rude member who's got zero tolerance to such newbie posts. [emoji2]
[Magisk] J4jks:
Hey [MENTION=4187311]Setialpha[/MENTION] why is NanoDroid is not ROM dirty flash safe, in system mode? Why don't you create an add-on to ROM dirty flash safe ?
[Magisk] kurtn:
Nanodroid patcher is dirty flash safe
[Magisk] Loader009:
but not nanodroid microG and fdroid, you need to reflash then when installed in system-mode.
[Magisk] kurtn:
That's why I use shadow53's zips. No discussion please, it's OT here.
[Magisk] Setialpha:
Because other issues have higher priority and Magisk Mode installation is tbe prefered way to install.

Still, that actually is on my todo list since something like forever, but I haven't gotten around adding it, yet, may happen soon-ish™ to soonerio™.

For a detailed explaination of soon™ refer to: https://wow.gamepedia.com/Soon

(I'm not playing WoW, I just like soon™)
[Magisk] guest4711:
And I think it is good as it is. I'm used to wipe system to have a clean installation and not to worry about some relicts/garbage from other tests...
[Magisk] iacchi:
Quick question for setialpha: if I dirty update nanodroid (so, without uninstalling previous version) on a system where I applied the nanodroid-patcher before, do I need to also re-apply the new version of the patcher? I'm asking because this is failing (when installing from twrp) because a .nanodroid-patcher file already exists. In theory the patcher is only to enable signature spoofing on systems that don't have it, right? So, once installed, even an older version, it should be fine (?)
[Magisk] Garry050:
SafetyNet passed... yay
[Magisk] kurtn:
Just see microg self check. If spoofing is checked, patcher did the job. No need to do anything.
[Magisk] iacchi:
it's good then :)
[Magisk] kurtn:
Hit thanks
[Magisk] androidfan999999:
QUOTE=Setialpha;][/QUOTE]

With agps data available locally on phone, I get a gps fix within 10 seconds (Tried on gps test). The agps data can be cleared & updated whenever network connection is available.

But, agps data does not get updated if nanodroid is installed resulting in a 3 minute gps fix, even with nlp disabled during creation of nanodroid setup files.

The issue is not there after uninstalling nanodroid & later copying microg & playstore apk into system/priv-app.

Is it due to overlaying of com.qualcomm.location? Can this overlay be made optional in setup?

Thank you vy much for the great work, [MENTION=4187311]Setialpha[/MENTION]
[Magisk] Setialpha:
It (com.qualcomm.location) conflicts with uNlp, if it works on your end, it's a corner case, it should not.
[Magisk] Setialpha:
Play Store 9.1.23 released by Google, updated my modified version, too. Users of NanoDroid 16.2 can run the following command (as root) on their phone to update:

nanodroid-overlay -U
[Magisk] Setialpha:
I could, though it would need to trigger overlays disabled, too, else the installer would fail. I'll see.
[Magisk] razorfancy:
Can you please explain me where and how to use that code you mention?

I already install the NanoDroid MicroG 16.2
[Magisk] guest4711:
After installation open a terminal window and type the mentioned command. It will update Playstore with a version compatible with microG.

su -c novl -U
[Magisk] razorfancy:
Where and how can I open an terminal window?
[Magisk] ydd0ras:
hello [MENTION=4187311]Setialpha[/MENTION] sorry for fast reply. was on a Nougat ROM for a week. Last night the very first 8.1.0 (LOS 15.1) has been released for the A1. Have successfully flashed NanoDroid microG, but not the patcher. The ROM is deodexed (I think), but has no in-built signature spoofing.

Here the log files.

Many thanks!

Update:

The LOS 15.1 is odexed though. Mist!
[Magisk] Didgeridoohan:
http://lmgtfy.com/?s=d&q=android+terminal
[Magisk] razorfancy:
You must think that you are funny but if you dont want to help just dont reply.
[Magisk] Didgeridoohan:
No, I don't think I'm funny, but your answer is right there in that link I gave you.

If I had wanted to be funny I would also have written something like: "All out of spoons".
[Magisk] Punkiderma:
It tells me

wget: bad address 'www.nanolx.org'

!! failed to download Play Store
[Magisk] razorfancy:
Ok my bad sorry, I miss understand that link as an troll gif.

So I should use an app like Termux on Playstore to do that right?

I was confuse if I should use an terminal app on Play Store or was something in the magisk app.
[Magisk] Didgeridoohan:
Termux and Terminal Emulator are two very useful apps.
[Magisk] ojm94:
Why is patcher saying that Lineage 15.1 is odexed and therefore cannot be patched? Lineage is deodexed AFAIK?
[Magisk] Shadow53:
Looks like they changed that for the 15.1 release. Lineage 15.1 is definitely odexed.
[Magisk] b4rgh3st:
Hi all, hi [MENTION=4187311]Setialpha[/MENTION]

any idea what's causing the error 1 when I'm running the patcher?
[Magisk] jenslody:
Or if you can connect from a pc with usb, you can download install adb for your OS (many linux distros have it in their repo) and connect via "adb shell" from a pc console.

"adb" is also very useful to fetch logcats from your device to debug errors.

There are als several threads about adb here on xda (if I remember correctly).
[Magisk] Rupamxx:
I'm on pixel xperience 8.1 in mido(RN4_SD). Tried flashing the microg zip and the microg patcher zip. Says odex ROMs aren't supported and it is aborted. Any suggestions? Help will be appreciated.
[Magisk] Ex_FallenSkyTear:
testing safetynet status i received this error message "fail (SafetyNetApi.AttestationResult success == false or empty payload)".

i don't know if here is right thread to post it.
[Magisk] guest4711:
Search this thread for "odexed" or see https://xdaforums.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928/post75693780
[Magisk] kurtn:
[MENTION=7771411]Rupamxx[/MENTION]

Or install xposed fakegapps
[Magisk] Ex_FallenSkyTear:
i have validus ROM, deodexed, but i tried to disable system signature spoofing and install fakegapps: some error, in magisk result "invalid response".
[Magisk] kurtn:
And why should someone do such a stupid thing?
[Magisk] Setialpha:
Check if Droid Guard Helper is properly installed.
[Magisk] Ex_FallenSkyTear:
because nothing work and i tried anyone solution?

i don't think it's stupid.

---------- Post added at 08:55 PM ---------- Previous post was at 08:51 PM ----------

checked, it't installed.

i must install it in system partition?
[Magisk] kurtn:
I think, we should sort out the basics before doing sophisticated things as safetynet.

Do you get all lines in self check checkmarked?
[Magisk] Ex_FallenSkyTear:
obviuosly.
[Magisk] Setialpha:
KK is very old, I suspect dx created an incompatible dexpstcher binary. I may try an older version of dx and provide a test build.
[Magisk] Setialpha:
And I guess SafetyNet is enabled and set to use official servers?

Then we need a logcat during attestation process.
[Magisk] Setialpha:
Patcher and Uninstaller don't support A/B yet anyways, will be added soon™.

Yes LOS 15.1 is by default always odexed.
[Magisk] b4rgh3st:
But it's not running KK but 7.1.2 (clean install)
[Magisk] Ex_FallenSkyTear:
yes, all is set right.

now, i'm changing ROM, if the problem persist, i'll take and send logcat.
[Magisk] inVain_theGenuine:
I've got no problem with sky net,

all I did is placing droidguard on "priv-app"
[Magisk] Setialpha:
With 16.2 it already is by default.
[Magisk] Didgeridoohan:
OH MY GOD! It's self-aware! We're DOOMED!

Sorry...

Couldn't resist...

:p
[Magisk] Josh:
Validus doesn't work!? Have you tried other ROM!? I'm on AEX extended and works well.
[Magisk] Ex_FallenSkyTear:
in cypherOS work.
[Magisk] Josh:
Any issues how is battery life!?
[Magisk] Ex_FallenSkyTear:
i'm testing...
[Magisk] inVain_theGenuine:
I'm still on the beta version, and literally just finished updating the playstore via terminal command.

what you did are trully amazing :)

don't be!

it's really good to be able to laugh on a technical forum again.

just like the good ol' days ;)
[Magisk] gyeltekin:
Google Sync is always off

hi

i installed HaoZeke's crDroid, and magic.

and then i installed NanoDroid-16.2.20180302

everything is working great

i setup microG same with read me file. And i dont have any problem with google play

but can not sync contacts. i

give all permissions

but nothing changed.

i wipe again, again install crdroid and magic. again install nanodroid. nothing changed. i flashed patcher still same

"Google Sync adapters lacking permissions

to fix this either

issue the command nanodroid-overlay --permission as root (what does this mean? )

go to Settings > Apps > Google Contacts/Calendar Sync > Permissions > grant permissions"

Can any1 help me pls?
[Magisk] guest4711:
Open a terminal window on your device, switch to root and grant the permissions. Do that by typing:

su
novl --permission

Or you may use the graphical userinterface.
[Magisk] gyeltekin:
still same :/

i sent pm mate
[Magisk] razorfancy:
[MENTION=4187311]Setialpha[/MENTION]

This didnt work for me using Termux I get this error:

FATAL: kernel too old

Aborted

Can someone please help with this error?

I am using RR N for i9082 with latest Magisk and NanoDroid MicroG gapps.
[Magisk] utg1:
I have a strange issue with new version: I have to keep disabled Google play store otherwise microG settings loses all enabled settings (device registration off, GCM off, safetynet off and so on...).

Possible "culprit"?? Any idea?
[Magisk] Punkiderma:
Try place this file in system/etc/permissions
[Magisk] demonoidmaster:
So got this working, only thing now is that i reinstalled hangouts and contacts from play store but they just crash when i open them, permissions given to them and everything, other than that I'm golden

Anybody know what could be the issue?
[Magisk] marcdw:
For Hangouts...

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

ZTE Axon 7 A2017U, AOSiP 6.0-Derp ROM, Multiboot, Tapatalk 4.9.3
[Magisk] demonoidmaster:
That fixed it thanks, now i just gotta tackle the contacts app and fix it
[Magisk] razorfancy:
I didnt install contact and calendar sync when I flash the NanoDroid MicroG dont need them, all I want is to update the Play Store.