Skip to content

Instantly share code, notes, and snippets.

@B1ue-Dev
Created June 29, 2025 13:10
Show Gist options
  • Save B1ue-Dev/5f82ca09a94021f2086d3a4d4aa5d9f4 to your computer and use it in GitHub Desktop.
Save B1ue-Dev/5f82ca09a94021f2086d3a4d4aa5d9f4 to your computer and use it in GitHub Desktop.
Hide bank apps from root and fix Integrity + Play Protect after unlocking bootloader and gain root (pdx203)

This is done on Android 11 for Xperia 1 II (pdx203) 58.1.A.5.395

You need to have bootloader unlocked and rooted via Magisk (Not Magisk Delta, Alpha, Kitsune)

This guide will assume you have already rooted. Root guide can be found somewhere on the internet.

In Magisk setting

  1. Choose the option "Hide the Magisk app". Install it.
  2. Enable Zygisk, reboot. Make sure that "Enforce Denylist" is disabled.
  3. (Optional) Last line "Superuser Notification", set it to None to it won't send the toast notification on rooted apps.

Necessary modules and apps

Install these modules with the following order:

  1. Zygisk - LSPosed
  2. Shamiko
  3. PlayIntegrityFix (I haven't figured out with PlayIntegrityFork, let me know if you can)
  4. TrickyStore
  5. TrickyStore Addons

Install these apps:

  1. Applist Detector
  2. KSUWebUI
  3. Hide My Applist

Hide the root related apps from bank app (I use Vietinbank in this case)

  1. Install the Hide My Applist in LSPosed
  2. Open the Hide My Applist. The version I used when this guide was being written was V3.5r449...
  3. Open Template manage. You see there is an option "Create a blacklist template"
  4. In Template settings, select "Hide My Applist", "KsuWebUI" and the fake Magisk app (normally Settings, has a random package name)
  5. Go back to main menu. You see "App manage"
  6. Select "Applist Detector" (and any bank app or apps that you need to hide root later on, need to be configured separately)
  7. In the App settings, select "Enable hide". In the Template config, choose the template you do in step 4.
  8. Reboot phone.
  9. Open Applist Detector. All tests should be passed.
  10. Open bank app and try to login. You should be good to go now.

Fix Integrity + Play Protect

  1. Open KsuWebUI. You should see there is "Play Integrity Fix" and "Tricky Store"
  2. Tap on Play Integrity Fix and choose "Fetch pif.json". Wait until it is done.
  3. Go back and open Trick Store.
  4. Open Tricky store : Open App menu [ Top right corner ]

Select all > Deselect Unnecessary > Set valid Keybox > Save

Again open menu > Set security Patch > click "Get security Patch date" [ It'll auto configure the dates ].

Remember to click Save

  1. Now, clear data/cache of these apps:
  • Google Play Store
  • Google Play services
  • Google Services framework
  1. Reboot the phone.
  2. Check Integrity in Play Storeand Play Protect. You should be good to go.

If you randomly find this gist helpful, consider give it a star.

Blue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment