yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] pHolla10:
Okay,

I have been trying to figure this out for quite a while now. When I type in these commands:

adb push unrevoked-forever.zip /sdcard/

adb push flash_image /data/local/

adb push rageagainstthecage-arm5.bin /data/local/tmp/

adb push mtd-eng.img /sdcard/

adb push PC36IMG.zip /sdcard/

After each command is entered it says that it loaded 0 bytes in however many seconds. For example in the video when he pushes unrevoked-forever.zip it says 535 KB/s (213877 bytes in 0.390s), for me it says 535 KB/s (0 bytes in 0.390s). At first I didn't think this was problem until I got down to the where you type in adb shell and are supposed to get the # symbol, all I can get is $.

I have read the guide over and over and started from scratch but still it wont work. I also searched and noticed that a few others have had this problem but I could not find a post showing any type of resolution. Please help.
[EVO 4G Android Development] regaw_leinad:
links are broken?
[EVO 4G Android Development] regaw_leinad:
you get the $ until the part in the guide after running the exploit. Its after all the chmodding.
[EVO 4G Android Development] lc3necro:
Well at this point, having spent several hours and exhausting every viable method of getting this to work I can think of or search, I suppose I've been stock this long, I can wait another few days / week until this settles down and problems like mine have enough information existing to solve :( As previously stated I am fine up until the reboot, it loads the PC36IMG.zip, check said zip, then drops back to the menu :confused:

I figure if I repeat the steps one more time my phone might make a trip at the wall :D
[EVO 4G Android Development] You stole Boo Boo's Name:
no the files used for part 2 dont work with a stock 2.2 rom. it just goes round and round
[EVO 4G Android Development] lc3necro:
If you were talking to me, by part 2 i ment of the video, not the unrevoked part 2.
[EVO 4G Android Development] rosario1187:
1st Attempt = Successful

Total time to root = 1hour and a couple minutes.

Previous rooting experience from Toast's method, so maybe that's why some things like placing files on the root of the sd card were obvious to me. I didn't run into any hiccups along the way, and now im back to my lovely rooted EVO. If anyone has any questions feel free to PM me, also, just read everything once before you even start. That should also help.

Good Luck
[EVO 4G Android Development] pHolla10:
Typo on my part, sorry. I do run the exploit and where I am supposed to get # I get $.
[EVO 4G Android Development] You stole Boo Boo's Name:
and has anyone been able to update the wimax radio after doing part 1? it wont update the wimax for me after doing part 1.
[EVO 4G Android Development] elihmph:
click on the PCimg and make sure it isnt corrupted
[EVO 4G Android Development] aburgthing:
I am having the same issue pushing the PC36IMG from the shell. I have read and re-read the instructions exactly. The first three commands went as follows:

c:\android-sdk-windows\tools>adb push unrevoked-forever.zip/sdcard/

1113kbs (o bytes in 2138.77s)

(the other two were similar and nearly instantaneous).

The push command for PC36IMG.zip has been sitting there for the past hour with just a blinking cursor. I know it said "Long Time" but it should not take this long should it? Also reading the return from the command lines is the "0 bytes in 2138.000s" correct?
[EVO 4G Android Development] Topgun966:
You need to have a space in there between the ~.zip and /sdcard/

So it should look like c:\android-sdk-windows\tools>adb push unrevoked-forever.zip /sdcard/

not c:\android-sdk-windows\tools>adb push unrevoked-forever.zip/sdcard/
[EVO 4G Android Development] jockeyshiftspringer:
Got it. Awesome work guys!!!
[EVO 4G Android Development] CWasko:
That is the rumor. Going to be trying myself here in a little bit. But, since there are people that have done it on a Mac, and HTC Sync does not exist for the Mac... It looks to be a positive thing.
[EVO 4G Android Development] aburgthing:
I understand, I typed it wrong in my post and it did indeed push that file as well as the first three to the SD card. My problem is the PC36IMG.zip file. As I stated, it seemed the command worked but nothing happened and I waited for an hour being patient because it said "long time". I have re-tried twice with the same long wait no results. My question is can't I drop that file on the SD card or does it have to go through the shell?
[EVO 4G Android Development] regaw_leinad:
yesa you can just drag and drop.
[EVO 4G Android Development] joeynuggetz:
Actually saw the video in the first post and went with the other one. Should I have gone with Clockwork? Could I easily switch to that one if needed?

I'm finally rooted @ 2.2!! Thanks so much!! Now, if I wanted to play with other roms or what not, is that possible from here?? Are there any gotchas? If so, can someone point me to a thread that I can look at? Never got this deep into all of this before.
[EVO 4G Android Development] aburgthing:
Thanks, BTW I feel like I'm talking to a legend :)
[EVO 4G Android Development] Topgun966:
Clockwork tends to be more compatible I think, but in reality it doesn't really matter they both do the same thing in the end :P
[EVO 4G Android Development] Ep3n3wp:
So if I just drag and drop pc36img.zip on too root of sd card... Do I skip the step adb push pc36img in the sdk and move to the next step?

I'm going to start from scratch with blank sd card

Sent from my Second Wife using Swype on the XDA App
[EVO 4G Android Development] Topgun966:
Ya, that would skip that.
[EVO 4G Android Development] alafferty:
is your SD card an SDHC card? If not that will cause the system not to find the PC36IMG.zip file
[EVO 4G Android Development] eggypadua:
thanks, work for me, my evo its root.
[EVO 4G Android Development] djR3Z:
The file probably isn't getting onto the sdcard completely. What method are you using to put it on?
[EVO 4G Android Development] djR3Z:
The screen to start the update got cut for some reason. Are you getting that Yes/No screen to update?
[EVO 4G Android Development] cemzie:
AWESOME

works great! thank you guys so much! now to figure out which wifi tether app to use
[EVO 4G Android Development] djR3Z:
You can go with either one. I just prefer Amon RA but its easy to switch to Clockwork(easier than to switch from clockwork to amon ra). Just download ROM Manager and itll flash Clockwork for you

I wouldn't want that to happen :P Sorry its not working for you man :(
[EVO 4G Android Development] lc3necro:
Nope, no Yes / No to update...just "checking ..." then bamph back to the menu

^^ so as i was submitting that I finally got the menu everyone else had...hit vol up, it started to do its thing then back to HBOOT...
[EVO 4G Android Development] lc3necro:
OH oh oh oh oh HBOOT - 0.79.000 :D:D:D:D:D:D
[EVO 4G Android Development] tpdtopcop:
You will then see the 2.2-root.zip. Click on that and accept the flash.

Once that flash is complete, return to the main menu of recovery and Select

Code:

Reboot System Now

You now have stock Android 2.2 with root and all updated partitions!

Now once you have done the above I will have 2.2 stock with root and everything will work correct? Like 4G etc,etc???

Thanks
[EVO 4G Android Development] oodlexaps:
Sorry if i'm confused, but why would anyone need to go through all these steps if they are already rooted? I rooted when I had 2.1 (using the flash exploit, command line version), and installed a rooted 2.2 rom a couple weeks ago. Why not just flash whatever rom you want?
[EVO 4G Android Development] a2k:
:confused: Mods, why isn't this thread a sticky?
[EVO 4G Android Development] randymanlb:
OMG I've been all day at this, reading, researching, trying over and over again expecting different results, to get around the "permission denied" error at the very beginning. With the Evo plugged in I mounted the SD card, then switched back to charge only, and tried the ADB commands again. Worked!
[EVO 4G Android Development] :
Just a thought but I have rooted HBOOT 0.93...completely stock with the ability to flash any 2.2 based ROM I choose. I personally would take the next step considering 2.1 is quickly fading away...just my 2 cents.
[EVO 4G Android Development] regaw_leinad:
it's already always on the top ;)
[EVO 4G Android Development] lc3necro:
Oh don't worry, I am progressing through the rest of the process!

I was just super excited to have down-graded myself FINALLY:D
[EVO 4G Android Development] regaw_leinad:
Wow, just realized how many posts I got here in 2 days! It's crazy!
[EVO 4G Android Development] rollerpig:
I'm in the process of routing my 2.2 evo. I'm running on a macbook pro right now but i'm running windows 7 via bootcamp. At first i downloaded all my files while i was using osx and then i copied them over to my c:\ BOOTCAMP partition and set up all the files and put them where they need to be ex. c:\android\tools\xxxxxxx.zip now i plugged in my evo and went to go transfer unrevoked to the sdcard in the command prompt and its not allowing me saying failed to copy permission denied. it didn't work so i redid all the downloading the files set up another directory all while on windows and i'm getting the same error. Can any one help me out with this?
[EVO 4G Android Development] joeynuggetz:
Have you just tried dragging and dropping the files from your HD to the root of the android SD card?
[EVO 4G Android Development] :
All in All it is going real smooth too...nice write up for sure. I forgot you wanted to approve video before it was posted:

http://xdaforums.com/showpost.php?p=7875987&postcount=1178

HAHAHAHAHA... gonna shoot ya a nickel or 2 payday. You deserve it for sure!
[EVO 4G Android Development] rollerpig:
ok i was able to drag the unrevoke file is this the same as what the command does? i'm able to do the command adb push flash_image /data/local/

adb push rageagainstthecage-arm5.bin /data/local/tmp/ but it seems like i don't have permission to do anything with the sdcard. should i keep going?
[EVO 4G Android Development] mcrumps:
I got to the part where it scans the pc36img file... but then it says

Main Version is older!

Update Fail!

Do you want to reboot device?
[EVO 4G Android Development] ejpyle:
Nice suggestion though I think it is something else. I had just an SD but after trying the SDHC that came with it, still a no go.
[EVO 4G Android Development] joeynuggetz:
Not sure. I was only referring to dragging and dropping files that belong on the SD card.
[EVO 4G Android Development] rajas_evo:
thank you dan for the guide, and djr3r for the video. this worked great.

followed each step closely and had to go back and redo couple of the steps but eventually it all worked as suggested. this is sweeeet.

you guys rock!!!

note: for those having trouble.. if you dont get the desired result after following a step, simply go back and repeat the step or the last few steps again. thats what i had to do to get mine to work. for example, i couldnt get into the recovery screen after the PC36IMG update in step 2. so i had to pull battery, and repeat the last few steps again to get to where i needed to be. just have patience and follow each step.. line by line... you wont be sorry :) this was my first experience with root.
[EVO 4G Android Development] Clay333:
How do you flash a .apk file from recovery? I tried putting it on the root of the SD card and install .zip from sd card, then choose .zip initially, but it didn't show the file. I then looked around everywhere else in recovery that I thought it may be but couldn't find it. Do I need to zip it and then put it back on root of SD?
[EVO 4G Android Development] litln8:
Awesome

This is my first root ever... I found this process much more time-consuming and much more technical than even the iPhone OS 2.x jailbreaks. But I actually got it to work in under 3 hours!!! :rolleyes: :p But hey it DOES work I now have root authority and am the boss of my htc evo.:cool: Thanx a million.:D
[EVO 4G Android Development] jorgeszabo:
Visual Voicemail

Anyone else having issues with visual voicemail after completing the root process? I completed both parts and now it says that visual voicemails can't be downloaded.
[EVO 4G Android Development] ICEReaction:
Sweet! Thanks

Thanks to regaw_leinad for the 2.2 root guide and djR3Z for the video tutorial, very easy to follow.

Like people have said before...follow each step carefully and following along with the video really helps and works with no problems. Reading through the guide first before you start would help too and certain steps talk a while to complete so you just need to have patience.

Thanks again for the great work guys.
[EVO 4G Android Development] CWasko:
I've followed everything to a a T. All is working well, rooted, wifitether-pre7. Rock on. HOwever, I'm having a problem with Visual Voicemail. It is squaking about needing a data connection to get the mail and even just gives some general errors. I'm not sure if this has anything to do with the rooting process.

I've poked around, and I've seen where some custom roms have needed a cm-android-signed.apk or a Sprint_Promotion.apk package to get Visual Voicemail to work. However, upon trying to install them, it tells me that they are already there. I tried to uninstall, but gives single response of "Failure". I also found some people on PPCGeeks yappin about errors with their stock, non-rooted 2.2s not getting Visual Voicemail as well. So, once again, I'm not sure this has anything to do with the rooting process.

Anyone else have more information to add?
[EVO 4G Android Development] trapport203:
Im having products wit da second type in in da comand screen. It sayin adb not internal etc. its with all five codes its sayin dis... Wut am I doin wrong?
[EVO 4G Android Development] CWasko:
Mac Guide

Well, I said I would do it, so here is the brief...

For all you Apple loving Mac freaks (me included), here is a summary.

Basically, the general practice here is that all the commands that regaw_leinad has apply – EXCEPT for the HTC Sync stuff. No need for that garbage.

So, from the top:

Step 1: Download the Android SDK here http://developer.android.com/sdk/index.html

Step 2: Extract the contents and move to:

~/Library/Application Support/

(the ~ represents your user directory, mine is “/Users/cwasko”, so the full directory is "/Users/cwasko/Library/Application Support")

Then, in the Finder go to the “Go” menu, then choose the “Go to Folder…” option. When the dialog comes up, paste in this:

~/Library/Application Support/android-sdk-mac_86/tools

All the stuff that regaw_leinad asks for you to move to the “tools” directory from the Windows directions, move to this directory.

Bla

Bla

Bla

Step 6: Open the Terminal.app application (this is located in the Utilities directory).

I do recommend making the window larger so you can see things easier.

In the Terminal window, type this:

cd ~/Library/Application\ Support/android-sdk-mac_86/tools

(the reverse slash after the ‘Application’ is NOT a typo, so just copy paste this and be happy)

Now, execute the commands EXCACTLY as regaw_leinad states; however, you will have to add a “./” to the beginning of ALL the adb commands. So, for example, the first set will look like this:

./adb push unrevoked-forever.zip /sdcard/
./adb push flash_image /data/local/
./adb push rageagainstthecage-arm5.bin /data/local/tmp/
./adb push mtd-eng.img /sdcard/
./adb push PC36IMG.zip /sdcard/

You only have to add the “./” when using the adb command.

Everything else remains the same.

Good luck and happy hunting.
[EVO 4G Android Development] ICEReaction:
When I first flashed 2.2-root.zip, I noticed the Visual Voicemail was throwing an error (V30 or something like that) and said it was having trouble downloading the voicemail. However, I just tested it out and Visual Voicemail worked fine, so perhaps its something with Sprint's network. But I did notice the version after I flash is V.5.1.0.32 and the newest one is V.5.1.0.34.
[EVO 4G Android Development] CWasko:
Yea, I'm guessing this is just Sprint. I won't start storming the castle... until tomorrow if it is still broken.
[EVO 4G Android Development] pHolla10:
Thanks to everyone who made this happen, I finally got through my error and now have root on 2.2! My problem was because I overlooked a simple detail in the guide, so I will reiterate to anyone who tries this, slow down and follow instructions EXACTLY. Thanks again.
[EVO 4G Android Development] You stole Boo Boo's Name:
has anyone been able to root stock 2.2 without downgrading it?
[EVO 4G Android Development] ajac:
first evo fixed the vvm issue trying on a second one and still cant get rid of the VVM issue grr wish I remembered how I did it the first time
[EVO 4G Android Development] CWasko:
I guess it is distinctly possible there are multiple issues. Meaning, there could be a problem with VVM AND a problem with Sprint. Either way, I'm sure someone will figure it out. Until then, I'm still doing the happy dance 'cause I have wifi tether.
[EVO 4G Android Development] :
Yes...my wifes phone was completly stock froyo 2.2...now completly stock 2.2 with root. Nothing downgrades unless of course you use another method besides unrevoked. Simple root will downgrade the PRI etc.
[EVO 4G Android Development] bassic:
Yes, I have the problem here too. Keeps saying voicemails will be downloaded when data service is available, yet I do have data service.

I also have a message that an upgrade to the voicemail application is available. I'm going to run it and see if that fixes it.
[EVO 4G Android Development] :
has never let me upgrade....
[EVO 4G Android Development] Clay333:
I can't upgrade either. I even tried to install the update manually. I can't download my voicemails either. I hope someone comes up with a solution to this soon. regaw told me to install the cm.android.signed.apk from recovery, but I can't figure out how to do it since it isn't a zip. I don't use visual voice mail (never tried it) I just want to be able to upgrade reg voicemail so I can download my messages.
[EVO 4G Android Development] willy900wonka:
Just finished rooting 2 evo's, which were bought with 2.2.

Want to thank all those who provided this. Great work Wager. Just answering questions is huge. What a great method.

I did notice a couple of things which might help.

I used a mac and tested whether the ./adb push was going to work by using a shell ( ./adb shell) and at the $ doing a "ls /sdcard/"

if i got a permission denied notice, I toggled the usb connect mode from charge only to HTC Sync, or visa versa, until the ls gave a valid listing. This was set to charge only on one evo and HTC Sync on the other when it did work.

The other was that on the "charge only" evo, the exploit returned a $, but it would not let me break the logical adb connection, even when physically unplugged. Once the usb was reconnected, I could not re-establish an adb connection until I caused the exception that rageagainstthecage-arm5.bin was waiting for. Once that happened I could adb back in to a #. The other evo which was set to HTC Sync mode worked just as described in the first page. The "ls /sdcard/ " test was crucial in setting the communication mode.

The asynchronous nature of the exploit was neat to watch.

SO great work !! Kudos to all the Devs for this great method.
[EVO 4G Android Development] rcerdanicoya:
stuck device manager

I'm stuck, I'm on device manager and can't get out, tried to take battery out and reboot it and it still stuck help please
[EVO 4G Android Development] PhantomKills:
i can confirm that you DO NOT need HTC Sync for macs
[EVO 4G Android Development] You stole Boo Boo's Name:
and what steps id you do to do this? part 2?
[EVO 4G Android Development] jorgeszabo:
Voicemail fixed itself. May have been a Sprint issue.
[EVO 4G Android Development] :
followed this tutorial to the T....all the way to this part..."You now have stock Android 2.2 with root and all updated partitions!" I would suggest reading through it and maybe doing some of the downloads first round. Then when you go for it...all things are there and ready. Made it easier for me...
[EVO 4G Android Development] Clay333:
custom kernals

Could someone point me in the direction of a good guide of how to flash custom kernals without a whole custom rom. I like this stock rom, but I want a kernal that allows the audio gain hack and a little overclocking to play around with.
[EVO 4G Android Development] :
Basically you flash a kernel just like you do a ROM...same steps. You must be sure that the Kernel you want supports the ROM you have though. Usually that info is stated in the Kernel discription or within the posts therein...
[EVO 4G Android Development] You stole Boo Boo's Name:
i did do it all.

did you do the unrevoked forever?
[EVO 4G Android Development] JvIo55iBl3r:
guys, met some problems here. Instead of UNREOVKED method, after back to 2.1, I use simpleroot1click to root and flash recovery(Amon_RA's).

(After root and flash recovery, i did enter the system, and check the software version in the setting menu, it's 2.1-OTA 1.47.651.1)

By following the instruction, i continued at part 2, I unzipped the Amon_RA's recovery into the sdcard root(including busybox, 2.2-root.zip, PC36IMG.zip 3 files). Then i power off, and hold vol down into the HBOOT screen. everything is all good until loading PC36IMG.zip. After checking, it should pop up question to confirm update, but screen back to the menu of HBOOT, I tried a few time, still cannot update.

Furthermore, after i hit reboot, it directly lead me to the HBOOT screen.

HELP, guys, what should I do now?
[EVO 4G Android Development] LuCkyCn:
Help... I can't get pass this at all...

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

$

C:\android\tools>adb shell

# cd /data/local

cd /data/local

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

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

mtd: read all-zero block at 0x00000000; skipping

mtd: read all-zero block at 0x00020000; skipping

mtd: not writing bad block at 0x00000000

error writing misc: No space left on device

#

I've tried this so many times now.
[EVO 4G Android Development] :
unrevoked all the way...simple root would have had me taking steps backward
[EVO 4G Android Development] HeNaFi:
I did everything correctly, im on Froyo 2.2. I want to install CyanogenMod-6 using Rom manager, but i get some error.

Noob question. does this also unlocks the NAND?

Help Please, I really want CyanogenMod.
[EVO 4G Android Development] :
there is a section in the tutorial that looks like where you are at. go find this:

Reboot your phone normally.

Open a command prompt and go backwards in this guide until you see the big red * and start from there.
[EVO 4G Android Development] LuCkyCn:
I've tried this portion at least 10 times now... They're getting the "Out of Memory error"... I'm getting something totally different. blah :(

It's so frustrating
[EVO 4G Android Development] aerosurf:
visual voice mail issue..

I also am having the same issues after new root with the voice mail. In a much earlier post, I too read about the cm-android-signed.apk possibly correcting the hickup, and I have downloaded the file in order to install.

My concern if anyone can confirm for me, is that in the post that I read, the statement was made that this application will discontinue the message of an awaiting upgrade message, but I am interested, if installing this app, if it will resolve our similar message problems?

Any assistance is Greatly appreciated.

Thanks!
[EVO 4G Android Development] :
can you verify that the PC36IMG.zip is actually on the root of the SD card?
[EVO 4G Android Development] :
you may end up having to re-format your SD card to FAT32...and start over. There have been several others that had to do this...
[EVO 4G Android Development] Jerry1Gman:
It is, and the card is formatted FAT32.