yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] Gambler_BE:
Ok, I've got the following error when going to bootloader and it scans for the .zip :

"CID incorrect! Update Fail! Press <POWER> to reboot."

Does that mean I did something wrong with the gold card? :s (Only thing I can think of is that I formatted the sd card to fat-32 using the phone because I don't have a card reader in my pc xD)

btw this is the output when doing "fastboot oem boot" to check my cid

maybe it has something to do with the FAILED at the end?

E:\Programs\Android-sdk\tools>fastboot oem boot
...
(bootloader) setup_tag addr=0xA0000100 cmdline add=0x8D086CF8
(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__E41
(bootloader) setting->cid::HTC__E41
(bootloader) serial number: SH0CHRT00213
(bootloader) commandline from head: no_console_suspend=1
(bootloader) command line length =465
(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__E41 androidboot.batt_poweron=good_battery android
(bootloader) boot.carrier=HTC-BE androidboot.mid=PC1011000 androidboot.ke
(bootloader) ycaps=qwerty androidboot.mode=normal androidboot.serialno=SH
(bootloader) 0CHRT00213 androidboot.bootloader=0.85.0008 no_console_suspe
(bootloader) nd=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:103723 msec
FAILED (status read failed (Too many links))
finished. total time: 9.147s
[G2 and Desire Z Android Development] guhl99:
Yes, that's what it means.
[G2 and Desire Z Android Development] Gambler_BE:
ok, I'll try making the goldcard again :)

Do you know anything about the "FAILED" at the end of what the fastboot returns?

And do you (or anyone else) know if it's important to use a card reader to format the sd-card in stead of the phone itself?

Thx, :)
[G2 and Desire Z Android Development] gu:
After many years of hacking and tweaking my Win Mobile devices, I've taken the step over to the Android world. I'm trying to get the hang of this, but it's all new to me, so some of my questions may be stupid.

When I got my Desire Z with 1.34, I used gfree to get root and s-off. Later, I accepted the 1.72 OTA-update, and the root was gone. Now I have a few questions:

1. As I understand it, there is no way to obtain root with the official 1.72 update. Correct?

2. As long as I have s-off, I can flash any ROM I want. No need to downgrade first. Correct?

3. Is there any way for me to make a complete backup of my system now, when I don't have root?

4. I have a DZ with a nordic hardware keyboard. How do I flash a new ROM (one of those found in here) and still keep my nordic keyboard working?
[G2 and Desire Z Android Development] guhl99:
Hi!

No if you are S-OFF after gfree your system partition is not write protected anymore and you can root the 1.72.

There is a thread in development about this.

The principle procedure is

- use psneuter to gain temp root

- use busybox, su, Superuser.apk and the root script to lock in root. (There are special versions of su and Superuser.apk for 1.72 and above.

Find the details in the thread.

Have fun - Guhl
[G2 and Desire Z Android Development] guhl99:
The FAILED has something to do with the how the extended partitions are linked in the partition table. It would lead to endles recursion. There are details about this on IntuitiveNipple's wiki. (tjworld.com) It is not related to your problems

Well it is important that you write the goldcard to the beginning of th card (the device) and this will not be accessible without a cardreader
[G2 and Desire Z Android Development] gu:
Thanks for your reply. This is good news.

However, I've been searching, searching and reading, but I'm not able to find a thread about rooting 1.72.

I've tried psneuter, and have no problem getting temp root. But where do I go from there? Maybe I'm going blind, but I cannot find a Superuser or su for 1.72. The root method in the Wiki is for 1.34, right?

If anyone can point me in the right direction, I would be really greatful.
[G2 and Desire Z Android Development] guhl99:
Some time ago I posted this:

http://xdaforums.com/showpost.php?p=10433864&postcount=256

This should show you how to root again.

And the updated versions for su and Superuser can be found here:

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

There is a download link in the end of the posting

Hope this helps
[G2 and Desire Z Android Development] gu:
Thank you very much for your help.

I tried this method, but I get some error messages and no permanent root.

After adb shell chmod 0755 /data/local/tmp/*, I get this message:

Unable to chmod /data/local/tmp/gfree: Operation not permitted

After # /data/local/tmp/root, I get this message:

/data/local/tmp/root: permission denied

Any idea what the problem is?
[G2 and Desire Z Android Development] dazkeirle:
I hope this isn't the worlds most stupid question but...

Where it says that i put the 1.34 rom onto the root of the sd car (not in a folder) in the guide,

Do I unzip the 1.34 rom onto the root of the sd card or leave the file there as a zip?

Thanks.
[G2 and Desire Z Android Development] harriz:
Wrong post

10char
[G2 and Desire Z Android Development] Gambler_BE:
Ok, thx a lot! :D

Guess I'll start looking for a card reader then ^^
[G2 and Desire Z Android Development] LickTheEnvelope:
Question.

I understand entries in cmd prompt and how this works... but i'm not too familiar with adb shell.

So I go to the temp root folder I saved it to. I get cmd there and and type adb shell. I get the '$' then I try:

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

And for all of them I get 'permission denied' ? What am I missing here?
[G2 and Desire Z Android Development] ckong1:
hey guys, i'd appreciate any help i can get. I have a bell Z 1.34.666 firmware and was trying to downgrade in order to perma root. I bought the phone unrooted and tried visionary (a result of lack of research). Since then I've uninstalled to follow the wiki guide. but, i've run into roadblocks everywhere. The weird thing is that I still have superuser even after reboots and battery removals from visionary.

My issues with downgrading is that i get permission denied anytime i try to run those adb shell chmod commands. maybe factory reset and start over?
[G2 and Desire Z Android Development] Miketoberfest:
Hey guys. Really hoping I could gain some insight on why I am stuck where I am.

I just finished an OTA update on my bell DZ (foolishly) bringing firmware to 1.84. Prior to this the phone has been untouched in terms of rooting. Full s-on. Everything. After reading these forums no less than 20x each, I wasn't able to find any info on whether this method would work with 1.84 so I tried it anyway. After creating a goldcard and following the steps provided, I keep getting stumped at Step 11. Scans the card for PC10img.zip blue progress bar 100% green 100% than i get the error Model ID Incorrect. press power to restart or whatever. I have remade the goldcard in a few different ways to no avail. Same error every time. I will also point out that I am trying to downgrade to the 1.34 provided in the guide.

Thanks in advance for any and all help.
[G2 and Desire Z Android Development] ckong1:
Success! I didn't create the goldcard correctly. Thank for the guide!
[G2 and Desire Z Android Development] GottaStayFly:
okay sorry for being a major noob here... i downloaded all the files to my desktop i got the adb and everything set up but when i input the commands into cmd "adb push psneuter /data/local/tmp" it says cannot start 'psneuter' : no such file or directory.. i made sure that when i saved the file it didn't have the .txt ending but it doesn't work.
[G2 and Desire Z Android Development] guhl99:
You have to use all these commands before you do the first adb shell !!!

i.e. the first command "adb push psneuter /data/local/tmp" means:

push (=copy) the local (local on your PC) file psneuter to the remote (on the remote device = phone) destination /data/local/tmp (which is a directory)

The command assumes the following things:

- adb is in your path

- the file psneuter is in your current directory

you could also use absolute file names

C:\android-sdk-windows\platform-tools\adb c:\install\psneuter /data/local/tmp

The command adb shell has 2 possible ways how it works:

1. adb shell <command>

Executes the <command> on the remote device and returns. So i.e.

adb shell chmod 777 /data/local/tmp/psneuter

executes the command "chmod 777 /data/local/tmp/psneuter" which means that it should change the rights mask to 777 which means execute,read,write for owner,group,world of the file /data/local/tmp/psneuter

2. adb shell

creates an interactive command shell on the remote device.

All commands that you type in the resulting shell (indicated by a $ prompt if you are not root or # if you are root) are executed on the remote device until you leave the shell (by using the command "exit")

So much for adb and shell knowledge.

Now with your new knowledge reread the commands that you should execute and try to understand what they do.

have fun - Guhl
[G2 and Desire Z Android Development] guhl99:
I means that there is no file psneuter in the current directory where you are executing the command.

So either change the directory to where the file is by using the cd command or use an absolute path like

C:\android-sdk-windows\platform-tools\adb c:\install\psneuter /data/local/tmp/

assuming that adb in installed in

C:\android-sdk-windows\platform-tools\ and the file psneuter is in c:\install\

Have fun - Guhl
[G2 and Desire Z Android Development] Wicked1ab:
I've been trying to root my Friends G2 recently and have been having troubles with all the previous methods that worked when I purchased mine. None of which have been working. I've noticed a lot of other people having the same problem as me too, my question is this:

Does anyone know if this method is still safe to use? Some people have reported bricked phones due to attempting S-Off with some of the old methods.
[G2 and Desire Z Android Development] davi5:
Hi Gambler_BE,

I'm running into the same issue here too. I tried formatting the microSD via an adapter and via the phone. Both doesnt work for me. I'm always getting the error: "CID incorrect. Update failed.".
[G2 and Desire Z Android Development] savleee:
Hi all,

i made every step exactly from first post, i have s-off, rooted 1.34.., flashed and working clockworkmod.

When i flash any custom rom (doesn't matter if directly thru clockwork or rom manager, tried virtuous and cyanogen), after reboot phone hangs on white screen with HTC sign. Adb logcat doesn't work, only adb reboot (recovery) and then nandroid recovery to 1.34.

Any idea, where can be the problem?

Thanks for any help.
[G2 and Desire Z Android Development] Kangburra:
Are you flashing the right ROM, I had to find one for Asia as that's where the phone is from. Once I realised it is like DVD regions it all worked fine. Once I did the downgrade, S-OFF I can flash anything.

Also I used a Goldcard tool which took care of the writing to the SD card for me.

http://android.modaco.com/content/software/308798/pc-application-goldcardtool/
[G2 and Desire Z Android Development] davi5:
I tried doing everything on Windows XP instead of Vista, and it worked for me.

There's no mmc2 option on the Goldcard tool right ?
[G2 and Desire Z Android Development] Kangburra:
No, 0 or 1, I thought it worked using 1 but I might be wrong. So you're fixed up now?
[G2 and Desire Z Android Development] komani86:
Ooh! Thank you for making that clear.

I'll just download a ROM that uses the latest firmware then indeed!

I'm missing sense, even though my phone is 100x faster.. might try virtous the rom then, think he had one with the latest firmware!
[G2 and Desire Z Android Development] Ninj:
Virtous is a good choice. You have very little chance not to be happy with it.

When installing (or after), install the Standard Virtuous kernel, it's better than the stock kernel.

Don't forget to backup (Titanium), Nandroid (Clockworkmod), and full wipe data/cache before installing Virtuous.

Then, see you on its thread soon ;)
[G2 and Desire Z Android Development] davi5:
I read somewhere here on xda, someone mentioned mmc2 should be the correct one to use when generating the goldcard. The moment I tried on Windows XP, mmc2 could work. Previously on Vista, mmc2 cant be found.

Yeah, downgraded and I'm now on Virtous ROM.
[G2 and Desire Z Android Development] story:
If I have SIM Unlocked by gFree at a earlier fimrware.

Is that unlock a perm unlock?
[G2 and Desire Z Android Development] Ninj:
Nothing is absolutely permanent. Depends on what you do next. Flashing an official stock RUU will reset the Sim Unlock.
[G2 and Desire Z Android Development] guhl99:
This is absolute nonsense !

Up to now (and it is extremely likely that this will not change) no stock RUU (or stock ROM zip) or update will change radio S-OFF, Super-CID or SIM-unlock.

Of course you will loose root when you install a stock ROM and if you install a newer radio firmware you will loose the ability to change the S-OFF, Super-CID or SIM-unlock information but if you are S-OFF you stay S-OFF (and same for Super-CID and SIM-unlock)

Have fun - Guhl
[G2 and Desire Z Android Development] Ninj:
What a way to answer :)

Hum, ok, i knew for sure about S-OFF and CID, but i thought i red already that the Sim-Unlock is in Radio ROM, which is overwriten by stock RUUs.

Well, my bad then.
[G2 and Desire Z Android Development] story:
I have the Model ID Incorrect too.

Do I need a GOLD CARD?
[G2 and Desire Z Android Development] Miketoberfest:
Yea you need goldcard. After successfully creating one (Thanks again Bloodlvst!!) I was able to complete the downgrade from 1.84.
[G2 and Desire Z Android Development] hughyb:
For reasons too depressing to go into right now. I need help

I have followed the instructions on my DZ but it wont see the PC10img.zip file. When I run fastboot oem

(bootloader) setup_tag addr=0xA0000100 cmdline add=0x8D0876E8
(bootloader) TAG:Ramdisk OK
(bootloader) TAG:smi ok, size = 0
(bootloader) TAG:hwid 0x0
(bootloader) TAG:skuid 0x25202
(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__001
(bootloader) setting->cid::HTC__001
(bootloader) serial number: HT0AGRT00105
(bootloader) commandline from head: no_console_suspend=1
(bootloader) command line length =466
(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.02.01.15_M2 androidboo
(bootloader) t.cid=HTC__001 androidboot.batt_poweron=good_battery android
(bootloader) boot.carrier=HTC-WWE androidboot.mid=PC1011000 androidboot.k
(bootloader) eycaps=qwerty androidboot.mode=normal androidboot.serialno=H
(bootloader) T0AGRT00105 androidboot.bootloader=0.82.0000 no_console_susp
(bootloader) end=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) partition number=7
(bootloader) Valid partition num=7
(bootloader) jump_to_kernel: machine_id(2245), tags_addr(0x4000100), kern
(bootloader) el_addr(0x4008000)
(bootloader) -------------------hboot boot time:12399 msec
FAILED (status read failed (Too many links))
finished. total time: 7.310s

This is the output, as you can see it says its is a HTC__01 so should work.

My Bootloader however says:

Vision PVT Ship S-Off

HBOOT-0.82.0000

Microp-0425

Radio- 26.02.01.15_M2

eMMC-boot

Sep 2 2010 17.59:38

MY Goal was and is to get my phone back to stock so can be sent away for warranty repair. I have currently working a tmobile g2 rom.

Any Ideas?
[G2 and Desire Z Android Development] twinnaz:
For bell htc desire z users with error model id incorrect

FOR BELL HTC DESIRE Z USERS WITH ERROR MODEL ID INCORRECT

use RUU from http://xdaforums.com/showthread.php?t=815253 instead of the one mention in the guide to downgrade.

If you have downloaded the 1.34.405.5_PC10IMG.zip copy it to you SD-Card and rename it to PC10IMG.zip.

If you downloaded the full RUU or had it already execute the exe file (mine is called RUU_Vision_HTC_WWE_1.34.405.5_Radio_12.28b.60.140e _26.03.02.26_M_release_155556_signed.exe), start explorer and type %temp% in the adress bar.

Look in all the folders starting with a { sign and also in the sub directories if it also starts with a { sign, in one of the subdirectories there should be a rom.zip file with 298.442.206 bytes and the MD5 sum 2ff42897cd27e0db425a2cf36c8bd078.

Copy this rom.zip to your SD-Card on the phone and rename it to PC10IMG.zip
[G2 and Desire Z Android Development] Kangburra:
Why can't you just flash the stock RUU? That will put everything back except the s-off.
[G2 and Desire Z Android Development] duke24:
Downgrade won't work (solved)

Hello,

I have an unbranded Desire Z. This is what the Bootloader shows:

VISION PVT SHIP S-ON
HBOOT-0.85.0010
MICROP-0425
RADIO-26.04.02.17_M2
eMMC-boot
Dec 27 2010, 22:19:17

Till step 10 everything is fine, but when I start the bootloader, there are no asks or instructions on the phone, only following:

PC10DIAG.zip
not found
PC10DIAG.nbh
No or wrong image
Loading... PC10IMG.zip

And a blue bar runs at the side, if the bar is fully blue, FASTBOOT is highlighted and I can reboot, but the phone is not asking for reboot. If I reboot then, the phone starts normally and the Firmware is still 1.82.

Can anyone tell me what is wrong?

Edit: Something went wrong, if I copied the 286MB Update file. Now the downgrade is ready and my G2 is rooted.

Thx

Daniel
[G2 and Desire Z Android Development] kazuki1:
can i get help? everytime i get to step 10 i get an error saying

PC10IMG.zip

not found

PC10IMG.nbh

No or wrong image

Loading... PC10IMG.zip

then it gives me the list of fastboot, recovery, factory reset, simlock and image crc.

My desire z is a tmobile g2 with this

VISION PVPT SHIP S-on
HBOOT-0.82.000
MICROP-0425
RADIO-26.03.02.26.m
eMMC-boot
Sept 2 2010, 17:59:38
[G2 and Desire Z Android Development] Kangburra:
OK, how are you getting the file PC10IMG.zip? Is everything working, no errors in steps 1-9? Are you doing step 6 on the phone, not in the CMD window?
[G2 and Desire Z Android Development] kazuki1:
i got my pc10img from the first post with the instructions. its the 1.34.405.5_PC10IMG.zip, I get no errors in any steps and have been doing step 6 on my comp.
[G2 and Desire Z Android Development] story:
http://theunlockr.com/2010/12/01/how-to-unroot-the-t-mobile-g2-htc-vision/

It said in one of the users that the SD Card needs to be partition, which I don't know how as well.

How do I partition my SD Card with stock recovery?

It doesn't even have that option.
[G2 and Desire Z Android Development] Ninj:
Partioning the SD is for the APP2SD feature, as far as i know. If the ROM you're going to use does not have this feature, then no need to partition.
[G2 and Desire Z Android Development] story:
I need it because it pertains to downgrading to 1.34.

I am getting a NO IMAGE for PC10IMG.zip

It's not working on two of my 2GB MicroSD (Gold Card). I read that it has to do with the SD card not partitioned. Which I have no idea how to do it without a custom recovery.

I have a 8GB MicroSD and that will detect the PC10IMG but it's giving me a Model ID Incorrect. I've already double check the GOLD CARD and select Physical disk etc.

I think it's time for me to give up.
[G2 and Desire Z Android Development] Ninj:
Ok, i didn't know that the downgrade process with goldcard involved a partioning, sorry :)

But don't surrender if it's only a matter of partition. Could you give an exact link of where you red that?
[G2 and Desire Z Android Development] story:
I am just trying everything. I posted it already but here is it again.

http://theunlockr.com/2010/12/01/how-to-unroot-the-t-mobile-g2-htc-vision/

Search for "No Image" and you will see the discussion.
[G2 and Desire Z Android Development] kazuki1:
is the pc20img on the link provided the one im supposed to use for downgrading? also, how would i check the firmware if its 1.34?
[G2 and Desire Z Android Development] story:
No, use the one in this thread. We are working with Desire Z, not the G2.
[G2 and Desire Z Android Development] kazuki1:
but when i use the one here i get this

PC10IMG.zip
not found
PC10IMG.nbh
No or wrong image
Loading... PC10IMG.zip

and it goes back to bootloader
[G2 and Desire Z Android Development] story:
That's what I am getting too.

I have no idea how to fix. Read my message in previous page.
[G2 and Desire Z Android Development] kazuki1:
hey if you are using a g2, I went to the wiki and just followed the root guide, overlooking this problem with the img not being found, and it worked. So i guess g2's dont need to downgrade.
[G2 and Desire Z Android Development] story:
I am not using a G2.

I can't S-Off if I can't downgrade and that's why I am in this thread.
[G2 and Desire Z Android Development] Kangburra:
[<edited>]
[G2 and Desire Z Android Development] jmpcrx:
After reading a few posts on here, am i right in thinking if i downgrade to 1.32, i will loose the htc sense ui, giving me just stock froyo? Unless i use virtuous rom? If so, is the virtuous rom full of bugs like every rom i ever tried over at win mobile? Thanks..

Also , am i able to still do a ota official update after downgrading if i wish? Say, gingerbread?

Thank you..
[G2 and Desire Z Android Development] Kangburra:
Why do you want to downgrade? There is an rmk ROM which is mostly stock and rooted you can use after getting S-OFF.
[G2 and Desire Z Android Development] jmpcrx:
I have the 1.72 update with s-on etc and am after getting perm root, allowing me to overclock..