yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] Noobe:
What i did was extract everything in the hboot2.02s-off folder into the android-sdk-windows\tools folder on my C:. So im guessing thats the adb im using
[EVO 4G Android Development] zikronix:
use the adb that is included in the zip...

if you get it to run...do me a favor....is there a reboot option in the menu ?
[EVO 4G Android Development] Noobe:
I think i know what the problem is. When i tried this the first time also i got the same problem i couldnt extra everything from the hboot.zip i got an error telling me i couldn't copy because they are in use. So i restarted the pc and also im going to try it again and see what happens. Ill post up after my next attempt
[EVO 4G Android Development] jaxtripp:
I am still having the exact same problem

adb shell busybox --install /sbin

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

I have tried everything I can think of to no avail. Windows or Linux yields the same results every time. Please post your results, good luck! :)
[EVO 4G Android Development] zikronix:
check your pm
[EVO 4G Android Development] surferseth:
4G won't even turn on so it isn't a key issue. Wifi won't turn on either. They both worked before so not sure what the issue is. I am guessing software or firmware issue. Using the stock supplied ROM in the guide which didn't give root according to titanium backup root. I definately have S-off though and can flash radios or ROMs.
[EVO 4G Android Development] o0RaidR0o:
zikronix what can I say but pure genious, I've made the mistake of accepting the 2.2 OTA and simply thought it would be months before I could ever root. But you like a ray of sunshine to brighten my day. It worked as directed. I will be making a donation. I now have to learn how to load a custom rom. I'm rather fond of the sense ui any suggestions?

DOH! just realized the rom you provided has sense UI...I'm giddy all over!
[EVO 4G Android Development] Noobe:
I did i dont see any messages in my pm box. I get this message now with the busybox No such file or directory (2) is what i get exactly. So i search my drive and found a duplicate file. I erased it. And tried again but still the same.

Should I try the steps over again?
[EVO 4G Android Development] jdbell2004:
Im lost. Got to step 6 and got the #. I turned my phone off and held power and vol down and it loaded into hboot and said it was loading PC36IMG.zip then said

HBOOT

Parsing...[SD ZIP]

[1] MICROP

[2] RADIO_V2

[3] RADIO_CUST

[4] RECOVERY

.

.

.

[12] BOOTLOADER

Do you want to start update?

<vol up> yes

<vol down> no

I hit yes and the update fails.

[2] RADIO_V2 - FAIL-PU

[12] BOOTLOADER - FAIL-IC

When I choose reboot it boots to the red triangle with the "!" in the center... wtf?
[EVO 4G Android Development] J Piddy:
Is there a big difference between ver7 and ver71. I can not download 7.1?
[EVO 4G Android Development] apotek:
Should Win 7 be able to open the PC36IMG-ENG.zip file? It can open PC36IMG-MR.zip but not the other zip file. My evo shows S-OFF in the bootloader but both Titanium and busybox say the phone is not rooted. So I'm wondering if my PC36IMG-ENG.zip file is corrupted.
[EVO 4G Android Development] zikronix:
your phone is rooted....but the second pcimg you flash is just a system rom. flash a different rom
[EVO 4G Android Development] zikronix:
im fixing that now

power off phone then power on +voldown select recovery and resume
[EVO 4G Android Development] jdbell2004:
I tried but now when i type adb shell it says- exec '/system/bin/sh' failed: no such file or directory (2) -

edit: also when i select recovery it kicks me to the red triangle screen :(
[EVO 4G Android Development] dxtyle:
im getting permission denied error in step 10 :(
[EVO 4G Android Development] :
If you're getting the "no such file or directory" and have access to a card reader, try the following (which worked for me).

1. Get to the red triangle screen.

2. Remove the battery and SD card.

3. Plug the SD card into a computer.

4. Rename PC36IMG.zip to PC36IMG-ENG.zip

5. Rename PC36IMG-MR.zip to PC36IMG.zip

6. Eject the SD card, and put it back in your phone.

7. Put the battery back into your phone.

8. Hold the Vol-Down and Power button till it boots into the bootloader.

9. Select "Recovery".

10. You should be at the beautiful red triangle of death again. This is good.

11. Continue on at step 10 (Starts with "adb push recovery /", in case the directions get reordered).

This got me completely unblocked.

Great work Zikronix.
[EVO 4G Android Development] egghead221:
Does anyone know what could be causing this error? I tried with two different computers and I keep getting this error. Both computers are Window 7 32-bit.
[EVO 4G Android Development] dxtyle:
anybody knows bout the permission denied on step 10? thats all i need :(
[EVO 4G Android Development] zikronix:
you actully have bad blocks....i dont have a solution for you other than to return your phone.
[EVO 4G Android Development] zikronix:
guide has been updated...try the new instructions...also make sure your using the adb.exe in the package
[EVO 4G Android Development] jdbell2004:
I did steps 2-8. It booted into the hboot menu though. Says S-off. Loaded the pc36img.zip file and asked if I wanted to update. all 8 sections updated. I rebooted and it loaded the rom. What now?
[EVO 4G Android Development] egghead221:
That sucks. Could that cause any problems besides not being able to root?
[EVO 4G Android Development] zikronix:
read the instuctions on the first page....figure out where your at...it sounds like your at the point where you want to do a back up
[EVO 4G Android Development] jdbell2004:
"13) Ok your phone is rooted now, and you should be inside the rom. The rom you just flashed is the stock unrooted rom with the modified recovery. Download a rom of your choice copy it to the root of your sd card and flash it. But type the following first

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

adb reboot recovery

14) Do a backup from navigating the menu. Once thats done, follow the on screen instructions and reboot or flash a rom of your choice. Reboot into the rom custom or this stock one. Do a PRL/Profile update while in the rom. Your Done."

Ok, So I am in the rom, phone up and running. If I download a rom can I just drop it to the SD, reboot into recovery (how do I do this?) and flash the zip?

How do I back up from the navigation menu? ---NEVERMIND, I SHOULD NOT HAVE STARTED DRINKING.

Where does the command prompt text come into play in step 13? Do I run those commands while the phone is in the rom before I flash a new rom?

Also, it never asked me if I wanted to flash the pc36img.zip. However, at one point I got into a recovery and was able to flash a zip so I flashed that one. I'm assuming that's why I was never asked?

UPDATE

Currently running the nand backup. My camera works. Read somewhere that it wouldn't because the ROM was downgraded or something.

How do I get superuser permissions on here now?
[EVO 4G Android Development] zikronix:
could at some point in time...there are ways around it...but with me being mobile i cant look up things atm. As it sits now...im on a 3g connection. that is performing slow.
[EVO 4G Android Development] J Piddy:
I still can not download 7.1. I have 7 but I 7.1 wont dl should I use 7 or is there another way to get it?
[EVO 4G Android Development] zikronix:
step 13 while your in the rom. it will take you to recovery. do a back up from in there. then you can flash a rom....yes copy the rom you want to flash to your sd card then reboot in recovery by powering off and holding voldown and power. and selecting recovery
[EVO 4G Android Development] zikronix:
why wont it download. link isnt broke?

the only difference was a fix to the radio file

download this and flash it when your done with everything from recovery

radios.zip
[EVO 4G Android Development] strauss0829:
zikronix I am ready to try this and when I plug my phone in with usb debugging on and in charge mode I hit the adb.exe and it flashes a black screen and then disapears ...any ideas am I missing a step from the begining ...BTW I extraced the 7.1 files to my desktop ..Please tell me how to get this started
[EVO 4G Android Development] deception88:
When you flash a new ROM or a Kernal does it also update the radios? Cause when your rooting this method the ROM is stock 2.1 but rooted correct? Wouldn't we be on an old Radio as well?
[EVO 4G Android Development] J Piddy:
Cool thanks.

Not sure why it wont dl. The link takes me to a page and I have to click the top to download the file but then nothing, just a blank web page.

edit: The radio.zip is the same way. I will just download from my phone I guess.
[EVO 4G Android Development] jdbell2004:
Quick question, anyone who got this to work please chime in.

When you boot into recovery and come to the hboot screen, does it fail to load several c36img (or something similar) files before allowing you to make a selection? Not really a problem as far as I can tell yet, just want to know if that is normal.
[EVO 4G Android Development] zikronix:
The second pc36img you flash...reupdates the radios and the rom to the latest
[EVO 4G Android Development] zikronix:
yes...its normal.

weird! really weird

start over read the instructions. this is all command line based...no double clicking

ok im out for the evening...sleepy time
[EVO 4G Android Development] egghead221:
Thanks. I went ahead and tried doing the rest of the steps anyway. I had to do a few things differently, but it seems to have worked. I flashed a new rom and so far things are ok. We'll see if anything happens in the future.
[EVO 4G Android Development] strauss0829:
Hey I made it all the way to step 10 where u are supposed to hit NO then reboot into recovery and it restarts but is sitting on the 1st screen that says HTC Evo with white backround and isnt goin past that what do I do HELPPPPP I am sooo close
[EVO 4G Android Development] tacosun:
Accident from not reading all the way through

HELP! I know this will sound dumb but I didn't read the instructions all the way through when I was supposed to reboot into the bootloader and rather than doing it from the command line, I unplugged my phone and rebooted the manual way. Now I can't get past the white HTC Evo screen.

I have tried to clear storage and a number of different things. Is there any way that I can get back to the home screen and start over? My phone is still not rooted completely. Please help!
[EVO 4G Android Development] zikronix:
pull battery power off. power on holding vol down+ power restart at step 9
[EVO 4G Android Development] strauss0829:
ok i think it worked it didnt brick but how can I tell for sure its rooted once I get back into the rom
[EVO 4G Android Development] strauss0829:
Ok i checked and I have S-off butttt I cant flash a rom cause when I goto bootloader then goto recovery I get triangle screen so how do I get a good recovery ????
[EVO 4G Android Development] strauss0829:
Does ANYBODY know how to put the recovery on the evo if u unlocked the s-off
[EVO 4G Android Development] Rem3Dy:
READ THE FIRST POST........ You will see below how to FIX BROKEN RECOVERY. If you can't comprehend the first post, you shouldn't be flashing in the first place.
[EVO 4G Android Development] strauss0829:
well i couldnt flash that but I did get clockwork to flash and then out a rom on to test and it worked so **** YEAAAAAAAAAAA I AM ROOTED thanks to all you fine gents
[EVO 4G Android Development] zikronix:
you didnt follow the directions clearly.

I told you not to use clockwork. You lucky it works. I just hope that you didnt over wirte your 4g rsa keys by using clockwork. IT IS NOT CODED TO WORK FOR YOUR PHONE.
[EVO 4G Android Development] zikronix:
Why? Why would you not follow the directions.

Im going to assume our some where around step 8.

Reboot into the boot loader. let it reflash the pc36img (hopefully it will) tell it no to reboot and resume.

If you dont follow directions this is what happens.
[EVO 4G Android Development] zikronix:
guide and faq updated

let mew know if you guys catch soemthing
[EVO 4G Android Development] runningnak3d:
Hey dude, really appreciate all the work you are putting into this, however there are still a small group of us that get the red triangle with an exclamation point in it instead of just the red triangle when we enter recovery. Once that happens, all bets are off. Without a way to adb push recovery / and then run recovery from the shell, we are stuck.

This is in reference to:

C:\Users\rn_zippy\Downloads\android-sdk_r07-windows\android-sdk-windows\tools>ad
b shell busybox --install /sbin
- exec '/system/bin/sh' failed: Permission denied (13) -

Can you tell me (us) exactly what version of the USB driver you are using. I just got done cleaning my system of all traces of the driver that was installed and I installed: "Android Composite ADB Interface" -- version: 2.0.10.2 and it failed yet again.

At this point I am not sure if it is a USB driver issue, or a phone issue, so I want to rule out at least one of those by using an KNOWN working USB driver.

Thanks,

-- Brian
[EVO 4G Android Development] jaxtripp:
Getting the same error myself under Ubuntu and Windows. I've tried every driver known under windows to no avail.
[EVO 4G Android Development] runningnak3d:
Well, that pretty much seals the deal then. If you have tried under Linux, then that rules out the USB driver and only leaves the fact that it has to be something different about our phones.

So, what is different?

At this point I am about ready to search for some vulnerability in Flash 10.1 that could be used as an attack vector for rooting. This should not be this hard.

-- Brian
[EVO 4G Android Development] jaxtripp:
Yes, I have been working on this almost exclusively under Linux, I only tried windows just to change it up and see if that would make a difference, it did not. I will keep at it and will definitely keep u posted on any positive results. Good luck.
[EVO 4G Android Development] mastercolin:
My phone currently works fine. I tried to use Unrecoked 3.21 in the beginning on Nov when I got the phone. Will I be ****ed if i use your guide? I live in Chicago so I kinda want to keep my 4G
[EVO 4G Android Development] zikronix:
Are you using the adb that came with the main zip? The redtriange is correct. your just having issues pushing the files you might have bad blocks. i would personally use the unrevoked hboot drivers. you can get them from their website

if your rooted then why would you use my guide ? you may already be hosed...i have no idea...however my guide should not cause any issues
[EVO 4G Android Development] poppyseth:
drivers

I appreciate everyones comments and hard work to this point... you guys are great. Anyways I have a bit of confusion about what drivers I need to have installed. Do I need these:http://unrevoked.com/rootwiki/doku.php/public/windows_hboot_driver_install and the Android SDK or is everything included in zikronix's download?

I have the SDK downloaded from my Hero root and also Sync installed from the Hero root... what would you guys recommend, or should I just go for it?

Thanks again for all the help!!

EDIT: I think you just answered my question in the above post... should I uninstall Sync then?
[EVO 4G Android Development] zikronix:
works for some...idk
[EVO 4G Android Development] dynamicpda:
i second ageesm, thanks to amaomare and zikronix for their hard work.

i'm trying to understand the steps before i do anything lest i brick or f-up the phone.

in step 20, we have the option of flashing a new radio, PRI, wimax, etc. my phone came with 3.330.651.2 PRI 1.77_003 and Baseband 2.15.00.09.01

I assume these are the most recent versions.

do the steps BEFORE 20, revert this software to older versions? or if i already have the latest, will i still have the latest if i don't do step 20?

if i DO follow step 20, does flashing the WIMAX partition keep the keys? I already have keys since I am using WIMAX successfully. i dont want to lose them. and prior to step 20, no backup has been done yet.
[EVO 4G Android Development] zikronix:
in my experience yes....that zip is cauklins zip with just the additions of a recovery.

it is your risk if you want to flash it....but yes they are the latest versions from his zip
[EVO 4G Android Development] TheNexxuvas:
Ug this is retarded I seriously need to have my hacking/head examined for this.

I got a ton to actually work using the manual options, then of course get fubared at the end.

adb-windows push files / = 'adb-windows' is not recognized as an internal or external command, operable program or batch file.

adb-windows shell busybox --install /sbin = 'adb-windows' is not recognized as an internal or external command, operable program or batch file.

adb-windows shell nohup /sbin/recovery & = 'adb-windows' is not recognized as an internal or external command, operable program or batch file.

Same thing all 3, now I left the phone in recovery mode, next step is for me to pull the battery on this thing and say screw it and take my chances unless someone knows what step I should try next.
[EVO 4G Android Development] zikronix:
try adb-windows.exe
[EVO 4G Android Development] dynamicpda:
hey, I'm doing this on a linux box, I can convert the adb-windows.exe whatever to adb and have the script work?
[EVO 4G Android Development] zikronix:
no idea...i didnt build it for linux
[EVO 4G Android Development] dynamicpda:
OK it's optional.

once I reach the point before 20, I'm rooted and set.

i should be able to boot the phone and see what software versions i am running.

then i can flash my choice of recovery rom. (my preference is AMON_RA.) then do a backup and then flash the radios, etc.

Correct? Thanks.
[EVO 4G Android Development] zikronix:
yes...I also perfer amon....howeveri had that recovery just chillin here...so
[EVO 4G Android Development] TheNexxuvas:
'adb-windows.exe' is not recognized as an internal or external command, operable program or batch file.

Sorry, bro, not trying to make this a tough one, but I guess they sent me the hard one considering I'm a Sprint Tech, figured I needed a challenge while on my vacation, lol
[EVO 4G Android Development] dynamicpda:
try "adb push" instead of "adb-windows push"
[EVO 4G Android Development] zikronix:
yea maybe you have the old version of the manual update.
[EVO 4G Android Development] TheNexxuvas:
Dude that totally worked, your last .zip I DL'd. S-OFF has been achieved, THANKS so friggin g much.

So, next would be loading Ra recovery and then a rom of my choice correct? Or do I need to unlock the nand next? Confused as to how rooted this puts me. Thanks.
[EVO 4G Android Development] zikronix:
load a recovery and then a rom...you could also do step 20 which will give you a recovery.
[EVO 4G Android Development] zikronix:
added some extras to the first post
[EVO 4G Android Development] phonetec:
doing method 2, i get shell root, close super one click, says it pushing the files , then i get "error device not found"

so on method 3, i get shell root in super one click, in cmd i type adb shell and i get error device not found
[EVO 4G Android Development] zikronix:
using windows....are you sure you have the drivers for your phone installed...ive used the htc sync drivers and the unrevoked drivers with out issue. your doing this inside the stock rom? do you have usb debugging on ?
[EVO 4G Android Development] zikronix:
its gotta be a driver problem

Try this

http://dl.google.com/android/android_usb_windows.zip after downloading this when you go to update your driver in device manager make sure to use this. Hopefully this will help.
[EVO 4G Android Development] vinny0015:
can someone help me i cant get any of them to work at all im running htc evo with the 3.29.651.5 build andriod 2.2
[EVO 4G Android Development] Noxious Ninja:
What errors are you getting?

If you have 3.29 you should be able to just use Unrevoked 3.21. Have you tried that?
[EVO 4G Android Development] vinny0015:
yeah when i try unrevoked in getting error:could't find misc
[EVO 4G Android Development] poppyseth:
Alright... thanks man. What the worst that could happen? ;)
[EVO 4G Android Development] J Piddy:
Ok so I am getting the same thing. If I right click to open the ADB.exe the prompt comes up and just scrolls through some lines of text then closes. I can Shift click the whole 71 folder and open up adb that way but I am not sure if that is right. Any idea?
[EVO 4G Android Development] xHausx:
your windows drivers wont have any effect on that, it's all on your phone at the point. Have you tried checking the permissions for sh? If those are wrong it could cause that
[EVO 4G Android Development] denmar:
Followed this last night with my new 003 and it worked like a champ.
[EVO 4G Android Development] bearcats:
Will you please help me?

Let me start by saying you guide is by far the best I found and the easiest to follow. Great Job!!!

To the best of my knowledge I think I followed the guide to the tee....well that is until I got to steps:

Now pay attention. It might kick you back into the boot loader. If It does see 12A if not Go to step 12B

My phone never went to the boot loader or anything. Im just stuck at the "HTC EVO 4G" screen. Can you please help me out? I dont know what to do from here. Have I bricked it for good some how?
[EVO 4G Android Development] zikronix:
thats is correct...it could also be the adb version

we did try the chmod on sh and got the same errors
[EVO 4G Android Development] J Piddy:
Any one have any ideas?
[EVO 4G Android Development] zikronix:
the instructions say to open a command window and type the commands listed....this is not a double click solution.
[EVO 4G Android Development] J Piddy:
OK I did the samething I have been doing but this time it worked, I am trying now. Thanks again.
[EVO 4G Android Development] zikronix:
working with jax right now to see if we can solve that recovery issue
[EVO 4G Android Development] jdbell2004:
Anyone running fresh 3.4 able to overclock? Is there a kernel that works with this hardware that will allow overclock?
[EVO 4G Android Development] zikronix:
so im guessing step 11 completed. ?

and you flashed un revoked.

if thats the case pull the battery and power on with vol down to get into the boot loader and proceed
[EVO 4G Android Development] kamasi36:
http://www.thedroiddemos.com/2010/08/27/how-to-root-the-htc-evo-4g-with-froyo-2-2-video-walkthrough/

http://xdaforums.com/showpost.php?p=7848188&postcount=1

I have hardware version 0004 (not 004) and the above method is what I used going from stock Froyo to rooted 2.1. Once I got there I got did the ENG spl thing and got HBOOT .76.2000. I then upgraded to 2.2 from there. I have had zero problems using Clockwork recovery through rom manager and same using Amon Ra. I presently have 4 nadroid backups using clockwork: Fresh, Myn, MIUI, And CM 6.0. Maybe I am just one of the lucky batches. I skipped unrevoked 3 method and got s-off using Toast. I have heard people having problems with any later versions of HBOOT. As far as I know the HBOOT I currently have allows you to flash anything. The later versions don't. In addition, my camera works fine. Ziggy kernel 11/13 is the best for sense (my experience) and snap 7.5 for MIUI and Snap turbo 7.6 for CM 6.0.

Hope this helps somebody with same hardware version as myself. Got my EVO ) Oct. 27th. Good luck.