yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z General] keifus.rahn:
good eveing every one

Is there a easyier way to root or downgrade the Htc glacier mytouch 4g? Im having pc issues with avg antivirus and once i get to the adb part my comp freezes up. I followed the adb guied on hear and downloaded the sdk from the gude and from android web site but when i do my comand promps it says its not there? Ive been trying to root this dang thing for three days now :(

I have the gingerbreck aap but scared to use it sence ive seen i have to downgrade first
[G2 and Desire Z General] demkantor:
In a sense there are easier ways but not better, really this is the best way and only way you should use. But of course feel free to follow another method if you desire

Here is a guide that may help you setup fastboot and adb better

http://xdaforums.com/showthread.php?p=41374534

Also check first post, strawmetal made a PDF guide, essentially the same as this but some find it easier to following
[G2 and Desire Z General] keifus.rahn:
Thank you very much im willing to try anything right now lol
[G2 and Desire Z General] lsmrfydgaf:
I figured out the problem, I think anyway lol...figured I'd share and maybe help someone else... I'm on windows8 (i know, rip me some other time lol) the default W8 zip viewer, adb, and android 2.3.4 somehow clash.. I changed it to the default alternate 7zip and bam, flashed PC10IMG flawlessly!

Hope this helps the few of us out there that still flash G2's ;)

Oh and thanks to strawmetal for the awesome guide/walkthru...wotks perfect! And for those of u who are afraid to attempt rooting thru adb, just do what I did.. Follow straws guide and just copy and paste adb commands all the way to the end ;) yea the guide is that good.

Good luck!
[G2 and Desire Z General] 716Rob:
ffff

That sucked got to the very last step then failed

On the flash stock rom. I got a fail main 43 issue
[G2 and Desire Z General] lsmrfydgaf:
Sounds like a downgrading issue
[G2 and Desire Z General] --=ZerO=--:
Everything works well till Step 5 of I-3.

Installed newest Titanium Backup and also tried MyBackup Root. Both can't get root rights. :(

Am i doing it wrong?

pastebin.com/4Rx6m9e3
[G2 and Desire Z General] keifus.rahn:
It took me a few times to get my phone rooted make shire your devise is down graded. What really helped me was I did the downgrade from hear and did my root from cyanogenmod try there steps for your root it might help you out
[G2 and Desire Z General] --=ZerO=--:
Well I'm talking about the backup before the downgrade. ;) The temproot.
[G2 and Desire Z General] keifus.rahn:
Oh dang mybad lol i didnr backup my till i switched to cm :D
[G2 and Desire Z General] mic55hal:
Hey

I have a tiny problem. It does not work any link or mirror.

He'll be someone where can I find stock ROM ???

P.S.

I want to root Desire Z
[G2 and Desire Z General] qipengart:
Best directions for downgrading from 2.3.4 for my myTouch 4G so that I can get S-OFF soon. Thanks so so much folks for this masterwork and clear set directions.
[G2 and Desire Z General] dochuebi:
Hi,

i hust followed the instructions in #1 and i have temp root in the adb shell via fre3vo. But i'm not able to push root to the apps as described in I3 (script, nusybox, apk and su program). The script run successfully and i checked what its doing, as far as ui can see everythin was done - but titanium nor any other app do have root or are asking for root afterwards :(

any hint?

//huebi
[G2 and Desire Z General] tomqman:
http://cmw.cmfs.me/vision/stock/1.34.707.3/PC10IMG.zip
[G2 and Desire Z General] frazelle09:
Problem with bootloader??

Here is the link to PastBin.

http://pastebin.com/W7uM5BZ8

i've done this successfully at least once successfully on another G2 device. Arg. i go through all the steps and get Gold but when i get to the adb reboot bootloader, the phone reboots into the boot menu alright, i click Power, but it doesn't seem to find the .zip.

i've done this twice now, with the same results.

i tried several of the options and finally Recovery, which puts me into a screen with some sort of red triangle and i can't get any further. i need to pull the battery and... start over.

Any help would be greatly appreciated. Have a nice evening! :)

Edit: When i try to use Titanium Backup it reports that it cannot obtian root - arg.
[G2 and Desire Z General] Nipqer:
follow the fastboot downgrade method in the OP

the pastebin looks fine

-Nipqer
[G2 and Desire Z General] frazelle09:
Thanks, nipqer. i figured out that the PCIMG was probably incorrect after filming with my Samsung S4 the Bootloader process of the G2. i d/l and placed on the SIM's root the correct PCIMG and was good to go.

If anyone is interested, you might point out - it took me a while - that when zip files are d/l and unzipped, we only need ONE file from the newly created folder. This is the file that must be placed in the platform-tools folder - lol.

Fortunately this is mostly a game of persistence - this time we win again!

Have a wonderful morning and thanks again! :)
[G2 and Desire Z General] cisky78:
misc_version not working

Hi all,

I have problems in unzipping the "misc_version_01.zip" file, could some one send it to me please?

I've tryed different sws in order to unzip the misc_version file inside, unsuccesfully...

Thank a lot for the support!
[G2 and Desire Z General] demkantor:
Try strawmetals PDF linked in the op, I believe his download links are still good
[G2 and Desire Z General] cisky78:
I've been able to download the "platform-tools.7z" file from the first link, but still, I cannot open the zipped file... so I can't extract the misc_version file...
[G2 and Desire Z General] demkantor:
How are you extracting it? What os are you using?
[G2 and Desire Z General] SHCarnage:
Need the file from misc_version_01.zip I cannot extract it, file seems broken or something. Can someone who has the file upload it please?
[G2 and Desire Z General] daivee:
Hello guys and gals. I was doing a major clean up at home when I happen to find my g2 after thinking I had lost it almost 2 years ago. Pretty good feeling. Anyways now that its not my daily driver I would like to install custom recovery and root. My question here is are these steps in OP still current for me to get this done ? Or is the guide out dated. Any feed back would be appreciated. Thanks.
[G2 and Desire Z General] demkantor:
Still the best way to root, also look to the xda wiki
[G2 and Desire Z General] daivee:
Nice, thank you.
[G2 and Desire Z General] cwburns32:
Hi all!

I also found my old G2 laying around and decided to put a custom ROM and kernel on it. I have ADB setup correctly, ADB sees my device, I have all the required files in my platform-tools folder where ADB is located. Whenever I try to push either file to my device it says...

"cannot stat 'fre3vo': No such file or directory"

I have searched hard and low for a solution to this issue to no avail - very disappointing. I have thought of almost everything but for whatever reason ADB cannot see that the file is sitting in the exact same path as itself. I can assure you the files are there and yes they are extracted. I have tried from an elevated cmd, shift+right open cmd on platform-tools, CD'ing to platform-tools after opening cmd - still nothing. I've tried pointing directly to the path instead of just "fre3vo" - still nothing. I am at a total loss and after rooting, unlocking, flashing, etc. on many phones I am shocked I can't figure this one. I have tried multiple cables, different PCs, etc. obviously these were not likely to fix it as ADB can see the device but wanted to eliminate all issues.

Any suggestions or advice would be great. This is completely mind boggling to me as I do not know why ADB cannot see the file.
[G2 and Desire Z General] Nipqer:
Can you post a screenshot or copy everything in the command prompt? Would be handy to see exactly what you've written.

-Nipqer
[G2 and Desire Z General] sarry86:
links to download desire z roms are not working anymore, anyone with new links maybe?
[G2 and Desire Z General] Nipqer:
http://www.shipped-roms.com/index.php?category=android&model=Vision

These should still work, might have to extract it from the ruu (which ain't hard)

If you can't get it, I'll set up a new mirror when I get to my laptop

-Nipqer
[G2 and Desire Z General] sarry86:
Got it here http://xdaforums.com/showthread.php?t=1682479&page=2 alredy, thanks :good:
[G2 and Desire Z General] Hardik Bhatia:
i am on 2.3.3 i need to downgrade.Can anyone send me the link of downgrade file because no links are working
[G2 and Desire Z General] kha1rul:
Alternative mirror for Stock Desire Z ROM:

http://d-h.st/eFi
[G2 and Desire Z General] chimiii:
the following method is not working on my htc glacier mytouch 4g, please can send me the youtube video in high resolation.
[G2 and Desire Z General] demkantor:
How about instead just let us know exactly what you're doing and how it fails
[G2 and Desire Z General] chimiii:
HTC Glacier mytouch 4g

i would like to install custom or official rom on my htc mytouch 4g, i cannot downgrade even i cannot install rom on my mobile on the current hboot. please do let me know which rom will work on my phone, or how to downgrade it, my phone hanged on the boot logo.

The image is attached.

Please help me my phone is dead from last one year.

Regards

Chimi
[G2 and Desire Z General] ch3mn3y:
Hi

I have DZ with S-OFF (told it's fake one) and HBoot 0.85.0013.

Can I use this method to downgrade and get full S-OFF, etc. to get access to Fastboot and than flash CWM?

Or is it unsafe when S-OFF and I need to do something else?
[G2 and Desire Z General] Mozeps:
Hello guys,

I have a little problem with my setup. So I tried to download this file at Stock-ROMs.com -> "RUU_Vision_HTC_WWE_1.34.405.5_Radio_12.28b.60.140 e_26.03.02.26_M_release_155556_signed.exe", but when I click on download nothing happens... I need that file to dowgrade my Desire Z. My question is: I downloaded the next lower version of this Rom which is: "RUU_Vision_HTC_WWE_1.34.405.4_Radio_12.28b.60.140 e_26.03.02.24_M_release_155297_signed.exe", can I use this one instead of the other one? I want to downgrade to Stock Froyo to get permanent Root, S-Off, and install custom roms.

I hope someone here is still alive and can answer me this :D
[G2 and Desire Z General] Mozeps:
Ok it Worked and I’m happy as ***** xD still Need to install custom rom though
[G2 and Desire Z General] towfikshop:
help post

hey my t-mobile htc g2 android version is 2.3.4 , i have tried to gain temp root by applying your method bt every time i get permission denied even i restarted my phone in every attempt so plz can you help me with that
[G2 and Desire Z General] XDfroyo:
Misleading DZ stock rom at mediafire

Really nice tutorial but none of the suggested downloads of the DZ stock rom worked, I found one at mediafire but it left me back at 2.3.3 with no developer options in settings | about and volume + start button doesn't work. adb gives:

$ devices

devices: permission denied

The zip file (no idea what the numbers mean) was

HTC_Desire_Z_Vision_2.42.720.2_Radio_12.56.60.25_26.10.04.03.zip
[G2 and Desire Z General] XDfroyo:
Is settings | about phone | developer options set?
[G2 and Desire Z General] XDfroyo:
fixed my DZ with the same issue by checking

settings | applications | unknown sources

and

settings | applications | development | usb debugging

---------- Post added at 04:25 PM ---------- Previous post was at 04:19 PM ----------

fixed my DZ and got ADB to work by checking

settings | applications | unknown sources

and

settings | applications | development | usb debugging

Please can anyone make a link to a stock froyo rom that works.
[G2 and Desire Z General] XDfroyo:
chomikuj.pl has one but requires a Polish or Orange or T-mobile sim, UK EE doesn't work.
[G2 and Desire Z General] hijodedios51206:
Anyone by any chance know of a working mirror or still have the files downloaded? I picked up a G2 and got nostalgic for it. All links are dead and I managed to gain temp-root using files from original links pasted to archive.org.

I've since unlocked via htcdev (surprised the site is still functional after all these years) and flashed supersu for perm-root, which still works.

I want to get s-off and wanted to downgrade hboot first in hopes to eventually gain s-off.
[G2 and Desire Z General] Setherio:
For anyone who stumbles across this now or in the future, some links are broken, I know. It's been long time since I have supported this this guide. I am no longer supporting it (officially). But I know some people are still interested and I might have some of the files still laying around somewhere in my massive collection of unorganized backups over the years. Send me a private message and I'll try to find it. I have missed a lot of messages so I can't say I will respond, but I might. I did update the G2 firmware links as they were no longer working and @hijodedios51206 asked me if I had it and I found it! So I uploaded it to my Google Drive, but I don't know how accessible that is - I know google is sometimes spotty on sharing files.
[G2 and Desire Z General] blaze_3ds:
works!
[G2 and Desire Z General] francescopr:
It works on European DesireZ?
[G2 and Desire Z General] :
Yes, and this just gave me an idea for common questions and answers/common mistakes
[G2 and Desire Z General] sjohnjuan:
my problem is when i get to the pd15img part.. it says abd not found. where exactly on the sd card does this go? does the folder need to be names sd or sdcard. and also i dont push the pd15img to the platform tools folder do i? or do i need to pull up the sdcard in the command prompt?
[G2 and Desire Z General] renjohn78:
I'm having the same issue with my mytouch 4 g!! This is killing me I feel like I'm so close. Can someone help me. i've read the instructions thouroughly and followed them it just won't work.

HELP.
[G2 and Desire Z General] renjohn78:
Whenever I try

$ adb push fre3vo /data/local/tmp

I get

adb: permission denied

damn :(

What am I doing wrong??
[G2 and Desire Z General] sjohnjuan:
go to your sd card and make a folder data then inside the data .. make a local.. then in side local.. make a tmp.. then try the process again..
[G2 and Desire Z General] Amphatoast:
I had this problem also... What worked for me was moving the misc_version file from the /misc_version_01 folder to /platform-tools folder, rebooted phone and did the whole process over and it worked.

(edit- haha first post in 2yrs.. looking to contribute more instead of reading only!)
[G2 and Desire Z General] renjohn78:
I formatted my sd card, I created the 3 new directories you specified, rebooted the phone. I connected my usb cable to the phone. From the command prompt I went into the correct directory.

adb shell

$

$ adb push fre3vo /data/local/tmp

Then I get:

adb: permission denied
[G2 and Desire Z General] :
Alright beginning of FAQ.....

1)If you get adb: permission denied

You most likely have this:$ adb push fre3vo /data/local/tmp

So hit control c you should get a prompt with c:/androidsdk/platform-tools or w/e and try adb push fre3vo /data/local/tmp should work.

2) Does it work for (w/e country) Desire Z?

Yes this is for all Desire Zs , I mean really,the title states it clearly

3) Going "HALLLLP I'VE TRIED EVERYTHING AND IT DOES NOT WORK"

Well instead of doing that please right click the terminal, choose select all, right click again then go to pastebin.com, paste your results here, give it a name and then paste the link here.

OR

Right click, select "mark" highlight the error you got and the previous line or two, right click, and paste it here.
[G2 and Desire Z General] renjohn78:
All,

I've finally got it to work!!!! Yes I have verified you can bring the Mytouch 4G from 2.3.4 to 2.2.1.

I would like to send a huge "THANK YOU" to WOLF26915 who called me up and walked me through the process.
[G2 and Desire Z General] hrockh:
got a problem here.. everything is working flawless until the /data/local/tmp/misc_version -s 1.33.405.5 command

at that point, it says permission denied

can anyone help please?

Last login: Sat Aug 13 10:15:46 on ttys000

jan-posermac:~ janweichert$ cd /Users/janweichert/Downloads/android-sdk-mac_x86/platform-tools

jan-posermac:platform-tools janweichert$ ./adb push fre3vo /data/local/tmp

error: device not found

jan-posermac:platform-tools janweichert$ ./adb push fre3vo /data/local/tmp

672 KB/s (9796 bytes in 0.014s)

jan-posermac:platform-tools janweichert$ ./adb shell

$ chmod 777 /data/local/tmp/fre3vo

$ /data/local/tmp/fre3vo -debug -start FAA90000 -end FFFFFFFF

fre3vo by #teamwin

Please wait...

Attempting to modify ro.secure property...

fb_fix_screeninfo:

id: msmfb

smem_start: 802160640

smem_len: 3145728

type: 0

type_aux: 0

visual: 2

xpanstep: 0

ypanstep: 1

line_length: 1920

mmio_start: 0

accel: 0

fb_var_screeninfo:

xres: 480

yres: 800

xres_virtual: 480

yres_virtual: 1600

xoffset: 0

yoffset: 0

bits_per_pixel: 32

activate: 16

height: 80

width: 48

rotate: 0

grayscale: 0

nonstd: 0

accel_flags: 0

pixclock: 0

left_margin: 0

right_margin: 0

upper_margin: 0

lower_margin: 0

hsync_len: 0

vsync_len: 0

sync: 0

vmode: 0

Buffer offset: 00000000

Buffer size: 8192

Scanning region faa90000...

Scanning region fab80000...

Scanning region fac70000...

Scanning region fad60000...

Scanning region fae50000...

Scanning region faf40000...

Scanning region fb030000...

Scanning region fb120000...

Scanning region fb210000...

Scanning region fb300000...

Scanning region fb3f0000...

Scanning region fb4e0000...

Scanning region fb5d0000...

Scanning region fb6c0000...

Scanning region fb7b0000...

Scanning region fb8a0000...

Scanning region fb990000...

Scanning region fba80000...

Potential exploit area found at address fbb52000:1000.

Exploiting device...

jan-posermac:platform-tools janweichert$ ./adb shell

# exit

jan-posermac:platform-tools janweichert$ adb push misc_version /data/local/tmp/misc_version

-bash: adb: command not found

jan-posermac:platform-tools janweichert$ ./adb push misc_version /data/local/tmp/misc_version

push: misc_version/misc_version.c -> /data/local/tmp/misc_version/misc_version.c

push: misc_version/misc_version -> /data/local/tmp/misc_version/misc_version

push: misc_version/gopt.h -> /data/local/tmp/misc_version/gopt.h

push: misc_version/gopt.c -> /data/local/tmp/misc_version/gopt.c

push: misc_version/.DS_Store -> /data/local/tmp/misc_version/.DS_Store

5 files pushed. 0 files skipped.

1083 KB/s (37547 bytes in 0.033s)

jan-posermac:platform-tools janweichert$ ./adb shell chmod 777 /data/local/tmp/misc_version

jan-posermac:platform-tools janweichert$ ./adb shell

# /data/local/tmp/misc_version -s 1.33.405.5

/data/local/tmp/misc_version: permission denied

#
[G2 and Desire Z General] Setherio:
away

I posted this in the guide, but seeing how I'm still getting bombarded with PMs I figured id post this in here too.

I am currently out of state and do not have access to a computer and am very busy, its hard for me to even look at any messages - that's how busy I am. I would love to help anyone who needs further help, and I will be back home on Monday. If you have questions or problems with this downgrade please continue to post on this thread the issues and be as detailed as you can - like the post above this one. There are several people who are constantly checking this thread and helping but in order to help we need details as to what went wrong - and to those indivudals, thank you sooo much for helping this thread!

I have heard issues of individuals with, I believe, European Desire Zs and they need to use the gold card method as well to finish this process. I, myself, am unfamiliar with the process.

Again, I will be back on Monday but until then, unfortunately, I am unable to assist anyone, though there are plenty of others here who will. So please reply to the thread instead of pm'ing me - you will get a much quicker response that way.
[G2 and Desire Z General] Setherio:
try this hrockh

What happened here is you pushed the folder "misc_version". So try the following command and it should work

./adb shell chmod 777 /data/local/tmp/misc_version/misc_version

./adb shell /data/local/tmp/misc_version/misc_version -s 1.33.405.5

That should work. =)
[G2 and Desire Z General] hrockh:
hey man thank you for your help

I figured out that I indeed pushed the whole folder instead of the single file.. xD

even though, I followed precisely your guide.. still get the bloody permission denied..

what can I do?
[G2 and Desire Z General] Phateless:
Thank you for this guide! I've already linked it to 3 or 4 people.

I was actually running all stock/non-rooted and when I heard there was an ota coming I went back to cm7 asap so as to avoid being stuck in exactly this situation, lol.

Good to know there's a way out.
[G2 and Desire Z General] thecrark:
Im downgrading a Mytouch 4g.. I get through the guide no problem but get the "Main Version Is Older! Update Failed!" message in the bootloader. Not sure what to do now.
[G2 and Desire Z General] :
First off follow full full g2 directions found here. When you get to the part that says changing version number, change the misc_version -s 1.19.531.1 to misc_version -s 1.15.531.1 follow the remaining steps until you get to the Downgrading section. Download the PD15IMG.zip and save it in your platform tools folder on sdk and push it to your sdcard and reboot bootloader with their commands but your command will be PD15IMG.zip /sdcard/PD15IMG.zip then continue to bootloader. Just follow the remaining steps and you should be golden. Just search for the PD15IMG.zip file, its floating around the forums or try Google. If you run into any problems hit me up. I was in your shoes. As far as when you get the original stock Rom back, follow your rooting instructions like you did before. Make sure with Visionary that you have fastboot unchecked in your settings on the stock rom
[G2 and Desire Z General] natehinnN1:
Looking for help.

I would like to say that Setherio is awesome. Walked me step by step through downgrading from 2.3.4 to 2.2 and then rooting it as well. Awesome guy, worth my donation for sure. I love the guys on this site, all of you are awesome. Thanks Pal!

-nate
[G2 and Desire Z General] abofihmi:
Permission denied in adb shell

Hello,

I tried my best to follow every thing in the guard and still getting permission denied, I have my Touch 4G with 2.3.4 and nothing els installed.

here what i did:

1. Downloaded and Installed sun SDK

2. Download and install windows SDK for win7, in the recommended directory

3. Run the sdkmanager.exe and run all updates.

4. Update the path as recommended

open windows powershell

5. set my phone for USB debugging and connecting it to my PC

6. I type the following:

PS C:\Users\me> adb shell

$ PS C:\Users\me> adb shell

adb server is out of date. killing..

* daemon started successfully *

$ adb shell cat /dev/msm_rotator

adb shell cat /dev/msm_rotator

adb: permission denied

$

can you please help me?

Thanks,
[G2 and Desire Z General] Setherio:
Sure, I can help. :)

The problem you are having is that you are trying to use "adb" while already inside "adb shell". On the first line of you log, you use "adb shell" which brings you into the shell. The next command you use is "adb shell cat /dev/msm_rotator". You're already in adb so you don't need to/can't execute that command. You have two choices you can do. You can either execute the command inside or outside of adb shell. Try this (and I'm going to use your log as a guideline in an attempt to better help you with this process):

PS C:\Users\me> adb shell

That will get you into shell where you will begin to see the $, once you do, type the following command (don't type the $ of course):

$ cat /dev/msm_rotator

If you are still having issues, then just try to do it all without entering shell. To do that, again using your log as a guideline, it should look like this:

PS C:\Users\me> adb shell cat /dev/msm_rotator

Either of those should work. If not, respond to this thread and I'm sure we'll find a way to help you. ^_^