yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z General] YOUNGTWAN:
i was stuck there at first so i did it thru fast boot bro .. no gold card or sd card inserted try that it might help it helped me make sure u stick the stockrom.zip in ur platform tools folder then excute this code

fastboot-windows devices

fastboot-windows oem rebootRUU

fastboot-windows flash zip StockRom.zip

fastboot-windows reboot

--------------------------------------

u should see the htc screen with black backrgroun and a progress bar . if u dont see that i would suggest factory resetting ur phone removing ur sd card and doin every step one by one again it took me over a week to get it but i finally got it

o yea and if it makes any difference adb shell chmod 777 /data/local/tmp/*

i didnt use * i jus did it this way adb shell chmod 777 /data/local/tmp/

---------- Post added at 08:09 PM ---------- Previous post was at 08:01 PM ----------

Originally Posted by Nipqer

Oh you'll need to chmod it first.

'chmod 755 ./misc_version/misc_version'

-Nipqer
[G2 and Desire Z General] krntehknik303:
Thanks again bro
[G2 and Desire Z General] :
I have followed EVERUY ADB Guide to A TEE NO PREVIAL

They are all loosely worded even the "for dummies" guieds and i always recieve the same errors. SDK will install but adb will not read device or give me a serial. I can not push fre3vo o push anything as it can never find the sdktools folder even though im looking dead at it and did everything this guide told me to do. ive run multiple apps that install sdk for you ive rebooted uninstalled reinstalled nothing is working. i have switchs between 4 computers one mac 3 pc. Can someone please give me the simplest step by step guide to ADB and downgrading MT4G 2.3.4 because ive been reading for 3 days now and im very fustrated. PM and i will you send my email and any other info you need. :mad:
[G2 and Desire Z General] Nipqer:
Have you tried pointing your cmd to your adb folder?

-Nipqer
[G2 and Desire Z General] krntehknik303:
Says the chmod is not recognized as a command
[G2 and Desire Z General] :
yes and i get nothing its says cmd not recogized or not found. i was able to get abd working on a different computer and typed in the command to check to see if it had everything it needed and i got the correct response but then it wont read any of the adb files like fre3vo or fastboot

---------- Post added at 01:04 PM ---------- Previous post was at 01:03 PM ----------

yes and i get nothing its says cmd not recogized or not found. i was able to get abd working on a different computer and typed in the command to check to see if it had everything it needed and i got the correct response but then it wont read any of the adb files like fre3vo or fastboot
[G2 and Desire Z General] YOUNGTWAN:
Are you sure your not copying over to far
[G2 and Desire Z General] krntehknik303:
Finally got my phone rooted nipqer helped me outvon tthe irc chat. Flashed cm7 on my glacier but seem to be a little buggy for a "stable" rom
[G2 and Desire Z General] Piniata:
Wrong MD5 checksums every time!

Hi

I get Wrong MD5 checksums every time i download the firmware file. I must have downloaded it 20 times now but still not right MD5!?? Why is that???
[G2 and Desire Z General] Nipqer:
Which one are you downloading? Are you using a download accelerator?

Which mirror?

-Nipqer
[G2 and Desire Z General] shadowjin:
double post..
[G2 and Desire Z General] Piniata:
I´m using the ones for desire z, and I have tryed them all 4 endless times now and from different computers. they all are corrupt and gives away wrong MD5´s.

I dont have any download accelarator, why? should I install one?
[G2 and Desire Z General] Nipqer:
Do you have a computer running linux?

Cause I can split the file up into smaller pieces, so you can download them individually, but you would have to put them back together on your end, which is trivial with linux's cat command.

-Nipqer
[G2 and Desire Z General] dutx12:
When I get to this step

" Download a backing up application such as...

Titanium Backup

MyBackup Root

Make a backup! "

My Android says "I am Root"

but in the console "adb shell" appears # that indicate that I am root

All previous step work properly

Someone can help me??

HTC Desire Z

Android 2.3.3

S-ON
[G2 and Desire Z General] Nipqer:
What the hell are you asking?

Please try describing your issue again.

-Nipqer
[G2 and Desire Z General] ce3jay:
# ./misc_version -s 1.00.000.0
./misc_version -s 1.00.000.0
./misc_version: permission denied

I have Mytouch 4g 2.3.4

Am I missing something?

EDIT: NVM, i got it

chmod 755 ./misc_version/misc_version
./misc_version/misc_version -s 1.00.000.0

-Nipqer
[G2 and Desire Z General] dutx12:
Ok, will try to explain it better, I follow the step as instructed, but when I trie to do a back up, running the Backup program, tells me that I am not root.

The symbol I appears in "adb shell" is #, so I guess I am temporarily root
[G2 and Desire Z General] Nipqer:
Did you run the 'fixsu.sh' step?

If you did and it doesn't work, you probably need to do a full reboot of your phone.

Turn it off, pull the battery out for a minute, then turn it on and retry the fixsu.sh bit, that should give you root access.

-Nipqer
[G2 and Desire Z General] dutx12:
Te previous step is:

adb shell /data/local/tmp/fixsu.sh

I run from the command line "adb shell" but nothing happens

Ok, Now i will try to do a Full Reboot.

Thank you
[G2 and Desire Z General] magnummandel:
I remember to had that same problem when rooting my Z a few months ago. But because I wasn't in high need of a backup I skipped that step and all further steps worked fine again.

MM
[G2 and Desire Z General] dutx12:
---------- Post added at 01:01 PM ---------- Previous post was at 12:55 PM ----------

[/COLOR]

Donwgrade process, do not delete anything?
[G2 and Desire Z General] Nipqer:
Downgrade process deletes everything.

-Nipqer
[G2 and Desire Z General] magnummandel:
Oh, it definetly will delete everything. But I didn't care about backing up something. I just tried. I just wanted to say that this issue does not affect the further downgrading and rooting process. Seems to be a problem of not recognizing the temproot on stock rom by Titanium.
[G2 and Desire Z General] Magnumxxxl:
I seem to be stuck in instruction number 5 when I put adb shell and ohmod 777 etc, it keeps telling me no such file or directory? I know fre3vo is in my tools because I was able to push the first files in instruction 5. I have the g2. I have a major headache because of this. It took me 3 hours to successfully set up adb in my new pc. It's late and I'm tired. Any help is greatly appreciated.
[G2 and Desire Z General] magnummandel:
The command to run ist not ohmod 777, but chmod 777. On some systems the c looks similar to an o. Perhaps you should try to copy/paste the commands.

MM
[G2 and Desire Z General] Magnumxxxl:
yeah i was copying and pasting i marked that correctly just was to tired from last night trying to figure this out. Thats why i mispelled the command here sorry. so far i got almost everything but im stuck in # ./flashgc i keep getting a permission denied.
[G2 and Desire Z General] Nipqer:
Have you chmod'd flashgc?

-Nipqer
[G2 and Desire Z General] Magnumxxxl:
I'm not sure lol, but I'm good now. I just ignored the flashgc adb she command and skipped it. Manuel downgrade didn't work for me. But I was scared as **** when I did the fastboot downgrade. It told me to. Flash immediately I got scared but flash the stockrom zip again and I'm back to Froyo. Yay lol. Now how do I root and put a custom recovery and get my custom rom flash on?
[G2 and Desire Z General] Nipqer:
Follow this guide http://xdaforums.com/wiki/index.php?title=HTC_Vision#Rooting_the_G2

If you want help, come join #g2root on freenode irc

-Nipqer
[G2 and Desire Z General] Shabihbhai:
> adb push fre3vo /data/local/tmp

> adb shell

$ chmod 777 /data/local/tmp/fre3vo

then it says permission denied. help please
[G2 and Desire Z General] izzyinstl:
everything goes good until it looks for the PC10IMG ..... it cannot find any of the files and 1 say "or incorrect version" then it just goes back to boot loader screen. the file is on the sdcard in root directory
[G2 and Desire Z General] Nipqer:
Use the fastboot downgrade method then.

-Nipqer
[G2 and Desire Z General] izzyinstl:
ok it worked!!! Thank you ... I now have 2.2...so from here I need to perm root correct? then I should be able to flash roms correct?

I am now getting OTA update message ...to update fm build 1.19.531.1 to 1.22

531.8 ..i assume i should NOT do this ..correct?

I've been looking but still confused... What exactally is my next step? Do I need to get the S -OFF? (where do I do this) and where do I root?

G2

android version 2.2

Kernel 2.6.32.17-g814e0a1

Build Number 1.19.531.1 CL 255798 release keys

Sorry i am a noob and only have did this stuff to my G1 a long time ago :rolleyes:
[G2 and Desire Z General] Nipqer:
Yup now you need to root.

You're right, do NOT accept the OTA, otherwise you'll have to re-downgrade.

Rooting instructions: http://xdaforums.com/wiki/index.php?title=HTC_Vision#Rooting_the_G2

-Nipqer
[G2 and Desire Z General] tun4f1sh:
Nipqer, I just wanted to let you know that you're an awesome person.
[G2 and Desire Z General] izzyinstl:
ty ty ty

I've successfully rooted and have s-off. I am now ready to get roms. Question, I am still getting the OTA update requests, Is it safe to accept now since its rooted and s-off?

Again thank you !
[G2 and Desire Z General] magnummandel:
No it's not. You should not accept that update. Just install the rom of your choice (there should be no update notification after that).

MM
[G2 and Desire Z General] Setherio:
I *JUST* found my battery charger for my camera! So I am currently making a video of the guide. Literally, reverting my phone back to the oTA 2.3.4 with S-On to do this. I will definitely had a video done using Windows 7 x64 as the PC OS. And will try to get it done for OS X. Keep in mind each time I do this, I have to revert back to stock so I need to try to do it at a time no one will text/call me which is hard for me (yeah, I get text/calls at 3-4am too >_>) But by the end of the day - expect a video guide!
[G2 and Desire Z General] platypuss94:
when i try to push the fre3vo to the phone it says cannot stat: fre3vo no such file or dirctory. the fre3vo file is in my platform tools along with adb and im running cmd from platform tools. what the hell am i doing wrong.
[G2 and Desire Z General] Setherio:
I made a video from scratch. My laptop's monitor just died but ill add annotations when I can. The video ispretty straight forward though. It starts from a the beginning to end using a fresh install of Windows 7 x64

http://www.youtube.com/watch?v=0OXTuB3PAzY&hd=1

~Setherio
[G2 and Desire Z General] Setherio:
If you type:

dir fr*

Does fre3vo show up? If so, when you push it, try this instead

adb push fre3vo /data/local/tmp/fre3vo

~Setherio
[G2 and Desire Z General] Wicked68:
So, You have to use ADB to downgrade the G2? Can't use terminal emulator on the phone?
[G2 and Desire Z General] Setherio:
To the best of my knowledge, the exploit that fre3vo uses requires adb. Even when you use the exploit using adb, when you enter shell from you have a temporary root access. However, I do not think you will have temporary root access using terminal emulator.

Do you not have access to a computer? Even If it is restricted access you can still run adb. All you need is the executable. ( and you may or may not need a drivers they may already be installed ). If you want to contact me my contact info is on my first post at the very bottom and I will assist you as much as I can.

~Leon aka Setherio
[G2 and Desire Z General] Kangal:
Hi I need some help, very thankful if you could. I'm used to other devices which root easily and this was my first htc device.

I had A LOT of trouble trying to get the correct USB Drivers.

I won't download HTC Sync (149MB) just for something literally 5 MB worth of driver.

Anyways I was able to overcome this by actually installing "PdaNet" on my computer and extracting a Universal Driver for HTC devices.

I have the DZ (Vodafone Australia - build 1.85xx) and in cmd when I type adb devices I get:

List of devices attached

HT12MRT01107

adb shell cat /dev/msm_rotator

gives me: /dev/msm_rotator: invalid length

I cannot accomplish "adb push" step as planned (despite following the directions 100%).

Instead I went:

adb push C:\Users\Ekin\fre3vo /data/local/tmp

and I get 180 KB/s <9796 bytes in 0.053s>

Looks good, its been pushed.

Then I follow as usual, adb shell, $ chmod 777 /data/local/fre3vo

and I get: chmod 777 /data/local/tmp/fre3vo

and continuing:

$ /data/local/tmp/fre3vo -debug -start (sequnce here) -end (sequence here)

I get the normal response=

Buffer offset: 00000000

Buffer size: 8192

Scanning region (region of the code)...

" " (next codeset)....

" " etc etc

But in the final string I get:

$

And I've rebooted the phone and have tried all the sets listed above (100000, 200000, 30000000, F000000, E0000000) but they all have given me the $

I never could achived # which is my main goal. I want to get temp-root to backup my data from the apps to transfer to my new device. And secondly to put a much more optimal custom rom on it

P.S. I just stuffed up my SG NOTE while Restoring a TitBackUp, so I'm busy fixing that up too :(

(accidentally overwright some system settings including the keyboard, two widgets, google market account sync= android.process.gapps works fine but gives constant annoying notification and the TouchWizz Contacts+Dialer f'closes = android.process.acore)

---------- Post added at 02:04 AM ---------- Previous post was at 01:58 AM ----------

Okay so the NOTE sort of fixed itself (gapps notification has stopped) ... and I cleared all the Contacts Storage "data" and it fixed. Now the notification for that has stopped and the Dialer works and the Contacts App works.

Still not flawless, I might stay on this a little longer or jump onto the v2 of MidNote, eagerley waiting for a stable CM9 or MIUIv4.

Anyways, any hints on getting r00t for the DZ ?
[G2 and Desire Z General] Kangal:
Thanks for the help.

I normally use OneClick Tools because from my experience they either work or they fail, and I resort to adb if they fail. Only reason I use OCRoot is so I can install a custom Kernel and cwm...it acts as my gatekeeper until the custom kernel gives me a "better" root solution.

With that out of the way, I've progressed a little bit.

I've managed to get # (root) in adb but not in the Terminal of the phone.

The problem I was having was not that I was typing them incorrectly in adb (sorry for the typos before in the post), the problem was I used "fre3vo" when I should've been using "psneuter" which gave me root.

I've been using a hybrid of two guides (yours and g4rb4g3's) still not there yet.

So Out of the 3 Major Steps (ADB, Terminal, PC10IMG.zip) I'm stuck on the second one.

I've got some good apps (Drag Racer, Aliens, Dragon Hunter2 etc etc) that I'm used to using frequently and want to carry it over (with data) so this is becoming frustrating. I WILL NEVER SUPPORT HTC AGAIN (their phones' ugly, Qualcomm is crappy, Sense is bloated...and to top it off their security is too weird!)

P.S. I'm going to get some sleep before the sun rises, I'll have another crack at it tomorrow (today?) and I'll either pastebin.com it or something rather. Expect a donation by the way, I'm also going to buy the full version of SuperSU/TitaniumBU/RomManager...I think they will be worth it, funny how I've used so many apps until today without ever buying one
[G2 and Desire Z General] Setherio:
Nipqer wrote a guide I have in the OP about how to back up apps and data once temp root is achieved. There are also alternative methods I've done to do the same thing but mines mite along three lines of a lot of using adb and CLI scripts command and more more complicated than his, so you might want to read that under "backing up data"

As far as I know, psneuter won't work with gingerbread. Use fre3vo to gain root access via ADB and then nipqer's guide to backup data if you want to back anything up, then misc version to change the version number to allow downgrade to Froyo. From there, root like normal (psneuter works then) then load up custom roms or do whatever.

If you have root access via adb, there are alternative methods I know of if you're still having issues. The aternative methods, however, are purely CLI using linux commands and approaches to things which shouldn't be used unless you know what you're doing (and are familiar and comfortable with linux enough) - or as a last resort.

Anyways, to conclude and sumarize....

You've got root access via adb with is great.

Check out Nipqer's guide if you want data backed up.

Use misc_version and you should be good to go.

Keep me updated on the progress :)
[G2 and Desire Z General] Nipqer:
Problem is, my guide is made to work with fre3vo, psneuter will not work with the temp-root.

You could try with zergRush, I'll probably test it myself in a few days or so, so I'll report back.

-Nipqer
[G2 and Desire Z General] snakesinrivers:
Unable to Get past Fre3vo Mod.

I believe that I seem to be stuck in or around the same area as Kangal was.

After following the guide (which is amazing as I follow it), I get to the point of entering the sequence and I just never seem to get a proper response other than the $.

The SDCard is fresh. Nothing basically on it. I am grabbing my link from pastebin at the moment with the cmd information.

Pastebin - FAA90000

There we go, I posted what I did. I placed X's on the serial under [abd devices], that was all I changed. If you would like to I can post each time for each try, I have tried this [FAA90000] and the other 4 given. [10000000][20000000][30000000][F0000000][E0000000]

I reboot the cmd, restart windows, and restart the phone each attempt.

Any Advice?

-EDIT* I was attempting to pastebin the [10000000] sequence, it cuts off most of what I do. so basically all you see is the sequence looking through things and ends up back at the [$]...*

-**Update**- forgot that I had LauncherPro, as my defaulted load up...so it ended up messing up the ability to touch screen for a bit, I am having to do a factory recovery on the phone as well. Maybe this will help my chances at getting the temp-root complete.-****-

--****MegaUpdate*****-- Amazing, alright well. I decided to try and make sure I was fully updated. So I went back and grabbed all the updated files and just let the RECOVERY (held vol-d + pwr), Update Completed and I managed to get the Temp Root to work afterwards. As Soon as that happened, everything flew by, I got the back up done, which really wasn't a necessity...since all the files are on my Mac...Regardless. I am at the moment waiting for the phone to finish rebooting into Android 2.2 Stock Froyo. My First Root Ever, and this guide was amazing. Muchos Gracias!! --****End Update****--
[G2 and Desire Z General] Anteino:
RE: Thank you after all

After 50 tries this worked for me, thank you to the max man!
[G2 and Desire Z General] legioncwe:
worked like a charm

Guide worked like a charm, very well written and easy to follow -- worked perfectly. was able to downgrade from 2.3.x to 2.2 in about 30minutes (includes downloading the PB15IMG RUU)

Thx
[G2 and Desire Z General] heyyyitsjordan:
followed the guide... many times... still failed. -_____-

http://pastebin.com/Ff66Q5Sg

every time i get to get to fastboot and click on bootloader, it scans PD15IMG.zip... and then it says wrong image or no image.

i've tried all the different mirrors. still nothing works.

hboot-0.89.006

microp-04.29

radio-26.13.04.19_m

eMMC-boot

this. phone. is. pissing. me. off.
[G2 and Desire Z General] Setherio:
Sorry, I have to ask... You are using a myTouch 4G, yes?

And I see you're using a mac. Could you check the md5 of the file to make sure it didn't get curropted? To do this, open up terminal and go to where the PD15IMG.zip is (in terminal) and type:

md5 PD15IMG.zip

and it should return "49d07f0ee7de1765a6a84cb12fa53110" - it should look like this:

Jordans-MacBook-Pro-2:~ ceej$ [B][U]md5 PD15IMG.zip[/U][/B]
[I]MD5 (PD15IMG.zip) = 49d07f0ee7de1765a6a84cb12fa53110[/I]

If the md5 doesn't match or if a problem still persists, we'll try to figure something out. :)
[G2 and Desire Z General] Plomiwn:
Hey there.

I stumbled upon problem when trying to do a backup using Titanium while on temp-root it seems that new version of TB needs new version of SuperUser.apk and this one needs new version ? of busybox. Could anyone lead me to new busybox that i can push through adb?

B. Regards.
[G2 and Desire Z General] Plomiwn:
Nevermind i solved this issue.

For those with same problem, download newest SuperUser.apk zipped from developers home http://goo.im/superuser

Extract Superuser and su binary and use them instead.
[G2 and Desire Z General] chrisneal:
First off, thank you, thank you, THANK YOU for this well written, extremely easy to follow guide. I'm sure you know you've saved countless people countless hours of headaches, including me! VERY MUCH appreciate your efforts!

I followed this guide last night to downgrade/root my wife's G2. That's a little more touchy than doing my own ;). Everything worked like a champ, with one small hitch that I wanted to mention to see if perhaps an extra step might be included in the guide.

Where I hit the hitch was after rebooting and having the bootloader pick up the Froyo PC10IMG.zip. It installed fine. But then when I went on to boot *back* into recovery to apply the custom ROM I wanted to install, then PC10IMG.zip file was still there, and the only other option besides installing it (again), was to reboot the phone! So, I couldn't get to the ROM installing. :)

I was wondering if you thought it might be helpful to put a "step 2" in the Manual Downgrade section that talks about removing the stock rom from /sdcard so it frees up the bootloader to do other fun things?

Just a thought!

For me it was as simple as:

-Let the phone boot to Froyo

-Plug in the USB cable to the computer

-Make sure debugging mode is still on

-adb shell

-rm /sdcard/PC10IMG.zip

-reboot to recovery

Again, thanks so much for making this process as easy as you have. GREAT JOB.

Chris
[G2 and Desire Z General] Plomiwn:
WARNING!

Well Titanium Backup tricked me - it said that backup is done, i didn't check in files, and after full rooting, flashing new rom etc. etc. my backup was build only from .properties files.

SO WATCH OUT DOING BACKUP ON TB WHILE YOU ON TEMP-ROOT.
[G2 and Desire Z General] orangekid:
I've done everything right afaik but in the last part when I try to boot into recovery to load the PB*** file, it won't find it or load it.

It's on the root of my SD card, all uppercase letters.zip.

This is trying to downgrade a MT4G to froyo for S off, superuser is installed it's temp rooted etc...
[G2 and Desire Z General] tarroyo:
good looks on this!