yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] steviewevie:
I wish I knew ! Given that your phone isn't rooted, I don't know. But there must be some way to do it, because ROMs were uploaded before the phone got root. Hopefully someone else can help.

It's interesting that you got the "correct" error message from the "wrong" wpthis module, which sort of implies that the original wpthis module is the right one to use for your phone, perhaps it has the same kernel as the OTA update on the G2 or something ?

This issue needs raising with the guys who did wpthis, but as far as I know that's from the G2 side (another reasons the forums should be merged, if we needed one).
[G2 and Desire Z Android Development] steviewevie:
I would at least start a new thread on this, to highlight the different ROM used by Vodafone - in the DZ General forum perhaps ? Or even in this one ?
[G2 and Desire Z Android Development] gtrab:
Testing an RUU is safe unless you have a custom ROM or G2 ROM.

If you don't have a goldcard the RUU won't flash and say "wrong version", if you have a goldcard it will proceed and flash the generic firmware.

How did your friend debrand ??

Can you confirm visionary14's wpthis.ko does work ??

Please keep reporting
[G2 and Desire Z Android Development] RyanMacG:
I mentioned it to Paul O Brien on twitter and he says it's down to Visionary dynamically creating the wpthis file. Would it be worth posting a question in Q&A or will it just die?
[G2 and Desire Z Android Development] steviewevie:
This is my first Android phone, so I don't know how this is usually handled. But I would have thought it must be a fairly common situation for a new ROM to crop up on an Android phone which needs something doing for it so that it can be rooted etc. Anyone else have thoughts ?
[G2 and Desire Z Android Development] gtrab:
This is different

You should report this at paul's visionary r14 modaco thread

[EDIT] saw you already reported

I can´t help any further, let's see what paul has to say
[G2 and Desire Z Android Development] valve90210:
Are these simple to install and will they mess anything up on the phone, I've seen reports of problems with the Wifi MAC address???
[G2 and Desire Z Android Development] gtrab:
Check the godspeed thread
[G2 and Desire Z Android Development] RyanMacG:
Sorry my friend had similar issues on the original desire until he debranded. Going to get a dump of the ROM tonight and see if that helps
[G2 and Desire Z Android Development] RyanMacG:
Should say that I've now provided a relevant file to the guys over on #G2ROOT I'll keep you posted if I hear any more but for now I'd advise you leave you VF Z at temproot until they fix the permroot issue :)
[G2 and Desire Z Android Development] gtrab:
I've added a note to the OP in the mean time

Sent from my Godspeed 1.4GHz HTC DZ
[G2 and Desire Z Android Development] RyanMacG:
Yeah I saw, thanks :)
[G2 and Desire Z Android Development] neosto:
It worked! Godspeed 1.4 ghz now running. Not that hard to do. Thanx guys for all your affords here.
[G2 and Desire Z Android Development] shorty2k5:
Maybe it's just me, but I can't get my HTC Desire Z to S-OFF :(

I followed your instructions, inserted the hboot via dd into /dev/block/mmcblk0p18.

It said something about 2048 bytes written.

but after typing sync + power off, I'm still on S-ON in my bootloader.

Any suggestions? Root seems to work correctly as e.g. Titanium Backup is working.

I read this about 10 times and tried everything as stated in the manual but I can't figure out what the problem is? Is it the sync command or the dd command that doesn't work? Of something completely else?

Thanks in advance & Regards,

David
[G2 and Desire Z Android Development] RyanMacG:
For further info regarding the specific issues on the Vodafone Desire Z we'll be using this thread in future. Also worth checking out if you want to help us :)

http://xdaforums.com/showthread.php?t=851421
[G2 and Desire Z Android Development] gtrab:
cool

will follow
[G2 and Desire Z Android Development] gtrab:
Please provide some basic info,

otherwise we are blind: we don't know what kind of phone / firmware you have

(hardware model, firmware, kernel, generic or branded...)

EDIT PS: your problem seems related to the wpthis module not turning off the write/protection for the S-OFF changes to stick, that may be why you are loosing S-OFF after rebooting.

Did you check your wpthis MD5 checksum to discard a corrupted download ??
[G2 and Desire Z Android Development] steviewevie:
Didn't you say in the other thread that you can't get perm root ? Does Titanium Backup keep working after reboot ? After a reboot, can you get a shell up via a terminal emulator and do "su" and get a root prompt ?

When you ran the "insmod" exactly which error message did you get ? You need to get the "right" error message to show that it's working, if you get other error messages then that hasn't worked (disabling the NAND write protection).
[G2 and Desire Z Android Development] angelotseb:
S-OFF

Hello guys, thanks for the guide! i got my HTC vision rooted!

but I still have a little interrogation...

I can only install RC build (signed builds) of cyanogenmod. I checked and my phone is not S-OFF, i tried again the instruction to turn my phone S-OFF

after the first cmd insmod /sdcard/wpthis-Z.ko i got the following error:

insmod: ini_module '/sdcard/wpthis-Z.ko' failed (exec format error).

How do i turn my phone S-OFF again, when the android version installed is "update-cm-6.1.0RC1-vision-signed"?

thanks!
[G2 and Desire Z Android Development] shorty2k5:
Titanium Backup stops working after reboot bekause of perm root not working

su does not work as well in the terminal

no error message indicating anything wrong after the "insmod wpthis-z.ko"

kernel: 2.6.32.21-gd2764ed htc-kernel@and18-2 #1 Tue Oct 26 16:04:03 CST 2010

build-number: 1.34.405.5 CL273327 release-keys

Software-number: 1.34.405.5

HTC Desire Z unbranded, bought in Amsterdam, Netherlands at BelCompany.

I did check all MD5s stated in various posts here around the forum.

What I tried so far:

temp root + permanent root via visionary+ --> no perm root

rage root --> no perm root

touch /system/anything after busybox mount -o remount,rw /system --> gone after reboot

custom wpthis-Z.ko (thanks @skitzophrenick again for the help via IRC) with kernel version as stated above --> http://pastebin.com/PgumF88x log (note line 2106 and below)

Regards,

David
[G2 and Desire Z Android Development] gtrab:
still no solution to this issue

there's a new stickyed thread to deal with this situation
[G2 and Desire Z Android Development] da_enlightener:
So I've tried to flash a new rom using both ways:

1) gold card +htc sync

2) s-off with rom on card

in either case i get the model id error.

I have question about the goldcard. I've tried 2 different things. First i created the goldcard, inserted it into the phone (phone says "preparing sd card") and then i try to flash it--> error

so then i try goldcard but this time i boot into fastboot recovery and repeat the same process...still same error.

What am i doing wrong?

I have the Bell DZ
[G2 and Desire Z Android Development] gtrab:
the goldcard is not well prepared, otherwise it would not fail and would let you flash

you need ADB and follow Apache14's instructions (check his thread, JUST the portion to create a goldcard))
[G2 and Desire Z Android Development] skandinaff:
Hello everyone.

I've got my HTC desire z rooted by this manual, and everything seems to be ok.

But. I wanted to remove some pre-installed apps, like amazon-mp3, twitter etc. With root manager I deleted them, and it looked like forever.. but after reboot all those apps appear again.

So, what is the problem?
[G2 and Desire Z Android Development] Lennyuk:
you either need to s-off and do what you have done already, or delete via the app "titanium backup"

If you choose titanium backup then go to the middle tab find the app, long press the app and select "remove via exploit" or something like that, its near the bottom of the list.
[G2 and Desire Z Android Development] skandinaff:
I tried first way, install busybox, titanium backup, run it.. but in list of objects in second tab were only some few items (like widgets, wifi access points, contacts etc) but there wasn't any apps. I tried configure settings but nothing happens, only 5 items in the list. What is wrong now?

And about a second way.. how I understood, S-OFF will give me access to modify files on the ROM, and turn this ability I can only with returning on standard firmware? and.. "apply the Engineering hBoot" as I see, can brick my device, so I'm a bit afraid make S-OFF, especially if I don't know exactly, will it helps me or not..

May be someone who have experience in deleting stock apps on Desire Z, can give me some advices?
[G2 and Desire Z Android Development] toomuchdogfur:
Success with an Asian HTC Desire Z!

Just wanted to report a successful root, S-OFF and image reflash with an Asian HTC Desire Z - awesome guide, I stuck to it and it paid off! I did encounter some issues:

- Wi-Fi would not pick up any networks - rectified by deleting /data/misc/wifi/wpa_supplicant.conf as per http://xdaforums.com/showthread.php?t=703105 (needs root - ES File Explorer couldn't show me the files even with root, so I ended up using terminal to do it)

- ClockworkMod Recovery failed to flash its image so I got that lovely red exclamation mark when trying to access the recovery boot. Restarting the phone and attempting the flash again did the trick.

You might want to add a recommendation to check MD5 on the files used as the thread you linked to has such a recommendation, and also you know how important those files are!

But seriously, thanks heaps - this is a great write up! I was trawling through this forum for days trying to figure out how to root, recovery and flash a friend's HTC Magic so I was apprehensive about trying that again with my new Desire Z - but thankfully, you wrote this guide and saved lots of people lots of time! :)
[G2 and Desire Z Android Development] Boosh63:
Do the instruction in this thread make any assumptions that those attempting them have some Android device skills?

I've tried all of them and I still cannot flash successfully. Thankfully, I haven't bricked my device. I keep getting a device ID error...

I just purchased my phone last Friday...I wonder if it's too new.

All I want is Locations and the car panel.
[G2 and Desire Z Android Development] steviewevie:
What have you tried, and whereabouts are you getting that error ?
[G2 and Desire Z Android Development] Boosh63:
Thanks for your reply. I'm going to give it one more shot and try to detail exactly what I'm doing against the instructions.
[G2 and Desire Z Android Development] gtrab:
If you get problems, suggest restoring to factory defaults fist, then applying the root with visionary

I've been learning how the Partitions stuff works, even Angry Birds creates a mini partition :confused: everything makes little partitions, I still don't get why but I'm reading like crazy to understand why

Rooting a clean device seems easier than a full-loaded device

Some users report success this way, I still dunno why
[G2 and Desire Z Android Development] Boosh63:
When I boot into ClockMod Recovery the error is:

E:Can't open /sdcard/PC10IMG.zip (bad) Installation aborted.

Perhaps I need to download the ROM again?
[G2 and Desire Z Android Development] steviewevie:
It does sound like there's something wrong file the file. Where did you get it from ? You didn't just download the RUU and rename it to PC10IMG.zip , did you ?
[G2 and Desire Z Android Development] Boosh63:
No sir. Started up the RUU and the found the extracted ROM on my system. I also downloaded the zip file. I think I used the downloaded one...I shall try the one that's on my computer.
[G2 and Desire Z Android Development] steviewevie:
Sorry if I insulted your intelligence there :)

Hang on though, I just thought of something. I'm not sure you can flash a PC10IMG.zip like that from ClockworkMod, it's from HBOOT that you do that. I wonder if ClockworkMod expects a different format of zip ?

If you just want to flash that ROM, go into HBOOT and it will flash automatically (after asking you for confirmation).
[G2 and Desire Z Android Development] Boosh63:
I don't insult very easily...

As far as intelligence goes...I do feel rather inept at the moment.

The S-off isn't permanent is it?
[G2 and Desire Z Android Development] steviewevie:
How do you mean ? It's permanent until you flash a new S-ON HBOOT (but you need to do so carefully if you're going through that procedure, so as not to end up with a brick depending on what you're doing with the ROM version too).
[G2 and Desire Z Android Development] angelotseb:
S-OFF

How do you get S-OFF again when the phone is rooted?
[G2 and Desire Z Android Development] steviewevie:
There's a "How to S-OFF" section in the first posting of this thread ;)
[G2 and Desire Z Android Development] Boosh63:
Got it!!!

I got a Goldcard app from the Market and noticed that there were 2 card ID's I used the one that I "wasn't" using and it worked!!

Thanks for all your replies.
[G2 and Desire Z Android Development] gtrab:
Good to hear that

@steviewevie: thanks for all your support around here mate, I really appreciate your help
[G2 and Desire Z Android Development] Redbaser:
permission denied

When I type su whit my hardware Keyboard, i got the txt permission denied, and I back whit the $.

Can any sombody help my
[G2 and Desire Z Android Development] YuBlue:
You haven't rooted yet
[G2 and Desire Z Android Development] Redbaser:
i have done that, i can open the program Superuser, like is talled in de first post.

Is there a other place to check of the Rooting is dann wel
[G2 and Desire Z Android Development] steviewevie:
How did you do root, did you use Visionary ? Because it sounds like it's not sticking after a reboot.
[G2 and Desire Z Android Development] gtrab:
he could have gotten one of the newer batch

have you checked the stickied thread ??

you could check your serial no. there
[G2 and Desire Z Android Development] click2me:
help!!

im in a rooting process, but it seems like the process stuck when i attempt temproot, waited for 10min or more now, but still on the screen "rooting device,please wait".. can i just cancel the process, and how? helppp!:confused::confused::confused:
[G2 and Desire Z Android Development] click2me:
helpp!!..now about half an hour, still stuck here..anyone pls advice..can i just pull out the batery?
[G2 and Desire Z Android Development] gtrab:
PMed

your experience could help to perm root new devices (asia and vodafone UK)

please go here:

http://xdaforums.com/showthread.php?t=851421
[G2 and Desire Z Android Development] Redbaser:
Check Serial in Stickie thread

I haven't Check, I don't no what too check, can you Help me,

My serial is: s/n SH0B1RT01721
[G2 and Desire Z Android Development] RyanMacG:
Yeah that's the new model that hasn't been rooted yet...it's being worked on by the guys in #G2Root

EDIT: If you use visionary you can at least have temproot at the moment
[G2 and Desire Z Android Development] huetson2:
hi, i have a vodafone branded z, and have managed to perm root but i am unable to obtain s-off and have followed the instructions to the letter.

any suggestions please?
[G2 and Desire Z Android Development] steviewevie:
See http://xdaforums.com/showthread.php?t=851421
[G2 and Desire Z Android Development] angelotseb:
I did read the how to S-OFF and it's work the first time, but after trying to update my android version i lost the S-OFF.

Now I can only install RC build (signed builds) of cyanogenmod.

after the first cmd insmod /sdcard/wpthis-Z.ko i got the following error:

insmod: ini_module '/sdcard/wpthis-Z.ko' failed (exec format error).

How do i turn my phone S-OFF again, when the android version installed is "update-cm-6.1.0RC1-vision-signed"?

thanks!
[G2 and Desire Z Android Development] steviewevie:
The wpthis-Z.ko kernel module is specifically designed for the stock Desire Z kernel/ROM. You're not running that though, you're running Cyanogen, so you need to check what version of wpthis is needed for that (e.g. in the Cyanogen thread on the G2 side).

How did you lose your S-OFF and be able to flash a version of CM though ? That sounds a bit strange but I may well be missing something.
[G2 and Desire Z Android Development] RyanMacG:
I think there is a CM specific wpthis floating around, try #cyanogenmod on IRC for some more advice :)
[G2 and Desire Z Android Development] Max):
Success story with Bell!

My Bell Desire Z work now with the Euro RUU!

The problem was: the Goldcard utilty!

What I did:

1) Download the Goldcard utility in the forum (see why later)

2) Open it and notice the MMCX port ('X' is a number)

3) Download the Goldcard Helper utility on Android market

4) Notice one of the MMCX port is different from the PC software, use this reverse CID code to make the goldcard image

5) Use the software to insert the goldcard image

6) Start RUU[...].exe

Enjoy!

Edit: And thanks for the tutorial!
[G2 and Desire Z Android Development] angelotseb:
thanks for your help!

i lost S-OFF while trying to debrand with clockworkmod recovery... i got an unknow error and after my phone rebooted.

and from the guide "S-OFF is different from root: S-OFF lets you flash unsigned images using the Fastboot option on the Bootloader, or through Clockwork Recovery."

now i can only flash signed version of android... i will try to search for the wpthis like ryanmacg advise me!
[G2 and Desire Z Android Development] Redbaser:
Its dann

Hi,

Its dann whit [GUIDE]UBERROOT easy full Root, S-OFF, SuperCID AND SIM UNLOCK for DZ/G2/DHD inc Voda
[G2 and Desire Z Android Development] gtrab:
the guide has been updated

Please read the front post again, now there is a NEW and even EASIER way to root/S_OFF
[G2 and Desire Z Android Development] Rickroller:
Did the root portion of the tutorial and I must say it went smooth as butter! Now I'm trying to do the S-off so I can flash the Godspeed kernal on my phone but I can't seem to be able to download the wpthis-Z.ko file from the attached links. All's I get is a blank page with the security toolbar up top and when I click download file nothing happens..any ideas?
[G2 and Desire Z Android Development] gtrab:
go for the NEW method

major changes have ocurred today !!

(check the first post, it has just been updated)
[G2 and Desire Z Android Development] jark99:
Hey gt any luck with the htc locations port? I like google maps beta but wanna try htc :)

Sent from HTC Desire Z using XDA App
[G2 and Desire Z Android Development] Rickroller:
Ya..I was looking at that method earlier today..and I gotta be honest that whole adb route is a little intimidating for a newbie. I downloaded adb and installed and updated..but I don't know if its actually working or not. As well..the instructions are a little vague to someone who's never used it before..and most guides I've read are also lacking in the "step by step" process. I like your method of just installing the files on the sd card and then running terminal emulator from the phone. Your guides are definately a little more "newb" friendly :) I just need that one file to be able to download and I think I'd be set lol...
[G2 and Desire Z Android Development] Nighte:
The last time I used adb was like 2 years ago. I'm pretty much a noobie too. Just make sure you download the HTC Sync onto your computer, plug in your phone at least once after you installed it, and make sure you get download and install the Android SDK stuff and extract it to your C drive (anywhere works but usually C is the place to be)

Then if you wanna follow whats going on, on the other thread, download the file he has posted "gfree" or something like that, extract that, open it up, and you'll see a file called cmd.bat and a .exe, run the .exe, open up the cmd.bat, and literally type in that little box of commands in that order and voila.

Oh, make sure to press Allow when you type in "su" or you'll be sitting there for an hour wondering why it won't work (like me).

It's fun, kind of, to semi-figure out what to do on your own though, but I think you already have it rooted, so just do what I said above and it should proceed smoothly. If you don't understand what I said above, maybe someone with more knowledge can guide you further.

ON A SIDE NOTE! I'm sitting here refreshing my page hoping that the section to debrand your phone using the new method shows up soon!

I absolutely hate fiddling with the hboot and radio type files, bricked my G1 because the files were corrupt, hoping theres a sure-fire and easy way to do it!

Removing the Bell bloatware is gonna be so satisfying! Installing custom roms too!

I'm halfway there I think, I'm rooted and S-Off. Now waiting on debranding and recovery stuff.

Thanks so much for your efforts and guides!
[G2 and Desire Z Android Development] ludow:
Is it safe to use uberroot after these original methods?

I hate to ask all the time but i prefer F.A.Q.'s, really. This Desire World is new to me. So I have done all things like original post, I'll do uberroot next. Right?
[G2 and Desire Z Android Development] steviewevie:
All you need to do is the bit around gfree. You don't need to go through the whole thing because you've already got permanent root (I presume ?). See section (b) of the procedures in the Uber-root thread.
[G2 and Desire Z Android Development] ludow:
Thanks for the reply. :) Yes, I have perm root.
[G2 and Desire Z Android Development] patrick92260:
Hey I'm getting a Bell Desire Z in a few days to use in the US with ATT and have a few questions...

First I see on the first post of this thread how to debrand the phone which looks really easy by making the gold card and flashing the generic rom. However I also found this thread which also explains how to debrand it, but it looks much more involved and difficult because it says to use a HEX editor and an ADB shell... is there any difference between the 2 methods?

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

Second is if I debrand the phone will I still receive OTA updates when HTC releases them for the generic roms or will that feature be lost?
[G2 and Desire Z Android Development] gtrab:
I did it and it is safe, safert than any previous method

Just copy gfree to your SD card and run the commands from a terminal on your phone
[G2 and Desire Z Android Development] Nighte:
It made me restart my computer as I was debranding using the RUU thing and then an error popped up saying the phone was disconnected... I'm not sure what to do now.

It was installing bootloader and whatnot and then requested that I restart my computer, I didn't restart and the error popped up.

Ahhh!

I can boot my phone up and it says "RUU" and tells me all my info, S-OFF and whatnot.

Other than that I think its stuck on the HTC bootup screen..

Edit: I still have the "HBOOT", FASTBOOT, Recovery, Factory Reset, Simlock, stuff when i hold Power+Vol Down

Anything I can do?

Edit again: Thank the LORD, Recovery saved my ass. It also keeps telling me that the HTC Sync Port isn't responding, I'm on Windows 7, what might be the issue? I can't sync my phone
[G2 and Desire Z Android Development] bibow:
just to be clear

so, to install a custom ROM I have to root AND "S-OFF"?

i rooted my hero a long time ago, but is this something new?
[G2 and Desire Z Android Development] gtrab:
HTC's security has evolved since the Hero,

with the Desire Z you do need S-OFF to flash custom ROMs or Kernels and CID unlock to flash official signed RUUs
[G2 and Desire Z Android Development] bibow:
oh ok. so, I dont need to root? just the S-OFF and im good to go?
[G2 and Desire Z Android Development] gtrab:
you need root to S-OFF

I have updated the FAQs post for you :D

Please read it again and I hope all your questions will be clarified.
[G2 and Desire Z Android Development] steviewevie:
When you connect your phone to the computer, is it in "HTC Sync" mode ? You get a pop-up box on the phone asking you which mode to connect in, unless you have checked the "don't ask me again" box (in which case you'll have to go to Menu/Settings/Connect to PC).
[G2 and Desire Z Android Development] buzmay:
You need to root and S-Off for flashing a custom ROM