yashsingh1/xdaforums huggingface dataset:
[Magisk] warrencoakley:
Mmm I have tried my steps but they seemed to have patched them. Could you possibly share your steps and I will try those instead? It was working for over 16 days until I updated the GPay app this morning and it states my cards cannot be used in shops
[Magisk] ajm786:
Sure, here you go.

https://xdaforums.com/showpost.php?p=79237937&postcount=758
[Magisk] Senliast:
So, after doing following GMS Toolsbox says "Attestation OK" (i check it from time to time already for 3 days) and it lets me register PayPal, but i didnt tried to pay yet!

You will need EdXposed and latest Beta 3 of RootCloack (allow experimental versions in module settings or global settings.) Then, add keyword "magisk", add Google Play Services

to hide list, clear Play Services Data and dalvik cache in recovery. Try to add a card and pay.

Feel free to write feedback. I repeat, i dont know if payment will work, so have a real card / money with you.

Of course, i have latest version of Play Services (16) and G Pay app.
[Magisk] warrencoakley:
Ok so this is how it went down. Tried everything you stated but it kept tripping. So I rolled back to the previous Google Pay but I done your step by step but decided to delete the GMS folder in TWRP and also turn off the admin rights for Google Pay also. So manged to get my Visa Debit back up but when I tried my Mastercard it tripped stating the usual can't pay in shops thing. The strange thing is they are both from the same bank so not sure why one can go through and the other won't. Tried it at a vending machine in work and was successful. Although I'm personally not going to rely on just GPay going forward as it's not reliable so going to have to make sure I have my wallet with me. I will continue to try purchase stuff by GPay first to see if it's still holding and if not then I'll have to use my card in my wallet. Hopefully there will be a more straight forward fix come to light eventually for everyone.
[Magisk] pr0adam:
Worked for about a week then it stopped working

Changed nothing with google pay or magisk. Guess im gonna have to keep doing this every week or so???
[Magisk] wabmorgan:
Mine is working fine. ? I have used several times since upgrade.
[Magisk] Bradster321:
still cant get it to pass safetynet. it feels like I've looked everywhere, i cant find anything that i haven't already tried and i've been looking all day, i just used busybox to install a new fingerprint for my device and it still didn't work. also deleted anything with the word magisk in it. both , v19 and v19 canary fail :/

links would be apprenticed if you come across any, cheers
[Magisk] photolarry:
Mine wont work either

What exactly is this GMS Folder? It seems to have all google app info so removing it seems to be a bad idea? I am worried about removing an entire folder of google stuff just to trick google pay. Thanks in advance.
[Magisk] tech_head:
In your developer options, you haven't played with the logger buffer sizes have you?
[Magisk] Snuuuuupy:
Just an update here on my end, Magisk Hide enabled for everything Google related (Pay, gms) - it lets you add/pay for the first day or so, then detects root somehow and no longer allows you to pay afterwards.

On Magisk 19.
[Magisk] warrencoakley:
No haven't done that.
[Magisk] zencooler:
Did you follow all steps recommended on this thread? You definitely need to clear cach and data of GMS and GPay then reinstall GPay and add your cards again. Then it will work for you (on Magisk 19.x).

I am using GPay more then two weeks after this action and every day I pay using NFC without any problem at all.

Even I updated Magisk to the latest version two days ago and to the latest version of GPay one day ago and it still works for me.

Regards.
[Magisk] Snuuuuupy:
Yeah if you check my previous posts I advocated for doing the same thing (clearing cache for gms+pay) - but it just doesn't work after a day or 2 now.
[Magisk] miked2332:
Working here. Had to uninstall Magisk 2 times today for other problems. Hid everything standing in line at the store and before I opened pay I just cleared cache and it still worked.
[Magisk] photolarry:
Can someone please elaborate on what GMS cache exactly is and if it is safe to just delete an entire directory? I am guessing here that it is cache and thus can be rebuilt on the fly...right?

Update: I have it working with the April Firmware (stock ROM not custom) and stock kernel. These are the steps I took to get this working:

1) Uninstall Google Pay

2) Go into Root Explorer and rename com.google.android.gms folder to com.google.android.xxx

3) Reboot phone

4) Install Google Pay from Store

5) Activate 3 cards one at a time. (Talks to bank like supposed to do).

--Note I am using TWRP 3.2.3.5 and Magisk 19.0 and hide all things google and framework related. Click the Show System Apps to see several other than may need hides.

-- I am making an educated guess that this GMS is cache and used to backup to Drive too since it told me I had no account (gmail) to do backups. I selected it and then installed and used Google Pay.
[Magisk] vettean:
I was wondering if anyone was successful in adding credit or debit cards from Chase Bank. Updating to Magisk v.19 and following steps others have outlined I was successful in adding and using PayPal, but not my Chase Visa card.
[Magisk] PhotoPaul:
I have an Amazon Credit (VISA) which is issued by Chase and it's worked for me ever since updating Magisk to 19 beta and removing the gms data/data folder. I habitually disable WiFi before every transaction (got the idea from a previous poster) not because I know it matters but because I don't want to learn it the hard way ?
[Magisk] dvhttn:
Still working. One other thing that may be relevant may. be to do with urls blocked by Adaway. If Adaway is enabled then I can't seem to be able to add a card. I just get the 'working circle' chasing it's tail forever. If I disable Adaway this works. I then enable Adaway again and all is well. What I've noticed since the last time I did this is that even though I can pay fine with GP I don't have any transaction data obn my phone from the point I enabled things last. GP works fine just and I get a notification of every transaction a few moments later as usual (for me in the Uk that's usual anyway - YMMV) but no transaction data in the GP app on my phone.

I'm thinking one of the urls that Adaway blocks is the cause but I can't bothered to find out which one. I know that I have a blacklist I add to Adaway so that my banking apps don't detect root so maybe Google has a few too?
[Magisk] CyberpodS2:
Many folks asking about the safety of deleting the gms folder here... Consider this, if you did a clean install you would not even think about it...
[Magisk] highdiver_2000:
^^^ This
[Magisk] dimm0k:
wow, so all the Google apps... a bit paranoid are we??
[Magisk] highdiver_2000:
This is stupid, hiding GSF will break Pokemongo Go

Calendar and Camera don't really care about root.
[Magisk] warrencoakley:
Took a few attempts but got it working again. For some reason can only add 1 card as when I do another it trips. Cards are from same bank so no idea what's going on. Have my main card added so that's all I need.
[Magisk] miked2332:
It does not. Walked Paris mall this morning and done 50+ raids this week.
[Magisk] HOVINGTON352:
Has anyone managed to run Pay lately on Pixel XL 3 / AquariOS (Or other custom rom's) / Magisk Beta 19?

Thank you.
[Magisk] sliding_billy:
I am on dotOS on a Pixel 3 XL. I was about to pay for groceries this morning at a store that takes GPay. There was nobody in line, so I decided to tap the terminal. I am on Beta 19 (no other changes based on this thread), and my card was still there from the last time I used GPay (successfully) a couple of months ago before this all started. Everything opens fine, but once it vibrated at the terminal the message that I could no longer pay at the terminal happened. Unless there ends up being a pretty stable device/card/vendor agnostic method to keep GPay working developed, I am pretty much of the screw Google opinion on this one. I am not going to waste a second trying to get this to work while still having to carry a card just in case so that they can get royalties for the place accepting GPay.
[Magisk] Bradster321:
so i just got an update today (19004) for magisk v19, at this point i was giving up hope as i've tried everything i could find to do with fixing safetynet but this update fixed it! not sure what it did but it works! Thanks magisk!
[Magisk] Nekromantik:
Mine stopped working this morning so lasted 2 days since I did the renaming gms folder method. This is getting too much so will give up and carry my card.
[Magisk] dbareis:
Yes don't do it, solution is worse than the original problem
[Magisk] highdiver_2000:
You should have disabled auto update for Google Pay
[Magisk] vovean:
Today my GPay stopped working again. It already happened to me in April, I solved it by updating Magisk to beta 19.0. Since then I haven't install anything. And today in the morning I got this message ("You can no longer pay...") again.

Does anyone have the same problem?

Google Play Service: 16.0.89

Google Pay: 2.85.239456103

Google Service Framework: 8.0.0-4147944
[Magisk] warrencoakley:
I have removed it instead of renaming it in order to get GPay working again. It doesn't cause issues and the system creates another one as soon as you reopen GPay to add cards. I found it was the only way as part of others steps to get it working again.

---------- Post added at 08:49 AM ---------- Previous post was at 08:29 AM ----------

I got it on Tuesday and found it very difficult to add cards back again. Even after the update and rolling back didn't help. I did after about 10 attempts add 1 card but when I tried again to add a second card it tripped. What's strange is both cards are from the same bank so it's a real head scratcher.
[Magisk] dbareis:
Then apart from all the apps where re-setup was a trivial process you obviously don't use:

* Google Fit - All history is lost

* WearOS watch - Factory reset and complete set up of watch required

As it turned out it didn't work and all I have to do was install the latest v19 beta software. As others say it doesn't work I have also:

* Hidden most google apps

* used whatever the option is called to rename the apk package

And its worked for over a week
[Magisk] warrencoakley:
Yes i don't use Google Fit nor a Wear OS watch. (Still rocking my pebble)

It's extremely temperamental and would advise not to rely on just GPay to pay as it will break. Best trying it first but always have your cards as a back up to save embarrassing issues. Hopefully a better fix will come eventually
[Magisk] highdiver_2000:
Disable auto update for Google Pay, so you won't caught off guard
[Magisk] Windroid-user:
As much as I like using Gpay and the satisfaction from it lol. I dont think I would've bothered twice like I have only once until the developer of magisk has officially announced that this would fix the issue. But even though I can be trusted I am not carrying the card registered to Gpay due to it not being mine. *cough* ur too young! *cough* no money no card *cough* *cough*

In all seriousness though once I have an income and everything and Gpay still or suddenly doesn't work then I won't bother.

Oh btw almost forgot I was on magisk 18 and it stopped working. Upgraded to canary 18.2 and stopped working around the time magisk 19 was available so I upgraded to magisk 19 and still working.

---------- Post added at 01:09 PM ---------- Previous post was at 01:04 PM ----------

Glue card to phone and boom Gpay!

Oh well it's not the end of the world.

Also why does everyone rename this gms folder like there's no point in renaming it if you're not going to restore it. Just delete it. Unless you are planning on restoring it but it doesn't seem like anyone is after they tried to fix it since they re-add everything anyway.
[Magisk] sliding_billy:
I can't pull that off at 48 years old. Maybe I can blame it on my wife (of 27+ years) not giving me the card. Ha!
[Magisk] zencooler:
Mine is working more than three weeks on Magisk 19.0. I have six cards definied in GPay and using them every day with no problem. Also after update of Magisk and GMS to latest versions.

Of course this is after clearing GMS and GPay done three weeks ago.
[Magisk] Windroid-user:
Lol. I am pretty responsible with real life stuff like benefits, contracts second hand purchases ect.

Shame I go to a sh*t school where I am stuck an extra year for no reason. Just me being in college could've earned me £15+ a week and I would've had my own card due to the money being given to me meaning it requires a card in my name to make sure that it goes to me and I am spending it.

I am in an unlucky situation unfortunately.
[Magisk] iankelly2001:
At present, I can only use Google Pay if I have Magisk 18.1 stable in Core Mode (which disables all added Magisk Modules). If I don't use Core Mode, when offering the phone to make a Contactless payment, the phone beeps twice and Google Pay says, "you can no longer pay in shops with Google Pay". No such message appears when making further payments, once Magisk has been switched to Core Only mode and rebooted for that to take effect.

I would add that I also had to use Core Mode to enable me to add my cards to the app in the first place - without using Core Mode, Google Pay would complain the cards cannot be added, as the phone is rooted.

I use a Samsung Galaxy S5 SM-G900F with Resurrection Remix for Pie v7.0.1, and like others with the S5, I cannot update to v19.0 beta or the latest Canary builds, because of the download mode bootloop problems when attempting to install it.

Is there anyway to somehow "hide" the Magisk modules from Google Pay and still use them, without going into Core Mode, which disables them all?

I've tried uninstalling some of the modules, to see if it's a particular one that is being detected, but no luck so far. The modules I use at the moment, if it helps, are: Android Mic Fix, Busybox for Android NDK, Enable Doze for GMS Magisk Module Global Optimised GPS File Replacer, Systemless Hosts (in association with AdAway), ViPER4AndroidFX and YouTube Vanced black themed - Magisk Repo. I have so far tried uninstalling Enable Doze and YouTube Vanced, as they seemed the most obvious ones to upset Google, as they mess with their products, but there was no difference. I do not use Xposed, which I know can cause problems with passing SafetyNet. I get the "all clear" with SafetyNet, whether or not Magisk is in Core Mode.

Any ideas?
[Magisk] ssceddie:
Are working the push notification (like whatsapp etc.) if Background Data disabled for google playservices?
[Magisk] c3k:
A month with magisk 18 core mode without issues.

Yesterday this setup stop working too.

Now going to beta...
[Magisk] zencooler:
What happened exactely? Have you updated GPay? What message did you get?
[Magisk] c3k:
Didn't notice any GPay update and it's not on recent list on play store (any other way to check?), current 2.74.212360432

My play services update to 16.0.89 o 3 Apr, many payment after that.

In the last weeks (maybe after play service update?) I notice that I was not passing safety net anymore. Didn't care because GPay still working. My thoughts are that yesterday Google Pay triggers his checks and get updated about safety net fail, so stop working. This happens after a payment, because "you can't pay in store" fail was 5 minute after last successful payment.

Now in magisk 19, still core mode since I don't need modules, safety net is ok, let's see.

EDIT: works without deleting data or readd card, only an authorization error on first try.

Samsung S8 exynos, stock rom.
[Magisk] zencooler:
Ok. Seems like the trigger has been changed because SafetyNet. You should care about this. After this kind of case you have to recheck Magisk Hide module (switch off, reboot and switch on again). If it doesn't help you need reinstall Magisk. Of course this is advise for the same case in the future (if accidentally SafetyNet will fail).

Hope now you have solved it.

PS. GPay 2.74.x is quite old (current one is 2.86.x). You can keep it.
[Magisk] c3k:
Strange that if I search for Google Pay in Play Store I see the update, but it didn't appear in updates section.

Never downgraded or did anything to block the updates.

I stay on 2.74 for the moment.
[Magisk] rogerinnyc:
Just in case anyone makes the boneheaded mistake I made, in moving to Magisk Beta 19.0 from 18.1. In Magisk Hide, both Google Play Services and Google Play Store had various subprocesses automatically checked. I went ahead and checked all of them for good measure and then installed Google Pay and before opening it, also hid it in Magisk. Cleared cache and data for GPServices and rebooted, thought that would work. But no go, I was getting an error even just trying to add cards.

But subsequently realized that Google Services Framework also needs to be hidden. Did that, rebooted, and that at least is working for now, at least enough to allow me to add two cards. Haven't tried payment yet (on Android 9.0.0 stock, Huawei Mate 10), but cautiously optimistic for now (I'm not in Core mode).
[Magisk] sam0056:
I've been on magisk 19 for about a month now ever since Google pay stopped working on 18 and Gpay works fine not hiding anything
[Magisk] highdiver_2000:
After renaming GMS folder, you have to reboot. Or the folders don't get recreated by Google Play Services and Pay won't get installed.

I did not touch Google Services Framework

Edit:

Updated with screenshots from Magisk. Remove acronyms. Some readers are confused or dyslexic
[Magisk] sisqoboy:
Basically I just gave up plaing with this s*hit situation.

One daybon the bus I was almost been fined because they could not verify my gpay ticket. So so frustrating. Google, f**k it you won I won't usr gpay…
[Magisk] warrencoakley:
Failed again today. Had to go through the whole thing again and back up and running. I hope someone can come up with a better solution eventually. :(
[Magisk] nobody9147:
After deleting gms folder and just hiding Services like in the pic mentioned. It still works after day 4. Im using the module magisk hide props config too. im on magisk 19.

Gesendet von meinem Phh-Treble vanilla mit Tapatalk
[Magisk] Nosferatu.:
First time using it. I set it two weeks ago. Tried today for first time it worked like a charm.

Device: OnePlus 6T

OS: Android Pie OxygenOS 9.0.12 (rooted stock ROM)

Magisk: Magisk 19.0 + Magisk Manager 7.1.1

Magisk Hide: Play Services, GPay that's it from Google's end in terms of core apps. (If installed, I hide Find My Device, Opinion Rewards, Play Games, Trips, Home, Nest, YouTube TV)

GPay: 2.86.241768561

Play ServiceS: 16.0.89

Tried it in Best Buy today no issue. Followed this guy's directions...

https://xdaforums.com/showpost.php?p=79246020&postcount=792

Screenshot of success. :D

EDIT: None of this, reverting, preventing upgrade, etc. Get a clean install and it should work. I'll continue to use it and report should the device fail down the road. I don't use it often but if available I will from now on.
[Magisk] pr0adam:
anyone been consistently using GPay for more than a couple weeks? without having to re-do this when it randomly decides to detect magisk and lock you out of using your card
[Magisk] zencooler:
Me. I cleared up GMS and set up all my cards again on 24th March and since then I have not got any problems paying every day with different cards. So GPay after all recommended steps is working like a charm.

I have Magisk 19.x (latest one) and of course hidden GMS and GPay in Magisk Hide + changed Magisk Manager name to random one.
[Magisk] doctorew:
What is gms? And how do you hide it?

Nm - Google mobile service
[Magisk] ssceddie:
I think he means GPS, Google Play Services
[Magisk] pr0adam:
Are you using modules or are you on Magisk Core Only Mode?
[Magisk] TerrorApple:
Me. I'm using Magisk 19 since it was released with all my modules (so *not* in core-only mode). I didn't even delete Google Play services data. Just downloaded Magisk 19, hid Google related apps in Magisk and reinstalled Gpay. Working since then and I'm paying every few days with success.
[Magisk] pr0adam:
When you say Google related apps is it more than Google Pay and Google Play Services?

I had the card working for like a week and a half then one day it decided not to. Maybe I updated an app and I forgot? Im going to clear everything again and try it over, and never update Google Pay/Carrier Services(if i can help it) and see what happens.
[Magisk] TerrorApple:
I hid everything (not just the pre-selected ones) in Google Play services plus Google Pay itself, nothing besides that. I'm even taking updates for Gpay and Play services as usual, literally the only thing I did was use Magisk 19. I guess I'm lucky though based on the other reports in this thread... Has been working for weeks though now and I won't change anything cause I don't want to mess things up :D
[Magisk] pr0adam:
Weird. I wonder if it has anything to do with our banks? This is so frustrating...
[Magisk] zencooler:
GMS (not GPS) is a packet name of Google Play Services.

---------- Post added at 07:43 PM ---------- Previous post was at 07:41 PM ----------

I am using modules (e. g. YouTube Vanced). I never used Magisk core only mode.

---------- Post added at 07:48 PM ---------- Previous post was at 07:43 PM ----------

In my case I have hidden: GPay, Google Play Services, Google Services Framework and Google Partner Setup.
[Magisk] CSX321:
The last time mine quit working was right after I manually updated the hosts file in AdAway, and I've wondered if it was realated. Do you use AdAway (or anything else with the systemless hosts module)? It's a shame, because AdAway and TiBackup to freeze and thaw apps are the only things I really use root for these days.
[Magisk] TerrorApple:
Yes I use AdAway and have also updated the hosts file during the last weeks, didn't change anything for me...
[Magisk] shtblaster:
Works for me:

1. Install Magisk 19.0 Canary,

2. Magisk hide -> search for "GMS", "Google", "NFC", "Pay" hide everything,

3. Go to Settings -> Apps -> search for "GMS", "Google", "NFC", "Pay" and wipe data each of them,

4. Add card and voila.

Gpay 2.86.241768561, GPS 16.0.89, Mi 8 xiaomi.eu v10.3.1.0
[Magisk] tlf55:
I can confirm that with canary build and Google play services + Google pay hidden in magisk manager I can pay without any issue in store :)

I'm on 15.0.90 services

2.83 gpay

OnePlus 6t oos beta 5
[Magisk] beatschubser:
No need to hide Play Services, Google Pay is sufficient.
[Magisk] Semtronix:
Well mine auto updated from 14.7.99 to 15.0.10 and Google Pay stopped working again. Updating to the 15.1.78 beta has got it to work again. Pretty much just waiting for it to stop again though.
[Magisk] tlf55:
Actually no when hiding gpay only I can add card etc but can't pay in store .. that was my issue
[Magisk] JarlPenguin:
You need to hide Google Play Services. It's responsible for adding cards and verifying them. Plus it itself contains SafetyNet.

---------- Post added at 02:04 PM ---------- Previous post was at 02:03 PM ----------

My Google Pay works fine after updating Magisk to the Canary version.
[Magisk] kleest:
What's your current Play services version? Did they update themselves?
[Magisk] tlf55:
Did you hide every Google play services or just the "gms" one ? Because I have like 10 Google play services on magisk hide on canary build
[Magisk] beatschubser:
Hm, I haven't tried adding a card, but I don't need to hide it for paying with existings cards.

Btw., how do you add Play Services anyway? It's not in the list, even with the system apps-option. Aren't the Play Services hidden by default?