yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z General] tbalden:
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
[G2 and Desire Z General] maus010:
That's strange?! :confused:

I've downloaded the 1.72 OTA and installed when it asked me.

Than my DZ rebooted and froze. I only get a black screen with a yellow exclamation mark and the little green android fellow :(

When I push the volume-up button and power button it boots into the clockwork recovery and gives me an error: intallation aborded.

It has to do something with the verrification.

Am I missing something here??

;)
[G2 and Desire Z General] tbalden:
Hmm, sounds bad. Have u installed with ota or with ruu? Or any other way?

Guess u have a nandroid backup of the 1.32?

I havent tried ota, i went virtuous rom, and upgraded to latest radio through fastboot (engboot installed before that).
[G2 and Desire Z General] maus010:
I've applied the OTA update, not RUU.

First my DZ was on the stock 1.72 rom.

From here i've downgraded it to the stock 1.34 rom.

After that I used the Gfree method for root, s-off and CID.

But now the OTA failes to install.:confused:
[G2 and Desire Z General] tbalden:
Strange, u have all the proper lower versions, so it cannot fail becoz of higher revisions. Have u removed any stock app before OTA? I read someone failed becoz of missing apps.
[G2 and Desire Z General] maus010:
I've disabled a lot of stock apps.

Like Friends, twitter, amazonMP3, stock etc.

Could this realy be the reason??

When I bought my DZ it was on the stock 1.34 rom.

Than I've rooted it with Visionary and disabled all those stock apps.

After a while the OTA 1.72 rolled out and I've applied it with succes.

So I think it has to do with the CID set to 1111111 when rooting it with Gfree.
[G2 and Desire Z General] rbensch:
You need for the OTA the Stock recovery.
[G2 and Desire Z General] raphmeyer:
First, thanks everybody who got the 1.72 rooted again; I did the steps above (had already s-off) and got a perm rooted System with OTA-Update!:D

I have only one little problem: If I started the Superuser-App first time, it crashed immediately. I tried to solve this with deleting the App-Cash.

When I started the App then, it started properly. But as soon as I started another App, which needs root Acces and marked to dont ask again for root, the Superuser App crashed again.:confused:

Anybody an idea? Thanks again for the great work!
[G2 and Desire Z General] maus010:
When I applied the OTA for the first time I already rooted my DZ and had clockwork recovery.

So I didn't need a stock recovery for the OTA update.

This is the error message:

Finding update package

Opening update package

Verifying update package

failed to verity whole-file signature

signature verification failed

installation aborted
[G2 and Desire Z General] tbalden:
Maybe its a broken file just.
[G2 and Desire Z General] tbalden:
I think you will need an updated version of the superuser.apk, there was a thread about an update for 1.72:

http://xdaforums.com/showthread.php?t=886999
[G2 and Desire Z General] raphmeyer:
Thanks for the answer. I found the source in the thread, unfortunately no binary. Im not as familiar with compiling android packages as many guys at xda-develpers forums. Does anybody have the source already compiled? That would be very nice!
[G2 and Desire Z General] tbalden:
I remeber i could download the binary too before. Has it been removed? Well, cant help you with that, but probably you could try to grab the latest of superuser.apk from the author, as the thread mentions its accepted into chaindd or whats that...
[G2 and Desire Z General] GenghisZ:
In the first post, on the last line there is:

I think that is what you are looking for ;-)
[G2 and Desire Z General] raphmeyer:
My eyes have fallen out of my head, I've found the link! Thanks!
[G2 and Desire Z General] rbensch:
I had the same error as you, after I flashed the original recovery, the update applied succesfully.
[G2 and Desire Z General] jrkr:
<n00b>

What is the current status now regarding permanent root and 1.72.xx?

Is it possible to get permanent root on 1.72.xx without any major workarounds?

Only temporary root?

Only temporary root so that one can downgrade to previous ïmage and then do permanent root again?

</n00b>
[G2 and Desire Z General] tbalden:
Did it work? And is it really permanent root now, root sticking after reboot too? That means one can perma-root 1.72 with downgrade / upgrade / pneuter temproot and normal permroot (as described by guhl99). And using the new SuperUser.apk if it works, then you have it all working, supposedly.

So does that apk and su binary work for you?
[G2 and Desire Z General] raphmeyer:
Coudnt try the new binaries until now, there's much work around me at the moment;) But yes, I got germ root also without the new superuser and su. If you start an app which need root, it askes after the rights without errors. Only if I want to manage the allowed apps in the Superuser App, it crashes at start.

Luckily I did already s-off with gfree before the update, so I havent to downgrade the 1.72 Version, and could only get temproot with psneuter, push the root files and run it and I got a (almost) perfect permroot.

Just one thing: the new superuser will be the first file which I will flash to my Desire Z. For that reason I wanted to ask if there are muliple methods to flash files like that or does everybody here use the ClockworkMod?
[G2 and Desire Z General] steviewevie:
Only temp root so you can downgrade and get perm root at a lower version, e.g. 1.34.

We have no perm root on 1.72 yet because the write protection at 1.72 hasn't been cracked yet.
[G2 and Desire Z General] steviewevie:
You can't perm root 1.72 yet, if that's what you're asking (sorry if I've misunderstood though).

You can temp root 1.72 only. And temp root is enough to let you downgrade back to a version that can be perm rooted, e.g. 1.34.

The new Superuser app isn't going to help any of this, unfortunately, until the write protection at 1.72 is cracked (HTC closed the loophole that was used at 1.34).
[G2 and Desire Z General] tbalden:
But look at what raphmeyer did, he says his root sticks after reboot ,if i understand it right, so he permrooted??
[G2 and Desire Z General] raphmeyer:
As I say! Everything works, apart from the superuser-App Crash, root sticks after reboot... Please dont ask me why this works:D

Edit: Thinking about the reason for my running root at the moment; As I said before, I did s-off with gfree before the update. if I understand things right, with gfree, write-protection stays off also after the update and probably that's the important point... Please correct me if I'm wrong; only a guess
[G2 and Desire Z General] steviewevie:
If he has perm rooted at 1.72 and doesn't run psneuter again after reboot, then he's the first to do it, because as far as I know the NAND write protection hasn't been disabled yet at 1.72. If it really is working at 1.72 then I'm sure scotty2 and others on IRC #G2ROOT would be very interested.

Edit - if that does work, perhaps it's to do with the combination of already having S-OFF and then trying psneuter ?

How is your /system mounted raphmeyer, can you do a "mount" as root and paste up the output ?
[G2 and Desire Z General] tbalden:
But what about soff before update, if it sticks, isnt it enough? Like raphmeyer tells.
[G2 and Desire Z General] Ashrik:
Is the 1.72 ROM that everyone is having problems with only available as an OTA update to European G2/DesireZ users?

I very recently got my first android phone, a G2, in the US as a T-mobile customer. How can I tell if I have the 1.72 rom?
[G2 and Desire Z General] steviewevie:
It's only been rolled out by HTC in Europe, as far as I know. T-Mobile had their own update shortly after the G2 was originally released, but this OTA was rootable without problems. I would be suprised if, in time, T-Mobile didn't get around to releasing their own OTA with increased security like this.

You should always be very wary of OTAs if you are rooted/S-OFF.
[G2 and Desire Z General] steviewevie:
The S-OFF sticks when you go to 1.72, as you say. What I'm not clear about is whether having S-OFF (via gfree) means the NAND write protection isn't enabled. Perhaps that is indeed the case ? The easy way to test is whether you can mount /system as "rw", i.e. "mount -o rw, remount /system".

Edit - just noticed raphmeyer's edit on his posting above, which basically says the same thing.
[G2 and Desire Z General] raphmeyer:
I mentioned before that I dont know android a long time, so how should I exactly mount the /system folder and which output will it throw? Do you mean in the terminal the mount command? and do you refer to just an error in case it doesnt succed?
[G2 and Desire Z General] steviewevie:
Sorry, I meant just to run "mount" on its own (no extra stuff), that will display a list of what file systems are mounted, and won't actually change anything. You will get a list of several lines, and specifically we want to see how it says /system is mounted, so you could just copy the line/lines for /system in the output.
[G2 and Desire Z General] ChristopheH:
Guys, if a understand what you're saying for few posts, we now can root the DZ/G2?

1. Get temp root via "psneuter" method (how to do that exactly?)

2. Downgrade to a lower version like the 1.34 (how to do that??)

3. Now you have a 1.34 RUU so you follow the previous instruction to get it perm root, s-off and change your rom!

Am i right?
[G2 and Desire Z General] steviewevie:
At step 3, when you change your ROM you will not have root, that's the problem. So you can get temp root again via psneuter (see http://xdaforums.com/showthread.php?t=905261 ). Then it may be that you can run the perm root bits from the original rage process and have it stick ? That's what raphmeyer is saying he did.
[G2 and Desire Z General] raphmeyer:
Things get strange now... had a look at the output of mount, doesnt display a /System -line. Tried to mount it with Rootexplorer, no reaction if I press "mount rw" button. Seems like I cant get rw rights on /system. Really no idea why and how I got my phone rooted... hope scotty2 & Co will find the answer:D
[G2 and Desire Z General] tbalden:
If u want a custom rom yes, but install rom manager and clockwork too to backup.

If u want the ota, the prev. post above applies.
[G2 and Desire Z General] steviewevie:
The NAND write protection is indeed not switched on if you have S-OFF. So if you have S-OFF before you flash 1.72, then you won't have the write protection enabled, so you can turn psneuter's temp root into a full permaroot.
[G2 and Desire Z General] dekaru01:
What the above seems to imply is that you can permaroot 1.72, if you had S-OFF before updating. Is that so? The later replies on this thread confused me, and I don't see anyone outright saying what the situation is for those like me who:

-have 1.34, rooted, S-OFF (real, not fake), SuperCID, etc.

-would like to update to 1.72, but only if it's permarootable.

Does what guhl99 described above make a permaroot for 1.72? Again, provided, of course, you came to 1.72 with S-OFF.

Thanks in advance for clearing things up.
[G2 and Desire Z General] YOSEFE:
How do I update using OTA 1.7 on my DZ? Downloading and trying to update using OTA seems to work fine, however after reboot OTA is not applied as the version number still reads "2.2", and the ROM is not 1.7, but 1.34.

Thanks for your attention.
[G2 and Desire Z General] NetStranger:
same problem!

try to

su
flash_image recovery /sdcard/recovery.img

this original recovery http://dl.dropbox.com/u/4143947/recovery.img

Then run update again
[G2 and Desire Z General] YOSEFE:
raphmeyer,

How do I update using OTA 1.7 on my DZ? Downloading and trying to update using OTA seems to work fine, however after reboot OTA is not applied as the version number still reads "2.2", and the ROM is not 1.7, but 1.34.

How did you do it?
[G2 and Desire Z General] YOSEFE:
Did your suggestion work for you?

My DZ is S-Off already following the downgrade and rooting method here.
[G2 and Desire Z General] NetStranger:
trying now! will post after. =)
[G2 and Desire Z General] YOSEFE:
Fingers crossed here for your results.
[G2 and Desire Z General] NetStranger:
Yep! Just installed OTA =) now will try get permaroot

But i reinstall recovery by other method. I rebooted in bootloder and then type in CMD

fastboot flash recovery recovery.img
[G2 and Desire Z General] YOSEFE:
I will be right behind you.

I will now try your first step to get OTA.
[G2 and Desire Z General] steviewevie:
Yes, that's exactly correct, you can do as guhl99 said, as long as you had full radio S-OFF via gfree *before* you upgraded/flashed to 1.72.
[G2 and Desire Z General] steviewevie:
Indeed, others have said that the OTA update doesn't work if you have Clockwork recovery installed, so flashing the stock recovery is worth a try.

Alternatively you can flash the complete ROM (though this will wipe out your data) from http://xdaforums.com/showthread.php?t=899584
[G2 and Desire Z General] NetStranger:
If i flash complete ROM , like you sad, will I lose s-off ????
[G2 and Desire Z General] steviewevie:
Not if you have full radio S-OFF via gfree. It won't touch the radio config partition, where that is stored.

If you only have the "fake" S-OFF via the eng hboot, then you will lose that if you flash a stock ROM.
[G2 and Desire Z General] NetStranger:
I just get permaroot after OTA update ) Does it means that i have realy S-OFF? Becoase i forget how i get s-off )) where can I check this?
[G2 and Desire Z General] YOSEFE:
How do I do that? I went into bootloader, however the phone was not recognised on my pc. Will try again just now.
[G2 and Desire Z General] steviewevie:
Yes, you must have S-OFF. If you boot the phone into hboot and look at the first line, it will tell you there - power off the phone (really off, not just in HTC's sleep mode). Then hold Volume Down and press Power till it turns on.
[G2 and Desire Z General] NetStranger:
in bootloader you need to chose fastboot.. and then type command

to steviewevie, yes in first line i see S-OFF ))
[G2 and Desire Z General] YOSEFE:
I am trying very hard here, but might be trying from a wrong place.

On my pc I am here:

C:\AndroidSDK\android-sdk-windows\platform-tools>

This is where I type in "adb reboot bootloader" to go to bootloader.

So, where do I type "fastboot flash recovery recovery.img"?
[G2 and Desire Z General] NetStranger:
copy recovery.img on sdcard

reboot in bootloader (vol down+ power) go to fastboot in the menu of bootloader

then type

fastboot flash recovery recovery.img

in CMD... possible that
[G2 and Desire Z General] YOSEFE:
I have tried this, and I get an error. Please see below:

C:\AndroidSDK\android-sdk-windows\platform-tools>fastboot flash recovery recover

y.img

'fastboot' is not recognized as an internal or external command,

operable program or batch file.

Then I am back at:

C:\AndroidSDK\android-sdk-windows\platform-tools>

What am I doing wrong?
[G2 and Desire Z General] steviewevie:
You need to make sure the phone is in "fastboot mode", which you select from the menu in hboot, as the previous poster said.

But this current problem means the path isn't set correctly, I think. fastboot is in the "tools" folder rather than "platform-tools". So you need to either cd into there, or add that to your path.
[G2 and Desire Z General] YOSEFE:
Okay,

I copied "fastboot" to my directory where adb is installed.

I typed the code in, and now got this error:

C:\AndroidSDK\android-sdk-windows\platform-tools>fastboot flash recovery recover

y.img

sending 'recovery' (3952 KB)... OKAY [ 0.672s]

writing 'recovery'... FAILED (remote: not allowed)

finished. total time: 0.673s

What should I do next?
[G2 and Desire Z General] steviewevie:
That sounds like you don't have the eng hboot. You need the eng hboot in order to be able to use fastboot.
[G2 and Desire Z General] YOSEFE:
So what can I do, is this the end of the road for me?
[G2 and Desire Z General] tbalden:
read this for engboot. full nandroid backup before. you might brick it also, be careful:

http://xdaforums.com/wiki/index.php...Z.2FG2.2FDHD.29_-_OPTIONAL_and_UNNECESSARY.21
[G2 and Desire Z General] raphmeyer:
If you can use my answer still: My phone remembered me one time that there is a system update. (ClockworkMod wasn't installed and autosearch after update was enabled in "Settings/System Info"). Havent got to do anything else...

Without thinking anything I installed the update at time. This was the point where I looked for a thread like that. Thanks to many guys here I found it very quick ;)
[G2 and Desire Z General] YOSEFE:
In my case I have CloakworkMod (I fully followed the downgrade-root guide).
[G2 and Desire Z General] YOSEFE:
You earlier posted:

Quote:

Originally Posted by NetStranger

same problem!

try to

Code:

su

flash_image recovery /sdcard/recovery.img

this original recovery http://dl.dropbox.com/u/4143947/recovery.img

Then run update again

Is there a way to use this method successfully?

Asking myself whether I should install Eng HBoot or not.
[G2 and Desire Z General] YOSEFE:
Well well, so I attempted Eng-HBoot.

And guess what has just happened to my DZ?

It accepted the mod, my phone is fine!

Thanks for all the help.

Edit: Now properly updating... am on the screen with a green "circle" with a green arrow and the green progress bar.
[G2 and Desire Z General] jrkr:
Hmm doesn't work for me. I got temp root and I executed root :

>adb shell /data/local/tmp/psneuter
property service neutered.
killing adbd. (should restart in a second or two)

>adb shell
# /data/local/tmp/root
/data/local/tmp/root
killall: rage: no process killed
mkdir failed for /system/xbin, File exists

After this I restarted the phone. Starting terminal emulator shows $ sign.

Background info, I had that Visionary thing(?) without S-OFF before this 1.72 update came along. I had some kind of root, could run root software like Titanium Backup. Then I upgraded to 1.72 and lost all that. Today I successfully downgraded to 1.34, did S-OFF and permroot, all OK. Then upgraded again to 1.72 but I can't get permroot.

adb reboot bootloader

shows S-OFF atleast. :)
[G2 and Desire Z General] tbalden:
Have u typed su in the term emu? By def it shows $
[G2 and Desire Z General] YOSEFE:
After Eng-HBoot, I have now lost root, lost Eng-HBoot, however, I still have S-OFF.

Puzzled.
[G2 and Desire Z General] jrkr:
HAHAHAHAHAHAHA it didn't come to my mind.

NOW I got that # sign... FINALLY. Thanks for the tip!

Yihaaaaaaaaaaaaaaaaaaaaaa!
[G2 and Desire Z General] wrapper:
Just to clarify - If you don't have S-OFF, the only way to permanently root is by downgrading and then rooting?
[G2 and Desire Z General] jrkr:
I assumed so after reading this thread although I am not sure. >Android beginner<
[G2 and Desire Z General] YOSEFE:
Any heads up?

I managed to get permanent root on my DZ with OTA update (1.72) applied.

This was after downgrading from my earlier OTA update (1.72). I then re-rooted, and achived S-OFF. And in the case of my DZ, I had to apply Eng-HBoot, which I lost after applying OTA.

In short, I have permanent root on DZ with 1.72. Follow the instructions and advice available under the thread.

HOWEVER, my DZ has now lost wifi capabilities as trying to enable wifi, I get "wifi error".

I need help with this. Any suggestion please?

Thanks.
[G2 and Desire Z General] steviewevie:
Correct. If you are running 1.72 and have S-ON, then you have to downgrade (using psneuter) to an earlier version, then you can get S-OFF, upgrade to 1.72 again and then you can temp root/permaroot.
[G2 and Desire Z General] steviewevie:
It's normal that you lose eng hboot after applying any stock OTA/ROM. You can simply reinstall it again, just as you did before, if you want.

Quite a lot of people have hit this wifi problem with the 1.72 OTA. I would recommend flashing the complete 1.72 ROM, because it then seems to work. If you already have S-OFF then it will be fine, you can flash 1.72, then get root, and then install the eng hboot again if you want. You will of course lose all your data in the flash though, so make sure you have backed up/sync'd anything important.
[G2 and Desire Z General] YOSEFE:
Thank you very much.

I will now hunt for the full 1.72 rom, and read up on how to.

Cheers.
[G2 and Desire Z General] steviewevie:
The standard European ROM was in this thread - http://xdaforums.com/showthread.php?t=879384 . But the download link doesn't work anymore.

However it appears a version which is pretty much the same was posted up here - http://xdaforums.com/showthread.php?t=899584
[G2 and Desire Z General] ludow:
I am a bit thick, but we don't have perm root AND S-OFF with 1.72 right?

There is no point accept OTA?
[G2 and Desire Z General] wileykat:
Going by the title of the thread it does now look possible.

Stevie get the wiki updated!

EDIT..... Added link to this thread to wiki. Didn't bold or anything so looks poo though. Have a look if you can Stevie,... Or I'll look again when I get home.
[G2 and Desire Z General] DBNemesis1701:
~I had S-Off then updated, so I managed to get root back using the new method without the need to downgrade. I had the problem with Superuser crashing, but after going to settings>superuser and clicking clear data, it seems to have stabilised. I don't know if that's just fluke, but may be worth a try if you are having issues.

[EDIT] - Yup, it was a fluke
[G2 and Desire Z General] ludow:
I have perm root and S-OFF. I accept new OTA install and have S-OFF still.

How to get perm root then. I am confused about downgrading, pneuter etc.

PLease guys, any chance for step by step guide, n00b level?
[G2 and Desire Z General] YOSEFE:
Thanks,

I found a rom I have since flashed on my DZ.

I am now trying to achive root again.
[G2 and Desire Z General] ludow:
Ok Steve, when you have time please guide me to get perm root and S-OFF with 1.72. Thank you. :)
[G2 and Desire Z General] steviewevie:
The Wiki has been updated though ? At least, the section on the 1.72 OTA update (http://xdaforums.com/wiki/index.php?title=HTC_Vision#December_2010_DZ_OTA_1.72_Update) now includes a link to the thread on the dev forum containing the procedure. What's not there is a guide within the Wiki itself to the psneuter procedure, but at least there's a link to it. I'll put a guide in there myself if someone doesn't beat me to it.
[G2 and Desire Z General] steviewevie:
If you are at S-ON with 1.72, then first you need to downgrade to 1.34, because you can't get S-OFF whilst you're on 1.72 if you don't have it already. See http://xdaforums.com/showthread.php?t=905261 (psneuter procedure).

After that procedure you should be back at 1.34 stock with perm root and S-OFF.

Then you can go back to 1.72. I recommend you flash the whole image, don't just go through the OTA, because quite a few people seem to have had problems with wifi not working after the OTA. See http://xdaforums.com/showthread.php?t=899584

Then you'll be on 1.72 with S-OFF, but without root.

So what you need to do is go through part of that psneuter procedure again. guhl already posted up earlier in this thread about how to do that - see http://xdaforums.com/showthread.php?p=10433864#post10433864
[G2 and Desire Z General] premist:
*n00b alert*

I have done the steps to downgrade to 1.34

How do I flash the whole image? Just run the .exe file or put the rom.zip on the SD card and use ROM Manager?

Please help

Thanks!
[G2 and Desire Z General] ludow:
Current status:

Build 1.34.405.5

Perm root

S-OFF

What's next? I am sorry but I just want to make sure everything will be fine after procedure.

I want perm root and S-OFF with 1.72. :) Thank you.
[G2 and Desire Z General] steviewevie:
If you have an RUU (.exe) then you can just run it. But if you have a rom.zip you need to rename it to PC10IMG.zip and place in the root (top) folder of your SD card. Then restart the phone into the bootloader (power it off, then hold Volume Down and then press Power till it turns on). Then it should find the ROM image and ask if you want to flash it.

Sent from my HTC Desire Z