yashsingh1/xdaforums huggingface dataset:
[Magisk] fightinfilipino:
not entirely sure. i disabled it because i was worried that whatever setting that "trips" Google Pay's detection of root was getting backed up to the cloud, and would get restored even if deleting the GMS folder or clearing Google Play/Google Play services data.

i would think that once you can get Google Pay to pass, you can turn backups on again. am trying this now.
[Magisk] altvolt74:
downgrade to google play services. to 15* but after using wifi will keep updating itself if u find any way to keep older and prevent goole play services from update let me know
[Magisk] ssceddie:
Download "disable Service" and deselect all with update
[Magisk] fightinfilipino:
i'm on Google Play Services 16.0.89. just used GPay this morning successfully.

this was also after i turned WiFi back on and backups back on.
[Magisk] Nosferatu.:
Why would you not hide all of Play Services? None of it requires root.

Must be device specific issues then. :eek:
[Magisk] 23Six:
Anyone struggling, try post #758 (except I hid root from all apps that had 'Google' in its package name).

Tested on 2 stock ROM Pixel 2 XLs (Magisk Canary). One of them 1 week ago, and the other today. All good so far.

https://xdaforums.com/showpost.php?p=79237937&postcount=758

Edit: Interestingly one of the devices Play Store status is 'uncertified' where the other is not. I don't know if this is related in anyway.
[Magisk] NewDayRising:
See if clearing the cache and data on the Play Store on the uncertified device changes that status.
[Magisk] 23Six:
That worked, thanks.

After clearing the cache and data I made sure Play Protect was enabled and then scanned. Then I force closed the app a few times for the certification status to appear.
[Magisk] Nhyphk:
I meant that I don't do this, because it's not necessary for the games I play. So is anyone else able to use G Pay like by hiding everything?
[Magisk] Nosferatu.:
I'm using GPay hiding all of that particular service.
[Magisk] warrencoakley:
Tried it and on the same device and ROM and no dice. Even tried removing the GMS folder and deactivating the device admins too. 3 times with 3 different configurations and still not working
[Magisk] BostonDan:
My phone would not permit Google pay with magisk, so I went in and removed magisk, cleared Google pay and cleared gms.

I then went back and flash-all the APR security patches and system, and rebooted.

Now the system should be root free and good to go, but unfortunately when I tried to add a card to Google pay my phone still shows it as altered in some way. WTF. I do not have root any longer, so I am completely mystified. I do not want to factory reset my phone, just to have this issue show up again. I'm mystified at this point.

Cheers,

B.D.
[Magisk] PhantomZwei:
Is the bootloader unlocked? I'm on my pixel 2 xl and when removing magisk and custom kernel ( just flashed April security update) it still didn't work on stock. I can only assume it's detecting the unlocked bootloader.
[Magisk] Saison2018:
After one week, same Google apps version, just changed my fingerprint to 9.0.0.236 and was able to pay this morning with Google Pay without trouble.
[Magisk] BostonDan:
I am thinking it's either the unlocked bootloader, or Viper4Android. Removing Viper4Android shortly and I will report back the results.

Cheers,

B.D.
[Magisk] cooldaddyo:
Pixel 2XL Worked for ME

Magisk v18.1 did a Magisk Hide on anything Google: Phone Services, Play Store, Play Services, Music, Movies & TV, Connectivity Service. Then downgraded through a Google search to Google Pay v2.85.239456103. And BABABOOIE!! It works
[Magisk] aydinbahadir88:
Can you help me please ?

Everything is fine so far

The other bank apps work, unfortunately GPay not
[Magisk] jcmm11:
If you're running a stock kernel it's the unlocked bootloader. Try a custom kernel, that should hide the unlocked bootloader and won't be picked up as a change.
[Magisk] warrencoakley:
I'm surprised a Magisk module hasn't been created yet for this.
[Magisk] pekmez_:
Where did you find old gpay app, is it safe to download it from here: https://m.apkpure.com/google-pay-pa.../download/930164905-APK?from=versions/version

Tried but it says "cant pay in shops on this phone" (because rooted or altered some other way)

Edit: wow, did it, hope it will last cause i cant test itright now...

please can anyone confirm is it safe to dowbload and use app from apkpure?

Thanks lads
[Magisk] D-m-x:
For what? There's no fix and it even seems to get worse judging by this topic. Someone can create an empty Module, has the same effect :D
[Magisk] jcmm11:
I don't know about apkpure. Just use apkmirror, which is safe.
[Magisk] highdiver_2000:
I hide Pay and Play services.

Disabled update for Pay app. All good after 3 MIUI upgrades. I have install twrp and Magisk every time I put in a weekly update
[Magisk] zencooler:
It is better to download APK from APK Mirror. This version is available for download here:

https://www.apkmirror.com/apk/google-inc/google-pay/google-pay-2-85-239456103-release/

Important info (you probably know it but it's better to remind): it's not enough to reinstall Google Pay.

Most important is to clear cache and data (or remove whole folder) of GMS (Google Play Services) and clear cache and data for Google Pay, and then reinstall Google Pay to 2.85.x version and then:

- hide GMS, Google Pay, Goggle Play Framework in Magisk Hide module (preffered version is 19.x)

- change name of Magisk Manager into randome one (using option in Magisk Manager)

- add your cards again. Be sure to add cards while Wi-Fi is off (using mobile data only) as many people reported that it is helping to GPay for working without root recognising.

Mine is working more than a month using this technique.

Regards.
[Magisk] pekmez_:
Got it, will test it in some store soon, thanks lads :)
[Magisk] rexx0520:
After cleaning data of Play Service, the GPay works well -- only for few days and GPay fails again....
[Magisk] zencooler:
Too less information. To help you additional info is needed:

1. Your smartphone brand and model number

2. Android system version

3. ROM version

4. Kernel (stock or custom)

5. Magisk version

6. Google Play Services version

7. Google Pay version

8. What have you hidden in Magisk Hide module?

9. Was the wi-fi switched off during GPay configuration
[Magisk] rexx0520:
Using HTC U11+, Android 8.0.0 (1.24.709.994), Stock kernel.

Latest Magisk Beta (19000).

Google Play Service version: 16.0.89(090400-239467275)

Google Pay Version: 2.85.239456103

Magisk Hide: Google Pay, Google Pay Send, Google Play Store, Google Play Service (gms, gms.persistent, gms.unstable, gms:snet)

Wi-fi is off during GPay conf and I've paid successfully at the day I added my card to GPay. (It seems that it's not important if Wi-fi is switched on or not for me, at both state GPay works for a few days and failed again)

Update: Flash a custom kernel fixed the issue so far
[Magisk] zencooler:
OK. Four sugestions:

1. MOST IMPORTANT: Install custom kernel hiding unlocked bootloader as this is the clue: Google ecosystem checks your bootloader state (stock kernel doesn't hide the bootloader status).

2. Reinstall Magisk to the latest version: 19005

3. Add Google Services Framework into Magisk Hide

4. Change Magisk Manager name into a random one (via Magisk Manager internal option)

Of course do it and then repeat whole procedure (clearing cache, data of GMS, Gpay and do all next steps).

Regards.
[Magisk] PhantomZwei:
This worked for me. I'm certain the key is clearing cache/data of both GMS and Gpay. Was able to finally add my card :)
[Magisk] rexx0520:
There are only two custom kernels on xda for my U11+ and none of them mentioned hiding bootloader state...

Any other ways to hide it?

BTW, the link of the custom kernel attached.

https://xdaforums.com/htc-u11/development/kernel-cleanslate-v1-0-0-kcal-wireguard-t3719009

https://xdaforums.com/htc-u11/development/kernel-wind-kernel-r1-t3774155
[Magisk] thiagoml:
It may be a stupid question but I gotta ask... If I go back to stock rom, stock recovery, relock bootloader, will gpay start working normally again, allowing me add cards and use NFC payment through my smartwatch?

Phone: Pocophone F1

Smartwatch: Ticwatch C2
[Magisk] Tr4sHCr4fT:
yes thats how we roll now, rinse and repeat twice a week.
[Magisk] toti8430:
Hello. I have a special request. I need your own version of magisk to bypass the detection of the root or bootloader unlocked in the Google pay app. Until February I had no problem despite having the bootloader unlocked and magisk installed. Obviously Google itself has made settings to increase the security of the app itself. I am attaching a screen to the problem. I'm having this problem on pixel 3
[Magisk] toti8430:
Here is the problem I found myself 2 months ago
[Magisk] jcmm11:
They may not mention it but it's been standard practice to include the bootloader unlocked hiding patch in all custom kernels for a long time now. There are none (that I have heard of) that don't include it. If one existed it's users would bring that to light fairly quickly - and if not fixed I suspect that kernel wouldn't last very long.

All that being said if you're running Magisk it will hide the bootloader status even on a stock kernel. If you're not running Magisk then you need a custom kernel to hide the bootloader status. Now if an app ever flagged that you're rooted it may well store that fact so even if you fix the condition that caused you to get flagged the app will still flag you until you stop the app and wipe it's data.
[Magisk] BostonDan:
So, when I try to add a card to Google pay on my Pixel 3xl, I get an error (after Google pay says it is contacting my bank) saying

"Something's not right. Please check your credit card's details"...

But I was able to successfully add the same card to my rooted Nexus 6p which is also on Oreo and running the same version of Magisk 19.0 with the same hide root from gps and Google pay.

I'm stumped. If anyone has any ideas, I'd be very receptive to them.

Cheers,

B.D.
[Magisk] fw85:
Magisk 19.0 working with GPay for two weeks in a row now with no issues. Using WiFi normally, not preventing Google Services from updating, not killing the service either.
[Magisk] Paz9:
Latest beta of Google Play services breaks goat and no workaround to get it working

Downgraded to stable GPS and works now.

Looks like next stable update of gps will permanently block gpay working with root unless someone finds a fix
[Magisk] ooonea:
Downgrading to version 14 of the Play Services I managed to make Google Pay work again. But will I never be able to update again?
[Magisk] warrencoakley:
Finally got it back up and running.

5 key things to do

If you are signed up for GMS beta, then opt out.

Downgrade GMS to 14.7.99

Turn off device admin for GPay & Find your device.

Turn off WiFi when registering cards. (IMPORTANT)

Disable Google Play Store as it will automatically update your GMS even if you have auto update apps turned off.

I have enabled back up and turned back on WiFi but this will be trial and error to see if it will effect GPay or not.

If you have a smartwatch with GPay, set it up. This is not rooted and will work independently if your rooted phone decides to cause issues with GPay again.

Hope this helps?
[Magisk] Windroid-user:
Same, 2 weeks as well with same setup. Scared to try another custom rom though...
[Magisk] wabmorgan:
This got it working again, at least for now. Thanks
[Magisk] Superschmiddi:
My Google Play Services are always updating automatically. Now Im on 16.0.91 and cant pay in stores again... I hid everything in Magisk Manager V7.1.1 with Magisk v19, what you to do now?

Edit: where do you get Magisk 19005? Does this fix?
[Magisk] jcmm11:
Magisk 19005 is the latest Canary build https://xdaforums.com/apps/magisk/dev-magisk-canary-channel-bleeding-edge-t3839337

Does it fix things? Try it and see. It seems to vary from person to person.
[Magisk] warrencoakley:
The only way to stop it updating is to disable Google play.
[Magisk] ssceddie:
Or download the app Service Disable an uncheck the update service that is included in gps.
[Magisk] Superschmiddi:
I cant find this app you are showing, I receive different results with searching for "Service Disable" :confused:
[Magisk] rwanek:
So after few weeks from last clearing/deleting/settin up yesterday I got no pay notice while shopping. I'm tired of those surprises - is it 100% bullet proof if I install some custom kernel? Which do you recommend? Thanks!

BTW I'm on latest canary magisk, everything gms and pay related hidden, package name changed, pie march update, stock

Pixel 2 XL via Tapatalk
[Magisk] ssceddie:
[MENTION=6889326]Superschmiddi[/MENTION] sry, I mean disable service
[Magisk] Superschmiddi:
Thank you.

I am on Magsik 19005 now, it didnt fix the problem for me and I am not able to downgrade the Google Play Services, I dont know why. So Google Pay is not working for me at the moment :(

edit: I dont get it why i cant install GMS 14.7.99 this is really pissing me off -.-
[Magisk] ssceddie:
You have to disable find my phone and gpay in the device administrator settings befor you can deinstall the updates
[Magisk] Superschmiddi:
I did that, but Im not able to deinstall the Google Play Services Update or install the 14.7.99 apk....
[Magisk] Tr4sHCr4fT:
I managed to add 3 cards and 2 Paypals with v19 stable on a Zenfone 2 variant. Did only the basics aka deleting .gms, Core mode, hide Manager. WiFi was on the whole time as mobile data is expensive here.

Now I'll measure how many days it will last...
[Magisk] warrencoakley:
Go to GMS and uninstall updates first then install the 14.7 version. But make sure you disable the GMS updates or it will update itself again.
[Magisk] Flipz77:
FWIW I was able to pay in a shop today

Pixel (sailfish), Q beta, Magisk Canary, ElementalX kernel.
[Magisk] wabmorgan:
Sorry, no such thing as bulletproof solution. The custom kernel only hides the unlocked bootloader, as does Magisk, so for this purpose, if you are running Magisk, changing the kernel won't do anything to fix nor prevent the problem.

Google doesn't want you to have a rooted device and use Google Pay. As such, they will continue to make changes to make Google Pay not work with rooted devices. The only bulletproof solution is to run unrooted.
[Magisk] tw9:
Thanks, your info finally helped me to make Google Pay work for me.
[Magisk] warrencoakley:
Seems even doing this it updates the GMS back to 16 from 14.7.99
[Magisk] ssceddie:
Try to uncheck all boxes with "update" insert
[Magisk] MC_Ohr:
For me Google pay stopped working today in the morning. After deleting the gms folder I was able to add PayPal again and pay was working in the evening. Both on same store. I'm using play services 16.0.91

I have service disable installed https://play.google.com/store/apps/details?id=com.kunkunsoft.rootservicedisabler

And unchecked GmsCoreUpdateService in Google play store

Magisk is canary 19.0.5

Phone is HTC U11 life with Android pie March security patch.

Gesendet von meinem HTC U11 life mit Tapatalk
[Magisk] rogerinnyc:
And still working for me since originally posting. On Google Play Services 14.5.74, most recent Google Pay app, stock kernel, device administrator enabled for both Find My Phone and Google Pay, used Wi-Fi when adding cards.

Also did not delete any folders, but wiped cache and data for each of GPS, Google Play and Google Pay, rebooted, uninstalled Google Pay, rebooted, reinstalled Google Pay (and hid it in Magisk before opening). Using latest Magisk Canary build.

Possible reason for success to date? I have background data disabled (through settings/apps/data) for both Google Play Services and Google Pay, and I have Google Services Framework hidden in Magisk (in addition to Google Play Services, Google Play and Google Pay). Or I'm just lucky!
[Magisk] bigknowz:
Today, Pay failed for first time in about 4 weeks. Will implement your additional steps and report back. Thanks!
[Magisk] warrencoakley:
Tried all that and after 1 minute pay support libraries updates the GMS from 14 to 16.

How do I stop playing support libraries stop updating GMS?
[Magisk] ssceddie:
At my Galaxy S9 it works. Don't know ?
[Magisk] Saison2018:
Received error message "Could not paid ...." this morning. Was able to use GPay before in the same shop.

I will check if applications version have changed.

Will report back.
[Magisk] warrencoakley:
Yep used once successfully and then next transaction was declined. Nightmare. Make sure to bring your card to save embarrassment. Very unrealable lately
[Magisk] kaijura:
Don't know if this happened to anyone else, but as of 4/28/19 USA time Gpay started the "You can no longer pay in shops with Google Pay" once again. I can confirm it was still last working on 4/25/19.

Pixel 2 XL, Magisk v19.0

I had the issue the first time it came around back in March 2019, so did the unroot, update Magisk and set up Magiskhide to uncheck all the Google pay app, services, etc, reinstalled Google Pay and made the backup folder of the original.

Worked fine for about 2.5+ weeks until today.

Google Play was last able to be used in store on 4/25/19 with my setup:

Google Pay was last updated 4/15/19 (ver 2.86.243324902)

Google Play Services was last updated 4/18/19 (ver 16.0.91) 100400-244116403

Magisk Version: 19.0 - SafetyNet tests all successful

I'm contemplating having to remove GPay, reinstall all again, but I hate having to re-add all my cards - I have over 6 cards I can add and some of them need to phone activate instead of text.
[Magisk] ajm786:
I unfortunately got tired of the cat and mouse game, because I need to have my phone work and not fail at the wrong times, which it did at the worst (when I was overseas). I switched to Verizon, and in the process gave up rooting. :(

I'll be back when/if there is a more permanent solution.
[Magisk] pekmez_:
Me too, i actually imported only one card, it went smooth when i followed instructions so on google pay app it all looks good.

today i tried to test it in store and POS device didnt react on my phone (nfc on, safetynet check passed), it just said "use 1. Card" and when i leaned phone to device, nothing happens.
[Magisk] vettean:
After I delete the gms folder along with all data and cache for Google Pay and and Google Play Services, when I reboot I notice that my settings and loyal cards remain intact, so I am not sure if everything is removed that needs to be to get a credit card accepted. I have 2 Chase Visa cards, and I can't get either verified by Google Pay. (I have Magisk 19.0 and the latest Google apps installed.)

What does work without fail is PayPal. I'm guessing that the reason PayPal always works is because it is not actually a credit or debit card that gets added. For those having trouble with credit cards, I would say the PayPal is the way to go.
[Magisk] warrencoakley:
Unfortunately PayPal is set up on my account with my cards but it does not work as a contactless payment option for me in GPay in Ireland
[Magisk] Windroid-user:
Yeah how do you setup PayPal on Gpay? Am in UK btw

Edit: England to be more specific:)
[Magisk] warrencoakley:
So as far as I know you just have to create a PayPal mandate with GPay/PayPal app. They will deposit 2 small sums and you need to confirm them then you should be good to go. brother in law works for PayPal so will ask. It would mean that you could use PayPal for contactless transactions which your cards no fought are connected to,but since it's not exactly a debit or credit card you should be able to use it instead and it won't trip. I will report back as I am awaiting the two small deposits to appear to finish off verifying my bank account with PayPal.
[Magisk] Windroid-user:
Nice, is what you just explained about the deposit thing a mandate?
[Magisk] warrencoakley:
You go to do that first. This will be sent to your email. Then you got to hold out for those two amounts to appear in your account and then verify these within the app. I read that you have to have your PayPal account connected to your bank account in order to have this up and running and set it as default. I can only see that it seems to be up and running in the US and Germany only,but I'm sure others here can confirm this. It states it takes a few days for the amounts to appear so I will let you know the outcome.
[Magisk] FaserF:
Thanks for the tip, for me its not working (AOSP GSI + SafetyNet Pass + Magisk 19.0). Did the same steps you mentioned without background data disabled.

What is meant with deleting .gms ?
[Magisk] Tr4sHCr4fT:
It's probably local to some countries. Try creating a German account and setup your GB-IBAN?

Also PayPal stopped working for me too together with all cards, when the root check tripped.
[Magisk] Saison2018:
Made another test yesterday, still not able to pay with GPay.

Device: Huawei P20 Pro (CLT-L09)

ROM: EMUI 9.0.0.241, fingerprint change to 9.0.0.236 with "MagiskHide Props Config" module

GMS/GPS: 16.0.91 (was at 16.0.89, not sure when it was updated but surely last weekend)

GPay: 2.86.243324902 (same version/no change)
[Magisk] pr0adam:
Used PayPal successfully for about a week, maybe a little more, yesterday it failed as well as my Capital One card. Dont think it being PayPal impacts this in anyway, this is still a pain in the ass cant and mouse game unfortunately and rooted users who want to use Google Pay are losing.
[Magisk] rogerinnyc:
Thanks for the report, but it's of limited use about whether my outlined approach works if you didn't follow all the steps. I can't vouch that it's an essential or even necessary step, but, right after wiping cache and data for each of Google Play Services and Google Pay (and before rebooting), you should try to disable background data for each app (not for the whole phone!) and keep it off thereafter (I haven't noticed any ill effects.) You do that through settings/apps/apps/Google Play Services/Data Usage -- and toggle it off (do the same for Google Pay).

I am also using Magisk Canary, not the stable 19.0, which, again, may or may not be an essential step, but without trying it, who knows?

I'm also seeing a lot of reports of failure here, but folks are not reporting whether they are hiding Google Services Framework within Magisk. Easy to miss and confuse with all of the other Google services being hidden (i.e., Google Play Services, Google Play and Google Pay). In my non-expert opinion, I am of the view that is the single most essential step.

Finally, I am on EMUI 9.0.0.217 (March security update). Maybe stock firmware is needed -- but maybe not!

The reference to deleting .gms is to the root data/data/com.google.android.gms folder -- many have said they needed to delete that folder and then reboot. I did NOT have to do that for success -- just the data wipe described above.

Good luck all!
[Magisk] pr0adam:
Hid the framework through magisk hide, renamed the folder, stops working within a week. None of this stuff works no disrespect it seems to just eventually "expire"
[Magisk] warrencoakley:
.'d imagine it's the same for the UK.

Only in the US and Germany
[Magisk] highdiver_2000:
My Google Play Services got upgraded to 16.0. 91. Pay stopped working

Downgraded to 16.0.89. Disabled updates. Removed pay, Deleted gms.

Wait overnight to check if Play is still at 16.0.89. Installed Pay and cards. All good
[Magisk] warrencoakley:
What did you do prevent GMS updating?

I have tried everything but the support libraries nuodates automatically after a couple of minutes on my Pixel 2 XL, stock ROM
[Magisk] Adramel:
Is there any way to get a warning about the new version of Google Services so that you don't have a surprise in the store?
[Magisk] ssceddie:
You can check at APP info screen which Version is installed. Or you download the gms tool
[Magisk] Adramel:
Too much clicking. I am looking for a simpler method, so that I would have automatic notifications.

Where to find this Gms Tool?
[Magisk] ssceddie:
somewhere in this thread

Edit: https://xdaforums.com/showpost.php?p=79209796&postcount=623