Tutorial Remove root detection from an APK file (Part 1)

AndnixSH

PMT Elite Modder
Original poster
Staff member
Modding-Team
Jun 27, 2017
4,755
300,839
1,213
Modding World
Can't play a game on your rooted devices? Don't want to install Xposed or any 3rd party apps?

Here is how to remove Root Detection from any app. Notes: this may not work with every app.

How to remove Root detection from the .apk file:

1. Backup the APK file you want to mod, using

APK backup and restore

and copy the .apk file to your computer;

2. Download any APK tools to your computer.

3. Install Notepad++ on your computer (link below):

Notepad++

4. Place the backed up APK inside the folder APK tool folder (it depends on which apk tool you are using). If you're using the Apkt Tool provided in this tutorial, place it inside the 1-APK-in folder:

vFWPicu.png



5. Decompile the APK file

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

Ou8pch9.png


7. Find the path where the APK has been decompiled, and select "smali". Click "OK"

fVkNnB6.png


8. Search for any of the following words and click "Search"

Code:
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
/s
KKALpB7.png


5dU9hq0.png


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

fDaH5Yg.png


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

HAjUrnz.png


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

12. Install it on your rooted device and enjoy!

Credits:
AndnixSH#

______________________________ PART 2 >