yashsingh1/xdaforums huggingface dataset:
[Magisk] Windroid-user:
Sooo, uhm...what's the best solution now?

I used JarlPenguin's solution and it worked great until recently (last payment was on 14th of march).

Thanks
[Magisk] cbarai:
Its been almost a week since I moved to the canary build. No issues with payments since the update, you have to ensure you go into the magisk hide and select all of Google Pay and all of Google Play Services to ensure it works.

Before these issues, I was on GPS beta. I had downgraded following instructions from post 5, those didn't work. After updating to the Magisk Canary build, I've flashed the 9.0.4 OOS ROM which brought the march security updates, until then I was on 9.0.3 so it couldn't have been the march security updates that stopped it from working.

I've restarted the phone a few times in the week and still no issues with GPay. I've also now moved back to the GPS beta after the success with the canary build and no issues since the update from v15 GPS to v16.0.86. I'm still able to make payments without any issues.

I think clearing all of magisk with the canary cleaner and installing both canary magisk manager and canary magisk, followed with magisk hide setup for all of GPS and GPay should work without any issues. There is a specific update in the manager that allows selecting GPS modules in magisk hide that makes the difference. If I'm not mistaken previously Magisk automatically hid com.google.android.gms.unstable only and did not allow selecting GPS from within Magisk hide. Now this is allowed and selecting all of GPS & GPay seems to make the difference.

Edit: even my Google play store now says certified device, I just had to clear play store data after installing canary magisk.
[Magisk] Windroid-user:
Seriously thanks and I have a feeling you wrote this before I posted? Because that was crazy quick lol
[Magisk] cbarai:
Nope, seen your post and posted after that.
[Magisk] chris2ferz:
I tried the Canary 18.2 magisk and manager - the manager couldn't detect 18.2 (it saw 18.1 but after updating it couldn't detect that magisk was installed)

Didn't figure it out after trying several versions so i'm back on 18.1 and yes i can't even see com.google.android.gms at all in magisk manager to even hide it - all it shows is google play services for instant apps. Wish i could have gotten that to work

International Samsung Galaxy S8 stock rooted AT&T Nougat if that matters
[Magisk] prot-:
This is the fix

Magisk stable build, all latest official builds of everything else, nothing special. and Magisk hide on google play store, google play services and google pay then - Renaming com.google.android.gms to com.google.android.gms.bak (found in Data/Data) in root browser and then rebooting is the answer .
[Magisk] froader:
Thanks for this! Have you noticed any side effects with using Magisk Canary yet? I don't use any modules, but hesitant due to the apparent instability...
[Magisk] cbarai:
How I updated was going into the settings and selecting channel to custom, place the url from the canary magisk release thread. I cant seem to find that link now. I'm sure if was a bit.ly link in the canary thread's first post. That is now linked to github directly.

Anyway, there is a link to the Canary manager in the Magisk canary thread - https://xdaforums.com/apps/magisk/dev-magisk-canary-channel-bleeding-edge-t3839337

Install the Canary manager first, there select the update channel as canary and install the canary magisk from within the manager.

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

Well the disclaimer still applies, since it is a canary/beta build. I dont use many modules, the current ones I have are systemless hosts(builtin magisk one) and greenify4magisk (been using this for ages).

With the current setup I've not had any issues or instability, no unusual battery drain. Again this maynot be the ideal experience for others but in my experience it stable.
[Magisk] krs360:
You can reconnect Wear without resetting it:

https://www.xda-developers.com/pair-android-wear-without-factory-reset/
[Magisk] chris2ferz:
if it didn't have side-effects yes but that seems to break a few things and can be a pain

plus some of us can't select google play services with magisk 18.1
[Magisk] Windroid-user:
Oh so I don't need to uninstall magisk, just change channel and update?
[Magisk] chris2ferz:
after going to canary - did you have to clear any data or did it just work with existing data?
[Magisk] cbarai:
Just like the disclaimer with dirty flashing, it is suggesting to uninstall and make a fresh install but usually a dirty flash works.

I would suggest give it a try changing channels and see how that goes. If you run into any issues it is suggested to try with a clean install. I didnt have any issues with just changing channels.

---------- Post added at 09:10 PM ---------- Previous post was at 09:09 PM ----------

I didnt have to clear any data, canary install -> magisk hide and that it (reboot ofcourse)
[Magisk] chris2ferz:
Tried again with Canary 18.2 - installed Canary manager - changed update channel - downloaded .zip and flashed with twrp (which is the way i did it with 18.1 without issue)

even after un-installing Canary and re-doing - the manager just won't detect it -

frustrating since it seems many times the things that work for most people don't work for me -

not sure what to even try next -

pain to go back and forth between Canary and 18.1

wonder if Canary works right on Nougat on a Samsung S8
[Magisk] c3k:
I finally reach my card and try to add it after delete the two files and reboot > no luck, the state of device is saved in other file.
[Magisk] cbarai:
Probably best asking that in the canary thread. I did have a quick glance and there are posts suggesting issues but also others saying that it works. Historically Samsung's have always had some challenges with magisk, nothing that topjohn couldnt overcome over time. I'd suggest posting there to see of the devs and other samsung users could help identify whats happening.

Posting bugs with Magisk suggest providing the below,

Process to get recovery logs are,

Source -

didgeridoohan.com/magisk/MagiskInstallationIssues

Thanks to [MENTION=4667597]Didgeridoohan[/MENTION] for all the effort in putting together all the guides.
[Magisk] Windroid-user:
[MENTION=3936084]cbarai[/MENTION] did you hide magisk manager in Settings? Also magisk has automatically hidden "com.google.android.gms.unstable" this is under Google play services, I might as well hide the whole thing right?

Thanks for your help so far man I appreciate it
[Magisk] cbarai:
Yes I have hidden manager for other apps that detect magisk manager to identify root.

Yes, hide the whole tree for GPS and GPay. Thats what I did.
[Magisk] Windroid-user:
Something you guys should do before unistalling magisk using the unistaller and then flashing any other magisk version is to extract the boot.img from your rom. I was lucky to already have this since while uninstalling I noticed it didn't "patch" (I think it said) the boot.img meaning your device won't boot and flashing other magisk like 18.0 won't work it will give error 1 or something. In my experience
[Magisk] chris2ferz:
I will try that - i did try flashing my boot.img file and flashing with twrp which didn't work (probably not much different than flashing the zip) so I might try ODIN or similar.
[Magisk] Windroid-user:
Uhm... don't click hide magisk manager twice.

I thought it didn't do anything or I miscllicked or something but after the second click I released that it said it was hiding magisk manager in my status bar. Then two magisk managers came up on my app drawer. One of them said I didn't have magisk installed and the other did say I had it installed. Just uninstall the one which says you don't have magisk installed and pray that you just didn't f*ck up the whole process lol.

I'm pretty sure it fine though:good:
[Magisk] cbarai:
Depending on the device it should normally be available within the full flash zip package or XDA it. Anyway, wise suggestion thank you. I'll add that to my notes for the next time I suggest this sort of thing to someone else.
[Magisk] chris2ferz:
you are fine (i think)

happened to me this way where i had the old manager and then re-installed with the other one still present and then there were two - one didn't detect and the other did. So i uninstalled the broken one and all seems fine after testing
[Magisk] Windroid-user:
Yeah no problem.

Thanks for your help and btw I learnt that from [MENTION=5285430]kevintm78[/MENTION] since I had to restore my kernel and thanks to him I now know how to do it without restoring backup.

You learn something new on xda all the time, that's why I love it.
[Magisk] cbarai:
That can also be fixed by going into the one that's hidden and unhiding it or hitting restore manager. This normally downloads a new apk and reinstalls the manager. I've done this once or twice in the past, didnt do any damage.
[Magisk] Windroid-user:
Yeah I know it's fine last part mainly a joke. I think something similar happened a while ago as well.
[Magisk] fusk:
Where are you getting 18.2 from, i checked both stable and beta channel and both says 18.1 is latest?
[Magisk] warrencoakley:
Where in root explorer are they?
[Magisk] prot-:
Oops my bad. Edited. Data/Data
[Magisk] jhedfors:
Canary thread:

https://xdaforums.com/apps/magisk/dev-magisk-canary-channel-bleeding-edge-t3839337
[Magisk] warrencoakley:
Yeah tried that and I still get this.
[Magisk] Paz9:
deleting the contents or renaming /data/data/com.google.android.gms works!
[Magisk] cbarai:
Canary build, check the magisk subforum you should see the thread.

Link -

https://xdaforums.com/apps/magisk/dev-magisk-canary-channel-bleeding-edge-t3839337
[Magisk] warrencoakley:
No dice. It seems to make another folder after I rename it and delete the contents.
[Magisk] Paz9:
what does it break?

works fine for me.

---------- Post added at 11:15 AM ---------- Previous post was at 11:12 AM ----------

im on all stable

magisk 18.1

went to TWRP

renamed the folder

rebooted

and i setup my card and i payed using gpay
[Magisk] prot-:
Clear cache for play services, reinstall google pay, reboot
[Magisk] warrencoakley:
So I renamed the folder to .Bak

Cleared cache from Google services.

Uninstalled Google Pay.

Reinstalled Google Pay.

And no dice
[Magisk] prot-:
Sucks to be U

Did U reboot?

Maybe there's an order to it

I think I hid everything , cleared caches, renamed folder and then Rebooted then tried
[Magisk] Paz9:
are you on stable? gpay gplayservice and magisk?

do you pass safetynet?

might need to start from scratch
[Magisk] warrencoakley:
Yes on stable. Tried everything, clear cache etc,hid everything,changed folder to .bak

When it says contacting bank it comes up with the same thing again
[Magisk] Paz9:
strange

id say flash all with the wipe and lock boot loader (march patch)

then unlock bootload

and do it again.

i just did the fix to a friends 3xl and it worked perfectly
[Magisk] fusk:
Got ya, thanks. Will test gpay tomorrow and see if that sorted it.
[Magisk] 73sydney:
Possibly all the proof you need it's Google's end doing all this....

Yesterday tried adding card, couldn't

This morning wiped cache on Google Play Store, Services, made sure they were hidden in Magisk Hide.

Rebooted

Able to add card..

2 hours later, got the following text from my bank:

Your card ending in 2280 linked to virtual account number 7014 was successfully removed from Google Pay. For more information, please contact us on 1800 290 869

Never even got close to a terminal to test it.....

Latest canary btw.....

Google are playing silly buggers....
[Magisk] Phoenix Wright:
Delete/rename that folder in recovery
[Magisk] Superschmiddi:
Why dont u all do the workaround from post #5?
[Magisk] Windroid-user:
Android/data

Edit: nvr mind thread just refreshed
[Magisk] Windroid-user:
I would like to say that upgrading to the canary build worked.

Google Play Services v15.0.90

Google Pay v2.84.237487748

And of course magisk 18.2 canary build

Just a quick recap of what I did. WARNING: NOT A QUICK RECAP

1. Extract boot.img from your downloaded rom zip (may be in a folder called "images") just in case.

2. Download canary unistaller and the canary magisk manager. From here: https://xdaforums.com/apps/magisk/dev-magisk-canary-channel-bleeding-edge-t3839337/page1

3. Use uninstall button in your current magisk manager and then reboot to recovery. (I did not use uninstall button, forgot about it)

OPTIONAL: Delete data for Google Pay And cache for Google Play Services (if you want to)

4. Using the twrp file manager in advanced section, delete ("Android/data/com.google.androis.gms")

5. Flash canary unistaller and reboot. (Skip steps 6-7 if rom boots fine)

6. If your rom does not boot up go back to recovery and flash your boot.img using the "install image" button in twrp.

7. Then just for good measure run the canary unistaller again and then flash boot.img. Finally reboot

8. Install the canary magisk manager and I flashed magisk via the app (recommened way).

9. Hide google Pay and Google Play Services (turn minus symbol to check)

10. Setup Google Pay. In my case my cards were already there, even though I'm sure I deleted data for Google Pay.

Now go out and test it!

Ok so this was not a "quick recap" but I'm sorry if this does not work/last.

The next method I recommend (if this does not work for you) is [MENTION=9506129]JarlPenguin[/MENTION]'s guide in post 5. His worked very well for about a week and I would like to thank him for his quick response in this thread. Also thank you [MENTION=3936084]cbarai[/MENTION] for helping me out and anyone else who has.
[Magisk] schodoodles:
Can confirm this worked on a Pixel 3. This also makes sense why it suddenly stopped working on my Nexus 5x a while ago before getting the pixel this week and finding this thread.

Pixel 3 - Android 9 - 5 March 2019 patch

Google Play Services v15.0.90

Google Pay v2.84.237487748

Bootloader unlocked. Rooted with magisk and TWRP installed as recovery.

I installed Magisk Stable initially but then when hitting this issue just ran the uninstaller from the manager.

Installed Magisk Canary 18.2

MagiskHide on GP Services, pay, banking apps etc

SafetyNet Passes but Pay fails to setup an existing card.

Removed app admins.

Rebooted to recovery and renamed "Android/data/com.google.androis.gms" in TWRP. Doing this via a file manager fails as advised.

Cleared GP Service cache

Uninstalled GPay

Installed GPay

Was able to setup my existing card and authenticate with the bank again.

Will test later at a local shop (UK) to confirm all good. - -Update: Worked at a local store - looking good! :)

Thanks for all the great detail in getting this working again.
[Magisk] prgopala:
I did all of this and still gpay does not work. Funny thing is play store shows my device as certified :laugh:

Anyways i have resigned to the fact that whatever solution is being provided works only for few days or may be hours. At least i have my cards on my watch as well so that helps.
[Magisk] finesse:
Which folder is this please?
[Magisk] warrencoakley:
Does all the modules work in this build as I have around 8?

You say removed app admins,where is this done?
[Magisk] joeyddr:
I said before I was able to get cards working by just renaming the gps folder, I was on the latest canary and it worked for 2 days then died again, I do not think anything here is perm yet.
[Magisk] iluvatrix:
Hi there

I am using Los 15.1 on a Nextbit Robin.

I can't find GPS in Magiskhide

Please advise

Thanks
[Magisk] warrencoakley:
Confirm this method works. But let's see for how long.
[Magisk] zemix:
Enabling

Magisk Core Only Mode

in Magisk settings - working for me, Google Pay give the rights to add a card without problems (via banking app Privat24 (Ukraine bank))

Yes, the "Repository and Modules" section became inactive (I only used the YouTube Vanced and some other minor ones, so it is not critical for me), Root rights working as usual, but for now as I understand - this is the only workaround for Google Pay adding cards and payments.

MagiskHide only on banking Privat24 app. For any Google apps and other apps - hide is off.

LG G2 D802 old friend with AEX Pie 9.0 rom :)
[Magisk] ooonea:
You are a genius. It works very fine for me. I'm using Magisk Canary 18.2 with LineageOS 15.1 on Samsung Galaxy S9 and Open GApps.
[Magisk] fusk:
Updated to 18.2 doing no other adjustments and now gpay works again.
[Magisk] Dunge2:
Can we expect this to resolve itself in the future with normal Magisk update for regular users, or will it forever stay broken unless you manually uninstall and reinstall packages and rename files and whatnot?
[Magisk] chris2ferz:
Fingers Crossed

OK i was quiet for awhile but now feel like I can post what is currently working for me with a little confidence.

Using Magisk 18.1 (that Canary build is for the birds - ha at least it wouldn't detect root for me)

Magisk hide on anything that looks like google, sounds like google or smells like google.

Enable core mode (tug that button to the right as far as it will go)

REBOOT

i didn't NOT have to clear any data

when i tried GPS my cards were there (gets most of that info from the servers anyway)

when i enabled in-store payments i could see the bank pillar logo in the center and knew that was a good sign.

it went through and now verified working

of course this is probably a fairy tale that will end soon but gonna enjoy the dream while it lasts.

(just noticed someone else said the core mode worked for them and if you can't see GPS in hide then for sure need it)

I think that is the key here.

We will see

Just be careful removing google play services data because it can cause issues that you might not notice right away - want proof?

Just backup the data first then delete - then a day or so later restore that backup and you will see all the notifications you were missing.

If you rename or backup that's better since you can always go back but there are only two files that seem to matter and even that isn't enough if you don't have proper undetected root.

Good luck guys

it's great seeing everyone work together - it takes a big effort to figure this stuff out - glad to have had everyone's help too.
[Magisk] Javi22:
In my case, I can survive without root until a fix come, but even if I uninstall magisk... safety net is not passing and I can't use bank apps. Any clue on why this happening?
[Magisk] jhpdroid:
Bootloader unlocked?
[Magisk] Javi22:
Yes, but also in the past, and when I uninstalled magisk it would work. Not anymore?

Enviado desde mi Pixel 2 XL mediante Tapatalk
[Magisk] jhpdroid:
My understanding is that an unlocked bootloader will trip safetynet. Were you running a custom kernel in the past, some of them will always indicate a locked bootloader even if it is unlocked.
[Magisk] glenb77:
Thank you. Yes that allowed me to add a card, have not checked at a store. however it did not at first. I uninstalled magisk with the uninstaller.zip through twrp, then through adb (as su) i did magiskhide --add com.google.android.gms and com.google.android.gm in addition to the ones selected in the manager. rebooted and then i added a card. i'll see how long it holds.. i am on moto x4, project fi.
[Magisk] Javi22:
It's possible, I don't recall. But if that's true, it's all said....thank you for the info ;)

Enviado desde mi Pixel 2 XL mediante Tapatalk
[Magisk] chris2ferz:
yea that was the way to go if you didn't want to use Magisk core mode

let's hope it holds
[Magisk] glenb77:
thanks again, i was on core when it did not work first time. when i reinstalled it stayed on core, i guess i didn't wipe the manager data before i did the twrp uninstall, but anyway for now its there. i'm with you. let's hope
[Magisk] schodoodles:
I don't use any modules sorry.

App admins are in Settings > Security & Protection > Device Admin Apps

Though seems GPay and llocation services have managed to re-enable themselves as I check now so may only be needed temporarily or not at all.
[Magisk] warrencoakley:
Thanks. Got it all working. Yes noticed they have renabled. Canary build seems better for hiding. Modules work too. So all good.
[Magisk] schodoodles:
Android/data/com.google.android.gms

Just add .bak to the filename or something. Allows you to revert it later if a workable solution which doesn't involve all this comes together,
[Magisk] Adreaver:
Quoting to note that this is still working for me, I paid in 2 stores today with no issue.
[Magisk] pokko:
How to hide GPS?

It doesnt appear in the Magisk Settings for Hiding Apps
[Magisk] iluvatrix:
I'm having this issue as well
[Magisk] Phoenix Wright:
Follow-up: it's only been 2 days so I'm not completely sure yet, but it seems it's com.google.android.gms which is going the check (so the main Play Services process). In case this ends up being a dud, it's likely com.google.android.gms.persistent as unstable+gms+persistent passed for several days.

If anyone would like to help me testing and making sure:

- install the latest 18.2 canary build

- configure magisk hide as shown here https://imgur.com/a/j6v0Rnh

- reboot to recovery and delete or rename /data/data/com.google.android.gms

- check daily if things still work.

Please don't skip any of these steps.

If it's confirmed to be the main gms process I'll open an issue on the magisk GitHub repo to report it.

(As a side note, to the person who copy-pasted what I wrote and claimed it as their own on the repo https://github.com/topjohnwu/Magisk/issues/1152#issuecomment-474674682 , it's not a big deal but it'd be appreciate if you gave credit as I'm spending time to investigate this stuff).
[Magisk] xuxu1:
Thanks, I've added Google Play Services completely to magisk hide, is that a problem? Everything works fine so far.
[Magisk] Phoenix Wright:
It's not a problem, I'm just investigating as I'm curious about which process does the check exactly:p
[Magisk] chris2ferz:
As i said in an earlier post - if you don't see GPS in hide then you need to enable core (it does a more thorough hide but disables most modules)
[Magisk] neekless:
They also did it in this very thread itself https://xdaforums.com/showpost.php?p=79157653&postcount=366
[Magisk] iluvatrix:
I am already running in core only mode. Still don't see GPS in hide.
[Magisk] MC_Ohr:
Did you enable "Show system apps" in the hide list?

Gesendet von meinem HTC U11 life mit Tapatalk
[Magisk] caluz78:
GPS shows only on magisk canary 18.2.
[Magisk] warrencoakley:
You must click on the top right of the Carnary build "show system apps"
[Magisk] neekless:
Did you solve this?
[Magisk] pokko:
And how to enable core in Magisk Manager 7.0.0?

Isnt it enabled already?
[Magisk] neekless:
Settings > magisk core only mode
[Magisk] pokko:
Ok, thats the problem, Im on Magisk 18.1

So I should uninstall Magisk 18.1 using the uninstaller.zip in TWRP and install Canary 18.2 to make this work?
[Magisk] fw85:
All you really need to do to fix this is:

1. Add Google Services to Magisk Hide (if you're on Magisk 18.1 use "su magiskhide --add com.google.android.gms" in terminal)

2. Add Google Pay and Google Services Framework to Magisk Hide

3. Go to data/data and rename com.google.android.gms to com.google.android.gms.bak for example (or delete it altogether, but backing up seems safer)

Reboot and do whatever you like in GPay, it should work now. That's all I've done. I don't think you need to reinstall Magisk.
[Magisk] c3k:
confirmed "magisk core" mode on stable 18.1 works without deleting com.google.android.gms
[Magisk] pokko:
Could you pls tell me how to handle this?
[Magisk] sylvn:
I'm using substratum, do I need also to delete com.google.android.gms.SwiftBlack.Android90OxygenOS ?
[Magisk] mc.cerny:
hi, not working on pixel 3

i did all step by step.

Odesláno z mého Pixel 3 pomocí Tapatalk
[Magisk] mobil11030:
Magisk core only method worked for me also. I was able to successfully add a credit card again. I'll verify if nfc payment works today...