yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] regaw_leinad:
what he means is mount your sdcard on your computer, back up EVERYTHING on it (save it to the computer) then reformat it to fat32, then transfer everythhing back on you sdcard and try again.
[EVO 4G Android Development] jdr6382:
yes that is correct. it is telling you that the file was transferred.
[EVO 4G Android Development] btrxsheriffx:
followed everything and im rooted already and its a 2.1 right now just waiting on the 2.2 guide to be out and if yall still having some trouble look at regaw_leinad Hero Rooting guide its a little bit more better bec of the pics and its almost the same concept =)
[EVO 4G Android Development] deefortyone:
CHMOD not working

I keep getting this. I wasn't even able to push the files, i had to drop them on the sd card as a disk drive

Please help!!! Are my drivers wrong?

C:\AndroidSDK\tools>adb shell

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

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

Unable to chmod /data/local/tmp/rageagainstthecage-arm5.bin: No such file or dir

ectory
[EVO 4G Android Development] afitchguy07:
go back.

reboot.
[EVO 4G Android Development] tomh1979:
i just followed everything along, one step at a time on my pc, and it worked great, now to reload all my shiz, plus some, lol.
[EVO 4G Android Development] gdolla3:
Unrevoked forever.zip perm denied

Sorry, but i am going nutts. I cannot get the first file to send to the sd.

I have followed the steps to the tee. I get to

C:\android-sdk-windows\tools>

i type

adb push unrevoked-forever.zip /sdcard/

and it gives me failed to copy, permission denied.

What am I doing wrong? Please help
[EVO 4G Android Development] offthahook:
the output was

ls /data/local/tmp
[EVO 4G Android Development] lilredzmd:
okay reformatting now..and retrying again...thanks..
[EVO 4G Android Development] bubbate:
ohhhhhhhhhhhhh yeah its done, i didnt need a vid :D
[EVO 4G Android Development] kellyrx8:
are you going into adb shell first then using the push command? Thats what i did and was getting that error...

after realizing that the correct format is

C:\android-sdk-windows\tools>adb push unrevoked-forever.zip /sdcard/ (press enter)

continue to next one...
[EVO 4G Android Development] regaw_leinad:
Reboot System now. you are done.. for now, until I get the 2.2 guide out a lttle later

I'll try and add pics soon.

do

adb shell ls /data/local/tmp

tell me what the output was
[EVO 4G Android Development] jdr6382:
close cmd (command prompt). try right clicking on cmd and run as administrator, then try entering the commands when it opens back up.
[EVO 4G Android Development] Tmart16:
Awesome job OP!! Followed instructions verbatim and success. Can't wait for 2.2 OTA root update
[EVO 4G Android Development] youngbasedgod:
Thank you gentlemen.
[EVO 4G Android Development] offthahook:
entered adb shell ls /data/local/tmp

got back permission denied.
[EVO 4G Android Development] erlanleyva:
imgetting the same thing as that guy

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.

C:\android-sdk-windows\tools>adb shell ls /data/local/tmp

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

operable program or batch file.

C:\android-sdk-windows\tools>^A

C:\android-sdk-windows\tools>

what is going on im i doing something wrong?
[EVO 4G Android Development] lilredzmd:
Code:

cd /data/local

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

that will flash your misc partition with Toast's mtd-eng.img.

This should return you to a blank line with #.

If you get an "Out of memory error" with a huge list of weird lines, here's how to fix it.

Reboot your phone normally.

Open a command prompt and go backwards in this guide until you see the big red * and start from there.

Once it is flashed correctly, move on:

Type

Code:

reboot bootloader

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).

Once it is finished, select restart. You now are on the stock 2.1 build of Android.

{After typing reboot bootloader the phone checks for the img. but never ask or gives me the option to apply the update}
[EVO 4G Android Development] gdolla3:
No, didnt do adb shell first. I actually just tried to switch to run as admin, and got the same thing. I am on win 7. I tried opening the cmd from right clicking on the tools forlder. Then, tried from start menu, and did

cd C:\android-sdk-windows\tools>

But once i adb push the unrevoked, it gives me denied?????
[EVO 4G Android Development] deefortyone:
C:\AndroidSDK\tools>adb shell

$ ls /data/local/tmp

ls /data/local/tmp

$
[EVO 4G Android Development] regaw_leinad:
you never pushed the exploit file to there. its not there. try starting from the top again.
[EVO 4G Android Development] Bizdady:
I reboot hboot and get this?

SD Checking...

loading... PC36DAG.zip

No image!

Loading... PC36DIAG.nbh

no image or wrong image!

Loading....

IS this normal?
[EVO 4G Android Development] erlanleyva:
C:\android-sdk-windows\tools>adb shell ls /data/local/tmp

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

operable program or batch file.

this is what i get dont knwo what im doing wrong
[EVO 4G Android Development] btrxsheriffx:
sweet finally release =)
[EVO 4G Android Development] tomit12:
I clicked on the link in the OP's sig, and it went back to the same post with nothing in it. :D

(Yes, that's sarcasm.)
[EVO 4G Android Development] skunkd:
Woohooo, unrevoked tweeted this and kept me up all night it'll be worth it once the guide is posted! Awesome
[EVO 4G Android Development] Topgun966:
Lol patience he is still writing out the guide, this guys beat and he deserves are everlasting gratitude :D
[EVO 4G Android Development] btrxsheriffx:
yeah it will be really good if its posted soon =)
[EVO 4G Android Development] guitarjockey:
If I wasn't gonna be gone all day going to the beach I would wait tell tomorrow, but for how impatient I am I will be staying up and getting like no sleep to root my evo lol
[EVO 4G Android Development] diddy0071:
****ING AWESOME! Been waiting on this for a while. SO glad people like you exist!
[EVO 4G Android Development] MercuryNine:
Just to make sure I'm understanding this right I can now root my EVO that came

From the factory with Froyo 2.2? Thanks Everyone ;-)
[EVO 4G Android Development] guitarjockey:
You are correct.
[EVO 4G Android Development] regaw_leinad:
It's up. Please let me know if there are any errors, for I am tired and may have mistyped. Enjoy everyone!

And yes this is for brand new EVO's that shipped with 2.2 on the already!
[EVO 4G Android Development] Ep3n3wp:
Thank you!!!!!!

Sent from my Second Wife using Swype on the XDA App
[EVO 4G Android Development] Topgun966:
If you guys are having any download issues PM me. I see you guys are already hammering :D gonna add another server on the fly to handle the load.
[EVO 4G Android Development] Shyfe:
very nice (even though I don't need it =D)
[EVO 4G Android Development] dhMassacre:
downloading the pc36img now :)

can't waittt!
[EVO 4G Android Development] regaw_leinad:
Remember everyone... READ THE DIRECTIONS VERY CAREFULLY AND THOROUGHLY!! Please!
[EVO 4G Android Development] trim81:
going to try this now,

I wish to install Cyanogen...so do I do this after the unrevoked3 step?
[EVO 4G Android Development] regaw_leinad:
The directions will tell you when to do everything. please follow them lol
[EVO 4G Android Development] willsurg:
sorry for the newb question

the android sdk tools folder, if i dont have that do I download it from here and the 2.2 version right:?:

//developer.android.com/sdk/tools-notes.html

thanks!
[EVO 4G Android Development] Shyfe:
I'd recommend just downloading the starter package here: http://developer.android.com/sdk/index.html

everything you need's in there. protip: once you extract it, there will be a folder called tools which has what you need. hold shift and right click on the folder, then press open command window here.
[EVO 4G Android Development] dhMassacre:
i just typed reboot bootloader...and now its just sitting on the bootloader. doesn't seem to be loading the file or anything. problem?
[EVO 4G Android Development] lilredzmd:
I get that also right after typing reboot bootloader but never gives me the option to apply update...
[EVO 4G Android Development] Bizdady:
Im try to repush the file :confused:
[EVO 4G Android Development] bhughes3:
so I am new to all of this, however I've been able to make it pretty damn far so far. I was able to get down to stock 2.1 then rooted with unrevoked 3 followed by unrevoked forever to get s-off. I then did the 2.2 OTA and then flashed over clockworkmod. I am still seeing s-off and I am able to go to the custom recovery which i thought meant that I did have full root. Unfortunately wireless tether is still not working. i keep getting the message "unable to start tethering. please try again!" the superuser app is installed on my phone, however it has not tried to grant permission yet. i think this may be the problem, but i'm really not sure, and if it is i have no clue how to fix it. i tried uninstalling and then reinstalling but that didnt work either. if anyone knows what is going on here and how to get it to work i would be extremely greatful!

Thanks!
[EVO 4G Android Development] regaw_leinad:
Awesome! glad to hear you got through my guide successfully :)

I am working on a 2 step process now that will allow you to be on stock 2.2 (just like the OTA) and have full root access. We are in the testing phase, hope it will be out tonight.
[EVO 4G Android Development] afitchguy07:
make sure your sd card is FAT32 format or it wont read it.
[EVO 4G Android Development] offthahook:
What is the exploited file that I didnt push.
[EVO 4G Android Development] Bizdady:
Yup Fat 32 and I can see the zip in the root directory of the sd card.
[EVO 4G Android Development] erlanleyva:
Awesome! glad to hear you got through my guide successfully

I am working on a 2 step process now that will allow you to be on stock 2.2 (just like the OTA) and have full root access. We are in the testing phase, hope it will be out tonight.

ufff thanks i will be waiting here till 3 am lol for sure lol
[EVO 4G Android Development] lc3necro:
Ok, I have read, re-read, searched this thread, and at this point I am tired and frustrated so I am going to sleep on an un-rooted phone, but in addition to getting permission denied issues randomly when pushing (yes, I am in debugging, etc etc) I am also getting this error when I do get the # prompt:

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

error opening /sdcard/mtd-eng.img: No such file or directory

so, hoping for a lil guidance when I wake up, thanks in advance...

Also running on Win7, if that is still considered an issue
[EVO 4G Android Development] regaw_leinad:
rageagainstthecage-arm5.bin
[EVO 4G Android Development] lilredzmd:
I do have my card formatted in FAT32
[EVO 4G Android Development] regaw_leinad:
Make sure you're in charge only mode, not Mount sdcard... that would do it..
[EVO 4G Android Development] lc3necro:
I lied, I am still awake..

Yeah, charge only mode is selected, USB debugging enabled, etc etc, I followed step by step like a good rooter
[EVO 4G Android Development] erlanleyva:
i have a gereral questio problably everyone is wanting to ask the same thing. whe the 2 step root be created would you post it in the same thread?
[EVO 4G Android Development] bhughes3:
Awesome! I thought that maybe I had messed something up and just couldn't figure out what was going wrong because everything seemed like it worked perfectly. Your guide was amazingly easy to follow. I didn't need to update any radios or anything (don't think i would be able to figure out how to do that even if i had to). It really did seem pretty idiot proof as long as it is followed to a T.

Thanks again for all you and the rest of the devs have done! I look forward to getting full root on the stock 2.2!
[EVO 4G Android Development] Ep3n3wp:
Quick question... It says to unzip (extract all) the evo-root zip to your android sdk told folder...

Does that mean move thee evo-root.zip to the tools folder and unzip inside the tools folder? Or unzip(in another location) then move the unzipped files to the sdk told folder?

Sent from my Second Wife using Swype on the XDA App
[EVO 4G Android Development] fintheman:
Is anyone else having a ***** and getting the errors at "write_raw_image PACKAGE:boot.img BOOT:?

I've tried the ClockworkMod Recovery v2.5.0.1 / I've tried the Rom Manager 2.0.2.5.

With the following ROMS: VirusROM_2.0B_Stock and Calkulin's_EViO_v1.1.

I worked with Calkulin on his and tried to update fix (It was giving a line error @ 23 first then it gave that error at line 3) which is the write_raw_image PACKAGE:boot.img BOOT:?

I did format the BOOT partition with ClockworkMod as well.

I have to run evo-recovery to be able to get back to the 2.1 to even do anything.
[EVO 4G Android Development] punkerEVO:
the permission errors are from having failed after moving a file (partially)over, had the same issue, used windows explorer to erase the files and tried again. is there a reason to use adb push commands instead of just copying files over with explorer?

could that be why i am having the same error message when i get to ./flash_image misc /sdcard/mtd-eng.img"

i also get "error opening /sdcard/mtd-eng.img no such file or directory"
[EVO 4G Android Development] Bizdady:
Im try reformatting the sd card, see if that works.
[EVO 4G Android Development] dawilliams660:
Guys I get to this part "Once downloaded and extracted, run the program on your computer. Make sure your EVO is plugged in with USB DEBUGGING ON! It will reboot to the bootloader, and it will wait for you to use volume down to select HBOOT USB. (the last option)" Then the phone reboots and then the recovery reflash tool says flashing recovery image do not touch your phone but the phone is at the lock screen.....am I doing something wrong?

thanks
[EVO 4G Android Development] regaw_leinad:
haha good rooter.... I''ll keep searching for an answer

This will definitely be more than a 2 step one..

Thanks for the compliments :)

unzip(in another location) then move the unzipped files to the sdk tools folder is best

probably should ask the rom maker on that one... this thread is for the rooting.
[EVO 4G Android Development] jdr6382:
woo, that was it!!

I re-downloaded the PC36IMG and it worked flawlessly.

On my way to full root these bad boys now.

Great work here.

Donations coming!
[EVO 4G Android Development] lc3necro:
Ok, it appears I lose the ability to push / modify my sdcard after a certain period of time from connecting my evo to my pc. Maybe this sounds crazy, but even in the first push sections, if i execute the push within seconds of connecting my evo to my PC, it goes through, however if I wait 20-30 seconds I get the permission denied message.

Does this sound crazy to anyone else?
[EVO 4G Android Development] afitchguy07:
REFORMAT it into FAT32, even if it's already in FAT32. Then re plan the 3 files back on that are needed.

retry.
[EVO 4G Android Development] Topgun966:
It doesnt like HTC Sync. You can uninstall sync and reboot and try again, OR use simpleroot ota that works.
[EVO 4G Android Development] dawilliams660:
Thanks...I will try simpleroot ota.....
[EVO 4G Android Development] Ar3ohdee:
DONE DEAL !!! You Guys ROCK !!!!!!

First off let me say this... As I said a while ago, 18th August 2010, 01:42 AM to be exact...

"I have tried to access the 1.47 to the 3.26 stages of Supersonic.zip and have found nothing that works yet... I have them both unzipped and open, and am trying to find ANYTHING that will let me Re-flash the Original 1.47 as an "update.zip"... As of NOW I continue to get the same message "update is older then one installed" meaning it won't let me go back... I think that somewhere in the unzipped update.zip file there should be something that is telling the phone it is the "older" update as opposed to being a "NEWER" version of the Android O.S. SO, I think that once someone finds a way to TRICK the phone into thinking that the "update.zip" (the 1.47 version) IS THE NEWEST VERSION of the operating system we should be able to go back to 1.47, root, and start ALL OVER AGAIN !!! That all being said, I think the focus needs to be LESS on the exploit (Rooting Froyo), and MORE on the files WE ALREADY HAVE (the 1.47, Ruu, etc), OR IN OTHER WORDS, "going back" Any feedback, or support is appreciated... PLease keep me posted on any advances, and I will do the same...

-R"

This was the obvious way to get this done, and these guys did it... With that being said, I followed the instructions (THEY WERE SPOT ON, AND VERY EASY TO FOLLOW, Thank you), and I am now ROOTED AGAIN !!!!!! THANKS SOOOOO MUCH to everyone who helped make this happen, where can I send my donation???????

-R

P.S. OTA 2.2 updated Evo (before following this thread of course), Win 7, 64 Bit....
[EVO 4G Android Development] regaw_leinad:
Just letting you know, simpleroot OTA downgrades your PRI.
[EVO 4G Android Development] gdolla3:
"Ok, it appears I lose the ability to push / modify my sdcard after a certain period of time from connecting my evo to my pc. Maybe this sounds crazy, but even in the first push sections, if i execute the push within seconds of connecting my evo to my PC, it goes through, however if I wait 20-30 seconds I get the permission denied message.

Does this sound crazy to anyone else?"

He is right. this is the problem I am having as well.

Help guys??????
[EVO 4G Android Development] android_:
3 words for u......................I LOVE U!!!!!!!!!!!!!!!!!!!!!!THANKS U A LIFE SAVER AND THANKS TO EVERY ONE WHO CRACKED 2.2 FROYO
[EVO 4G Android Development] regaw_leinad:
My 2.2 full root method coming out soon (in testing atm) will upgrade you to everything stock 2.2 (ie radios, wimax, hboot, PRI). We should be done with the testing tonight
[EVO 4G Android Development] Bizdady:
Im an idiot! I uninstalled HTC syn on the desktop not this laptop! Maybe thats the culprit?
[EVO 4G Android Development] regaw_leinad:
Probably ;)
[EVO 4G Android Development] dawilliams660:
I think I will remove HTC sync
[EVO 4G Android Development] erlanleyva:
why do i keep getting this please help

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.

C:\android-sdk-windows\tools>
[EVO 4G Android Development] gdolla3:
Now I am getting error opening /sdcard/mtd-eng.img: No such file or directory.

what happened? I know its on the card
[EVO 4G Android Development] Topgun966:
Good thing to note :/ I was never on 1.40 anyways so it didnt really matter to me but others should know that
[EVO 4G Android Development] dawilliams660:
.....removing HTC Sync fixed the issue...thanks
[EVO 4G Android Development] energizer1389:
Why is everybody waiting for 2.2 OTA root update???. You can just install one of the many custom roms built out of 2.2
[EVO 4G Android Development] btrxsheriffx:
well if you read your own signature that pretty much sums it up =P
[EVO 4G Android Development] partsguy1:
followed these directions to the "T" and got as far as this # ./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

now what do i do?
[EVO 4G Android Development] regaw_leinad:
you are already rooted somehow... the # means root...
[EVO 4G Android Development] Bizdady:
You will now see some text on your cmd prompt screen explaining the exploit.

This right?
[EVO 4G Android Development] lilredzmd:
All works great...I figured out my problem..the source I downloaded the EVO PC36IMG.Zip from was only 43MB in size..way smaller then the approx. 167MB size..Thanks for al the rooting help..!
[EVO 4G Android Development] regaw_leinad:
Because, this will RUU your phone back to 2.2, upgrading all of the radios and other partitions downgraded in the rooting back to 2.2 stock (along with a custom recovery I put in). Then you will flash my zip I made with a script in it, and it will inject Superuser.apk and an su binary, along with busybox. This will be easier than the last guide I promise. Like 3 simple steps
[EVO 4G Android Development] partsguy1:
i knew the # meant root but i did not flash the PC36IMG. I tried the PC36IMG in recovery mode but got the error that the bootloader was older. any suggestions?
[EVO 4G Android Development] gdolla3:
" Originally Posted by partsguy1 View Post

followed these directions to the "T" and got as far as this # ./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

now what do i do?

you are already rooted somehow... the # means root..."

I got the same message. Does this mean I can move on to the "reboot bootloader" step?

Im already rooted?
[EVO 4G Android Development] Bizdady:
Hboot wont find pc36diag.zip or pc36diag.nbh bah! ill try tomorrow or wait for OTA root.
[EVO 4G Android Development] regaw_leinad:
yes, that is correct
[EVO 4G Android Development] regaw_leinad:
did it find PC36IMG.zip... aka the one you put on your sdcard?
[EVO 4G Android Development] regaw_leinad:
Also, this 2.2 full root is to use ONLY after completing this root guide. It wont work until it is completely followed to the end.
[EVO 4G Android Development] f10g44:
I'm getting the same error as others are experiencing.

Microsoft Windows [Version 6.0.6002]

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

C:\Windows\system32>cd C:\android-sdk-windows\tools

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.

i hope i didn't miss an answer to this issue, if i did i apologize. anyone have any ideas?
[EVO 4G Android Development] Bizdady:
Stuck on a 4G boot screen right now lol
[EVO 4G Android Development] mikek9:
My experience..

Hey just wanted to throw out my experience.

The guide was perfect, and as noobish as I am (my first android phone and this was my first attempt at rooting) everything went great! Thanks for an easy to follow guide that worked without a hiccup.

What I did have an issue with however was trying to OTA after rooting. The phone found and downloaded the update like normal, but every time i tried to run the update, it would start to install and then pop to a sad looking android with a triangle with an exclamation point.

So instead I flashed toasts 2.2beta (which acts like stock2.2 for all intents and purposes, its just better from what i can understand ; ) ) and that is working great.

Anyways not sure why the OTA to 2.2 failed, something to look into if you feel like it, but thanks again for the root method!
[EVO 4G Android Development] fintheman:
In the C:\

Type in CD android-sdk-windows\tools and press enter

Then run the ADB commands.
[EVO 4G Android Development] Bizdady:
Firmware version 2.1-update1!! Thanks so much lol I needed to press up after hboot read the image lol Now just need to root lol
[EVO 4G Android Development] regaw_leinad:
I posted in the OP not to accept the OTA, because it wont flash with a custom recovery. Also, this short process I am coming out with in a little while (which has just been tested successful, twice) will get everything (and I mean everything, except for a custom recovery) back to complete stock 2.2 with root.
[EVO 4G Android Development] boonxeven:
Same thing happened to me.

Same thing happened to me. I'm up a lot later than I had intended, and now I have to figure out how to do a custom rom. I was only looking to have a way to tether, but maybe this will end up for the better. Thanks for the guide, worked good. Only hiccup I had was because I didn't install USB drivers.