oliviersenn6 47 Posted January 28, 2020 Share Posted January 28, 2020 Disclaimer: i am not responsible for any harm that may come to your device as a result of following this tutorial. as it turns out, Google pay has detection mechanisms that enable it to detect magisk even when hide is enabled and even when you pass safetynet. this is annoying because some of use like to root our devices but would also like to be able to use features that were listed as a selling point for the phone. i found this topic on XDA which details steps to fool it into thinking the checks have passed, which I will copy below for your convenience. download an sqlite database editor, such as https://play.google.com/store/apps/details?id=com.tomminosoftware.sqliteeditor download termux force close google pay open /data/data/com.google.android.gms/databases/dg.db with your sqlite editor. when asked what table to open, choose "main". edit every line with "attest" in the first column so that the 3rd columns value is 0 (instead of 10). there should be 4 of those lines. open termux, get root access with su cd /data/data/com.google.android.gms/databases chmod 440 dg.db reboot (reboot in termux works just fine) profit. what you've done is edit the database google pay and other google apps use to store the results of their own integrity checks to say that you passed those checks, then changed it to read-only so that even if the check is ran again, the database won't be updated. I was able to get past the "your device may be rooted" message when trying to configure a card to pay in-store, but unfortunately my bank doesn't support that yet so i got stuck further along. if your bank supports google pay, it should work just fine. note that i haven't told you to hide magisk from google pay. this method should not need that, but i've done it anyway as a security. 1 4 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.