Sunday 28 July 2013

HTC Root, Unlock, Recovery and flashing a Custom ROM



Just a quick step by step tutorial to get a Custom ROM working on your HTC One or if you just want to unlock and root!

This guide is especially for the new users, experienced HTC users should already be familiar with this process.

Step 1: Unlock
  • Go on http://www.htcdev.com and create yourself an account on HTCDEV.
  • Download these adb/fastboot files
  • Make a new folder on your C:/ drive called fastboot for example.
  • Extract the zip downloaded in step 2 to the new folder
  • Go Here http://www.htcdev.com/bootloader/ and select "All Other Supported Models" and "then begin unlock bootloader"
  • Yes, Tick both Boxes, Proceed
  • Skip up to step 8 as we have all we need for the first 7 steps
  • Power off your phone by holding the power button down for 10 seconds
  • Power your phone on by holding power and volume down
  • Highlight Fastboot With Volume+or- then press Power
  • 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)
  • Change directory to your folder where we put fastboot files cd c:\fastboot
  • Type this into your command prompt window fastboot oem get_identifier_token
  • Select & copy the text as per step 9 on the HTCDev website
  • 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
  • Download the "Unlock_code.bin" from the email and save it to the same folder that we extracted fastboot files to in step 2
  • Type this into your command prompt window fastboot flash unlocktoken Unlock_code.bin
  • The Display Will change on your phone, press Vol + to accept and power to confirm.

Step 2: Recovery
  • Download the Android SDK (optional)
  • Download the recovery of your choice, here a few links:

    CWM

    CWM 2

    TWRP
  • Place the Recovery file you downloaded where the fastboot.exe is (Either in the location of your downloaded fastboot drivers or in the Android SDK directory)
  • Now open the cmd and navigate to the folder where the Recovery File is located or just open a cmd with shift and right click at the correct directory
  • Now type:

    fastboot flash recovery name_of_the_recovery.img

    For example:

    fastboot flash recovery recovery-clockwork-touch-6.0.2.8-m7.img

Now your recovery is installed

Step 3: Root

This step is only needed if you want a stock rooted ROM, if you want a custom ROM, skip this step.
  • Now root your phone with SuperSU by Chainfire or SuperUser by koush
  • Download SuperSU from this link or SuperUser from this link
  • Flash it with the Recovery:
  • Power off your device and then hold the VOL DOWN + Power to boot into the Bootloader
  • Navigate with VOL and Power to Recovery
  • Now flash the .zip:

    - install zip from sdcard
    - choose zip from sdcard
    - select the downloaded SuperSU/SuperUser zip file and flash it
    - Reboot now

Now you are able to flash any Custom ROM.

Step 4: Custom ROM

With htcdev unlock you need to flash the boot.img after every ROM installation

Note: Most of the custom ROMs have a script which lets the boot.img flash automatically with the ROM, so probably the steps after flashing the ROM are not needed.
If you are in a bootlop though, I recommend you to perform these steps and flash the boot.img with fastboot

  • Download the ROM you want to flash
  • Open the ROM zip with an archive manager and extract the boot.img out of it and place it in your fastboot directory
  • Copy the ROM to your sdcard
  • Now boot into bootloader again (explained above) and choose recovery with your volume keys and power button
  • In recovery wipe data and cache aka fullwipe before flashing your ROM if you are moving to a new base (for example from CyanogenMod to a Sense ROM, don't forget to backup your data files, like apps) (Often ROM chefs leave a note in their thread if a fullwipe is needed or not, just follow their advices)
  • Now flash your ROM by installing zip from sdcard
  • If this is finished, reboot and reboot into bootloader again
  • Connect your phone to your PC in fasboot mode (choose in bootloader with power button)
  • Open a cmd in your fastboot folder with your boot.img and type these two commands:

fastboot flash boot boot.img

fastboot erase cache

  • Then reboot your phone and wait some minutes to see your ROM booted
  • Enjoy

6 comments:

Kabir said...

great article!!!!!This is very importent information for us.I like all content and information.I have read it.You know more about this please visit again.

Friends Case

Unknown said...

Thanks for sharing the information regarding HTC unlock, recovery, root in this blog. Really helpful.
with regards
HTC Service Center in Chennai

phone repairing course said...


Hitech Mobile & Laptop Repairing Institute in Delhi | Call 9212 577 577 & SAVE Upto 30% in Fees | Enroll Today in 90 Day Laptop Chip Level Training Course.


Mobile repairing course

Laptop repairing course in delhi

Computer hardworking course in delhi

Mobile repairing course in delhi

Contact

Jhoni Rock said...

Useful information shared.. I got good information to read this article, thanks for giving us nice info. Fantastic walk-through. I appreciate this post.
imac repair dubai

tech smart repair said...

I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post.
Phone Repair Specialist in South East London

ozoon said...

Its good and very easy step by step tutorial to get a Custom ROM working on your HTC One or if you just want to unlock and root!thank you
computer data recovery

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by MUHAMMAD WALI KHAN SEO/SEM | WEB DEVELOPER / DESIGNER Also Online Internet BUSINESS And Marketing Consultant. OR IT HARDWARE AND SOFTWARE ENGINEER