yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] jan_axhell:
Hi all,

I'm stuck at the beginning. I have downloaded the mentioned files and entered all the commands, but I get:

C:\android-sdk-windows\platform-tools>adb shell
# /data/local/tmp/misc_version -s 1.33.405.5
/data/local/tmp/misc_version -s 1.33.405.5
--set_version set. VERSION will be changed to: 1.33.405.5
Patching and backing up partition 17...
Error opening backup file.

The fastboot log shows this, reading in other posts HTC_032 should be ok:

C:\android-sdk-windows\platform-tools>fastboot oem boot
...
(bootloader) setup_tag addr=0xA0000100 cmdline add=0x8D0874B4
(bootloader) TAG:Ramdisk OK
(bootloader) TAG:smi ok, size = 0
(bootloader) TAG:hwid 0x0
(bootloader) TAG:skuid 0x25209
(bootloader) TAG:hero panel = 0xF
(bootloader) TAG:engineerid = 0x4
(bootloader) MCP dual-die
(bootloader) MCP dual-die
(bootloader) TAG:mono-die = 0x0
(bootloader) Device CID is not super CID
(bootloader) CID is HTC__032
(bootloader) setting->cid::HTC__032
(bootloader) serial number: SH0BHRT00519
(bootloader) commandline from head: no_console_suspend=1
(bootloader) command line length =473
(bootloader) active commandline: board_vision.disable_uart2=0 board_visio
(bootloader) n.usb_h2w_sw=0 board_vision.disable_sdcard=0 diag.enabled=0
(bootloader) board_vision.debug_uart=0 smisize=0 userdata_sel=0 androidbo
(bootloader) ot.emmc=true androidboot.baseband=26.04.02.17_M2 androidboo
(bootloader) t.cid=HTC__032 androidboot.batt_poweron=good_battery android
(bootloader) boot.carrier=HTC-EastEurope androidboot.mid=PC1011000 androi
(bootloader) dboot.keycaps=qwerty androidboot.mode=normal androidboot.ser
(bootloader) ialno=SH0BHRT00519 androidboot.bootloader=0.85.0010 no_conso
(bootloader) le_suspend=1
(bootloader) aARM_Partion[0].name=misc
(bootloader) aARM_Partion[1].name=recovery
(bootloader) aARM_Partion[2].name=boot
(bootloader) aARM_Partion[3].name=system
(bootloader) aARM_Partion[4].name=cache
(bootloader) aARM_Partion[5].name=userdata
(bootloader) aARM_Partion[6].name=devlog
(bootloader) aARM_Partion[7].name=pdata
(bootloader) partition number=8
(bootloader) Valid partition num=8
(bootloader) jump_to_kernel: machine_id(2245), tags_addr(0x4000100), kern
(bootloader) el_addr(0x4008000)
(bootloader) -------------------hboot boot time:14888 msec
FAILED (status read failed (Too many links))
finished. total time: 7.891s

My HTC Desire Z info are these:

Android Version
2.2.1

Base band (roughly translated from italian)
12.28e.60.140fU_26.04.02.17_M2

Kernel
2.6.32.21-g6e170e7
htc-kernel@and18-2 #1
Tue Dec 28 21:41:11 CST 2010

Build
1.82.405.1 CL317545 release-keys

Software
1.82.405.1

Browser
WebKit 3.1

I have tried to send the command

adb reboot bootloader

but after trying to flash, the cell screen said something like "Older version - Flash failed"

FYI a couple of weeks ago I have made a system update: is it possible that the new firmware has rooting counter measures? The phone was originally tied to Orange Poland and then unblocked, but not by me.

What can I do?
[G2 and Desire Z Android Development] guhl99:
Hi!

Are you sure that your sdcard is mounted to the phone?

misc_version wants to write a backup of your partition 17 to /sdcard/ and if the sdcard is not mounted this will fail.

So make sure that there is a sdcard in the slot and that the phone is not in storage mode.

Have fun - Guhl
[G2 and Desire Z Android Development] jan_axhell:
The SD is in the phone, but I see now from the menu info that it is not mounted and the option is greyed-out. My phone is connected as Storage to the PC because if I choose USB Tethering, the command adb devices cannot find anything. The only way I could get

>adb devices

List of devices attached

SH0BHRT00519 device

was to select Storage + USB Debug on the phone. My OS is XP-SP3.

EDIT: it seems I can do the job with "charge only" setting. Will update further advancements.
[G2 and Desire Z Android Development] Kangburra:
You should be in HTC Sync mode. That way the SD card is mounted in the phone and you can access the terminal on the phone.
[G2 and Desire Z Android Development] jan_axhell:
I have now reached the Rom Manager point (past all the cellphone terminal commands and reboot, fw is now 1.34): I have installed it, I see Superuser among the apps, I had no errors in the phone terminal, but now when I select Flash ClockworkMod Recovery I get 2 errors:

- I can only choose HTC G2 (mine is DZ)

- After downloading: An error occurred while attempting to run privileged commands!

What did I do wrong this time?

EDIT: Installed Root Checker and it says

/system/xbin/su: No such file or directory

/sbin/su: Permission denied

I have made again the phone terminal procedure with same result. I always get the mkdir error /xbin already exists, but the tutorial says it's normal. Also when I type "sync" at the end, nothing happens: should I see anything moving at this point?

I have tried to manually copy su into /sbin and /system/xbin from # root console, but it says it's a read-only filesystem.

Please what can I do to go past this point? I've searched the forum and tried all I could, but most of the posts talk about other devices.. :-(
[G2 and Desire Z Android Development] guhl99:
In general it is not an error that the /system/xbin directory already exists.

But I would recommend that after you did the successful downgrade to 1.34 you follow the "official" rooting/gfree guide in the wiki at http://xdaforums.com/wiki/index.php?title=HTC_Vision#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
[G2 and Desire Z Android Development] elkoos:
http://wiki.cyanogenmod.com/index.php?title=HTC_Vision

Already done and was up since I remember. It has detailed step by step instructions, actually more acurate than You posted.
[G2 and Desire Z Android Development] jan_axhell:
guhl99: thanks for the link, but I had to use the linked gfree 0.2 version

http://xdaforums.com/wiki/index.php..._Root_.2F_.22Permaroot.22.29_using_gfree_v0.2

and now I am stuck again at the Verify the success of gfree step.

C:\android-sdk-windows\platform-tools>adb push gfree_verify /data/local/tmp
11 KB/s (12005 bytes in 1.000s)

C:\android-sdk-windows\platform-tools>adb shell chmod 755 /data/local/tmp/gfree_
verify

C:\android-sdk-windows\platform-tools>adb shell
$ su
su
Permission denied

gfree 0.5 gave me the eMMC error, so I repeated with 0.2 (eMMC ok), but it's not working either.

When I enter su, the PC console hangs for a while, nothing happens on the phone screen (which is unlocked) and then fails.

elkoos: thanks, I tried that link in first place and came here because it didn't work.
[G2 and Desire Z Android Development] guhl99:
Strange!

Did the procedure successfully install the clockworkmod recovery? You can boot into recovery using

adb reboot recovery

If yes, it might be the easiest solution to just flash a rooted custom rom as i.e. CM7. If you got time and want to solve it without flashing a custom rom come over to the irc-channel #G2ROOT on freenode and try to find me or some of the other devs to help you out.

Have fun - Guhl
[G2 and Desire Z Android Development] jan_axhell:
At this point I might prefer to install a rooted ROM, but is my phone in the right status to do that now?

adb reboot recovery brings me to CWM Recovery v3.0.2.4 menu

What should I do from there? Install a ROM? I see there are several different ROMs based on CWM7 here. What about

virtuous_fusion-vision_rom-v1.0.0.zip ?

EDIT: Ok, I have installed CM7 from recovery menu and it works fine.

EDIT2: Done a factory reset, re-done as explained here http://wiki.cyanogenmod.com/index.php?title=HTC_Desire_Z:_Rooting

and this time it worked, I got root. My guess is Superuser.apk was not the correct version (I have downloaded many files from different sources): this time I have used ONLY the files linked from the above page, with gfree 0.2 -> ROM Manager launched Superuser and asked me privileges, which I activated and everything went fine.
[G2 and Desire Z Android Development] g4rb4g3:
Are you talkin to me?

Funny that the wiki was changed on 10th of January, 2 days later then I wrote this...

I had so many responses that this works perfectly so stfu.
[G2 and Desire Z Android Development] c00ller:
Hi, I'm looking at step 12, which says

But it doesn't say what should be shown. What should it be? This sounds important.
[G2 and Desire Z Android Development] prazzo:
I think this is exactly what happened to my DZ. I got a used DZ with 1.84 firmware, S-OFF but no root. Then I can just downgrade without goldcard, right?

But what about this warning:

http://xdaforums.com/showthread.php?t=838484

It says, that PC10IMG will make S-ON again and create "main is older" problem.

Which one is correct?
[G2 and Desire Z Android Development] michael9413:
yes... i did tried that... no need goldcard... S-off and Root 1st... then u can downgrade anytime...

but i did not... u should try to flash it straight away... not mistaken i work for me... a good person helped me to s-off and he also surprise that we can do flashing rom easily...
[G2 and Desire Z Android Development] klaas4:
Hi,

I used this tutorial to root my Desire Z and it worked perfectly, but the problem is this doesn't describe flashing an engineering HBOOT. Can I just use gfree again and only flash the hboot img, or how would I get around doing this.

Thanks!
[G2 and Desire Z Android Development] slapshot30:
When trying to push "su", it did not work, anybody know why? All others worked, but "su" and the "superuser apk" didn't work.
[G2 and Desire Z Android Development] Kangburra:
Are they in the source directory? Are they lowercase? Did you miss the "." as you have above?
[G2 and Desire Z Android Development] slapshot30:
yes and yes, where are you referring to with the period?

EDIT: Nevermind, I got it using a different method from here.

http://androidforums.com/desire-z-a...locking-your-bell-desire-z-newb-friendly.html

For some reasons all the guides on XDA wouldn't work, so I had to resort to the visionary one. It honestly might have something to do with me having a Bell Desire Z, as the OP of the guide on that link has the same.
[G2 and Desire Z Android Development] chrisyeung88:
when im in the terminal app doing step 19 /data/local/tmp/root

it said cp: can't stat '/sdcard/su' : no such file or directory

have i done anything wrong?
[G2 and Desire Z Android Development] uninvitedguest:
Same deal here, pissing me off. It's a Bell Desire Z, tried both RUU_Vision_HTC_WWE_1.34.405.5_Radio_12.28b.60.140e_26.03.02.26_M_release_155556_signed and RUU_Vision_BellMobility_WWE_1.34.666.1_Radio_12.28b.60.140e_26.03.02.18_M2_release_154437_signed

Both do the same thing. Also using a goldard for ****s and giggles.
[G2 and Desire Z Android Development] NthZ:
on step 11 after i type adb reboot bootloader, and wait for my phone to scan the sd card, it doesn't ask me to update it. i get stuck on the screen after i select "bootloader" on the phone. i get a "found new hardware" box on my computer, which cannot find any drivers.

What do i do?

Thanks
[G2 and Desire Z Android Development] schaggo:
Corrupted download? I'd guess so. Did you compare the hashes of the two files downloaded with the ones posted online (if available)?

Seems like two separate issues. First, try adb reboot-bootloader with a dash. And after you entered the bootloader screen (white, skating androids on bottom) it should read FASTBOOT on top. Now use the volume key to select BOOTLOADER and then hit the power button (as instructed on screen <VOL UP> to prev... <VOL DOWN> to next... <POWER> to select...). It should now scan the card for a PC10IMG.zip.

Secondly, did you install the HTC Drivers on your box...? Both adb and fastboot drivers come with the package...
[G2 and Desire Z Android Development] evilcuber:
how do i find the infocid of my phone? i did the adb commands and the only important info it told me is decive cid is not super cid. cid bm___001. it didnt mention anything about the info cid. how do i find the info cid?
[G2 and Desire Z Android Development] DaremoS:
I've reviewed thousands of post and the problem is with /sbin directory which can't be made RW in any way
[G2 and Desire Z Android Development] desirez_pete:
At least I now know not to bother with a gold card since my CID is in the list of valid ones.

I guess the last thing to try is a new SD card when I get around to buying one.
[G2 and Desire Z Android Development] ahmadka:
I have a question .. I have a Desire Z running 1.82 which I want to downgrade .. I checked the CID and its HTC_038, which is why I went ahead an made the goldcard ..

The question now is, at what point in your guide (after goldcard creation is done) do I insert the SD card into the phone ? This is not mentioned anywhere explicitly ..

Like when the commands in step 4 are executed, is it assumed the SD card is inserted ? Or do we insert it after shutting down and before rebooting the phone in step 8 ?
[G2 and Desire Z Android Development] rahulkrathod:
Hi

I am on hboot 0.85.0005 and firmware 1.34.720.6

Do i need to downgrade? cos my hboot is not 0.80.xxx ? Please advice.
[G2 and Desire Z Android Development] rahulkrathod:
Is hboot 0.85.0005 rootable? Can I just follow the guide?

ok checked the infocid which is HTC_038. So looks like i need to downgrade. Please confirm. thanks.
[G2 and Desire Z Android Development] timhesselmans:
hi,

I've rooted my DZ before, and i had no problems at all. But my phone broke for some reason and I had to send it back to HTC. They fixed it for me, but now my root is gone and I'm on 1.82. For some reason when I type the ''fastboot oem boot'' command, it says it''s not valid or something... What am I doing wrong?

Thanks
[G2 and Desire Z Android Development] Ninj:
They probably just reseted the whole ROM, or simply exchange your phone's hardware.
[G2 and Desire Z Android Development] timhesselmans:
yeah i know, they did a boardswap. But I still can't seem to be able to check my INFOCID using the posted method...
[G2 and Desire Z Android Development] Ninj:
But shouldnt you have an ENG HBOOT installed for fastboot to work?
[G2 and Desire Z Android Development] convert:
Dude ....

..... thanks for sharing ....:)
[G2 and Desire Z Android Development] JustinHTC:
Having a hell of a time with this for some reason.

CID is BM___001.

I have tried the method posted here, this method, and this method. The only difference with CM mod was the IMG file and with that I get a 'Model ID incorrect'.

With the IMG files from here and the BellMobility RUU , as well as the HTC RUU it just skips over the image entirely. Everything else works fine, I just can't flash.

Currently running 1.86.

Again, not sure what I am missing here, any insight would be appreciated.

EDIT: seems to be linked to the Goldcard I am using, was pretty basic to make so I am not sure where I could have gone wrong. I will try again using another card reader.
[G2 and Desire Z Android Development] JustinHTC:
Not the goldcard, giving up for now. Too damn frustrating.
[G2 and Desire Z Android Development] timhesselmans:
Ok so I've posted this problem before but didn't get much usable tips, so I'll try it again. This time I'll try to be as detailed as I can.

It looks like I'm already stuck on the very first step. When I type the 'adb reboot bootloader' command, my phone will reboot into bootloader. But then when I type the 'fastboot oem boot' command, it says this:

C:\Users\Medion852>adb reboot bootloader

adb server is out of date. killing...

* daemon started successfully *

C:\Users\Medion852>fastboot oem boot

fastboot wordt niet herkend als een interne

of externe opdracht, programma of batchbestand.

Since I'm Dutch, most of you won't understand what that means, so I'll translate it. I don't know if it's the exact thing an english computer would say, but it's a start.

C:\Users\Medion852>adb reboot bootloader

adb server is out of date. killing...

* daemon started successfully *

C:\Users\Medion852>fastboot oem boot

fastboot is not recognised as an internal

or external command, program or batchfile.

Also, when I go into Device Manager, select my device and go to properties->details->property: INF-section, it says 'HTCAND32.Dev'. Would this mean that my 'INFOCID' as described in the original post is HTC___32? And if so, should I be able to carry on with the tutorial?

Thanks,

EDIT: Never mind, fixed it. I didn't 'cd' to the sdk tools folder. I did that and now it works. And also, I now know my INFOCID is HTC__E11, so the method of finding you INFOCID I posted above, doesn't work.
[G2 and Desire Z Android Development] thr-:
For the people getting:

Don't rename your file to PC10IMG.zip rename it to PC10IMG instead, with the zip format and be sure to have a flash card with the file extension FAT32.
[G2 and Desire Z Android Development] virtualflyer:
Hi, I'm trying to sum up a complete dz rooting guide on an Italian forum, I'm using yours in the downgrade part mentioning it's all your work, let me know if it's ok for you, else I'll delete that part and just put a link to this thread, my problem is only translation.

Thanks
[G2 and Desire Z Android Development] g4rb4g3:
No problem at all :)
[G2 and Desire Z Android Development] manuele.f:
Hi all,

i'm an htc desire z owner flashed first with a CyanogenMod 7.0 rom and at the end with a g2 stock rom. now i'm trying to go back to factory settings, in this case i have RUU and a zip file and i've tried to flash the first under windows 7 and the second via the recovery. both the attemps didn't have any happy ending so i'm here because i can't figure out which is the correct procedure to follow and what i have to do now...anyone has some suggestion for this? any kind of suggestion is appreciated!

Manuele
[G2 and Desire Z Android Development] goister:
Hi,

I'm having problems downgrading the my firmware. I've followed the steps until rebooting to the bootloader, but after I run the "bootloader" option it brings me to another screen, pauses for a while, then displays a "checking [PC10IMG.zip]" and brings me back to the screen. I assumed that did the trick, but when I rebooted my phone it still shows the software version as 1.82.707.1...

I tried to check the INFOCID of my phone but I'm confused with the instructions. After doing a "adb reboot bootloader" and then a "fastboot oem boot", I don't get any INFOCID field. I do however get a CID field of HTC__044, which isn't in the list. Does this mean I need a gold card before attempting the downgrade?
[G2 and Desire Z Android Development] Flash05:
^ i think we're the same...

(bootloader) Device CID is not super CID

(bootloader) CID is HTC__044

(bootloader) setting->cid::HTC__044

just wanna make sure it requires gold card or not. obviously it is not in the list so it requires one... but who knows...
[G2 and Desire Z Android Development] Nipqer:
You'll need a goldcard.

Luckily skorgon from #G2ROOT has made a goldcard binary, which can be found at http://www.mediafire.com/?fdb1fynfl6sada7

all you need to do is push it to /data/local/tmp, chmod it, get temp-root and run it.

It will automatically create a goldcard image and flash it to the sdcard.

-Nipqer
[G2 and Desire Z Android Development] Flash05:
thanks i thought i will be going thru the lengthy process of making gold card.
[G2 and Desire Z Android Development] goister:
I did, it worked.
[G2 and Desire Z Android Development] uktotty:
not working for me!

Tried pretty much everything

HELP!!!
[G2 and Desire Z Android Development] saurabh88:
will irt work if i have t obile htc desire z with software verison 1.82?whats should i do then?:eek::confused::confused::(
[G2 and Desire Z Android Development] timhesselmans:
Hi,

I've rooted and s-offed my DZ before using this method and it worked birrilantly. However, my phone broke and it got replaced by HTC. When I got it back, it was on 2.42. I downgraded it to 1.34 using another method but now i'm wondering if i can can still root and s-off using this method and just skip the part you do before downgrading?

Thanks
[G2 and Desire Z Android Development] guhl99:
Yes, but i would recommend that you follow that http://wiki.cyanogenmod.com/wiki/HTC_Desire_Z:_Rooting to complete the rooting.

This method is a little bit outdated.

Have fun - Guhl
[G2 and Desire Z Android Development] tomvond:
Hi guys everything worked fine, but when i enter recovery everytime pc10m.zip is loading, then after it enters recovery and only the first screen of clockwork is working. When i choose an option it only shows the logo of clockwork. When i push a button again im back in the first menu. Any ideas?
[G2 and Desire Z Android Development] Nipqer:
delete the PC10IMG.zip from your sdcard, and don't use power in recovery, use the trackpad.

-Nipqer
[G2 and Desire Z Android Development] tomvond:
Only i cant find pcm10.zip on the sd can i delete true adb?

Thx for your help
[G2 and Desire Z Android Development] Nipqer:
Oh you mean it scans for it? nothing you can do about that.

I understood what you said as it would load the PC10IMG.zip.

-Nipqer
[G2 and Desire Z Android Development] joebron:
Terminal won't restart

Ignore this post and the next one - I've upgraded and am now trying a different downgrade method

Hi,

I've followed the instructions through to number 16. Rage has run fully, the terminal forces closed, but then it goes wrong. After this, when I click Terminal Emulator, the phone slows dramatically and adb shows the device as offline, so I'm sure the terminal is running in some form... but it's not showing to me. I can't find any mention of this earlier in he thread.

Is it worth getting a task manager from the Market to see if the terminal is running?

Before getting this far, I messed up and tried following the wrong instructions (for Desire HD, I think), so the psneuter I used at the start was not the version from this tutorial. Is this likely to matter, or will the files be exactly the same? Should I start again with the new psneuter?
[G2 and Desire Z Android Development] joebron:
...ok, so it seems that even though it runs through what appears to be an installation at step 11, the software version is still 1.72.161.1. I've tried again and have the same problem as before.

When I run step 11, it loads and then checks PC10, but it doesn't "ask if you want to perform the update" - it just returns to a screen with the options Fastboot, Recovery, Factory Rest, Simlock, Image CRC
[G2 and Desire Z Android Development] Ninj:
Hi,

I'm not sure to have seen the clear answer to this question:

Is it still possible to root/s-off/customize a Desire-Z on which the last HTC official RUU has been applied?

The reason i ask that is simple: for months now, my radio is crappy (signal loss and other stuff) and EFS wipe didn't help. My last hope is to flash a full RUU which would overwrite every partitions on the phone, thus maybe get back a non-corrupted radio. But i want to go back to custom roms after that of course.

Thanks!
[G2 and Desire Z Android Development] joebron:
Are you saying you've got Gingerbread? If so, try: http://xdaforums.com/showthread.php?t=1178912
[G2 and Desire Z Android Development] Ninj:
Hi.

Currently, I run Virtuous 2.0.0 (Gingerbread). It's rooted, S-OFF, everything you'd think of. But i'm considering flashing the newest HTC RUU which will wipe all that stuff, including S-OFF.

So i needed to be sure that, even from the very last official rom, i can go back to real S-OFF, root, SuperCID, blabla.

But to be honest i'm not sure which one is the latest Desire-Z (Vision) official RUU so i can't check if a way exists to hack it.

Thanks for the link though, im gonna read that.
[G2 and Desire Z Android Development] knightslay2:
How to check my INFOCID? I don't get what you type into command prompt for it to check my INFOCID.
[G2 and Desire Z Android Development] Nipqer:
Ninj: If you used gfree to root, you will keep S-OFF flashing an RUU

knightslay2: try in adb shell 'dd if=/dev/block/mmcblk0p17 bs=1 count=8 2>/dev/null; echo' that should give you your CID

-Nipqer
[G2 and Desire Z Android Development] Ninj:
Niqper: thanks, ok for S-OFF, and for the recovery (CWM)?

If recovery remains too, will that mean that i can flash any custom ROM again after flashing an official RUU?
[G2 and Desire Z Android Development] Nipqer:
No, flashing an RUU will replace radio, hboot and recovery with it.

-Nipqer