Installing Magisk and Play Integrity Fix


Using @VirusPlus guide (with some changes) I got basic and device integrity (no strong) and my wallet, bank, revolut and mcdonald is working.

I'm using Magisk Alpha, PIFork, Shamiko, Tricky Store, Zygisk Assistant, Zygisk Next and Yuri.
I'm not using LSPosed.

I'm pretty sure that you should edit pif.json before running action in PIFork (or running termux that basically does the same) so if it's not working for you, try to run pif after editing the json.
Also: Click action of Yuri in Magisk and then open Yuri from KsuWebUI app to find Menu+ (it's not obvious from original post so it might be tricky to find Menu+).

It took me few tires because of lacking information in original post, but I got basic and device integrity within 15 minutes.
 
  • Like
Reactions: pigpiglover
Using @VirusPlus guide (with some changes) I got basic and device integrity (no strong) and my wallet, bank, revolut and mcdonald is working.

I'm using Magisk Alpha, PIFork, Shamiko, Tricky Store, Zygisk Assistant, Zygisk Next and Yuri.
I'm not using LSPosed.

I'm pretty sure that you should edit pif.json before running action in PIFork (or running termux that basically does the same) so if it's not working for you, try to run pif after editing the json.
Also: Click action of Yuri in Magisk and then open Yuri from KsuWebUI app to find Menu+ (it's not obvious from original post so it might be tricky to find Menu+).

It took me few tires because of lacking information in original post, but I got basic and device integrity within 15 minutes.
Just uninstalled the LSPosed & "Hide My Applist" to match your installation list...
- Magisk Alpha, PIFork, Shamiko, Tricky Store, Zygisk Assistant, Zygisk Next and Yuri.


I got 2 ticks (Basic & Device) as yours. The wallet works....But all bank apps, McDonalds are fail.... do you know what I am missing to do? Thanks.
 
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
I did this and now have strong. But my Google photos unlimited backup module doesn't seem to work anymore. I think it has to do with the fingerprint thing. What do you suggest?
 
"I tried installing Curve, but when I attempted to change the default payment app, it only shows Google Pay. Curve doesn't appear, so I can't replace it."
MI 11 - MIUI14

EDIT : "MUST do it from the app after setup is complete, not from the phone settings."
 
Last edited:
do you know what I am missing to do? Thanks.
Honestly, I have no clue. Some get strong, some don't even thought we all follow the same guide. It's strange.

What do you suggest?

I suggest to start paying for storage service you're using. Don't get me wrong, exploiting google to get unlimited storage is fun, but I have a feeling that this is one of the reasons that Google is fighting us so much.
 
I faced a strange issue today for google wallet.
- 2 ticks (basic & device only)
- No integrity warning message shown on the google wallet

When i tapped the wallet to payment machine, it shows card not accepted on the machine....sigh...
 
When i tapped the wallet to payment machine, it shows card not accepted on the machine....sigh...
Have you cleared Google Play Services data? It's necessary. I had same issue previously and clearing data of play services and adding my card to wallet again fixed this.
 
Have you cleared Google Play Services data? It's necessary. I had same issue previously and clearing data of play services and adding my card to wallet again fixed this.
What I did as below
1) can pay via wallet
2) failed to pay after 2hrs,
3) clear data and cache for wallet, play services and etc
4) readd the card
5) retry to pay, but fail.
 
Final Solution
Everything Works, All banks including Revolut works
Pass all levels including Strong integrity

Needed:
1. Last Version of Eu.Xiaomi.module.inject (last 06.24.2025), must be enabled
2. APatch
3. Tricky Store (last 1.30)
4. Tricky Store Addon (Last 4.0)
5. ReZygisk (Last 1.0.0.RC2)

Importmant
Do not Install Any Version or revision Play Integrity Fix, Fork, etc
Only What is needed


Reboot after everything installed

Setup
0. Uninstall Magisk
1.Install APatch (its based on Magisk)
2 Update Apatch
3. In Apatch install ReZygisk, Tricky Store and Tricky Store AddOn
4. Reboot
5. Open Apatch, Then in app Tricky Store,
select App for banks (Google Wallet, Revolut mHPB, etc)
Select Valid Keybox,
"Save" (blue text),
Select Security Patch, (get from menu),
Save,
"Save" (blue text)
6. Clear all Data for Google Play Service, Wallet, Google play store, Google Service Framework
7. Reboot

That all, you got 3 level

PS
If Valid Keybox is rewoked, everything works, do not do anything
In case of problem, uninstall updates for Google play store, Google play services. In Google setup block automatic update of system files.
Then clear all data for Google play services, Wallet, Google play store, Google service framework
Somentimes helps to add in tricky store some app of google and xiaomi account
 
Last edited:
Oh, thank you so much!

APatch + Tricky store + AddOn and configure them -- it works like a charm :)
 
Last edited:
Final Solution
Everything Works, All banks including Revolut works
So, finally, there is hope! :)

Later edit
I tested the proposed solution on my spear Xiaomi 12 with xiaomi.eu rom (ULCCNXM)
Indeed for Revolut and other banking apps, also in Google Play Store, the pnone appear as certified and the integtiry check is showing all 3 integridy checks as passing.

But the Google Wallet still is detecting something which doesn't allow me to add credit cards. I cleared Google Wallet data, even I uninstalled and reinstalled from Google Play Store, and I deleted all data from Google Play services, Google Play Store, Google Service Framework and obviously Google Wallet.
Once opened the Google Wallet for the first time after data cleanup, is starting with payment setup, but in the end, after choosing an exisisting payment card added already to my Google account, is showing that the phone doesn't meet the "tap to pay security standards".

In my case, importat is to have access to my Revolut account, to pay I guess I can use Curve, I didn't test it yet.
 
Last edited:
After installing the newest stable ROM and Patch to my Mi 11 Ultra, GPay luckily works again. BUT I miss a lot of notifications from several apps. Don't get any of them besides messanger apps like WhatsApp, Telegram, etc. Anyone else having this issue?

First recognized it after GPay payment. There was no notification about the paid amount. Also didn't receive any pushs for new mails, sold eBay articles etc! Tried to re-grant permissions for notifications, also turned off battery saving mode for these apps and autostart is also enabled. All without success. What to do now?
Did you fix the notification issue? I just updated from miui 14 to hyperos1.0 and am having the same issues with delayed or no notifications
 
So, finally, there is hope! :)

Later edit
I tested the proposed solution on my spear Xiaomi 12 with xiaomi.eu rom (ULCCNXM)
Indeed for Revolut and other banking apps, also in Google Play Store, the pnone appear as certified and the integtiry check is showing all 3 integridy checks as passing.

But the Google Wallet still is detecting something which doesn't allow me to add credit cards. I cleared Google Wallet data, even I uninstalled and reinstalled from Google Play Store, and I deleted all data from Google Play services, Google Play Store, Google Service Framework and obviously Google Wallet.
Once opened the Google Wallet for the first time after data cleanup, is starting with payment setup, but in the end, after choosing an exisisting payment card added already to my Google account, is showing that the phone doesn't meet the "tap to pay security standards".

In my case, importat is to have access to my Revolut account, to pay I guess I can use Curve, I didn't test it yet.
On my Xiaomi 12TPro, no problem. I will sent all programs to include in Tricky Store.
Uninstall all update for Google play store and Google Play Services.
In Setup, Google, Updating System services (it write on croatian but i thing its ok translate), disable it. Reboot, clean all data of Wallet, unistall, reboot,
Install and it will be ok.
 
Last edited:
What is the version of your Google Wallet application?
I tried latest and one from 20 of June this year, downloaded from APK mirror.
Both have same final error message regarding the security.
 

Attachments

  • Screenshot_2025-07-13-19-22-57-705_com.miui.securitycenter.jpg
    Screenshot_2025-07-13-19-22-57-705_com.miui.securitycenter.jpg
    242.5 KB · Views: 27
  • Screenshot_2025-07-13-19-21-57-588_com.miui.securitycenter.jpg
    Screenshot_2025-07-13-19-21-57-588_com.miui.securitycenter.jpg
    229.8 KB · Views: 27
  • Screenshot_2025-07-13-19-21-48-682_com.google.android.apps.walletnfcrel.jpg
    Screenshot_2025-07-13-19-21-48-682_com.google.android.apps.walletnfcrel.jpg
    225.1 KB · Views: 27
  • Screenshot_2025-07-13-19-06-34-472_me.bmax.apatch.jpg
    Screenshot_2025-07-13-19-06-34-472_me.bmax.apatch.jpg
    391.3 KB · Views: 25
  • Screenshot_2025-07-13-19-06-06-765_com.miui.securitycenter.jpg
    Screenshot_2025-07-13-19-06-06-765_com.miui.securitycenter.jpg
    228.3 KB · Views: 26
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.
Do I need to make an account or just add card to pay contactless? Any card works or just curve card?
 
1. You need a Curve account, you can create directly into the application.
2. As far as I know could be added any Mastercard or Visa brand card. I used in the past into the Curve some cards which was not supported by Google Wallet, so is more permissive in this direction.
3. Transaction payed with Curve will appear on you banking application with a prefix, if I'm not mistaken, is something like "Crv*...."
4. Pay attention to your card currency and the transaction, if are different a fee could be applied. A weekend currency fee could be applied also.
 

Attachments

  • Screenshot_2025-07-13-23-06-07-258_com.imaginecurve.curve.prd-edit.jpg
    Screenshot_2025-07-13-23-06-07-258_com.imaginecurve.curve.prd-edit.jpg
    164.9 KB · Views: 22
Last edited:
And do I need to go through verification process like giving my ID card for opening curve pay account, or just email address and pssword?
 
Final Solution
Everything Works, All banks including Revolut works
Pass all levels including Strong integrity

Needed:
1. Last Version of Eu.Xiaomi.module.inject (last 06.24.2025), must be enabled
2. APatch
3. Tricky Store (last 1.30)
4. Tricky Store Addon (Last 4.0)
5. ReZygisk (Last 1.0.0.RC2)

Importmant
Do not Install Any Version or revision Play Integrity Fix, Fork, etc
Only What is needed


Reboot after everything installed

Setup
0. Uninstall Magisk
1.Install APatch (its based on Magisk)
2 Update Apatch
3. In Apatch install ReZygisk, Tricky Store and Tricky Store AddOn
4. Reboot
5. Open Apatch, Then in app Tricky Store,
select App for banks (Google Wallet, Revolut mHPB, etc)
Select Valid Keybox,
"Save" (blue text),
Select Security Patch, (get from menu),
Save,
"Save" (blue text)
6. Clear all Data for Google Play Service, Wallet, Google play store, Google Service Framework
7. Reboot

That all, you got 3 level

PS
If Valid Keybox is rewoked, everything works, do not do anything
Somehow gpay not working, however I also have inject version 2025.07.01 which I can't downgrade. Maybe that's the issue?

I do have working keybox +3 validated checkbox + play protect certification
 
I still don't understand, what is the purpose of XiaomiEU Module app (Eu.Xiaomi.module.inject) if it doesn't fix Google Play/Google Wallet? Why do I need to install something else? What is this app for?
 
I still don't understand, what is the purpose of XiaomiEU Module app (Eu.Xiaomi.module.inject) if it doesn't fix Google Play/Google Wallet? Why do I need to install something else? What is this app for?
Just to clarify: eu.xiaomi.module.inject is designed to help Xiaomi.eu ROMs pass Google's Play Integrity checks specifically basic and device integrity so apps like Google Pay, Wallet, and banking apps work properly.

In my case, all checks pass, but Google Pay still doesn’t work.
So the module itself isn’t the issue, the problem seems to be on Google's side or linked to Wallet's internal status/cache but can't figure out why..

Actually my problem is even weirder... When I cleared cache and all stuff, the first time I start gpay it looks like everything is working. Also no annoying message like "phone doesn't meet security requirements" however when I try to add a card, it instantly gives me the security message...

So somehow there is a 2nd check or something when loading the cards..
 
Somehow gpay not working, however I also have inject version 2025.07.01 which I can't downgrade. Maybe that's the issue?

I do have working keybox +3 validated checkbox + play protect certification
Last inject version is 2025.06.24. That is the problem.
Also, uninstall update of google play services and google play store and block system update google setup
Maybe google again change rules of wallet. This fix all banks and in this moment google wallet.
Change google Wallet with alternative
 
@maksam07 It used to work, before Google changed the rules. This thread was created before the module release.
I understand that the theme was created before the module was released, but even after the release, and after installing the current version of the module, it seems that it does not work as expected. I do not see any normal instructions on how this module works, how stable is it and whether it should be used at all, or is it better to freeze it and use old versions (modules for magisk)?