Something that is very popular in the Android world these days is rooting and installing custom ROMs on your phone. A problem that I’ve found however, is that information regarding the process, and the terminology involved can be quite confusing for someone getting started, and as a result might discourage them. I decided to write up a series of blog posts discussing various parts of this process, so that it might help someone who wants to get involved, but doesn’t know how. The phone that I’ll be using for these tutorials is an HTC One V, which can be used on Virgin Mobile. It’s a fairly modern phone, comes with a 1GHz single-core CPU, 512MB RAM, and a nice 3.7 inch LCD. This process will almost identical for other HTC phones, and very similar for many other Android devices.
Disclaimer: This may void your warranty, I take no responsibility, etc.
Part One: Unlocking your One V
The first part of the process is called “Rooting” your device. Rooting basically means obtaining admin access on your device, which allows you to do all sorts of fun things down the line. In order to root your device however, there are a few steps you’ll have to take. The first thing you’ll need to do is unlock the bootloader. The bootloader is the software that loads the operating system of your phone. Normally this is locked to only start the software that ships on the device, but we are going to unlock it so that we may install custom software.
- Go to HTC Dev and create yourself an account.
- Download these Fastboot Files
- Make a new folder on your C: or home directory called fastboot.
- Extract the zip downloaded in step 2 to the new folder
- Go here and select “All Other Supported Models” and then “Begin Unlock bootloader”
- Check both checkboxes, and then proceed.
- Power off your phone by holding the power button down for 5-7 seconds (the three keys will flash a few times then it will power off)
- Hold the volume down button and power the device on, the device will boot to a white screen called “HBOOT”
- Select “Fastboot” with volume up or down then press the power button once (you’ll be in fastboot mode)
- Plug your phone into your computer and open a Command Prompt.
- cd to your folder where we put fastboot files (i.e c:\fastboot)
- type this into your command prompt:
fastboot oem get_identifier_token
- Select & copy the text as per step 9 on the HTC Dev website
- Paste your identifier token into the box at the bottom and submit You will then receive an email from HTCDev with a link to the second part of the instructions and your “Unlock_code.bin” file attached.
- Download the “Unlock_code.bin” attachment from the email and save it to the same folder that we extracted fastboot files.
- Type this into your command prompt window:
fastboot flash unlocktoken Unlock_code.bin
- The display will change on your phone, and ask you to confirm the unlock. press volume up to accept and power to confirm.
Congratulations! You have successfully unlocked the bootloader.
Part Two: Rooting the One V
The next step in this process, is actually obtaining root access. In order to do that, we will be installing an application called SuperSU, which allows you to run applications on your phone with administrative priveledges (also known as superuser or root).
- Download r1-primo-cdma-superboot.zip to your computer and extract in any directory.
- Power off your phone by holding the power button down for 5-7 seconds (the three keys will flash a few times then it will power off)
- Hold volume down button while powering on, the device will boot to HBOOT (like we did before)
- Select Fastboot with volume up or down then press power once
- Connect your phone to PC
- Double click ‘install-superboot-windows.bat’ (or mac or linux, depending on your platform)
Excellent! You now have root access on your phone. When you start up Android, you’ll see a new application in your launcher. It’s called SuperSU, and will ask you to allow/deny applications root access if they request it. This is useful for installing things like tethering applications, or modifying system files.
Part Three: Installing Custom Recovery
The last thing we are going to do as part of this guide is install a custom recovery. A recovery is a mode of the phone that allows you to backup/restore your device, or modify device files, like installing new software. This will be important if you’d like to backup your device before wiping it to install custom software. In order to install ClockworkMod Recovery (which is probably the most popular recovery you’ll find):
- Download ClockworkMod Recovery here.
- Power off your phone by holding the power button down for 5-7 seconds (the three keys will flash a few times then it will power off)
- Hold the volume down button while powering on, the device will boot to HBOOT (You should be getting the hang of this by now)
- Select Fastboot with volume up or down then press power once
- Connect your phone to PC
- Type the following in to your command prompt:
adb flash recovery cwmrecovery.img
- Restart your phone, and hold the volume down button. This time, select “recovery” and hit the power button.
You’re now in recovery mode! While we’re here, let’s make a backup.
- Scroll through the list of options 2 times using volume up or volume down. (Without doing this, you won’t be able to select an option)
- Use the power button to select “Backup and restore”
- Select “Backup”
- The backup process is now running. It will be a few minutes to complete.
- Once complete, let’s make sure the backup is successful.
- Once again, select “Backup and restore”
- Choose “Restore”. You will see your backup files, e.g: 2013-01-12.10.13.04
- Pick “Go Back”
- Select “Reboot system”
It’s probably best to copy that backup folder off your SD card and onto your computer in the event something happens to your SD card.
Awesome! You’re now all set to do all sorts of things, like installing custom roms. Be sure to check back for the next part of this series, where we will go over that.