yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z General] brcakba:
this worked for me

C:\android-sdk\platform-tools>adb shell chmod 777 /data/local/tmp/misc_version/*

C:\android-sdk\platform-tools>adb shell

# cd /data/local/tmp/misc_version

# ./misc_version -s 1.00.000.0

C:\android-sdk\platform-tools>adb shell chmod 777 /data/local/tmp/flashgc/*

C:\android-sdk\platform-tools>adb shell

# cd /data/local/tmp/flashgc

# ./flashgc

# sync

# dd if=/dev/block/mmcblk0p17 bs=1 skip=160 count=10

1.00.000.010+0 records in

10+0 records out

10 bytes transferred in 0.001 secs (10000 bytes/sec)

Double check and make sure everything looks good so far by running the following command (still in adb shell).

Code:

# dd if=/dev/block/mmcblk0p17 bs=1 skip=160 count=10

1.00.000.010+0 records in

10+0 records out

10 bytes transferred in 0.001 secs (10000 bytes/sec)

BE SURE TO BACKUP ANY DATA!!!***

> adb push su /data/local/tmp/

> adb push busybox /data/local/tmp/

> adb push fixsu.sh /data/local/tmp/

> adb install SuperUser.apk

> adb shell chmod 755 /data/local/tmp/fixsu.sh

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

Download a backing up application such as...

Titanium Backup

MyBackup Root

Download the Stock Rom for your device:

http://dev-host.org/ytv59wps2wzc/PD15IMG.zip

adb reboot bootloader
[G2 and Desire Z General] machhho:
thanks , I'll try it
[G2 and Desire Z General] tabasco:
Hi! I also did this all above, even twice but I'm still at 2.3.4. Device unlocked by htcdev and working fine, running this firmware. Fastboot downgrade fails at "remote:99 unknown fail". What can be wrong?:(
[G2 and Desire Z General] strawmetal:
You cannot follow this guide if you are on htc dev unlock. Follow nipqer's guide( check the threads he started). Follow that guide until relocking your bootloader and then you can come back here and follow this guide.
[G2 and Desire Z General] tabasco:
Thanks! After relocking all done ok:)
[G2 and Desire Z General] camsurf:
hey buds im getting abd not found after i enter; adb push su /data/local/tmp/ everythng works great up till then any ideas
[G2 and Desire Z General] strawmetal:
shouldn't you be using "adb" instead of "abd"
[G2 and Desire Z General] Songo07:
Sup guys. I was trying for the first time this downgrade to my Htc Mytouch 4g and this appear after I start

c:\android-sdk-windows\platform-tools>adb shell /dev/msm_rotator

/dev/msm_rotator: permission denied

Can somebody help me? And one thing I don't understand is about putting the fe3vo and misc_version inside the.zip

Sorry of I make stupid questions, I'm just trying to learn and do it my way, since I don't like to pay for something that maybe I can do.
[G2 and Desire Z General] kbeezie:
Try going into adb shell, without any other commands

and see if you have a $ or # prompt, problem may be that you're not elevated into root yet and typing su , would elevate you. If you get permission denied on either that, check your phone's development setting to see if it's allowing root access to both Apps and ADB.
[G2 and Desire Z General] Songo07:
I was about to edit my post when I saw you reply hahaha.

The question I asked about where do I had to put the fre3vo and the misc file, I got that reading more ahead. I had to put just the files and not the entire folder on the platform folder. Then After that I got everything going well until I had to push the fre3vo file. I read more and more and I found that I had to create a folder on my SD for this commands to work. Anyways, Thanks A LOT guys. You guys save me from wasting $30 on something I did myself.
[G2 and Desire Z General] elmerohueso:
I've got a myTouch 4G Slide on 2.3.4.

I ran the first command and got

/dev/msm_rotator: invalid length

So I pushed fre3vo and chmoded it to 777. However, none of fre3vo's scans are finding exploitable areas (yes, I'm rebooting after every scan). They're not returning errors, but the scans run all the way through without returning any messages about exploitable areas, and I can't get elevated (su) permissions. Any suggestions?

I'm trying to just get a temp root so I can grab a physical image for forensic analysis.

Edit: Just notice this:

Oh well.
[G2 and Desire Z General] freshkid87:
ok this whole gold card and remote:43 thing freaks me out...no easier method? seems a bit complicated for a n00b

---------- Post added at 04:24 AM ---------- Previous post was at 03:33 AM ----------

after one hour i got it. just have to follow and read everything, dont just jump to downloading **** you don't need. ...glad i got it
[G2 and Desire Z General] k00lrav:
Tmobile g2

i was on an cm9 ics rom and i am having some problems with my phone. i want to return to stock froyo or gingerbread. but when i tried downgrading it wont let me down grade. it reads the PC10IMG.zip but it does not ask me if i want to update. it just loads back to the bootloader. so i decided to change my rom from ics to a modifed 2.3.4 rom just to see if that made a difference in downgrading, but that did not work. i have tried the guide over and over and over. it still will no ask me if i want to update in the bootloader screen. at the top of the screen it says s-off.
[G2 and Desire Z General] demkantor:
check out nipqers guide on going back to stock... but really just use a stable fast 2.3.x rom, there are so many to pick from that are far supierior to stock. try elitemod cm7 or glite
[G2 and Desire Z General] k00lrav:
Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\K00L_Rav>cd..

C:\Users>cd.

C:\Users>cd..

C:\>cd adb

C:\adb>fastboot devices

HT0A1R202873 fastboot

C:\adb>fastboot oem rebootRUU

... OKAY [ 0.149s]

finished. total time: 0.150s

C:\adb>fastboot flash zip PC10IMG.zip

sending 'zip' (126272 KB)... OKAY [ 23.549s]

writing 'zip'... INFOzip header checking...

INFOshift signature_size for header checking...

INFOzip info parsing...

FAILED (remote: 22 loading zip info fail)

finished. total time: 32.723s

hey guy am getting this message when am i trying to downgrade. any ideas.thank you

---------- Post added at 11:56 AM ---------- Previous post was at 11:18 AM ----------

i got it i had to downgrade he hboot.. thank you
[G2 and Desire Z General] 8525Viper:
Downgrade but now having a problem with ---- http://xdaforums.com/wiki/index.php?title=HTC_Vision#Rooting_the_G2 ---- at the temp root part.

c:\Android>adb push recovery-clockwork.img /data/local/tmp/recovery.img

1785 KB/s (3637248 bytes in 1.989s)

c:\Android\android-sdk-windows\platform-tools>adb shell /data/local/tmp/psneuter

/data/local/tmp/psneuter: permission denied

c:\Android\android-sdk-windows\platform-tools>adb shell /data/local/tmp/psneuter

/data/local/tmp/psneuter: permission denied

c:\Android\android-sdk-windows\platform-tools>adb shell /psneuter

/psneuter: not found
[G2 and Desire Z General] Nipqer:
did you chmod it?

-Nipqer
[G2 and Desire Z General] Jalaluddin:
Just used this guide to downgrade worked perfectly! thx very much =D
[G2 and Desire Z General] GrievousMcG:
Hey guys, currently using Strawmetal guide to rooting the phone and many thanks to him for creating it.

I've got a couple of question and bear in mind that I don't really have a strong background in IT.

I'm up to this part of the process:

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

and so far I'm getting a "not found" message. There are other suggestion there that I haven't tried yet but am I correct in assuming that there shouldn't be a space between the letter and the dash in the above command? In other words it should be input like this:

/data/local/tmp/fre3vo-debug-start FAA90000-end FFFFFFFF ? Scratch this question, I just had a look on the first page of this thread and saw the commands format...

Another question is that if the above input doesn't work then Strawmetal suggest that you do another "set" after rebooting your phone. So by "set" I presume that we have to start from the "adb devices" command and work your way down again?

Gotta say I'm having fun learning this! :D
[G2 and Desire Z General] Nipqer:
It depends where it breaks.

But if you don't can't figure out what went wrong, or don't have someone who can help you, then it probably is best to do it right from scratch (though you can skip the 'adb shell cat /dev/msm_rotator')

Though you may not need to repush everything

-Nipqer
[G2 and Desire Z General] GrievousMcG:
Cheers Nipqer.

I keep getting a "bad mode" message after entering the chmod.

What happens is that after the "adb shell" command (and I reboot the phone on each occasion before each set), I then enter the following:

"chmod 777 /data/local/tmp/fre3vo -debug -start FAA90000 -end FFFFFFFF"

Or was I suppose to enter the command precisely like this:

$ chmod 777 /data/local/tmp/fre3vo

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

Is there suppose to be two lines for the chmod command or one?

The digit after the 9 is a number right? Not a letter??

Might make it easier if you talk to me as you would talk to a noob....

FYI - I've got an European Desire Z
[G2 and Desire Z General] strawmetal:
9 is followed by a zero
[G2 and Desire Z General] f0ul99:
Hi guys, last January I rooted my Desire Z via HTCDEV with the help of Pierre-Ja from #G2ROOT. I've got this

*** UNLOCKED ***

VISION PVT SHIP S-ON

HBOOT-0.85.0015

MICROP-0425

RADIO-26.10.04.03_M

eMMC-boot

Dec 20 2011,16:21:13

*******************************

I've been succesfully flashed GB roms. Now I wanted to try JB and other things and realized that I don't have S-OFF.

The questions are, 1) In order to get the S-OFF, should I downgrade and root again? 2) Is there just another way to get the S-OFF?

Please show me the links if there are ways to do it. I am probably a bit rusty but I can catch up.
[G2 and Desire Z General] demkantor:
go to the op of this thread, there is alink to nipqers guides to remove oem unlock (fastboot oem lock) then in that thread there will be link right back to this thread to downgrade and then a link to the xda wiki to get true soff

read at least the op of all three threads and when you feel like you understand what you are going to do go for it, its quite easy. if you get stuck search a bit or go to freenode irc #g2root and there you will get real time help
[G2 and Desire Z General] f0ul99:
Thank you for showing the way. i got it on first try, http://xdaforums.com/showthread.php?t=1453066

Thanks to Nipqer too. Awesome guides.:good:
[G2 and Desire Z General] crimedave1987:
im confused im getting this

Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Dave's Work PC>adb push fre3vo /data/local/tmp

cannot stat 'fre3vo': No such file or directory

C:\Users\Dave's Work PC>
[G2 and Desire Z General] demkantor:
Either didn't unzip and extract it or you didn't put it in the same folder as adb
[G2 and Desire Z General] strawmetal:
Moderator please sticky this thread. It keeps disappearing for long periods and then surfaces all of a sudden.
[G2 and Desire Z General] crimedave1987:
the folder came in all in one?

i downloaded everything on the .pdf link ???
[G2 and Desire Z General] Nipqer:
Are you sure cmd is pointed to the right folder then? Cause that error means adb can't find fre3vo.

You need to split it up into the 2 commands

$ chmod 777 /data/local/tmp/fre3vo

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

also, FYI, the 'FAA90000' and 'FFFFFFFF' are hexadecimal, and tell fre3vo which memory addresses to look between for the exploit.

Hexadecimal digits are 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F, for 1-16.

Just thought you'd like to know :)

-Nipqer
[G2 and Desire Z General] GrievousMcG:
Thanks Nipqer.

I think I found what my issue was.

At the command prompt, my first original line was like this:

C:\users\(my name)>adb devices

After spotting the video that Setherio put up on youtube, I realised that I should have done this:

C:\users\(my name)> cd C:\platform-tools

C:\platform-tools>adb devices

Then so on until I've managed to get to the fantastic # sign which got me temp root status without any problems. :good:

Hopefully it will be smooth sailing from here but that will have to wait until tomorrow as it getting a little late now.

Yeah, I know - I'm not the brightest spark around here.....

Thanks again guys.
[G2 and Desire Z General] demkantor:
alternatively you can change the path in enviromental variables so you won't have to always change directories. makes things a lot easier as you start to use fastboot and adb more often
[G2 and Desire Z General] strawmetal:
@GrievousMcG : Since you were following my pdf; I can say that you didn't go through the instructions carefully on Page 3. I remember writing something about changing environment variable in bold text.

@demkantor : Thanks for pointing that out.

Cheers
[G2 and Desire Z General] crimedave1987:
Yep unless the envoment whatever from my computer advance option is incorrect cause it said something about commas and I never added commas
[G2 and Desire Z General] Nipqer:
It uses semi-colons ( ; ) to seperate values, not commas.

-Nipqer
[G2 and Desire Z General] GrievousMcG:
Mate, I didn't say your instructions were wrong as several hundreds of people have used them without any issues.

I thought I followed your instructions to the letter on page three and here is an image to show you what I've done. But like I said before I'm not that well versed in IT so this is a bit of a learning curve for me.

[/URL][/IMG]

Feel free to point out my mistakes if the images is big enough to for you guys to read otherwise not to worry as I can run this pass a mate of mine who works in IT.
[G2 and Desire Z General] crimedave1987:
So what can I do to fix the proble
[G2 and Desire Z General] demkantor:
again if your still @ fre3vo push and get the same error then

1) make sure it is unzipped (push the files not the folder)

then if you properly set the path in eviromental variables right click in the folder thatfre3vo is located and choose open cmd here. (if you type adb devices in cmd @ this point and you get your phone then you did it right)

if you don't change the path put all files needed in the same folder as adb.exe and open the command there, now again type adb devices if you see yours proceed
[G2 and Desire Z General] Nipqer:
Or you could join the irc channel, #G2ROOT on freenode and we can help you in realtime

-Nipqer
[G2 and Desire Z General] vietannamese:
I was wondering if it was at all possible to downgrade without using ADB (like using some combo of AirDroid to move files + Android Terminal Emulator? Just something I randomly thought of, and haven't had the chance to further research.)

The reason I ask is because I'm trying to downgrade and root my girlfriend's phone that, for some reason, isn't recognized by using any computer or USB sync cable I've tried. I know it's the phone that's the problem because my phone has no issues at all connecting with the same combo of USB cable + computer.

Thanks in advance!
[G2 and Desire Z General] eboy_gb:
Have you installed the proper divers for the phone? You may have to manually install the drivers - delete the existing ones and reinstall. Or do you two have the same phone and it's detecting one and not the other?
[G2 and Desire Z General] Nipqer:
No, not with the current exploits we have for the gb rom.

If you could find an exploit that didn't rely on adb then you could

(I think mempodroid might be able to work without adb? not sure on this though, dunno any others that might work)

-Nipqer
[G2 and Desire Z General] vietannamese:
The latter. Drivers were uninstalled and reinstalled, but one of the phones just can't be read, while the other can.

Thanks for the answer! I guess I'll just have to hope the USB port magically works on the phone one day, but I won't be holding my breath for that
[G2 and Desire Z General] GrievousMcG:
I must be the dumbest guy on this thread but I can't get for the life of me get the superuser app to work. In the apps list it is blank and even though I went ahead and installed titanium backup, it tells me that I don't have root access despite of the command prompt showing the # sign.

Here is the link to the pastebin of what I've done so far: http://pastebin.com/nyscqgaQ

Does anyone care to state the oblivious to me? :silly:
[G2 and Desire Z General] fyremedik:
Mytouch 4g

I have done this multiple times and can't get past this part. Any help would be appreciated.

http://pastebin.com/HsFxCLxu
[G2 and Desire Z General] Nipqer:
Just cause you have the # sign in shell doesn't necessarily mean apps can get root access.

Fixsu.sh didn't throw any errors, so it should've worked. What you could try is do a full reboot of the phone (turn phone off, pull battery out for a minute) then redo fre3vo and fixsu.sh, that should get it to work

You pushed the misc_version dir, so you need to do:

adb shell
cd /data/local/tmp/misc_version
chmod 755 *
./misc_version -s 1.00.000.0
cd .. //this takes you back to /data/local/tmp

-Nipqer
[G2 and Desire Z General] fyremedik:
Thanks. I got it. You are a great help!
[G2 and Desire Z General] konoplya:
quick question guys. i need to root a 2.2 G2. the phone info is as follows:

baseband

12.28b.60.140eU_26.03.02.26_M

kernel

2.6.32.17-g9ab3677

htc-kernel@and18-2 #1

build number

1.22.531.8 CL277427 release-keys

do i still need to downgrade to 1.19 or is this good to go for the rooting?

thanks!
[G2 and Desire Z General] Nipqer:
That's ready for rooting

-Nipqer
[G2 and Desire Z General] konoplya:
sweet. thanks!
[G2 and Desire Z General] etp23:
Ok I have a Problem when downgrading and in the bootloader stage when I'm flashing the stock rom it bricked my device I'm on a g2 and I got the t mobile stock rom is it a problem that my memory card was already golden from my last root on my g2? Can someone please help?? :(
[G2 and Desire Z General] demkantor:
Still being "golden" is irrelevant, can you give more detail, possibly a copy of your cmd input/output
[G2 and Desire Z General] etp23:
I just folllowed it as it showed in the guide cmd input output?

---------- Post added at 03:13 PM ---------- Previous post was at 02:50 PM ----------

I don't think I unzipped all the files :/
[G2 and Desire Z General] GrievousMcG:
*sigh* I really don't know what I'm doing wrong....Now I do!

I was piss farting around too much with the superuser app by updating the su binary (which I shouldn't have done). So I started again from scratch and this time open up the superuser app to make sure that there was su binary in the info section, closed the app and went to Titanium backup where it finally got root access! :victory:

If my neighbours are by any chance reading this thread, I wholeheartedly apologies for my constant screaming of "WHY CAN'T I ROOT YOU!!!"
[G2 and Desire Z General] Setherio:
Some may know, but just want to say, I no longer have access to a computer (easily or daily, and I hope to remedy this in the next two weeks) which is the reasoning for my lack of response on this thread. I am still trying to respond to e-mail as best I can as well as gtalk messages (as that is easily done over my phone - almost forgot I had xda app, so maybe I'll remember to check it more often as the notifications don't seem to work).

I recently had the YouTube account connected to my Google+ account which apparently caused some problems for the past two days. Thank you those whom emailed me regarding that and I believe the link should work now.

I also want to thank Nipqer for his unyielding support on this thread. So, Nipqer, much, much thanks. And don't think I've given up or walked away from assisting! I'm still assisting daily, though only via e-mail and G-Talk for now, I should be back soon! :o

Sent from my HTC Vision
[G2 and Desire Z General] wajalot:
can't disable usb storage mode

My problem, as title says, is i can't disable the USB Storage Mode. Even when selected Only Charge, the SD is mounted in PC. Never mind if Debugging mode is enabled or disabled for Applications, point is it always mount. Some one knows any way to disable it?

Thanks in advance.
[G2 and Desire Z General] Nipqer:
That's very weird. maybe if you eject the sd card from your computer?

You should be able to downgrade fine with that issue (if you use the tacoroot modded misc_version, and don't need a goldcard) and then hopefully the issue will disappear on froyo.

-Nipqer
[G2 and Desire Z General] utx:
Very strange. Did you press Done after selecting mode? If you forget, the the default selection is used instead.
[G2 and Desire Z General] youngnex:
Worked 100%. Thank you so much. Successfully downgraded HTC myTouch 4g to 2.2.1 from 2.3.6.

Some Tips: Copy and paste is the key while in ADB (which you can ofcourse type it also). That will help you be more precise. Keyboard copy and paste doesn't work. Just use your mouse (highlight and right click on this thread, then go to cmd and with your mouse right click exactly where you would type it and hit paste. Make sure there is no extra ">" or "#" that the OP has added and hit paste. Good luck! Thank you btw!
[G2 and Desire Z General] aadiflesher:
hello,

I have a Desire G2 T-Mobile, Android 2.3.4 and I want to root and S-OFF and so on...

I follow all the indications and I get NO errors until the end....when I have to downgrade. I download the rom for this device, put it on the sd card, reboot into bootloader, press the power button, the phone finds the rom on sdcard, I hit power button again to downgrade. It does NOT reboot and it takes less than 5 min to install everything. And than it tells me to hit power button again to go back. I get no errors or something like that...If I reboot the phone I still have the same Android version of 2.3.4.

I did this a few times and got the same result.

Again, I get NO errors, just that it does not want to downgrade...

Please, Need Help!!!

Thank you! :)

CID: T-MOB010

S-ON

MICROP - 0425

RADIO - 26.13.4.19_M

Apr 13 2011, 14:51:54

Baseband version: 12.62.60.27U.26.13.04.19_M

Kernel version: 2.6.35.10-g96de068

htc-kernel@and18-2 #1

Build number: 2.16.531.5 CL159515 release-keys
[G2 and Desire Z General] demkantor:
try the using fastboot not through bootloader, you'll see where the error is
[G2 and Desire Z General] aadiflesher:
thank you for the response.

I tried using fastboot and it says that the file is to large and it can not copy to the phone. The file being PC10IMG.zip :(

Any ideas? ...
[G2 and Desire Z General] demkantor:
did you check the md5sum?
[G2 and Desire Z General] aadiflesher:
I did now for the file I have used and it is ok.
[G2 and Desire Z General] demkantor:
open up the zip, what are the contents named?
[G2 and Desire Z General] aadiflesher:
android-info.txt, boot.img, hboot.nb0, radio.img, rcdata.img, recovery.img, splash1.nb0, system.img, tp_atmel224_20aa.img, tp_atmelc12_20aa.img, userdata.img
[G2 and Desire Z General] demkantor:
try the pc10img.zip for the g2 instead and see what happens (you can always change back to the dz hboot so no worries)
[G2 and Desire Z General] aadiflesher:
But I have the Desire G2 and I have used the PC10IMG.zip for the G2.
[G2 and Desire Z General] demkantor:
wait, do you have g2 or desire z? can you boot into bootloader and write down all the info on that screen
[G2 and Desire Z General] aadiflesher:
I have desire g2.

Here is the info:

CID: T-MOB010

S-ON

MICROP - 0425

RADIO - 26.13.4.19_M

Apr 13 2011, 14:51:54

Baseband version: 12.62.60.27U.26.13.04.19_M

Kernel version: 2.6.35.10-g96de068

htc-kernel@and18-2 #1

Build number: 2.16.531.5 CL159515 release-keys
[G2 and Desire Z General] demkantor:
what hboot, you skipped that line
[G2 and Desire Z General] aadiflesher:
Oh, great... I don`t know. I had the info already written and I gave the phone to a friend to use and now it is to late to call, it is 2.30 in the morning here.. :(
[G2 and Desire Z General] demkantor:
well when you get it back and you need help with root post here again or log onto freenode #g2root to get real time help
[G2 and Desire Z General] aadiflesher:
Yes, I will provide all the information when I get the device.

Thank you! :)