Hi,
I had an issue with my phone and the motherboard had to be replaced with my permaroot fading. So I decided to root it again, as I have done that earlier, however, I got stuck as I (obviously) made a mistake on the way.
I tried to follow multiple guides, so there might be a combination of all (links below).
Current state:
Phone is Desire Z, however, it has a ROM for T-Mobile G2 (I have probably followed bad guide or downloaded bad file - that seems to be the clutch problem).
According to bootloader:
VISION PVT SHIP S-ON
HBOOT - 0.82.0000
MICROP - 0425
RADIO - 26.02.01.15_M2
eMMC - boot
Now my target is to flash it with Audacity b5 as I had that before. Not sure however what I need to do now.. When bootloading (I guess I have a correct stock ROM this time) it says "Lack of heap!", which (as I found out) probably is the result of having G2 ROM on my Desire Z.
My question is therefore how to get a stock DZ ROM instead of this G2 thing back on my phone?
Tried to follow these guides (and maybe found some more information here and there, but those are the main)
http://forum.xda-developers.com/showthread.php?t=1178912 - cant get past temp root step 7 - none of those intervals doesnt work
http://forum.xda-developers.com/wik...sion#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD - Command in part 2 adb shell chmod 755 /data/local/tmp/* throws an error "Unable to chmod /data/local/tmp/sh: Operation not permitted"
http://forum.xda-developers.com/showthread.php?t=905261 with these exceptions http://forum.xda-developers.com/showpost.php?p=15825944&postcount=27
http://forum.xda-developers.com/showthread.php?t=1453066 - fr3evo problem above
Thanks, any help appreciated - I know this problem is caused by my own failure, but I hope you can help a newbie out.
EDIT: found out I am able to get a temporary root with this:
adb push psneuter /data/local/tmp
adb push misc_version /data/local/tmp
adb shell
chmod 777 /data/local/tmp/psneuter
chmod 777 /data/local/tmp/misc_version
/data/local/tmp/psneuter
but I am unable to flash a stock rom as the bootloader still says "Lack of heap!"
2nd EDIT: I finally rooted and installed the requested ROM. All I needed was few more hours and a little use of my obviously tiny brain.
For possible future use, here is how I managed to solve the problem.
I followed this guide http://wiki.cyanogenmod.com/wiki/HTC_Desire_Z:_Firmware_Downgrade_(Froyo) and after step 6 combined with this guide http://wiki.cyanogenmod.com/wiki/TMobile_G2:_Rooting allowing me to first get there relevant hboot version for Desire Z (should be 84.2000). Then I permrooted and installed stock Desire Z ROM. It somehow did not run, but allowed me to enter Clockwork mod recovery through bootloader / fastboot / factory reset and installing my current custom ROM directly through here.
Sorry for spamming, I hope this helps someone else save some time solving the issue.
Thank you so much
I can't put into words how useful this was. I was in the exact same position, and I never thought that my hboot could be the issue.
Related
Hi there im a beginner user so pls bare with me,
In Feb i became the proud owner of a Desire HD running Froyo 2.2 which was working perfectly, then i applied the OTA firmware update which screwed up my GPS's ability to get a lock. To fix this i read numerous forums and what i did was downgraded back to the original firmware my phone came with 1.32.405.3 and also used ADB to change the /system/etc/gps.conf file from reading:
NTP_SERVER=north-america.pool.ntp.org
to
NTP_SERVER=nz.pool.ntp.org
.....as i live in New Zealand..........I did this by copy the file /system/etc/gps.conf from my phone to my computer changed the code and used the following adb code in command prompt to push my updated gps.conf file back into the /system/etc/ folder in my phone:
adb devices
adb push psneuter /data/local/tmp
adb push misc_version /data/local/tmp
adb shell chmod 777 /data/local/tmp/psneuter
adb shell chmod 777 /data/local/tmp/misc_version
adb shell /data/local/tmp/psneuter
adb shell mount -o remount,rw /dev/block/mmcblk0p25 /system
adb push gps.conf /system/etc/gps.conf
adb shell mount -o remount,ro /dev/block/mmcblk0p25 /system
exit
After that i was delighted to see that my GPS started working again but what i had discovered was that when i restarted my phone the first line of code in the gps.conf file reverts back to NTP_SERVER=north-america.pool.ntp.org which means my GPS doesn't get a lock again so i then manually do the process i mentioned above to change North.America to NZ, this process isnt a big hassle but more an inconvenience and was thinking there has got to be a way to change the loading script or something like that so that every time my phone restarts the code reads NZ.
So in essence i am trying to find out if anyone knows a way to make the first line of code in the gps.conf file read NZ i/o North.America everytime i restart my phone WITHOUT ROOTING IT (personal preference)......there must be a way to temp root using adb then change the code within the boot image or script however it works im not sure.....?
Your help is much appreciated
Hi HakaWaka
You have to root it if you wanna make it easier. (That's one of the advantages of rooting)
You can use Visionary+ to temproot and permroot your Desire HD. However, even if you wish to just temproot it, after you change your ntp server, no matter what if you reboot your phone it will be back to normal. (i.e. it will be back to north-america) I tried it before, thats why i know.
If you permroot it, it will be easier. Once you permroot it, just install FasterFix. Downloadable from Market. And from there, change your ntp server, it is just that simple though. Changes will remain no matter how many times you reboot your phone.
Cheers mate.
Thanks superstick1!
I've tried using Visionary+ to temproot but it starts to load then shows a white screen indicating that it's jammed so im worried to do a permaroot and screw the phone up :S.
Anyone know a safe and sure way to root the DHD?
HakaWaka said:
Anyone know a safe and sure way to root the DHD?
Click to expand...
Click to collapse
There are lots of guides linked in the sticky at the top of the Development forum that go into step by step details. But if you're on 1.32.405.6 then Visionary should work. I noticed you said 1.32.405.3 in your first post, was that a typo or are you on the Vodafone RUU? If you are I would switch to 1.32.405.6 and try again.
I just double checked and nope it was no typo firmware = 1.32.405.3. I might try switching to .6 and try Visionary again...
Cher cher
Hello guys,
Before posting, I did try/read/search how to get to a Cyanogen 7.1 on my Desire HD.
I have tried following these two guides:
here http://driphter.com/index.php?topic=3867.0
and here http://forum.xda-developers.com/showthread.php?t=905003&page=222
1) I have built a GoldCard because the device is ORANGE branded
2) I have copied the PD98IMG.zip onto the GoldCard...
In the first case, following the driphter tools, the device undergoes the Loading PD98IMG.zip but goes back to the same boot screen, never reboots. Terminal Emulator CANNOT get su
In the second case, I can go through all steps of ADB. When I do it the first time, I get a $ at the end. As soon as I repeat the *same* procedure, at the end of
Code:
adb push misc_version /data/local/tmp
adb push fre3vo /data/local/tmp
adb shell chmod 777 /data/local/tmp/fre3vo
adb shell chmod 777 /data/local/tmp/misc_version
adb shell
./data/local/tmp/fre3vo -debug -start FBB00000 -end FFFFFFFF
I get #
Now, here is where I am lost: as soon as I get # using the method above, I follow instructions to reboot. When I attempt SU in Terminal Emulator, I still cannot get it.
Final target for me is CyanogenMod 7.1 + radios + RIL but so far this has been VERY tough, and I am quite comfortable with a lunux command line
I am 99% certain that the problem is something wrong I do, but cannot post in the original thread (newbie), so I am hopeful that someone can help here.
GOT IT (what did I do wrong)
Hello guys,
I managed to get CM7.1. on my device.
I made several errors along the way, which I only realized when I started over following WORDforWORD what is in the guides.
So, my mistakes (hopefully you avoid):
1. Buy a dongle and plug your microSD as a drive - trying to use your phone as a reader/dongle is a 50/50 disaster.
2. Build a GoldCard - even if just as a precaution, build it - third time is a charm, at least for me it was;
3. Be patient and follow METICULOUSLY what is in the guides - God, I am not sure this can be stressed enough. Simple letter or a slash omission and you need to start over. Practice makes perfect, I tell you that
I am now on the next step - radio+RIL but cannot find a guide which would allow me to do both. Could someone please recommend a decent HOWTO which explains how to do both Radio+RIL?
Thanks
:crying:
I got HTC Desire HD with Gingerbread 2.3.3. I wasnt able to get the complete details (my fault) before downgrading.
I have downgraded it to Froyo (2.2) and after that it is taking more than 5 minutes to Start up with too long vibration and everytime I tried to insert the sim card it switched off and another more than 5 minutes of waiting.
I cannot run RRU and even go to volume down and power switch area (or they call it HBOOT).
I don't know what to do now.
Please help :crying:
Try to pull battery before trying to boot with volume down.
And you it seems that you have messed your bootloader. Was your phone shipped with gingerbread?
This guide should fix it.
Try it with this latest HTC Desire HD RUU .
Wacco001 said:
RUU Update - Flashing Android RUU Update Using HBoot
- First you need the RUU.exe that you intend to install.
- Run the RUU as Administrator.
- Tick the 'I understand the caution indicated above...' box, and click next.
- At this point do not go any further!
- Navigate to C:\Users\xxxxx\AppData\Local\Temp (xxxxx is your user name , and ... AppData is a hidden folder)
- You should see one or two folders like this example: {E328FA5C-81C2-4B70-96AE-D5418A9A5B75}
- Go into the folder with "dotnetinstaller.exe".
- Open the next folder. (like this example: {50F2F878-636A-496F-A7CB-544C067E0C4B}
- Copy "rom.zip" into another folder (outside of temp).
- At this point just Cancel and quit the ROM Update Utility.
- Rename the "rom.zip" to "PD98IMG.zip" and put it on to the root directory of your MicroSD card in your phone.
- Shut down the phone.
- Press the Power button + Volume down button at the same time and hold them untill you get to HBOOT (white screen with skateboarding android).
- Wait for the HBOOT to parse the zip file.
- Follow the on-screen instructions and boot into newly flashed device.
Click to expand...
Click to collapse
RE:
Hi
And you it seems that you have messed your bootloader. Was your phone shipped with gingerbread?
I'm really not sure if this unit was shipped with gingerbread because we only got this as pre-owned from a shop.
The volume down + power button is not working for me anymore.
I have tried the RRU with no luck, but I will try the steps that you have provided.
Thank you so much!
Report back white wherever success or failure you encounter and we'll see further
pongklang said:
:crying:
I got HTC Desire HD with Gingerbread 2.3.3. I wasnt able to get the complete details (my fault) before downgrading.
I have downgraded it to Froyo (2.2) and after that it is taking more than 5 minutes to Start up with too long vibration and everytime I tried to insert the sim card it switched off and another more than 5 minutes of waiting.
I cannot run RRU and even go to volume down and power switch area (or they call it HBOOT).
I don't know what to do now.
Please help :crying:
Click to expand...
Click to collapse
You messed up the bootloader, it happened to me just a few days ago. You need to flash an original hboot.ng0 through adb.
RE:
Muikkuman said:
Report back white wherever success or failure you encounter and we'll see further
Click to expand...
Click to collapse
Sure I will. As of the moment the phone is with my friend. I haven't done the steps since she is still trying to use the |slow boot HTC DESIRE HD Froyo".
I still wanted to fix it and I will do it as soon as I got it back.
Thanks again
pongklang said:
Sure I will. As of the moment the phone is with my friend. I haven't done the steps since she is still trying to use the |slow boot HTC DESIRE HD Froyo".
I still wanted to fix it and I will do it as soon as I got it back.
Thanks again
Click to expand...
Click to collapse
Check the guide in my signature, you have the hboot fix there. It does not work always, but it is worth a try. Don't try to flash a RUU with the hboot in that state or you might brick your device.
hi
glevitan said:
Check the guide in my signature, you have the hboot fix there. It does not work always, but it is worth a try. Don't try to flash a RUU with the hboot in that state or you might brick your device.
Click to expand...
Click to collapse
Please give me the specific link. Thank you so much.
pongklang said:
Please give me the specific link. Thank you so much.
Click to expand...
Click to collapse
Here you are: http://forum.xda-developers.com/showpost.php?p=30020025&postcount=7
You need basic knowledge of adb commands. If you are already S-OFF, then you can skip steps and start in line 15. Hope you can fix it....if you need further help, just let me know. Regards; :good:
Happiness
I was able to resolved my issue. What I did is follow the steps that I've got online/though I know that we also have this on this forum:
md5sum hboot.nb0
adb push hboot.nb0 /data/local/tmp/
adb push gfree /data/local/tmp/
adb push psneuter /data/local/tmp/
adb shell chmod 0755 /data/local/tmp/gfree
adb shell chmod 0755 /data/local/tmp/psneuter
adb shell /data/local/tmp/psneuter
adb shell /data/local/tmp/gfree -f
adb shell
dd if=/data/local/tmp/hboot.nb0 of=/dev/block/mmcblk0p18
dd if=/dev/block/mmcblk0p18 of=/data/local/tmp/hboot.test
sync
exit
adb pull /data/local/tmp/hboot.test
md5sum hboot.test
All md5sums should be 2a28dcd53ea26504be9a86572a348aa1
adb reboot
After that the phone restarted got white HTC screen and then it fades. I got scared cause I thought that I did something wrong again.
I swithced it off and press the volume and power button and got on the hboot screen. I tried to restore and everything with no luck just the phone went black screen.
Oh my head aches :cyclops:
I put the file that I have downloaded online RUU_Ace_Sense30_S_HTC_WWE_3.12.405.1_Radio_12.65.60.29_26.14.04.28_M_release_225512_signed.zip and rename it PD98IMG.zip then again restarted my phone to hboot and successfully updated the PHONE.
Oh My! My phone comes back on 2.3.5 Android!
I'm so happy! Thank you so much! Very much appreciated!
Now how can I root and s-off this android version so I can install custom firmware
pongklang said:
I was able to resolved my issue. What I did is follow the steps that I've got online/though I know that we also have this on this forum:
md5sum hboot.nb0
adb push hboot.nb0 /data/local/tmp/
adb push gfree /data/local/tmp/
adb push psneuter /data/local/tmp/
adb shell chmod 0755 /data/local/tmp/gfree
adb shell chmod 0755 /data/local/tmp/psneuter
adb shell /data/local/tmp/psneuter
adb shell /data/local/tmp/gfree -f
adb shell
dd if=/data/local/tmp/hboot.nb0 of=/dev/block/mmcblk0p18
dd if=/dev/block/mmcblk0p18 of=/data/local/tmp/hboot.test
sync
exit
adb pull /data/local/tmp/hboot.test
md5sum hboot.test
All md5sums should be 2a28dcd53ea26504be9a86572a348aa1
adb reboot
After that the phone restarted got white HTC screen and then it fades. I got scared cause I thought that I did something wrong again.
I swithced it off and press the volume and power button and got on the hboot screen. I tried to restore and everything with no luck just the phone went black screen.
Oh my head aches :cyclops:
I put the file that I have downloaded online RUU_Ace_Sense30_S_HTC_WWE_3.12.405.1_Radio_12.65.60.29_26.14.04.28_M_release_225512_signed.zip and rename it PD98IMG.zip then again restarted my phone to hboot and successfully updated the PHONE.
Oh My! My phone comes back on 2.3.5 Android!
I'm so happy! Thank you so much! Very much appreciated!
Now how can I root and s-off this android version so I can install custom firmware
Click to expand...
Click to collapse
The fix you provide is incomplete....I would suggest you remove it. The complete fix is in the guide I linked you.
If you are already S-OFF, then you just need to flash a custom rom and you are ready to go. Otherwise, you need to use the Hack Kit to achive S-OFF and root.
pongklang said:
I was able to resolved my issue. What I did is follow the steps that I've got online/though I know that we also have this on this forum:
md5sum hboot.nb0
adb push hboot.nb0 /data/local/tmp/
adb push gfree /data/local/tmp/
adb push psneuter /data/local/tmp/
adb shell chmod 0755 /data/local/tmp/gfree
adb shell chmod 0755 /data/local/tmp/psneuter
adb shell /data/local/tmp/psneuter
adb shell /data/local/tmp/gfree -f
adb shell
dd if=/data/local/tmp/hboot.nb0 of=/dev/block/mmcblk0p18
dd if=/dev/block/mmcblk0p18 of=/data/local/tmp/hboot.test
sync
exit
adb pull /data/local/tmp/hboot.test
md5sum hboot.test
All md5sums should be 2a28dcd53ea26504be9a86572a348aa1
adb reboot
After that the phone restarted got white HTC screen and then it fades. I got scared cause I thought that I did something wrong again.
I swithced it off and press the volume and power button and got on the hboot screen. I tried to restore and everything with no luck just the phone went black screen.
Oh my head aches :cyclops:
I put the file that I have downloaded online RUU_Ace_Sense30_S_HTC_WWE_3.12.405.1_Radio_12.65.60.29_26.14.04.28_M_release_225512_signed.zip and rename it PD98IMG.zip then again restarted my phone to hboot and successfully updated the PHONE.
Oh My! My phone comes back on 2.3.5 Android!
I'm so happy! Thank you so much! Very much appreciated!
Now how can I root and s-off this android version so I can install custom firmware
Click to expand...
Click to collapse
HOw di u do this???? i have the same problem though when i try and execute the first command nothing happens
like this
[email protected]:~/IAMADUMBASS1$ adb push hboot.nb0 /data/local/tmp/
thats all nothing goes on!
htc desire hd starts after several minutes with vibration
i got a solution for htc desire hd which starts after several minutes with vibration for a long time
1..first of all download official ruu for desire hd (latest one)
2..turn on ur phone and connect it with pc wia cable
3..run ruu file which u have downloaded
4..when it says that {booting into bootloader} disconnect the cable immediately before mbile turs off
5.. you got an error of 155 on ur pc now dnt close the error page leave the pc running and connect ur phone with anoter pc
6..run ruu on other pc connect ur phone and follow the instructions and let the phone to go into bootloader
7..it will take 15 to 20 min to enter to the bootloader
8..when mobile shows htc logo (shown in bootloader) connect ur phone with the 1st pc
9..press recover button on error page and jst click next (dnt follow the instructions now just go on by clicking next button)
10..it will ask u to update ur phone click update then click next
11..this time ur phone starts flashing
12.. flashing take much time be patient:angel:
13..after flashing your htc starts normally and is repaired
i repair many htc mobiles with this method its 100 % working.i made this solution myself & sry for my bad english
Hi guys I am currently new to this forum,
Firstly, I would like to apologize if i am somewhat lacking in knowledge in the Android OS
Currently I am moving from a jailbreak-ed iPhone 4 to a HTC Desire HD, which I want to install a custom ROM on it, as its only limited to 2.3.5 which is quite old, ( Currently on Android 2.3.5 and HTC Sense 3.0 )
I firstly downloaded the 'EasyAceRootTool from this link:
forum.xda-developers.com/showthread.php?t=2221039
I sort of deviated off the guide and sort of found out what to do, using various over guides, so the device is currently rooted ( also flashed with the a ROM which is a rooted stock ROM that came from the thread above ), which came with Superuser and 4EXT, I later installed ClockworkMod,
Next I tried flashing ROMs such as PACman, Cyanogenmod ( I picked the correct versions for the Desire HD ), using the Recovery Menu and the apps 4EXT and Clockworkmod to flash, afterwards I rebooted the phone and it is stuck on the HTC boot screen, my only option after is to restore to a backup.
One thing to note is the device isnt S-OFF, not sure if that the cause of the phone being stuck on the boot screen
Am i doing anything wrong? have I missed a step?
Your help is appreciated :good:
(Urghh just noticed i badly titled the threat)
Pindrop said:
Hi guys I am currently new to this forum,
Firstly, I would like to apologize if i am somewhat lacking in knowledge in the Android OS
Currently I am moving from a jailbreak-ed iPhone 4 to a HTC Desire HD, which I want to install a custom ROM on it, as its only limited to 2.3.5 which is quite old, ( Currently on Android 2.3.5 and HTC Sense 3.0 )
I firstly downloaded the 'EasyAceRootTool from this link:
forum.xda-developers.com/showthread.php?t=2221039
I sort of deviated off the guide and sort of found out what to do, using various over guides, so the device is currently rooted ( also flashed with the a ROM which is a rooted stock ROM that came from the thread above ), which came with Superuser and 4EXT, I later installed ClockworkMod,
Next I tried flashing ROMs such as PACman, Cyanogenmod ( I picked the correct versions for the Desire HD ), using the Recovery Menu and the apps 4EXT and Clockworkmod to flash, afterwards I rebooted the phone and it is stuck on the HTC boot screen, my only option after is to restore to a backup.
One thing to note is the device isnt S-OFF, not sure if that the cause of the phone being stuck on the boot screen
Am i doing anything wrong? have I missed a step?
Your help is appreciated :good:
(Urghh just noticed i badly titled the threat)
Click to expand...
Click to collapse
More than likely your getting stuck at the boot screen because your not S-Off. You need to flash the boot.img also with the rom which your recovery cannot due because your not S-Off I believe. (Dont Quote me on it) If im not mistaken you must first be s-off to flash a kernel, or you could try via fastboot
Yeah I have looked in to the fastboot option, cant due to the ROMs being zips, will have to look into the S-OFF stuff.
Is this suppose to happen on CMD
C:\ace-tools>adb shell dd if=/dev/block/mmcblk0p22 of=/data/local/tmp/boot.img
adb server is out of date. killing...
* daemon started successfully *
/dev/block/mmcblk0p22: cannot open for read: Permission denied
Currently doing these steps of the ACE TOOLS
In cmd:
•fastboot recovery1.img
5.boot into recovery through bootloader and Install the ROM you placed on the SD card, (via install zip fileselect the rom zip)
6.Reboot the phone, ensure the rom is working fine and you have root access you can test this by turning on usb debugging then:
•Adb shell
•Su
You should see the $ turn into a #. If this happens, congrats you have root access.
Then type this:
•Exit
Then again:
•Exit
Then:
•Adb push boot.img /data/local/tmp
•adb shell dd if=/dev/block/mmcblk0p22 of=/data/local/tmp/boot.img Currently up to here when that Permission Denied thing happens
•adb pull /data/local/tmp/boot.img
•adb push goldcard /data/local/tmp
•adb shell chmod 775 /data/local/tmp/goldcard
•adb shell cat /sys/class/mmc_host/mmc2/mmc2:*/cid
take note of the string of numbers and letters that appear.
then:
•adb shell /data/local/tmp/goldcard -c <string of numbers and letters should go here> -o /data/local/tmp/goldcard.img
•adb shell dd if=/data/local/tmp/goldcard.img of=/dev/block/mmcblk1
•adb push misc_version /data/local/tmp
•adb shell chmod 775 /data/local/tmp/misc_version
•adb shell /data/local/tmp/misc_version -s 1.11.111.1
thekool said:
More than likely your getting stuck at the boot screen because your not S-Off. You need to flash the boot.img also with the rom which your recovery cannot due because your not S-Off I believe. (Dont Quote me on it) If im not mistaken you must first be s-off to flash a kernel, or you could try via fastboot
Click to expand...
Click to collapse
You do not need to be S-Off to flash a kernel. With S-On, you can't flash to the boot partition from recovery, but you can flash it with fastboot.
Pindrop said:
Yeah I have looked in to the fastboot option, cant due to the ROMs being zips, will have to look into the S-OFF stuff.
Click to expand...
Click to collapse
No, you don't understand. You don't need to flash the whole ROM from fastboot, only the boot.img, which is in every ROM zip.
ALRIGHT, that did the trick currently now i am running on PAC 22.3.0.
Thanks for the help guys , hopefully I can handle things for now on.
Hi,
I have the HTC one m8 16GB 5.0.1 lollipop
when I'm buy it , i didn't have any idea about the Root or Roms ...
after that my young brother discovered the Root in the device, so we search to Uninstall the Root from the device ...
after that we found the simple way to Uninstall it from the inside of the app and we did this step in the hope to Uninstall it ..
But it is stay loading and didn't finish so after one hour i'm exit from this step ...
the problem is the SuperUS in me device is didn't work with any of Root Apps (rom manager, etc)..
So, I wanted to change the Rom to restock the device ..And start to turn off the s-on but i'm interface problem in this place which is on the SDK windows
-adb reboot
- adb wait-for-device push firewater /data/local/tmp
- adb shell
- $ chmod 755 /data/local/tmp/firewater
- # su
- # /data/local/tmp/firewater
After this steps the \s-on should be S-off but he want another step ..
I'm search abut the plus step and didn't found anything so what i should to doing?
Firewater hasn't been supported by the developer (and therefore no longer works) since December 2014.
Also, you don't need s-off to return to stock. How exactly do you intend to return to stock? What are you trying to flash?
Also, do a getvar all, and post the output (be sure to delete IMEI and serial numbers, as these are private info) as you have not given nearly enough details for us to properly help.