yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] fernruffryders:
ok so i started from scratch, still same problem. but i noticed that in this part...

"Let it sit for a little bit while it loads the PC36IMG.zip. This can take up to 5 minutes. When it finally asks if you want to apply this zip, choose YES."

it doesnt actually ask me if i want to apply zip. it just says "checking pc36img" and then just goes back into the menu, no option to put yes or not...
[EVO 4G Android Development] grrrrrant:
well i've downloaded and tried several diff wifi tethering apps. all install and run fine. all of them will let my computer connect to it's network, but none of them let my computer actually access any internet... whats up with this???
[EVO 4G Android Development] partsguy1:
having the same issue. get stuck at ./flash_image misc /sdcard/mtd-eng.img
[EVO 4G Android Development] Ep3n3wp:
okay got a little further now getting...

cannot stat 'mtd-eng.img' : No such file or directory...
[EVO 4G Android Development] eniamg02:
With this method can we flash custom kernels? Like netarchy. King?
[EVO 4G Android Development] regaw_leinad:
Amon_Ra link is now up and working, I need a fast test to make sure flashing works. Follow the instructions word for word.
[EVO 4G Android Development] grrrrrant:
please help with wifi tethering!
[EVO 4G Android Development] eniamg02:
Sorry my mistake
[EVO 4G Android Development] btrxsheriffx:
ok the whole point of this step is to move the files to your sd card so right the mtd-eng is not vaild correct so go to C:\android-sdk-windows\tools and look through the file and tell me if you see mtd-eng - file type is: disc image file, file size is : 640kb
[EVO 4G Android Development] trim81:
Second Part will NOT upgrade pri to 1.40 from 1.34

(just tried it on my evo)

I already had root prior just thought I try the "fully stock rom" made by OP but it will not upgrade to 1.40

Note: I was coming from 2.2 stock, used the 1st post to unlock in combo with toast method for unlock...

bottom line: do not use simpleroot
[EVO 4G Android Development] regaw_leinad:
try a custom rom with it already in OR use this one

http://code.google.com/p/android-wi...me=wireless_tether_2_0_5-pre8.apk&can=2&q=Evo

it should work
[EVO 4G Android Development] grrrrrant:
i did, but once connected to the network, my computer loses internet access. like the tethering doesnt work anymore? it worked for me on rooted 2.1.
[EVO 4G Android Development] btrxsheriffx:
i think hes only going to help if the question is about rooting the evo 2.2 and not wifi tethering right now... but idk maybe he will
[EVO 4G Android Development] Ep3n3wp:
yes inside C:\android-sdk-windows\tools the file is 640kb and is an image files

so if it says to me:

cannot stat 'mtd-eng.img' : No such file or directory

just move on to the next command?
[EVO 4G Android Development] regaw_leinad:
My bad, I thought it would. For those of you who want the 1.40 PRI (check first in Settings > About Phone > Software information) use this thread

http://xdaforums.com/showthread.php?t=753233
[EVO 4G Android Development] btrxsheriffx:
no i wouldnt but i think you can just put the file in your sd card... and then move on?
[EVO 4G Android Development] grrrrrant:
sorry. the link to the barcode works!
[EVO 4G Android Development] btrxsheriffx:
just finish rooting checking everything now =) and amon ra is up =)
[EVO 4G Android Development] btrxsheriffx:
PERFECT good job man easy tut and for a first time i love it =) thank god im good with computers anyways =) and my PRI Ver: 1.40_003 ,Android Ver: 2.2
[EVO 4G Android Development] regaw_leinad:
Alright, going to bed 'early' tonight. I'll pick up where I left off tomorrow afternoon. Hope you all enjoy this as much as I enjoyed creating and sharing it!
[EVO 4G Android Development] :
Thanks regaw...just gonna try it out now. Get some sleeps...

Update: Just thought You should know...I was completely stock 2.2 and it did not require me to toggle airplane mode at all. Just went straight to exploit explanation then Adb Shell #...no toggle for me.
[EVO 4G Android Development] eniamg02:
Guess no one has tried flashing a custom kernel?
[EVO 4G Android Development] trim81:
I am using cyanogen now.
[EVO 4G Android Development] regaw_leinad:
adding steps to set up the sdk and htc sync now, hold tight.

can you verify that the PC36IMG.zip is on your sdcard?
[EVO 4G Android Development] jburg1887:
Do you mean that this guide is ONLY for brand new EVOs that shipped w/ 2.2 or is it ALSO for 2.2 shipped EVOs. I updated to 2.2, will this work?
[EVO 4G Android Development] Topgun966:
IT WORKS!!!!!!!!!!! Stock 2.2 back to 2.1 so now i can root back and get my CM mod back. regaw_leinad IS A GENIUS!!! and is my complete hero
[EVO 4G Android Development] bisby:
i did it on win7 too. it booted into the menu where it gave me like bootloader, reboot, reboot recovery. I selected bootloader, THEN it started reading the PC36IMG.
[EVO 4G Android Development] Topgun966:
Click the power button to select the bootloader
[EVO 4G Android Development] SteelH:
Nice work regaw_leinad
[EVO 4G Android Development] regaw_leinad:
This is for anyone who is stuck on 2.2

Either an OTA-gone-wrong (lol) or shipped with 2.2

Sorry for the confusion.
[EVO 4G Android Development] Topgun966:
Yes it will, this will work on the .6 stock 2.2 no matter how you got it.
[EVO 4G Android Development] regaw_leinad:
just added instructions for the android sdk and htc sync, along with what to do at the bootloader.
[EVO 4G Android Development] jburg1887:
Thanks for clarifying. This is both my first Android device and first ROOT attempt. I'm so excited and I just can't hide it.
[EVO 4G Android Development] skunkd:
Sweetest! Gonna try it now !
[EVO 4G Android Development] dhMassacre:
I'm now rooted...2.2, on my replacement sent from asurion with 2.2 preinstalled. NICE :)
[EVO 4G Android Development] robin4286:
If I want to flash DamageControl after re-updating to 2.2 OTA after this guide, will I need to update my radios?
[EVO 4G Android Development] regaw_leinad:
yes this downgrades everything to one of the older RUU's specs, so I would recommend using what ever radios/hboots your favorite rom maker suggests.
[EVO 4G Android Development] EyeslikeOlives:
When pushing the PC36IMG, should it be taking awhile to get pushed?

EDIT: Yup, it got pushed :)

EDIT 2: Doing chmod part. Am I supposed to be getting $ signs after typing 'adb shell' then the chmod commands?
[EVO 4G Android Development] scottspa74:
Just thinking you may wanna clarify that in the first post for some people.

Awesome work regaw_lienad. You know how many people are gonna name first-borns after you ? ;) And now, hopefully the other threads won't be post after post about 'how do I root 2.2/ does this work on 2.2?' Awesome, great job, you've helped many.

Also, to clarify, since this uses toasts original file, this will drop you back to 1.17, or 1.32 and with (oh yeah, PRI has already been answered). Well, get some sleep, and thank you.
[EVO 4G Android Development] regaw_leinad:
Yup, I'll add that to the post "May take a LONG time" lol

haha regaw_leinad is almost as bad as Apple, or Blanket lol.

Now back to the topic, I don't own an EVO, I just used my brothers to work on it (with him watching me closely, i was barely allowed to touch it haha) so I don't know most of the PRI version numbers or hboot version numbers or radios or wimax radios... blah blah. Hopefully I'll mow enough lawns in the next month before I go on my cruise ship to buy an EVO haha then I'll learn those version numbers and have them down pat.
[EVO 4G Android Development] 3V0lution:
You guys are friggin awesome! Thanks for all of your hard work!
[EVO 4G Android Development] scottspa74:
Or, hopefully youll get some donations toward your Evo ;)
[EVO 4G Android Development] regaw_leinad:
Ok all, I am going to sleep now. I'll be back tomorrow in the afternoon to clear some things up in the OP and answer questions. I can assume that by 3pm my pm inbox will be flooded with questions (which is fine with me, hopefully I can personally get back to everyone), just like when I released the CDMA Hero rooting guide lol (which was also a LATE night release)
[EVO 4G Android Development] Topgun966:
Download server looks good, all network maint is done. If anyone has any issues with downloading PM me.
[EVO 4G Android Development] Ep3n3wp:
so i keep getting stuck at the code:

adb push mtd-eng.img /sdcard/

keeps saying not there...

but it is... if i right click on the file this is the location of that...

C:\android-sdk-windows\tools\evo-root

should the 3 files i got from evo-root.zip be in a folder called evo-root inside the tools folder?

or should the 3 files be inside the tools folder(as in not inside another forlder)

hopefully i just solved my own problem..
[EVO 4G Android Development] Topgun966:
Move the files from the ....\evo-root folder to the \tools (up one folder) You extracted the files in the folder which created the \evo-root folder.

And do the same for the other 2 files they need to be in the \tools and not in a subfolder of that.
[EVO 4G Android Development] Ep3n3wp:
lol... thanks... i just figured that out,,, just had to talk it out... lol... alright hopefully smooth sailing from here...

bout how long it take to run this whole thing?
[EVO 4G Android Development] Trunny:
2.2 update is done. looking good so far.
[EVO 4G Android Development] drrtydisko:
Step 2

Tried step 2

Used ClockWorkMod recovery, worked fine, PRI 1.40.

All set and ready to go. THANKS
[EVO 4G Android Development] Topgun966:
15-20 min maybe just because to transfer the file :P and np I do that too
[EVO 4G Android Development] Ep3n3wp:
okay so im at the part after toggle airplane mode and entering in:

cd /data/local

# ./flash_image misc /sdcard/mtd-eng.img

i got back,,....

./flash_img: not found

#

what should i do now? should i retry enter last code?

pull usb cord and start over? or continue?

and thank you ahead of time!!!!!!
[EVO 4G Android Development] PhantomKills:
im on step 2. I dl'ed the files and unziped them placed them on the sd card. got to hboot but the zip automatically starts to load and the blue bar goes all the way up but when it finishes it never asked me if i wanted to apply it, it just returns straight to the main menu where i started after i turned it on. any ideas? i have tried with both clock work and amon files and both do the same thing.
[EVO 4G Android Development] Ep3n3wp:
this is from my cmd window...

*] If you are a company and feel like you profit from our work,

[*] we also accept donations > 1000 USD!

[*]

[*] adb connection will be reset. restart adb server on desktop and re-login.

$

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

# cd /data/local

cd /data/local

# ./flash_img misc /sdcard/mtd-eng.img

./flash_img misc /sdcard/mtd-eng.img

./flash_img: not found

#

should i just pull ub out and start over? retype last command? give up? lol

helpppppp
[EVO 4G Android Development] aestheticxxlove:
I currently have a stock 2.2 Evo. I tried doing this and seem to have run into a problem. I did everything up to this step:

"Remember how you pushed that huge PC36IMG.zip to your sdcard earlier? This is where that comes in handy. Once you booted into hboot, Select "bootloader" with your volume up/down buttons and hit the power button. Let it sit for a little bit while it loads the PC36IMG.zip. This can take up to 5 minutes. When it finally asks if you want to apply this zip, choose YES. (Remember, this is the same as running an RUU, so it will delete all of your user data). "

I hit bootloader and it says that there is no image. Everything before that step seemed to be sucessful. I started the whole process over 3 times with no luck. Am I doing something wrong? Could it be because I'm running it off Windows 7? I have it as charge only, and debugging is on. I'm not sure what it is..
[EVO 4G Android Development] PhantomKills:
i think the command is ./flash_image misc /sdcard/mtd-eng.img

yours says flash_IMG misc instead of flash_IMAGE misc try that
[EVO 4G Android Development] PhantomKills:
i had the same problem and i formated again to fat32 and it fixed the problem. you might want to try that. good luck
[EVO 4G Android Development] Ep3n3wp:
ohh man i feel like an... lol thanks for the second set of eyes!!!

now problem continues...

# ./flash_image misc /sdcard/mtd-eng.img

./flash_image misc /sdcard/mtd-eng.img

./flash_image: permission denied

# cd /data/local

cd /data/local

# .flash_image misc /sdcard/mtd-eng.img

.flash_image misc /sdcard/mtd-eng.img

.flash_image: not found

#

am i safe to pull the usb cord and start over? (without it messing phone up)

getting late and yeah... am i good to quit? or is it something really easy and i can finish this now?

once again thnks!!!!!!!!!
[EVO 4G Android Development] PhantomKills:
ok now your missing the / before FLASH yours says .flash_image misc /sdcard/mtd-eng.img its should be ./flash_image misc /sdcard/mtd-eng.img

try that
[EVO 4G Android Development] Ep3n3wp:
yeah i had the / but for some reaseon when i copy from cmd it takes it away...

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

# cd /data/local

cd /data/local

# ./flash_img misc /sdcard/mtd-eng.img

./flash_img misc /sdcard/mtd-eng.img

./flash_img: not found

# ./flash_image misc /sdcard/mtd-eng.img

./flash_image misc /sdcard/mtd-eng.img

./flash_image: permission denied

# cd /data/local

cd /data/local

# .flash_image misc /sdcard/mtd-eng.img

.flash_image misc /sdcard/mtd-eng.img

.flash_image: not found

# ./flash_image misc /sdcard/mtd-eng.img

./flash_image misc /sdcard/mtd-eng.img

./flash_image: permission denied

# cd /data/local

cd /data/local

# ./flash_image misc /sdcard/mtd-eng.img

./flash_image misc /sdcard/mtd-eng.img

./flash_image: permission denied

#

frustrating... lol... am i missing the dumbest thing? am i SAFE to pull usb cord and start over(tomorrow after some sleep)????
[EVO 4G Android Development] Topgun966:
do a ls /sdcard and see if its in there
[EVO 4G Android Development] Topgun966:
OOO make sure you chmoded it
[EVO 4G Android Development] Ep3n3wp:
damn it just saw that the chmod didnt work...

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

$ chmod 0755 /data/local/tmp/rageagainstthecage-arm5.bin

chmod 0755 /data/local/tmp/rageagainstthecage-arm5.bin

$ chmod0755 /data/local/flash_image

chmod0755 /data/local/flash_image

chmod0755: permission denied

$ cd /data/local/tmp

cd /data/local/tmp

$ ./rageagainstthecage-arm5.bin

./rageagainstthecage-arm5.bin

okay... so can i just pull the usb and start over completely?

please say i can just pull usb and start over tomorrow????

also what went wrong with chmod?? i just saw it was i didnt space after chmod 0755 /data/local/flash_image

thanks once again top!!!!!
[EVO 4G Android Development] Topgun966:
Hrm not sure but yea I would say start from scratch :P and np its what im here for
[EVO 4G Android Development] mondragon21:
i couldn't root my evo same issue where i would try to push files and i would get failure to copy ,i dont know what im doing wrong i followed every step.i even start over and over deleting and downloading again.i know its just me because it seem to work for everyone else, i hope there is an easier way for people like me or if there is a video would be much easier.well goodnite its late and im just tire. thanks to everyone for the hard work and for the help from the android community :D
[EVO 4G Android Development] Ep3n3wp:
thanks again !!!! will start fresh in am!!!made notes and all to avoid this again!!
[EVO 4G Android Development] MadFlava:
Rooted mine with no problems.

Seriously, if you cant root with this method, you dont have any business rooting at all. Other than some command line stuff, there's really nothing to it.
[EVO 4G Android Development] marc.ientilucci:
okay, PART TWO, step #3. booting into custom recovery to install 2.2 root... when choosing recovery it shows the white htc EVO 4G boot up image. its been a good 2 and a half min's... is this normal? - everything else has gone fine up to the last part.

should i do a battery pull?

Edit #1: pulled battery and back into HBOOT to try and reload recovery...

Edit #2: In recovery...

Edit #3: 2.2 ROOT Achieved...

so if for some reason your process goes well and then hangs up on that EVO screen before recovery, battery pull and reboot into HBOOT (VOL down and Power) then Choose Recovery, should work then!!
[EVO 4G Android Development] sgallos1:
thx for your advice. I really appreciate it. I had also asked before if I can do this whole process with windows xp and no one answered that question for me. The guys says in the steps for windows 7 users and windows for verizon. Just would like to know If I can do this process with windows xp.
[EVO 4G Android Development] :
hahaha...I was right with ya same thing and watching your edits...LOL!!! Good one for sure...
[EVO 4G Android Development] retrolive:
When I'm in da chmod part I tried da rage cage thing and it says no file directory so I did 'chmod 0755 /data/local/tmp/evo-root/rageagainstthecage-arm5.bin nd it still didn't work bt da flash worked perfectly so I wonder what is wrong. And what do you mean by toggling airplane mode ? Do I need to turn off nd on ? Bear wit me (:
[EVO 4G Android Development] Jerry1Gman:
During this step...

My phone will never ask me about the zip. :confused:

I have let it sit longer, I have rebooted it, redownloaded and pushed everything, redid all the steps.

Here is the last few lines of my cmd window.

Is there something obvious I am missing?
[EVO 4G Android Development] tomit12:
Loving the root. Even if there were nothing else, having Cyanogenmod on there makes it like a whole new device. It's unbelievably snappy compared to stock 2.2.
[EVO 4G Android Development] :
One question...I just completed this with no problems. I did however just recieve an update for my voice mail application...I guess a coincidence? Anyways It accepted just fine if you want it...no probs with root.
[EVO 4G Android Development] lc3necro:
So I have seen several other people here with the same issue as I...

As a good lil rooter, I read, re-read, then followed the steps carefully. I seem to have issues pushing files, but after some effort got them pushed (my phone seemed to deny permission 20-30 seconds after USB connection to my PC). After obtaining the # prompt, this is where I end up:

$ ./rageagainstthecage-arm5.bin
./rageagainstthecage-arm5.bin
[*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C

[*] checking NPROC limit ...
[+] RLIMIT_NPROC={3317, 3317}
[*] Searching for adb ...
[+] Found adb as PID 78
[*] Spawning children. Dont type anything and wait for reset!
[*]
[*] If you like what we are doing you can send us PayPal money to
[*] 7-4-3-C@web.de so we can compensate time, effort and HW costs.
[*] If you are a company and feel like you profit from our work,
[*] we also accept donations > 1000 USD!
[*]
[*] adb connection will be reset. restart adb server on desktop and re-login.

C:\android-sdk-windows\tools>adb shell
# cd /data/local
cd /data/local
# ./flash_image misc /sdcard/mtd-eng.img
./flash_image misc /sdcard/mtd-eng.img
error opening /sdcard/mtd-eng.img: No such file or directory

I am just rather confused how, when following everything to a T and not being an idiot, this is messing up...and after pretty much reading every page of posts in this thread, I know that 2 or 3 others have this issue as well, or at least one very very similar.

Soooo help? :D
[EVO 4G Android Development] lc3necro:
Hmm I am not too linux savy, but is this showing my phone having issues mounting the SD card?

first -

# ls

ls

app-cache

config

cache

sdcard

acct

mnt

d

etc

system

sys

shutdown.supersonic.rc

sbin

proc

init.supersonic.rc

init.rc

init.goldfish.rc

init

default.prop

data

bootcomplete.supersonic.rc

root

dev

Then -

# cd /sdcard

cd /sdcard

# ls

ls

#

^^ note the lack of sdcard contents?
[EVO 4G Android Development] rickmatic:
Alright so I'm a little stuck on the step where I toggle airplane mode, do I start toggling after I enter the 2 cmd or while I'm entering the cmds or should I start before. I tried all with no success after second cmd I get permission denied.

due to high volume of un-answered questions If anyone has successfully completed this and is willing to help me step by step if I get stuck I'm willing to pay $10. Pm me.
[EVO 4G Android Development] gdolla3:
Yes, I was the other guy that asked this question, and still didn't really get an answer. I was up all night getting the same problem. I had to stop and go to work(should have called out).

Any assistance would be greatly appreciated, as it seems that this is the only thing stopping the process.

Thanks in advance.
[EVO 4G Android Development] Topgun966:
I think these issues are with the SD card not being fat32, backup its contents format fat32 and try again :/ Thats the first thing that popped in my head
[EVO 4G Android Development] ejpyle:
PC36IMG not found...I am losing my mind.

Everything has worked until I "reboot bootloader" and it tries to find the PC36IMG on my phone. It is there and it does not matter what PC36IMG I copy over...it always says the same thing.

I ran into this same problem when I tried to go from 2.1 rooted to Flipz 2.2 ROM when he first release it. We were clueless.

Has anyone gotten around the fact that the PC36IMG cant be found when it is really on the SDCARD? I have already formatted the card and downloaded this zip files from all the mirrors so far.
[EVO 4G Android Development] lc3necro:
I am about ready to head to work, however I have backed up / formatted the SD card twice, and even tried a separate blank sdcard.

None of those options changed my output

Hi ho, hi ho, to work i go... I'll read the 20+ pages when i get home and see if someone has come up with a solution :)
[EVO 4G Android Development] lostevonube:
C:\android-sdk-windows\tools>adb push unrevoked-forever.zip /sdcard/

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

operable program or batch file.

can some one please tell me why adb doesn't work on either of my computers? thanks in advanced
[EVO 4G Android Development] anthonyl2008:
USB not debuging after ran PC36IMG.zip

I set debuging on my evo, and plug the usb cable into my phone there is no debuging.

No my phone have No root to fix the usb problem (follow this guide xdaforums.com/showthread.php?t=695243 ), my phone currently is:

Hboot 0.79.0000

android 2.1update1

.....

I am downgrade from android 2.2.

Can anyone can help me to fix the problem with usb debugging.

a million thanks for your help

:(
[EVO 4G Android Development] rmmorse81:
SO I have successfully rooted using the above methods. However, now I have lost the ability to connect my phone via usb to the computer. I tried the method in the bricked USB thread and it didnt work. I have also tried installing the rooted version of 2.2 and several other custom roms. It connects to the pc for a second that loses connection.

no luck....

How am I supposed to fix this? I guess I cant even install the 2.2 RUU because I have no USB support.

Can anyone help?
[EVO 4G Android Development] EVOme:
Great news, but I gotta say i'm a little hesitant to try it.
[EVO 4G Android Development] kylelerner:
Does this erase data? I look through many pages and never found this question answered...

Thanks
[EVO 4G Android Development] anthonyl2008:
he has the same issue like me
[EVO 4G Android Development] Trident:
Yes. It erases all phone settings, logs, etc.

However, I did notice that some ringtones that put on the SD card prior to doing all of this survived my failed attempt to root (I got to the point of downgrading to 2.1, but couldn't root) and my upgrade back to 2.2OTA. Kind of surprised about that.
[EVO 4G Android Development] thom_house:
yes of course

This method will take your phone back to a rooted stock 2.1. Everything will be erased. I did this to my friends EVO yesterday, and it even rolled his radios back to an older version.