Fix integrity and root detection - yashaswee-exe/AndroidGuides GitHub Wiki
Fixing Integrity
Installing required modules:
Configuring PlayIntegrityFix
- Open Modules tab in KernelSU/Magisk manager.
- On the PIF module, tap Fetch pif.json to retrieve the config file.
Configuring TrickyStore:
- Open Modules tab in KernelSU/Magisk manager.
- Find Tricky Store in the modules list.
- Tap on Open/Action button.
- Click on menu
1. Select All > Save
2. Deselect Unecessary > Save
3. Set Valid Keybox
4. Set Security Patch > get security patch date.
- Done ✅
If you are using any custom ROMs, make sure to disable any integrity fix spoof that comes with the ROM (if any).
Your integrity should be fixed now. You can check integrity using this app.
Hiding root detection:
Magisk
- Go to Magisk settings.
- Enable Denylist.
- Add affected apps to the Denylist.
You MUST select the following in Denylist:
Google Play Store
,Google Services Framework
andGoogle Play Services
.
KernelSU
-
Install ReZygisk.
-
Go to KernelSU settings and disable
Unmount modules by default
-
In KernelSU now search for all the apps that detects root. Click on
Custom
and then enableUnmount module
. -
Skip this if using ReZygisk, but if using Zygisk Next
Go to Zygisk Next and enableEnfore Denylist
IF APPS ARE STILL DETECTING ROOT/CRASHING
HideMyAppList
Some apps scan your installed app list for root managers & "suspicious" apps that uses root, you can setup Hide My App List:
If using Magisk, you can skip this step and instead from Magisk settings use
Hide the Magisk App
option, choose any unrelated name.
If you are using OxygenOS/ColorOS/RealmeUI, add KernelSU Manager in "Hide Apps" and this should hide it from all other apps.
Rest of you, follow the following steps:
- Install LsPosed.
- Install & enable Hide My App List in LSPosed and setup a blacklist template including apps such as root manager, LSPosed modules, Shizuku etc that might get flagged by banking/payments app.
- Go to HMAL > App manage > Select iMobile & other banking/payment app one by one > Enable Hide and select the template created in the previous step.
- Clear data of the apps that are failing, reboot, and try to setup again.
Spoofing unlocked bootloader status
Some apps also looks for unlocked bootloader status, adding apps in target.txt helps with this. Helps with WhatsApp, Axis Bank etc.
- Open tricky store add-on.
(If you don't know what this means check
Configure Tricky Store
steps above.) - Find the target app (let's say WhatsApp).
- Make sure it's ticked, now long press on the app name and select the green exclamation mark.
- Hit save.
this guide.
If you are unable to setup WhatsApp, followProtectaAi
To fix root detection on KotakNEO, iPartner Pro, ICICI iMobile App follow this guide.
IAmNotADeveloper
If apps are giving you warnings/errors about developer options, USB debugging mode or wireless debugging mode.
NOTE: Only use this if you are seeing above mentioned warning/error or else skip it.
- Install LsPosed.
- Install IAmNotADeveloper Lsposed module.
- Go to LsPosed > IAmNotADeveloper > Select the apps that are giving you such warnings.
- Force stop the target apps and viola.