yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] krymsyntree:
i am getting this same problem, when my phone reboot into bootloader it looked for that file pc36img found it, tried to load it but said that it was wrong img or something to that affect. it did not give me the option to update with that file. it will not load a recovery img, it continues to stay with the red triangle when trying to go into recovery, and step 10 will not process.
[EVO 4G Android Development] a1hildeb:
I'm basically at a serious road block. I've tried doing it through my desktop and can't get #, then I have to reboot and start over so I get no where. If i try the steps using the emulator it says it cant find the rageagainstthecage file even though i pushed it onto SDcard in the previous steps. From here I have run out of ideas.
[EVO 4G Android Development] illogos:
It sounds like you haven't done step 7 correctly. What happened when you did the

./data/flash_image misc /sdcard/mtd-eng.img also try that part without the . I guess and do /data/flash_image misc /sdcard/mtd-eng.img
[EVO 4G Android Development] illogos:
Without the proper engineering build flashed, you cannot connect to adb in recovery. It's a security feature of the release version system.

Retry up through step 7 and tell me what it says at step 7 when you flash the mtd-eng to your misc partition.
[EVO 4G Android Development] illogos:
Something I would like tested by you all using terminal emulator version for 2.10:

Change this part of step 3:

adb push root/flash_image /data/local/

to

adb push root/flash_image /sdcard/

Change step 7:

Make sure you have a # in your terminal. If you do not have #, then try typing the word su and press enter. If that does not give you a # then rage exploit did not work. Start over and try again.

cat /sdcard/flash_image > /data/flash_image

chmod 755 /data/flash_image

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

Now power off your phone and keep the volume down button held down while powering on to enter bootloader. See if it will then scan the PC36IMG.zip file and let you run the update.
[EVO 4G Android Development] krymsyntree:
yeah that didnt work either, here is a copy of what i do:

C:\tree>adb push root/unrevoked-forever.zip /sdcard/

1394 KB/s (223144 bytes in 0.156s)

C:\tree>adb push root/mtd-eng.img /sdcard/

1137 KB/s (655360 bytes in 0.562s)

C:\tree>adb push pc36img/PC36IMG-ENG.zip /sdcard/PC36IMG.zip

1303 KB/s (179274182 bytes in 134.359s)

C:\tree>adb push pc36img/PC36IMG-MR.zip /sdcard/PC36IMG-MR.zip

1270 KB/s (240570812 bytes in 184.984s)

C:\tree>adb push root/flash_image /data/local/

817 KB/s (26172 bytes in 0.031s)

C:\tree>adb push root/rageagainstthecage /data/local/tmp

112 KB/s (5392 bytes in 0.046s)

C:\tree>

C:\tree>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

$ $

./data/local/tmp/rageagainstthecage

$

./data/local/tmp/rageagainstthecage

$ [*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C

[*] checking NPROC limit ...

[+] RLIMIT_NPROC={3316, 3316}

[*] Searching for adb ...

[+] Found adb as PID 78

[*] Spawning children. Dont type anything and wait for reset!

[*]

[*] If you like what we are doing you can send us PayPal money to

[*] 7-4-3-C@web.de so we can compensate time, effort and HW costs.

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

[*] we also accept donations > 1000 USD!

[*]

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

$ $

C:\tree>adb shell

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

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

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

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

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

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

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

# sync

sync

# reboot bootloader

reboot bootloader

once my phone boots into the bootloader, it still says that pc36img.zip "wrong zip image"

then kicks back to the bootloader, and i can't go any futher.....step 10 will not process because it says my device is offline
[EVO 4G Android Development] illogos:
Take whatever data you need off your SD card and store it on your computer. Then reformat the sdcard.

Menu -> Settings -> SD & Phone Storage

Unmount SD Card

Format SD Card

Try starting over from step 1.
[EVO 4G Android Development] krymsyntree:
ok trying that now thanks for your help btw
[EVO 4G Android Development] illogos:
Back in 30. Lunch time.
[EVO 4G Android Development] turboll:
is there a walk hru video i cant get it in the first step i get an error says "cannot stat root unrevoked forever zip no such file or direcctory" what is that
[EVO 4G Android Development] illogos:
Open your C: drive. Create a new folder and name it hboot. Extract the contents of hboot_202_210_soff-V81.zip into the hboot folder. You should now have folders named root, recovery, pc36img, etc and files named adb.exe etc in c:\hboot. If all you have is a folder inside c:\hboot you need to move all the files from that subfolder into c:\hboot.

Goto start button, click run, type cmd.exe to open command prompt.

Type into the command prompt: cd c:\hboot

Now try step 3 again.
[EVO 4G Android Development] krymsyntree:
ok i formated and that worked, went through step 1 and proceeded, bootloaded installed the pc36img this time without a problem, when i vol down to go to recovery, the phone trys to boot into recovery, i am stuck on a white htc screen and my computer is trying to install a qualcomm cdma technologies msm driver, and of course it cannot fine these drivers. so not sure when i can get that
[EVO 4G Android Development] illogos:
In your command prompt type adb devies Does it list your device? If it does then you can try to push recovery over as in the guide.

Download the latest htc sync from http://www.htc.com/us/support/evo-sprint/downloads/ and install it on your computer. Then unplug your phone usb and plug it back in. See if the driver loads for it now.

Try adb devices again.

If that does not work, then follow these instructions for the unrevoked hboot drivers http://unrevoked.com/rootwiki/doku.php/public/windows_hboot_driver_install

Try adb devices again.

If that fails, then pull the battery. Put battery back in. Hold down volume down while power on. You are back to hboot. Repeat the update from PC36IMG.zip(this is the one you made using PC36IMG-ENG.zip right? It can't be the -MR zip). After update is done again, try recovery again.
[EVO 4G Android Development] AviationAtom:
Make sure that you phone is listed in hardware manager as using the original HTC driver, not the modified driver.
[EVO 4G Android Development] a1hildeb:
"It sounds like you haven't done step 7 correctly. What happened when you did the

./data/flash_image misc /sdcard/mtd-eng.img also try that part without the . I guess and do /data/flash_image misc /sdcard/mtd-eng.img"

....umm wow all those issues i was having and taking out . worked for me. that's terrible but ok whatever it worked!....thanks!
[EVO 4G Android Development] a1hildeb:
lol now when i run the command ./data/local/flash_image misc /sdcard/mtd-eng.img it gives me a bunch of write errors (out of memory) No space left on device. WTH? my device nor my sdcard should be full. only thing i put on it was the files and a back up from my backup pro. do i need to format the SD card? If so, i realize i won't have my back up files anymore....will rooting erase everything on my device as well? I can't remember which rooting process does what
[EVO 4G Android Development] krymsyntree:
THANK goodness, that finally worked......and was able to get s-on back which was my goal....... thank you sooooo much for your help.......now i can take this thing back to sprint.........
[EVO 4G Android Development] illogos:
You were S-OFF? We could have done this a whole lot easier if I had known that.

S-OFF just needed to download the recovery zip from OP, load to root directory on SD card renamed as PC36IMG.zip and let the Bootloader flash it. That would have gotten you back into Amon RA 1.8.0 where you could flash the S-ON zip and run RUU.
[EVO 4G Android Development] illogos:
This root process wipes all phone data, but will leave your SD card contents.

At the very least try doing a factory reset on your phone and rerun the process. If that doesn't work you can try formatting the SD card.
[EVO 4G Android Development] dhMassacre:
Anyone with the new radio, don't try what is on the first page with RUUing first...it doesn't work, and won't ever work until unrevoked supports the new radio.
[EVO 4G Android Development] devonparrish:
Are you sure? I had my old evo replaced and my new one has all the updated stuff. So I cant reroot until unrevoked comes around? I'd probably feel safer doing it that way anyways haha
[EVO 4G Android Development] dhMassacre:
This guide works up until you get to the unrevoked forever part, because the current version of forever doesn't support the newest radio.

If you don't have the newest radio, this guide works, and isn't even hard...

But without the working unrevoked forever flash, you don't get S-OFF, and can't flash rooted roms, so it doesn't work.
[EVO 4G Android Development] zikronix:
worked for more than one person....just fyi
[EVO 4G Android Development] illogos:
It's a tricky business to be honest regarding the new HBOOT. There is a warning on the front page saying that it won't work for now.

However, the way this process works is that you first flash a hacked misc partition that lies about what version software the phone is using. Why you might ask? Because the Bootloader will not allow you to downgrade your software/radio/etc. You are allowed to flash this because you use an exploit, rageagainstthecage, which grants you temporary root on the phone.

Once you flash that hacked partition, this is the mtd-eng.img, you can have the bootloader flash the first PC36IMG.zip, which is the pre-release ENGINEERING build of the software. This is supposed to flash your radio and other system versions to an older version that is supported by unrevoked forever. This engineering build and radio allow you to boot a recovery image that lets you flash the unsigned unrevoked_forever.zip system modification that turns S-OFF. The real reason you need this engineering build is to enable the device adb interface in recovery mode(red triangle screen) so it can have the custom recovery pushed over and run.

I would be interested to see exactly what messages are being returned to people trying to root the new version after every single command typed throughout the process. Also interested to see what the update status for each line item is when the bootloader flashes the PC36IMG.zip file.
[EVO 4G Android Development] illogos:
To clarify what my last post is trying to say....

I think the process should work on the latest version, and does work, but that some people are doing steps wrong or getting errors and not realizing it. So, it's not properly downgrading to allow unrevoked to run in some cases.
[EVO 4G Android Development] dhMassacre:
Well when I flash the first PC36IMG it gives me an error when updating the radio, the rest works good.

So it won't downgrade my radio, and I've followed the steps to the T and tried a few times, running the RUU before each one.

EDIT: Would anyone like to teamviewer me as I do it?
[EVO 4G Android Development] devonparrish:
Hmm okay I understand. I have the newest versions of everthing, (3.70, hboot 2.10, 2.15.00.11.19 radio) so I'm pretty screwed until unrevoked or another surefire way comes out to root without all the risk. Oh well, I'm terrified of bricking so I dont mind waiting XD
[EVO 4G Android Development] forum_user_99:
Quick Newbie Question

zikronix

Thanks for the great work. Before I attempt this, I wanted to confirm that this process works for the latest update.

My details

HW - HTC EVO 4G

version 0004

SW 3.70.651.1

HD Boot 2.10.0001

Base Band - 2.15.00.11.19

Kernel - 2.6.31.17-gee557fd

Android Version 2.2

PRI Version 1.90_003

PRL 60672

I read your 1st post and warning about radio. I am confused slightly. Does it mean that I should try this as my radio version is same as in the warning. Or is there another substep I need to do somewhere.

I know you have answered these questions patiently several times. Just one more time to help a newbie.

I really appreciate your time and help.
[EVO 4G Android Development] illogos:
Did you get any problems flashing the mtd_eng.img?

One other thing to try is using the 3.30 RUU after flashing mtd_eng.img to see if it will downgrade to that radio. Only try this is your phone came with 3.30(HW0004 and a few HW003 or you phone came with hboot 2.02). If you can get your phone back to stock 3.30 with the stock radio/hboot from 3.30 you stand a chance of rooting. Otherwise you need to wait for a new method.
[EVO 4G Android Development] illogos:
HBOOT 2.10 w/ your radio is having a hard time rooting. It may or may not root. If you do try it, please let us know what it says after every command and what the status of each line in the flash says.
[EVO 4G Android Development] Testrunner:
Script

I wonder if anyone has created a .bat file to automate the pushing of the files. Does anyone have experience in doing this? Is it possible? I will try and make my own I guess but dont really know how.

It seems like all I would need to put in the .bat file was....

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

adb push root/flash_image /data/local/

adb push root/rageagainstthecage /data/local/tmp

Would that work?
[EVO 4G Android Development] forum_user_99:
Thanks

Thanks for the quick reply. I love my EVO too much to brick it. I am still debating .......

Will let u know if I ended up trying.
[EVO 4G Android Development] illogos:
Calkulin's thread mentions that you need S-OFF next to wimax, nv, pri, and hboot in order to flash these.

However, there is no disclaimer next to radio. Anyone know if you can downgrade a radio with S-ON safely? It would be a risk, and you might brick your phone, but I know we can get an hboot 2.10 phone to custom recoery. It's just the s-off patch that fails from radio version. You can try downgrading the radio by flashing it... but it's an at your own risk thing. Safer to wait.
[EVO 4G Android Development] epicroot:
pm calk and ask him
[EVO 4G Android Development] turboll:
my friend it did work up to step 10 and intead of a red triangle a white screen came up then i jumped into step 12c and did as directed everything went well the phone rebooted into the rom then i put the rom i want into the rom so i went to step 13 and it gave me an error sayin adb shell mv /sdcard/PC36IMG.zip /sdcard/PC36IMG-MR.zip no such file or directory so whats next do i go back to step 10? thankz for your help! by the way the rom it loaded its a 2.1 build # 1.17 and hboot 2.02
[EVO 4G Android Development] turboll:
or can i use unrevoked?
[EVO 4G Android Development] epicroot:
step 9 after it checks pci36.img it says main version is older update fail...
[EVO 4G Android Development] illogos:
That means step 7 failed. Mtg-eng.img needs to flash correctly to trick your phone into thinking pcimg36.img is newer.
[EVO 4G Android Development] illogos:
Power off. Hold volume down while you power on. Select recovery from bootloaser menu. You should get red triangle. Resume at step 10. You must do all steps.
[EVO 4G Android Development] a1hildeb:
well i rebooted my phone to do just that factory reset it and after it did an hboot it started applying some update now i cant get past the white htc boot up screen.....
[EVO 4G Android Development] illogos:
Get the official ruu executive file for 3.30 or 3.70 and run it on your computer with phone connectes. Might need to hold volume up while you power on to trigger ruu.basically you want to follow directions from the unrvuoot guide. This will restore you to factory.
[EVO 4G Android Development] epicroot:
retryd the whole process again now i cant get adb to show #'s for nothing on step 6.... havnt changed anything on the pc even reloaded the unrevoked modified driver......

anyways heres my setup im doing...

i have radio version 2.15 and hboot 2.10 (replacement phone came with this) ... i flashed the full 3.70 ruu as per pm you recieved from the guy saying it worked for him. ( just to try and see if it makes a difference it did notb still recieve $ on step 6 in adb shell)

adb debugging is on sd card is not mounted i can push all the files to phone no problem

downloaded android terminal emulator

ran rageagainstthecage exploit

says it forked 3007 or something like that childs

pressed enter

typed ps then enter

says can not fork

made termienal emulator fc

reop[ened has # in terminal

so now im on step 6

go into cmd run adb shell

i just get $

ive retryd this 5 or 6 times now

should i try the sdk driver this time instead of the unrevoked driver?

htc sync is not installed ive tryd 2 different cables both that i can confirm works for the rooting process before i recieved my replacement phone.

kinda lost and frustrated been at this for about 4 hrs now....

any insight or help on this would make my night ty...
[EVO 4G Android Development] a1hildeb:
I have an SD adapter plugged into my computer...should i format my SD card while im at it?
[EVO 4G Android Development] zikronix:
the people with the radio problem...im sorry that you had issues...this has worked for most. I still dont undertstand how you got to that point.
[EVO 4G Android Development] timetraveler:
mine says s-off at the top since i had used unrevoked

and not at the hboot2.02-0000 line

is this how it should read ??

hboot2.02-s-off

mine says

hboot2.02.0000

but has s-off at the very top
[EVO 4G Android Development] kc_sheets:
mine also says s-off at the top

now for the others getting the radio failure i put one of these renamed to pc36img on my sd card and it worked and i was able to restore my phone and have root but unable to flash a rom getting another error

at least i think this is what i used lol so many things i know for a fact i ended up using this becuase the exe things wouldnt work.

http://xdaforums.com/showthread.php?t=791019
[EVO 4G Android Development] twin001:
Did this last night, worked perfectly on my new 0003 Evo (replacement for 0001 model). I do notice that custom kernals break the camera. As long as you use a ROM that uses the stock HTC kernal you will be fine. Hopefully a kernal fix will be available that allows the new camera module to work.
[EVO 4G Android Development] Noxious Ninja:
OT, but... there was an 0001? I've only heard of 2, 3, and now 4. When did you buy it?
[EVO 4G Android Development] nathanotis:
Ok, I'm getting hung up somewhere... here's where I am...

I get through step 14 alright, but the Evo hangs on reboot. Its sitting on the white load screen saying, "htc evo 4g". Prior to my current attempt, I perfcormed step 14, then rebooted and saw the red triangle from step 16. I pushed those files, rebooted and flashed unrevoked, rebooted to the white screen I'm. Stuck on now...

So what sould I try now?

Thanks.
[EVO 4G Android Development] zikronix:
check post 154 i think it was...in this thread
[EVO 4G Android Development] mikeb1616:
Issue

I'm sorry I am pretty new to rooting. In step 12 when we are changing permissions should it say anything after I enter the prompts? Its all gone fine up to this point I just dont want to flash PC36IMG if it hasnt worked yet.
[EVO 4G Android Development] zikronix:
wont say anything
[EVO 4G Android Development] mikeb1616:
ok thanks. I assumed since the other ones said something it would but I will continue. Thank you.
[EVO 4G Android Development] prdstm0nke:
ok, i feel stupid. i've done adb stuff before, but it was a year ago and i can't remember too much.

i've extracted the first zip, run the superoneclick.exe through cmd and have temporary root, verified by typing 'adb shell'

the next step - adb push common/unrevoked-forever.zip /sdcard/

is giving me the error : 'failed to copy 'common/unrevoked-forever.zip' to '/sdcard/unrevoked-forever.zip' : permission denied.

wth am i doing wrong?
[EVO 4G Android Development] mikeb1616:
Last question...i hope

I am at step 15 where we need to reboot into recovery and when i type in the command adb shell mv /sdcard/PC36IMG.zip /sdcard/PC36IMG-root.zip it tells me error: Device not found. Any ideas what I can do?
[EVO 4G Android Development] zikronix:
do you actually have an sd card in the phone...is your phone set to charge only or did it automount the sdcard?
[EVO 4G Android Development] zikronix:
check your drivers...check your cable, reboot your pc, after you flashed did you let the phone reboot into the rom...
[EVO 4G Android Development] funnyrocket:
2.02 Fail-PU

I followed the steps the other night and was able to root that evo, with the exact same HBOOT and radio as the one that's getting the Fail-PU error. I have searched hi and low. Is there anything that I can do to fix this?
[EVO 4G Android Development] kc_sheets:
look at my last post dl that pc361mg and it will work and you shoudl have root but the only problem i am having is it not letting me install roms. does anyone have a answer for that
[EVO 4G Android Development] takeheart:
Just got a replacement Evo today, and am eager to re-root it. A little confused by the original post though; at the point where you say to push the PC36IMG and whatnot, and that it is quite large, which PC36IMG are you using? The PC36IMG-recovery_ra.zip is only ~4 MB, whereas I'm used to seeing one closer to 140 mb.

Edit: I see now that the hboot202-s_off zip file is 194 mb, and will assume the PC36 referenced is contained here. Sorry for the silly question. Will report back shortly
[EVO 4G Android Development] zikronix:
yes thats right
[EVO 4G Android Development] twin001:
It may have been 0002, I forget. I bought it on launch day.
[EVO 4G Android Development] GrooGruxJ:
I have run into the same problem as you. I got an evo last Tuesday that let me update the s switch and then got another on Friday that did not allow me to update the s switch. The only difference in phones from what i can see is that the one that worked has baseband version 2.15.00.07.28 and the second phone has 2.15.00.09.01. not sure if that means anything.

if your phone no longer boots and shows the red triangle symbol you have to reload the stock rom using this method

tp://xdaforums.com/showthread.php?t=831915
[EVO 4G Android Development] illogos:
Try the ruu zip file named as pc36img.zip through bootloader first. If it has trouble being seen then format and try again.
[EVO 4G Android Development] dhMassacre:
can someone who successfully did this with the new radio and hboot 2.10 please watch me on teamviewer and tell me what im doing wrong :(
[EVO 4G Android Development] epicroot:
ha me and you both buddy where you running into a problem at'
[EVO 4G Android Development] a1hildeb:
waiting for battery to charge and then i'll let you know how it goes

PS you are talking RUU_SuperSonic_S_Sprint_WWE_3.30.651.3_Radio_2.15.00.09.01_NV_1.77_003_release_157088_signed.exe correct?......

ok back in business...thanks....ill try starting from step one now and see how it goes.
[EVO 4G Android Development] andnad:
My Evo has hboot 10 and radio 2.15 and this has not worked. I tried what the guy in the pm said, I flashed the RUU and everything. I can get everything up until step 6. I push the files and can run the exploit but when i go back to cmd on my computer i only get the $. I tried reinstalling drivers, factory reset, restarting everything and nothing. I'm not sure what goes wrong in the process but I can't get the #. I would appreciate if someone could make the prerooting more clear, like what to load and do. As well as the first few steps.
[EVO 4G Android Development] dhMassacre:
the # will only show on the phone...you dont need it on the computer. you just need it to run that one command.

but for me, when i flash the first pc36img it doesnt downgrade the radios, it fails...

it says like fail-pu or something.

so yeah, unrevoked wont s-off because of that.