yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] byunbyun:
HI my device is HTC_E11 .How about this CID ?
[G2 and Desire Z Android Development] silegeek:
Maybe im being stupid or blind but nowhere, in any of the files that I download is there a file called "misc_version_01.zip"

Why is this/where is it? :rolleyes:

Nevermind. I was being stupid. It comes with the ADK which I can never be bothered to download. I have all the adb.exe and various DLL's backed up so i just use those.

Managed to get the misc_version via a google search, so alls good. If i could point out though, that I recieved my phone with Android 2.3.3 and this makes rooting a pain in the ass. The psneuter did not work, I had to use GingerBreak.
[G2 and Desire Z Android Development] MHTSOS:
Hello,

Anybody has the needed files because the links are dead?

Best regards.
[G2 and Desire Z Android Development] Neo2SHYAlien:
Use files from here. This will flash everything needed but will wipe your data
[G2 and Desire Z Android Development] MaluNoPeleke:
I would like to backup everything with MyBackup root or Titanium Backup but even after step 5. MyBackup root says that it has no root access. "Superuser" application is installed.

Isn't it possible to get root before flashing (even if it is only temporary)?

Thanks in advance!
[G2 and Desire Z Android Development] g4rb4g3:
No thats not possible since we cant write on /system yet in this stage. So its not possible to add su to /system/bin which is needed for superuser.apk. we can only get a root shell with adb.

For write access we have to use gfree first, but for that we need to downgrade. And that wipes everything from your phone.
[G2 and Desire Z Android Development] MaluNoPeleke:
I see, thanks.

Do you think it will be possible in the near future to root the device with 1.72.xxx installed (are people still working on this)?
[G2 and Desire Z Android Development] Ninj:
Hi!

A big thanks again to everyone making this possible. It worked all fine.

Two questions though:

1. Your guide didn't mention to do any backup before to proceed. Morel particularly backing up the CID, and so I forgot to to do it. Am i screwed now if i ever need to send it to service for repair? Or is there a way to get back the original CID? I have done a system backup with "Backup everything" before.

2. What are the next interesting steps now? Can i install the OTA 1.72 again or will it screw everything i just did? Because i liked the enhancements of this new version from HTC.

Thanks again, really!
[G2 and Desire Z Android Development] waqypaqy:
... INFOsetup_tag addr=0xA0000100 cmdline add=0x8D
086CF8
INFOTAG:Ramdisk OK
INFOTAG:smi ok, size = 0
INFOTAG:hwid 0x0
INFOTAG:skuid 0x25209
INFOTAG:hero panel = 0xF
INFOTAG:engineerid = 0x4
INFOMCP dual-die
INFOMCP dual-die
INFOTAG:mono-die = 0x0
INFODevice CID is not super CID
INFOCID is VODAP001
INFOsetting->cid::VODAP001
INFOserial number: SH0BDRT#####
INFOcommandline from head: no_console_suspend=1
INFOcommand line length =466
INFOactive commandline: board_vision.disable_uart2=0 board_visio
INFOn.usb_h2w_sw=0 board_vision.disable_sdcard=0 diag.enabled=0
INFOboard_vision.debug_uart=0 smisize=0 userdata_sel=0 androidbo
INFOot.emmc=true androidboot.baseband=26.04.02.17_M2 androidboo
INFOt.cid=VODAP001 androidboot.batt_poweron=good_battery android
INFOboot.carrier=VODA-UK androidboot.mid=PC1011000 androidboot.k
INFOeycaps=qwerty androidboot.mode=normal androidboot.serialno=S
INFOH0BDRT05488 androidboot.bootloader=0.85.0008 no_console_susp
INFOend=1
INFOaARM_Partion[0].name=misc
INFOaARM_Partion[1].name=recovery
INFOaARM_Partion[2].name=boot
INFOaARM_Partion[3].name=system
INFOaARM_Partion[4].name=cache
INFOaARM_Partion[5].name=userdata
INFOaARM_Partion[6].name=devlog
INFOaARM_Partion[7].name=pdata
INFOpartition number=8
INFOValid partition num=8
INFOjump_to_kernel: machine_id(2245), tags_addr(0x4000100), kern
INFOel_addr(0x4008000)
INFO-------------------hboot boot time:66445 msec
FAILED (status read failed (Too many links))
finished. total time: 9.606s

Thats the output mate. Any ideas?
[G2 and Desire Z Android Development] g4rb4g3:
1. gfree makes a backup before changing anything, its on your SD-Card called part7backup-##########.

2. Don't use the normal ota update again, if you like sense I would use Virtuous rom.
[G2 and Desire Z Android Development] g4rb4g3:
Thats the problem, the INFOCID should be HTC__102 and not VODAP001. Where did you get your phone from? Vodafone? Or did you change the CID before the OTA update?

The problem now is that you would need a signed PC10IMG.zip for you CID. The one I postet is from HTC and only for the HTC__102 CID.
[G2 and Desire Z Android Development] Ganii:
Seems it`s a Vodafone phone/Update from Vodafone UK:

http://vodafoneuk.lithium.com/t5/Latest-Vodafone-News/Android-Update-for-the-HTC-Desire-Z/m-p/636425

But don`t know where to find a Vodafone ROM!

Other solution,maybe via System dump?
[G2 and Desire Z Android Development] geert01:
Crap, I have the same problem. My Phone is from Vodafone too (the Netherlands). I hope someone can fix that :P. I don't think Vodafone made hardware additions/changes to the phone. Is it maybe possible to change the INFOCID on the phone to the HTC__102?
[G2 and Desire Z Android Development] Ganii:
Hm,what about Hex editing from here,or it`s only

for firmware number?

http://xdaforums.com/showthread.php?t=832503
[G2 and Desire Z Android Development] g4rb4g3:
To edit the infocid you need gfree, but it doesn't work with the radio version from 1.72. That's why we have to downgrade. For now the only chance for you is to find a RUU/PC10IMG.zip from vodafone that has the old radio image inside.
[G2 and Desire Z Android Development] Ninj:
Oh, alright :) So I'll keep this part-xxx in some saaaafe place.

Ok, I won't use update again, i'll check Virtous ROMs, but I think i red some average comments about it, i'll double check!

And just to be curious, why shouldn't i install offical OTA now? Technically i mean.

Thank you again g4rb4g3 ;)
[G2 and Desire Z Android Development] g4rb4g3:
You'll never know what HTC does to make root impossible again (for some time ;))
[G2 and Desire Z Android Development] geert01:
OK and what about editing the infocid in the pc10img.zip file? Or am I not making sense now? :P (I'm a noob at android stuff anyway since this is my first android phone ;P)
[G2 and Desire Z Android Development] g4rb4g3:
Won't work since it's singed, changing anything will break the signature.
[G2 and Desire Z Android Development] geert01:
too bad. Is there any way to "extract" the RUU image from a phone?
[G2 and Desire Z Android Development] vinsyl:
Hi all,

I think I have rooted and s-off my device but I have two problems:

- when I would to upgrade the radio with the last one, I can't use the command: fastboot flash radio radio.img ; remote not allowed. Do you know why and what I can do?

- I have changed the rom and when I want to turn off the device, every times it reboot into recovery and not shutdown. Any idea why?

Do you think I'm not FULL s-off?

Thank you for your help.
[G2 and Desire Z Android Development] Ninj:
Sure, but wouldn't i still remain S-OFF even when go back to 1.72? And wouldn't i keep the Clockwork recovery? Making it easily possible to go to another ROM anytime, no?

I would just not be able to get root anymore as long as there's no perm root exploit available for the 1.72
[G2 and Desire Z Android Development] g4rb4g3:
Yes for now it would still be S-OFF, but what about the next HTC update? Maybe they turn security on again? We'll see...

I don't care about this since I don't use the stock Desire Z software, for now I use my own MIUI port, maybe I'll switch to CM-7.0 when it's ready.
[G2 and Desire Z Android Development] Ninj:
You're right, thanks, I'll use Vituous anyway, as soon as i'm sure i can :)
[G2 and Desire Z Android Development] steviewevie:
For the first problem, you need the eng hboot to be able to use fastboot like that, so I suspect you have S-OFF via gfree (which is good), but not the eng hboot too.

Unless you're just not putting the phone itself into fastboot mode when you flash ? i.e. go into hboot and select the "fastboot" option, then check it says "fastboot usb" when plugged into the computer.

The second problem is normal if the charger is plugged in and you have ClockworkMod recovery installed. If you don't like that behaviour, you will have to go back to the stock recovery for now.
[G2 and Desire Z Android Development] steviewevie:
Great work ! :D

Could I please suggest the original posting is edited to reflect this ? i.e. there's no one universal stock ROM that can be flashed back to (assuming you don't have SuperCID already, and even if you did you were probably radio S-OFF and don't need this guide to downgrade anyway), you need to find an earlier ROM that is suitable for your CID.
[G2 and Desire Z Android Development] tbalden:
Shutdown: do u have yer usb cable plugged? Read someone had that.

Fastboot: are u with engboot? Its needed. Also read in the radio thread that someone used recovery to flash radio successfuly, zipping it into an update somehow, probably read details there.
[G2 and Desire Z Android Development] g4rb4g3:
updated first post :)
[G2 and Desire Z Android Development] steviewevie:
Cool. I think it might be useful to say why it won't work for other CIDs though ? And I think more than that one CID you specify should work, any of the CIDs in the stock 1.34 RUU should be ok (there is a whole list of them in there, e.g. HTC__001, HTC__0032, HTC__E11, etc).
[G2 and Desire Z Android Development] Ignobile:
Thank you first of all

When do you think others INFOCID could downgrade?

my INFOCID is HTC__102

so, I'm not be able, right?

anyway, great work...
[G2 and Desire Z Android Development] Suprnova_:
Guys, I think I just did a downgrade on my rom the "normal" way.

I followed the procedure for downgrading htc hero with gold card method

http://xdaforums.com/showthread.php?t=572683&highlight=gold+card

Took that sd-card and put it in my DZ and voila software number 1.34

Just to confirm that this is really working, I think i have to do it all over again.

I'll report back in a while
[G2 and Desire Z Android Development] steviewevie:
I don't think the current CID information in the first post is quite right. Basically you need a 1.34 ROM that will flash to your phone ok. Without SuperCID via gfree you will need to match one of the CIDs in the android-info.txt file in the ROM. But that is a pretty long list of CIDs for the European ROM, not just the one CID in the first posting.

Sent from my HTC Desire Z
[G2 and Desire Z Android Development] steviewevie:
The gold card doesn't work for 1.72 as far as I know, so I presume you either weren't on 1.72 or you had radio S-OFF via gfree already (in which case no gold card or editing is required, you can just flash the older stock ROM).

Sent from my HTC Desire Z
[G2 and Desire Z Android Development] geert01:
With a goldcard, you could bypass the CID check right? So this could potentially be great news for us "branded" folk if I understand this stuff correctly.
[G2 and Desire Z Android Development] steviewevie:
The gold card method has been tried by several members who upgraded to 1.72 and it didn't work for them before.

Sent from my HTC Desire Z
[G2 and Desire Z Android Development] Suprnova_:
No I was on 1.72 and haven't done anything via gfree.

But however, i haven't got root, and why that is I have no idea.

but S-off anyway
[G2 and Desire Z Android Development] Ganii:
If I have firmware 1.72.405 ...

it is not enough, the "rom.zip" extracted from the RUU 1.34.405.5 firmware

to rename in 'PC10IMG.zip "then copy to the SD card and load via Hboot?
[G2 and Desire Z Android Development] dhkr123:
You completely missed his point.

The goldcard doesn't allow downgrade, but it DOES allow you to bypass the CID check.... so in theory, psneuter+goldcard would allow ANYONE to downgrade, regardless of a matching CID.
[G2 and Desire Z Android Development] Suprnova_:
Thanks for getting my actions into words :p

Now I understand what I did.
[G2 and Desire Z Android Development] steviewevie:
My apologies and thanks, yes I did completely miss the point there, I thought he was talking about downgrade only using gold card, which is what a poster just before seemed to be implying.

Psneuter plus gold card may well help others who don't have a suitable ROM, e.g. Vodafone. Would be great if someone could try it.

Sent from my HTC Desire Z
[G2 and Desire Z Android Development] steviewevie:
Are you asking if that is enough on its own ? No, you need to do the whole procedure in the original post because if you try and downgrade without doing that, it will refuse to flash the earlier ROM.

Sent from my HTC Desire Z
[G2 and Desire Z Android Development] Ganii:
Can`t remember to the Thread,but a User wrote,it has worked

for him!

But before he updated to 1.72,he had S-off and after the update yet!
[G2 and Desire Z Android Development] YOSEFE:
g4rb4g3 or anyone who can help me,

What do I need to follow the instructions from step 15? As in:

15.Code:

adb install AndroidTerm.apk

adb push busybox /data/local/tmp/

adb push gfree /data/local/tmp/

adb push rage /data/local/tmp

adb push root /data/local/tmp/

adb shell chmod 0755 /data/local/tmp/*

adb push su /sdcard/

adb push Superuser.apk /sdcard/

When I enter line one of the code, I get error about "AndroidTerm.apk" not being available. Would you please tell me what files/downloads I need, and where to save or copy them?
[G2 and Desire Z Android Development] geert01:
Hey Suprnova_

I was trying to create a goldcard using the hero method you linked, however when I enter: adb shell cat /sys/class/mmc_host/mmc1/mmc1:*/cid I get a file/directory not found error

How did you create the gold card? did you use another system folder when using that particular adb command?
[G2 and Desire Z Android Development] steviewevie:
I made a gold card a while back on my DZ. See the guide in this forum - http://xdaforums.com/showthread.php?t=832503 - which uses a slightly different path to the one you quote above.
[G2 and Desire Z Android Development] steviewevie:
Sorry if I'm misunderstanding and/or getting confused which example you're referring to. But if you have full radio S-OFF via gfree (not just the "fake" S-OFF via eng hboot) then once you upgrade to 1.72 you will keep that S-OFF, so you can just downgrade straight away again (no need to use this procedure).

The procedure in this thread is needed for those who only had the "fake" S-OFF (eng hboot), or no S-OFF at all, because after the upgrade to 1.72 they would be S-ON and without root unable to downgrade in the normal way.
[G2 and Desire Z Android Development] Ganii:
Ah,Ok!

If I have full S-OFF at 1.72 firmware,so only loading 'PC10IMG.zip "

from hboot will work?

Or what you mean with this: (only flashing a 1.34....RUU will work)
[G2 and Desire Z Android Development] steviewevie:
Did you download all three files from step 1 of the procedure ? Because AndroidTerm.apk is in the second file (root.zip).

Personally I would just install Android Terminal Emulator from the Market, then it will automatically track updates etc.
[G2 and Desire Z Android Development] steviewevie:
Yes, if you had already used gfree at an earlier version to get full radio S-OFF, then you upgraded to 1.72 (where you will still show S-OFF), then you don't need this procedure and you can just flash the ROM from hboot as you say.
[G2 and Desire Z Android Development] MaluNoPeleke:
Just to make sure that I have understood it correctly:

If I am working with an untouched device (only 1.72 is installed via OTA) and then doing the procedure from post #1 I can still use the original HTC ROM and update to 1.72 via OTA again and I will still have root access and S-OFF.

Is that correct?
[G2 and Desire Z Android Development] steviewevie:
Now I'm back home I can pull out this list more easily. Here are the CIDs from the European 1.34.405.5 ROM/RUU (i.e. the CIDs that it will load on, without a gold card) :

HTC__001

HTC__032

HTC__E11

HTC__203

HTC__Y13

HTC__102

HTC__405

HTC__304

HTC__A07

HTC__N34

HTC__J15
[G2 and Desire Z Android Development] steviewevie:
No, sorry, that's not right.

What this procedure lets you do is to downgrade to an earlier version which is rootable, e.g. 1.34.

We still don't have a method to get permanent root on 1.72, because we don't yet have a method to disable the NAND (internal storage) write protection at 1.72 (HTC closed the loophole).
[G2 and Desire Z Android Development] Ganii:
Think No,but don`t know!

If you have full S-Off and Root via gfree method at your 1.34 firmware from wiki page and then you update to 1.72,S-Off is still there,but no Root!

Then for downgrading,you only need the 'PC10IMG.zip " and load it from

hboot.
[G2 and Desire Z Android Development] geert01:
Thanks steviewevie! Will try it tomorrow ;)
[G2 and Desire Z Android Development] Ganii:
Think we should clarify this for something and maybe

include this in the instructions from first post!
[G2 and Desire Z Android Development] YOSEFE:
I actually did.

What I aim to do is to follow the instructions to the end so that I can root the dz again.

If I get Terminal Emulator from Market, which I have already done, how do I procede from here for rooting purposes?
[G2 and Desire Z Android Development] MaluNoPeleke:
Ah okay, I see. Thanks for clarification!

Are people still working on getting root access with 1.72? It would be nice to make a full backup before flashing...
[G2 and Desire Z Android Development] YOSEFE:
Okay,

I have had to download the file concerned, not in the said .zip, and managed to execute it.

My hurdle now is the "busybox" which I need to find.
[G2 and Desire Z Android Development] YOSEFE:
I am having trouble with "busybox". I tried to download one in Market, but doesn't download, and a note there says 'not yet for Desire.' I there busybox for DZ?
[G2 and Desire Z Android Development] YOSEFE:
HELP!

I now have the error: 'The system cannot find the path specified' when I type this on my pc's terminal: "/data/local/tmp/gfree -f"

What could be the problem? My DZ is HTC UK unbranded version.

Thanks.
[G2 and Desire Z Android Development] waqypaqy:
Seems to be working for me (Vodafone UK DZ), currently installing via Fastboot..

Will update soon...

Phone is back to 1.34 and Android version 2.2

Suprvnova- youre a legend mate!
[G2 and Desire Z Android Development] g4rb4g3:
so how many people with a CID thats not supportet by the PC10IMG.zip (like the VODAP001 one) could downgrade with the help of a goldcard?

Make sure that you didn't have S-OFF before since a downgrade would work without this guide and without a goldcard.
[G2 and Desire Z Android Development] petarpLab:
g4rb4g3, can you please post chesums for the archive files? I suspect some people suffer from bad downloads.
[G2 and Desire Z Android Development] domi65:
Hi!

I'm getting an error while doing:

adb shell /data/local/tmp/psneuter

-->

sz: 65536

ioctl sz: 65536

Failed to purge caches (Operation not permitted)

What am I doing wrong?

THX!
[G2 and Desire Z Android Development] menollo:
Get older revision of psneuter...

in linux:

git show 670169d0051c7be0c6af56b08087eb0c9f488a57:scotty2/psneuter/psneuter > psneuter_old

push this file to your phone:

adb push psneuter_old /data/local/tmp/psneuter

then continue with the guide from first post at point 4. (push the 'misc_version' file etc (if you haven't already done that))
[G2 and Desire Z Android Development] YOSEFE:
Below is a caption of the error, please help. I need to get to the end of the procedure.

C:\AndroidSDK\android-sdk-windows\platform-tools>/data/local/tmp/gfree -f

The system cannot find the path specified.

Thanks.
[G2 and Desire Z Android Development] steviewevie:
That command needs running on your phone, not your PC.
[G2 and Desire Z Android Development] steviewevie:
I realise you've got past this stage now, but busybox is in the "root.zip" file that you need to download for this procedure, just like AndroidTerm.apk is too. So I can only guess that either you didn't download/extract root.zip, or some anti-virus software or similar has blocked it from being extracted/used.
[G2 and Desire Z Android Development] YOSEFE:
Thanks for #83 and this response.

I have now succesfully completed all the steps.

Can I take it that step #20 is optional in that I already have version 1.34 from previous steps, and do not need to load anything from/through ROM Manager?

Lastly, in ROM Manager I get a question to confirm phone model to "HTC G2". Should I confirm it since mine is a DZ?

Thanks.
[G2 and Desire Z Android Development] steviewevie:
Glad you got it sorted. Yes, step 20 is optional, you don't have to do anything there. However, I recommend that you do install ROM Manager and then flash Clockwork recovery from there, because it lets you do a very useful thing - that's a full backup of your ROM, which you can use to restore back to if you ever try out another ROM or make any other significant changes. It is optional though, you don't have to do it at all.

You are correct that you don't have to flash another ROM from ROM Manager, reading what I just wrote I am now thinking that is what you were really asking. If you are happy with 1.34 then you can just stay there.

Yes, you should say that you have a G2 when ROM Manager asks you. ROM Manager should really say "Vision", or "G2/Desire Z".
[G2 and Desire Z Android Development] domi65:
hi and thanks for your answer, but I don't know what to do at this step:

executing this command via 'adb shell' i get an permission-error...

Where can I find an older verison of this file?

Thx!

domi
[G2 and Desire Z Android Development] Vicelead:
Hi guys!

I´m having some trouble with this..

I get to step 10 in the guide, all fine.

But as I go into Bootloader it automatically starts trying to flash the PC10IMG.zip. Which afters some work fails, "Main version i older! Update Fail! Press <POWER..."

Dont really know how to handle it from here, any ideas?
[G2 and Desire Z Android Development] YOSEFE:
Thank you very much. This has been a long journey. Not as long a journey as that of all of you guys helping us out here though.
[G2 and Desire Z Android Development] NoFatePPC:
question :

i have never rooted my device before , but my Desire Z contains the latest OTA update...

is it possible to perm root the device without downgrading to an earlier build ?

1) the guide on the first page does mention that you need to downgrade to an earlier rom

2) can some provide this guide is 1) is possible, or can some1 create a sticky for this ?

3) if it is possible to stay on the current rom 1.72 and in follow the guide , will my device be swiped then? (loose all settings/data)
[G2 and Desire Z Android Development] steviewevie:
Something has gone wrong in steps 1-6, because if you just try to flash that ROM without doing this procedure, that's the error you will get. Go back and go through it again, carefully checking for any error messages that may come up.
[G2 and Desire Z Android Development] g4rb4g3:
1) yes, no other way at the moment.

2) it works for sure except your CID is not supported by the PC10IMG.zip (like VODAP001)

3) not possible, full wipe will happen
[G2 and Desire Z Android Development] YOSEFE:
I agree that if you skip any steps, unless the mod says so and your device meets the conditions to necessitate the skip, you will not get the results you are looking for.

On another note steviewevie,

tbalden wrote about applying the 1.7 OTA:

'Yep, but after you will need to temproot AGAIN with pneuter and then permaroot from adb shell the way it was described in the thread of the exploit. It will stick then as u have sOff then done in your downgraded rom.

Check posts here by guhl99.'

What is your advice, as I would like to get 1.7 back on, but with perma root this time? And what would you say about the rom you are using on your Vision?
[G2 and Desire Z Android Development] menollo:
Scotty2 committed a new revision:

So you should just follow the first post (download en push the psneuter file again).