[Article] [Guide] Solving Bank apps, Google wallet and other root detection problems | 2024 Feb Article
Updated: 2024 December. Updates are in bold. Outdated material is struck-though
A lot of people (including myself) have had problems with google wallet, play integrity and other apps detecting root. So I have made a list of solutions that worked for me and could work for you. I am not a developer so pardon me if my guide is not very technical or complete.
Update1: The steps may work for all kinds of root like KernelSU or Apatch but since I have root by magisk patch so I would refer to it mostly.
Step 1: Get magisk (obviously you have it), use zygisk and shamiko modules. If this doesnt work for you, use other forks of Magisk like Magisk Delta (Magisk Kitesune). It has MagiskHide so you will not need zygisk and shamiko to hide apps. Just hide the banking app using magiskhide, clear storage of the banking app and test.
Magisk KS (NOTE THAT THIS IS NOT THE OFFICIAL MAGISK FILE)
Official Magisk
Step 2 and 3 are meant to pass Play Integrity API checker test. If it passes then google apps wont detect root.
Step 2: Install Play integrity Fix. If you have Play Integrity Fix, it may not work because Google detects the fingerprint and flags it. So this fix then becomes unusable until the module is updated. It was a cat and mouse chase. Now there are better solutions. Again use one of the forks, like Play Integrity Fork or Play Integrity Next (which I use). The guides on their Github are easy to follow
Play Integrity Fork
Update1: Download Play Integrity Fix module and install it.
Play Integrity Fix
If you have followed till here, just clear cache and storage for Google Wallet, Playstore and play services. To test if this worked, download Play Integrity API Checker. These steps would be sufficient to run google pay and pass MEETS_DEVICE_INTEGRITY and MEETS_BASIC_INTEGRITY on the app.
Keep following the steps if some apps are still detecting root.
Step 2.5: If the step 2 didn't work for you, you try one one of the following:
Either: Keep Play Integrity Fix installed and install an additional module: PlaycurlNext
Or: Uninstall Play Integrity Fix and replace it with the it fork module: Play Integrity Fork and then install the same additional module PlaycurlNext. Test again as mentioned before.
If these steps dont work for your google apps, jump to step 7 and tips. If you are passing the Integrity checker test but the non google banking apps are still detecting root continue following step 3 onwards.
Step 3: Install LSposed module. Lsposed Framework module is discontinued so install its fork module instead. I am using zygisk release version since I have zygisk. There is another for Riru on the same link
lsposed module
https://github.com/mywalkb/LSPosed_mod
(An icon on your homescreen and/or a notification on your banner should have appeared , dont delete it).
Step 4: Install HideMyApplist app.
HMA
Step 5: Open LSposed module using the new Lsposed notification.
Go to modules, enable the HMA module in it. If not, restart the phone.
Step 6: Open HideMyApplist. It should say Module activated. If not, restart the phone. Go to App manage, select the banking app that is detecting root. Enable hide, enable workmode(whitelist), enable exclude system apps. (If you dont enable the exclude system apps, your device is likely to crash). Clear the storage of the banking app. Restart the phone, wait 5 minutes.
There is blacklist mode also but for most people whitelist mode should work just fine. For more details refer to the HMA guide: Guide
Step 7: If any app is still detecting root, try hiding your magisk app by going into magisk settings.
Step 8: Install DevOpts Hide app, enable it in Lsposed modules the same way you activated the HideMyApplist. Check the boxes of the apps that are detecting root. This Lsposed module hides Developer Options from the root apps.
Tips:
1: It is possible that you are doing everything right but some other magisk module or a submodule of Lsposed is causing the google services to detect the root. Try turning off all the other modules except PIF module and test with Play integrity API checker or the banking apps
2: Check your phone storage (Internal storage directory) if it has any custom recovery image file like twrp.img. If it does, delete it.
I hope it helps you.