yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] zikronix:
they could still be shot...but thats at least half decent news....

did you try the tree xml fix

what rom are you running. try myn's, cauklin, steelrom, stock rooted, sprintlovers did you do the prl/profile update
[EVO 4G Android Development] strauss0829:
I am using myn's and im doin the prl and profile update now ...if that doesnt work how do i do the xml tree fix please explain
[EVO 4G Android Development] strauss0829:
I just did prl and profile update it says changes have been applied and no 4g still says scanning
[EVO 4G Android Development] strauss0829:
where do i find the fix idk where the faq is please help or should i just flash caulk's and see what happens
[EVO 4G Android Development] wolffer691:
Ok i finally got a good copy of the file from here and i am kinda slow so bear with me please I get to the step of entering the adb push root/rageagainstthecage /data/local/tmp command and it comes back with a no such file or directory is this normal?
[EVO 4G Android Development] J Piddy:
When they say check the FAQ, they mean the first page 2nd post big bold letters FAQ. It has the common questions and answers there.
[EVO 4G Android Development] jaxtripp:
Well it was a bit of a fight but root was finally achieved on my Evo. 3rd PC was the charm, netbook running win7 starter edition, lol. Huge thank you to zikronix and the xda forum for all the help. Now to find a ROM... :)

Again, thank you guys, this site is great.
[EVO 4G Android Development] stevenp1200:
Hey guys I tried looking everywhere yet I am unable to find a solution. I see a lot regarding "Permission Denied" on steps 11, but nothing regarding 5. I type in everything regarding step 2-3. I also ensure that I had I all the drivers. I even tried the combination of drivers installed and uninstalled. Nothing worked. I keep getting "permission Denied" before i could even move from step 6. I know it mentions to hard reset, but the warnings do not indicate whether or not it is necessary. Can someone please Help?
[EVO 4G Android Development] strauss0829:
wow i did the fix and got 4g icon back finally for a couple mins then it went back to scanning so i just updated prl and profile and now rebooted seeing what will happen ...but hey guys is that a good sign
[EVO 4G Android Development] strauss0829:
Im gona flash to Caulkins Rom and see what happens ill keep u guys posted
[EVO 4G Android Development] zikronix:
****ing drivers....lol had me and you both trying to figure out wtf
[EVO 4G Android Development] aegiswa:
Thanks zikronix and everyone else for all the work and documenting the process - :)

And to amon_ra for fixing the part issues on the recovery for hboot 2.02 - :)

The Ver 7.1 worked great for me - :D

0003

hboot 2.02

Now rooted with Sprint Lovers installed (for now) - :cool:

Only small issue was it did not like the mv first off:

D:\hboot202-s_off-V71>adb shell mv /sdcard/PC36IMG.zip /sdcard/PC36IMG-ENG.zip

- exec '/system/bin/sh' failed: No such file or directory (2) -

D:\hboot202-s_off-V71>adb shell mv /sdcard/PC36IMG.zip /sdcard/PC36IMG-ENG.zip

- exec '/system/bin/sh' failed: No such file or directory (2) -

I saw I could rename a few steps later using the USB-MS so I just kept going - I did end up at the 12c state (white HTC screen)- but pulled the battery and kept to the process.

Thanks again everyone :)
[EVO 4G Android Development] wrxphantom:
I still get the permission denied when doing the command after send recovery folder.

whats a fix for this. I can not continue then try to reboot i can't get into adb shell. access denied
[EVO 4G Android Development] zikronix:
check your drivers
[EVO 4G Android Development] wolffer691:
zikronix any idea why i can push all the files except the rageagainstthecage file? what drivers do you use and how would i go about removing the previous ones i tried the urevoked method b4 i knew i had a 0004 version!
[EVO 4G Android Development] danman132x:
Im having trouble with step 2. 2) Open a command prompt and change to where ever you extracted the files to.

I have the folder extracted to: C drive -> HTC Evo

all the extracted files are in HTC Evo folder. How do I do this in command prompt? The rest I can do. I rooted my old Hero just fine. I just need the steps for the first few parts. I get HTC or whatever is not recognixed as an internal or external command etc. I have the HTC sync software all succesfully installed and everything rebooted.

USB Debugging is enabled
[EVO 4G Android Development] stevenp1200:
to go into the folder type cd C:\(what ever you named the folder)
[EVO 4G Android Development] Rem3Dy:
From inside the folder hold ctrl and right click. You will see the option to open a cmd prompt from this folder. Then start following the guide.
[EVO 4G Android Development] runningnak3d:
LOL! If my laptop wouldn't have worked I would have never have thought to try my netbook. Glad you found one that worked. Just curious, were the two machines that you tried that didn't work AMD based? So far I have tested on my main desktop (which I fought with for a week) -- AMD, and yesterday, just for the heck of it, I tried another laptop that has an AMD Turion processor in it -- NO go there either. The laptop that DID work was Intel based.

-- Brian
[EVO 4G Android Development] jaxtripp:
No AMD, all Intel, however my Linux and Win7 ultimate boxes are both 64-bit and my netbook win7 starter is 32-bit. Not sure if that was it or just your suggestion to use a box that hadnt seen the device before. Big thanks to you and zikronix for the ideas that ultimately got me through. :)
[EVO 4G Android Development] mastercolin:
I'm not rooted. Unrevoked failed. I just don't want to lose 4G
[EVO 4G Android Development] wrxphantom:
Errors errors errors

Here is my current setup and problems

I have the new EVO just came in the mail 2 days ago. (replaced my other which i broke my screen)

hboot 2.02

3.30 software

I have tried the following. Erased everything on my Windows 7 PC that has to do with HTC (DRIVERS, FOLDERS, ETC...

downloaded the NEW SDK file from HTC with drivers. Installed everything fresh. Updated the SDK to all current versions. as well as drivers

SD card = 16GB

Problems

I run through STEPS 1 - 9 NO PROBLEM

After I type in FLASH (PC36IMG.zip) I click on NO to restart and it brings me back to fastboot, which I then successfully bring it to Recovery Mode.

PC36IMG.zip errors = radio v2 pu? and wiimax same error.

AFTER THAT = i get the same error when trying to do STEP 10

C:\android\tools>adb shell mv /sdcard/PC36IMG.zip /sdcard/PC36IMG-ENG.zip

- exec '/system/bin/sh' failed: No such file or directory (2) -

I can not do anything (ADB SHELL = NO GO) so going to step 11 even if i renamed via manual sdcard on the computer I have no adb shell...

if anyone can help please help..
[EVO 4G Android Development] denstark:
You're doing fine. At this point you're going to have to rename the files manually using a card reader. Then start your phone back up and get to the red triangle. Then continue at step 10 (push recovery /, etc) and you'll be good to go!
[EVO 4G Android Development] danman132x:
Help, My phone seems to be stuck on the white htc EVO 4G screen after this step:

9) Once your phone is in the boot loader highlight bootloader, and press the power button. It will load the PC36IMG File...When it ask you to flash press VOL-UP. You will notice that it says bootloader bypassed and maybe some other errors. Dont worry this is normal. Once the flash of the file is done it will ask to reboot, Select NO by Pressing VOL-DOWN. Now some people have gotten some errors here and there during the flashing just continue as normal.

10) You should still be in the boot loader at this point. Scroll down to recovery and press the power button. When you see the red triangle. Type the following:

I just hit No after all the flashing to get back to the bootloader screen and went down to recovery and hit the power button. This is when it went to the white HTC EVO screen and has been there like 5 minutes now and I haven't seen any red triangle.
[EVO 4G Android Development] sladehawke:
Yeah, that happens to everyone. I copied the files using an SD reader then the adb push command worked fine at the same screen.ADB push worked even when adb shell does not.
[EVO 4G Android Development] denstark:
That's fine. Pull the battery and then start your phone up while holding vol down, then select recovery and you'll be at the red triangle
[EVO 4G Android Development] wrxphantom:
tried that before... I did step 10

adb push recovery /

then

adb shell busybox --install /sbin

I GET

b shell busybox --install /sbin

- exec '/system/bin/sh' failed: Permission denied (13) -

like i said before after flashing the PC36IMG.zip i can not do adb shell anything

just gives me errors.
[EVO 4G Android Development] sladehawke:
No error after you push the recovery though?
[EVO 4G Android Development] wrxphantom:
it lets me push the recovery. after that. i get the FINGER
[EVO 4G Android Development] danman132x:
Okay I did this, wanted to flash again, I said no, went to recovery and saw the red triangle for about 5 seconds. It then bypassed it reset my whole phone software. It looks as it did when I first got it yesterday. Do I need to pull the battery and try again, this time having the USB cable connected as it gets to the red triangle? I havent exited command prompt since the very start, its just in my C drive folder right now
[EVO 4G Android Development] denstark:
The permission denied error is something different that some have encountered. The solution that has worked the most is switching computers. Check back like 10 pages and you'll see lots for this problem
[EVO 4G Android Development] denstark:
Yes you should have your usb cable plugged in
[EVO 4G Android Development] wrxphantom:
WELL unfortunately i do not have another computer to try. What is causing this stupid error. anyone figure it out?
[EVO 4G Android Development] danman132x:
I'm having the same problem now. I can manually take the SD card out and change the file names on my computer, but just to be certain which ones am I changing?

This is what is in the guide:

adb shell mv /sdcard/PC36IMG.zip /sdcard/PC36IMG-ENG.zip

adb shell mv /sdcard/PC36IMG-MR.zip /sdcard/PC36IMG.zip

Do I go all the way to the bottom of that folder and change the PC36IMG.zip --> PC36IMG-ENG.zip

and the PC36IMG-MR.zip --> PC36IMG.zip

for a total of 2 files changed?
[EVO 4G Android Development] sladehawke:
http://xdaforums.com/showpost.php?p=9323027&postcount=794

Or

http://xdaforums.com/showpost.php?p=9324864&postcount=804
[EVO 4G Android Development] denstark:
Yep
[EVO 4G Android Development] denstark:
From what I've seen, it's a problem with the permissions before it gets pushed onto the phone. What program are you extracting the files with? I used p7zip and it worked fine. Some programs may not preserve permissions when the files get extracted
[EVO 4G Android Development] danman132x:
Thank you everyone ! Everything worked out for me with the 2.02 Hboot, and I am fully rooted now. Fixing to flash the latest Fresh rom
[EVO 4G Android Development] wrxphantom:
what do you mean what program? what file? I use ms-dos and use the commands adb push

are you talking about PC36IMG file... i use on my computer to view zip files with winrar.
[EVO 4G Android Development] danman132x:
One last question, for the final step it renames the PC36IMG again. Does this one always need to remain on the SD card from now on, or can I delete either one of them, like the PC36IMG-ENG from the card. I would like to reformat the whole card now, but I don't know if it's safe to delete these 2 files
[EVO 4G Android Development] denstark:
You can delete them both! Glad stuff worked out
[EVO 4G Android Development] denstark:
So you used winrar to extract the original zip file? Try getting p7zip and reextracting the files, then doing step 10 again
[EVO 4G Android Development] wrxphantom:
So I should uninstall winrar install p7zip?
[EVO 4G Android Development] wrxphantom:
Wait which file are we talking about? And extract where? I think I'm lost to what u r talking about.

Should I format SD card?
[EVO 4G Android Development] DanielWGK:
Oh yeah, meant to tell you, It worked. Thanks for this wonderful walkthrough. Oh, btw, I had to manually change the file names because the new update made it not work right. In any case, this walkthrough was awesome.
[EVO 4G Android Development] wrxphantom:
FINALLY

Got it to work. thanks guys.

Problem I suspect was I transfered the files from the downloaded zip to my original android folder that held the SDK adb and fastboot files and etc...

what i did now was used p7zip to transfer the files to a new folder ex = C:\Rooted

Then i ran MS-DOS and followed the directions on 1st post.

Thanks Guys for all your help. Much appreciated
[EVO 4G Android Development] n1ghtl1fe:
i used this method now i cant get 4g to stay on in any rom i flash? it goes on says i got 4g then ill pocket my phone for a few minutes come back and itll be off?
[EVO 4G Android Development] denstark:
Glad you got it working!
[EVO 4G Android Development] illestd0tcom:
Think my Evo is bricked

I rooted the Evo with this and failed installing a rom(dont remember which). I am trying to RUU the phone back to all stock but when i go to the recovery, i see the HTC evo 4g white screen and the red exclamation triangle. I try to run adb shell I get the following messages:

C:\New folder>adb shell

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

- exec '/system/bin/sh' failed: No such file or directory (2) -

or sometimes when I try to put it in recovery mode, sometimes i get a blank black screen with flashing orange LED

when I do Hboot USB and see the device detected in device manager:

C:\New folder>adb shell

error: device not found

C:\New folder>adb devices

List of devices attached

when i power on the evo normally, I see the htc evo 4g white background it detects the phone but same thing happens when I try to do adb shell:

C:\New folder>adb devices

List of devices attached

HT0BCHL08463 device

C:\New folder>adb shell

- exec '/system/bin/sh' failed: No such file or directory (2) -

I appreciate if someone can shed some light on how I can restore my phone or is it beyond repair? Should I water damage my phone and pay the $50 deductible for a new evo since i have TEP ?
[EVO 4G Android Development] Rem3Dy:
no you shouldn't because that is insurance fraud.
[EVO 4G Android Development] illestd0tcom:
please help me unroot the evo so i wouldn't have to insurance fraud.
[EVO 4G Android Development] denstark:
Ok so it seems like you haven't installed the recovery yet -- don't worry, all is not lost. Get back to the red triangle screen and re-perform step 10:

push recovery /
adb shell busybox --install /sbin
adb shell nohup /sbin/recovery &

That should pop you into recovery and from there you can install unrevoked-forever, and then a rom of your choice.
[EVO 4G Android Development] illestd0tcom:
I went back to the red triangle screen and tried to push recovery. It is my understanding that you need to be in adb shell in order to perform the commands but I tried it anyways. It seems like no matter what command I enter, I get the same message:

C:\New folder>adb shell

- exec '/system/bin/sh' failed: No such file or directory (2) -

C:\New folder>push recovery /

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

operable program or batch file.

C:\New folder>adb shell

- exec '/system/bin/sh' failed: No such file or directory (2) -

C:\New folder>adb shell busybox --install /sbin

- exec '/system/bin/sh' failed: No such file or directory (2) -

C:\New folder>adb shell nohup /sbin/recovery &

- exec '/system/bin/sh' failed: No such file or directory (2) -
[EVO 4G Android Development] sladehawke:
The correct code is

adb push recovery /

adb shell busybox --install /sbin

adb shell nohup /sbin/recovery &

the first step does not involve shell... ADB push is a different thing
[EVO 4G Android Development] mr6gryme:
Ok so i followed the tutorial 2 the T (thanks alot by the way) flashed unrevoked-forever.zip rebooted! tried to install some root only apps and they say im not rooted, so i decided to just flash a custom ROM! Wiped and flashed ROM and am getting stuck on the white HTC Screen????

so i guess i just want to know if anyone else has had a problem flashing custom ROMS??????

please help!!
[EVO 4G Android Development] dan0412:
It seems (from reading through these posts) that this rooting method is kinda hit-or-miss, fraught with a lot of gotchas that are not adequately listed in posts #1 and 2. I commend the OP for putting this together and patiently responding to users' issues. Can those of you who have successfully used this method please post some tips to watch out for? It makes absolute no sense to go through 10+ odd steps only to find out midway while your phone is refusing to boot that 'oh.. I need to switch computers because of permissions issues' or some other issue. Just my 2 cents.
[EVO 4G Android Development] illestd0tcom:
Thanks for clearing that up. it works! I'm absolutely a n00b. I'm not back in the Android system recovery however it seems it is not able to find my sdcard. I have the following message:

Build: not set

E:Can't mount /dev/block/mmcb1k0p1 (or /devblock/mmclk0)

(Invaild argument)

E:can't mount SDCARD:
[EVO 4G Android Development] Covington:
Thanks ALOT zikronix, and all who contributed to this cause. Two weeks ago I spent an entire Saturday trying to root my 2.02 without success, not knowing that it was impossible at the time.

This method, minus one hiccup that 12B solved, took all of 2 hours (including downloading time). I'm now up and running on Myn's ROM (the first I tried, don't know where I'll end up), using wireless tethering to make this post. Like a boss indeed!

Thanks again, and I will be contributing to the funds of all involved.
[EVO 4G Android Development] denstark:
While I'm not totally certain, I think the permissions issue is from not retaining permissions when the zip you download from the OP is extracted. As far as I know, 7zip 4.65 worked for me on Win7 64bit. Another little gotcha to look out for is the renaming -- you might want to have a microsd card reader (or in my case, an old phone) lying around so you can manually rename the files if need be. Other than that, it's pretty solid at this point, and I'd say it's as safe as it's going to get. If you have any issues, the answer may be in this thread already or you can always just post and I'm sure someone will be able to help. I haven't read that anyone was completely unable to return their phone to a working state, but there is always a risk.

Good luck and we'll be here if you need us ;)
[EVO 4G Android Development] Covington:
The only issues I had was the adb shell mv command not working in step 10. Alleviated that by doing the manual rename in step 11. And after 12, I had to do 12B.

All set now
[EVO 4G Android Development] runningnak3d:
I would love to agree with you on the "extraction program not saving permissions" except that I was one of the people that used the exact same version of winrar on win7 64bit Ultimate on three different machines, and it only worked on one.

The first one, I *could* attribute to the fact that I had installed many different versions of the hboot drivers. But the other two (one that worked and one that didn't) were fresh machines that I installed the unrevoked hboot drivers on fresh from the start. The only thing that was different between those two machines was USB ports / USB drivers... (one was AMD the other Intel)

-- Brian
[EVO 4G Android Development] denstark:
Hrm, interesting. I am mostly basing it off of one of the people on linux did a chmod +x on the file before pushing it -- I could be incorrect. Unfortunately without knowing all the variables it'll be hard to pinpoint what's causing it
[EVO 4G Android Development] kmatthews:
If I hboot .97 should I use this method or this one [ROOT] ~~~ HTC EVO - Universal Froyo Root ~~~ (11/15/10)
[EVO 4G Android Development] texasice:
This is not working on mine. when i flash the pc36img-eng.zip the radio and bootloader fail with a "fail-IM" message. I then continued into recovery. i was unable to run "adb shell" commands. I got this error: exec '/system/bin/sh' failed and then a permission error 13. nothing i tried remedied it. I ended up just flashing the stock 3.26.651.6. and will try again later.
[EVO 4G Android Development] kmatthews:
yeah thats what I did too but 3.29.
[EVO 4G Android Development] denstark:
If you're getting a permissions error, my recommendation is do either try a different extraction program from the OP's zip (p7zip worked for me) or another computer (seems to work better for a lot of people)
[EVO 4G Android Development] zikronix:
Ill pull step 10 when i get back to a computer. The zip was created on win 7 64 what strikes me as silly is i see the same issues over and over again. Most of which are in the faq.
[EVO 4G Android Development] mellospace:
I just started doing this and getting permission denied error on step 5...any suggestions?

D:\evo root>adb shell

$

$ chmod 0755 /data/local/tmp/rageagainstthecage

chmod 0755 /data/local/tmp/rageagainstthecage

$ chmod 0755 /data/local/flash_image

chmod 0755 /data/local/flash_image

$ adb shell

adb shell

adb: permission denied

$ adb shell

adb shell

adb: permission denied

$
[EVO 4G Android Development] denstark:
You're still in the shell -- no need to type adb shell again. You're good to continue with:

./data/local/tmp/rageagainstthecage
[EVO 4G Android Development] mellospace:
OK thanks. Let me continue.
[EVO 4G Android Development] mellospace:
Ok, now I'm getting this on step 10...my phone is one the read triangle with question mark.

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

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

# sync

sync

# reboot bootloader

reboot bootloader

D:\evo root>adb shell mv /sdcard/PC36IMG.zip /sdcard/PC36IMG-ENG.zip

- exec '/system/bin/sh' failed: No such file or directory (2) -

D:\evo root>adb shell mv /sdcard/PC36IMG-MR.zip /sdcard/PC36IMG.zip

- exec '/system/bin/sh' failed: No such file or directory (2) -

D:\evo root>
[EVO 4G Android Development] denstark:
Ok so you're going to have to do the manual rename. Pull the battery of your phone and take out the SD card. Put the SD card into a reader or other phone and mount it on your computer. Rename the PC36IMG.zip file to PC36IMG-ENG.zip and rename PC36IMG-MR.zip to PC36IMG.zip -- then unmount the card, put it back into your evo and power it on while holding volume down. Then select recovery and hit the power button. You should see the red triangle. From there, you can continue on from step 11:

adb push recovery /
adb shell busybox --install /sbin
adb shell nohup /sbin/recovery &

Once that's finished you should have a recovery on your phone. This will allow you to flash unrevoked-forever.zip and then you'll have S-OFF. Continue with the guide and you should be golden!

HTH
[EVO 4G Android Development] mellospace:
Ok thanks again for your help. Will continue now.
[EVO 4G Android Development] mellospace:
Ok, I have a small problem. I put the sd card on a card reader and I believe it damaged it or something...the computer wont read it and I put it on another phone and the phone wont read it. Can someone email the contents that should be in the SD card by step 10 so that I can put the files on another SD card and continue with the process? Or is this even possible to continue that way?

Or should I just put everything that says push onto an memory card and continue...all of these files...

adb push root/unrevoked-forever.zip /sdcard/

adb push root/mtd-eng.img /sdcard/

adb push pc36img/PC36IMG-ENG.zip /sdcard/PC36IMG.zip

adb push pc36img/PC36IMG-MR.zip /sdcard/PC36IMG-MR.zip

Any Suggestions? Or how do I start over?
[EVO 4G Android Development] mellospace:
Someone give me some suggestions...I'm really stuck now and don't know what to do.
[EVO 4G Android Development] denstark:
What do you mean you're on stock? What did you end up putting on the SD card? Nothing in this guide should have messed up your SD card. Does your phone say S-off? (to find out, reboot and hold vol down)