yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] rhunt56:
I have hardware 0003

software 1.47.651.1

pri 1.40_003

prl 60667

and cannot get past Part 2 is scanning.

Yes I did Part 1 twice and did the command to Reboot and deleted all of the folders on the sdcard and copied the hack files to the sdcard again and repeatedly cycled the command until it went from device not found to Part 2 is scanning and it won't go past it.

I have been doing this for 2 hours now with no change.

I am hitting the command right at the moment of usb connection detected with a beep bump and even tried to do the command a half second after the connection detected and no difference.
[EVO 4G Android Development] Rippley05:
Used the one on page 28 here and used the one posted by someone on page 44, PPCgeeks

nomatter what I do I get an error saying sdcard/part1/ cannot create/data-app-cache/.com.android.browser/BEC48C17295CAF blah blah

/foo:directory nonexistent

They had to have blocked this somehow ,I have completely wiped my phone over and over and the SDcard jus got formatted
[EVO 4G Android Development] verse187:
Thank You who ever made this root method for the new ota update I back rooted yes! !!
[EVO 4G Android Development] Rippley05:
used both of those, and nothing
[EVO 4G Android Development] Mudkip:
part two will not work for me no matter how many times i start from square 1
[EVO 4G Android Development] Karl:
try this one see its any different

http://forum.ppcgeeks.com/showpost.php?p=1853598&postcount=792
[EVO 4G Android Development] mac_evo:
Great work.

Successfully rooted and upgraded to latest ota rooted ROM. Updated radio with no problem. Can someone let me know how to confirm the wimax update is correct? Where is that version displayed?
[EVO 4G Android Development] Rippley05:
lol thats the other one i was talking about in the post you quoted =p

it just wont work on all evos, there are enough people in here unable to do it, I guess some evos just cant get root this way
[EVO 4G Android Development] Karl:
you sure your on the new OTA?
[EVO 4G Android Development] Mudkip:
software version 1.47.651.1
[EVO 4G Android Development] Karl:
Maybe your right
[EVO 4G Android Development] Karl:
ok you on new OTA

do you get $ or # symbol?
[EVO 4G Android Development] Mudkip:
$ symbol :confused:
[EVO 4G Android Development] SharkUW:
OK, so here's my current test script that's going to later get integrated into a better few click wonder app I'm working with another guy on. The instructions and prerequisites for this to work are fairly straight forward.

Prerequisites (follow in order):

Reboot your phone and do a factory reset.

Open the stock browser.

Shutdown the phone (not restart, off, then on)

ADB functional. You should be able to "adb shell" (confirming adb is working, exit shell if you're in it)

Extract the zip and place all files into the SAME folder as adb.exe. I have not included the appropriate PC36IMG.zip. Get it here. Leave the name as "eng-PC36IMG.zip". http://xdaforums.com/showthread.php?t=701835

Place that in the same directory as well.

Open a command prompt. (do this first so you can copy/paste if needed for debuging)

Run "root.bat" (it's one of the files you places alongside adb.exe in your tools folder)

If it hangs for more than 30 seconds with the browser ****, CTRL+C, yes to kill the bat and just run it again.

Follow the directions in my half ass'd echo statements. Your phone is going to reboot. It is then going to do a little **** and reboot into the boot loader. Select "bootloader" with the power button. Flash that ****.

The .bat is now done. You have root. We now need a custom recovery to flash a proper ROM beyond the scope of this guide. Now take the last step and flash the recovery.img that will already be on the root of your sdcard.

To do this, after the PC36IMG flash:

adb shell
cat /sdcard/flash_image > /data/flash_image
chmod 755 /data/flash_image
/data/flash_image recovery /sdcard/recovery.img

If you're all advancedy you can put on a different recovery image.

IMPORTANT If you get a message here about "not writing bad block", flash it again until you get 0 errors. I don't know how common it is, but personally my recovery has issues with flashing. Do NOT let that be a bad flash.

I have tested this on my own phone and only my own phone. I don't see a reason why it wouldn't work, but at your own risk for anything.

Please let me know of any problems and please make sure you've followed the directions.
[EVO 4G Android Development] Karl:
Its kinda like using step 2 on simple root
[EVO 4G Android Development] chandlerw88:
i keep getting cant open sd card part 1 in cmd prompt

edit. nm cant read
[EVO 4G Android Development] Rippley05:
So has anyone figured out if this will be messed up if the page gets taken down? I can't do the root tonight but it would such if its gone tomorrow
[EVO 4G Android Development] enormous:
You need to remember (and it should be added to instructions) to set your device to "Charge Only". If it is still set to "Disk Drive" then your sdcard is already mounted and cannot be read.

EDIT: if you can ninja edit, so can I!! ;)
[EVO 4G Android Development] SharkUW:
It would be nice to know the details of what's being exploited. Worst case this could be mirrored by redirecting the domain somewhere else assuming the exploit can use wifi for that fun manipulation.
[EVO 4G Android Development] zikronix:
permanant mirror for the files

Here

im working on capturing the site...and rehosting give me a few
[EVO 4G Android Development] jjvcuyler:
I can't yet post links, but I've mirrored the file here:

http_colon_slash_slash unixgeeks.biz/android/hackfiles.zip

Feel free to add it to the first post.
[EVO 4G Android Development] chandlerw88:
its not asking me to refresh, should i just refresh any
[EVO 4G Android Development] Tundricles:
Anyone know if this method breaks 4g,cameras or anything else yet? Also can I use the simple root method to unlock nand instead of toasts?
[EVO 4G Android Development] markdt098:
Yeah I keep having issues with the webpage part too...do you think Adobe blocked it already?
[EVO 4G Android Development] SharkUW:
Odd, I haven't tested it, but try this. First ensure that plugins and everything is enabled for flash and js in the settings. If it was off, try again. If it was not, put "about:debug" (w/o quotes) in the address bar, no http or any of that and go back into settings. Scroll down and change the UA string to "desktop" and try again.
[EVO 4G Android Development] snoonan:
Almost there...

Hi guys,

I'm almost there. I finished step 8 and got:

8. It should print after part2 finished:

Code:

crw-rw-rw- root root 90, 2 2010-07-05 19:37 mtd1

However, I'm not quite sure how to accomplish step #9:

9. When your phone finished booting, flash toastcfh's mtd-eng.img to misc:

Code:

cat /sdcard/flash_image > /data/flash_image

chmod 755 /data/flash_image

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

I assume that the "cat /sdcard/flash_image > /data/flash_image" should be ran from within an ADB shell? I tried but got:

Code:

$ cat /sdcard/flash_image > /data/flash_image

cat /sdcard/flash_image > /data/flash_image

cannot create /data/flash_image: permission denied

$

Would someone be kind enough to point out what newbie mistake I made and how to proceed?

Thanks so much in advance,

--

Sean.
[EVO 4G Android Development] kthejoker20:
Mount the sd card from adb
[EVO 4G Android Development] enormous:
Should be

cat /sdcard/flash_image > /data/local/flash_image
chmod 755 /data/local/flash_image
/data/local/flash_image misc /sdcard/mtd-eng.img

no?
[EVO 4G Android Development] seankent4uf:
Yes, go into adb shell first, then try typing "su" without quotes. If you get to "#" (root) you are money! From there:

- Type "mount" and press Enter.

- Look for a line that includes the word /system. On that line, look at the part that says /dev/block/mtdblockN, where N is a digit. That is the partition that your system lives on.

- Type "mount -o remount,rw -t yaffs2 /dev/block/mtdblockN /system", substituting the digit you saw in the previous step for N.

- Now your system is mounted read/write and you can make changes. You should now be able to repeat step 9.
[EVO 4G Android Development] shawnathan9:
That didn't work.

I went to the address bar and typed " about:debug " pressed menu and navigated to the settings. Scrolled to the bottom and selected " UA " and changed to desktop.

I typed in the address and tried again. - Same page "macromedia.com/support......

message "This content requires Flash".

For the guy who got to step 8, what did that page look like to you? - I checked it on my desktop browser and it says its a broken URL.
[EVO 4G Android Development] -shift-:
i can't even get past the refresh the page and reboot your phone using adb reboot. am i going to be prompted to refresh the page?.. is there something i'm missing?
[EVO 4G Android Development] ricksakuma:
Same here couldn't get the website to refresh any ideas?
[EVO 4G Android Development] snoonan:
Yep, /data/local/, not /data/. But I cut-n-pasted, so orignal was like that. Easy enough. Thanks!
[EVO 4G Android Development] :
Same here. Are we to be prompted when to refresh the page?

I've repeated the process about 5 times, thinking I'm missing something...
[EVO 4G Android Development] :
I got it working by clicking thru flash games... Google 'flash games' and click on the first one you find
[EVO 4G Android Development] dallastx:
Is your 4g working?
[EVO 4G Android Development] Mudkip:
so far its working. got father then my try. got past step 2. looks good man ill report after its all the way done.
[EVO 4G Android Development] Karl:
mine does.. yours?
[EVO 4G Android Development] Karl:
Wait i thought you were stuck on scanning?
[EVO 4G Android Development] Mudkip:
i ran that guys bat file and it went through it like a fat kid on atkins
[EVO 4G Android Development] sopel10:
adb shell

cat /sdcard/flash_image > /data/flash_image

chmod 755 /data/flash_image

/data/flash_image recovery /sdcard/recovery.img

as for getting that "bad block" msg, how did you get it to work after that?

tried f reseting and doing everything over 3 times now, and get that msg every time
[EVO 4G Android Development] Rippley05:
I would liek to try but the instructions are kinda hard to follow?

Reboot, factory reset, open browser then shut the phone off?
[EVO 4G Android Development] Karl:
do you have #?
[EVO 4G Android Development] SharkUW:
Sorry, I'm well on my way to buzzed. Reset is to junk the cache for sure. Opening the browser is to create a needed directory, and a hard restart cause **** yeah it solves problems. That order and you're set.
[EVO 4G Android Development] Rippley05:
OK no worries, ill try it since i have been fighitng trying to get root for like 5 hours now
[EVO 4G Android Development] Mudkip:
it got the image thing on the phone. the zip file you put in the sd card. now i just need to get the recovery installed. so far this bat file is working
[EVO 4G Android Development] SharkUW:
up arrow, enter. I've never gotten the msg more than once. Failed to flash a bit isn't a particularly uncommon issue with such things, but with a manual flash it's you that need to try try try again till you get 0 errors.

What I'm saying is you don't start over, just flash till it's good. If you are getting a different sector each time....avoid flashing that **** anymore. But you're probably good as long as you have managed to tap everything once w/o error. That is to say, you don't get the same sector(s) bad every time. You'll find out soon enough when you go to flash a ROM as to whether or not it's working.
[EVO 4G Android Development] Karl:
Make sure you put this in its own thread cuz it will get lost in here
[EVO 4G Android Development] SharkUW:
But it's a nice cookie for people that RTFM. lol
[EVO 4G Android Development] sopel10:
yea, just tried it about 10 times, every time it is the same sector

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

mtd: not writing bad block at 0x00040000

error writing misc: No space left on device
[EVO 4G Android Development] Karl:
LOL .. i think most would have pulled their hair out by the time they hit your post...:D
[EVO 4G Android Development] Mudkip:
ok so i haev # is that root?
[EVO 4G Android Development] SharkUW:
Hmm, that's not good. You've got hardware issues. I'd return that if you can.
[EVO 4G Android Development] Karl:
Hmmm Yes... did you unlock nand?
[EVO 4G Android Development] Mudkip:
i have no idea i ran all the comands like it said. how can i tell
[EVO 4G Android Development] sopel10:
hmm, now just need to come up with an excuse....., dkn if "not able to root" would work
[EVO 4G Android Development] Renegadez:
Ok so to be I have this correct

(Extract the zip and place all files into the SAME folder as adb.exe. I have not included the appropriate PC36IMG.zip. Get it here. Leave the name as "eng-PC36IMG.zip")

ALL of these files go onto the hard drive of the computer in the same folder as ADB.exe none of these go on the EVO SD card???
[EVO 4G Android Development] Rippley05:
Ok I put everything in my sdk tools folder with adb.exe

rebooted, reset, opened browser, shutdown an powered up

opened command and typed Run "root.bat"

and get permission denied

I have it on charge only and USB debugging on, what am i missing
[EVO 4G Android Development] Karl:
load a rom
[EVO 4G Android Development] SharkUW:
copy pasta the output
[EVO 4G Android Development] Karl:
does it call for sync?
[EVO 4G Android Development] Mudkip:
durp. do i just put it on my sd card and boot it?.
[EVO 4G Android Development] Rippley05:
? copy n paste what its telling me?
[EVO 4G Android Development] Rippley05:
does what? i dnt see anything
[EVO 4G Android Development] SharkUW:
yes, open a command prompt first or if you still have the original open, dump the output for me. I need to know what gave the permission issue.
[EVO 4G Android Development] Karl:
put the rom you want on sdcard then

c:\evo-recovery\recovery-windows.bat

Scroll to Wipe Data, select wipe data/factory reset and then select wipe dalvik cache.

Now scroll to Apply .zip from sd card and select the ROM .zip file we saved to the sdcard and wait for it to finish flashing. Once it is done, hit reboot
[EVO 4G Android Development] SharkUW:
You missed the requirement of ADB shell working. Does it? If it does, I'd say shutdown, load it up and give another go. I'd need more specifics to debug it.
[EVO 4G Android Development] Rippley05:
I can't copy n paste it

I opened the command, put in the directory that my sdk and stuff is in, typed adb shell then type run "root.bat" and I got

run: permission denied

Then I type root.bat and got

root: permission denied
[EVO 4G Android Development] SharkUW:
30 days you can return the phone w/o exchange. If you're in that you can make just about any crap up you want :)
[EVO 4G Android Development] Karl:
you could try to flash OTA twice might brick it
[EVO 4G Android Development] SharkUW:
Oh, that works. I don't think the directions were adb shell then root.bat :P

1) make sure adb works

2) run root.bat from the tools directory
[EVO 4G Android Development] Mudkip:
where do i find the dalvik cache
[EVO 4G Android Development] Rippley05:
ok so just open the directory that my sdk tools are in and type run "root.bat" ?
[EVO 4G Android Development] Karl:
in recovery mode this way might be easier for ya

Turn off the phone, then turn it back on by holding down Volume Down and Power until the white bootloader screen comes up (Now using the volume buttons select Fastboot, then select Recovery and wait for the phone to boot into recovery mode. make sure you deleted PC36IMG.zip from sd card..
[EVO 4G Android Development] Renegadez:
Same error on your bat file

C:\Users\fred>cd c:\evo-recovery

c:\evo-recovery>adb shell

$ root.bat

root.bat

root.bat: permission denied

$ root.bat

root.bat

root.bat: permission denied

$

DOH! Sorry being a TARD this late running root.bat directly
[EVO 4G Android Development] madigan82:
Worked for me. Sure it's been gone over before but here are a few things that gave me problems.

console reports part2 scanning nonstop

-boot back into the phone normally and redo part1

PC36IMG.zip doesn't ask if you want to update

-boot back into the phone and double check the file size of the PC36IMG.zip file. Should be 179,274,182 bytes (175,073 KB). Mine wasn't the full size and of course it wouldn't load. Once it's back on the root of the sdcard, boot back into that recovery mode
[EVO 4G Android Development] Mudkip:
i dont see dalvik cache. do i need to wait. till after the restore of the device?
[EVO 4G Android Development] Rippley05:
oj i typed just root.bat without typing run and its doing something now
[EVO 4G Android Development] Karl:
Turn off the phone, then turn it back on by holding down Volume Down and Power until the white bootloader screen comes up now using the volume buttons select Fastboot, then select Recovery and wait for the phone to boot into recovery mode.

Scroll to Wipe Data, select wipe data/factory reset and then select wipe dalvik cache.

Now scroll to Apply .zip from sd card and select the ROM .zip file we saved to the sdcard and wait for it to finish flashing. Once it is done, hit reboot

you did all that?
[EVO 4G Android Development] ausch30:
Load the rom you want on to your sd card. Put you phone back on charge only and go into adb shell and type reboot recovery. In recovery there will be an option to wipe, go in there and wipe everything. Exit out of that menu (both volume buttons at the same time) and select Flash zip from sd card. Volume up for yes, with till it's done, power button to restart
[EVO 4G Android Development] sopel10:
"You need to wipe cache, data and Dalvik cache from within recovery."

somebody posted that earlier to a guy who had the same problem....how would i go about doing all that?
[EVO 4G Android Development] Mudkip:
nope just about to. I will report back in a few min
[EVO 4G Android Development] SharkUW:
I went back and put some stuff in parenthesis and whatnot to clear some of the misconceptions up. I did already have "root.bat" in quotes outside of run so not my fault on that one at all. lol
[EVO 4G Android Development] Rippley05:
all good, it got to the web page and said webpage not available

trying again
[EVO 4G Android Development] Karl:
****Flashing a ROM or Radio****

(This is the good stuff and why you went through all that mess above. Bookmark this section!)

Now you're ready to load a custom rom or radio. I'm going to use OMJ's because I've been using his rom's on my Vogue and Diamond until I got the EVO's.

Steps -

1) First you have to put a custom rom or radio zip on your SD card. Use the same method we used for moving the PC36IMG.zip file. Just connect using "Disk Drive" and move the file over. I used OMJ_EVO_2.1_Eclair_v1.2.zip

2) Disconnect your phone from the pc and go into Recovery mode by powering off your phone and press and hold "Volume DOWN" while you push the "Power" button. This will bring your phone to a screen w/ choices, including "Recovery." Use "Volume DOWN" to highlight "Recovery" and use the "Power" button to select it.

3) Now connect the phone to the pc and run the "recovery-windows.bat" file again from step #4 in the "Recovery" section above.

Now you're back to the screen that says, "Android system recovery" in yellow letters at the very top.

4) From the list, use "Volume DOWN" to highlight "Wipe" and "Power" button to select it.

5) In the Wipe menu you're going to use the "Volume DOWN" to highlight "Wipe data/factory reset" and "Power" button to select it, then "Power" button again to confirm. Once it's done, repeat this step so you "Wipe data/factory reset" twice.

6) Use the "Volume DOWN" to highlight "Wipe Dalvik-cache" and "Power" button to select it, then "Power" button again to confirm. Once it's done, repeat this step so you "Wipe Dalvik-cache" twice.

Now push "Power" button to return to the previous menu.

7) Use the "Volume DOWN" to highlight "Flash zip from sdcard" and "Power" button to select it.

At this point every zip file on the root of your sdcard will show. Make sure you know which one you're using.

8} Use the "Volume DOWN" to highlight your rom or radio file (I used OMJ_EVO_2.1_Eclair_v1.2.zip) and "Power" button to select it, then "Power" button again to confirm. Sit back and wait. Mine took about 2mins.

When it's done, hit "Power" button to "Reboot system now" and enjoy your rooted EVO w/ a custom rom.

Please note: I know there are several ways of doing this. I'm also aware of some shortcuts that could be taken. However this method works, and I think they are written as basic as could be. I'm definitely not an expert, so I wrote them as plain as possible trying not to assume the person following them has any previous knowledge about android. In some cases I took the long way to do something or extra steps, but I'm trying to make it fool proof.
[EVO 4G Android Development] iceman99393:
I see that many people have gotten to the end and then the flash did not work. It happend to me, after i used the hack files, and ran the engpc36img file. It then put the software to 1.17. I then used the simple root process steps 1 to 3 and everythings back to the way it was before i ran the ota. Awesome
[EVO 4G Android Development] SharkUW:
Pretty much, this. These are definitely the most likely issues. Hangs with the brute force attempt at what it needs to find or a corrupt file.
[EVO 4G Android Development] Rippley05:
umm

when i was supposed to hot bootloader it hink i hit something else...not i have a phone with a red triangle and exclamation point...am i ****ed?
[EVO 4G Android Development] sopel10:
this will work even though my last step failed?

(/data/local/flash_image misc /sdcard/mtd-eng.img)
[EVO 4G Android Development] Mudkip:
well its installing rom if i donot have nand will it brick my phone
[EVO 4G Android Development] SharkUW:
lol, hit up and power at the same time, select reboot, and hit power.
[EVO 4G Android Development] Karl:
no .. try step 2

http://xdaforums.com/showthread.php?t=706411

of simple root
[EVO 4G Android Development] topdnbass:
*Takes a deep breath & chants "I will not rage at noobs"*

Just read so many useless posts.

For everyone having trouble, can you READ before you ask??

KTHXBAI ;)

HTC's news about froyo coming sometime before effing CHRISTMAS made me decide now was the time to root :p

I'll do some testing and report back on how this works for me..

Thanks to the anon for the method and OP for the detailed instructions.
[EVO 4G Android Development] Karl:
if is locked it wont load rom
[EVO 4G Android Development] Rippley05:
wow i freaked out and unhooked everything, im gonna wipe and do it again...i tihink i had it if i didnt friggin slip

im tired =\
[EVO 4G Android Development] SharkUW:
Why wouldn't you have nand?
[EVO 4G Android Development] Renegadez:
Ok think i killed it phone is black with red triangle and exclaimation point!!

c:\evo-recovery>Code:

'Code:' is not recognized as an internal or external command,

operable program or batch file.

c:\evo-recovery>

c:\evo-recovery>adb shell

error: device offline

c:\evo-recovery>cat /sdcard/flash_image > /data/flash_image

The system cannot find the path specified.

c:\evo-recovery>chmod 755 /data/flash_image

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

operable program or batch file.

c:\evo-recovery>/data/flash_image recovery /sdcard/recovery.img

The system cannot find the path specified.

c:\evo-recovery>cat /sdcard/flash_image > /data/flash_image

The system cannot find the path specified.

c:\evo-recovery>
[EVO 4G Android Development] Karl:
calm yourself
[EVO 4G Android Development] Mudkip:
awsome i have root from the BAT file. got a rom to load. i know this is not the place but how do i get sprint voicemail app
[EVO 4G Android Development] SharkUW:
aight. I'm out. The proles officially have root on .47. Enjoy :)
[EVO 4G Android Development] sopel10:
ok, downloading that file 341mb
[EVO 4G Android Development] Renegadez:
Can someone point me out how to complete this part the .bat ran thru just fine but seems i still dont have root

The .bat is now done. Now take the last step and flash the recovery.img that will already be on the root of your sdcard.

To do this, after the PC36IMG flash: