yashsingh1/xdaforums huggingface dataset:
[Magisk] Static-xy:
I have op6 and my safetynet passes. Today I tried to pay with google pay but was unsuccessful.

At which step does your phone fails adding cards?
[Magisk] beatschubser:
Not for me. It stopped working two weeks ago and started working again a few days later. The only thing I did was updating Magisk to 18.2.
[Magisk] krs360:
I haven't downgraded anything. I just made sure the GPay app and play services were hidden, cleared the data for both, rebooted, set up my cards again.

Just bought my lunch with GPay!
[Magisk] dardack:
Pretty much the same. Stopped working. I found this thread yesterday about downgrading and all that jazz. Decided to wait for new version. Today I was like oh maybe I'll try the beta see if it's fixed. I manually installed 18.2 (even tho I changed the channel to beta in the manager app it would not see there was a new version). Went into pay and was able to verify a card I couldn't the night before. I will try to pay instore today, but last night I got the message when adding the card, can't use in store, the phone is rooted or something else is wrong. Did not get that message after installing 18.2.

I did try to Hide Pay in Magisk Hide, but with 18.2 every time I go back in there it's unchecked again. Any app I hide get's unchecked as soon as I leave the hide menu.
[Magisk] dipstik:
after march ota update on pixel 3 xl i cant set up my card even without root.
[Magisk] Longerski:
You must lock bootloader.
[Magisk] dipstik:
post #5 worked for me. 18.1 beta

https://xdaforums.com/showpost.php?p=79028818&postcount=5
[Magisk] jhpdroid:
I lost the ability to use Google pay over the weekend; i installed the latest Canary build (18112) today, re-enabled my cc and was able to make a purchase using Google pay a little while ago. I have Google pay and services framework hidden, play services is not.

Edit: play services 16.0.81
[Magisk] ew:
Was able to make a payment today. Only thing I did was hid gpay. Magisk 18.1. Google play services 15.0.90.
[Magisk] Bluffer94:
Deleted
[Magisk] mdxdave:
It seems that flashing the canary build (v18.2-0204d053 [18114]) works with Play Services 15.0.90
[Magisk] Nosferatu.:
Here's a data point...

Device: OnePlus 6T (not T-Mobile version)

OS: OOS 9.0.12 (stock ROM with root)

Magisk version: 18.1

Magisk Manager: v7.0.0 (185)

Play Services: 15.0.90

Google Pay 2.83.235070858

Just rooted it (obviously worked fine before root). Went to add card. Bam your device is rooted. CTS shows fail. I reboot phone. CTS passes. Try to add card again, bam CTS fails. Rinse, cycle, repeat.

What I simply did was clear data on Google Pay, mark Pay under Magisk hide, and also set Magisk to hide (so it repackages the file). I now cannot theme Magisk but I was able to keep CTS as true and successfully add my card. I have not attempted any purchases yet but over multiple reboots CTS passes and Pay opens and shows my credit card.
[Magisk] marklar666:
Can confirm. I had to wipe cache and data from gpay, gplay and google service framework. After that I selected all google services in Magisk Hide. Didn't try paying at store yet but Google Play stopped saying that my phone is not certified.
[Magisk] Brava27:
Anyone help me with this issue? I've never had Google pay reject me before until today and I've been using UPS forever without issues and Google pay has never given me any problems currently running latest build and latest manager. Thank youView attachment 4719338

Sent from my Blackberry Bold
[Magisk] PuffDaddy_d:
See post #5
[Magisk] yung40oz84:
I can re-enable background data correct? That is my only question. Thanks for this! I was racking my brain, lol
[Magisk] Brava27:
Sorry man I missed that.

Thanks

Sent from my Blackberry Bold
[Magisk] HamsterHam:
I can't add a card on latest canary with 15.0.90 on my Pixel 3XL. Any ideas? Cheers.
[Magisk] sisqoboy:
F**ing play services just got updated again! So so annoying!! :eek:
[Magisk] habylab:
What version?
[Magisk] Brava27:
15.0.90. Same thing for me. Updated without any knowledge. Gpay won't work now lol

Sent from my Blackberry Bold
[Magisk] BostonDan:
This was how it use to be. I found a solution to allow adding cards and paying. See my solution on page 132.

Cheers,

B.D.
[Magisk] prot-:
This works!
[Magisk] Sajam:
Can confim too, THIS WORKS

Great work mate
[Magisk] mmidders:
Been there, done that. I am rooted with Magisk, hide is active for google pay and GPS, safetynet passes, but google pay says NO.

Anyone know why the install of previous GPS version is failing?

---------- Post added at 04:31 AM ---------- Previous post was at 04:27 AM ----------

Will definitely give that a try. Using Ti Backup to freeze GPS should work to prevent further updates.
[Magisk] Dogan1995:
I just managed to add a card (paypal) in google pay and set it as default payment method without any errors.

All that changed until it worked is play store not recognizing any app as harmful. If you too have play showing "harmful apps detected" in my apps section, try uninstalling them, reboot and try again.

I am on build pq3a.190605.003 with proton v18 (kernel 4.9.175) with magisk 19.3 (and twrp) and (still) unlocked bootloader.
[Magisk] Snow_ball:
Not working for me. Pixel 2 q beta 4 magisk 19.3

Safety net passes, device is certified, magisk hide is on for everything google related and I followed all the steps with regards to the"attest" values. Still can't add a card - get the error the device is modified...
[Magisk] nebula9:
Did you have to use the chmod method? Does Netflix show in your play store?
[Magisk] Snow_ball:
Yes to both. But somehow pay still detects a modified system
[Magisk] nebula9:
Incredibly frustratingly, I cannot get my P2XL to not show as modified to the play store (so Netflix never appears). Maybe I'll try ElementalX. Meanwhile my V30 works brilliantly with everything as if it were never modified.
[Magisk] rwanek:
Just installed sultan kernel, cleared cache of play and pay, hidden pay in magisk and it works.

Sultan kernel hides unlocked bootloader.

Pixel 2 XL via Tapatalk
[Magisk] Kris Chen:
Thank you so much !

It just works after using your method.

One question: Should I keep it running all the time or even every boot ? Or just need to run once ?

Kris
[Magisk] Dogan1995:
No, i didn't use chmod on anything.

Yes, Netflix (beta) shows up in Google play (I joined the beta version with my pixel)
[Magisk] nebula9:
Thanks, I will try to do a similar thing with sultankernel on pixel 2.
[Magisk] Windroid-user:
Would you recommend the V30? Btw I still have a note 4 lol and Gpay works after only having to fix it twice, second time was easy all I did was update magisk. First time was also easy but more steps. Incredibly responsive when it comes to paying using nfc which I am suprised with.
[Magisk] nebula9:
The V30 is a good phone because all models (so far as I know) are bootloader unlockable using the WTF method (see the forum). Hardware wise, it's a decent 2017 flagship which you can get for a pretty cheap price. Don't get a T-Mobile model if you can avoid it, as they use different ROMs. Stock is meh imo but it's easily rommed
[Magisk] Senliast:
Yes, you should leave both scripts running all the time. It makes sure, that databases will be fixed again if these will revert to original (attest failed) state by some reason.
[Magisk] Windroid-user:
Yes I never get a carrier version always the international or most unlockable/customisable version. I have heard enough good reviews on this phone to buy it but as I am still a young teenager with no hard earned income I will patiently wait until it is note 4's age... no obviously then it is not worth it so I will try to get a job which I tried to find today actually, no real success so will wait for companies I have applied for to respond.

Anyway this thread is not about what I just shared it is about Gpay not working and solutions/workarounds.
[Magisk] Snow_ball:
OK, I can see that my attest variables are all 0 and don't get reset after reboots and play updates but google pay still declines to let me add a card. I am on Q beta 4 - is anyone with that setup having more success than me? I use elementalX kernel which hides the unlocked bootloader as well, I believe. Netflix is there and working, safetynet passes and device is certified.
[Magisk] nebula9:
I just tried this on P2XL/stock/Sultan/Magisk 19.3, and it just does NOT work.
[Magisk] BostonDan:
I do not believe any of these methods work with Q.

Cheers,

B D.
[Magisk] nebula9:
I'm not on Q, just pie
[Magisk] BostonDan:
My bad. I'm exhausted from work. I could have sworn I had read "on Q beta 3".

Apologies.

Cheers,

B.D.
[Magisk] jcmm11:
That would have been [MENTION=4538168]Snow_ball[/MENTION]. Q beta 4

https://xdaforums.com/apps/magisk/discussion-google-pay-magisk-discussion-t3906703/post79747600
[Magisk] BostonDan:
Yes, that was it. Replied to the wrong message.

Cheers,

B.D.
[Magisk] sadiku:
Same as mine config, no working too.

我從使用 Tapatalk 的 Pixel 2 XL 發送
[Magisk] upperbladez:
why the heck does this not work still? It's been like 6 months.
[Magisk] dvhttn:
Why don't you ask Google why they insist on then checks they do before they'll allow GP to work! And if you look back at my posts you'll see that I had it working for months with no problems (**), so different people have different issues.

** - got a new Note 9 and not bothered to enable GP as yet.
[Magisk] upperbladez:
So you don't use GP anymore, correct? Do you think I could get it fixed on my pixel 2 for Verizon?
[Magisk] prot-:
That's not what freezing does mate
[Magisk] SacredDeviL666:
Thread cleaned.

Kindly stay on topic and if you don't like each others response please ignore and move ahead or report if it violates forum rules.

Thanks

SacredDeviL666.
[Magisk] bleez99:
My setup:

Pixel 3XL

Magisk 19.3

Elemental X

Play services 17.5.26 (beta program)

Using the triggered sqlite scripts

DB is r/w

Latest Google Pay

Working perfectly!

I had problems with Kirisakura kernel (lots of other off topic problems too, Elemental X has always been solid for me)
[Magisk] Static-xy:
From which google play services list I need to hide magisk. I only have com.google.android.gms.unstable checked, and there is no separate google pay app in the list. I was hoping that my google pay is not working because I need to check additional services from the list.
[Magisk] bleez99:
I have ALL of Google services hidden. Why not?
[Magisk] Static-xy:
It doesn't cause any problems? Does Google pay work?
[Magisk] bleez99:
Yes, if you saw my previous post showing my setup, I'm having absolutely no issues with Google Pay.

Take a look a couple of posts up and you'll see what I have. I am participating in the beta play services program, so I was hit with the problem perhaps a bit earlier than others, but read through the thread. There are sqlite scripts with triggers to keep the attest values at 0. I am not using any Magisk module to run the script, I run it manually in a terminal.

On little point I did leave out. Magisk Core only mode. There are no guarantees with Magisk, but the author recommends core only if you experience issues. I have no modules installed save for the built in systemless hosts.
[Magisk] Snow_ball:
You are running pie?
[Magisk] alessandro_xda:
you have to show system apps from the top right menu
[Magisk] bleez99:
I have downgraded from Pie to Eclair.

Joke, if you don't get my twisted sense of humor.

Running Pie, June release.
[Magisk] upperbladez:
I'm trying this. I hid all Google Play services, and use Magisk core...but it still doesn't work.

You said that you run the sqlite scripts and that allows it to work for you?
[Magisk] lazyfox:
OMG, after thousands of tries GPay is finally
[Magisk] bleez99:
What are you running?

Phone and OS?

My DB is r/w. I leave it that way.

Earlier in this thread there are two SQL scripts.

Termux is the way I apply them. Created a shell script from the samples provided.

If you're running a Pixel 3, I recommend Elemental X kernel. Nothing else has worked well for me. [MENTION=4684315]flar2[/MENTION] keeps his kernels close to stock, not too many extra goodies. Don't hold me to this statement, but I do believe he hides the unlocked bootloader if I recall correctly.

I'm also noting that other kernels, remaining unnamed, have caused me other issues that are OT on this thread.

Just a recommendation if you're running on a Pixel 3.

I also am on the Play Services beta, and most definitely had pay issues before visiting here.

I use my phone regularly to pay for just about anything where they offer contactless payment.
[Magisk] upperbladez:
I'm Pixel 2 | Android 9

I'm not sure what my DB is...so i can't provide that.

Hmm. Any idea on what kernal I should use?
[Magisk] bleez99:
Elemental X

He does all the Pixel lines.

And please read this entire thread regarding sqlite scripts, database location, etc. Your DB is the same as everyone else's here. It is part of play services.

My success is not a guarantee of yours, but I do recommend reading this thread thoroughly. Good luck!
[Magisk] Snow_ball:
I got it :)

No luck on q with any of those steps...
[Magisk] mhys33:
Finally got it working

Simple steps that got it working :

1. I had a stock ROM without magisk, so I installed Google Pay first.

2. Finish the entire google pay setup, restore accounts. Make sure location is off.

3. Reboot phone and proceed to install Magisk Manager and Magisk.zip in TWRP.

4. Don't open Gpay and directly go to Magisk Manager. Use Magisk hide and check Google play services and GPay. These are necessary. I went ahead and

checked pretty much all Google Services just to be sure.

5. Done. GPay must be working perfectly..!
[Magisk] nebula9:
How does it not detect the unlocked BL? I suppose you run a custom kernel then?
[Magisk] Nosferatu.:
Go check back a GOOD number of pages I've had a working Magisk / GPay combo for months. No SQL or anything. I followed the directions someone else posted.

It might be device / ROM specific but this 100000% works on OxygenOS on Pie with root with the stock kernel.

It's survived all the Play Services updates, GPay app updates, and even my ROM updates. I think one of the MAJOR reasons is if I go into something like the Play Store it shows device as certified. For all intended purposes it works. Stock ROM (Oxygen OS 9.0.14) on a OnePlus 6T (Global model 256GB)

Proof...
[Magisk] nebula9:
What's interesting is that I have two phones and have had mixed success. On my LG V30 running LineageOS, I have had no issues at all. The device is certified in Play Store, Netflix shows in play store, Pay works. On a Pixel 2XL, both with rooted stock and with every custom ROM I've used, I get certified play store, but never Netflix in the play store (though it says certified) and never a non-SQL-hack Google Pay. Do you see Netflix in the play store? This seems to be a better litmus test for whether or not the device will actually attest 0 without the SQL hack than the certified/uncertified notice.
[Magisk] Bradster321:
i have passed safetynet and gms, google pay works fine but i cant see netflix nor does it work when i download an apk, also my banking app has stopped working due to failing a safety check apparently. anyone have any ideas how?

cheers
[Magisk] Nosferatu.:
Yes I have Netflix installed from play store and themed via substratum.
[Magisk] mhys33:
No custom kernel. It's totally stock. I guess once you check all the right Google products in magisk hide, you have nothing to worry about. It's a bit of a trial and error situation.
[Magisk] upperbladez:
This didn't work for me.

---------- Post added at 09:41 PM ---------- Previous post was at 09:26 PM ----------

Can you tell me which post you followed? I can't find it. I see the scripts, but I don't see how to run them. I installed SQLite, on Magisk...but I don't know how to run those scripts.
[Magisk] bleez99:
I don't want to come off as a ass, but it's a simple matter of creating a shell script. I simply don't have the time or energy to do this for you.

There's not many pages in this thread. Start from page one.

The command line to apply the script is here in this thread. If you can't install a terminal emulator and create a shell script, this is not the place for it.

I have a lot going on right now, and unfortunately can't do this for you. A lot of people contributed, I read, I applied what I learned, and I'm good to go. Asking people to do it for you will get you mixed results. I'm usually more helpful, but shell scripting tutorials are yet another subject.

Believe me, the answers are here.
[Magisk] godzulu:
Fwiw, when i do a clean install and before i root, that's when i install Netflix, DirecTV, log in to both. You'll find that they work. Then i reboot recovery, root etc. Netflix will continue to work
[Magisk] kogan92:
I tried everything but nothing works

Miui 9.6.20

Mi mix 3

Magisk 19.3
[Magisk] PriMieon:
Are you using stock?

I'm using a custom rom (AOSIP). I installed it. Won't work. I haven't used Sqlite yet. Do I have to edit values? Sultan didn't work for me. Is it still working for you?
[Magisk] rwanek:
Yes, still working, full stock, just sultan kernel, magisk, hidden pay and play.

Dont know if it is the case but before installing sultan kernel i was messing with sqlite method, automate flows that someone posted here. But since installing sultan kernel i uninstalled automate and its just working!

Pixel 2 XL via Tapatalk
[Magisk] PriMieon:
Thanks for your reply!

Do you mind if I ask another question? How do I take advantage of the automate flow?

I've downloaded it but I don't know what to do with it. Is like to try that as sultan isn't working
[Magisk] rwanek:
I was using this flow from link attached, i think you need to grant root rights (Dont worry, i was using those files myself) Give it a try! Good luck.

https://drive.google.com/a/my.smccd.edu/file/d/1YHjpeLhzquJOqJlafND9IHagSQqdt9qN/view?usp=drivesdk

Pixel 2 XL via Tapatalk
[Magisk] PriMieon:
But I'm confused as to what to do with .flo files in the .zip
[Magisk] rwanek:
You have to install automate from Google store and then import flo files

Pixel 2 XL via Tapatalk
[Magisk] PriMieon:
Thanks for your patiencens. Automate worked. I'm just surprised I never heard of it. I'm not totally out to date. Or so I thought. Very interesting program. And thanks again
[Magisk] tjlmbklr:
Not just Google pay, but adding money to other apps like Starbucks, is this a known issue?

I'm kind of new to the Magisk world and haven't rooted in like 4 years since when SuperSu was the rage and I was very green with it then. So when I finally found a simple way to unlock my bootloader and root my T-Mobile OnePlus 6T I jumped on it. Now I'm wondering if rooting is worth it. I've noticed a few things I've used a lot in the past nolonger work and I can only assume it's from root/Magisk. I was sitting in the Starbucks drive through waiting to pay for my coffee when I saw I didn't have enough on my app so I went to add it and it kept saying it cannot at this time (can't recall the exact error. So I paid with my card and went on my way. Later that day I decided to check my payment methods to add money to the Starbucks app and saw Google pay was one. I tried two times and both failed as well. But I got 4 notifications from Google all within a few minutes (see pic) basically it said my payment went through, then refund, the the second went through then refunded. But Starbucks was giving an error on its end. I checked my bank and my thankfully my earlier attempts at adding to the Starbucks apps did not go through. I also can no longer train my voice through the Google trusted apps.

So, is this all related to Magisk and an unlocked bootloader?

Thanks.

http://imgur.com/a/tSnZUD5

---------- Post added at 04:44 AM ---------- Previous post was at 04:09 AM ----------

Can anyone help me with which version my OnePlus 6T would use? I tried what seems like all of them and they all failed when trying to install.
[Magisk] kogan92:
Can anyone tell me which one is the latest fix for magisk and Google pay?
[Magisk] zencooler:
Depends on the smartphone model there are different fixes. But the general one working on 99% cases is here:

https://xdaforums.com/apps/magisk/magisk-google-pay-gms-17-1-22-pie-t3929950
[Magisk] Ce Doresti:
Hi, for note 9 ambasadii rom ? Any one know? Thank
[Magisk] LLStarks:
Whoa. The Automate method actually works for adding cards.

What do the regular and unlock flows do respectively?

Pixel 2 XL. Q Beta 4. Latest Play Services beta.
[Magisk] 73sydney:
Or if you dont want to do all that typing i have magisk modules that do all thats in that post, and more : https://xdaforums.com/showpost.php?p=79643248&postcount=176

Dont use the automate flows any longer, i wrote them and i stopped using them a while ago as they stopped working, and the fixes in the other thread were more reliable. As mentioned above i now use magisk modules, which i have posted here: https://xdaforums.com/showpost.php?p=79643248&postcount=176

By all means keep automate for other things, like my sim death recovery flow :)
[Magisk] LLStarks:
Cool. Thanks. Do I need to undo anything from the flows?
[Magisk] 73sydney:
Shouldnt need to
[Magisk] skia16:
The .flo method works with gps 17.7.85?
[Magisk] 73sydney:
The .flo method was abandoned, by me, the one who uploaded it

If im not using it, theres a reason why....

Use the manual method OR the magisk modules i maintain and are mentioned in my sig and a few posts above....
[Magisk] skia16:
It didn't work with the gps version mentioned above
[Magisk] 73sydney:
Feel free to provide info about why it doesnt work

which version have you tried theres 3....GPay SQLite Fix - the first option in Downloads is the recommended option

do you have a working sqlite3 binary?

where is the sqlite3 binary located?

what errors do you get if you try and run the commands in gpay.sh manually via terminal, as root?

im not a mindreader :)

I test it, ive used it (as late as yesterday), and have will mod it if necessary to fix issues, as i did last week to cover all reported issues
[Magisk] skia16:
I have SQLite magisk module installed and I don't know the location of SQLite 3

I only installed your module and I don't know the function of the terminal command. When I reboot gpay Ask me an account to use and the when i set the contactless payment It gives me errore (I already have the card added to my account)
[Magisk] SageWilliams:
Did you remove the card first, then readd? That was my biggest mistake.
[Magisk] skia16:
Yes, same error
[Magisk] LLStarks:
If you don't know the location of SQLite 3, then you may note have the SQLite for ARM module installed. You need both the fix module and the SQLite module.
[Magisk] skia16:
The SQLite module Is installed
[Magisk] skia16:
I try ti reset gps and reboot and the module works (I check dg db with a SQL database Reader and all "attest" entries have changed with 0) but the errore still remain
[Magisk] zencooler:
Then clear cache and data of GPay and uninstall it. Reboot and install GPay again and add your cards. It should work.
[Magisk] skia16:
Still the same error
[Magisk] zencooler:
Really? One more - most important question: have you set up 440 permission to dg.db file after attestation lines are changed to zero? It is crucial part of the fix.
[Magisk] skia16:
Yes
[Magisk] skia16:
same result
[Magisk] Khotu:
How to make it work on Mi9 stock kernel? SQlite etc doesnt work :(