Installing Magisk and Play Integrity Fix


This is good documentation.
One additional note: When using ReZygisk, it is better to use the latest CI version for better concealment.
The CI version can be downloaded from the Actions tab on Github.
If you do not have a Github account, use the following URL.

If Magisk or KernelSU or APatch Manager App is detected, you will also need LSPosed and Hide My Applist.
Please read the documentation below on how to use Hide My Applist.

The official LSPosed is not compatible with Android 15 and above, so you will need to participate in an internal test.
If you are not qualified, use this.

Strange - I'm using the LSPOSED from github and it worked straight away (1.10.1)
 
For Rooted users.

APatch with following APModules Installed (Should work with Magisk and KernelSU* too):
1. Play Integrity Fork
2. Tricky Store
3. Tricky Addon
4. ReZygisk
Install the above modules and restart.

1. Disable eu.xiaomi.module.inject and restart.
2. Clear data: Google Wallet, Google Play Services, Google Play Store and Google Services Framework.
3. Press Action button in Play Integrity Fork.
4. Press Open in Tricky Store > Menu > Sellect All > Menu > Deselect Unnecessary > Save > Menu > Set Valid Keybox > Menu > Set Security Patch > Get Security Patch Date > Save.
5. In Termux app run the follow commands:

Code:
su
Code:
cd /data/adb/modules/playintegrityfix/
Code:
chmod +x ./autopif2.sh
Code:
sh autopif2.sh --strong

6. Restart

Google Wallet and Revolut works.

*As about Revolut since latest update it doesnt work if you got KernelSU manager app installed. APatch looks undetectable for now.

Alternative to Google Wallet if you are not rooted is Curve Pay, seems it works with just basic integrity


Thanks for your instruction, but it didn't work on Mi 11 Ultra

I'm rooted and have followed all the steps.

Integriti checks pass, but if I put it to the terminal, I get an error “Your phone does not support contactless payment because its software does not meet the standards.” and that's it
 

Attachments

  • 1751302495435.png
    1751302495435.png
    468.1 KB · Views: 144
  • Like
Reactions: Gehring88
Thanks for your instruction, but it didn't work on Mi 11 Ultra

I'm rooted and have followed all the steps.

Integriti checks pass, but if I put it to the terminal, I get an error “Your phone does not support contactless payment because its software does not meet the standards.” and that's it

View attachment 56015
Did you clear data of all apps, and did you re setup your card?
 
Screenshot regarding to the Curve Pay app.
Not clear what they mean but 'rpoted Android devices'- Magisk/Apatch or something that provides root (superuser privileges), or more widely unlocked Bootloader (and a custom ROM)

And what kind of 'root detection' they use now (and when and how they would possibly enhance the detection)

But if people currently use Pay Curve on Xiaomi.eu, that's the good sign
 

Attachments

  • IMG_20250630_192705.jpg
    IMG_20250630_192705.jpg
    598.6 KB · Views: 110
  • Like
Reactions: momejmojej
I deleted the cache, but I didn't re-add the card



All the cards were saved in the app
Not cache
Needs to be data I think - because mine worked although I lost all my payment cards.

I don't really care about losing all payment one though, as I just use Monzo.

Loyalty cards stayed
 
For Rooted users.

APatch with following APModules Installed (Should work with Magisk and KernelSU* too):
1. Play Integrity Fork
2. Tricky Store
3. Tricky Addon
4. ReZygisk
Install the above modules and restart.

1. Disable eu.xiaomi.module.inject and restart.
2. Clear data: Google Wallet, Google Play Services, Google Play Store and Google Services Framework.
3. Press Action button in Play Integrity Fork.
4. Press Open in Tricky Store > Menu > Sellect All > Menu > Deselect Unnecessary > Save > Menu > Set Valid Keybox > Menu > Set Security Patch > Get Security Patch Date > Save.
5. In Termux app run the follow commands:

Code:
su
Code:
cd /data/adb/modules/playintegrityfix/
Code:
chmod +x ./autopif2.sh
Code:
sh autopif2.sh --strong

6. Restart

Google Wallet and Revolut works.

*As about Revolut since latest update it doesnt work if you got KernelSU manager app installed. APatch looks undetectable for now.

Alternative to Google Wallet if you are not rooted is Curve Pay, seems it works with just basic integrity
Anyone knows how to get valid keybox? I got "no valid keybox found" error.
 
changing "Play Integrity Fork" module with "PlayIntegrityFix-NEXT" and following this guide plus clearing data of Google Wallet, Google Play Services, Google Play Store and Google Services Framework before last Restar again is fixing google wallet for today at least.

The weird thing is that I went to official ROM and relocked BL on my 2nd device POCO F3 and it doesnt pass any of Integrity. So people thinking go back locked and official maybe need to test it first.
 
Last edited:
Bye bye Google Wallet ️! I switched to "Curve Pay" in the Play Store and completely deleted Wallet. Curve Pay doesn't have the constant issues of Wallet, and you don't need a Magisk module. Curve Pay is very similar to Wallet and can also be used for contactless payments with your phone.
Thank you for this advice. I followed and I am paying everything via mobile, as before via Google wallet. Staying on .EU, I hope things will go forward.
 
For Rooted users.

APatch with following APModules Installed (Should work with Magisk and KernelSU* too):
1. Play Integrity Fork
2. Tricky Store
3. Tricky Addon
4. ReZygisk
Install the above modules and restart.

1. Disable eu.xiaomi.module.inject and restart.
2. Clear data: Google Wallet, Google Play Services, Google Play Store and Google Services Framework.
3. Press Action button in Play Integrity Fork.
4. Press Open in Tricky Store > Menu > Sellect All > Menu > Deselect Unnecessary > Save > Menu > Set Valid Keybox > Menu > Set Security Patch > Get Security Patch Date > Save.
5. In Termux app run the follow commands:

Code:
su
Code:
cd /data/adb/modules/playintegrityfix/
Code:
chmod +x ./autopif2.sh
Code:
sh autopif2.sh --strong

6. Restart

Google Wallet and Revolut works.

*As about Revolut since latest update it doesnt work if you got KernelSU manager app installed. APatch looks undetectable for now.

Alternative to Google Wallet if you are not rooted is Curve Pay, seems it works with just basic integrity
Does anyone know if this will affect my Galaxy Watch? My phone and watch lost their connection (the watch didn't recognize my phone anymore), and even after I reset the watch, I haven't been able to reconnect them
 
Tried two tutorials, every integrity passes indeed but I am still unable to add my card to Google wallet, am I supposed to wait those 24-72 hours? I did clear cache of everything and restarted the device multiple times.
 
When you have to trust someone with a username with "Virus" in there xD

P.S. Can confirm this works flawlessly. STRONG Integrity. VERMEER aswell.


What do we have to do if integrity is invalidated?

Revolut doesn't work for me. Not sure what's causing it but Momo detects Magisk & su + TWRP folder.
I think Revolut checks OS too now.

I am using EU rom now. If I start to patch the rom w/ apatch, is it required for a clean installation? Can I keep the existing app & data?
 
Does anyone know if this will affect my Galaxy Watch? My phone and watch lost their connection (the watch didn't recognize my phone anymore), and even after I reset the watch, I haven't been able to reconnect them
I have the same issue on Xiaomi 14 and Galaxy Watch 4 :( initially it said that it was unlinked due to clear data in Google services. Now I can't pair it again - it is failing at 75%.
 
I have the same issue on Xiaomi 14 and Galaxy Watch 4 :( initially it said that it was unlinked due to clear data in Google services. Now I can't pair it again - it is failing at 75%.
Same here. My Galaxy Watch 5 Pro kept failing to pair with my Xiaomi 13 Pro once it hit 75-80%. Despite resetting the watch more than 10 times, I ultimately had to factory reset my phone just to get it to pair again...

Thinking about rooting the phone again, but not sure I want to deal with all that bs again
 
Last edited:
Curve, paypal and other wallets dont work on my Xiaomi 11 ultra as well, not appearing as options as default payment apps. Any fixes to that? Already tried to clear all data, reinstall, update, restart phone