Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,743,029 Members 42,721 Now Online
XDA Developers Android and Mobile Development Forum

[Tut] Preparing Your One X for Custom Roms (For Dummies)

Tip us?
 
Alex240188
Old
(Last edited by Alex240188; 2nd July 2012 at 11:04 AM.)
#1  
Alex240188's Avatar
Senior Member - OP
Thanks Meter 633
Posts: 1,000
Join Date: May 2010
Location: Hull
Default [Tut] Preparing Your One X for Custom Roms (For Dummies)

There seems to be a lot of confusion in the air around either how to unlock your bootloader or how to install a new recovery.
I am writing this as a very easy step by step guide to do all the things necessary to get your new HTC One X ready to accept some custom fun so here goes nothing

Unlocking Your Bootloader

Words of warning - unlocking your boot loader will wipe your data partition
Things you have put on your internal memory will be fine but all of your apps etc will be gone.

Before we can even think about doing anything the first port of call is unlocking your bootloader.
As of the time of writing this there is currently no S-OFF method available so this is the only method of flashing a new recovery or boot image.
I'm going to keep this as simple as possible

1. Go Here "http://www.htcdev.com/" and create yourself an account on HTCDEV.
2. Download These Fastboot Files
3. Make a new folder on your C: drive called fastboot.
4. Extract The Zip downloaded in step 2 to the new folder
5. Go Here http://www.htcdev.com/bootloader/ and select "All Other Supported Models" and "then begin unlock bootloader"
6. Yes, Tick both Boxes, Proceed
7. Skip up to step 8 as we have all we need for the first 7 steps
8. Power off your phone by holding the power button down for 10 seconds
9. Power your phone on by holding power and volume down
8. Highlight Fastboot With Volume+or- then press Power
9. 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)
10. cd to your folder where we put fastboot files cd c:\fastboot
11. type this into your command prompt window fastboot oem get_identifier_token
12. select & copy the text as per step 9 on the HTCDev website
13. paste your identifier token into the box at the bottom and submit
You Will Very Shortly Receive an email from HTCDev with a link to the second part of the instructions and your "Unlock_code.bin" attached
14. download the "Unlock_code.bin" from the email and save it to the same folder that we extracted fastboot files to in step 2
15. type this into your command prompt window fastboot flash unlocktoken Unlock_code.bin
16. The Display Will change on your phone, press Vol + to accept and power to confirm.
Note you may get an error on screen or on your cmd window (cant remember which now) that says something about too many links. It is nothing to worry about and your bootloader will still unlock
Congratulations You Have Successfully Unlocked Your Bootloader



Now to the good stuff

Installing A Recovery

This one is very simple to do once you have your bootloader unlocked.
A thing to note; at present there is no USB-Mass Storage in recovery so if you are planning to install a custom rom i would get it put on the internal memory of your phone now rather than messing things up later and been unable to install it

(if you have follwed my unlocking guide skip to step 4)
1. Download These Fastboot Files
2. Make a new folder on your C: drive called fastboot.
3. Extract The Zip downloaded in step 1 to the new folder
4. The Official Version of CWM has been released and is now capable of flashing all roms, you can grab it HERE
5. download the custom recovery and save it in the same folder as you did the fastboot files
6. Power Phone Off by Holding power button for 10 secs
7. select Fastboot with volume + or - then press power
8. 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)
9. cd to your fastboot files folder cd c:\fastboot
10. type in your command prompt fastboot flash recovery name_of_recovery_image.img
in my case it was fastboot flash recovery recovery-clockwork-touch-5.8.2.7-endeavoru.img

Congratulations you now have a custom recovery

power off the phone by holding power for 10 seconds
power on the phone holding power+volumer down
choose recovery with volume +/- then power to select

You are now on your custom recovery
First Thing - Do A Nandroid Backup Of Your Current Rom In Case anything bad happens

Make sure you already have your new rom on your internal memory as you cannot enable mass storage in the current recovery builds.

Wipe then Flash your new Custom Rom

Or you can download the latest SuperSU binaries from HERE and install them Via Recovery to just root the stock rom

Hope this helps some of you
The Following 277 Users Say Thank You to Alex240188 For This Useful Post: [ Click to Expand ]
 
luminouche
Old
#2  
Senior Member
Thanks Meter 62
Posts: 701
Join Date: Oct 2007
Location: France
Thx !
Wasted a lot of time yesterday downloading entire Java, SDK, for a 2 minutes job...
Your package seems great !
I have too many devices... but it's not a reason to buy Galaxy S5 !
The Following User Says Thank You to luminouche For This Useful Post: [ Click to Expand ]
 
winwiz
Old
#3  
winwiz's Avatar
Senior Member
Thanks Meter 638
Posts: 1,941
Join Date: Oct 2007
fabulous guide buddy
thanks a million
If you think my post helps you out feel free to press the THANKS button

Current Device:
HTC One - Silver

Coming from a:
Samsung Galaxy S4 i9505 - Black Mist

The Following User Says Thank You to winwiz For This Useful Post: [ Click to Expand ]
 
mike1986.
Old
#4  
mike1986.'s Avatar
Senior Member
Thanks Meter 69148
Posts: 36,951
Join Date: Mar 2009
Location: XDA-Developers

 
DONATE TO ME
Good idea such guide!

Sent from Samsung Galaxy Nexus


Archived devices and my other threads:

Join Android Revolution HD community

Facebook | Twitter | IRC chat | Visit my blog | Google+

If you appreciate my work, you can buy me a beer
Every donation is greatly appreciated and it helps the development!


 
Sramie
Old
#5  
Sramie's Avatar
Senior Member
Thanks Meter 15
Posts: 202
Join Date: Mar 2011
Location: Bratislava
so freakin useful !
 
Alex240188
Old
#6  
Alex240188's Avatar
Senior Member - OP
Thanks Meter 633
Posts: 1,000
Join Date: May 2010
Location: Hull
Quote:
Originally Posted by luminouche View Post
Thx !
Wasted a lot of time yesterday downloading entire Java, SDK, for a 2 minutes job...
Your package seems great !
to be fair i dont even think we need the 2 adb files in the package i uploaded as we are only using fastboot however the htcdev website said to have them so may aswell include it, only a small download
 
nimoi62
Old
#7  
Junior Member
Thanks Meter 2
Posts: 13
Join Date: Dec 2008
Location: www.voogle.fr
Default thank you

It was exactly what I was searching for... Thanks a lot
The Following User Says Thank You to nimoi62 For This Useful Post: [ Click to Expand ]
 
vallandil
Old
#8  
vallandil's Avatar
Senior Member
Thanks Meter 51
Posts: 193
Join Date: May 2009
Location: @Home

 
DONATE TO ME
Nice tut

Quote:
Wasted a lot of time yesterday downloading entire Java, SDK, for a 2 minutes job...
No waste at all.....Watch u`ll need it one day
"adb reboot recovery" for start
White One X --- ViperX 3.4.0
White One X --- Stock 3.18.401.01
White Galaxy Note 10.1 --- N8000 Rooted and Themed 4.1.2

Saying Thanks never hurt

About me:
IT Consultant and Photographer
cameijers.nl
 
zaranoa
Old
#9  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Apr 2010
Thank you you helped me a lot with such
A geest device:thumbup::thumbup:
Sent from my HTC One X using xda premium
 
777ace
Old
#10  
777ace's Avatar
Senior Member
Thanks Meter 75
Posts: 510
Join Date: Mar 2011
Location: Cairns
Quote:
Originally Posted by nimoi62 View Post
It was exactly what I was searching for... Thanks a lot
+1!! It's easy once someone spells it out, lol.

Question (and I know it's probably been discussed elsewhere, but clearly I've only just noticed it), with this issue with not being able to enable mass storage...does this mean that once I've chosen a particular ROM, placed it onto SD and unlocked/flashed recovery, I won't be able to flash another different ROM? Can I not just flash through fastboot??

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes