how to flash pd98img.zip through adb

adilrenzu

Senior Member
Feb 27, 2011
1,003
578
113
Riyadh
Anybody know if its poissible to flash the Stock pd98img.zip by using adb shell, i want to return to stock but my volume up key isnt working so is there any way that i can use the adb instead of my volume up key:confused:
 
  • Like
Reactions: davevo

glevitan

Senior Member
Nov 8, 2011
3,285
1,229
0
43
Buenos Aires
www.arreviewers.com
Anybody know if its poissible to flash the Stock pd98img.zip by using adb shell, i want to return to stock but my volume up key isnt working so is there any way that i can use the adb instead of my volume up key:confused:
  1. plug the phone in fastboot, you should see fastboot usb in red.
  2. Open a cmd as admin or terminal as root in the pc
  3. type: fastboot oem rebootRUU (you will get a black splash with silver htc)
  4. fastboot flash zip "nameoffile.zip" (no quation marks)
  5. Once it is done (it says OKAY. finished in the CMD session)
  6. fastboot reboot

Make sure that u are in the same folder (in CMD) where the zip file is...This will only be feasible for a RUU...not a rom. It also works for radios and CWM recovery....:good:
 

fefetron

Senior Member
Oct 12, 2012
71
4
0
Hermosillo
  1. plug the phone in fastboot, you should see fastboot usb in red.
  2. Open a cmd as admin or terminal as root in the pc
  3. type: fastboot oem rebootRUU (you will get a black splash with silver htc)
  4. fastboot flash zip "nameoffile.zip" (no quation marks)
  5. Once it is done (it says OKAY. finished in the CMD session)
  6. fastboot reboot

Make sure that u are in the same folder (in CMD) where the zip file is...This will only be feasible for a RUU...not a rom. It also works for radios and CWM recovery....:good:
Hey there, im in this part of the process. Right now is in writing "ZIP"... since around 1 hour. it is normal? how long it will take?

Thank you
 

uphall

Senior Member
May 1, 2011
230
54
0
  1. plug the phone in fastboot, you should see fastboot usb in red.
  2. Open a cmd as admin or terminal as root in the pc
  3. type: fastboot oem rebootRUU (you will get a black splash with silver htc)
  4. fastboot flash zip "nameoffile.zip" (no quation marks)
  5. Once it is done (it says OKAY. finished in the CMD session)
  6. fastboot reboot

Make sure that u are in the same folder (in CMD) where the zip file is...This will only be feasible for a RUU...not a rom. It also works for radios and CWM recovery....:good:
Many thanks!

I too had this boot problem on a bad flash through the Hack Kit
(my fault by the way). From power on it took 20 mins to get to the first white HTC screen . Then a further 10 mins to start normal boot.

Apart from the LONG boot, everything worked perfectly. Using TermEm I could boot into bootloader and recovery. The rom, IceColdSandwich worked perfectly in every respect but the corrupted boot was doing my head in.

Using your tutorial, I managed to flash the correct bootloader and now all is good.

hboot before was 0.85.2007
hboot after is 0.85.0024

Sorry if this is a long post but I think it is worth it. Here is a log of the fastboot process:

F:\Android\DHD\Bootloader Image\Fastboot>adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
HT11BRX11244 device

F:\Android\DHD\Bootloader Image\Fastboot>fastboot oem rebootRUU
... OKAY [ 0.375s]
finished. total time: 0.376s

F:\Android\DHD\Bootloader Image\Fastboot>fastboot flash zip PD98IMG.zip
< waiting for device >
sending 'zip' (227 KB)... OKAY [ 0.056s]
writing 'zip'... INFOzip header checking...
INFOzip info parsing...
INFOchecking model ID...
INFOstart image[hboot] unzipping & flushing...
INFO[RUU]UZ,hboot,0
INFO[RUU]UZ,hboot,100
INFO[RUU]WP,hboot,0
INFO[RUU]WP,hboot,100
OKAY [6586.776s]
finished. total time: 6586.834s

F:\Android\DHD\Bootloader Image\Fastboot>fastboot reboot
rebooting...
finished. total time: 8.532s

F:\Android\DHD\Bootloader Image\Fastboot>

I have to say that the timings, because of the LONG boot, are completely wrong, . I was tempted to pull the plug on a number of occasions but I gave myself a talking to and went for a coffee.

The whole process took about 2 hours and I am now the delighted owner of a normal booting DHD.

To anyone who wants to attempt this procedure, the watchword is patience. Whenever you think nothing is happening, DO NOTHING!
The different stages will eventually happen just as laid out as per Glevitan. Good luck with your attempt.

Once again, many thanks.

Edit: Just an afterthought, at one stage Windows had a failed attempt at installing usb drivers that ended up as an 'Unknown Device'. Just ignore it and keep going.
 
Last edited:

Eggcake

Senior Member
Apr 5, 2010
725
105
0
Edit: I just tried again and it worked, nevermind!

Just fyi: if you get an error after flashing the ZIP, just flash it again.
 
Last edited:

iCavem4n

Member
Oct 17, 2016
8
4
0
Thanks! This was helpful.
  1. plug the phone in fastboot, you should see fastboot usb in red.
  2. Open a cmd as admin or terminal as root in the pc
  3. type: fastboot oem rebootRUU (you will get a black splash with silver htc)
  4. fastboot flash zip "nameoffile.zip" (no quation marks)
  5. Once it is done (it says OKAY. finished in the CMD session)
  6. fastboot reboot

Make sure that u are in the same folder (in CMD) where the zip file is...This will only be feasible for a RUU...not a rom. It also works for radios and CWM recovery....:good:
 
  • Like
Reactions: glevitan