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