How to remove root detection from APK file (Smali modding in noob way)

Note: This tutorial is only helpful with simple root detections. This tutorial will not be helpful in modern apps with strong protection.

This was the noob way to edit smalis without any knowledge

How to remove root detection from the APK file:
1. Download any APK tool of your choice

2. Install Notepad++ or other text editors that support searching through all files

3. Decompile an APK file

4. Open Notepad++, click on "Search" -> "Find in files..."


5. Go to the path where the APK has been decompiled, and choose "smali". Click "OK"


6. Search the following keywords and click "Search"

Superuser
Supersu
/system/app/Superuser.apk
/data/local
/data/local/bin
/data/local/xbin
/sbin
/system/bin
/system/sd/xbin
/system/xbin
/system/bin/failsafe
/vendor/bin
/su


 

7. You will see the result. Double click on line to open up the choosen smali file.


8. Modify the string to whatever you want. Example: "com.donotdetectme", "imnotrooted" and so on.


9. Open the APK tool, select the APK and recompile + resign the APK file

10. Install it on your rooted device and enjoy

Comments

Popular Posts

[Discontinued] VMOS Pro Global/CN Free Custom ROMs | Android 4.4.4, 5.1.1, 7.1.2 | ROOT | Gapps | Xposed | (NO VIP NEEDED)

[TOOL] Unity Assets Bundle Extractor