Rooting for Noobs 101 - Learn how to root your phone here! - Nexus One Q&A, Help & Troubleshooting

I wrote this Noob manual to help others achieve the same goal: Root the Nexus One. Thanks goes out to the XDA forums for such fantastic community support. In my quest to root, was overwhelmed and confused with the various ways to do it. Should you root by unlocking the bootloader or not, should you downgrade, then upgrade, which recovery image to use, how to flash a recovery image, everything shows "superboot" bla bla bla. We all have the same questions, but this can be a pain-staking process to find the answers. Here's a short guide that may help you root the phone.
Overview of the process: A) Unlock Bootloader B) Flash Recovery Image C) Install Rom through Recovery. D) Phone now unlocked and rooted.
1) Setup adb and confirm it's working by reading your serial number.
http://forum.xda-developers.com/showthread.php?t=613217
2) Unlock bootloader (voids warranty but htc may still repair). Turn on USB debugging (may need to toggle usb debugging off to move files to sd card, then back on for adb). Reboot phone into fastboot:
Power off device and hold down trackball while powering back on. The fastboot screen is the one with the Androids on skateboards.
Open a command prompt and navigate to your Android SDK tools folder.
Type ‘fastboot devices‘ to make sure your phone is recognized.
Type ‘fastboot oem unlock‘ to unlock the bootloader.
Use volume keys to navigate to yes and press the power button to confirm.
3) Flash Aman RA Recovery in fastboot (immediately following flash, go into recovery console before rebooting or the recovery image may not show up). The stock rom will re-flash recovery during boot because of scripts. Recovery rom should be placed in adb folder. To reboot into recovery from adb type 'reboot recovery'. Copy the recovery file to your Android SDK tools folder. Open a command prompt and navigate to your Android SDK tools folder. Type ‘fastboot flash recovery recovery.img‘ (or whatever the recovery file name is).
http://forum.xda-developers.com/showthread.php?t=611829
4) While in fastboot, select "Recovery" and new Recovery screen shows up. FRF91 signed image or custom rom should be on the sd card.
Download signed FRF91 signed image for rooting (only after adb is working, the bootloader has been unlocked and recovery image successfully flashed.
5) Flash Froyo 2.2 rooted & signed update file.
(update-nexusone-FRF91-root-signed.zip)
Get it here:
www.multiupload.com/L69XPNYDWP
www.megaupload.com/?d=XD8MYCSN
If this was done correctly, your phone is now rooted.

thx for your work
but also we have a this http://forum.xda-developers.com/showthread.php?t=636795

will this method wipe my data? and is the superboot method any easier?
Thanks!

Worked like a champ! Oh and yes it will wipe all your data... I thought maybe it wouldn't since you didn't say, but it did... oh well it's all backed up in my gmail, so it'll be ok.

Related

How to simply root FRF85B

Hi all,
Please how to simply root Nexus One?
This tutorial is to hard "
[Tutorial] Root FRF85B/FRF83/FRF72 (T-Mo/AT&T) Without Unlocking (100% Confirmed) "
No superboot.zip available for FRF85B?
Simply root = unlock bootloader. The second tutorial.
superboot.zip has nothing to do with the way of rooting. Rooting needs to bypass device protection to flash a non-certified update. So you either use exploits, or use the built-in protection override (fastboot oem unlock).
Depends on the status of your bootloader really.
If you want to keep it locked then that tutorial is your only hope.
I have unlocked bootloader but no superuser.apk and no Root privilege
About second Tutorial, we need linux....
If you have unlocked bootloader, what's the problem flashing pre-rooted FRF85B?
http://forum.xda-developers.com/showthread.php?t=714184
I have already flashing my Nexus with Unrooted version because i had signature problem with pre-rooted version.
Now to re-install pre-rooted FRF85 version i need Custom Recovery but I need root to install custom recovery...
No way to have superboot.bat to simply rooted my FRF85?
To install custom recovery you only need to flash it via fastboot, since your bootloader is unlocked.
You can also use ROOT_FRF83 file from the "difficult" thread, if I'm not mistaken.
Jack_R1 said:
To install custom recovery you only need to flash it via fastboot, since your bootloader is unlocked.
Click to expand...
Click to collapse
Thank's for your reply.
I will install custom Recovery to flash with pre-rooted version.
I need wipe before flashing with pre-rooted version?
No wipe needed.
About Custom recovery :
Pre-Requirements :
- unlocked bootloader : How to unlock the bootloader.
- root access : Modaco's superboot.
I have install recovery-RA-nexus-v1.7.0.1.img without rooting my nexus and now I have exclamation mark with a little Android...
Ok, did some search for you. Next time try - search button, "FRF85 root".
Reflash the stock recovery back.
Then use this:
http://htcpedia.com/forum/showthread.php?p=67177#post67177
Under "ROOT".
i have re-flash with stock recovery 2 times but still exclamation mark with a little Android.
Ok i push "Vol+" and "power", stock recoveruy appear
apply sdcard:update.zip (update-nexusone-FRF85-root-sig.zip from HTC EPIA)
--> E:signature verification failed..
Installation aborded
What about ROOT_FRF83.ZIP - did you try?
ROOT_FRF83.zip is for locked bootloader... mine is unlocked.
As i see i need linux and to make this command to root my stock FRF85B..
16) Download the following to the root of your SDcard
- recovery-RA-nexus-v1.7.0.1.img: http://rapidshare.com/files/39326736...s-v1.7.0.1.img
- Note: UnMount your SDcard after copying these files, but keep your phone plugged in
17) In your terminal type "adb shell" and hit Enter
18) In your terminal type "su" and hit Enter
- Tip: At this point, it will hang until you choose "Allow" on your phone with the SuperUser app pop-up
- Tip: $ should now be replaced with #
19) In your terminal, type "mount -o rw,remount /dev/block/mtdblock4 /system" and hit Enter
20) In your terminal, type "cat /sdcard/flash_image > /system/bin/flash_image" and hit Enter
21) In your terminal, type "chmod 775 /system/bin/flash_image" and hit Enter
22) In your terminal, type "flash_image recovery /sdcard/recovery-RA-nexus-v1.7.0.1.img" and hit Enter
23) In your terminal, type "rm /system/etc/install-recovery.sh" and hit Enter
24) In your terminal, type "rm /system/recovery-from-boot.p" and hit Enter
Click to expand...
Click to collapse
ROOT_FRF83 is for ANY bootloader. It doesn't care about bootloader.
Download it to your SD card, rename to update.zip and apply. It might not work - in this case, you have nothing to do but to follow the other guide, or wait until someone makes FRF85B superboot for stock ROM and recovery.
The part you've quoted is way past the actual root. Read the thread again, the root ends much earlier.
You need to do steps 1-15, and you need no Linux.
I checked again in Paul's thread, STOCK to CM.
There is NO requirement for root to flash custom recovery through fastboot. Otherwise fastboot wouldn't help any in rooting - think yourself, you need root to flash recovery, and you need recovery to flash root?
Here's a quote from there:
- If you get a Triangle with a ! in the middle alongside an Android for 5+ minutes, you MAY have to remove battery and re-flash recovery (I had to do this once.) (Make absolutely sure that nothing is happening on your phone, as removing the battery when it's doing something can cause a brick.)
So you can try this one and flash AmonRa's recovery again. If it doesn't work, and it turns out that you need Modaco's superboot (which doesn't exist for your version) - then you're back to the second guide.
I have always triangle with a ! after removing batterie, AmonRa's recovery won't appear...
I will wait superboot from paul.
Resolved
Step by Step how to get root from FRF85B stock (with unlocked bootloader) :
- Download AmonRa Custom Recovery and put it where google SDK, Tool folder, is installed.
- Download update-nexusone-FRF85-root-sig.zip and rename it update.zip and put it on the root of your SDCARD
1) Switch off the nexus
2) Hold the Trackball and Power button
3) fastboot devices (to make sure that fastboot "sees" your phone)
4) fastboot flash recovery recovery-RA-nexus-v1.7.0.1.img
5) Don't reboot nexus! just chose "bootloader" from menu, after nexus reboot automaticly, chose recovery
6) AmonRa recovery appear!
7) Apply update.zip
You have root access!
zizouth said:
Resolved
Step by Step how to get root from FRF85B stock (with unlocked bootloader) :
- Download AmonRa Custom Recovery and put it where google SDK, Tool folder, is installed.
- Download update-nexusone-FRF85-root-sig.zip and rename it update.zip and put it on the root of your SDCARD
1) Switch off the nexus
2) Hold the Trackball and Power button
3) fastboot devices (to make sure that fastboot "sees" your phone)
4) fastboot flash recovery recovery-RA-nexus-v1.7.0.1.img
5) Don't reboot nexus! just chose "bootloader" from menu, after nexus reboot automaticly, chose recovery
6) AmonRa recovery appear!
7) Apply update.zip
You have root access!
Click to expand...
Click to collapse
Hey thanks!
I was having the exact same issue & I now have a cyan recovery & root access on the stock FRF85B

tried to install JB, used Blackrose = can't get into recovery

Hello Folks,
I'm still stuck with my nexus one since I don't care that much about phones.
I've seen that jelly bean roms have made a significant progress. Thus I decided to give it a shot.
I started with installing adb and fastboot. :good: After that I rooted the nexus one :good: I've used this how to:
c2med blog, can't post links...
Next, I ran blackrose. :good: I saved the rom on the micro sd. Having done all the preperations I wanted to flash the JB rom.
I started the phone in bootloader mode but - unfortunately - couldn't access the recovery mode (ext4). I only get the Android figure and an exclamation mark.
In the how-to it sais i should use fastboot to flash the recovery made by ext 4.
Problem # 1: Ext4 generated a .zip, not a .img file
Problem # 2: I connect the device in fastboot mode, navigate to the adb/fastboot folder and use ./fastboot devices. The phone is recognized and I see the serial number. Next I try "flash recovery...." but I only get "command not found". Now, I basically have no idea what to do.
Which recovery should I flash? And how?
I'm so looking forward to your answers.
Androdicct said:
Hello Folks,
I only get the Android figure and an exclamation mark.
Which recovery should I flash? And how?
Click to expand...
Click to collapse
What you get is the stock recovery.
Flash 4Ext recovery or Amon RA recovery ( fastboot flash recovery recovery-RA-passion-v2.2.1.img)
Among the several guides to install JB, I suggest you to look at the following post:
http://forum.xda-developers.com/showthread.php?t=1804571
I just finished this morning the following process:
install RA recovery,
install Blackrose and resize partition,
install from SD card Evervolv-Perdo-3.2.0-Nightly-2013.01.13-passion.zip
install from SD card gapps-ev-jb-20120816.zip
I spent a lot of times reading and trying. I had an issue after installing Evervolv-perdo-3.1.0final-passion zip. That's why I switched to the Nightly (JB 4.2).
Once you are set install a2sd from within the terminal emulator on your N1.
In my opinion this is so far the best ROM I ever have had on my Nexus 1.:good:
I am impressed to the extend that I offer to my wife to do the same on her N1. She said no. No to unlock, no to root and of course no to custom ROM.
Good luck
Hi,
thanks for your reply. Thats basically what i did as well. But after using Blackrose i can't go into the recovery mode.
I used the same tutorial. The problem lies here:
"Note: some people have reported having problems getting into recovery at this point (if not move on to step 5). If that happens, luckily for you, 4ext put a recovery image in the downloads folder of your SD card and if you did what I said in step 2 you saved it. Try reflashing that recovery image using fastboot (remember the one that was in SD/Download/4EXT_Recovery_Touch/ and was named "recovery.img"). Put your phone into the bootloader by turning off your phone, turning it on again while holding the trackball down. To reflash the recovery open command prompt and cd to the location of the Android SDK tools. Then type in the following command (replacing "path" with the path to where the recovery image is located on your computer):
Code:
fastboot flash recovery /path/recovery.img
If that does not solve your problems (inability to get into recovery) then I would recommend going back to the cyanogenmod wiki and installing Amon_Ra's recovery. Then you can use it to flash your installation zip."
It seems like I am unable to understand what I am supposed to do. Could somebody give me a step by step advice? I would prefer using some other recovery.img than mine...
Androdicct said:
Hi,
thanks for your reply. Thats basically what i did as well. But after using Blackrose i can't go into the recovery mode.
I used the same tutorial. The problem lies here:
"Note: some people have reported having problems getting into recovery at this point (if not move on to step 5). If that happens, luckily for you, 4ext put a recovery image in the downloads folder of your SD card and if you did what I said in step 2 you saved it. Try reflashing that recovery image using fastboot (remember the one that was in SD/Download/4EXT_Recovery_Touch/ and was named "recovery.img"). Put your phone into the bootloader by turning off your phone, turning it on again while holding the trackball down. To reflash the recovery open command prompt and cd to the location of the Android SDK tools. Then type in the following command (replacing "path" with the path to where the recovery image is located on your computer):
Code:
fastboot flash recovery /path/recovery.img
If that does not solve your problems (inability to get into recovery) then I would recommend going back to the cyanogenmod wiki and installing Amon_Ra's recovery. Then you can use it to flash your installation zip."
It seems like I am unable to understand what I am supposed to do. Could somebody give me a step by step advice? I would prefer using some other recovery.img than mine...
Click to expand...
Click to collapse
It happened to me. I just re-flashed Amon RA recovery from the fastboot mode. Maybe somewhere you missed a step?
gunner1937 said:
It happened to me. I just re-flashed Amon RA recovery from the fastboot mode. Maybe somewhere you missed a step?
Click to expand...
Click to collapse
Okay I see. Could you give me the exact steps for the fastbood method? :angel: And where did you get the recovery?
Cheers!
Androdicct said:
Okay I see. Could you give me the exact steps for the fastbood method? :angel: And where did you get the recovery?
Cheers!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=611829 : read posts #15 and #16.
In other words open your folder android-sdk-windows installed on the root of your C: hd. Click on the folder platform-tools and download Amon RA recovery in this folder. Left click anywhere on a blank area of this folder then press the key Shift (keyboard) and right click your mouse. In the drop down menu select Open command window. In the CMD, to be sure that the N1 is recognized by the pc (meaning the right drivers are installed) type ADB devices and press enter. You should see a string of numbers like HT9C......
Type adb reboot bootloader and press enter. You are in the fastboot mode ( and mood if I may say so) and the phone shows that it is in the bootloader. You can check again that N1 is recognized by the pc by typing fastboot devices. Same string appears.
Type fastboot flash recovery recovery-RA-passion-v2.2.1.img.
After the installation is completed boot in recovery, select Flash zip from sdcard, select the ROM you have dropped on the card. When the installation is completed go back to Flash zip from sdcard ( you are still in recovery mode) and select the gapps you have dropped on the sdcard.
Go back to Reboot system now. You are then out of the recovery and it takes some times for the N1 to boot to this beautiful JB
Edit:
http://forum.xda-developers.com/showthread.php?t=1804571 this is for posts #15 & #16
Androdicct said:
Okay I see. Could you give me the exact steps for the fastbood method? :angel: And where did you get the recovery?
Cheers!
Click to expand...
Click to collapse
As c2med posted in his guide, sometimes, people lose their recovery when they repartition using Black Rose. Hence, its always best to have Amon-RA or 4EXT flashable .img file in your PC so that incase you lose recovery, you can always flash it back.
Once you are in bootloader ( also called FASTBOOT mode) you can flash your recovery.
Then reboot into recovery from FASTBOOT (Shutdown and then restart using the recovery combination)
Once you are in recovery, follow the steps in c2med's guide (wipe cache/dalvik/etc - except sd-card ofcourse) and flash your ROM from sd card.
Then reboot into JayBee
In the screenshot you type:
$ ./fastboot devices
then you type:
$ flash recovery ......../recovery.img
Command not found.... Sure, flash it's not a command...
You need to type fastboot command first!
$ ./fastboot flash recovery ......../recovery.img
jolinnard said:
In the screenshot you type:
$ ./fastboot devices
then you type:
$ flash recovery ......../recovery.img
Command not found.... Sure, flash it's not a command...
You need to type fastboot command first!
$ ./fastboot flash recovery ......../recovery.img
Click to expand...
Click to collapse
Thank You! That's what I figuered out last night. Of course I also tried "fastboot flash" but forgot the "./". That was the key. Now the JB ROM works like a charm.
New Problem:
I can't install google apps. In fact I don't really need them. I only use a few apps and found the .apk files with google. Unfortunately the "official" Google apps like chrome don't work.
Plus, I wanted to install the camera (laggy in the evervolv - rom) and keyboard from here.
http://forum.xda-developers.com/showthread.php?t=1965290&page=38
When I try to install the .zip files in recovery mode I always get an error because of the signing... any help?
Androdicct said:
When I try to install the .zip files in recovery mode I always get an error because of the signing... any help?
Click to expand...
Click to collapse
When you're in recovery, select "Flash zip from SD card" and then select "Toggle signature verification" to disable signature verification, and then "Choose zip from SD card" and navigate to the zip file that you want to flash.

[rOOt] Kwongger's Sprint HTC One All-In-One Root Pack

Hello,
First off, I'd like to apologize for putting this in the "General" section, as I am new, I cannot post in the development related sections.
So, I have compiled a all in one package for rooting your HTC One, this kit includes fastboot, drivers, recoveries, SuperSU, and anything else you will need to root your device (there is a full list below). I have compiled some pretty detailed instructions and will post them in the second post.
INCLUDED FILES:
Fastboot
adb
Clockwork Mod Touch 6.3.something
TWRP 2.5.0
SuperSU (recovery flashable)
Disable Write Protection (recovery flashable)
Drivers (32 and 64 bit)
Stock Boot Image and Recovery
INSTRUCTIONS-
Download Latest:adf . ly/O7zCG​
Past Releases:
None Now, this is 1.0!
Notes:
By downloading this you are placing the full responsibility on yourself for anything that happens to your sexy new phone, unless it starts shooting lasers and destroying iDevices, then, the Credit is mine
This works on both Windows and Mac OSX
If you make a video or blog post etc get my permission BEFORE
ENJOY!!!
Instructions
Kwongger's Sprint HTC One All-In-One Pack
1. Create an account at HTC DEV
2. Unlock using the HTC Dev instructions (below) (select "all other supported devices" at start)
3. Flash A recovery using the below instructions
4. Either Flash the SuperSU zip (stock rooted) or the rom of Your Choice (both IN RECOVERY)
NOTE:
I will soon post a detailed YouTube video (in 2 weeks or so when I get my One!)
on youtube com /user/ kwongger​
HTC unlock method instructions:
Just So you know, these are directly from htc, all credit to them!
Step 1: Remove and reinsert the battery then proceed to step 2. For devices without a removable battery, long press the power key then select restart. Hold down the volume down key while restarting to start the device in Bootloader mode.
Step 2: Press Volume Down and Power to start the device into Bootloader mode.
Step 3: Use the Volume buttons to select up or down. Highlight Fastboot and press the Power button.
Step 4: Connect the device to the computer via a usb cable
Step 5: Isn't needed
Step 6: Open a command prompt in the directory by pressing shift, right clicking, and selecting open command prompt window here
Step 7: Navigate to where you unzipped the ZIP file and go to the folder you just created (see step 6 above)
Step 8: Type in Command Prompt: fastboot oem get_identifier_token
Step 9: You will see a long block of text. Copy and paste into the token box on HTC DEV.
You should get this:
Token Submitted Successfully!
You've been sent an email with your unlock key as a file attachment. Please review this email for further instructions and a link to complete the Bootloader process.
Leave your cmd window open you will need it after you get your Unlock_code.bin in the e-mail.
You can place the Unlock_code.bin in your Root folder and follow the instructions from the e-mail.
NOW: boot to the bootloader and select fastboot
Installing TWRP
Now type "fastboot flash recovery openrecovery-twrp-2.5.0.0-m7wls.img" without the quotes and press enter
Now type "fastboot erase cache" without the quotes and press enter
This will install custom TWRP recovery on your phone so you can start flashing custom ROMs.
Installing CWM v6.0.3.1
Turn phone completely off
Boot into HBOOT>Fastboot
Use command "fastboot flash recovery recovery-clockwork-6.0.3.1-m7wls.img" without the quotes or
"fastboot flash recovery recovery-clockwork-touch-6.0.3.1-m7wls.img" also without the quotes
AFTER FLASHING RECOVERY
1. Boot to your recovery and flash the rom of your choice.
~or~
Boot to your recovery and flash the SuperSU zip.
2. Flash the Disable Write Protection zip (will allow you to replace/edit system files)
Frequently Asked Questions
FAQ​
Will this work on (insert alternate Htc One carrier here)?
Most likely not, give it a shot though! Remember I am not responsible for anything that happens to your device.
Can I return to stock?
Yeah, just flash the stock stuff through fastboot and relock your boot loader.
Will this void my warranty?
If you really have this question you don't belong on these forums... YES htc even told you themselves when you started the bootloader unlock process
My phone won't boot.
Well you did something wrong, return to stock using the above instructions and then try again.​
I am closing this thread because it has information which this thread already has in more detail.
It's best not to have a plethora of the same thread.
Thanks

[Q] Corrupt Bootloader

Please help!
I am currently trying to root my TF701t on Jellybean but I appear to have corrupted my bootloader. I can boot into the bootloader and do a system wipe and boot Andoid, but when I select the RCK option I end up with the Android image on its back.
I have downloaded CWM 6.0.4.6 and tried to apply the recovery.img file via Minimal ADB and Fastboot command prompt only to be greeted with "cannot load "recovery.img" Result too large".
To be clear the system boots normally and fuctions perfectly - this is strictly a bootloader issue which has been unlocked successfully.
Any help would be greatly appreciated and apologies in advance if either the solution to this has been posted elsewhere or I have not given you the information you require to help.
Many thanks,
East
You need to fastboot recovery from the bootloader.
When you reboot into the bootloader do not select RCK. RCK is the recovery, I don't think the default one can do anything, you just get the android on it's back.
So it should be reboot into bootloader and then don't touch your tablet.
Then from your pc fastboot flash recovery recovery.img
Make sure you are also on a 4.3 bootloader before you fastboot flash CWM 6.0.4.6.
The instructions above are correct
To flash a recovery you need to have the fastboot.exe file and cwm recovery.img file in the same folder.
Right click + shift on the folder they are in and choose open command prompt here
Boot into the Bootloader by either booting with the Power and Volume Down Buttons held down until you get the 3 icons or by typing the following into the command prompt.
Code:
adb reboot bootloader
Then type the following commands to flash the recovery image:
Code:
fastboot flash recovery recovery.img
fastboot reboot-bootloader
Start the recovery by making sure the RCK icon is highlighted (use volume down to move) and push volume up to select.
sbdags said:
Right click + shift on the folder they are in and choose open command prompt here.
Click to expand...
Click to collapse
In Windows 7 you can just navigate to the folder with explorer and in the address bar type cmd and hit enter
Opens a command prompt in the correct folder
Doh!
Thank You
Well.......this is very embarrassing.
I have rooted and installed custom roms on my last 3 phones including the my new Nexus 5 without any problems at all. I simply followed the instructions posted by the developers. At the same time I used to take the piss out of the other posters who raised queries because they hadn't followed the instructions. What do I do? Exactly that.
Please accept my apologies sbdags as it is your rom I am installing and thank you to You & Sleeepy2 for posting polite and prompt replys without having a go at me for not following your instructions.
Problem solved I am now rooted!
Thank you again.
East

I am having trouble finishing the rooting of my HTC Desire 626s

I have posted the instructions bellow that I have been following.
1. I got the bootloader unlocked.
2. The fastboot flash recovery went through ok
3. Is were the problem is. The instructions say after flashing the img in place
it is time to open Cynogen Mod menu and flash in the SuperSU file. The
instructions say to reboot to bootloader > boot to recovery mode then hit the
power button. At this point the Cyanogen Mod recovery mode menu is
supposed to come up. And then navigate to were the SuperSU.zip file is.
The problem is that the Cynogen Mod menu never comes up. All I get is
the following picture bellow. Then the phone reboots to normal operating mode.
The phone works 100% but it still isn't rooted. I don't know how to fix this.
The boot loader screens aren't the same as I have seen in video turtorials that I
have seen. I can post those screen captures as well if needed.
----------------------
Complete, detailed, step-by-step root procedure for HTC Desire 626s
Credits
- I did not come up with the procedure to root this phone - that work was done by member @hackvcs - I just put this guide together using the method that he developed (and using the custom recovery that he put together). Please give all credit to @hackvcs!!! Also, the links to the files below are not my links - they are links that other members provided (member who provided them is listed below).
Pre-requistes/Downloads:
- HTC Desire 626s phone
- Official TWRP Recovery Images: https://twrp.me/devices/htcdesire626s.html - Thanks @Captain_Throwback!
- Recovery images (custom CyanogenMod recovery and stock recovery image) - provided by @hackvcs (https://mega.nz/#!sp0wCThZ!MQVTq6y_8...hnaLRq8UiqLruQ)
-SuperSU binary .zip file - link provided by @mussio (https://download.chainfire.eu/696/SuperSU)
1. Unlock bootloader
- Enable "Unknown Sources" on your phone:
- Settings->Security: Check "Unknown Sources" checkbox
- Enable "Developer Mode" and enable "USB Debugging" and "OEM Unlocking" settings
- Settings->About->Software Information->More: Tap on "Build Number" 7 or more times until it tells you that Developer Mode is enabled.
- Settings->Developer Options: Enable "OEM Unlocking" and "USB Debugging" options.
- Actually unlock the bootloader by going to the HTCdev "Unlock Bootloader" website (www.htcdev.com/bootloader) and following the directions to unlock your bootloader. You will need to create an account on this website before being able to unlock the bootloader. I'm not going to provide step-by-step instructions for the bootloader unlock procedure since the HTCdev website already provides a step-by-step procedure. However, here are a few key notes regarding this procedure:
- The bootloader unlock procedure will reset your phone back to factory defaults. Make sure to backup anything that you need on the phone before unlocking the bootloader. You can optionally install the "HTC Sync Manager" (link provided on HTCdev website) to backup your phone before starting the process.
- In the "Select your device" box on the first screen of the bootloader unlock procedure, select "HTC Desire *" as the device type.
-If you are running the latest firmware on your phone, you do not need to worry about the phone update page when you first start the unlock process - just scroll to the bottom of the screen and click the "Proceed to Step 1" button to start the procedure.
- You will need to install Java if you don't already have it installed - there is a link to download Java right on the same page as the bootloader unlock procedure.
- You will need to download and install the fastboot binaries provided in step 4 of the bootloader unlock procedure. Unzip the fastboot.exe file included in the zip to a directory that you will use to root your HTC Desire 626s (I recommend creating a new directory for this - something like "C:\HTC626s") - later, you will also put the other files you need (recovery image file and SuperSU binary .zip file) into this same directory so that everything is in one place
2. Install custom recovery
Once you have successfully unlocked your bootloader, you will need to flash a custom recovery (TWRP recommended). This recovery image will replace the stock recovery on your phone and allow to flash the SuperSU binaries in the next step.
- Connect your phone to the PC via USB cable and let the PC install the necessary drivers for the phone.
- Power off phone
- Reboot the phone into "Download" mode:
- While holding the Volume Down button, press the device Power button. Continue to hold the Volume Down button until the phone boots into "Download" mode. To confirm that the bootloader is unlocked and that you are in "Download" mode, you should see the following two lines at the top of the screen:
- "hTC download mode"
- "*** Unlocked ***"
- Once you have confirmed that you are in download mode and the bootloader is unlocked, it's time to flash the custom recovery:
- Open a Command Prompt (aka DOS prompt) window and change to the directory where you put the fastboot.exe file. If using the recommended directory, you would type this command in the Command Prompt window to change to that directory:
- Type "cd \HTC626s" and press [ENTER]
- Make sure that the recovery file is in the same directory (type "DIR" and press [ENTER] to see the files in the current directory). If it is not in the current directory, put it there before continuing (via Windows Explorer). Also, I'd recommend renaming the recovery image to "recovery.img" - it makes typing the commands a little easier and reduces the likleyhood of a typo. So before continuing, you should have both "fastboot.exe" and "recovery.img" in the current directory.
-In the command prompt window, type "fastboot flash recovery recovery.img" and press [ENTER] - this will flash the custom recovery to your device.
3. Install SuperSU superuser binaries
Now that we have the bootloader unlocked and the CyanogenMod recovery installed, we are set to flash the SuperSU binaries to actually root the device. Before continuing, make sure that you have copied the SuperSU binary .zip file to the internal storage on your phone! Once we boot into CyanogenMod, you will have to navigate to this .zip file in order to install it. It MUST be on the *internal* phone storage (not on the MicroSD card).
- Reboot your phone into recovery:
- Power off the phone
- Power on the phone while holding the "Volume Down" button. Keep holding "Volume Down" until the phone boots into Download mode.
- Scroll down to "Reboot to bootloader" and press the power button.
- Once in bootloader mode, scroll down to "Boot to recovery mode" and press the power button. At this point, you should be in the CyanogenMod recovery menu.
- Scroll down to "Apply Update" and press the power button
- Scroll down to "Choose from internal storage" and press the power button
- Navigate to where you stored the SuperSU .zip file and select it - the SuperSU binaries will be installed on the phone.
-That should do it! You should now have a rooted HTC Desire 626s. Reboot the phone into Android and confirm that you have a SuperSU icon in your app drawer and then confirm that the device is actually rooted.

Categories

Resources