Question [Magisk] Google wallet (pay) with magisk

Search This thread

Danishblunt

Senior Member
Jul 2, 2015
74
51
Saw on reddit that some people have issues with google pay, since the new update added some new checks. So here is what you do:
- Update Magisk to 25.2, Update magisk app to 25.2 as well
- Rename Magisk app if you havent already
- [ OPTIONAL ] Add all google apps on deny list (good practice in case google wants to detect root throught their other apps)
- install these modules: https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf and https://github.com/kdrag0n/safetynet-fix
- then:

step 1.) Download any terminal (I use termux)
step 2.) type SU
step 3.) type props
step 4.) edit device fingerprint
step 5.) follow the onscreen promt
step 6.) once successfully changed, reboot device
optional (i didnt have to but you can try) reset google play, play services and google wallet appdata.
step 7.) enjoy working google wallet.

- Reboot

NOTE: Remeber to clear google wallet just in case.

ANOTHER NOTE: If your device is not on this list: https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf/blob/master/common/prints.sh

then you'll have to manually obtain an old fingerprint for your device, its all on here how to do:

Enjoy.

EDIT: Alternatively try this:
https://github.com/Displax/safetynet-fix/releases/
it wont work for all from what I know but it was successful for some.
 
Last edited:

deechte

Senior Member
Feb 1, 2007
1,060
299
Soest
OnePlus 7T Pro
OnePlus 11
I'm very grateful for this guide, thank you so much! I'm not an ace at this, rooted my device long ago and simply kept updating.

The recent developments at Magisk got me so confused. I follow the Magisk - The Age of Zygisk thread, but there are so many things I don't understand and problems people have, that I was going to give up. I was still on Magisk v23 because of all of this. And then Google Wallet recently started complaining about root on my device.

So happy I found this thread with a simple step by step approach. After clearing data of the Wallet app, Play Store and Play Services I obviously had to re-add my banking card to it, and I was able to successfully do it. No warnings so far in the app, but I still have to make my first payment.
Update: by now I've been able to pay multiple times without trouble.

Edit: bootloader is unlocked.
 
Last edited:

LoredoJC

New member
Jul 30, 2022
1
0
On my ZE620KL nothing worked, many tries, I waited a few days and it didn't work. Even changing the rom for an official Asus rom (without root) the app kept saying that the device is not safe. It only started to allow contactless payment after relocking the bootloader. I believe that in my case, gpay did not work by detecting the unlocked bootloader.

Edit
The device passed all tests, safenet, Google protect, basic, CTS (with root).

but it still only worked after relocking the bootloader
 
Last edited:

Clasimodo

Senior Member
Dec 22, 2006
227
57
Samsung Galaxy A70s
On Samsung I didn't even have to hide Magisk. Magiskhide Props Config did the job. I had Universal SafetyNet Fix already installed, but don't know if that is necessary for wallet to work. I paid in different places without a problem.
 

oksagi

Senior Member
Oct 30, 2008
390
77
Pixel 6 with latest Magisk 25.2.
MagiskHide Props module.
Changed the fingerprint, cleared cache for Playstore, Play services and walled app.
I was able with these steps to pay via wallet yesterday.

Thanks for the workaround!
 
  • Like
Reactions: Rpgilligan85

Rayfen Windspear

Senior Member
Dec 17, 2015
144
119
Utah
Update on my Pixel 2. I changed the fingerprint to Pixel 6 and it let me add my card. Netflix updated as well. Looks like they are starting to deprecate some of the *really* older fingerprints.
 

mj084

Senior Member
Sep 26, 2008
1,097
365
On Samsung I didn't even have to hide Magisk. Magiskhide Props Config did the job. I had Universal SafetyNet Fix already installed, but don't know if that is necessary for wallet to work. I paid in different places without a problem.
Here too on OnePlus 7T - worked some days before using MagiskHide Props Config - now I installed the module and setted a certified Fingerprint and I was able to add my credit card to Google Wallet :)
 

Rayfen Windspear

Senior Member
Dec 17, 2015
144
119
Utah
Another update from me on Pixel 2. Changing the fingerprint from an Android 11 print to 12 caused my Camera app to update, totally breaking it on launch. Had to reverse my fingerprint back to Pixel 2 @ 11 to get my camera back up. I AM running LineageOS on 12 (12.1), but it looks like the Camera app is fingerprint dependent. Appears everything still works on the Pay side. Note that I haven't gotten around to making a payment yet, but the app no longer simply rejects me. I've yet to have it fail without it telling me to get lost from the app beforehand.

Looks like the GPay/Wallet/Play Store only check periodically and cache the results. Seems strange for something they would want to lock down pretty tight like Card payments... but whatever. Works for me at the moment.

I suspect I'll possibly have to mess with my fingerprint eventually again. If/when I do, I'll be sure to report back if it's the device they may have blacklisted, or if it was the Android 11 fingerprint. I'd suspect it's the device, not the OS though. It's certainly getting on the old side :cry:
 

Rayfen Windspear

Senior Member
Dec 17, 2015
144
119
Utah
Fingerprint back to Pixel 2 at android 11 restored my camera, but after a day or so, killed gpay again 😒. Any other fingerprint makes my camera want to update and break. Going to try several to see what correlation there is between OS and device that causes success. Trying Pixel 3 @ 11 right now. Have to wait for caches to settle before gpay decides I'm kosher again though.
 

Rayfen Windspear

Senior Member
Dec 17, 2015
144
119
Utah
Well, now I'm stuck with a choice between a working camera app, and having Pay work 😒. Updating my fingerprint to anything causes the camera app to update and throw an unsupported device error. Manually extracting and installing the camera app causes it to crash unable to load some shared library file.

Leaving the fingerprint on Pixel 2 @android 11 brings back the camera, but breaks Pay for the whole Wallet... Although it has let me add cards/methods without issue, and doesn't whine that I'm rooted when tapping on "not set up" like it does when you are rooted and have zero Pay mitigations.

So now I'm just waiting again to see if it will spring alive again after a bit, and then I'll tackle trying to get the right camera version installed without letting the stupid play store update it.
 

deechte

Senior Member
Feb 1, 2007
1,060
299
Soest
OnePlus 7T Pro
OnePlus 11
Well, now I'm stuck with a choice between a working camera app, and having Pay work 😒. Updating my fingerprint to anything causes the camera app to update and throw an unsupported device error. Manually extracting and installing the camera app causes it to crash unable to load some shared library file.

Leaving the fingerprint on Pixel 2 @android 11 brings back the camera, but breaks Pay for the whole Wallet... Although it has let me add cards/methods without issue, and doesn't whine that I'm rooted when tapping on "not set up" like it does when you are rooted and have zero Pay mitigations.

So now I'm just waiting again to see if it will spring alive again after a bit, and then I'll tackle trying to get the right camera version installed without letting the stupid play store update it.
If your camera app updates through play store, you could disable automatic updates. If it updates without play store, maybe installing AFWall+ and blocking internet access for it might work?
 

Rayfen Windspear

Senior Member
Dec 17, 2015
144
119
Utah
If your camera app updates through play store, you could disable automatic updates. If it updates without play store, maybe installing AFWall+ and blocking internet access for it might work?
I disabled auto update, then I walk away from it and and come back to find it had updated.

As to Pay update. I was changing my fingerprint all day yesterday playing with the camera, but I did a system update overnight, and Pay activated. It's been a while since I've opened recovery and wiped dalvik/cache. LineaogeOS recovery doesn't have that option. I wonder if changing fingerprint then clearing it would avoid having to wait.
 

Rayfen Windspear

Senior Member
Dec 17, 2015
144
119
Utah
Now this o_O

Screenshot_20220809-111959_Google Play Store.png


Here we go again...
 

Danishblunt

Senior Member
Jul 2, 2015
74
51
Well, now I'm stuck with a choice between a working camera app, and having Pay work 😒. Updating my fingerprint to anything causes the camera app to update and throw an unsupported device error. Manually extracting and installing the camera app causes it to crash unable to load some shared library file.

Leaving the fingerprint on Pixel 2 @android 11 brings back the camera, but breaks Pay for the whole Wallet... Although it has let me add cards/methods without issue, and doesn't whine that I'm rooted when tapping on "not set up" like it does when you are rooted and have zero Pay mitigations.

So now I'm just waiting again to see if it will spring alive again after a bit, and then I'll tackle trying to get the right camera version installed without letting the stupid play store update it.
Well if thats the only issue, why not download a gcam mod for your pixel 2 instead?
 
  • Love
Reactions: Rayfen Windspear

V0latyle

Forum Moderator
Staff member
My phone passed all the tests but would not work with Wallet. Tried fingerprint in props but my phone or variants of not listed. Followed Reddit suggestion of disabling/removing Props and flashing modded safetynet fix 2.32 modded by Displax over normal one. That solved my problem with my Oukitel F150 R2022
The reason for this is that Google has deprecated the SafetyNet certifications in favor of the new Play Integrity API, which uses 3 fields:

MEETS_DEVICE_INTEGRITY
  • The app is running on an Android device powered by Google Play services. The device passes system integrity checks and meets Android compatibility requirements. This is replacing SafetyNet's ctsProfile. This is what USNF fixes.
MEETS_BASIC_INTEGRITY
  • The app is running on a device that passes basic system integrity checks. The device may not meet Android compatibility requirements and may not be approved to run Google Play services. For example, the device may be running an unrecognized version of Android, may have an unlocked bootloader, or may not have been certified by the manufacturer. This is replacing SafetyNet's basicIntegrity, and means that Play Services has not detected root.
MEETS_STRONG_INTEGRITY
  • The app is running on an Android device powered by Google Play services and has a strong guarantee of system integrity such as a hardware-backed proof of boot integrity. The device passes system integrity checks and meets Android compatibility requirements.
    This is replacing SafetyNet's Hardware Attestation, and uses the Android system's Trusted Execution Environment to guarantee process security. This will not pass with an unlocked bootloader, and cannot be spoofed as it specifically relies on hardware security; unlocking the bootloader "breaks" TEE.

The workaround for this is the modded USNF module by @Displax which spoofs an older fingerprint causing apps to fall back to the "old way" of using only the DEVICE and BASIC fields. I imagine at some point in the future, app developers (especially large ones like Google) will eventually remove this fallback in their apps, which will mean that anyone whose device does not pass Play Integrity will not be able to use the app. This will include everyone running versions of Android older than 8.0, when TEE was implemented.
 
Last edited:

pndwal

Senior Member
Would you consider possibly boiling this down to a fairly simpler explanation that we can sticky? It's likely this will be the topic of quite repetitive questions going forward.

I tried to explain it somewhat simply here, please let me know how far I missed the mark
Wow.. another thread 😬... Perhaps we could condense this in @Didgeridoohan's GPay thread?

Anyway, since you asked me to critique, it's there:
https://xdaforums.com/t/discussion-google-pay-magisk-discussion-thread.3906703/post-87274413

🤠 👍 PW
 
  • Like
Reactions: V0latyle

arwindr79

New member
Sep 25, 2014
4
3
Thanks for the instructions, finally managed to make a payment today. Sprint LG G8 crossflashed to A11, Magisk 25.2, google pay worked fine but broke after the update to wallet. Even though my exact model number wasn't on the fingerprint list, the G8 fingerprint which is listed seems to be working fine.
 

jono0080

New member
Jan 9, 2017
1
0
Saw on reddit that some people have issues with google pay, since the new update added some new checks. So here is what you do:
- Update Magisk to 25.2, Update magisk app to 25.2 as well
- Rename Magisk app if you havent already
- [ OPTIONAL ] Add all google apps on deny list (good practice in case google wants to detect root throught their other apps)
- install these modules: https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf and https://github.com/kdrag0n/safetynet-fix
- then:

step 1.) Download any terminal (I use termux)
step 2.) type SU
step 3.) type props
step 4.) edit device fingerprint
step 5.) follow the onscreen promt
step 6.) once successfully changed, reboot device
optional (i didnt have to but you can try) reset google play, play services and google wallet appdata.
step 7.) enjoy working google wallet.

- Reboot

NOTE: Remeber to clear google wallet just in case.

ANOTHER NOTE: If your device is not on this list: https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf/blob/master/common/prints.sh

then you'll have to manually obtain an old fingerprint for your device, its all on here how to do:

Enjoy.
Worked a treat on s21 ultra followed step by step now have it working again
 

Top Liked Posts

  • There are no posts matching your filters.
  • 44
    Saw on reddit that some people have issues with google pay, since the new update added some new checks. So here is what you do:
    - Update Magisk to 25.2, Update magisk app to 25.2 as well
    - Rename Magisk app if you havent already
    - [ OPTIONAL ] Add all google apps on deny list (good practice in case google wants to detect root throught their other apps)
    - install these modules: https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf and https://github.com/kdrag0n/safetynet-fix
    - then:

    step 1.) Download any terminal (I use termux)
    step 2.) type SU
    step 3.) type props
    step 4.) edit device fingerprint
    step 5.) follow the onscreen promt
    step 6.) once successfully changed, reboot device
    optional (i didnt have to but you can try) reset google play, play services and google wallet appdata.
    step 7.) enjoy working google wallet.

    - Reboot

    NOTE: Remeber to clear google wallet just in case.

    ANOTHER NOTE: If your device is not on this list: https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf/blob/master/common/prints.sh

    then you'll have to manually obtain an old fingerprint for your device, its all on here how to do:

    Enjoy.

    EDIT: Alternatively try this:
    https://github.com/Displax/safetynet-fix/releases/
    it wont work for all from what I know but it was successful for some.
    6
    Today Wallet was blocked both on my and my wife's phones.
    Magisk 26.3/26.4 + safetynet-fix does not work any more.
    Looks like a new wave of updates from Google.
    hi there, strangely wallet worked this morning for contactless payments, and now it's giving me an error (the usual device is not secured enough, might be rooted...)

    Can someone relate to my issue?
    Try using this.
    5
    I had the same issue starting a few days back, and I managed to get it sorted. I had recently updated Magisk Manager and it looks to have dropped a Magisk<version>.apk in my Downloads directory. Upon deleting that apk, Wallet again considers my device "secure enough".
    5
    One thing that should be made known is that Play Integrity Fix (by chiteroman) will no longer work "out of the box". There are some reports that the module is still working for some, but that is bound & inevitable to not be the case within weeks (if not days). The method he employed to get ALL devices using his module are continually blocked by Google and he had to update the module & version every 2-4 business days (they didn't seem to block on weekends 😆). So he's made the decision to stop and one must find their own aspects of his method and implement it in his module to get it working -- this doesn't mean he's stopped developing or updating the module though!
    Now it is a mad dash to use the 3 or 4 other methods out there that somewhat automate the "method" he was using to a new "fingerprint" (unless you're very willing to look into it, just take the term in context), but they all require a number of further steps and considerations and none work "out of the box" (install, and simply leave and forget with no set up or modifying of the module) that the main branch of Play Integrity Fix (PIF) used to be able to achieve/do.
    There is a lot more involved and time consuming method (which I can state and go further into in this thread, if prompted to), but once figured out, found, and set up, it seems to be more consistent and stable with no further steps to it working (most of us who have done it haven't had the need to change or update; unlike the 3 or 4 methods i talked about above) -- just checking every now and then that you can still use Wallet.

    Apologies for this wall of text, but I just wanted to make it known at least in this thread this consideration & caveat in relation to the established and most acknowledged condition to getting Wallet to work (passing MEETS_DEVICE_INTEGRITY; merely passing SafetyNet attestation [depreciated; out of favor] and cts profile match is no longer enough).
    3
    hi may I ask what does step 5 mean? Thanks!

    Sorry, I don't get it. I should change the FP from my Google PIxel 6 to any other, like 6Pro or Pixel 5?

    Cheers
    Tom

    I figured out you need to subsequently choose:
    A) edit device fingerprint
    B) pick a certified fingerprint
    C) choose your specific brand, device and Android version
    D) confirm with Yes

    This does not really change anything to your actual fingerprint you use to unlock your device, but apparently it changes something needed to make it all work.