yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z General] Gizmo07:
Hi there

Probably been asked here, but search didnt help, I am trying to root my HTC My Touch 4G for the 1st time, I got to the point where I type "adb push flashgc /data/local/tmp/flashgc"

but for some reason it give me this message : "cannot stat flashgc no such file or directory"

Any help would be greatly appreciated

Thanks a lot
[G2 and Desire Z General] demkantor:
either you didn't extract the file from the .zip or you need to change directories to the folder it is in
[G2 and Desire Z General] aadiflesher:
Hello again,

I have the info from the phone now. Here it is:

CID: T-MOB010

HBOOT - 0.82.0008

S-ON

MICROP - 0425

RADIO - 26.13.4.19_M

Apr 13 2011, 14:51:54

eMMC - boot

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:
start from the beginning of the guide (again) work all the way through making sure all inputs and outputs match what sethiro put in the op. skipp the temproot to backup part, then do the fastboot downgrade

if it errors again note where the error is. if at all possible can you save everything from cmd and post it here in like a .txt or a pastebin link?
[G2 and Desire Z General] Setherio:
Try typing:

adb push flash{tab key} /data/local/tmp/

Where "{tab key}" is actually the tab key don't type "{tab key}" it should auto-fill in the rest. If that doesn't work, copy the log and paste it either here or on pastebin.com and provide the url to it.
[G2 and Desire Z General] Setherio:
Would the CID say T-MOB if it was Desire Z?
[G2 and Desire Z General] demkantor:
wanted to see the version, may have been unlocked with htc dev unlock
[G2 and Desire Z General] Gizmo07:
Thank you very much, i finished doing everything and when I hit abd reboot bootloader it reboots and when I chose fastboot and then PD15IMAGE.zip

it says no image?!

I tried to look through my sd card and the file is there

Thanks a lot again
[G2 and Desire Z General] demkantor:
if your doing the fastboot method you don't have the file on sd, rather on pc. you want to open cmd in the folder your image is stored or change directories to it. then run your fastboot commands
[G2 and Desire Z General] Gizmo07:
Thanks again, deleted the file and tried it again and it worked, but for some reason its still 2.3.4

and S is on, is that what it should read?

Thanks
[G2 and Desire Z General] demkantor:
no, did fastboot give any errors?
[G2 and Desire Z General] Gizmo07:
Nope no errors, flashed like it should and deleted everything like factory defaults
[G2 and Desire Z General] demkantor:
can you run it through fastboot again and paste everything from cmd here in a .txt or pastebin?
[G2 and Desire Z General] Gizmo07:
Sure can, but I dont know how :) sorry

I will try to use the search
[G2 and Desire Z General] demkantor:
assuming windows, easy way when finnished, right click the top bar of the cmd window, choose select all, then right click it again and choose copy, then either paste in notepad and upload here or go to pastebin.com and copy there giving the link here
[G2 and Desire Z General] demkantor:
yeah right here:

C:\Program Files (x86)\Android\android-sdk\platform-tools>adb push flashgc /data

/local/tmp/flashgc

cannot stat 'flashgc': No such file or directory

make sure you extract flashgc from the .zip and have it in the same folder as adb and the rest (unless you want to set up your environmental variables to include a path for adb and fastboot - makes some things easier)

but for now just make sure adb.exe and all of the extracted files needed are place in

C:\Program Files (x86)\Android\android-sdk\platform-tools

then try again from the beginning
[G2 and Desire Z General] Gizmo07:
Strange, I had flashgc folder in the platform tools, then once saw your response deleted it, then put it again, still same thing, says: no such file or directory
[G2 and Desire Z General] demkantor:
Make sure you extract the .zip as well, shouldn't be a folder
[G2 and Desire Z General] Gizmo07:
Still no luck, my flashgc is called flashgc master folder is this normal?

---------- Post added at 04:02 AM ---------- Previous post was at 03:43 AM ----------

[/URL][/IMG]

here is how my platform tools folder looks like
[G2 and Desire Z General] demkantor:
its hard to read your screen shot on my tablet or pc, try to redownload from the op

it should be a .zip that you download then extract the contents to the folder your in now

(platformtools) there should be just one file named flashgc, no other folders

i just downloaded from op again to test and it works fine

HERE download again
[G2 and Desire Z General] Gizmo07:
It worked thank you very much!!!!!!

Bootloader still has s on is it normal?
[G2 and Desire Z General] demkantor:
Yup, if all you did was downgrade you phone you haven't removed any security flags so you'll

still be s-on, follow the xda wiki to root and obtain radio s-off with the gfree method
[G2 and Desire Z General] leonhartxxx:
hi friends, i had a problem about downgrading my htc DZ from AOKP to gingerbread/froyo, i already make a gold card but in this following below i had a problem, really confusing..

On the computer, open terminal and run the following commands:

-adb push psneuter /data/local/tmp

-adb push misc_version /data/local/tmp

-adb push flashgc /data/local/tmp

-adb shell

-chmod 777 /data/local/tmp/psneuter

-chmod 777 /data/local/tmp/misc_version

-chmod 777 /data/local/tmp/flashgc

-*/data/local/tmp/psneuter* (/data/local/tmp/psneuter, Failed to set prot mask (Inappropriate ioctl for device) this the problem is.

-adb shell

from that problem i can't continue to other part..anybody can help me to solve it?

thanks
[G2 and Desire Z General] demkantor:
yeah these commands dont look right at all, what guide are you following?

are you trying to unroot your phone? do you just want all stock or do you want to keep root? what your doing right now will give you nothing but errors, please try and explain your goal and your reasoning more clearly, thanks
[G2 and Desire Z General] leonhartxxx:
i used this guide both of them i try but still can't (always stuck that */data/local/tmp/psneuter* (/data/local/tmp/psneuter, Failed to set prot mask (Inappropriate ioctl for device) :

- http://xdaforums.com/showthread.php?t=905003

- http://xdaforums.com/showthread.php?t=1178912

- http://xdaforums.com/showthread.php?t=905261

this is my screen on bootloader :

http://i601.photobucket.com/albums/tt96/leonhartxxx/Bootloader.jpg

this is about my phone:

http://i601.photobucket.com/albums/tt96/leonhartxxx/AboutHTC.jpg

and i using AOKP vision milestone from this website :

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

actually i just want back to ginger bread official, better to keep S-OFF( if it must become S-ON, no problem).. can u help step by step or any kind of guide from other forum? :eek:

---------- Post added at 02:17 PM ---------- Previous post was at 02:10 PM ----------

sorry i can't quote your post because my post not 10 yet. :D
[G2 and Desire Z General] demkantor:
one of those guides is for a different phone so just be safe an dont use it.

besides there is no need to downgrade your phone, just flash a rom

THIS HERE is close to a stock rom for the DZ, and there are many others

just wipe and flash in recovery. also im sure if you looked hard enough you could find

a rooted stock rom, but i will assume any of the custom roms is better.

if you really want to return to stock and s-off JUST USE THIS
[G2 and Desire Z General] leonhartxxx:
i already try to wipe all data and flash GB in recovery but there is a problem. here is the screen shot :

http://i601.photobucket.com/albums/tt96/leonhartxxx/AboutHTC.jpg

Section 1: Download the appropriate rom for your device.

Obtain an appropriate rom from www.ratherphallic.co.cc <--- this can't open the website

these are stock roms with the only change being "persist.service.adb.enable = 1" added so /system/build.prop

I modified these roms for people with broken screens/digitzers, so if you're phone is perfectly functional, go ahead and grab a rom from UNMODDED dir. Just enable adb debugging once its flashed

Section 2: Flash the rom via fastboot RUU mode.

If you don't have a fastboot executable, download the zip attached to this post, and run the one appropriate for your OS

Make sure the fastboot executable and the rom are in the same directory, and you're command prompt/terminal is pointed to that directory.

Also, make sure you don't have a PC10IMG/PD98IMG/PG15IMG on your sdcard

A. Make sure phone is powered off

B. Hold Volume Down, and press Power to run phone on

C. Wait a minute or so (while hboot scans for updates) then press Power ONCE

D. Verify you are in fastboot mode by running:

Code:

fastboot-[OS] devices

How to type the code fastboot-[OS] devices? in CMD? i don't understand..actually i want downgrade to stock rom because will be use by my mom LOL...
[G2 and Desire Z General] demkantor:
And your mom will be happy with the rom I linked you too, just flash it in recovery after a full wipe. If you really feel your mom shouldn't have a rooted phone then I suggest you learn how to use fastboot (yes commands are typed in cmd, phone in fastboot mode)

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

Here is another guide, the one I linked you to may be easier to follow.
[G2 and Desire Z General] Nipqer:
ratherphallic.co.cc is down at the moment, I think it's because http://co.cc is down entirely, not sure at the moment and too drunk too try figure it.

Hopefully it'll be back up within the week, but I can't promise anything.

If you can tell me which rom you want, I'll throw a mirror up somewhere for you.

EDIT: seems the .co.cc tld is down permanently, I'll try throw a .tk up or something

Double edit: as soon as the dns updates, ratherphallic.tk should be valid

-Nipqer
[G2 and Desire Z General] leonhartxxx:
let me try first..hope this can work, thanks for the info guys
[G2 and Desire Z General] NokiaBigS:
Hi, I encounter a problem and I am not sure what is wrong. Would you mind to help me out plz!~

http://pastebin.com/rYZD3DLx
[G2 and Desire Z General] gordomao:
Hi, I encounter a problem and was just about to make it to the finish line and now I think my downgrade is stuck... :(

http://pastebin.com/LkZUyMNB

As of this posting, it has been stuck in CMD for 50 minutes at exactly the last line in pastebin. Nothing has changed, I am afraid to disconnect the usb cable as it has not finished. I cannot type any more commands because it is stuck. Should I pull the battery?
[G2 and Desire Z General] Nipqer:
gordomao: yes it is safe to pull the battery if it hangs at the 'sending zip' stage.

though try hitting ctrl + c in cmd, and redoing the fastboot flash command first, see if that will get it to work.

NokiaBigS: that error is probably that StockRom.zip does not exist in the current directory. double check its there and named properly (you can use the tab key in cmd to autocomplete filenames)

-Nipqer
[G2 and Desire Z General] gordomao:
Naturally, I Sh!t a brick when it got stuck at the end lol (Keep in mind I'm a noob and all I have done in the past is root a G2, never did a downgrade, and haven't even flashed a rom).

So I followed your rules and posted my cmd into pastebin and then BAM I realized I only had 3 posts on here and wasn't allowed to post in the developers section until I had 10 posts total... No big deal, I'll dig up some old threads and make some knowledgeable comments, hit ten comments, come back here, and hope I don't get banned for over posting... then BAM I find out there is a 5 minute time limit in between posts for noobs like me!!! Minimum I have to wait is 30 minutes, oh well I get than done and come back here.

I searched the entire thread for the word "stuck" (remember people search for answers!) and I found several people with a problem very similar to mine, and none of them complained about it ruining their phones, which was a relief. But no one mentioned it became stuck after a failed attempt, so I thought I might have a half installed OS and a possible brick, that is where my panic came from. Anyways I took a chance and pulled the cable out (then the screen changed from the HTC logo to that one that usually has the factory reset on it but this time it only said "RUU"). I put the cable back in, HTC logo came back, and i was able to use cmd again. I tried to push the file and this time it worked.

After all that I came back to update my post but you already responded, so THANK YOU, and I am sorry for bothering.
[G2 and Desire Z General] gordomao:
After downgrading my G2 successfully I went on to root the phone, all is done all works well!

New question, I have another G2 on android 2.3.4 and it needs to be downgraded then rooted. I have one major issue though, the usb connection is broken. When I connect the phone to the computer it only charges (also when I try to tether it says no usb cable connected, so I believe its broken, Oh and I tried 5 different micro usb cables and all failed). Is it even possible to do adb wirelessly or some other way without the usb cable?
[G2 and Desire Z General] Nipqer:
You could try use adb over wifi, though I don't know if the exploit will work with it, as you need an app to get it up and running (as far as I know, try this one)

-Nipqer
[G2 and Desire Z General] drag83494:
UP.

Can anyone provide a mirror for platform-tools.7z please? ("DZ-G2 Downgrade-Rooting tools")

Thank you in advance :)
[G2 and Desire Z General] Nipqer:
http://ratherphallic.tk/ROOT/platform-tools.7z

This version should include the new and improved gfree 1.x

-Nipqer
[G2 and Desire Z General] drag83494:
Thank you very much:

At his time I'm not able to test them.

However I have a problem and a question:

1) When I EXTRACT the files (with WINRAR) I get the following error (and so some files are not extraced). Is this normal?

! platform-tools.7z: Unknown method in platform-tools\adb.exe

! platform-tools.7z: Unknown method in platform-tools\fastboot.exe

! platform-tools.7z: Unknown method in platform-tools\AdbWinApi.dll

! platform-tools.7z: Unknown method in platform-tools\AdbWinUsbApi.dll

! platform-tools.7z: Error. Operation failed.

2) Are the files in ZIP ALL (or maybe I have to download something else?) the files I need for downgrada+rooting?

Thank you again.
[G2 and Desire Z General] Nipqer:
check the md5sum is e238311511c7c79bb443eb583c9c4c1c

also, try using 7zip instead of winrar, its much better.

-Nipqer
[G2 and Desire Z General] budovic68:
Can anyone help me with this?

Trying to downgrade to Froyo for two days already , and no luck. Cant get past step one !!!
[G2 and Desire Z General] demkantor:
Maybe elaborate a bit...
[G2 and Desire Z General] strawmetal:
I have updated the PDF with changes related to new gfree 1.0.

Download here http://d-h.st/j97
[G2 and Desire Z General] fyaajster:
Can't get temp root after downgrade to froyo

Help really needed some help here I got through everything as the OP boot it back to froyo 2.2.1.

Right now I'm trying to temp root so I can change to a different ROM.

I did the gfree to root I follow this link http://xdaforums.com/showthread.php?t=858996

on step 6 is where I ran into problem.

I ran visionary14 to temp root but it doesn't do anything it just sits there and does nothing I let it sit there for10min and still the same.

Are there anything else I can run to temp root or permanent root. This is getting so frustrated.

Here is my setting when boot into HBOOT

Glacier PVT ship S-off

HBOOT-086.0000

MICROP-0429

Radio-26.03.02.26_m

My phone: MT4G running froyo 2.2.1

BB version: 12.28b.60.140eU_26.03.02.26_M

Build# 1.17.531.2 Cl277036

Kernal V.2.6.32.21-g899d047
[G2 and Desire Z General] demkantor:
Re: [GUIDE] Downgrade G2 (2.3.X) & DZ (2.3.X) & mT4g (2.3.4) & DHD w/ S-ON to Stock F

See the xda Wikipedia
[G2 and Desire Z General] Setherio:
I highly recommend staying away from visionary. Visionary has been known to brick devices and was intended to be used for Vision, not Glacier (though personally, I'd never even recommend using it for Vision either). Since you've already downgraded to Froyo and have the 1.17.531.2 firmware, follow this guide: http://wiki.cyanogenmod.org/w/Install_CM_for_glacier#Rooting_the_device for rooting purposes.
[G2 and Desire Z General] Phateless:
Re: [GUIDE] Downgrade G2 (2.3.X) & DZ (2.3.X) & mT4g (2.3.4) & DHD w/ S-ON to Stock F

Oh please, visionary is just fine and I haven't heard of a single device bricked. Thus was the standard rooting method for at least a year and I rooted 6 or 7 different glaciers with no issues.
[G2 and Desire Z General] demkantor:
Re: [GUIDE] Downgrade G2 (2.3.X) & DZ (2.3.X) & mT4g (2.3.4) & DHD w/ S-ON to Stock F

Good for you and all of those it worked for, setherio was giving a warning that should be taken seriously, but its great that you are hear to tell others not to pay attention to that waring because you have rooted your phone(s) with the lazy man one click method.

Fact is visionary ha bee known to brick pones many times, often unrecoverable

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

If you don't care that's great and all but there is a very safe procedure to root the vision now that will give you true radio soff as well as sim unlock your phone, all nearly as easy as your one-click-do-things-for-me-method-i-dont-care-if-i-get-a-brick method

Anyway I'm glad it worked for you so you don't have to make a thread saying help my phone wont boot what can I do
[G2 and Desire Z General] Phateless:
Re: [GUIDE] Downgrade G2 (2.3.X) & DZ (2.3.X) & mT4g (2.3.4) & DHD w/ S-ON to Stock F

Do you know what a disclaimer is? The cyanogenmod disclaimer specifically precludes thermonuclear war.

There have been more emmc failures with gfree than visionary.
[G2 and Desire Z General] Nipqer:
None of the emmc failures were caused by gfree, or visionary, or any other rooting/exploiting process.

There was a dodgy batch of emmc's produced by samsung, which were very likely to break.

There are countless cases where the device was completely stock, and still had an emmc failure, under ordinary operating conditions (updating apps from the market seems to have been the last straw in many cases).

It may seem that most/all reported emmc failures were caused by gfree, but that is merely due to gfree being a far more popular method.

-Nipqer
[G2 and Desire Z General] Macee:
Root and install custom without SD card?

Hi everybody!

I wanted to use this method to root my G2 and upload a custom rom, but unfortunately my phone's SD card socket not working and cannot be repaired. As need to use the SD card for this process, I can't change the ROM.:crying: Is there any other way to root the phone and install custom ROM without SD card? And the other problem is the camera. This is also unusable because the phone want to save pictures in the SD card.

Can I change somehow the save folder to the phone's memory? Thank you in anticipation!
[G2 and Desire Z General] Nipqer:
Re: [GUIDE] Downgrade G2 (2.3.X) & DZ (2.3.X) & mT4g (2.3.4) & DHD w/ S-ON to Stock F

Assuming you don't need a goldcard, I'm fairly certain you can downgrade without an sdcard (with the latest version of misc_version) and fastboot.

The rooting part will be a bit more difficult, you'd have to try convince guhl to write a new version of gfree which has a configurable backup path.

-Nipqer

Sent from my HTC Vision
[G2 and Desire Z General] Macee:
Dear Nipqer,

Thanks for your fast reply. Unfortunately I'm not an expert, can you tell me where can I found the files and method? And how can I contact with guhl? Thanks
[G2 and Desire Z General] Nipqer:
You'll have to use misc_version 0.5, and use it exactly as the guide states, except change

# ./misc_version -s 1.00.000.0

to

# ./misc_version -p /data/local/tmp/misc.img -s 1.00.000.0

As for the rooting, it may be easier to create a mount point, pointing /sdcard/ to /data/local/tmp/sdcard than to get a new version of gfree made, but we'll get to that once you manage the downgrading.

-Nipqer
[G2 and Desire Z General] Macee:
I did the steps but I've got the error message. Please see the screenshot.

The problem is that my SD card not working isn't it?
[G2 and Desire Z General] Macee:
So, shall I throw it out?
[G2 and Desire Z General] demkantor:
can you not just replace the sdcard tray? their like 10$ us and take 15min of your day
[G2 and Desire Z General] Macee:
It is not so easy.. The tray is ok but the connector broken and can't get the connector from the tobacco-shop... Nipqer said there is a solution for root and downgrade without SD card..
[G2 and Desire Z General] demkantor:
Re: [GUIDE] Downgrade G2 (2.3.X) & DZ (2.3.X) & mT4g (2.3.4) & DHD w/ S-ON to Stock F

If you go elseware besides the tabacco shop I'm sure you can find the try with flex cable, I don't know where you live but they're easy to find online

As far as rooting without sd I don't know how, at least not with gfree, but if anyone can find a way its nipqer.

Why not log onto the irc chanel for some real time help
[G2 and Desire Z General] Macee:
Maybe I'll try. Where can I login to the irc channel? Thx
[G2 and Desire Z General] Nipqer:
Re: [GUIDE] Downgrade G2 (2.3.X) & DZ (2.3.X) & mT4g (2.3.4) & DHD w/ S-ON to Stock F

I won't be available on irc for at least 3 days, but if you can hold out til then, I'll be able to help

-Nipqer

Sent from my HTC Vision
[G2 and Desire Z General] Macee:
Ok, I'm waiting for your reply asap. Thanks
[G2 and Desire Z General] Nipqer:
if you're around today/night soonish, I'll be online for a couple of hours

-Nipqer
[G2 and Desire Z General] Macee:
Ok, please reply me in the evening! Thanks
[G2 and Desire Z General] Nipqer:
I meant, I'm online now, if you're available for an hour or so.

-Nipqer
[G2 and Desire Z General] Macee:
Unfortuantely I must work now and the phone is not here.. Can you write the process and I will try in the evening?
[G2 and Desire Z General] Nipqer:
Seems I messed up a little with the misc_version commands I gave you the other day. Use:

./misc_version -p /data/local/tmp/ -s 1.00.000.0

and that should allow the downgrade to go through

-Nipqer
[G2 and Desire Z General] Macee:
This will working without SD card?
[G2 and Desire Z General] Nipqer:
yes, it tells misc_version to create a backup on the local filesystem, rather than the sdcard, which then allows it to patch the misc partition

-Nipqer
[G2 and Desire Z General] Macee:
Dear Nipqer,

It is almost works but after the next command I've got error message: opening CID file failed

You can see the attachment. Thx
[G2 and Desire Z General] Nipqer:
Re: [GUIDE] Downgrade G2 (2.3.X) & DZ (2.3.X) & mT4g (2.3.4) & DHD w/ S-ON to Stock F

Skip the flashgc step. Hopefully you won't need a goldcard to downgrade.

-Nipqer

Sent from my HTC Vision
[G2 and Desire Z General] Macee:
How do you mean to skip it? From where?
[G2 and Desire Z General] Nipqer:
Just ignore the

./flashgc

part.

-Nipqer
[G2 and Desire Z General] Macee:
When I type this command, it says: error opening file: no such file or directory

Code:

# dd if=/dev/block/mmcblk0p17 bs=1 skip=160 count=10
[G2 and Desire Z General] Macee:
The snapshot attached. Do you have any idea to make it work and downgrade? Regards
[G2 and Desire Z General] Nipqer:
you wrote dd if=/dev/block/mmcb1k0p17

it should be dd if=/dev/block/mmcblk0p17 (note the L instead of the 1)

-Nipqer
[G2 and Desire Z General] Macee:
Sorry, you are right... :) That was an "L". The next problem when I try to send the zip file it says FAILED: remote: 41 model id check fail

I've tried to use the titanium backup before this step but the program said I have no root access.. Maybe this causing the problem? (I have nothing to backup just tried it..)

Maybe I had a mistake but I don't know what was that..

Thank you for all your trouble!
[G2 and Desire Z General] Nipqer:
Unfortunately, that error (probably) means you need a goldcard, which means you need a working sdcard.

Unless you can find a stock exploitable rom which works with your modelID

Can you tell me what the first 4 lines in hboot/fastboot are?

-Nipqer
[G2 and Desire Z General] Macee:
I hope you need this, attached.