yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] Karl:
try this

run step 2

http://xdaforums.com/showthread.php?t=706411
[EVO 4G Android Development] sopel10:
ok it looks like everything worked, i got the custom recovery now, and after reboot, original rom is on, to put a custom, do i just put that file on the sd card, go to recovery mode, wipe and install?
[EVO 4G Android Development] Rippley05:
ok i thik i got it

i flashed the custom recovery and was getting the #

went through the commands and they took, didnt doanything so i assume im good to go?

how to i boot up in recovery to flash the rom i wanna flash? and should i wipe and do a backup and stuff?
[EVO 4G Android Development] Karl:
read post 630 page 63
[EVO 4G Android Development] Renegadez:
I guess i am missing the general steps of HOW to flash once the .bat is completed it says the proper files with be on the sd card already

reading post 630
[EVO 4G Android Development] Rippley05:
Thanks a lot man, I'm friggin beat down tired and should have read....been like 6+ hours messing with this and I think Im finally flashing a ROM

Trying the Fresh rom because I heard good things about it...hopefully everything goes well!
[EVO 4G Android Development] Renegadez:
Ok well im at the bootloader now select fast boot?

the other thread says to use a recorery .bat which i dont have and sharks instructions say to flash with revory.img?

I just want root so i can get a free hot spot currently im not trippin on loading roms yet
[EVO 4G Android Development] Metathias:
Followed the video instructions. Had it rooted in about an hour. Had to Factory data reset twice because of an error on the first step. second time was a charm.
[EVO 4G Android Development] sopel10:
for some reason, when i went into recovery mode, it did not take me to the custom recovery but to the original one, that pc36 file started loading and it asked me if i wanted to proceed with the update, i just hit no, and i'm at the main menu, not sure if i should still go ahead and try to wipe/rom if i don't have that custom recovery
[EVO 4G Android Development] Renegadez:
I used sharks .bat file because it wouldnot load part 2 that is done but im not sure where to go none of these instructions say what to do once i hit the fast boot loader screen
[EVO 4G Android Development] topdnbass:
Simple! Thanks anon :p

No problems so far, I used this method to root, toast's part 2 to unlock nand, and finally i flashed DC.

I'll do some testing tomorrow..
[EVO 4G Android Development] Renegadez:
Wo0Ho0000 I believe I have root if I connect to pc and run ADB Shell it returns # is this confirmed ro0T? Who to tell if nand is unlocked?
[EVO 4G Android Development] evohnoo:
C:\evo-recovery>adb-windows shell

$ sh /sdcard/part1

sh /sdcard/part1

power down your phone from the power menu and re-run

$

C:\evo-recovery>adb-windows shell /data/local/part2

error: device not found

C:\evo-recovery>adb-windows shell

$ sh /sdcard/part1

sh /sdcard/part1

visit (url) in the EVO Internet browser app

refresh that page or reopen it

/sdcard/part1: cannot create /data/app-cache/com.android.browser/BEC48C17295CAF9

F550BCD500A0A6F03

/data/app-cache/com.android.browser/BEC48C17295CAF9F550BCD500A0A6F03/foo: direct

ory nonexistent

reboot and run part2

$ reboot

reboot

Any of you knowing type people shed some light on this line? Ive seen others post about it, but no responses given. I think this is leading to the issue with part2 hanging up.
[EVO 4G Android Development] sopel10:
ok so i got it rooted, running Baked Snack v9, the software on that is before the OTA, since there are many benefits to this 1.7 software, would it destroy my root if i updated?

running 1.47.651.1 now
[EVO 4G Android Development] Karl:
fellow the one on post 630
[EVO 4G Android Development] Karl:
delete pc36

and put custom recovery on the sd
[EVO 4G Android Development] sopel10:
yea, after getting out of that menu, it kicked me into the custom one, will delete for future
[EVO 4G Android Development] Renegadez:
I used sharks root.bat and it worked great after i figured out how to complete the flash you should try that

____________________________________________

Sharks post

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.

cd c:\evo-recovery>

c:\evo-recovery>adb shell

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"

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.

Run "root.bat"

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. 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:

Select fast boot wait for it to scan PC36IMG let it completely update then reboot reconenect and shell and following code!

Code:

adb shell

cat /sdcard/flash_image > /data/flash_image

chmod 755 /data/flash_image

/data/flash_image recovery /sdcard/recovery.img

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:
just run custom roms some were built with 1.47

"only custom roms"
[EVO 4G Android Development] sopel10:
you know what....im just half asleep, what i wrote there didn't make any sense....been working on this for about 5-6hours now and its very late....or early next day.

thx for all your help, custom baked rom is running right now, just tried tethering and it works!

thx again
[EVO 4G Android Development] metayoshi:
Thank you SO much for this method of rooting. I was running unrooted in the beginning, and I never really planned to root my phone since HTC and Sprint said Froyo would be coming to the EVO at some point anyway, but the last OTA update killed my Exchange syncing temporarily (may have been the Exchange server's fault), and it killed the vibration functionality when I received text messages. That made me distrust any official update Sprint/HTC would give to us, and I don't think I'll ever go back from being rooted ever again.

Now that I was able to install DC 3.2.3 on it, my vibration function is back, and I've seen a HUGE performance increase, especially during boot.

Again, my appreciation goes out to whoever found this root method.
[EVO 4G Android Development] CruzECO13:
This happened to me 5 times using the hackfiles2.zip then i tryed using the original .zip posted named, hackfiles.zip and that did it for me :P

Hope that helps!!
[EVO 4G Android Development] Rippley05:
Yea mine did something funky here too

However I am fully rooted and running Fresh...Thank you guys for all the help...absolutely awesome.

I would like to know if there is a way to tell ig I have to correct custom recovery or whatever...and afterwards what can I delete off of my SD card from this root/recovery/flash process? Thanks again guys
[EVO 4G Android Development] Renegadez:
After rooting when i shut the phone completely off I have to take the battery out to start it again im not sure whats up with that? Anyone seen this before?
[EVO 4G Android Development] shizah:
Part 2 Is Scanning

I had this problem for about an hour. I was going to the bit.ly link. After redoing Part 1 and going to Flash Games and entering a game... rebooted my phone using reboot command. waited for the chime yet again, entered the string and 15 seconds later it worked!!
[EVO 4G Android Development] -shift-:
Quick question concerning this root method, I'm having issues with connecting to 4G since I got root. Does it affect the radio drivers? Do I need to update them? Can someone please help me out? Thanks!

Sent from my EVO
[EVO 4G Android Development] frankenstein\:
This process downgrades everything to an engineering pre-release build. HBOOT, which you want, system software, radio, etc... everything.

Which radio you use depends on which rom your going to run really. if you run one based on a software release prior to the last ota, 1.47... then you need to update your radio to v1.39.00.05.31 here: http://xdaforums.com/showthread.php?t=696462. If your going to run a rom based on the 1.47 ota then I'd recommend installing whitslack's update to 1.47 first here: http://xdaforums.com/showthread.php?t=715915 which will update your radio and wimax radio the the lates version, then flash your rom of choice. Follow all of whitslack's instructions first, then follow the directions of the rom dev to flash the rom you want to use.

Read the notes in the op's post for the rom to determine if it's based on the 1.47 ota release or not.

If you want to run stock sw, you can just continue running whitslack's release once you've completed that process.

I would definitely recommend doing one of these processes rather than staying with what's installed here. As I said, this down grades everything to a pre-release engineering build rev. The only thing you want to persist from this process is the HBOOT rev and possibly the recovery although you may choose to use a different recovery such as RA's 1.7.0.1 or Clockworks. I like RA's personally.
[EVO 4G Android Development] motox502:
Mine is also saying the following, can someone PLEASE shed some light on this....

/sdcard/part1: cannot create /data/app-cache/com.android.browser/BEC48C17295CAF9

F550BCD500A0A6F03

/data/app-cache/com.android.browser/BEC48C17295CAF9F550BCD500A0A6F03/foo: direct

ory nonexistent
[EVO 4G Android Development] vbyt:
alright, i am about to root my evo. I want to make sure this is correct from reading all of the threads.

I will be using Damage Control rom 3.2.3, so I understand that I need to use whitslacks method to get 4g/wimax to work correctly?

Do i use the PC36IMG from whitslacks method or from toasts method when doing the initial rooting process? Or do I do toasts method with his PC36IMG, then use the whitslacks method with his PC36IMG afterwards?

excuses my ignorance, this is my first droid.
[EVO 4G Android Development] ChiefSpoonS:
Hey Sorry, I've got the hang down on rooting the phone, nandroid backups, flashing roms, backing them up ETC.

However I can not figure out how to get back to the ROM that I had when I used this thread to Root my device. Any help? If its a non obvious file name I can just re-name it to Vanilla Rom or something. thanks!
[EVO 4G Android Development] Xard:
Quick thanks to all for the great info in this thread! I was an "unRevoked" guy but wanted to see if I could squeak out some more battery life and improve wifi so after reading everything over a few times I took the plunge and updated after I was pretty confident I could root using this method.

Took me about an hour from start to finish (first time through, I re-read everything 4 times) and it came together without a hitch. Great stuff.

Side note... I did have a moment of panic after I got the Whitslack rooted rom installed and tried to run Titanium Backup. It reported that it couldn't get root access and wouldnt work, even though it prompted for SU access. Backed out and enabled developer mode and third party apps and went back in and things seemed to be operational.

Pretty stoked and very happy to have the update in hand and still be able to use wifi tether without the $30/mo charges from Sprint.
[EVO 4G Android Development] -shift-:
brillaint! thank you so much! i'll try this out when i get home later today. i'm running dc 3.2.3 with the post-ota root. but thanks again!
[EVO 4G Android Development] thefoss:
How about a step by step video? Anybody?
[EVO 4G Android Development] frankenstein\:
There is a step by step video. Check out the op's post on pg 1.

Man, people really hate to read don't they. Shame to, it's such an important tool for basic learning and understanding...
[EVO 4G Android Development] Rippley05:
K one more N00b question.

I did the Root via the root.bat and everything worked, I am now running Fresh rom.

Does running the custom ROM mean I got the correct recovery flashed? I feel like my phone did some strange things during that process that weren't covered in the instructions.

Or does installing a custom ROM give you a different recovery, someone care to touch on that just a little ?
[EVO 4G Android Development] SharkUW:
Most ROMs aren't going to flash your recovery.
[EVO 4G Android Development] tokuzumi:
As the other poster stated, flashing roms does nothing for recovery. That's a seperate img you flash.

If you performed the steps in Jiqqaman's step by step writeup in this thread, you would have flashed Amon RA's 1.7 recovery.

When you power down the phone, and then hold down vol down, and power, and select the recovery option, what do you get on the screen? If you get a list of options, such as Backup/Restore, Wipe, Flash Zip from SD, etc, you have already flashed a recovery. Nothing further is required.
[EVO 4G Android Development] Aggressive Taco:
When I first followed the tutorial I managed to do everything up to the reboot, at which point I tried running "adb shell /sdcard/part2" but at a certain point I received a message stating "permission denied". Now no matter what I do any time I try to run part1 or part2 I get a permission denied message. Specifically, "/sdcard/part1: permission denied".

I have tried formatting the memory card (by phone and computer)

I have tried booting with the volume down key pressed and clearing storage

I have tried the clear option in the privacy settings

Any ideas?
[EVO 4G Android Development] Renegadez:
Shark does your root method with root.bat give nad access?
[EVO 4G Android Development] tokuzumi:
Your phone is in charge only mode, correct? In the notification window, you can select the connection type. Make sure Disk Drive isn't selected, and Charge Only is.
[EVO 4G Android Development] Aggressive Taco:
Yeah it's definitely in Charge Only mode. In the Notification Window I have "USB debugging connected", "Charge Only", a text, and two new voicemails.
[EVO 4G Android Development] SharkUW:
It's not so much a method as an automation of the OPs method. It's intention is to get that initial portion scripted which is why I didn't bother with a script for the recovery, making messages in it clear, etc. I released it in this manner since skimming through these posts showed a lot of frustration getting things at the right time and it removes a lot of ambiguity if one doesn't need to wonder if the last step was done before continuing or missing steps. I probably should have made better instructions for the PC36IMG and whatnot. For anybody still wondering about that, PC36IMG onwards in my instructions are step 2 of part 2 of Toast's root.

Following all of the steps including the last manual bit will be a proper full root.
[EVO 4G Android Development] gruen99sg:
thank you

Wow!!! thank you... works great!!! rooted
[EVO 4G Android Development] tokuzumi:
Your command prompt is being run from your Android SDK tools folder, correct? Although, I'd think you'd get a "not recognized" error....

from the command prompt:

cd C:\<your android sdk directory>\tools === Press Enter

adb devices === Press Enter

Do you see your device?
[EVO 4G Android Development] ret4425:
Hey all,

I don't know the adb shell stuff, and I probably ain't gonna learn it. Do you think there will eventually be another root method or is this pretty much it?

Thanks
[EVO 4G Android Development] Aggressive Taco:
Yes, I see the HT05 etc. etc.

I have gotten past one major hurdle and that is getting part1 to execute. All I needed to do was run sh /sdcard/part1 instead of just /sdcard/part1.
[EVO 4G Android Development] SharkUW:
Technically this could all be run from your phone.
[EVO 4G Android Development] Renegadez:
The reason i ask is becuze i seem half rooted as I installed busy box and it installed saying ii have root but clockwork will not install say no privilages weird but this is the first root i have done so im not sure if i need to load a baked rom i crashed out after ii in got your root and recovery done
[EVO 4G Android Development] SharkUW:
The PC36IMG is not a proper ROM. Install a rooted stock .47, DamageControl or one of the others.
[EVO 4G Android Development] Renegadez:
Ok will do do you have an opinion on whats the easiest and best rom really I just want good battery life and wifi tethering the rest is all no worries for me
[EVO 4G Android Development] bhagiratha:
tried this a few times, but when i do part 2, it get stuck at"

part 2 is scanning

nothing happens after that ...
[EVO 4G Android Development] ret4425:
Thanks, but I know less about how to do that than I do the shell thing. For a n00b, I guess, unrEVOked was the bees knees. Does anyone think such a thing shall come again?
[EVO 4G Android Development] DonMegaSK:
This question was asked mutliple times, can some please give an answer? I also get this when using root.bat.

C:\tools>adb shell sh /sdcard/part1

cancel this then turn the phone back on

cannot create /sys/power/wake_lock: permission denied

cannot create /sys/power/state: permission denied

rsync: opendir "/app-cache/." failed: Permission denied (13)

IO error encountered -- skipping file deletion

rsync error: some files/attrs were not transferred (see previous errors) (code 2

3) at main.c(1039) [sender=3.0.6]

Starting: Intent { act=android.intent.action.VIEW dat=hxxp://bit.ly/ad0pRn }

Warning: Activity not started, its current task has been brought to the front

Starting: Intent { act=android.intent.action.VIEW dat=hxxp://bit.ly/ad0pRn }

Warning: Activity not started, its current task has been brought to the front
[EVO 4G Android Development] Renegadez:
The closest I have seen is the root.bat file shark made the shell commands arent to bad really here is a repost of what he wrote it really helped me last nite @ 4AM sharks Da Man!

some notes that tell you how to use shell and its commands

Another guide http://forum.ppcgeeks.com/showpost.php?p=1853598&postcount=792

_________________________

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"

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.

Run "root.bat"

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. 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:

Select fast boot wait for it to scan PC36IMG let it completely update then reboot reconenect and shell and following code!

Code:

adb shell

cat /sdcard/flash_image > /data/flash_image

chmod 755 /data/flash_image

/data/flash_image recovery /sdcard/recovery.img

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] SharkUW:
Oh whoops. Those errors are me calling "shutdown" which requires root. Follow the prerequisite setup steps.
[EVO 4G Android Development] frankenstein\:
Actually, no it couldn't. Because of the timing required to execute the part 2 script. It must be run before the phone fully boots into the os.
[EVO 4G Android Development] motox502:
FINALLY found the issue and got this working!!!
[EVO 4G Android Development] DonMegaSK:
How did you get past this?
[EVO 4G Android Development] walkerwde:
I'm new to Android and have spent hours on hours going through every step of this new Root following the video provided up to the point of rebooting and holding down the power and volume key. It seems to work fine and says it's loading...[pc36img.zip] and goes through loading the file, however then it says checking...[pc36img.zip] and after a few seconds goes back to the main screen. It never asks me to apply the update by pressing the down volume.

Any help would be greatly appreciated. Thanks so much in advance
[EVO 4G Android Development] warrior420:
okay so this is just getting to frustrating. I've never had this kind of trouble with android. This is my first time rooting my EVO since its upgrade from the trusty G1 which was flashed daily...

My issue is when i execute the Part2 command it goes to Part 2 is scanning, and *quickly* goes back to C prompt.... as if nothing is there, or the connection was interrupted... And this is of course after when I was just told to reboot and run Part2.

And after it goes to back to c prompt, i put the command in again, having a hard time getting adb connected, and when it finally does and part2 is ran, it just sits and scans.

A few times it has worked, but right now i cant get part2 to work at all.. and i have been trying all night and morning i think I've wiped like 10x. the furthest i have gotten to was when it got down to the "37 mtd1" part and after getting the shell and the other commands, i would restart and the loader wouldn't load my .zip. and i guess i needed to start all over...

BTW, If the part2 fails at all, do we need to wipe? can i just reboot and try part2 again? or does part1 need to be executed all over again with the flash exploit, or does it need a full wipe? that's my main question, because I'm tired of wiping; If i try to go back to do part1 after part2 fails it just hangs at the "load the page" part.

And now lately i have been getting that error that saying sdcard/part1/ cannot create/data-app-cache/.com.android.browser/BEC48C17295CAF blah blah

And when i see that? Do i need to wipe again? because it seems any small bit of screw up makes me wipe.

Is it also bad that after i do adb shell, that it works for a sec then throws me back at the c prompt... sometimes i have to do adb shell multiple times to get it to stay working. and something tells me that messes up the exploit some how.... i dunno.

Hope an easier way comes out, because my phone just will not do this one....

Not really helpful as i have that problem sometimes too
[EVO 4G Android Development] malibu_23:
so this update basically, is using a exploit to gain root and downgrade to a previous build? and then what i lose the fixes that the latest OTA provided? im lost on that part. can i flash a rooted OEM OTA rom? they usually explain what it does, now it s all rush rush, do this do that. all i want is wireless tether. i could care less about custom roms.