avatar
Welcome guest, please
Did you miss your activation email?

Ingresar con nombre de usuario, contraseña y sesión.

Author Topic: Complete Newbie's Guide to rooting and flashing Evo V 4G ROMs/Kernels using fast  

Topic Original "No modification"
Thanks to Android Forums and Jerofld for the walk thru and how too. If you follow all steps and dont skip around you should be rooted and on your way to flashing roms and kernels in no time.


Disclaimer: We here at andriodarea51 are not responsible for what you do to your phone. this will root your device and void any warranty you may have. With that being said if you want your phone to be yours and very cool please continue.


 Default Complete Newbie's Guide to rooting and flashing Evo V 4G ROMs/Kernels using fastboot
This is a guide to walk users through installing the Android SDK and using fastboot and ADB. The unlocking and rooting process for HTC devices can be a little daunting. We discovered this with the Evo 3D, so I wrote a similar guide to this one in that section to help ease the confusion. I hope to continue the tradition with this guide in this forum.

So let's get started!

Note: This WILL wipe out your settings, apps, et cetera. Please make any/all necessary backups before proceeding.

Due to popular desire for a simpler guide, I've decided to make a "skinny" version. If you need further explanation, please see post 2 for the "full" guide.

Step 1) How to install and configure the Android SDK




First, you need to download a lot of software. So here are the download links:

1) HTC Sync

2) TeamWin Recovery Project (TWRP) version 1.1.1 - Recovery - Get the IMG version, not the ZIP version. Rename this file to "recovery.img" if it appears as 'recovery-twrp-shooter-1.1.1.img'. If it appears as 'recovery-twrp-shooter-1.1.1' then just rename it to 'recovery'.

3) The stock ROM. Grab the ODEX version for as near to stock experience as possible.

4) Mini-SDK Then extract Mini SDK to C:\sdk-tools.


Step 2) Move files to where they need to be.




It doesn't really matter where in the SD card you put it. I just recommend you put the Stock ROM + root in a folder named ROMs and the recovery file needs to go in the C:\sdk-tools directory on your computer.


Step 3) Opening the command prompt and getting ready for entering fastboot.




Now, click Start and either open Run, or click in the text box in your start menu. Then type 'cmd'. You get a command prompt. Now we need to go to the Mini SDK folder. If you installed it in the same directory I did, you can copy (or type):

Code:

cd C:\sdk-tools



Step 4) Unlocking with HTC Dev




If you haven't already unlocked your bootloader using HTC DEV Unlock we will do so now.

Step 1) Getting into fastboot.

Go to Settings > Applications > Development and check USB Debugging. You'll need this enabled for the adb reboot command.

Connect your phone to your computer. From now until you're done flashing your ROM, you will not disconnect the USB cable.

Now, in the command prompt, type (or copy and paste):

Code:

adb reboot bootloader

Step 2) Getting the device identifier token and then flashing unlock_code.bin

Type the following command in the command prompt:

Code:

fastboot oem get_identifier_token

A long text boxes will come up. Right mouse button click on the screen and click mark. Then highlight the token from <<<< Identifier Token Start >>>> to <<<<< Identifier Token End >>>>>, like shown:




   This image has been resized. Click this bar to view the full image. The original image is sized 694x512.
   This image has been resized. Click this bar to view the full image. The original image is sized 690x513.


Do not highlight info or bootloader or any extra spaces or text. Once you have done that, right click again and hit copy.

Now go to HTCdev - Unlock Bootloader and fill out the forms and paste the code into the device identifier token box and submit. If you're having trouble with the HTC dev site, please disable any pop up blockers, anti-viruses, and/or firewalls (temporarily). You'll get an email (check your spam folder) with your unlock_code.bin. Once your receive it, transfer that file into your C:\sdk-tools\ folder. Now go back to your command window and type:

Code:

fastboot flash unlocktoken Unlock_code.bin

The unlock token should reboot the phone for you (so that you'll be back in Android). If it doesn't you can do it manually by reinserting the battery and then holding Vol down + power. You should now see UNLOCKED displayed at the top. If so, congratulations, you are now unlocked!


Step 5) Let's install then boot into recovery!




Now we need to get back into the bootloader.

To do that, type this in the command prompt:

Code:

adb reboot bootloader

Once in the bootloader (HBOOT) type (or copy):

Code:

fastboot flash recovery recovery.img

This now flashes TWRP 1.1.1 that we downloaded earlier.

Wait for that to finish, then type (or copy/paste):

Code:

fastboot boot recovery.img



Step 6) Before you do anything, it's time to make a backup.




I'd recommend that you backup:

System
Data
Boot
Wimax

Everything else is optional, in my opinion.


Step 7) Flashing the ROM




TWRP 1.1.1 has capacitive buttons that work, so hit the back button. To flash a ROM/Kernel, do the following:

1) Go to Wipe Menu

A) Wipe Cache
B) Wipe Dalvik Cache
OPTIONAL) Wipe Everything (Data Factory Reset) - This is useful if you have problems with flashing certain ROMS. Some ROMs require this before flashing. For the stock ROM, this isn't necessary. But if you're on HBOOT 1.5 and used HTC Dev, you did a factory reset anyways, so it can't hurt.

2) Go back and now go to Install Zip.

A) Choose Zip
B) Go to the folder ROMs/
C) Select the ROM you want to flash (the stock ROM or SU patch for example)
D) If you're flashing another kernel, you would find your kernel and by selecting Choose Zip and finding the kernel file. The kernel must be selected AFTER the ROM is selected, or else the kernel built into the ROM will overwrite the kernel you want to flash.
E) Check 'Reboot After Successful Flash' - this is just a nice feature of TWRP that makes it so you don't have to pay attention to the flashing process.
F) Flash Zips Now

3) Sit back and relax. The flash is going to take 3 or so minutes. Then it'll reboot. The reboot will take 5 minutes or so and will always take 5 minutes or so every time you clear out the cache and dalvik cache. It is normal.

If successful, congradulations! You flashed a recovery, ROM and kernel by using fastboot!


Quick Guide) Flashing another ROM




Let's say you want to flash a new ROM. Here's how to do it:

If you're starting in Android, connect your USB cable. Then click Start and either open Run, or click in the text box in your start menu. Then type 'cmd'. You get a command prompt. Now what you type or copy/paste will depend on your version of Windows and where you installed the Android SDK.

Code:

cd C:\sdk-tools

Then type:

Code:

adb reboot bootloader

When the bootloader appears, type:

Code:

fastboot boot recovery.img

You're now in recovery. Make a backup if you wish, then:

1) Go to Wipe Menu

A) Wipe Cache
B) Wipe Dalvik Cache
OPTIONAL) Wipe Everything (Data Factory Reset) - This is useful if you have problems with flashing certain ROMS. Some ROMs require this before flashing. For the stock ROM, this isn't necessary. But if you're on HBOOT 1.5 and used HTC Dev, you did a factory reset anyways, so it can't hurt.

2) Go back and now go to Install Zip.

A) Choose Zip
B) Go to the folder ROMs/

C) Select the ROM you want to flash. If you chose just to download the SU patch or the stock ROM + Superuser, this is where you would select the file.

D) If you're flashing another kernel, you would find your kernel and by selecting Choose Zip and finding the kernel file. The kernel must be selected AFTER the ROM is selected, or else the kernel built into the ROM will overwrite the kernel you want to flash.
E) Check 'Reboot After Successful Flash' - this is just a nice feature of TWRP that makes it so you don't have to pay attention to the flashing process.
F) Flash Zips Now

3) Sit back and relax. The flash is going to take 3 or so minutes. Then it'll reboot. The reboot will take 5 minutes or so and will always take 5 minutes or so every time you clear out the cache and dalvik cache. It is normal.
If successful, congradulations! Enjoy the new ROM/Kernel!


(Optional) Installing 4EXT - Highly Recommended!




There is a recovery that makes it really easy for HBOOT 1.5 people to flash ROMs and kernels. It's called 4EXT Touch Recovery. If you're familiar with ROM Manager, you'll love this app/recovery. You can control every aspect of your phone's recovery from an app. Best of all, even with S-ON Unlocked, you can flash kernels without using fastboot. Just go to their website to get the free version that comes with a 3 day trial of the full version, or get the full version. After you're done with the trial, I'm sure most of you will want the full version. It makes everything easy. I use it, too, and I'm on HBOOT 1.4

To install, download/install the app (free or paid) and open it. Give it SuperUser permissions and then click through all the pop up dialogs. Push the install button at the top. Indicate if you are S-ON or not (if you had to unlock with HTC, then you click yes). And it installs. And after 5 minutes of running the free version, your trial for the full version starts. So come back in 5 minutes and reload the app (by pushing the back button until you get back to the desktop and relaunch). If you're on the paid version, you can just start using the app immediately.

Now go to recovery and you can do everything you would normally do in recovery, but it's fully automated once you click start after selecting all your options. Including making backups, wiping caches, and installing ROMs. Remember to support the developers if it makes things a lot easier for you!


(Optional) Getting S-OFF - Highly Recommended!




What is S-OFF?

S-OFF means that bootloader security is off. This allows you to flash images to the /boot partition. Simply put: It lets you flash whatever you want without using fastboot or specially enabled recoveries. It makes things much easier to do but it also takes away the security that keeps you from bricking your device. If you do S-OFF (it is recommended), remember to check everything that you're about to flash and make sure it's for the Evo V.

[S-OFF] Juopunutbear S-OFF -Beta Release - S-OFF while staying on HBOOT 1.5. Requires you do a 'wire trick' to ground out a signal at a certain point. May be easier than temporarily bricking your device.


---------------------------------------------------------------------------------------------

Based off of my Evo 3D root guide found here: Complete Newbie's Guide to rooting and flashing Evo 3D ROMs/Kernels using fastboot

Some of the commands in this guide were found here: [GUIDE] HTC Unlock Hboot 1.50 + TWRP Recovery + Root + Flash!! [9.11.11] - xda-developers and How to manually flash a recovery image (via fastboot OR from SD card). I just sought to make a complete newbies guide version of it.

Offline dlongnasty

  • Beta Tester
  • Posts: 206
  • User Rating: +15/-1
Information topic
  • Date: 22/07/12
  • Time: 06:14 pm
  • Number of visits: 2785
  • Number of Replies: 0
  • Topic Approved: Yes
  • Topic Sticky: No
  • Topic Locked: No
  • Poll: No





Related Topics

  Subject / Started by Replies Last post
45 Replies
16565 Views
Last post February 18, 2013, 10:43:13 am
by coulterm85
1 Replies
387 Views
Last post January 03, 2013, 12:37:59 pm
by Phydeux
4 Replies
2933 Views
Last post March 17, 2014, 06:04:35 pm
by alwazeplayin
1 Replies
547 Views
Last post November 30, 2013, 07:09:57 pm
by blazer64
3 Replies
463 Views
Last post January 27, 2014, 03:57:52 pm
by blazer64
7 Replies
704 Views
Last post February 14, 2014, 10:29:25 pm
by daddy366

Back to top