[HOW TO](gaining root)unlock,downgrade,and achieve s-off with htcDev
apparently updates have made zergrush outdated,and the older unrevoked finicky,at best.
after some thots on the matter,i have decided to declare the original thread([How To] Root 2.3.4/downgrade and Get S-off) outdated.
since the visual affects of htcdev can be removed after s-off,and most incredibles dont have any factory warranty left anyway, i feel the following method is prolly the most reliable way to root your inc 1 running the latest version of gingerbread,at this time.
first a couple words about htcdev:
-it does technically void "all or parts of your warranty." please be well aware of this.
-htcdev only unlocks boot,recovery and system. it is NOT a full unlock,or s-off,by any means.
-it does NOT allow the boot partition to be written from recovery. kernels must be flashed as PB31IMG files,or using the "fastboot flash" command. i.e.,flashing roms and restoring nandroids is much more of a PITA
-due to being s-on,you cannot change radios,hboots,or go backwards in firmware versions.
in short- s-off is way better. nuff said. on to the info.
WARNING! htcdev unlock WILL wipe your personal data. be prepaired for this.
this is a guide to unlock,root,downgrade,and s-off using htcdev
first,some credits:
-first and foremost,the good folks at htc for listening to customers and implementing their unlock program,even for older devices
*alpharev and unrevoked for all they for the root community
-iowabowtech for point me in the direction of this thread that i collected the misc image,and parts of the guide. also for his support answering questions.
-sele and the crew in the "rescue squad" on the thunderbolt forum for what i like to call the "mini-adb" concept.
-whomever origianlly came up with the images and guide linked above. if i can figure out who this was,ill add you in later.
-zamkat for testing the forever patch with the 1.02 htcdev hboot in this thread
i do not have a mac,and can offer little to no mac specific support,but there is a copy of the session from a mac user in this post that may be of help.
the basic steps will be:
1)unlock with htcdev
2)flash recovery
3)flash superuser root files.
4)rewrite the misc image with adb and downgrade to froyo
5)re-unlock htcdev hboot
6)re-flash recovery
7)re-flash superuser root files and flash unrevoked's "forever" s-off patch
first thing you need is drivers for adb to see your phone. if you have htc sync installed,you should allready have drivers. if not,you can install htc sync,or install these modified htc drivers from revolutionary (driver mirror)
most guides simply say "follow the directions to unlock with htcdev" but im gonna go thru it with ya the mini-adb-inc.zip file is all the files that htcdev is telling you to download and put into a folder,so allready this should be a lil easier
1)prepair ADB
-unzip your mini-adb-inc.zip file. this is native funtionality in windows 7. you otherwise may need a utility such as "7-zip" to extract,or unzip it. place the unzipped folder onto the root of your C\ drive on your PC(sorry, you mac guys will need to develop this for yourself,i dont have a mac). root means the top level,not inside any folders. so just copy and paste,or drag and drop the folder onto C with everything else that is there. you actually can call it whatver you want,but directions from here forward will assume this folder to be named "miniadb_inc"
-open a command window. on windows 7,click the start bubble in the lower left and type "command" in the search box. xp i believe is similar or the same. doing this should open a small black command window.
-change to your miniadb_inc directory. type the following at the prompt in your cmd window:
cd c:\miniadb_inc
your command promt should change to "c:\miniadb_inc>" provided you: 1)unzipped the miniadb_inc zip 2)put the folder on your c drive 3)didnt change the name
-now make sure usb debugging is checked in settings/apps/development,and plug your phone into your PC with a usb cable. select charge only mode on the phone.
-make sure your phone is being recognized- type:
adb devices
if your drivers are installed correctly,this should return your phones serial number. you should hear the "found device" noises when you plug your phone in. if it starts installing drivers,wait for it to finish before typing the adb devices command.
2)unlock using htcdev
-go to HTCdev - Unlock Bootloader and sign in to your account. chose "htc droid incredible" from the "select your device bar" and click the green "begin unlock bootloader" button underneath. note the "*" wich means you will need to update your hboot in order to unlock.
-click yes to procede,then read the warnings before checking the boxes and clicking yes to continue,as they are basically explaining that your warranty is now void,and any repairs that your phone needs that may have been a result of unlocking your bootloader and messing with your phones operating system may no longer be covered under mfgr warranty
*check your hboot screen. if you allready have hboots 1.02.0000,or 1.07.0000 then skip ahead to the next step,you dont need this. if you have hboot 0.92.0000,then download the RUU for the new hboot. right click it,and run as administrator. plug in your phone when prompted to. it will ugrade your 0.92.0000 hboot to the htcdev unlock 1.02.0000 hboot.
-steps 1-4 are describing how to get your phone into bootloader mode and connect it to your PC,wich we have done above. ignore these steps and simply type in your cmd window:
adb reboot bootloader
it may take several seconds,but this command should boot your phone into the "fastboot" screen wich is white with a bunch of colored writing. once this happens,make sure your phone is still being seen in fastboot. type:
fastboot devices
again,this should return your phones serial number.
-click the green procede to step 5 bubble.
-steps 5-7 are telling you how to find the files and utilities inside your mini-adb folder. you have them,so ignore steps 5-7.
-click the green procede to step 8 bubble.
-heres where steps are important,steps 8-10 are telling you how to get your unlock token,and send it to htc. its phone specific(so they prolly know your serial number,meid,etc) so no,you cant use your buddys unlock token and not have htc know that youve unlocked your bootloader. copy this line either from below,or from step 8,and paste it into the prompt in your cmd window. you have to right click to paste in cmd,you cannot control/v :
fastboot oem get_identifier_token
-after yuo hit enter,you will get a bunch of letters that are your identifier token. not much i can say,other than follow the directions in steps 9 and 10 to copy and submit your identifier token to HTC. make sure you get the characters as shown in the pic,with no extra lines or letters. note that you can also hit the "enter" key on your PC to copy,as well as right clicking.
-click the green submit button. wait patiently for an email containing your unlock code. (dont worry,it should come pretty fast )
-save the unlock_code.bin that htc sends you directly to your miniadb_inc folder
folder(if your PC automatically downloads somewhere else,no biggie. just move the unlock code to miniadb_inc)
-click the link in your email to get the rest of the unlock instructions
-step 12 is where the magic happens copy from below,or from htc dev:
fastboot flash unlocktoken Unlock_code.bin
-youll see the purdy screen pictured in step 13. use the vol rocker to chose "yes unlock bootloader" and select it with the power button. your phone will reboot,performaing a factory data reset in the process. your data is gone,sorry this boot may take a bit longer than they normally do,dont freak out this is normal .
*special note: do NOT remove unlock_code.bin from miniadb_inc. we will use it again to reunlock in froyo
2)flash recovery
-enable usb debugging once again,as above. open a cmd window,if its not still open from unlocking.
-if you had to re-open a cmd window,dont forget to change back to your miniadb_inc directory:
cd c:\miniadb_inc
-make sure youre connected by typing:
adb devices
-should return serial number
-check the md5 of your recovery image:
md5sums recovery-clockwork-5.0.2.0-inc.img
**make sure the resulting md5 matches: ea382ca5809cb872d0582aa22741d592
-boot to bootloader:
adb reboot bootloader
-check for connectivity:
fastboot devices
-should return serial number
-permanently flash your recovery to phones recovery partition:
-youll see a (really fast) green status bar on the top right as your PC sends the recovery to your phone,then a (really,really fast) red bar as it flashes it. you now have clockwork recovery installed on your phone.
fastboot reboot
-your phone will reboot
3)flash superuser root files*
there is not much to explain with this one.
*note that clockwork menu options are selected on the original inc with the optic trackpad-thingy. pressing power will take you back a menu,or to the hat if youre on the main menu. this is a common source of conusion.
1)place superuser 3.07 onto the root of your sd card.
2)enter recovery via the hboot menu(power off,power on while holding vol down. once in hboot,wait for green writing to flash,then select recovery with power button and vol rocker)
3)use the recovery menu on your phone to:
-make a backup of your stock,unrooted rom. completely optional,but a very good idea,IMO.
-wipe cache
-wipe dalvik cache(youll find this in the "advanced" menu)
-install zip from sd card(chose your superuser file)
-reboot
*congratulations,youre rooted at this point,you could enjoy root with htcdev. however,i strongly reccomend to continue with the downgrade. again,htcdev is a PITA,s-off is way better
4)rewrite the misc image with adb and downgrade to froyo
-make sure your phone is charged to 100% before starting.
-take the froyo PB31IMG,and place it into your miniadb_inc folder
-open a cmd window,as above
-make sure phone is plugged in and usb debugging checked on,in charge only mode
-at the promt in your command window:
cd c:\miniadb_inc this should change your command promt to "miniadb_inc",indicating youre using that directory. adb devices this should output your phones serial number,indicating its recognized
md5sums mtd0.img it should output a few things.at the end you should see this number 34307be744275f1db1dd16af04c37839
md5sums flash_image again,it will output some things,then you should see this number: 0098a7dd6600b55fac34fc6645be5d7a
md5sums PB31IMG.zip this is a big file,and will take a couple minutes to check,so be patient- its prolly not hung. it should output 31bb1611a0fa8197d447c0438426717e
*those numbers must match exactly. if they do then you can procede.
adb shell your prompt should change to a #. if it changes to a $,then type su note your phone may pop up a message asking you to allow permissions the first time you do this. if it does check "always" and touch "allow" on the superuser request on the phone screen.
cd /data/local chmod 0755 /data/local/flash_image
cd /data/local ./flash_image misc /sdcard/mtd0.img
you can now downgrade back to 2.2,so you can flash the "unrevoked forever patch" in recovery to regain s-off
exit to get out of your adb shell,and back to the "mini-adb_inc" prompt
adb reboot bootloader this will boot your phone to "fastboot"
fastboot getvar mainver this will tell you if you have successfully re-written your misc image. if you see anything other than 1.22.605.2,then start over at step 4,and try again.
fastboot oem lock relocks your bootloader. you only need to enter the command and relock if your hboot is still unlocked when you get to this point. mine was allready relocked when i got to fastboot,so i did NOT need this step. again,if you are allready relocked then you can skip this command.i left the command in place just in case it works differently for others.
fastboot erase cache
fastboot oem rebootRUU this will put your phone in RUU mode
fastboot flash zip PB31IMG.zip this should flash your downgrade zip file
-when the phone finished flashing the downgrade:
fastboot reboot
*when your phone reboots,you should be in froyo (if it does not fully boot,factory reset in hboot)
5)re-unlock htcdev hboot
-open a cmd window
-once again,enable usb debugging,plug in your phone
like the first time,on your phone select yes to unlock.your phone will reboot.
6)re-flash recovery
-enable usb debugging once again,as above. open a cmd window,if its not still open from unlocking.
-if you had to re-open a cmd window,dont forget to change back to your miniadb_inc directory:
cd c:\miniadb_inc
-make sure youre connected by typing:
adb devices
-should return serial number
-check the md5 of your recovery image:
md5sums recovery-clockwork-5.0.2.0-inc.img
**make sure the resulting md5 matches: ea382ca5809cb872d0582aa22741d592
-boot to bootloader:
adb reboot bootloader
-check for connectivity:
fastboot devices
-should return serial number
-permanently flash your recovery to phones recovery partition:
-youll see a (really fast) green status bar on the top right as your PC sends the recovery to your phone,then a (really,really fast) red bar as it flashes it. you now have clockwork recovery installed on your phone.
fastboot reboot
-your phone will reboot
7)re-flash superuser root files and flash unrevoked's "forever" patch*
there is not much to explain with this one,either.
1)place superuser 3.07(if its not still there from the first time),and unrevokeds "forever" patch onto the root of your sd card
2)enter recovery via the hboot menu(power off,power on while holding vol down. once in hboot,wait for green writing to flash,then select recovery with power button and vol rocker)
3)use the recovery menu on your phone to:
-wipe cache
-wipe dalvik cache
-install zip from sd card(chose your superuser file)
-install zip from sd card(chose your forever file)
-reboot
*congratulations,youre rooted. again. and hopefully now s-off as well. reboot,then go to hboot and verify that you are now S-OFF!
8)Finishing up
1)update hboot/radio.
you can install the following in hboot by renaming PB31IMG,or you can place them in miniadb_inc,and flash them like you did the froyo downgrade(phone in fastboot mode): fastboot devices
fastboot erase cache
fastboot oem rebootRUU
fastboot flash zip zipname.zip
fastboot reboot-bootloader
fastboot reboot
*whatever method you use,make sure to double check the md5s,as a bad hboot or radio flash can and will leave your device unworking and unrecoverable
note:the bootloader may still be in ints previous state when you re-flash it(i.e.,if it was unlocked,it will still be). if you find it to be locked or relocked you can use your original unlock-code.bin to re-unlock it,if you wish. this is optional,but unlocking the bootloader does give you access to a few extra fastboot commands.
2)restore a backup or flash a stock rom with clockwork recovery
*restoring a backup of,or flashing a rom based on 4.08.605.15,is the best way to stop annoying OTA requests. alternatively,many custom roms(especially CM or other AOSP based roms) will block OTAs,there are many to chose from: Droid Incredible Android Development - xda-developers
*links courtesy of sdrawcab25. please keep in mind its a little beyond the scope of this thread to discuss in great detail rom flashing,tethering,bloat removal,or other root related activities. we want to help you,but there is alot of that info out there allready,and adding it here is just making the thread longer and harder for those using the guide to search.
9) FAQ
*ive successfully completed steps 1-4. im rooted and have a recovery,do i really need s-off?
technically you can live with htcdev. it does allow access to boot,system,and recovery,so you can flash roms,with a bit more effort. it can also work if you only want root access to run a couple root only apps and have no interest in any further customization of your phone.
however,s-off offers several distinct advantages:
-the ability to access ALL partitions. you can change splash screens,hboots,and radios
-the ability to go backwards in firmware versions.
-greater options for rescuing a soft-bricked device becasue of the above,and the fact that you can install things that are not signed by htc
-ease of rom flashing. htcdev has limitations and requires extra steps to flsh roms. see this thread for more info on flashing with htcdev unlocked s-on
*i wouldnt have wrote this guide if i did not believe that it is worth the extra time and effort to achieve s-off. in the end it is the user choice what to do,depending on how you want to use the device,your comfort level,and wether the disadvantages can be dealt with.
*do i need to update the radio and hboot?? ive heard a bad flash will brick my phone
it is absolutely true that flashing a corrupt radio or hboot can/will leave you with an unrecoverable,hard bricked device.
however,it is safe as long as you take caution:
-use only files from trusted sources. youll have to decide foryourself if you trust me or not but i dont want to ruin anyones phone,and you will never see me post a link without an md5(intentionally-if i ever forget just ask for it ),and i also will not upload anything i havent flashed on one of my own personal devices to ensure the safety. if theres ever a chance a file or process could damage your device i will not post it.
-mkae sure you check MD5s! this will ensure that the files you have downloaded are not corrupt.
-make sure you charge to 100% before flashing ANY file that contains a radio or hboot,as dieing in the middle of an hboot radio flash is very,very bad!
-handle the device cautiously while flashing. in other words,put it down somewhere it wont fall and dont touch it if the phone falls off your computer desk and becomes unpluged during a fastboot flash,or spits out the battery during any kind of flash,it is again,very,very bad.
if you take the above precautions,you can safely update your radio and hboot,without worry.
i personally feel it is to your advantage to run the newest hboot and radio. the advantages of the newest bootloader may not be apparent,but if there were not improvents,there would not have been a new version. the newer radio will hopefully give you better,stronger,more stable phone and data signals. the radio in the froyo downgrade is old-many versions old,and again,if there were not improvements along the way,the newest software would still contain the same radio
and heres what youll see in your cmd window. note that i did the whole process at one sitting,so i only had to change to the miniadb_inc directory once. red are my inputs,blue are additional comments:
Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Scott>cd c:\miniadb_inc
c:\miniadb_inc>adb devices
List of devices attached
HT117HJ00242 device
c:\miniadb_inc>adb reboot bootloader
c:\miniadb_inc>fastboot devices
HT117HJ00242 fastboot
c:\miniadb_inc>fastboot oem get_identifier_token
... INFO
INFO< Please cut following message >
INFO<<<< Identifier Token Start >>>>
INFO65200481FCA29CD35BEC7DC337DCFA23
INFO71D74C4990C5E0CB5C6782517CFA050A
INFO99ABE5367E9EC9F5ACC1CE72B9A6A727
INFOA30412634D313494698CDFC7299A1F10
INFO8AB672DAB3DD89CA4CCFBB9201B4299F
INFO75043A2C4C5E311A30BF3DA18F103E73
INFOEEDA6977212E64D26B91A9C8D7895AFB
INFOD8AD398966EC1603F9AE177467FCE9CD
INFO4072F0702930148BC22923CBCF3C8925
INFO41B9FD1E6D913668186769E1ABBE877A
INFODD7DABBFB847F79F19665B0EDC6E7C67
INFO9E4426907F319A4E402E10625249A382
INFO325C48A94E2DFFB5F95734AA0BF32D9D
INFOADC2B232D8907982F2BC66DE75B73970
INFO6756674C42BE065E0A5B9FEF5C887E27
INFO5F6EFC9F42D1F543328893E3EC71C7B5
INFO<<<<< Identifier Token End >>>>>
OKAY [ 0.065s]
finished. total time: 0.066s
*submit token to htc. move unlock_code.bin to miniadb_inc folder.
c:\miniadb_inc>fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)... OKAY [ 0.014s]
writing 'unlocktoken'... INFOunlock token check successfully
OKAY [ 0.008s]
finished. total time: 0.022s
*select yes to unlock on phone screen.phone will reboot,doing a factory data reset.
c:\miniadb_inc>adb devices
List of devices attached
HT117HJ00242 device
c:\miniadb_inc>md5sums recovery-clockwork-5.0.2.0-inc.img
MD5sums 1.2 freeware for Win9x/ME/NT/2000/XP+
Copyright (C) 2001-2005 Jem Berkes - http://www.pc-tools.net/
Type md5sums -h for help
[Path] / filename MD5 sum
-------------------------------------------------------------------------------
[c:\miniadb_inc\]
recovery-clockwork-5.0.2.0-inc.img ea382ca5809cb872d0582aa22741d592
c:\miniadb_inc>adb reboot bootloader
c:\miniadb_inc>fastboot devices
HT117HJ00242 fastboot
c:\miniadb_inc>fastboot flash recovery recovery-clockwork-5.0.2.0-inc.img
sending 'recovery' (3064 KB)... OKAY [ 0.422s]
writing 'recovery'... OKAY [ 0.976s]
finished. total time: 1.399s
c:\miniadb_inc>fastboot reboot
rebooting...
finished. total time: 0.098s
*phone reboots*
c:\miniadb_inc>adb devices
List of devices attached
HT117HJ00242 device
c:\miniadb_inc>md5sums mtd0.img
MD5sums 1.2 freeware for Win9x/ME/NT/2000/XP+
Copyright (C) 2001-2005 Jem Berkes - http://www.pc-tools.net/
Type md5sums -h for help
[Path] / filename MD5 sum
-------------------------------------------------------------------------------
[c:\miniadb_inc\]
mtd0.img 34307be744275f1db1dd16af04c37839
c:\miniadb_inc>md5sums flash_image
MD5sums 1.2 freeware for Win9x/ME/NT/2000/XP+
Copyright (C) 2001-2005 Jem Berkes - http://www.pc-tools.net/
Type md5sums -h for help
[Path] / filename MD5 sum
-------------------------------------------------------------------------------
[c:\miniadb_inc\]
flash_image 0098a7dd6600b55fac34fc6645be5d7a
c:\miniadb_inc>md5sums PB31IMG.zip
MD5sums 1.2 freeware for Win9x/ME/NT/2000/XP+
Copyright (C) 2001-2005 Jem Berkes - http://www.pc-tools.net/
Type md5sums -h for help
[Path] / filename MD5 sum
-------------------------------------------------------------------------------
[c:\miniadb_inc\]
PB31IMG.zip 100% 31bb1611a0fa8197d447c0438426717e
c:\miniadb_inc>adb push flash_image /data/local/
1428 KB/s (76044 bytes in 0.052s)
c:\miniadb_inc>adb push mtd0.img /sdcard/
1120 KB/s (655360 bytes in 0.571s)
c:\miniadb_inc>adb shell
$ su
su
# cd /data/local
cd /data/local
# chmod 0755 /data/local/flash_image
chmod 0755 /data/local/flash_image
# cd /data/local
cd /data/local
# ./flash_image misc /sdcard/mtd0.img
./flash_image misc /sdcard/mtd0.img
# exit
exit
$ exit
exit
c:\miniadb_inc>adb reboot bootloader
c:\miniadb_inc>fastboot getvar mainver
mainver: 1.22.605.2 <--if you dont see this number,something went wrong
finished. total time: -0.000s
c:\miniadb_inc>fastboot erase cache
erasing 'cache'... OKAY [ 0.753s]
finished. total time: 0.754s
c:\miniadb_inc>fastboot oem rebootRUU
... OKAY [ 0.100s]
finished. total time: 0.100s
c:\miniadb_inc>fastboot flash zip PB31IMG.zip
sending 'zip' (176625 KB)... OKAY [ 25.609s]
writing 'zip'... INFOadopting the signature contained in this i
mage...
INFOsignature checking...
INFOzip header checking...
INFOzip info parsing...
INFOchecking model ID...
INFOchecking custom ID...
INFOchecking main version...
INFOstart image[hboot] unzipping for pre-update check...
INFOstart image[hboot] unzipping & flushing...
INFO[RUU]UZ,hboot,0
INFO[RUU]UZ,hboot,100
INFOstart image[radio] unzipping & flushing...
INFO[RUU]UZ,radio,0
INFO[RUU]UZ,radio,9
INFO[RUU]UZ,radio,18
INFO[RUU]UZ,radio,23
INFO[RUU]UZ,radio,32
INFO[RUU]UZ,radio,41
INFO[RUU]UZ,radio,46
INFO[RUU]UZ,radio,51
INFO[RUU]UZ,radio,60
INFO[RUU]UZ,radio,69
INFO[RUU]UZ,radio,78
INFO[RUU]UZ,radio,87
INFO[RUU]UZ,radio,97
INFO[RUU]UZ,radio,100
INFO[RUU]WP,radio,0
INFO[RUU]WP,radio,7
INFO[RUU]WP,radio,16
INFO[RUU]WP,radio,21
INFO[RUU]WP,radio,26
INFO[RUU]WP,radio,35
INFO[RUU]WP,radio,40
INFO[RUU]WP,radio,45
INFO[RUU]WP,radio,50
INFO[RUU]WP,radio,100
INFOstart image[boot] unzipping & flushing...
INFO[RUU]UZ,boot,0
INFO[RUU]UZ,boot,43
INFO[RUU]UZ,boot,83
INFO[RUU]UZ,boot,100
INFO[RUU]WP,boot,0
INFO[RUU]WP,boot,42
INFO[RUU]WP,boot,85
INFO[RUU]WP,boot,100
INFOstart image[recovery] unzipping & flushing...
INFO[RUU]UZ,recovery,0
INFO[RUU]UZ,recovery,20
INFO[RUU]UZ,recovery,43
INFO[RUU]UZ,recovery,73
INFO[RUU]UZ,recovery,99
INFO[RUU]UZ,recovery,100
INFO[RUU]WP,recovery,0
INFO[RUU]WP,recovery,20
INFO[RUU]WP,recovery,40
INFO[RUU]WP,recovery,60
INFO[RUU]WP,recovery,80
INFO[RUU]WP,recovery,100
INFOstart image[system] unzipping & flushing...
INFO[RUU]UZ,system,0
INFO[RUU]UZ,system,6
INFO[RUU]UZ,system,12
INFO[RUU]UZ,system,19
INFO[RUU]UZ,system,25
INFO[RUU]UZ,system,32
INFO[RUU]UZ,system,39
INFO[RUU]UZ,system,45
INFO[RUU]UZ,system,51
INFO[RUU]UZ,system,58
INFO[RUU]UZ,system,64
INFO[RUU]UZ,system,71
INFO[RUU]UZ,system,78
INFO[RUU]UZ,system,84
INFO[RUU]UZ,system,89
INFO[RUU]WP,system,0
INFO[RUU]WP,system,89
INFO[RUU]UZ,system,89
INFO[RUU]UZ,system,89
INFO[RUU]UZ,system,90
INFO[RUU]UZ,system,91
INFO[RUU]UZ,system,92
INFO[RUU]UZ,system,93
INFO[RUU]UZ,system,94
INFO[RUU]UZ,system,94
INFO[RUU]UZ,system,96
INFO[RUU]UZ,system,96
INFO[RUU]UZ,system,97
INFO[RUU]UZ,system,98
INFO[RUU]UZ,system,99
INFO[RUU]UZ,system,100
INFO[RUU]WP,system,89
INFO[RUU]WP,system,89
INFO[RUU]WP,system,90
INFO[RUU]WP,system,91
INFO[RUU]WP,system,92
INFO[RUU]WP,system,93
INFO[RUU]WP,system,94
INFO[RUU]WP,system,94
INFO[RUU]WP,system,95
INFO[RUU]WP,system,96
INFO[RUU]WP,system,97
INFO[RUU]WP,system,98
INFO[RUU]WP,system,99
INFO[RUU]WP,system,100
INFOstart image[sp1] unzipping & flushing...
INFO[RUU]UZ,sp1,0
INFO[RUU]UZ,sp1,100
INFO[RUU]WP,sp1,0
INFO[RUU]WP,sp1,100
OKAY [152.900s]
finished. total time: 178.510s
c:\miniadb_inc>fastboot reboot
rebooting...
finished. total time: 0.098s
*phone reboots*
c:\miniadb_inc>adb devices
List of devices attached
HT117HJ00242 device
c:\miniadb_inc>adb reboot bootloader
c:\miniadb_inc>fastboot devices
HT117HJ00242 fastboot
c:\miniadb_inc>fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)... OKAY [ 0.014s]
writing 'unlocktoken'... INFOunlock token check successfully
OKAY [ 0.005s]
finished. total time: 0.021s
*select yes to unlock on phone screen.phone will reboot,doing a factory data reset.
c:\miniadb_inc>adb devices
List of devices attached
HT117HJ00242 device
c:\miniadb_inc>md5sums recovery-clockwork-5.0.2.0-inc.img
MD5sums 1.2 freeware for Win9x/ME/NT/2000/XP+
Copyright (C) 2001-2005 Jem Berkes - http://www.pc-tools.net/
Type md5sums -h for help
[Path] / filename MD5 sum
-------------------------------------------------------------------------------
[c:\miniadb_inc\]
recovery-clockwork-5.0.2.0-inc.img ea382ca5809cb872d0582aa22741d592
c:\miniadb_inc>adb reboot bootloader
c:\miniadb_inc>fastboot devices
HT117HJ00242 fastboot
c:\miniadb_inc>fastboot flash recovery recovery-clockwork-5.0.2.0-inc.img
sending 'recovery' (3064 KB)... OKAY [ 0.423s]
writing 'recovery'... OKAY [ 0.915s]
finished. total time: 1.340s
c:\miniadb_inc>fastboot reboot
rebooting...
finished. total time: 0.093s
*phone reboots*
__________________
The Delivery Guy
If someone has helped you,please click the THANKS button on that post.
Please post questions so others can benefit from the answers. donate to my device fund
Last edited by scotty85; May 6th, 2013 at 06:09 PM.
The Following 47 Users Say Thank You to scotty85 For This Useful Post:
Holy bejezus! So since I've done pretty much everything already, I skipped ahead (I know, I know...I may regret it) to step 8 as that was the one I was missing. I've been working on this for about 12 hours now (almost 5 straight yesterday and about 4 today) and am growing very impatient.
Anyways, long story short, performing step 8 now gave me s-off! Now, one question, I'm still on the newer hboot version (1.02.0000); should I try and downgrade that? Can I? And if so, how?
Sorry, my mind is a bit mush right now with all the work I've put into this. Everything is all lumped up in my brain and I can't think exactly straight at the moment.
Okay, I thought so. Although I believe after all this, I'm going to have to revert the process. I tried to restore an image I made just the other day with my old device (same type) and it was also rebooting. So I loaded a fresh, base version of the cyanogen mod and it's also still rebooting. I suspect that I have yet another device with bad hardware. This is #3 in a week! Verizon is pissing me off.
OP refined and polished a lil. t got finished going full circle- junk inc was s-off on froyo,so i turned secureflag back on,upgraded to GB,and installed htcdev unlock compatible hboot. went thru the guide to make sure there were no quirks or pitfalls. back to s-off on froyo
The Following User Says Thank You to scotty85 For This Useful Post:
Device(s): T-Mobile G2, Asus Eee Pad Transformer Prime
Carrier: Not Provided
Thanks: 0
Thanked 0 Times in 0 Posts
G2 Issues
Hello Scotty85.
How do I check to ensure I am updated to the newest version of htcdev hboot? I'm almost sure I have, it was on here before I tried, and then how do I downgrade it if I am? Sorry I am confused now. Will the method you posted for the droid incredible work for the G2? It's a new day so I will start up the process again from htcdev's site once you reply.
Hello Scotty85.
How do I check to ensure I am updated to the newest version of htcdev hboot? I'm almost sure I have, it was on here before I tried, and then how do I downgrade it if I am? Sorry I am confused now. Will the method you posted for the droid incredible work for the G2? It's a new day so I will start up the process again from htcdev's site once you reply.
to check any htc device for a compatible unlock hboot,simply boot to hboot by turning the device off,remove the battery for a few seconds,then hold vol down,then power,and hold both until you see a white screen with colored letters. look at the top for a big,pink, locked. you can see it in the pics in the OP. if you dont see this,you have a normal hboot that is not unlockable.
unfortunately,this guide is not compatible with the G2,it contains some incredible-specific files. id poke around on xda inthe g2/desire z android development section: G2 and Desire Z Android Development - xda-developers
Device(s): T-Mobile G2, Asus Eee Pad Transformer Prime
Carrier: Not Provided
Thanks: 0
Thanked 0 Times in 0 Posts
I see. Is it because the G2 has the bootloader that relocks itself once you turn the device off?/ I remember hearing about that when it was launched but I didn't have the device then. I checked to see if my hboot is compatible to be unlocked, and I didn't see the "locked" you were talking about.
Is there any easy way or one-on-one help I can get with this? I really wanna root it and install an ICS ROM but there are always the dangers of bricking it if you mess up. I saw the bottom guide as well, but is there any way I can downgrade the hboot first if it's not "compatible?"
I see. Is it because the G2 has the bootloader that relocks itself once you turn the device off?/ I remember hearing about that when it was launched but I didn't have the device then. I checked to see if my hboot is compatible to be unlocked, and I didn't see the "locked" you were talking about.
Is there any easy way or one-on-one help I can get with this? I really wanna root it and install an ICS ROM but there are always the dangers of bricking it if you mess up. I saw the bottom guide as well, but is there any way I can downgrade the hboot first if it's not "compatible?"
i dont know anything about the g2 bootloader relocking itself. i havent heard that,but it may be true... i dont have a g2 and dont know much about them. this guide wont work simply because there are some incredible-specific files. if a quick,easy s-off root existed for an older firmware,htcdev could be installed and used in a similar manner to this guide to get root and downgrade,but i dont believe that is the best way to skin the cat
the AMT tool looks pretty easy. just download the tool and run it. if you look at the third pic,choose those options when you run it. do not set the tool to install an eng hboot,or flsah a recovery. click the "commit changes" button.
if the tool fails,click the "downgrade rom" button and follow whatever directions it gives you to downgrade. there are some other ruus here you can use for downgrade: FileFactory Folder View - Vision
we dont have a g2 specific section here,but the "vision" is very similar to the dezire Z,so you may want to start a thread here: Desire Z - All Things Root - Android Forums or if youd rather i can move your posts there for you. either way,you may get better advice from folks familiar with your phone. if you start a new thread,pm me the link and i will continue to help you on that thread as best i can. but we do need to stop posting in this one,as the g2 information could be confusing to those using the thread for the incredible.
Hi was wondering if there is a way to do this without using the adb commands. I bricked my inc attempting to flash to boost n now I can't boot past the splash screen. Have access to hboot/fastboot. Bricked on 2.2...ruu to 2.3....ruu agn to unlock bootloader... Problem isn't in the Rom. The phone has been bricked since September n always find myself searching for a fix! Would love to c it come back to life! Would have been fixed if I was s-off... Any insight would b greatly appreciated! Ty.
if youre still on froyo,try and run that first. if it still wont boot,then i believe you could run the GB ruu,and even if the phone wont boot, you can install the unlock compatible hboot,then unlock it and install a recovery. the adb daemon will be running in recovery,so you can complete the adb steps and downgrade,then reunlock and flash the s-off patch.
i.e.,im pretty sure the whole guide above will work,even if the phone wont boot the whole time
granted,s-off in itself isnt going to fix anything,but if youve got messed up partitions/bad blocks im pretty sure you will be able to fix those and get it booting once youve got s-off.
youll just need to enter adb shell mount /data after checking the md5 sums,but before doing the rest of the adb commands. i did it on my phone in the other thread,to make sure it would work:
Code:
c:\mini-adb_inc>adb devices
List of devices attached
HT117HJ00242 recovery
c:\mini-adb_inc>md5sums mtd0.img
MD5sums 1.2 freeware for Win9x/ME/NT/2000/XP+
Copyright (C) 2001-2005 Jem Berkes - http://www.pc-tools.net/
Type md5sums -h for help
[Path] / filename MD5 sum
-------------------------------------------------------------------------------
[c:\mini-adb_inc\]
mtd0.img 34307be744275f1db1dd16af04c37839
c:\mini-adb_inc>md5sums flash_image
MD5sums 1.2 freeware for Win9x/ME/NT/2000/XP+
Copyright (C) 2001-2005 Jem Berkes - http://www.pc-tools.net/
Type md5sums -h for help
[Path] / filename MD5 sum
-------------------------------------------------------------------------------
[c:\mini-adb_inc\]
flash_image 0098a7dd6600b55fac34fc6645be5d7a
c:\mini-adb_inc>adb shell mount /data
c:\mini-adb_inc>adb push flash_image /data/local/
1485 KB/s (76044 bytes in 0.050s)
c:\mini-adb_inc>adb push mtd0.img /sdcard/
1939 KB/s (655360 bytes in 0.330s)
c:\mini-adb_inc>adb shell
/ # cd /data/local
cd /data/local
/data/local # chmod 0755 /data/local/flash_image
chmod 0755 /data/local/flash_image
/data/local # cd /data/local
cd /data/local
/data/local # ./flash_image misc /sdcard/mtd0.img
./flash_image misc /sdcard/mtd0.img
/data/local # exit
exit
Last edited by scotty85; May 6th, 2012 at 09:18 PM.
Thanks for the reply. I cannot boot to anything except hboot. Amon ra is on the phone now but won't boot to it.... The fix for s-off devices flashes dthe misc IMG via fastboot which I cannot do because of s-on. I've done a lot. Bricked it on 2.2 and ran every ruu to the latest one. I have a htcdev unlocked bootloader. It's not a need to have this phone but still would b cool for it to get fixed. have already been told I was screwed lol. Soo anyway to change mainver without adb....
Last edited by strive53; May 7th, 2012 at 11:34 AM.
Thanks for the reply. I cannot boot to anything except hboot. Amon ra is on the phone now but won't boot to it.... The fix for s-off devices flashes dthe misc IMG via fastboot which I cannot do because of s-on. I've done a lot. Bricked it on 2.2 and ran every ruu to the latest one. I have a htcdev unlocked bootloader. It's not a need to have this phone but still would b cool for it to get fixed. have already been told I was screwed lol. Soo anyway to change mainver without adb....
You don't need s-off for the fast boot commands to work... you should only need hboot and recovery working to rewrite the misc image and downgrade.
Thanks for the reply. I cannot boot to anything except hboot. Amon ra is on the phone now but won't boot to it.... The fix for s-off devices flashes dthe misc IMG via fastboot which I cannot do because of s-on. I've done a lot. Bricked it on 2.2 and ran every ruu to the latest one. I have a htcdev unlocked bootloader. It's not a need to have this phone but still would b cool for it to get fixed. have already been told I was screwed lol. Soo anyway to change mainver without adb....
are you letting the phone boot fully when you select recovery and it reboots?
you will see the htc splash screen between selecting recovery,and recovery popping up,so if youre pulling the battery immediately when you see the splash,it may be that you just arnet giving the phone long enuff.
if the phone is booting up all the way,skip past the setup,enable usb debugging again,plug in the phone,and in your cmd window type "adb reboot recovery" and see if the phone boots to clockwork.
did you double check the md5 of your recovery image before flashing it?
are you letting the phone boot fully when you select recovery and it reboots?
you will see the htc splash screen between selecting recovery,and recovery popping up,so if youre pulling the battery immediately when you see the splash,it may be that you just arnet giving the phone long enuff.
if the phone is booting up all the way,skip past the setup,enable usb debugging again,plug in the phone,and in your cmd window type "adb reboot recovery" and see if the phone boots to clockwork.
did you double check the md5 of your recovery image before flashing it?
I did check the md5. It is possible that I did not wait long enough on the reboot,
I went and redid the flash of recovery followed by fastboot reboot. This time it rebooted into normal mode quickly, didn't go through setup and usb debugging was still enabled.
I tried the adb reboot recovery and it does boot into clockworkmod. However, no matter which menu item I select and then press the power button it clears the screen brightens up the tophat/circle and just sits there. If I press power it goes back to the blue clockwork menu. Even the reboot menu item does this.
I presume If I take out the battery it will go back to a normal boot.
I did check the md5. It is possible that I did not wait long enough on the reboot,
I went and redid the flash of recovery followed by fastboot reboot. This time it rebooted into normal mode quickly, didn't go through setup and usb debugging was still enabled.
I tried the adb reboot recovery and it does boot into clockworkmod. However, no matter which menu item I select and then press the power button it clears the screen brightens up the tophat/circle and just sits there. If I press power it goes back to the blue clockwork menu. Even the reboot menu item does this.
I presume If I take out the battery it will go back to a normal boot.
Press the trackball, NOT the power button in clockwork
The Following 2 Users Say Thank You to sdrawkcab25 For This Useful Post:
Hi thanks for this thread evrything went perfect booted froyo then applied step #5 htcdevice re-unlock boot and now froyo is stuck on reboot can get into hboot and says unlocked at the top but miniadp_inc doesn't see device! help
update: did a factory reset from hboot and it fixed reboot problem still on froyo 2.2 and unlocked! think now I can proceed to step 6 wish me luck.
Last edited by mtrott; July 1st, 2012 at 02:18 PM.
Reason: update
The Following User Says Thank You to mtrott For This Useful Post:
Hi thanks for this thread evrything went perfect booted froyo then applied step #5 htcdevice re-unlock boot and now froyo is stuck on reboot can get into hboot and says unlocked at the top but miniadp_inc doesn't see device! help
update: did a factory reset from hboot and it fixed reboot problem still on froyo 2.2 and unlocked! think now I can proceed to step 6 wish me luck.
It's mine Thank-you I tried 4 or 5 different methods this is the only one that worked Unlocked S-off on a s-lcd
Thanks
The Following User Says Thank You to mtrott For This Useful Post:
so I'm on step 4, and am trying to put the PB31IMG.zip into the command prompt. however each time I do that, it says it is unable to read the file. I've gotten the other md5 sums to work, just not this one, so I think there might be something wrong with the file? also, every time I go to extract the pb31img file, it says it is invalid.
hope someone can help
EDIT:
I figured that part out, but now when I go to put in adb push mtd0.img /sdcard/ it tells me there is no space left on device.. should I clear my sdcard or something? little confused as to how to proceed here.
2nd edit: haha figured it out with a little tinkering. thanks for this walkthrough!
So today I tried to root my wife's incredible and I am currently stuck. Following the method in this post I got all the way to step 3 without any errors and everything was going smooth. When I powered off and tried to get into the hboot menu I was unable (powering up while holding down volume) and it just boots up like normal. Via my cmd window I booted into hboot using the adb reboot bootloader command am I am able to boot into the bootloader then head to clockwork recovery. From there when I select do a backup, wipe cache, or even power down I just get the hat with the orange circle around it and it just sits there. Anybody got any clue?
Would like to add that I have rooted many, many TBs and flashed many, many ROMs so I know a tiny bit about doing this, just kind of stuck atm.
So today I tried to root my wife's incredible and I am currently stuck. Following the method in this post I got all the way to step 3 without any errors and everything was going smooth. When I powered off and tried to get into the hboot menu I was unable (powering up while holding down volume) and it just boots up like normal. Via my cmd window I booted into hboot using the adb reboot bootloader command am I am able to boot into the bootloader then head to clockwork recovery. From there when I select do a backup, wipe cache, or even power down I just get the hat with the orange circle around it and it just sits there. Anybody got any clue?
Would like to add that I have rooted many, many TBs and flashed many, many ROMs so I know a tiny bit about doing this, just kind of stuck atm.
NM, upon reading its trackball not the power button
Guide worked like a champ and my wife is now enjoying her fresh CM7 ROM install! Thanks for putting that together.
On a side note the reason for the root and new ROM was that she kept getting a low on space error on stock even though she had a TON of room on internal and SD memory. Anybody else ever ran into that before?
Hi Scotty, finally giving this a try tonight. Unfortunately didn't get very far. Started with Step #5 as you recommended earlier today. Here's the result:
~~~~~~~~~~~~~
C:\Android>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
C:\Android>adb reboot bootloader
error: device not found
OK so I managed to get past my last issue -- it now recognizes my device when I type "adb devices". However, after going into FASTBOOT and typing "fastboot devices" it no longer finds my device anymore. I've looked at similar issues/threads on here but they were for the Rezound -- I'm not sure if they're OK for the DInc too? Any next steps I should try?
OK so everything's working great so far. Made it to Step #7 using the miniadb_inc drivers. Only problem is that there's no option to wipe the dalvik cache. Will that be a problem?
**nevermind -- found it under Advanced**
Last edited by ronchito; July 10th, 2012 at 08:21 PM.
OK, I'm now rooted, unlocked, and S-OFF. Sweet! Final question: since I'm still in Android 2.2, how do I get myself back onto 2.3.4 (or at least some stable version of Gingerbread)?
OK, I'm now rooted, unlocked, and S-OFF. Sweet! Final question: since I'm still in Android 2.2, how do I get myself back onto 2.3.4 (or at least some stable version of Gingerbread)?
congratulations
at this point,you can run an ruu,or you can simply flash gingerbread custom rom.
i would prolly recomend the custom rom route,as those roms should have the low space fix built in.
if you do decide to simply flash a rom,may want to consider flashing the GB radio as a PB31IMG,to get yourself back onto the most current radio
Awesome -- thanks so much for this! So when you flash a radio, do you use the same method (via Recovery, install .zip on SDcard, etc) that I use for the custom ROM?
Also, I flashed a custom ROM and it worked successfully but I'm getting the automatic System Update notification. Will I continue to get that or is there a way to disable it?
PB31IMG files are installed in hboot,not recovery. so download,check md5,rename PB31IMG(if its named something else),place on root of sd card and boot to hboot(power/vol down from powered off). the phone will find PB31IMG and ask you to update.
allternately,you can flash it from fastboot with the fastboot oem rebootRUU and fastboot flash zip commands,as described in the first post(to flash the froyo downgrade). this may seem a lil more confusing,but does save having to move files on and off the sd card,and leaves sd card format and proper file name out of the equation
First off thank you alot scotty. I seem to be facing one problem however. Everything works until i get to the adb shell and it doesnt become a #, so i type in su and everytime is sais permission denied and nothing pops up on my phone. I do have superuser, but my phone is not rooted because i checked on root check basic but i did use the htcdev. can you help me out? thanks
okay now i have everything done rooted and everything..so then i downloaded rom manager and downloaded and installes a rom call cyanogen 7.2..and when i turn my phone on it goes to the white droid incredible screen, then to a black screen with a droid guy with a little circle rotating around it and it is just replaying that over and over again for the past 30 min...what should i do or can i remove it from the recovery mode?