Installing Magisk and Play Integrity Fix


do it exactly how my tutorial said. I do it today on Xiaomi 14T Pro with original rom and Xiaomi 13TPro with eu rom.
look what I disabled. I use simple keyboard.
 
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
Is there any video or detail guidelines, I'm not tech expert but I'm willing to try
 
  • Like
Reactions: levendis32
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 mate, you made my day!
 
APatch , Tricky Store , Tricky Store Addon, ReZygisk are just apps that I can't download and make them work or they something that I need to patch somehow on my device?
 
It would be great if the developers of the xiaomi.eu ROM include it in a future update
They will never include because it requires usage of leaked private keys from the real phone vendors.
Dealing with that is at least, forging someone else's digital property (and authority)

Besides, whenever Google finds one of those keyboxes being used massively for spoofing Play Integrity, Google revokes that KB.
Taking in account the vast number of Xiaomi.eu users, Google would weekly or so revoke (at first, shadowly, then publicly) the keyboxes and Xiaomi.eu would constantly need to find a new leaked KBs and to distribute the new versions of injector modules

But more likely, Google might take legal action against the Xiaomi.eu group

---

Be aware, this is all about the Google's Play Integrity framework and rules (new, strengthen requirements since the May 20 for Android 13+ ROMs). Formally, only not-modded phones, with the official vendors ROMs, and of course, locked Bootloaders are entitled to pass Play Integrity (as that, they pass Strong, Device and Basic Integrity tiers)

Whoever unlock his Bootloader and flashes custom ROMs (Xiaomi.eu is not the official Xiaomi ROM - Xiaomi EEA/Global ROMs are official from Xiaomi and you update them, for the legit devices without the need to ever unlock the BL) must be aware of the consequences. There are methods to spoof, but users are left to deal with that on their own responsibility - IMO, Xiaomi.eu will never promote them and specially

It's not Xiaomi or specially Xiaomi.eu specific. It applies to all Android phones (A13+ phones).
For lower than A13 requirements are generally weaker but formally that should be also the stock ROM and the locked BL (Google's problems with A9-A12 and lower are some devices, even some PIxel devices that were released with the non-compliant KeyMasters (and before A9, the requirements were even weaker), hence they cannot impose the same, strict Play Integrity requirements
 
Last edited:
  • Like
Reactions: an124_x15 and JiaiJ
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
Unfortunately it doesn't work anymore, I just redid all the steps.

Am I the only one?
 
I feel people is just overcomplicating this "integrity" drama.

If using Magisk (OG MAGISK ONLY, NO KITSUNE, NO HALF-ASSED FORKS)
- Activate Zygisk, update to latest canary (Manager and Magisk!), hide magisk app (settings in Manager app), configure denylist (just pick Google Play Store and Play Services)
- Install Tricky Store + Tricky Addon Module
- Configure Tricky Addon (Deselect unnecessary, select from deny list, set valid keybox, get security patch ver, touch save after every step)
- That should be enogh.

If you still can't get Strong integrity, install this:

In KernelSU, APatch, it's basically the same, except that you need a standalone Zygisk solution (Zygisk-NEXT, ReZygisk, NeoZygisk), and you cannot hide the app and there's no denylist)

Don't install the three modules at once, try first with Tricky Store+Addon module, and if you can't get the desired integrity verdicts, then install PIF Next.