yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] steviewevie:
That link for (A) isn't the rooting process though, it's just the radio S-OFF and SIM unlock process, assuming you already have permanent root.

The Wiki rooting process is at http://xdaforums.com/wiki/index.php...cess_.28Permanent_Root_.2F_.22Permaroot.22.29

What ROM are you running ? Lots of people have had "rage" work fine on the Bell DZ, and your posting seems to refer to a thread that uses it and you say that worked. So I'm a bit confused. The Wiki procedure should be fine for a NAM DZ.
[G2 and Desire Z Android Development] sgtfoo:
I did the process after a factory reset. Build 1.34.666.5.

The wiki process to attain root access is the only odd one. Everything after attaining root, which I'm saying should be done with the other thread, is fine
[G2 and Desire Z Android Development] steviewevie:
It's the same process in both, except for the step for locking in permanent root. The forum rage procedure uses a specific kernel module to disable the NAND write protection, and the Wiki procedure uses gfree (which uses its own dynamic kernel module). The gfree procedure should actually be more reliable, because scotty2 found that there was a problem with the original wpthis modules in that they were "lucky" that they worked as intended.

No-one else has (to my knowledge) reported gfree not working on a Bell NAM DZ, so I wonder what happened with your phone, that's rather odd. I don't suppose you remember any specific error messages from the gfree output, do you ?
[G2 and Desire Z Android Development] sgtfoo:
I remember that the terminal wouldn't do as expected in the process and then the temp root goes away. Either way, I guess the method I use can count as an alternative maybe?
[G2 and Desire Z Android Development] gtrab:
Rage could ("could") be confusing for newbies

Visionary could ("could") screw up some non-NAM phones (newer firmwares, asian, voda...)

HTC is playing hardball with the DZ, every variant (even a slight variant) seems to have different kernels/security/partitions etc

A universal and simple apk is hard to achieve but will be available I'm sure.

Up to date, IMHO visionary + gfree (qpop's "uberroot" pack) is still the easiest way for Bell-NAM users,

and rage is the safest way for euro/asia users
[G2 and Desire Z Android Development] mrchu001:
hey, i have a few questions.

do i have to have a perm root to be able to turn s-off? and is there a different wpthis-Z.ko that i can try? i'm getting the format error every time i try on temp root (visionary).

thank you for the help!!
[G2 and Desire Z Android Development] mrbmg:
If I rooted with visionary r13, and achieved fake s-off, could I go over my permroot with the gfree way?

I have already gfree for radio s-off, simunlock, and cid. Would there be any difference in unrooting my phone and going back over it the gfree way? Just wondering.

Thanks

Billy
[G2 and Desire Z Android Development] sgtfoo:
While I'm not the rooting expert here, the process I went through and that seems most typical is to just have a full permanent root before doing any gfree commands such as s-off or simunlock. As I see it... if you're going that far to open up your phone, you mayas well do it all at once.
[G2 and Desire Z Android Development] steviewevie:
What ROM version are you running ? 1.72 cannot currently be rooted.

If you're on an earlier version, then see the Wiki and try gfree, which you can use with temp root (doesn't have to be perm root), to get full radio S-OFF. See http://xdaforums.com/wiki/index.php...Phone.2C_Set_SuperCID.2C_and_Turn_Radio_S-OFF
[G2 and Desire Z Android Development] steviewevie:
If you already have used gfree to get radio S-OFF etc, and already have permanent root, then that's fine. Unrooting and doing it all the gfree way won't make any difference, you'll be left with the same thing.
[G2 and Desire Z Android Development] The Governor:
This isn't strictly a question about putting a custom ROM on, but I suspect if anyone knows the answer you guys will!

I've had my Desire Z about a month, just running the stock ROM I haven't rooted it or anything.

Yesterday it decided to stop working, the touchscreen just "lights" the screen as black when I press the power button to unlock it.

I've take then battery out, and SIM, left it a bit but to no avail.

I can't help feelingt hat if I could factory rest it the problem would go away, but obviosuly I can't do that because I can't use the screen, as it's permanently black!

I'm sure the phone is still working, becuase I hear it vibrate when I think it is syncing email.

Before I RMA it back to HTC, is there any possibility I can do something via USB from my PC?
[G2 and Desire Z Android Development] gtrab:
hmmm... better send it back...
[G2 and Desire Z Android Development] neosto:
Hi there,

i have a euro desireZ and i perm rooted it with visinaryR12 or R14 and also have S-OFF. My phone is saying all the time, that there is an update availlable. I have downloaded it and tried to install it several times but it won't work. When i try to install it, phone is rebooting and starts unpacking the files and than it get stuck! I see somekind of sign with a remark sign in it. Nothing happens anymore. I push the touchpad 1 time and i'm able to start the phone by rebooting. But the update still keeps asking! Anything how to solve this??

I hope you guys (girls) can help me out.

Greetz Neosto
[G2 and Desire Z Android Development] steviewevie:
I don't think you really want that update anyway, since the OTA update for DZ (1.72) can't currently be rooted ! So you will lose root if you upgrade to it (though you would be able to flash back to an earlier version).

I don't know why the upgrade is failing, but when the G2's original OTA came out, it would fail if people had messed with the stock ROM such as deleting stock apps (i.e. the upgrade failed when it tried to upgrade those apps).
[G2 and Desire Z Android Development] gtrab:
He would have to revert to stock first (factory reset) and maybe replace the recovery too, I am not sure since I have not received the OTA msg and haven't done the procedure

@steviewevie, appart from no_root to date, whats cool or interesting on 1.72 ?? Have you tried ?? I currently dont see a reason to update

Sent from my Godspeed 1.4GHz Android HTC DZ
[G2 and Desire Z Android Development] steviewevie:
There's a thread on the General forum about fixes and bugs in 1.72. Apparently the annoying scrolling-up bug in the HTC SMS app is fixed, which would be enough for me to upgrade if it was rootable. But then there were some reports about message notification acting weird ?

I can't link to the thread right now since I'm using the XDA app.

Sent from my HTC Desire Z
[G2 and Desire Z Android Development] neosto:
Well it keeps bugging me! lolzz

Soo i must go to factory default, install the system update and then going all over the process of perm rooting and making it S-OFF? pfffffff :eek:
[G2 and Desire Z Android Development] mrbmg:
Im pretty sure if you install the 1.72 update your phone will lose root as well as not be able to re-root at the moment. You do not want that update unless you dont want a rooted phone!
[G2 and Desire Z Android Development] rikkyshh:
Desire HD Visionary Perm Root fail

Hi,

Im trying to Pernamently root my desire HD but after temp rooting it when i try to attempt pernament root it keeps asking me to temp root,

I dont think VISIONary is working correctly, i temp rooted it and the screen kept flashing with its logo and a message saying "attempting temp root", it returned to the program and when i click "Attempt Permroot now" it keeps asking me to Temproot my device

Please help!!!!
[G2 and Desire Z Android Development] vro25:
I'm trying this on a Bell Desire Z with the RUU you link to an I'm getting "Error[130]: Model ID Error" and "The ROM Update Utility cannot update your Android phone. Please get the correct ROM Update Utility and try again."

The phone then boots back up to stock Bell :-(

**Update**

My firmware is 1.34.666.5 - newer than Gtrab's 1.34.666.1. I wonder if this hole has been closed?
[G2 and Desire Z Android Development] aerok:
Same here, even if my s is off, rooted and with clockwork
[G2 and Desire Z Android Development] vro25:
I'm trying STEP 3 from here:

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

**Update**

That didn't work. I'm now following steps here http://xdaforums.com/showthread.php?t=834950 to get S-OFF.
[G2 and Desire Z Android Development] gtrab:
thanks for reporting

we are all building this together

Since I did debrand my phone,

I have asked for some guru's help @ G2 fora to find out what the difference could be

PS:

If you already created an SD gold card, try inserting it on the phone, connect to PC, on the phone say mount the USB, and then try running the RUU again, andplease report back
[G2 and Desire Z Android Development] YOSEFE:
Thanks for the tutorial. My EU DZ is now rooted.
[G2 and Desire Z Android Development] vro25:
S-OFF, but still no success...

Well, I think I flashed my radio - I have radio 26.03.02.26_M, is that the one from Bell 1.34.666.5 or is the the one from the EU firmware? I never checked prior to now to see what I had originally.

Following instructions here:

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

This is what I did to get S-OFF working:

http://xdaforums.com/showpost.php?p=9158240&postcount=25

Once I confirmed that, I tried the firmware update again. This time, it was doing a more than just begin stuck on "Updating Signature" but unfortunately the end result was the same - Error[130].

Anyway, presumably at this point I can update via Clockwork? Anybody have a link to the stock EU Desire Z image?
[G2 and Desire Z Android Development] dnamoyar:
Hey Guys,

I was about to download the HTC Sync software using the link provided, but then I saw this warning from HTC:

Should I take this warning with a grain of salt, or should I download the version posted on HTC's Canadian page?

Sorry, I'm a noob and want to be on the safe side :o
[G2 and Desire Z Android Development] gtrab:
get the RUU from here:

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

run the RUU but don't follow the process, just let it unpack, then leave the RUU window open and go to

C:\Users\YOUR NAME HERE\AppData\Local\Temp\

check the 2 new folders just created, inside get your PC10IMG.zip :D :D (it should be called "rom.zip", just rename it to PC10IMG
[G2 and Desire Z Android Development] earni:
the link for version 12 wasn't available so i used version 11 and it worked fine!

thankyou very much and thats an excellent tutorial, being new to android its awesome to find such useful posts such as this.
[G2 and Desire Z Android Development] gtrab:
OOOPS...

seems like that's the one I grabbed and used prior to flashing the euro RUU into my NAM phone

:D :D
[G2 and Desire Z Android Development] vro25:
Ok, I extracted the file and put it in the root of my SD card and I got a "Model ID Incorrect!". So that sucks.

On top of that, Clockwork Recovery doesn't flash.

Lastly, it's magically set to S-ON again!

WTF.

I think I'm going to wait for Paul to wrap this all up in a nice package.
[G2 and Desire Z Android Development] ayalah1986:
i just tried it on my T-Mo G2 and it wont even Temproot?? the original VISIONary wokerd fine is anyone getting the same prob? the wierd thing is that i can still access Superusers and it shows that all my rooted apps are still granted access, but if i go to an app like set cpu it cant validate my root??
[G2 and Desire Z Android Development] vro25:
Your post isn't clear. Which one did you use?
[G2 and Desire Z Android Development] vro25:
Getting somewhere?

Ok, I re-did the steps to get S-OFF and then I rebooted to confirm - and it worked. However, the PC10IMG.zip was still on there so it tried to install it again, but this time it was it didn't fail on the file check and I was able to confirm I wanted to install it.

Anyway, I did that, and then the screen went blank and when it came up again I was back in the menu and it was set to S-ON again...

I think flashing this image is what setting the phone to S-ON.

**Clockwork Recovery Installed!!**

So this is what I've done, set S-OFF again, but this time install Clockwork Recovery right away (it failed before, presumably because it was set to S-ON). I installed Clockwork Recovery WITHOUT REBOOTING. This seems to have done the trick as I now have Clockwork Recovery working on my phone. Now I just need to get it to flash a ROM :-)
[G2 and Desire Z Android Development] zappoo:
Thanks for everyone's great work on this post.

I want to perm root my Desire Z (UK model) so i can install SetCPU and "underclock" when screen off etc.

I assume i JUST have to use visionary R12 as per first post here.. nothing else (hboot??).

Also, do i have to leave "USB Debugging" turned on after i finish this - or can i turn it back off?
[G2 and Desire Z Android Development] gtrab:
@zappoo: yes you can turn usb debug off afte the procedure

now,

TO ALL OF YOU HAVING PROBLEMS FLASHING THE EURO RUU:

These are the only "MYSTERIOUS" things I can think of:

1.- I removed the stock SD card and inserted a "goldcard" SD card into my phone during the process described in the tutorial (it was a coincidence, not intentionally. I never copied anything inside the SD card during the process)

2.- As I stated on the tutorial, I USED THE EURO HTC SYNC (but didn't sync, just installed it in order to obtain the drivers for windows)

Did you install that one ??

3.- Other possible difference that could be important:

After perma-rooting my device just as I describe on this guide,

I accidentaly messed up some titanium backup files from an older Android OS (2.1) so I had a lot of force-closed notices.

So, I entered bootloader (vol-down+power) and restored to "factory reset".

Then I rooted again (same proedure described on post 1) over the fresh-flashed Bell firmware, then I hooked the USB cable to my PC, I enabled USB on my phone, ran EURO RUU, and succeeded flashing the euro firmware.

You can try do this this too.

I'm as confused as you are because I do have my Bell D-Z flashed WITH S-ON

.
[G2 and Desire Z Android Development] zappoo:
Thanks.. the permroot using VISIONary 12 worked perefectly. I can run "Superuser" after taking battery out and it works and lists VISIONary.

Now i just have to do SetCPU.. is there a free version?
[G2 and Desire Z Android Development] aerok:
There is but you should support dev.
[G2 and Desire Z Android Development] salemfox:
Works perfectly on my UK SIM Free Desire Z! Thanks!
[G2 and Desire Z Android Development] codf4ther:
Won't work on my Bell Desire Z, device ID error as others are getting
[G2 and Desire Z Android Development] steviewevie:
You're in the wrong forum. This is the Vision forum (Desire Z and G2), you need the DHD forum ;)
[G2 and Desire Z Android Development] dhkr123:
I think a much more interesting form of "debranding" would be just how the F you can get the "tmobile" label off the digitizer?
[G2 and Desire Z Android Development] cvandingelen:
Hi everyone

I tried to root my phone using the visionary+ r14 today (yes, I'm new at rooting phones), I read everything here and did it like it was posted, but all visionary gives me after saying that it will root is a black screen with my notifications bar on it, then nothing happens.

Is this normal and do I have to wait longer, or is something wrong. I use the htc desire z.

Thanks for the help

Christophe
[G2 and Desire Z Android Development] steviewevie:
When Visionary works ,it's great. But quite often it just doesn't work, with no diagnostic information to go on.

If you are running a ROM earlier than 1.72 then I recommend you use the gfree method documented in the Wiki. If it goes wrong ,at least you will get an error message that you can post up here and we can try and help you. If you have the 1.72 ROM then you will need to use the procedure documented in the dev forum, the one discussing downgrading from 1.72.

Sent from my HTC Desire Z
[G2 and Desire Z Android Development] CTR01:
ThankS!

Thanks for this info and clear definitions of terminology! Keep the good stuff coming.
[G2 and Desire Z Android Development] bonstio:
After running rage and resetting the terminal, the next time I run it I get FC - as expected. Thereafter, it refuses to run. I.e. running terminal on the Desire Z (Swisscom branded, Android 2.2.1, Build 1.72.166.1) does nothing at all.

I've rooted N1s and NSs but this things is proving a major headache.

Does anyone have a solution please?
[G2 and Desire Z Android Development] gtrab:
looks like you have not achieved real root

yes rooting the DZ is a pain in the ass (due to variety of kernels and versions), keep checking the newer rooting threads for news
[G2 and Desire Z Android Development] rafiki6:
I have a bell dz, and its been stuck in the RUU sending screen for a while...do not want to unplug it as I am worried it may get bricked.

It was permarooted and S-OFF'd using the instructions in the guide here...

Let me know what my next step should be...I think my battery might die, its been over an hour now that it has been stuck in the RUU sending screen.

It works now...I just unplugged...ya there are definitley issues with one of the steps posted. I will try to figure out which and let you know.
[G2 and Desire Z Android Development] gtrab:
Its official, we are getting gingerbread by the end of Q2

On a side note, I've stayed away from 1.72

News appreciated
[G2 and Desire Z Android Development] Com.Chakotey:
Mhhh i tryed your Step by Step installation to root my DZ

Now you say i must wait on step 5 until "finish"

But....HOW long? ;-)

Now i wait about 30 minutes *g*

The Screen is blank and black...only the Taskbar i can see but the programm is still active! with about 15% on my CPUmeter...

THX for Help!
[G2 and Desire Z Android Development] Com.Chakotey:
...Can anybody help me please?
[G2 and Desire Z Android Development] andrewilley:
Hmm, something not quite working here. I have a UK Desire-Z, the very first 'day one' non-contract release from HTC, which I perm-rooted with Visionary and installed the eng hboot a while ago.

I thought it was about time I set radio S-OFF (before upgrading or flashing new ROMs) which I thought should be a simple matter, but it does not report S-OFF.

Details:

I uninstalled the Visionary app from the phone as recommended, then used ADB to push gfree and gfree_verify to data/local and ran (in ADB SHELL, su) "./gfree -f" which resulted in:

--secu_flag off set
--cid set. CID will be changed to: 11111111
--sim_unlock. SIMLOCK will be removed
Section header entry size: 40
Number of section headers: 44
Total section header table size: 1760
Section header file offset: 0x000138b4 (80052)
Section index for section name string table: 41
String table offset: 0x000136fb (79611)
Searching for .modinfo section...
- Section[16]: .modinfo
-- offset: 0x00000a14 (2580)
-- size: 0x000000cc (204)
Kernel release: 2.6.32.21-gd2764ed
New .modinfo section size: 204
Attempting to power cycle eMMC... OK.
Searching for mmc_blk_issue_rq symbol...
- Address: c02a6a54, type: t, name: mmc_blk_issue_rq, module: N/A
Kernel map base: 0xc02a6000
Kernel memory mapped to 0x40011000
Searching for brq filter...
- Address: 0xc02a6a54 + 0x34c
- ***WARNING***: Found fuzzy match for brq filter, but conditional branch isn't
. (0xea000012)
Patching and backing up partition 7...
patching secu_flag: 0
Done.

Then I did a "sync".

Then, to test it, I did "stop ril-daemon" and then "./gfree_verify" which resulted in:

gfree verify_cid returned: AT
gfree verify_secu_flag returned:
OK
ATV1
OK
gfree verify_secu_flag returned: ATV1
gfree verify_secu_flag returned:
OK
gfree verify_simlock returned: AT@CID?
gfree verify_simlock returned:
@CID: HTC__001
OK
AT@SIMLOCK?AA
gfree verify_simlock returned:
@secu_flag: 1
OK
AT@SIMLOCK?AA

Which does not look right. Any ideas what I'm doing wrong?

Andre
[G2 and Desire Z Android Development] andrewilley:
Is there a better place I can post this, maybe a thread specifically for gfree questions? I really would like to get this sorted and get proper radio S-OFF.

Many thanks to anyone who can help me.

[Edit: Hmm. would [Guide] Subsidy Unlock, SuperCID, and Radio S-OFF be a better place? I'll try asking there]

Andre
[G2 and Desire Z Android Development] gtrab:
yes that's correct

That's a better place to ask if you need help with scotty2's gfree script

Rooting the HTC vision is a pain in the

Some methods work and som not with several specific models/releases

Too many software versions/variants...

That's why I am still on 1.34
[G2 and Desire Z Android Development] bratboo:
Help please, I just got my girl a new Desire Z, but now I'm stuck on step 4

4.- Now, to temporarily diasble the write protection, type this and press Enter:

insmod /sdcard/wpthis-Z.ko

Error message: "insmod: can't open "/sdcard/wpthis-Z.ko"

Thanks.
[G2 and Desire Z Android Development] JackSparrow17:
I rooted my LG Optimus P500 in 1 day, but now i have Desire Z and its realy pain in ass to root ths devise..:(
[G2 and Desire Z Android Development] G1ForFun:
Really? It takes less than five minutes to root the Desire Z....
[G2 and Desire Z Android Development] scottmahoney:
hey

when ever i click check for updates it come back wiht nothing my software number is 1.34.405.5 as i used the RUU in this guide to debrand my bell htc desire z will this affect ota air updates or am i up to date as it is?
[G2 and Desire Z Android Development] astriaos:
This thread needs to be stickied as an ease of use effort for the end user.
[G2 and Desire Z Android Development] gtrab:
...at least the FAQs part: every newbie could be directed to reading it before asking questions
[G2 and Desire Z Android Development] Vader™:
Can I follow this step (Root and S-OFF) for my Desire Z that used latest build from HTC? or I need to downgrade first?

current build number 1.82.707.1

not sure about the Radio, where to check it?

Please Help.
[G2 and Desire Z Android Development] gtrab:
Follow the instructions on the Wiki (check the first post), it's all there along with the required files

http://xdaforums.com/wiki/index.php?title=HTC_Vision#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
[G2 and Desire Z Android Development] Vader™:
Sorry, don't know the link still work or not, but I can't open it from here.

I just read everything about rooting and s-off in the first post, but there is no mention about what build can be rooting or not.
[G2 and Desire Z Android Development] gtrab:
the link s working, double checked

regarding your chance to root your build, check here:

http://xdaforums.com/showthread.php?t=1055581
[G2 and Desire Z Android Development] aliasi11:
I am going to buy a used HTC Desire Z. Am anxious to know whether that phone is already rooted or not.

Can somebody help me identifying that. how to check any desire z for rooting, what should be done for that.

I will be very thankful.:)
[G2 and Desire Z Android Development] gtrab:
tur phon off and boot into bootloader mode (check the FAQ @ post 2 if you don't know how to)
[G2 and Desire Z Android Development] bassbox:
So all I need to do is

create a goldcard.

and then i am fine and can install htc's firmware with ruu onto my vodafone branded desire z?

Goldcard -> http://xdaforums.com/showthread.php?t=822908 -> ota updates? german vodafone branded desire z

i yes, what will then happen if the 2.3 update comes out. can i upgrade it ota? does the goldcard need still to be inserted?

//EDIT: Goldcard does not work )= RUU says: Error 131: Customer ID Error - Guess thats the CID then

//EDIT despite what i read, the branding is really only the startup logo. no apps, no browser settings, nothing ... just some more wait time for new updates (as long as they bring out 2.3 i am fine for now, enough playing around with my g1^^)
[G2 and Desire Z Android Development] Freekers1337:
Hello,

Is this guide also for those who want to convert their foreign phone to a native phone ? E.g. I bought my phone in Italy, can I convert it to a Dutch phone ?

Thank you.
[G2 and Desire Z Android Development] gtrab:
the best way to change your version is through a goldcard: insert one in the microSD slot and flash the new ROM safely