[TUT] Getting back to stock after flashing custom roms [Noob friendly]

Search This thread

jonnyhardaker

Senior Member
Nov 18, 2008
100
19
Bradford
Hoping someone can help me completely unroot my htc one X.

Background:-
CID HTC__001
Previous unlocked bootloader officially, rooted and installed custom roms
followed unroot guide on here including restoring a nandroid backup (I used Nandroid Backup 4.18.401.2 CID HTC__001)
flashed 4.18.401.4 update patch from here
flashed recovery included with above patch (i presume that's the stock recovery?)
relocked bootloader

I can't see either supersu, superuser or busybox installed. Checked the system/app system/bin and system/xbin.
I installed Titanium Backup to test if it was still rooted and it says it is (Root access: OK (BusyBox 1.19.4-Titanium from app) SQLite: YES (SQLite 3.7.6.3-Titanium included))! Any ideas?
 

sandydr_8879

New member
Aug 30, 2013
1
0
maharastra
ruu showing error 120 low main battery

i tried all the steps as suggested by you.
i even charged my htc one x to 90% when i try to run ruu it shows me error 120 low main battery problem. pls help me
 

dotzeno

Member
Feb 12, 2010
39
5
Hong Kong
HTC__622 HBoot 1.36 Recovery Missing (404)

Hi ClydeB1, Would you happen to still have these files on hand?
Much appreciated if you could redistribute the file.

edit: Ended up going to this thread and using the recovery there. So far looks good - managed to get update working (hasn't finished yet though).
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 204
    This guide is intended to help you to return your One X device back to stock in order to either return the device for a warranty claim, or to be in a position to receive an official OTA (Over The Air) update. There may be other guides, but the intention of this guide is to be as simple to perform as is possible given the challenges facing us without having s-off for the One X.

    There are 2 methods that can be used to restore back to stock from a custom rom:
    1. Using a nandroid backup (if you took one when you first unlocked your bootloader)
    2. Flashing a stock ruu

    BEFORE STARTING

    1. Charge your device. It is advisable to have at least 60 - 70% battery charge on your device before attempting this process

    2. Install HTC Sync software and drivers on your pc.

    3. You also need to have the fastboot folder and files installed on your pc.
    • Refer here for guidance on using adb and fastboot commands

    OPTION 1 - Restoring stock rom from nandroid backup
    If you followed the advice when first unlocking your bootloader, you should have a nandroid backup of your original rom ;). It is easier to restore your backup than going through the process of flashing from an ruu
    NB! If you don't have a nandroid backup have a look HERE to see if one has been uploaded that you can use, or you can ask another user to possibly upload one for you.

    1. Copy the boot.img file from your backup (/sdcard/clockworkmod/backup) to the fastboot folder on your pc and flash this via fastboot: (If you use a nandroid backup from another user from the link above, then extract the backup.zip and copy the main folder (should have the date of the backup in the foder name) to /sdcard/clockworkmod/backup/.
    If the backup is made using TWRP then you will need TWRP Recovery to restore it. Copy the main folder to /sdcard/TWRP/Backups/Your phones Serial Number/. The boot file for a backup made using TWRP will be named boot.emmc.win, but you can flash it the same way as flashing the boot.img file.)
    Code:
    fastboot flash boot boot.img (or fastboot flash boot boot.emmc.win if using TWRP backup)
    fastboot erase cache
    2. Boot into Recovery and restore the backup
    3. Boot back to bootloader and flash the appropriate recovery file to match your stock rom which you are restoring (See links below)
    Code:
    fastboot flash recovery [I]nameofrecoveryfile[/I].img
    fastboot erase cache
    Links to stock recovery versions can be found below:

    OPTION 2 - Restoring stock rom by flashing stock ruu
    Get the RUU file required for your device:
    Make sure that USB debugging is enabled (Settings/Developer options). In order to determine which ruu file you require, boot your device into bootloader mode (Power off and then restart device by holding Power and Volume Down button together). Connect to pc via USB and check that device shows FASTBOOT USB on screen. Enter the following command in command prompt:
    Code:
    fastboot getvar version-main
    If for example this command returns the value 1.29.401.x then you need to use that file or you can use a higher numbered file from the same region eg 2.17.401.x. NOTE: You can't use a lower numbered file eg 1.26.401.x and you also can't use a file from a different region eg 2.17.707.x.
    You can find many of the ruu files here:

    PROCESS :

    1. Boot your phone to fastboot mode by holding power+vol down button for 10 secs..(if your phone keeps restarting in normal phone mode, go to Setting>Power and untick Fast boot)

    2. Plug your phone into your PC and open a Command Prompt.
    • (windows XP - Click Start > Run > type CMD in box then press OK
    • (Windows 7 - Click Start > type CMD in search box then press Enter)

    3. cd to the location of your fastboot files folder

    4. Relock bootloader - type command:
    Code:
    fastboot oem lock
    The phone will then restart into fastboot again showing "RELOCKED"

    6. On your pc run the RUU that you downloaded earlier, follow the steps as prompted and patiently wait for it to finish.
    REMEMBER your phone should be charged ABOVE 50% AND if the ruu or restore is INTERRUPTED 4 any reason during restore your
    phone MAY be PERMANENTLY BRICKED..​

    all the best..:fingers-crossed:
    13

    edited the title..
    this is noob friendly and that is not..
    this has links to everything one needs(e.g. stock recovery)
    c'mon!!! cooking a rom out of ruu..

    "
    Install stock rom of your CID
    -fastboot oem readcid (to know your CID)
    -all roms are based on x.xx.401.xx , so you need to download the right RUU(that matches your CID) and extract rom.zip to cook a stock rom for you
    -flash custom stock rom(extracted and cooked from right RUU) on custom recovery
    -fastboot flash boot c:\boot.img (flash stock kernel that's inside custom stock rom boot.img file)

    RElock the bootloader (you can allways unlock)
    -fastboot oem lock

    Right RUU file for your CID
    -put your phone on fastboot (it will not boot because you have a custom rom on a locked bootloader)
    -now you can run the RUU exe file and upgrade your phone

    does this look noob friendly to you??
    anyways I respect u very much eddy but if this will prove helpful than ppl will be helped and if its not helpful then this thread will die..so the decision is people's..
    anyways I was just being helpful where's the problem in that?
    4
    How is this different from this thread?...

    http://xdaforums.com/showthread.php?t=1660807
    3
    Yes you can. Phone in the bootloader, recovery.img in the fastboot folder

    Fastboot flash recovery recovery.img

    This has nothing to do with root or even a running OS ! Root only applies to the working Rom

    Thanks for helping Mr hofs ;) am afraid I will be diapering soon as my Hox and nexus7 are nearly Dead. Topcat888 great ROM for your hox is Team Venom viper x I've tried tripdroid and Cm10 but TeamVenom rules :D

    Still see myself as noob but i try and help. Don't say thanks hit the THANKS BUTTON :p
    2
    Any other mirror for the RUU´s ? Don#t want to buy a Premium acc only for this ...

    uploadfromtaptalk1346308488413.jpg
    ;)

    Sent from my HTC One X using Tapatalk 2