Installing Magisk and Play Integrity Fix


@VirusPlus Thanks for your tutorial. When updating xiaomi.eu, I suppose we need to patch again new boot.img with apatch and flash it to reactivate root and all will work properly again
 
Last edited:
cannot properly edit missed quotations, hence deleted (don't have time to write the same post from the beginning)
 
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 or 2025.07.01), 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 Magisks modules and magisk. First uninstall all modules, reboot, then unistall Magisk, reboot
1.Install APatch (its based on Magisk) (there is icon like windows with arror to down), select boot image. copy apatch*.img to local pc). Go to fastboot mode. on pc type "fastboot boot apatch(what you copied on pc).img" without " "
2 Update Apatch directly (select and install), middle choice. Reboot
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
If you check multiply times, play integrity check will show false result and put you on ban list!!
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
Doesn't work for me
 
Good Morning, is anyone able to set Curve as default payment app with any kind of root ? I have tried multiple root options and modules but it just doesnt let me set it as default.
 
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
It's work perfect for moment
 
Last edited:
  • Like
Reactions: pinteno
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
It's works perfect! Thanks
 
  • Like
Reactions: dennys.sobrinho
For everyone that is only getting basic and device integrity, you will need to re-enable eu.xiaomi.module.inject to get strong integrity. This works on my Xiaomi 14.
 
  • Haha
Reactions: Eclipse1991
For everyone that is only getting basic and device integrity, you will need to re-enable eu.xiaomi.module.inject to get strong integrity. This works on my Xiaomi 14.
Do you use any Magisk modules? eu.xiaomi.module.inject gets me only basic. A13
 
Dumb question regarding APatch and its Modules.
for how long will the workaround work? until a new security path is released? or can i update the modules 'on-the-fly' when new versions comes out?
 
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
It worked perfectly but today I don't pass the strong anymore

Any solution ?
 
So I'm trying to install apatch instead of magisk. It asks a boot image to patch. The question is where I can find such patch?
I have a redmi note 9 pro with latest miui.eu version.
 
So I'm trying to install apatch instead of magisk. It asks a boot image to patch. The question is where I can find such patch?
I have a redmi note 9 pro with latest miui.eu version.
Check this thread:

There is a video tutorial
 
  • Like
Reactions: Nemo1985