1. Download our Official Android App: Forums for Android!

Root Please help restore Desire HD

Discussion in 'Android Devices' started by pyrius, Aug 8, 2013.

  1. pyrius

    pyrius Lurker
    Thread Starter
    Rank:
    None
    Points:
    6
    Posts:
    4
    Joined:
    Aug 8, 2013

    Aug 8, 2013
    4
    2
    6
    I have Desire HD.
    Unlocked boot loader via official site.

    ACE PVT SHIP S-ON RL
    HBOOT -2.00.029
    MICROP-0438
    RADIO-26.14.04.28_M
    eMMC-boot
    Dec 22 2011

    Installed recovery-clockwork-2.5.1.2-ace-modaco-r2.img

    output of ./fastboot
    $ ./fastboot getvar all
    (bootloader) version: 0.5
    (bootloader) version-bootloader: 2.00.0029
    (bootloader) version-baseband: 26.14.04.28_M
    (bootloader) version-cpld: None
    (bootloader) version-microp: 0438
    (bootloader) version-main: 3.13.0.0

    (bootloader) product: ace
    (bootloader) platform: HBOOT-7230
    (bootloader) modelid: PD9810000
    (bootloader) cidnum: HTC__A07

    (bootloader) boot-mode: FASTBOOT
    (bootloader) commitno-bootloader: fcef1579
    (bootloader) hbootpreupdate: 11
    (bootloader) gencheckpt: 0
    (bootloader) region-id: 0


    I've tried to run RUU - but cannot find any with version higher than 3.13.0.0 for Desire HD

    Tried to run aahk-29102011, received following output:

    Input Selection and press ENTER :
    1
    2345 KB/s (4359771 bytes in 1.815s)
    /sbin/sh: pm: not found
    1705 KB/s (19240 bytes in 0.011s)
    2276 KB/s (4564992 bytes in 1.958s)
    2185 KB/s (3686400 bytes in 1.646s)
    1408 KB/s (15837 bytes in 0.010s)
    1149 KB/s (13968 bytes in 0.011s)
    2095 KB/s (557962 bytes in 0.259s)
    1061 KB/s (9796 bytes in 0.009s)
    1959 KB/s (134401 bytes in 0.066s)
    Android version is Froyo... using psnueter temproot...
    /sbin/sh: /data/local/tmp/goldcard: not found
    dd: can't open '/data/local/tmp/goldcard.img': No such file or directory
    /sbin/sh: /data/local/tmp/misc_version: not found
    Starting update process....
    ERROR: could not get pipe properties
    erasing 'cache'...
    OKAY [ 0.183s]
    finished. total time: 0.183s
    Be patient - sending update ...
    ERROR: could not get pipe properties
    sending 'zip' (18223 KB)...
    OKAY [ 3.064s]
    writing 'zip'...
    (bootloader) adopting the signature contained in this image...
    (bootloader) zip header checking...
    (bootloader) zip info parsing...
    FAILED (remote: 99 unknown fail)
    finished. total time: 8.713s
    ERROR: could not get pipe properties
    rebooting...

    finished. total time: 0.171s
    Radio downgrade complete - starting next process - please be patient...
    major abra-cadabra going on, please be patient.....

    ************* Downgrade failed *************
    ** Either:
    ** Goldcard failed
    ** USB connections are not working 100%
    ************* Downgrade failed *************

    tried another version of aahk - aahk-11092012:

    -n Input Selection and press ENTER :
    1
    2286 KB/s (4359771 bytes in 1.862s)
    /sbin/sh: pm: not found
    1868 KB/s (19240 bytes in 0.010s)
    2178 KB/s (4564992 bytes in 2.046s)
    2265 KB/s (3737600 bytes in 1.611s)
    2311 KB/s (572752 bytes in 0.242s)
    1679 KB/s (13968 bytes in 0.008s)
    2240 KB/s (557962 bytes in 0.243s)
    1633 KB/s (9796 bytes in 0.005s)
    2012 KB/s (134401 bytes in 0.065s)
    Android version is Froyo... using psnueter temproot...
    property service neutered.
    killing adbd. (should restart in a second or two)
    ************* PROBLEM PROBLEM PROBLEM ************
    ** SD card is either damaged or not mounted.
    ** Are you sure Charge Only mode is DEFAULT
    ** and not just switched on? READ THE EFFEN MANUAL
    ************* PROBLEM PROBLEM PROBLEM ************


    -n **************** PRESS ENTER ****************
    major abra-cadabra going on, please be patient.....
    mmap() failed. Operation not permitted
    /sbin/sh: /data/local/tmp/gfree: not found
    Error opening copy file.
    ^^^^^^^^^^^^^^^^^^^^^^^^
    I- NORMAL ERROR HERE -I
    /sbin/sh: /data/local/tmp/flash_image: not found
    Checking adb connection....
    mount: mounting /dev/block/mmcblk0p25 on /system failed: Invalid argument
    mount: mounting /dev/block/mmcblk0p26 on /data failed: Invalid argument
    /sbin/sh: /data/local/tmp/gfree: not found
    /sbin/sh: /data/local/tmp/flash_image: not found
    /sbin/sh: /data/local/tmp/flash_image: not found
    cp: can't stat '/data/local/tmp/bcm4329-www.ko': No such file or directory
    push: tools/afr/system/app/Superuser.apk -> /system/app/Superuser.apk
    push: tools/afr/system/bin/su -> /system/bin/su
    2 files pushed. 0 files skipped.
    2652 KB/s (609587 bytes in 0.224s)
    /system/bin/su



    S-OFF, ROOT and Clockworkmod recovery complete



    Be patient - installing updated radio and AAHK ENG hboot...
    Starting update process....
    ERROR: could not get pipe properties
    erasing 'cache'...
    OKAY [ 0.183s]
    finished. total time: 0.183s
    Be patient - sending update ...
    ERROR: could not get pipe properties
    sending 'zip' (253421 KB)...
    OKAY [ 42.379s]
    writing 'zip'...
    (bootloader) adopting the signature contained in this image...
    (bootloader) zip header checking...
    (bootloader) zip info parsing...
    FAILED (remote: 99 unknown fail)
    finished. total time: 48.040s
    ERROR: could not get pipe properties
    rebooting...

    finished. total time: 0.165s


    Please advice what can I do to recover the phone
    SD card replaced, usb cable is native.
    Thanks in advance
     

    Advertisement

  2. scotty85

    scotty85 Extreme Android User
    Rank:
    None
    Points:
    1,413
    Posts:
    11,131
    Joined:
    Jul 25, 2010

    Jul 25, 2010
    11,131
    7,411
    1,413
    the aahk will not work! there is no support,and the links have all been removed. the program can no longer access the files it needs.

    if your phone is not booting,youll need to flash a rom and boot image,or run an ruu.

    there have been a fair amount of similar posts lately,as folks do not understand that s-on rom flashing is different.

    start reading at this post,and it should help you restore your device: http://androidforums.com/desire-hd-...ion-cant-parsing-pd98img-zip.html#post6024894
     
    pyrius and D-U-R-X like this.
  3. pyrius

    pyrius Lurker
    Thread Starter
    Rank:
    None
    Points:
    6
    Posts:
    4
    Joined:
    Aug 8, 2013

    Aug 8, 2013
    4
    2
    6
    Thank you Scotty
    I've lowered the version with the ZIP file
    (bootloader) version-main: 1.00.000.0

    But I do not have a spare android phone to make a goldcard.
    I've downloaded RUU - RUU_Ace_Gingerbread_S_HTC_WWE_2.36.405.8_R_Radio_12.54.60.25_26.09.04.11_M2_release_187331_signed
    Tried to run it - but with no success.
    RUU says that it upgrades to newer version.
    But at the point "Sending... " and then "Updating a signature" - if I understand well it sends image to the phone it gives an error:
    Error [155] - "during image upgrade"


    RUU logs shows following:

    <T145654><DEBUG><CMD>fastboot devices</CMD>
    </DEBUG></T145654>
    <T145655><DEBUG><OUT>HT0CKRX03792 fastboot</OUT>
    </DEBUG></T145655>
    <T145655><DEBUG><CMD>fastboot -s HT0CKRX03792 getvar boot-mode</CMD>
    </DEBUG></T145655>
    <T145656><DEBUG><OUT>boot-mode: RUU</OUT>
    </DEBUG></T145656>
    <T145656><DEBUG><CMD>fastboot -s HT0CKRX03792 erase cache</CMD>
    </DEBUG></T145656>
    <T145657><DEBUG><OUT>erasing 'cache'... OKAY</OUT>
    </DEBUG></T145657>
    <T145657><DEBUG><CMD>fastboot -s HT0CKRX03792 flash zip C:\Users\User\AppData\Local\Temp\{95ABEFB6-4DCF-5510-ADEB-63EEAE2DA00F}\{502A3878-112A-6A6E-22CB-544C2456764B}\rom.zip</CMD>
    </DEBUG></T145657>
    <T145742><DEBUG><OUT>sending 'zip' (252341 KB)... OKAY</OUT>
    </DEBUG></T145742>
    <T145742><DEBUG><OUT>writing 'zip'... INFOadopting the signature contained in this image...</OUT>
    </DEBUG></T145742>

    <T145747><DEBUG><OUT>INFOzip header checking...</OUT>
    </DEBUG></T145747>
    <T145747><DEBUG><OUT>INFOzip info parsing...</OUT>
    </DEBUG></T145747>
    <T145747><DEBUG><OUT>FAILED (remote: 99 unknown fail)</OUT>
    </DEBUG></T145747>

    <T145931><DEBUG>strPath = C:\Program Files (x86)\HTC\HTC Sync 3.0\
    </DEBUG></T145931>
    <T145931><DEBUG><CMD>adb kill-server</CMD>
    </DEBUG></T145931>
    <T145932><DEBUG><OUT />
    </DEBUG></T145932>
     
  4. scotty85

    scotty85 Extreme Android User
    Rank:
    None
    Points:
    1,413
    Posts:
    11,131
    Joined:
    Jul 25, 2010

    Jul 25, 2010
    11,131
    7,411
    1,413
    error 155 is usually solved by starting the utility with the phone in fastboot instead of the booted OS. failing that,you can extract rom.zip from the utility in this manner:
    rom.zip can be renamed PD98IMG and flashed from a FAT32 sd card in hboot,or flashed via fastboot and ruu mode in this manner:
    the x.xx.405.x ruus should be compatible with your CID,so if youve successfully lowered your main version,you should have no trouble getting one to run. if you want to use a 2.xx rom,be careful not to flash a froyo rom unless you are 100% certain your device SHIPPED with froyo. installing froyo on a device shipped with GB jams you up quite miserably,possibly unrecoverably :eek:

    as long as you stick with the x.xx.405.x ruus,you dont need the goldcard. :)
     
    D-U-R-X and pyrius like this.
  5. pyrius

    pyrius Lurker
    Thread Starter
    Rank:
    None
    Points:
    6
    Posts:
    4
    Joined:
    Aug 8, 2013

    Aug 8, 2013
    4
    2
    6
    Thank you very much. You're amazing. It's alive! :)

    I have relocked the phone and followed the steps and was able to recover the phone.
    Android version 2.3.3
    HTC sense 2.1

    Can you please advice a good way now to upgrade it to Android 4.1 or 4.2 if possible?
    Something which won't make a brick this time :)
    Thank you.
     
  6. scotty85

    scotty85 Extreme Android User
    Rank:
    None
    Points:
    1,413
    Posts:
    11,131
    Joined:
    Jul 25, 2010

    Jul 25, 2010
    11,131
    7,411
    1,413
    youll just have to install a 4.2 based rom. :)

    you can follow this guide to unlock the bootloader:
    http://androidforums.com/desire-hd-...-how-unlock-install-recovery-root-htcdev.html

    technically it is possible to flash roms while s-on,but its a more involved process,as the kernels(boot.img) must be installed manually. if you choose to stay s on,youll need to use this guide to flash roms(its for the rezound,but the basic prinicple applies): http://androidforums.com/rezound-all-things-root/499172-how-manually-flash-roms.html#post3933400

    my recomendation would prolly be to unlock the bootloader,then use the following guide to become s off and superCID: http://androidforums.com/desire-hd-...-s-off-simunlock-supercid-inspire-4g-dhd.html

    once you are s off,recovery can install the kernel,and rom flashing is easy.

    just holler if you have questions :)
     
    pyrius and D-U-R-X like this.
  7. pyrius

    pyrius Lurker
    Thread Starter
    Rank:
    None
    Points:
    6
    Posts:
    4
    Joined:
    Aug 8, 2013

    Aug 8, 2013
    4
    2
    6
    Thank you very much Scotty
    Everything went perfect- I've got S-OFF
    Now can I just follow the guide from the link below to install CM10.1 :
    http://forum.xda-developers.com/showthread.php?t=2073992
    --Install ClockworkMod Recovery.
    --Do a NANDroid backup of your current ROM from backup/restore menu.
    --Wipe Data/Factory Reset & Wipe cache partition
    --Flash CyanogenMod Rom .Zip file.
    --Install Gapps package.
    --Reboot!

    Will "Install from zip" be enough - or I will need to flash something in addition?
    Thank you
     
    D-U-R-X and scotty85 like this.
  8. scotty85

    scotty85 Extreme Android User
    Rank:
    None
    Points:
    1,413
    Posts:
    11,131
    Joined:
    Jul 25, 2010

    Jul 25, 2010
    11,131
    7,411
    1,413
    yup! thats all you need to do now that youre s off :cool: glad it went without a hitch :D
     

Share This Page

Loading...