[Guide] How to unlock Boot loader and flash custom ROMs. - HTC Incredible S

Here's a guide to unlocking the bootloader, flash a recovery image, and install a custom ROM on your Incredible s.
If you're not experienced with this sort of thing I advise you get help or not do it at all. I'm not responsible for anything that happens to your phone, but it is highly rare that anything will go wrong
1. Go to www.htcdev.com and log in/create an account. When logged in, click on 'Unlock Bootloader'
Now simply follow the on screen instructions provided by HTC. Some of the process requires getting some files from the Android SDK and you will needs the HTC drivers which come with HTC Sync, but this will all be explained through the process.
Now as I said, you need some files from the SDK which you can get here:
http://dl.dropbox.com/u/4263022/HTC Dev Tools.zip
I recommend putting these somewhere easy like the root of your C: drive in a folder called 'Android' like I will for the tutori. If you're still sure, select yes, and the process will complete.
2) you should see a little message pop up now asking if you'd like to go ahead and unlock the boot loader. Select yes.
3. Once done, your phone's bootloader will be unlocked, this will enable you to flash a recovery image.
4. Go to
http://download2.clockworkmod.com/re...0.2.0-vivo.img
and download the recovery image for the Incredible S. Put it in the "android" folder with the other files needed for the unlock process. This file is the ClockWorkMod recovery for the incredible s.
5. Shut down your phone. Plug it in via USB to your PC which you set up during the HTC unlock process. Hold volume down, and press power and the phone will boot into the bootloader. Wait for it to scan your SD card, then ensure "Fastboot" is highlighted and press power.
6. On your PC, load up a command prompt - open the Start menu, go to Run, and type "cmd".
7. In the command prompt window, type the following, assuming the HTC unlock files are all in C:android.
Code:
cd c:android
Then type:
Code:
fastboot flash recovery <recovery_name.img>
Don't forget the .img on the end, and replace "recovery_name" with the specific name of the recovery image you want to use. For ClockWorkMod linked to in step 4, you'd type:
Code:
fastboot flash recovery cwm-4.0.1.4-vivo.img
After a few seconds, ClockWordMod will have been flashed to your phone.
8. Reboot your phone, there should be an option in the fastboot menu (volume up and down to navigate, power to select). It should boot as per normal. Put it into USB disk mode, and download a ROM that you'd like to use. CyanogenMod is what I'm going to use: http://www.cyanogenmod.com/devices/htc-incredible-s
Download the ROM and place it in the root of your SD card
9. Power off the phone. Hold volume down and press power to boot back into the bootloader. Use volume down to select "Recovery" and press power. ClockWorkMod recovery will load.
10. Using volume up/down and power to select, go down to Backup/Restore. Select it, then click backup. ClockWorkMod will backup your stock ROM in case there are any needs to switch back.
11. After that (takes about 5 minutes), go back to the main menu. Select wipe data/factory reset and confirm. Go back to the main menu, select Advanced > Wipe Dalvik cache
12. Go to the main menu, and select "Install zip from sdcard". Next choose "Select Zip from SD card" and select the ROM you'd like to install. Confirm this action, and ClockWorkMod will install your new ROM. When done, shut down your phone.
13. Ordinarily you'd be done after that, and you could boot into your new ROM. However HBOOT 1.16 does some random stuff and tends to cause problems. I think it interferes with the installation of the boot.img that ordinarily would be flashed with the ROM. Get the ROM that you downloaded earlier (CyanogenMod in this tutorial), and on your computer, unzip the file somewhere. Once done, inside you'll see a file called "boot.img". Put this in the same folder as your other Android tools that you used earlier. Power your phone on, hold volume down, but don't choose "recovery", choose "usb fastboot".
14. Open up your command prompt again (Start > Run > "cmd"), and type (using the "android" folder for this example):
Code:
cd c:android
fastboot flash boot boot.img
This will flash the boot.img to your phone.
Power off the phone, reboot it, and that should be it!
If this helps please leave a thank you.
Good luck
Sent from my HTC Incredible S using xda premium

Bad download URL for CWM...
The URL you have documented for CWM recovery image is giving an "Access denied" response.

Thanks a lot!
It's very useful for me :good:

This is a duplicate thread and copied too.... the actual guide is at http://forum.xda-developers.com/showthread.php?t=1337105

Closed
What he said

Related

[GUIDE] The Ultimate Beginner's Guide {Downgrade, Root, Partition, ADB, and MORE!}

The Ultimate Beginner's Guide
NOTE: I am not responsible for any damage that happens to your phone!
NOTE: I am not responsible for any damage that happens to your phone!
NOTE: I am not responsible for any damage that happens to your phone!
NOTE: I am not responsible for any damage that happens to your phone!
Click to expand...
Click to collapse
Rooting your Phone
Q: What is Root?
A: Root is linux operator allowing access to all files in the file system. With root or administrative rights, developers can create or "cook" roms, get access to core files and of course create themes.
For a more detailed explanation go HERE
Q: Why Should I Root My Phone?
A: Here is a couple of reasons:
- A huge preformance boost
- Multi-Touch web browsing
- Install Apps directly to your SD Card
- Wireless and Wired Internet Tethering
- Faster Download Speeds
- Bonus Apps and Widgets from other builds
- Many many many more
Ok, since you kept reading, I think you are ready to root your phone! The only question now is HOW?!?
Check your Phone Version:
1. Go to settings
2. Press on "About Phone"
3. Scroll Down to "Firmware Version" if you have 1.5 please skip to the Rooting Your Phone part of this Guide. If you have 1.6 or higher please follow the downgrading part of the Guide.
-------------------------------------------------------------------------------------------------------------------------------
Downgrading your G1 to Cupcake 1.5
Load the DreaIMG.nbh File
1. Download the Original DreaIMG.nbh file:
Original DREAIMG.nbh
2. Extract the .zip file to get the DreamIMG.nbh file. Place the .nbh file in the root of your sd card. (root = not in any folders)
Note: Make sure your sd card is partition as FAT32 or your phone will not detect the .nbh files.
To Format:
- Load your SD card in the card reader and connect to PC.
- Make sure you back up everything on your card. a format will erase all data on the card.
- Now open “My Computer” and right click on the drive with the SD card (Warning! Make sure its the correct drive).
- Click on Format and select FAT32 on the file system drop down and click then click Start.
- Once completed, Copy your files back to the SD card and make sure the “Original DREAIMG.nbh” is at the topmost folder of your SD card.
3. Turn the phone off if it is on.
4. Turn on the phone by holding the Camera button and the End key until the bootloader screen turns on.
5. Hit the End key to start the update. DO NOT INTERUPT THIS PROCESS.
6. Once it is done, hit the trackball to restart the phone. You now are on the stock firmware RC29. You must do the next section to get back to cupcake.
Get Back to Cupcake
1. Download the cupcake update from HERE
2. Rename the .zip file to update.zip
Note: Make sure its update.zip not update.zip.zip. If you cannot update rename your file to update not update.zip
3. Turn off your phone
4. Hold the HOME key while pressing the POWER key
5. You will see a "!" which means you are in recovery
6. Open your keyboard and type alt+l to see text
7. Type alt+s to updpate
8. Congrats you have now downgraded your phone to the Cupcake 1.5 OS
-------------------------------------------------------------------------------------------------------------------------------
Rooting Your Phone
1. On your phone, Do the following,
- Go to Settings --> Applications
- Make sure Unknown source is checked ON.
THEN,
- Go to Settings --> SD Card and Phone Storage
- Click on Unmount SD Card
- Now Click Format SD Card (Make sure you backed up all your files!)
- It should remount the SD Card for you
2. Go to the Android Market on your phone and Download & Install "Linda File Manager" or "Astro File Manager" if you dont already have a file manager installed.
3. Plug the phone into the compuer via USB, then pull down the notification bar and click on the SD card notification. Then click mount.
4. Download the Following:
FlashRec.apk
Amon Ra’s Recovery Image (12/13/09)
5. Put both files in the root of your sd card (root = not in any folders!)
7. Unplug the phone from the computer once completed
9. Open the file manager and goto SDCard and then find the FlashRec apk file and click it (If asked tell it to use Package Installer to open it. It should automatically install the apk)
10. Open the FlashRec program and click on Backup Recovery Image and wait for it to finish.
11. Once done, click on the empty text box in the FlashRec program and type:
/sdcard/recovery-RA-dream-v1.5.2.img
Then click on the Flash Custom RecoveryImage button and wait for it to finish.
12. Turn off the phone and turn it on into Recovery mode by holding down Home and Power to turn it on (keep holding until the recovery screen comes up has a bunch of text on a black background).
13. Congrats! You have rooted your phone! To keep your root, you MUST continue to the next part of this guide!
-------------------------------------------------------------------------------------------------------------------------------
Installing CyanogenMOD (Custom ROM)
1. While still in recovery scroll down and click on "USB-MS Toggle"
2. Connect your phone to your PC
3. Download the following:
- Latest CyanogenROM HERE (Download should be toward the bottom of the post)
- ADP 1.6 DRC83 Update - HERE
4. Put the .zip files you have now finished downloading in the ROOT of your SD Card (Root = not in any folder)
5. Once done, unplug your phone from your PC
6. Press HOME to disable USB-MS
7. Scroll down to "Flash ZIP from sdcard"
8. Select HTC_ADP_1.6_DRC83_rooted_base.zip and Press HOME to install
9. Once done DO NOT reboot! DO NOT!
10. Scroll down to "Flash ZIP from sdcard"
11. Select update-cm-X.X.X-signed.zip and Press HOME to install
12. Press HOME to install
13. Once Done, press on "Reboot System Now"
NOTE: Reboot will take up to 5-10 min
14. Congrats! You are now DONE!
-------------------------------------------------------------------------------------------------------------------------------
Flash the New RADIO and SPL
Q. Why do i NEED this?
A. This will give your phone more internal memory and is REQUIRED for MOST new roms! This is a requirement for ALL Hero ROMS
NOTE: Please read carefully before flashing! This could BRICK your phone!!!
1. Check if you have a PVT or DVT board
a. Power off your phone and enter bootloader (Camera + Power)
b. Check look at the top and see if it says PVT of DVT
2. If you have a DVT board YOU CANNOT CONTINUE BECUASE THIS WILL BRICK YOUR PHONE!
3. For all you luck PVT board people Download the following:
OTA Radio Update - HERE
Danger SPL - HERE
Latest CyanogenMOD - HERE
4. Rename ota-radio-2_22_19_26I.zip to Radio.zip. Rename spl-signed.zip to SPL.zip. Rename update-cm-4.0.1-signed.zip to ROM.zip
5. Place the 3 renamed files at the ROOT of your SD Card
6. Enter Recovery (Home + Power)
7. Scroll down and press on "Apply any zip from sd"
8. Press on Radio.zip
9. Let it install. Once done it will tell your to reboot to finish the update. Press on Reboot System now in the recovery menu.
10. It will reboot back to recovery. Once it does, Scroll down and press on "Apply any zip from sd"
11. Press on SPL.zip
12. Let it install. Once done it will tell your to reboot to finish the update. Press on Reboot System now in the recovery menu.
13. It will NOT reboot into recovery. Your phone will be stuck on the G1 screen. Once it gets there, reboot your phone by pressing Talk+Menu+Power and then hold the HOME button to enter back into recovery.
14. Scroll down and press on "Apply any zip from sd"
15. Press on ROM.zip and let it install.
16. Reboot your phone to finish.
-------------------------------------------------------------------------------------------------------------------------------
Partition your SD Card to have EXT3 and Swap
Q. What is partitioning?
A. This breaks up your sd card to 3 file systems. Allowing apps to be stored on your SD Card
Q. What is EXT2/3/4?
A. EXT is a filesystem that is only read by a linux OS such as Android. This allows apps to be stored on the SD Card
Q. What is SWAP?
A. Swap is a space on your SD Card that the phone will use as "fake" internal RAM allowing for a major speed increase
1. Backup all your files!
2. Power off your phone
3. Boot into recovery (Hold HOME while holding the POWER button)
4. Scroll down to Partition SD CARD in the recovery menu and press on it
5. Click on Partition SD
6. In the menu, it will ask for you to input two numbers. Swap, then EXT space.
Enter the following:
- SWAP: 96 MB
- EXT: 512 MB
- FAT32: Rest of SD Card
7. Once done go back to the Partition SDcard menu
8 Click on SD:ext2 to ext3
9. Press HOME to confirm
10. Once done, you need to install your current ROM to enable auto apps2sd and swap
11. Download your currently used rom
- Latest CyanogenMOD - HERE
12. Put the .zip file you have now finished downloading in the ROOT of your SD Card (Root = not in any folder)
13. Once done, unplug your phone from your PC
14. Press HOME to disable USB-MS
15. Scroll down to "Flash ZIP from sdcard"
16. Select update-cm-X.X.X-signed.zip and Press HOME to install
17. Press HOME to install
18. Once Done, press on "Reboot System Now"
19. Congrats! You are now done!
-------------------------------------------------------------------------------------------------------------------------------
Installing a Theme
1. Download your favorite theme
- XDA Theme Forum - HERE
NOTE: Make sure you know that the theme is ment for your currently install rom
2. Put the .zip file you have now finished downloading in the ROOT of your SD Card (Root = not in any folder)
3. Once done, unplug your phone from your PC
4. Press HOME to disable USB-MS
5. Scroll down to "Flash ZIP from sdcard"
6. Select "themeExampleX.zip" and Press HOME to install
7. Press HOME to install
8. Once Done, press on "Reboot System Now"
9. Enjoy your newly themed ROM
-------------------------------------------------------------------------------------------------------------------------------
Factory Reset Your Phone (Data + Cache WIPE)
1. Turn off your phone
2. Boot into recovery (Hold HOME while holding the POWER button)
3. Scroll Down to WIPE and click it
4. Click on "Wipe data/factory reset"
5. Press HOME to continue
6. Reboot your phone once done
-------------------------------------------------------------------------------------------------------------------------------
Full SD Card WIPE (EXT, DATA, Dalvik-Cache)
1. Turn off your phone
2. Boot into recovery (Hold HOME while holding the POWER button)
3. Scroll Down to WIPE and click it
4. Click on "Wipe data/factory reset"
5. Press HOME to continue
6. repeat steps 3, 4, and 5 for "WIPE Dalvik-Cache" and "WIPE SD:ext partition"
6. Reboot your phone once done
-------------------------------------------------------------------------------------------------------------------------------
Donate
Hey guys, if you think my Guides have helped you and in general are very helpful, please considering Donating!
Like My Guide(s)? Donate
-------------------------------------------------------------------------------------------------------------------------------
Backup/Restore your phone (Includes EXT Partition)
Backup:
1. Turn off your phone
2. Boot into recovery (Hold HOME while holding the POWER button)
3. Scroll Down to "backup/restore" and click it
4. Click on "Nand + ext backup"
5. Press HOME to continue
6. This will take 5-10 min to finish
Restore:
1. Turn off your phone
2. Boot into recovery (Hold HOME while holding the POWER button)
3. Scroll Down to "backup/restore" and click it
4. Click on "Nand Restore"
5. Press HOME to continue
6. This will take 5-10 min to finish
-------------------------------------------------------------------------------------------------------------------------------
ADB and FASTBOOT
Q. What is ADB?
A. ADB is a source tool for developers and avid android modders such as yourself to access the commands prompt of your phone through your PC. This allows full access to your phone through your computer which makes moving, installing, removing, and replacing files on your phone MUCH faster
Q. What is fastboot?
A. Similar to ADB, this allows you in flash a while img to any partition in your phone, including recovery, system, and user-data.
To setup ADB and Fastboot, please follow my very detailed guide found HERE
-------------------------------------------------------------------------------------------------------------------------------
Difference between a Boot-Loop, Semi-Brick, and a full Brick
Boot-Loop
Q. What is a Boot-Loop?
A. A boot loop is when your phone is stuck on the "ANDROID" screen when u first boot your phone (after the G1 screen or the My Touch screen). This occurs when something you have flashed went bad or interfeared with something you already had installed.
Solution:
1. Turn off your phone
2. Enter Recovery (Hold HOME while holding the POWEr button)
3. Choose from the following:
- Install a rom you KNOW works. Such as the latest cyanogenROM or the rom you have been preivously using
or
- Make a full wipe of your SD Card an phone and flash your update again
Semi-Brick
Q. What is a Semi-Brick?
A. A Semi-Brick is when your phone wont boot at all. The only thing is, you still have access to the recovery and/or fastboot menu
Solution:
1. Turn off your phone
2. Enter Recovery (Hold HOME while holding the POWEr button)
3. Choose from the following:
- Install a rom you KNOW works. Such as the latest cyanogenROM or the rom you have been preivously using
or
- Make a full wipe of your SD Card an phone and flash your update again
Brick
Q. What is a Brick?
A. A Brick is when your phone wont boot at all. This time, you DO NOT have access to the recovery AND fastboot menu. Basically, your phone is a paper weight.
Solution:
You can try this fix here which requires a Donor G1 to work:
HERE
OR
Try to get a new phone.
-------------------------------------------------------------------------------------------------------------------------------
Donate
Hey guys, if you think my Guides have helped you and in general are very helpful, please considering Donating!
Like My Guide(s)? Donate
-------------------------------------------------------------------------------------------------------------------------------
Additions and Questions
- If you think I should add anything to this guide or have any feedback please post it here!
- You can always PM me with questions or even post them here. I would be very glad to help!
-------------------------------------------------------------------------------------------------------------------------------
Credits
- Cyanogen
- Amon_RA
- XDA Community
- Anyone else who i am forgeting
-------------------------------------------------------------------------------------------------------------------------------
saved for future additions
saved for another future posting that i might need
When trying to install the flash rec using linda file manager I don't get the prompt to install. It just tries to open the zip file and show nothing. If I use app installer it doesnt even detect the file. What now?
rpdiddy11 said:
When trying to install the flash rec using linda file manager I don't get the prompt to install. It just tries to open the zip file and show nothing. If I use app installer it doesnt even detect the file. What now?
Click to expand...
Click to collapse
......Android opens .apks, you would need androzip to extract a zip file. Linda will only open .apks to install..
Nicely done, as usual.
Would this guide be the same if I was using Super D as the rom?
hiddengopher said:
Would this guide be the same if I was using Super D as the rom?
Click to expand...
Click to collapse
ya u can use any rom that has root enabled.
rpdiddy11 said:
When trying to install the flash rec using linda file manager I don't get the prompt to install. It just tries to open the zip file and show nothing. If I use app installer it doesnt even detect the file. What now?
Click to expand...
Click to collapse
u need to unzip the file on your computer and only place the .apk files on ur sd card
edit: It doesnt even come in a .zip
Download it here
http://zenthought.org/system/files/asset/2/flashrec-1.1.3-20091107-2.apk
Place on SD and install through linda or any file manager.
Force close
Hey so I did the whole then and it worked mint thank you very much. But one hiccup every time I open something from the original Google install like contacts or market it force closes the app. Any idea on whats going on??
Help please!
why does my G1 get stuck on D" blue android logo? i can't load it. omfg guys please help. I'm in a state of panick here.
I just installed D' latest cm and D' drc83 thingy i just skipped D" upgrade to cupcake part. omg i'm really really panick right now
help please RASAP!
OMG
OMG I"M FINALLY ABLE TO LOAD but why can't i load my 3G settings? D' apn is set by default and all but why can't i use it?
please help me really please
snOwrOse said:
why does my G1 get stuck on D" blue android logo? i can't load it. omfg guys please help. I'm in a state of panick here.
I just installed D' latest cm and D' drc83 thingy i just skipped D" upgrade to cupcake part. omg i'm really really panick right now
help please RASAP!
Click to expand...
Click to collapse
No need to panic. As long as you can access the Blue Android Logo, you are fine.
Please list, step by step, what you did (including ROM Version Numbers).
Also - you might want to try flashing/wiping your phone. That seems to take care of many issues, but I'd still like to see what you did.
elitemonkie said:
Hey so I did the whole then and it worked mint thank you very much. But one hiccup every time I open something from the original Google install like contacts or market it force closes the app. Any idea on whats going on??
Click to expand...
Click to collapse
Best guess would to be to wipe and try again.
a little help!
guys why can't i download apps from market place after following this guide? It keep saying forces close i just can't download any apps at all however i can browse them.
Anywhere to find apk. file apps or any solution please?
Some help here guys!
Thanks! appreciated!
Well I fixed it but I installed Dwangs OS and works mint.
because my Phone had PVT i updated everything... and then i would reboot at the end after installing the ROM and it will not boot... it gets stuck at the T-Mobile G1 Logo... is there anyway to fix this?
Cheers...
ElChibo said:
because my Phone had PVT i updated everything... and then i would reboot at the end after installing the ROM and it will not boot... it gets stuck at the T-Mobile G1 Logo... is there anyway to fix this?
Cheers...
Click to expand...
Click to collapse
Depends, can you get into recovery or bootloader?
JAguirre1231 said:
Depends, can you get into recovery or bootloader?
Click to expand...
Click to collapse
i can get into recovery mode.. i have been trying to reflash.. but no matter what.. i get stuck on The G1 screen...

Newbie on a mac, please check my rooting steps...

I'm using some guys guide for mac users:
1. Take a deep breath. It is just software and you are going to master it!
2. Download and install the Mac OSX Android SDK. I am going to assume for the purposes of this list that you have put it in /Applications/android-sdk-mac_86/tools/ but it doesn't matter.
3. Get fastboot-mac from here. Rename it 'fastboot' and put it in /Applications/android-sdk-mac_86/tools/.
4. Get Radio_20100203_2_Signed_PASSION.img,
update-cm-5.0.4.1-N1-signed.zip AND gapps-passion-ERE36B-2-signed.zip
from here and put them in /Applications/android-sdk-mac_86/tools/.
5. Get recovery-RA-nexus-v1.6.2.img from here and put it in /Applications/android-sdk-mac_86/tools/
6. Put Get Radio_20100203_2_Signed_PASSION.img,
update-cm-5.0.4.1-N1-signed.zip and gapps-passion-ERE36B-2-signed.zip
on the root of the SD card. You can do this by mounting the phone via a USB cable (this works just like any USB stick except you have to click a button on the phone's UI).
7. In your phone settings > applications > development, set usb
debugging to enabled.
8. Turn off your phone and put the SD card with the 3 files on it
into your phone.
9. Hook up the USB connection to your phone and your mac.
10. Reboot phone into fastboot: Hold down trackball, push the power
button and hold both until you see the fastboot screen. (The fastboot
screen is the one with the Androids on skateboards)
11. In Terminal on your mac, cd to /Applications/android-sdk_mac_86/tools
12. Type ‘./fastboot devices‘ to make sure your phone is recognized
(it should list a device number rather than simply returning to
command prompt with no feedback).
13. Type ‘./fastboot oem unlock‘ to unlock the bootloader (wohoo, your phone is now rooted!)
14. Use volume keys on the phone to navigate to yes and press the
power button to confirm.
15. When the phone finishes booting, in your phone settings >
applications > development, set usb debugging to enabled, then power
it down.
16. Reboot phone into fastboot: Hold down trackball, push the power
button and hold both until you see the fastboot screen. (The fastboot
screen is the one with the Androids on skateboards)
17. (you're still in terminal in /Applications/android-sdk_mac_86/tools)
Type ‘./fastboot flash recovery ./recovery-RA-nexus-v1.6.2.img‘. (Note
filename will change as recovery image is updated)
18. Type './fastboot flash radio ./Radio_20100203_2_Signed_PASSION.img'
to also update your radio at this point
19. Once the Recovery flash is complete (should be almost instant),
press the Power Button. The highlighted blue text should now say
HBOOT. Use the volume down button to highlight "Recovery" and hit the
power button to reboot into recovery.
20. if this step fails, power down the phone, and try this: hold down
the VOLUME DOWN button and then hold the POWER button until you get to
the skateboard screen; use volume down to highlight RECOVERY and hit
the POWER button
21. You should now be in the Recovery screen after a reboot -- this
screen has 9 green text options at the top and an android x in the
center of the screen
22. Once in Recovery Mode, use the trackball to scroll down to
"Backup/Restore" and press the trackball three times, and wait until
the backup is complete.
23. Once backup is complete, wipe, since you're coming from stock
(even fastboot oem unlock may not fully wipe, do it just in case) many
users report the phone not booting properly without a wipe at this
point.
24. Scroll down to "Flash zip from sdcard", and press the trackball.
25. Select the CyanogenMod update (update-cm-5.0.4.1-N1-signed.zip),
and press the trackball again to confirm. Wait until the flash is
complete. (Note: this will take a little while).
26. Once again, Scroll down to "Flash zip from sdcard", and press the trackball.
27. This time, select the Google Apps File
(gapps-passion-ERE36B-2-signed.zip), and press the trackball again to
confirm. Wait until the flash is complete.
28. Once you are back in the main menu, press the trackball select the
first option (Reboot system now) and reboot the phone.
29. If everything was done correctly, the phone should boot into CyanogenMod!
Click to expand...
Click to collapse
My few questions...
Do I really need SDK? I've been reading a lot, and some say use it, some don't mention it.
I've already found that some of his files are updated, so I'd be using the more recent ones.
Also, I'm thinking that I'm NOT going to mess with the radio. I don't have to, right?
ETA: And then I see that his post says nothing about superboot. Am I supposed to do both? Fastboot and then superboot?
And then another question... I plan on getting a 16gb class 6 sd card. Should I wait to do this until I get that? Will I have to do it all over again?
Thanks!!
I am by no means a pro at this, but to answer a a question or 2 of yours...
I never bothered using the SDK. I did download it, but like you, I followed other instructions that did not tell you to use the SDK.
The important part is to put all the downloaded files into your renamed "fastboot" folder, where fastboot will know where to look for it.
Concerning the radio, some ROMS may or may not require different radios, but for the simple process of rooting your phone, I'm pretty sure you're cool.
I used fastboot, but superboot (if I understand it correctly) is a total tool for your use. Someone correct me if I'm wrong, but I believe it takes the place of all the steps you listed above, and does it all in one command.
Good luck! Its easy, and it sounds like you have all the tools you need!
1) I didn't flash a new radio when I rooted mine (didn't for a couple of weeks until I was comfortable with flashing and abd and stuff). The radio is evidently the greatest risk of bricking the phone.
2) I've typically seen "superboot" to refer to a rom image that modaco hosts that includes the superuser perms and apk and not as a tool (as fastboot is referred to). ymmv.

How 2 - ADB, Rooting(reflash), Unrooting, Nandroid, Remove/Install App, roms, kernels

So far, this is going to be a guide for noobs. Please read through this, and ask any questions that you have. This has been compiled from different guides around XDA, and information has been stripped that does not relate to our phones. More will be put up here when I find it, and all credit will be provided. This will be from 'duh' to 'didn't know that'. The idea is to provide a beginning to end explanation: Stock Incredible to Rooted with custom Rom.
Topics so far - ADB, Rooting (reflash), Unrooting, Nandroid, Remove/Install Apps, roms, kernels...
I'M NOT RESPONSIBLE IF YOU BRICK YOUR PHONE DOING ANY OF THIS.... REGARDLESS OF WHY. Yadda, yadda, yadda...
**********At this point, I'm going to ask that you uninstall HTC Sync. Also, please uninstall HTC Driver... (whatever it's called) Nobody likes them (really though, it will mess up a lot of things. You can install them later when all this is done).**********
1) Setting up ADB
ADB stands for Android Development Bridge. It is used by Android developers for programming. For us, it is used to hack into our phones . For our purposes, just know that it is like the cmd (command prompt) that allows us to send commands to our phone. This is extremely useful when we're in the custom recovery
Download the Android SDK from Google: http://developer.android.com/sdk/index.html
Unzip to your desktop
Take the "android-sdk-_**-windows" folder and move it to the root of your hard drive (C:\)
** will change, it is revision of SDK, like "r6"
****The below is not necessary, but is useful sometimes if you just want to run "adb shell" from anywhere without going into the sdk directory****
Right click on My Computer and click properties
Select the Advanced Tab or Advanced System Setting (Vista/Windows 7)
Select Environment Variables...
Press New
For Variable Name type: adb
For Variable Value type: C:\android-sdk-_**-windows\tools
****End of the "This is not necessary thing****
Now, we get USB drivers to work. Some use HTC Sync for drivers, however HTC Sync does not like to play nice with the reflash tool (later on this), so we will use the generic google USB drivers.
1. Run SDK Setup.exe
2. If it gives you any error go to settings and click on "Force http//....."
3. Select usb driver package, let it download and install
4. Some say the below step is not needed, but I did this so I'm posting it
Go to tools folder, and edit "android_winusb.inf" (you can do this by opening it via wordpad). Add the following at the end of the [Google.NTx86] and [Google.NTamd64] blocks:
;HTC Incredible
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C9E
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C9E&MI_01
%SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0C94
Save the file and exit.
5). Plug your phone into PC, when windows asks to install drivers for new found hardware, point the New Hardware Found wizaed to android_winusb.inf that you just edited.
============================================================
2) Preparing your phone for ADB
Go to Settings on your phone
Select Applications
Select Development
Make sure 'USB Debugging' is checked
============================================================
3) Check if your phone is detected by ADB
Open up Command Prompt (Go to run, type in cmd, press enter)
Type in:
cd C:\**your sdk name**\tools (Press Enter)
adb devices (Enter) You should see your device listed
adb shell (Enter) you should see $ in the next line
**After you obtain root**
su (Enter) you should see # in the next line if you are already rooted
**you may need to allow adb shell to run as root. Look at the phone and see if Superuser.apk is asking for your permission to allow adb root access. Click on "Remeber my selection" and select yes.
Now you are all set to run adb commands as root or as a regular user
**Note: for a list of commands that you can type using adb type "adb" in cmd
All Credit for Topics 1 - 3 go to user XDA member nephron. I mostly copied all of his guide, but updated some information on it to make sense for our phones. Also, removed some stuff I didn't see necessary. Please go to the original thread for the G1: http://forum.xda-developers.com/showthread.php?t=532719&highlight=nandroid+guide for a list of further Credits, and for information I've left out. If you like this thread, please donate to HIM
============================================================
4) Rooting your phone - READ THIS WHOLE SECTION BEFORE GOING TO ANY EXTERNAL LINKS PLEASE. At this point, running the UnrEVOked reflash3 tool will root your phone and install a custom recovery. To try to make it really easy to understand, recovery allows you to access your phone to make PERMANENT changes (something we can't do while booted yet), flash custom roms, and save your sorry little @$$ if you do something that you weren't supposed to
Ok, at this point, I'm going to ASSUME that you don't have HTC SYNC installed (or uninstalled it), and that you have the Google USB drivers installed (i.e. you read at least some of this post). The first thing we're going to do is:
1) Read this: http://forum.xda-developers.com/showpost.php?p=6875912&postcount=1
2) If you read #1, you already went here: http://www.unrevoked.com/rootwiki/doku.php?id=public:windows_hboot_driver_install
and downloaded the MODIFIED (i.e. changed, not the same, DON'T SKIP THIS STEP) driver and installed it
3) If you read #1, you already downloaded the reflash tool executable
4) If you read #1, you've already done #2, and 3, and this is just a worthless step of me explaining how important it is that you did #1
5) Lets do this. #1,2,3 and 4 were "get ready" steps. By now, you installed the modified driver, went to the webpage and downloaded the UnrEVOked3 reflash tool. HTC sync is also uninstalled. Plug in your phone (normally booted) to your pc and select "Charge Only" when asked how to connect to PC, and click on "remember my selection". Click Done.
6) Unplug Phone from PC.
6a) If you have double twist installed, at this time open the task manager on your pc, and kill doubletwist.devicehelpder....
7) Run the "reflash_package" executable that you just downloaded. Notice the path that it lists and click "install". This will unzip "reflash.exe" and a bunch of other stuff that is needed to the directory that you just noted. Go to this directory (usually the same one where the executable you just ran is) and run "reflash.exe"
8) Plug in your phone.
9) When the program is finished, you should see koush's clockworkmod recovery on your phone's screen and reflash will say that it's done. Congrats, you have root and a new recovery.
If something went wrong, and you're not on koush's recovery and reflash says it's done, don't worry, just re-run reflash. You can run it as many times as necessary. It will not hurt anything AT THIS TIME (this may change later)
10) Koush's recover works a little differently:
a) Vol+ and - scroll up / down
b) the Power button work as a "Back" button, and will turn off screen if you're at the root of the menu. If your screen goes blank, don't read, just hit Power again
c) To make a selection, click the optical trackpad
11) Reboot your phone by highlighting the selection and choosing it
For the most part, these instructions were written from memory, but all credit goes to UnrEVOked, Shadowmite, and anyone that they've given credit to in original links.
============================================================
5) Unrooting - I didn't want to re-invent the wheel, so I'm posting an external link:
http://androidforums.com/all-things...ideo-howto-unroot-incredible-downgrading.html
Just follow the instructions. Credit goes to the OP. If this link ever goes to a 404, pm me and I will find another link with instructions and update this. Also, if you don't understand something, just ask in this thread, someone will answer (maybe even me ).
============================================================
6) Whats is a Nandroid Backup?
**Using Koush Recovery:
Power takes you "bacK" in menu's. On root of the menu, it will turn on/off screen. Hit Power again to turn it back on.
Vol+/Vol- lets you scroll up/down through menus
Pushing optical trackpad in makes your selection
Nandroid Backup is a tool allowing your Incredible that has koush ClokworkMod Recovery to create a full system backup and restore it, which, when flashing and testing different roms can be very useful.
A) Creating a Backup using Nandroid
Boot up your phone in recovery (Turn off, then turn on while holding Vol- and Power. Press Vol- once to highlight recovery, hit Power once to go into it)
You will now see your new koush recovery
Scroll down (Vol -) to "nandroid" and select it (press the optical button in)
"Backup" will be highlighted. select it
Let it work, it might take a while for a full system backup
Once its done, your backup is complete and is saved on your sdcard in the "clockworkmod" folder. Normally it's stored in the "nandroid" folder, however our Recovery does things a little differently.
B) Recovering to Your Nandroid Backup
Make sure u made a backup and its in the clockworkmod folder on your sdcard
Boot up your phone in recovery (Explained Above)
Go into "nandroid" in the recovery (also explained above)
Select "restore backup" and select from the backups you have (if you have multiple) that you want to restore; this will do a simple, "restore all" of your latest nandroid backup
:OR:
Select "Advanced Restore", choose from the backups that you have on your SD card, and then what you want to restore. You can individually restore "system", "data", "cache", etc....
In "Advanced Restore", i have not seen a way to restore multiple options (cashe AND system, etc...) Koush, am I missing something?
Let it work
Once its done, restore more options through the Advanced Restore menu, or reboot your phone and your selections will now be restored!
============================================================
7) Remove Apps
**Using Koush Recovery:
Power takes you "bacK" in menu's. On root of the menu, it will turn on/off screen. Hit Power again to turn it back on.
Vol+/Vol- lets you scroll up/down through menus
Pushing optical trackpad in makes your selection
1) Go into Clockworkmod Recovery (With phone turned off, Vol - + Power, then Vol - to select recovery, then hit Power)
2) Select "partitions" from menu, then select "mount sytem" You can also "mount sdcard" if you want to back apps up to sdcard
3) Connect Phone to PC
3a) Open a command prompt and navigate to your sdk\tools directory
3b) Type: adb remount (it shoud return successful)
4) Open Adb Shell on your pc (Type: adb shell)
It should automatically show #, otherwise type "su"
Type:
cd /system/app (enter)
5)Type ls (this will show you all of the stuff in the /system/app directory)
6) To "delete" apps, type the following:
/system/bin/mv Your_APP.apk Your_APP.apk.bak (i.e. CityID.apk CityID.apk.bak). If you want to clear up space on your internal storage for whatever reason, you can replace Your_APP.apk.bak with /sdcard/Your_APP.apk.bak (this will move the app to the root of your SD Card instead of just change it's name)
If you don't get errors, you're done.
*This does not delete apps, but changes their file type so they will not show up as an app, in case you want to get them back at any time later you still have them and don't have to frantically post threads on XDA asking for them.
============================================================
8) Install Apps to /system/app
**Using Koush Recovery:
Power takes you "bacK" in menu's. On root of the menu, it will turn on/off screen. Hit Power again to turn it back on.
Vol+/Vol- lets you scroll up/down through menus
Pushing optical trackpad in makes your selection
1) Place your app you want to install into the root of your sd card (this is easiest)
2) Go into Clockworkmod Recovery (Explained in 7)
3) Mount system and sdcard under partitions (Explained in 7)
4) Connect Phone to PC
4a) adb remount in command prompt (should sow successful) (again, in 7)
5) Open Adb Shell on your PC
6)
IF NOT at #, type "su" to go from $ to #.
Type:
/system/bin/mv /sdcard/Your_App_Name.apk /system/app/Your_App_Name.apk
7) If you don't get errors, you're done. You can unplug phone, and reboot
============================================================
9) Flashing Custom Roms
Download a ROM that you want to try. One of the roms from here are a good starting point: http://inc.sodpit.com/. They are mostly stable might get a few random reboots.
Steps:
1. Download Rom of your choice
1a. Right now, there might be two ROM types, a nandroid backup and an update.zip type file. For right now, I recommend sticking with the update.zip kind. These instructions are meant for it, but I just want you to make sure you know which type it is before you try to flash it.
2. Copy and Paste the downloaded file onto sdcard. Make sure it is not in any directory's of SD card, just on the sdcard (the "root" of it).
3. Verify it's there using Astro or some other File Manager just to be safe.
4. Download and Run Titanium Backup from the Market if you haven't already. (If you don't have it, get it, it's must have for root users.)
a. Select Menu, Batch, Backup user apps. (in Titanium Backup)
b. let it run, this will take some time.
5. When that's done open your command prompt, navigate to your sdk\tools directory, and type "adb reboot recovery" (Not within adb shell, but in command prompt in that directory. I'm not going to explain how to do this because it's already explained above. Also, if you're flashing roms then you're already familiar with it, or maybe you shouldn't be flashing roms ).
6. Do "Wipe data/factory reset" and "wipe cache partition" in Recovery **This WILL WIPE your phone**
7. Select "install zip from sdcard", then select "choose zip from sdcard", then select the name of the zip you want to install.
8. When that's done reboot your phone, once your done setting up all the settings, download titanium backup from the market again, and set that up.
9. In Titanium, Select Menu, Batch, Restore User apps.
After that's done you'll have all your apps that you had before, data included, with a fresh new rom to try out. Hope this helps!!
All credit for these instructions goes to tcbert2010, they were suggested to me, and I liked them. I modified them a BIT, so they make more sense to me and hopefully to you. See post #2 in Original Thread = http://forum.xda-developers.com/showthread.php?p=6953608#post6953608
============================================================
10) Installing custom kernels
I'm only mentioning Hydra's kernels. I'm running the Undervolted, NOT overclocked kernel with wireless N to preserve my battery to get more life out of it
**Taken from website's FAQ**
Q: So how do I install the kernel?
A: First step is to either download the kernel zip file straight to your phone, or download it onto your computer and put it on the sdcard of your phone. Next you turn the phone off hold volume down and power at the same time. When the phone is in HBOOT wait a few seconds for it to initialize then hit volume down once and then power to boot into Clockwork recovery. Once in clockwork recovery you want to select "Install zip from sdcard", then "Choose zip from sdcard". You will now see a listing of files on your sdcard select the kernel zip you downloaded, or if you downloaded strait to your phone go to the Downloads folder and select the kernel zip file. The kernel will now install to the phone and once it's done it will say install complete. Now you can hit the power button once to return to main menu and select "reboot system now" . Your phone will now reboot with the new kernel.
***
Go to: http://hydrakernel.net/ to download the kernels
Please read: http://hydrakernel.net/faq.htm to educate yourself. It's worth it.
Credit to EJHEART for the wonderful kernels! Where are my 2.2 kernels EJ ?
============================================================
Again, if you have suggestions, requests, or whatever please post or PM me.
PM Me if I missed giving someone credit. PLEASE!!!
reserved
reserved for future.
Reserved
reserved for future
Great thread topic... reserved for future use
Updated
Updated with Reflash instructions.
dreamersipaq said:
Help I'm stuck at waiting for system to settle
check these common issues:
- You switched your driver to the one from this post? It's NOT identical to the SDK one.
- You don't have any usb applications that might be taking focus while we are working with the phone right?
- Is the SD card present in the device?
- You did give su permenent access when you allowed it in superuser right?
More to come...
Click to expand...
Click to collapse
Good start, iPaq! I just want to plug Linux AGAIN. I had zero problems using reflash for linux and using Gparted in Ubuntu/Debian/Linux Mint mint means one can do all kinds of things that will become helpful very soon if not already (e.g., manipulate ext and swap partitions on the sdacard!). Aside from linux being Android's native file system, using a Linux distro just makes 110% good sense if you plan to do any developing for the DI/Android. Why poeple struggle so much with Windows when Linux is free is beyond me
2 cents deposited!
Additional items to add
1) After I have rooted and reflashed - How do I flash new ROMs
2) After I have rooted and reflashed - Is there an easier way to get back in and get rid of CityID, etc?
3) How do I update to a later version of ClockworkMod
Great topic
Sent from my ADR6300 using XDA App
...
jdmba said:
1) After I have rooted and reflashed - How do I flash new ROMs
2) After I have rooted and reflashed - Is there an easier way to get back in and get rid of CityID, etc?
3) How do I update to a later version of ClockworkMod
Click to expand...
Click to collapse
1) - Will update soon
2) - I BELIEVE that this works:
1) Go into Clockworkmod Recovery
2) Mount Internal Storage under partitions
3) Connect Phone to PC
4) Open Adb Shell on your pc
Type:
su (will change to #)
cd /system/app
mv CityID.apk CityID.apk.bak
you're done.
Not in front of my phone at this sec, but if mv does not work, try
busybox mv CityID.apk CityID.apk.bak or
/system/bin/mv CityID.apk CityID.apk.bak
*This does not delete it, but changes the file type so it will not show up as an add, in case you want to get it back at any time later.
If I'm wrong please correct me.
3) The easiest way to update recovery at this time is through Koush's Rom Manager. However, at this time I've read somewhere that it's not persistent. Let's give this a few days.
Updated
First Post Updated.
here is my problem, apparently when I got root I didn't push superuser.apk as a system app correctly.
SO, I have root in the OS after each boot, once I install superuser.apk.
Problem is, I can't get back in recovery to fix this. I have gotten into recovery with ADB again (maybe twice in the 2000 times I have tried again), but when I get to the step where you do the update and push the zip file at the same time, it never works now. So I am unable to push the apk as a system file.
So, the unrevoked recovery flash fails because it doesn't have su rights when it gets to the os on reboot.
Anyone want to help me out?
qwho said:
here is my problem, apparently when I got root I didn't push superuser.apk as a system app correctly.
SO, I have root in the OS after each boot, once I install superuser.apk.
Problem is, I can't get back in recovery to fix this. I have gotten into recovery with ADB again (maybe twice in the 2000 times I have tried again), but when I get to the step where you do the update and push the zip file at the same time, it never works now. So I am unable to push the apk as a system file.
So, the unrevoked recovery flash fails because it doesn't have su rights when it gets to the os on reboot.
Anyone want to help me out?
Click to expand...
Click to collapse
Take this opportunity to flash up to HBOOT 79, wipe, and re-root. Start fresh. Re-reflash w/unrevoked2. Alles in Ordnung! At least, that solved all of my problems. Start with the big headache to avoid later headaches. Once you have a nandroid of a "proper" root, you'll never have to do the annoying initial root again.
So you can get HBOOT 79 how? by flashing the latest HTC rom RUU?
qwho said:
So you can get HBOOT 79 how? by flashing the latest HTC rom RUU?
Click to expand...
Click to collapse
Exactly. Doing will wipe out all userdata, everything not stored online, on your card, or on internal disk. It's really the best way to go, to start fresh and remove all the little variable piecemeal rooting has placed in your path to date.
can you point me to the RUU you would use? I did some searching, here and at htc.com, and I couldn't find an RUU anywhere.
qwho said:
can you point me to the RUU you would use? I did some searching, here and at htc.com, and I couldn't find an RUU anywhere.
Click to expand...
Click to collapse
Just down this, run it in Windoze, and before it tries to flash (you don't need your DI connected!), go into your AppData/temp directory, find the ~142mb rom.zip file, rename it to PB31IMG.zip, put it on /sdcard root directory, boot into bootloader, let the card/file get picked up while holding down-volume, ok the flash, no need to ok the reboot, then boot into to recovery and proceed with adb shell/rooting process one
I've been having some trouble with the nandroid step, and creating a backup. I've done everything listed prior to that with success, but when I load into recovery I don't see the option to create a nandroid backup. I have also dl'ed RomManager and have tried to create backups through that.
I also dl'ed the unrevoked reflash and tried running that, but that also fails. I'm not really sure what I'm doing wrong, so any help wold be appreciated!
sanchagrins said:
I've been having some trouble with the nandroid step, and creating a backup. I've done everything listed prior to that with success, but when I load into recovery I don't see the option to create a nandroid backup. I have also dl'ed RomManager and have tried to create backups through that.
I also dl'ed the unrevoked reflash and tried running that, but that also fails. I'm not really sure what I'm doing wrong, so any help wold be appreciated!
Click to expand...
Click to collapse
Not sure what you mean. Go into Hboot, and select recovery. When Koush's recovery loads, use Vol- to highlight "nandroid". Click the optical button in, and you'll enter another menu. Select the first option, which should be highlighted by default, which should be "Create Backup" or "Backup Device" or something like that.
Let me know if that works.
When I go into recovery the only options I get are:
Reboot System now
Apply sdcard: update.zip
Wipe data/factory reset
Wipe Cache partition
----------------------------------
E:Can't open /cache/recovery/command
Click to expand...
Click to collapse
I'm not seeing anything about nandroid backup. I'm assuming I'm either not doing something correctly (I'm currently not booting into recovery while running reflash.exe) or somehow the clockworkmod isn't correctly installed.
Any ideas? Or what other information could I give you to help better answer my question?
sanchagrins said:
When I go into recovery the only options I get are:
I'm not seeing anything about nandroid backup. I'm assuming I'm either not doing something correctly (I'm currently not booting into recovery while running reflash.exe) or somehow the clockworkmod isn't correctly installed.
Any ideas? Or what other information could I give you to help better answer my question?
Click to expand...
Click to collapse
You can't install anything to recovery that will stick until you get root via procedure 1, then reflash with unrevoked 2. Sounds to me like you've gotten ahead of yourself

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.

INSTALLATION GUIDE FOR ANY ROM FOR AGS-XXX (Mediapad T5)

Hello there. Hope this helps!
FIRST OF ALL, this WILL VOID your waranty. Read the steps BEFORE doing anything
ALSO PLEASE READ THE NOTES AT THE BELOW POST.
UNLOCK BOOTLOADER: It's not "easy" at all (You'll have to open your tab).
Go to device info on tab settings.
Press compilation number for several times until "you're a dev" message appears (It'll prolly ask your pattern/password to continue).
Go to dev options and enable OEM unlocking.
Shut down the tab.
Download PotatoNV sofware from here. (Credits to mashed-potatoes)
Download minimal adb and fastboot from here.
Prepare your environment:
Open your tablet
Grab a clip or a cable
Keep your cool
Follow the steps shown here. KEEP THE GENERATED CODE. This will avoid you from opening again the tablet in the case you have to do a downgrade. The way to unlock it again is writting
Code:
"fastboot oem unlock <code>"
at fastboot mode.
Here you have an image of where the testpoint is.
FLASH TWRP INTO THE TAB:
Follow CAREFULLY this steps:
Shut down the tab
Connect the tab to the PC and hold vol- & pwr button.
Now it'll appear a white screen with some text. If it appears "OEM unlock" in green, then everything's fine. IF NOT, follow unlock bootloader steps again. Then try rebooting into fastboot mode again (vol- & pwr).
Download Pretoriano80 .5 version TWRP from here.
Open Minimal ADB and Fastboot and write this:
"fastboot flash recovery_ramdisk path_of_twrp.img"
It should appear everything OK.
Type "fastboot reboot"
Fastly disconnect the tab from PC and hold vol+ & pwr button before Huawei logo appears (if it appears, just do a hard reboot (hold pwr button) and try again (just hold vol+ and pwr, no need to go back to fastboot).
You're now booting into TWRP!
RESOURCE DOWNLOAD
DOWNLOADING UNTESTED ROMS MAY LEAD TO MAJOR ERRORS
All HI6250 ROMs are "compatible" in some way, wouldn't recommend to install unless proven
A list with all tested and proven to work ROMs can be found here
Download any ROM you want from the above link. The list will be increasing with the time
Download the data decrypter from the MEGA folder (you can also find the link in the ROM list)
(OPTIONAL) you can download gapps. You can also download the version worked for me (little outdated) at the same MEGA link and update them later at the PlayStore.
(OPTIONAL) You can download Magisk from the "ZIPS" folder at the Mega link. GENERIC MAGISKS MAY (99%) NOT WORK ON THE GSIS.
PREPARATION STEPS
Boot into TWRP (vol- & pwr buttons while tab is off)
Don't make system Read Only (Just swipe the first window). This will lead you to a multiple choice menu
Head to INSTALL and select the decryter you will have in a SD card.
Swipe to confirm installation
Go again to main menu and head to WIPE and select "Format data option".
Type "yes" on the keyboard and press enter.
Then go to main menu and head to REBOOT>RECOVERY
If a message appears saying you to install TWRP app, just decline it.
Once in TWRP again, head to WIPE>ADVANCED WIPE and select dalvink/art cache, cache, data and system.
MARKING OTHER THAN THIS OPTIONS WILL LEAD TO AN IMPORTANT ERROR.
Return to main menu
THERE ARE 2 WAYS TO INSTALL A ROM:
1 -- VIA FASTBOOT:
Reboot your tab into fastboot mode (vol- & pwr buttons while connected to PC)
Open minimal adb and fastboot and type:
Code:
fastboot flash system <path_of_rom>.img
Now, wait... (Sparse header file error it's normal)
Once it has finished, type: "fastboot reboot" and disconnect from PC
2 -- VIA TWRP:
Once in TWRP head to INSTALL, press the "install image file" button.
Now head to the route where the .img file of the ROM is.
Select it, in the multiple choice menu select "SYSTEM IMAGE" and swipe to confirm installation.
Once finished, reboot to ROM or continue with the steps in order to get Google or Root working.

Categories

Resources