How to Unroot Rooted HTC One X!

For those of you on stock rooted ROM on the HTC One X (not a custom ROM), it’s very easy to unroot your rooted HTC One X.

What we will need to basically do is remove the su binaries from /system/bin and /system/xbin folder, also remove Superuser.apk from /system/app folder.

Then we will re-install the stock recovery, which will completely unroot your rooted HTC One X just in case you need to return the phone for warranty or other miscellaneous reasons.

Step 1. Download ES File Explorer app from the Play Store and run the app.

Step 2. Choose Menu->Settings.

Step 3. Make sure “Root Explorer” and “Mount File System” are checked ON.

Step 4. Choose “Favorites” then hit “/”.

 

Step 5. Browse to /system/bin/ and /system/xbin/ directories and erase any files named “su” if they exist. (they should exist in both or just in one of the directories.)

 

Step 6. Next, go into /system/app/ directory and erase Superuser.apk.

Doing Step 5 and Step 6 completely removes root and Superuser from your phone.  We are almost done but you have to re-install stock recovery so go to Step 7.

Step 7. Hold down Volume Down and Power button together for about 10 seconds until you are in bootloader mode.  Choose “FASTBOOT” and hit Power button and connect your HTC One X to your computer via micro-USB cable.

 

Step 8. Download OneXUnroot.zip and unzip to your Downloads folder.

Sponsored Links


Download OneXUnroot.zip

Sponsored Links


Open up a command prompt for Windows or terminal for Mac/Linux and type:

cd Downloads

cd OneXUnroot

For Windows:

fastboot flash recovery recovery.img

For Mac:

chmod 755 *

./fastboot-mac flash recovery recovery.img

For Linux:

chmod 755 *

./fastboot-linux flash recovery recovery.img

Step 9. Next, you will probably want to do a factory reset in stock recovery to clear all your personal settings and apps.  You can stop here though if you are not returning your phone to store.

Hold down Volume Down and Power button together for about 20 seconds.

 

Step 10. Choose “RECOVERY” and hit the Power button.  You should also noticed that your HTC One X has been “RELOCKED”.

Step 11. Once you get a screen like below, hit the Volume Up and Power button together until you see blue menus, which is the stock recovery.

Step 12. Choose “Wipe data/factory reset”.

Step 13. Choose “Yes”.  When it’s done, simply reboot.