yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] Shidell:
Here's an interesting issue:

When trying to install root, I place PC36IMG.zip on the root of my SD card, reboot & allow it to flash successfully. I then restart when finished.

I boot into Recovery, and see the green circular arrows--and as I'm working on using the console to rename the .zip and tell the phone to reboot into recovery, my phone just reboots.

In fact, once I'm in the flashed recovery, my phone will restart after roughly 10 seconds every time.

Any ideas?
[EVO 4G Android Development] bflxjsl:
Re: {tutorial} how to root \0/

Has the radio update been publish

-------------------------------------

Sent via the XDA Tapatalk App
[EVO 4G Android Development] colorado_al:
Thanks to Toast find it here:

http://xdaforums.com/showthread.php?t=696462
[EVO 4G Android Development] Shidell:
Update: I can run the recovery-windows.bat batch file from the console AND get the phone to move to the custom recovery console, however after mere seconds it automatically restarts.

Note that this device is from Google I/O, and hasn't had any updates applied.

Flakey hardware?
[EVO 4G Android Development] brennen.exe:
4G isn't ready in Orange County/LA yet, so that's not a major concern, but I was under the impression others were having varying issues elsewhere? I rooted my stock EVO on Friday and didn't bother flashing flipz's rom, but I assume my 4G won't work right now. Anyway, the only issues I am having are removing the *.odex files (location??), installing HTC widgets, and getting the integrated USB tethering to work without the error 67 or whatever. Most of these issues appear to be related to rooting in general though, or never worked from the get-go. I asked mainly because my boss will want me to root his phone so I can get him setup with WiFi tethering; in his case, I want to make sure he is issue-free.

Edit: Oops, forgot to say thanks for the help/reply.
[EVO 4G Android Development] Negrito:
Bump! 10char
[EVO 4G Android Development] toastcfh:
yes run the mac script in the zip. sorry will update the first post
[EVO 4G Android Development] nckfrs:
running the recovery script in windows 7 32 and 64 bit

for everyone having issues with this hold shift and double click the recovery-windows.bat file it will say the publisher is not verified and click run this will run as administrator without any issues and bring you to recovery mode so you can flash your roms or what not (:
[EVO 4G Android Development] nckfrs:
hold shift and double click the recovery-windows.bat file and then click run when a prompt comes up and it should run just fine
[EVO 4G Android Development] herbthehammer:
YES! I did all my flashing and adb from osx. Download the adb program from the link, then you download the flash and recovery. Like the article said, put the img.zip into the sdcard root folder. Extract the recovery zip onto your desktop. You dont need to push the image to the sdcard through adb. You can simply plug the phone into the usb of said mac. When it asks you what you want to do (on the phone), select disk drive. Copy the image update zip to root folder of sd card that just mounted on the desktop. After it is finished, right click on the sd card folder/drive on the desktop and unmount it. Go back to phone and drag the notification bar down and unmount the sd card from there too.

Unplug the phone from the mac and after a few seconds, plug it back in. When the phone asks you what you want to do, dont select anything! Back on the mac, go up to the file/view/etc bar up top and select run utilities then terminal. Type "cd Desktop" then "cd (whatever the name of the evo recovery folder is that you extracted from the zip on the desktop)". (obviously dont type the quotes in the terminal screen). Follow joeykrim's adb tutorial for the commands and instead of using windows programs and commands, use linux but run the mac programs in the recovery zip folder and adb program. I think if you just look at the files, you will get an idea of what I'm talking about and what to do. It is not difficult if you have ever played in a terminal or command line before! I am doing all this explanation from memory now because I am at work and typing this on the phone. It can be done from a mac and work without any trouble. Oh yeah, you need to know the admin's password on the mac because it will ask you that in the terminal, I think when you are trying to push the recovery program to the phone. Gotta get back to work now! Good luck!
[EVO 4G Android Development] joeavery2:
Using an non EVO rom

Just a question: would it be dangurous to try another ROM like CM's that is built for the Nexus?

I assume if/when it doesn't work I'll just reboot to recovery and do a NANDroid restore. Does anyone know if this would some how put the device at risk for Brick?
[EVO 4G Android Development] xxbabiboi228xx:
I wouldn't advise doing that I don't think it would look all that great cause of the difference in the resolution of the phones
[EVO 4G Android Development] Kshawn:
Alright thanks everyone I got the recovery to run by simply double clicking the file vs run as admin. Stupid me.

My only issue now is I can't seem to ever get to cd /system/app to attempt to remove anything...but I'll save that is for another thread/post.

Keep up the hard work everyone.
[EVO 4G Android Development] bflxjsl:
Hi is anyone working on fixing the 4g?
[EVO 4G Android Development] fxdc08:
IM LOST

trying to follow page 1 but when i get to this point i'm lost... i renamed PC36IMG.zip to "root.file.renamed"... and when i try to type in the code is says no such file directory???? please help...THANKS!!!!

- rename the PC36IMG.zip on your sdcard:

- plug your phone into a usb port on your desktop and do:

Code:

adb shell mv /sdcard/PC36IMG.zip /sdcard/root-PC36IMG.zip
[EVO 4G Android Development] timothydonohue:
i also wouldn't try it, but that is because of differences in the hardware mapping.

the screen resolution is the exact same. 800x480
[EVO 4G Android Development] Saturn2K:
It's been fixed, just flash the rooted stock rom and then flash the new radio that toast posted.

Don't worry about that. Basically, after you flash PC36IMG.zip, it will boot back into android. Skip all of the setup and mount the SD card in windows with the USB cable. You can just delete it or, do what I did, and rename it and put it in a folder called "root."

Then you put the new rom into SD card's root. (Supersonic_1.32.651.1_rooted.zip)
[EVO 4G Android Development] fanaticny:
help!

If i want to flash the sprint stock rom with root, do I need to do the recovery instruccions part before flashing?
[EVO 4G Android Development] Saturn2K:
I think you should have let it finish. It was still setting something up while the green arrows were up. Restarting it while in the middle of the flashing process might cause some problems, even if it's after the main white bootloader screen. See if you can redo flashing PC36IMG.zip, but let it get all the way into android this time. You need it to be flashed in order to reach the custom recovery screen that will let you do nandroid backups and flash custom roms.
[EVO 4G Android Development] Saturn2K:
Yes, you do. Flashing PC36IMG.zip is done in order to let you get into the custom recovery. You can't flash any rooted roms without it. And don't forget to wipe data and dalvik cache.
[EVO 4G Android Development] Shidell:
I appreciate the reply. Turns out, if I load PC36IMG.zip and then let it restart, it'll always reboot after 10 seconds.

I have to power the phone off and turn it back on, and boot into recovery, followed by Toast's script, to reach custom recovery. No idea why, but it's repeatable, and I haven't updated my phone.

I messaged Toast to let him know, just in case others have the same issue with the phone restarting after 10 seconds automatically.
[EVO 4G Android Development] fanaticny:
I did the rooting part, i was asking about the second part, but i guess it hurt to just do it. Where do I find dalvik cache?
[EVO 4G Android Development] huynhc:
gah nm i found it...
[EVO 4G Android Development] tatnai:
flash the new radio folks!

run the file in the sdcard/HTC-sync from your phone. then disconnect the phone, and reconnect, adb should connect.
[EVO 4G Android Development] fanaticny:
the adb boot recovery is not working for me, I unzipped evorecovery, open cmd typed in abd reboot recovery and it says "adb" is not recognized as an internal or external file. what the hell am i doing wrong? I did the rooring part succesfully.
[EVO 4G Android Development] gbdesai:
Well, the program is ususally adb.exe on windows, but since the evorecovery contains binaries for Linux and Mac too they renamed it to adb-windows.exe try "adb-windows boot recovery" (if you run windows of course).
[EVO 4G Android Development] tatnai:
drop the adb. use

reboot recovery

after entering shell
[EVO 4G Android Development] Razor1973:
I am on .1 (I did install Sprint's official .6, but then downgraded to .1 installing this: http://xdaforums.com/showthread.php?t=685835) and when I try to do "adb push" to copy the zip file to the SD card, it says "error: device not found". When I do "adb devices", no devices are listed. So I manually copied the PC36IMG.zip to the SD by mounting the USB and went into Fastboot. It did see the ZIP file and scanned (blue progress bar on the right). It actually looked like it scanned it twice, but, at the end, I didn't get an option to flash it. It just went back to the original 4-option fastboot menu. What am I doing wrong?
[EVO 4G Android Development] joeavery2:
In recovery, down arrow to Wipe, then chose clear Dalvik cache.
[EVO 4G Android Development] jwwolfe77:
Im also trying to apply the "adb reboot recovery" on connectbot and im "getting adb:permission denied". What am i doing wrong?
[EVO 4G Android Development] joeavery2:
Easier recovery

Ok so I made some progress on the recovery script. I Added a line in the windows(mac/linux)-recovery.bat(sh) that mounts the /system folder writable.

Also I added three files (all doing the same thing) named recovery.bat(sh) and macrecovery.sh.This file should be a one step from On to Recovery.

Now instead of typing adb reboot recovery... then waiting then typing windows-recovery.bat then going into shell and remounting you just type the one command: recovery.bat.

maybe the OP can post it or rework/tweak it and repost it.

Also I only tested it in Windows. While the script for linux and mac should work it may not. If it doesn't work for you then you can open the .bat one and hopefully should be able to figure out what is going on. Basicly it just issues the command to reboot into recovery, then it waits 30 sec for the phone to reboot/remount on the PC then issues the script from the OP that I modified to remount the /system file.
[EVO 4G Android Development] Shidell:
Did you install HTC Sync to get the ADB drivers installed so you can connect in Windows?

Otherwise, with PC36IMG.zip on your SD card, reboot while holding vol-down, and it should scan and then prompt for the update. If that's not working, something else is wrong (corrupted/damaged file, etc.)
[EVO 4G Android Development] timothydonohue:
those of you having adb issues should go read the adb thread :rolleyes:
[EVO 4G Android Development] jwwolfe77:
Well thank you sir for posting a link.
[EVO 4G Android Development] Kooper113:
Damn, I updated my phone before checking on here, dumb of me. Is there no hope for me now? :(
[EVO 4G Android Development] tkrechel:
you're fine. The OTA update did not break this root
[EVO 4G Android Development] Kooper113:
I see! Completely new to Android here so I got pretty scared, thanks! Last phone I owned was a Herald, haha.
[EVO 4G Android Development] Razor1973:
I didn't even know of HTC Sync until you mentioned. I also didn't have the right drivers or SDK version for ADB. Problem solved. Thanks!
[EVO 4G Android Development] joeavery2:
Your not doing PC36IMG.zip in Fast boot. It is used when you reboot into the bootloader. Thats to say what you need to do is reboot the phone into the bootloader and the bootloader looks for PC36IMG.zip before you can choose fastboot or recovery or anything else. When it finds the file it asks you if you wish to install it. you choose yes and then yes again. it takes about 5 min. don't interrupt it.

If I'm understanding your issue correctly other wise I missed something.
[EVO 4G Android Development] |Jason8|:
I tried making a nandroid today with the recovery you supplied, Toast, and it did it fine, but it didn't generate a nandroid.md5 along with it, so it wouldn't restore it. I generated my own MD5 and put it in nandroid.md5 in the backup and restored it, but it just seemed odd to me.

Actually, I restored the nandroid backup as I was typing this, and it's just hanging on the first boot screen. Something might be a little bit more broken than just a missing file.

I'll have to test it again once I get this thing booting again. XD
[EVO 4G Android Development] timothydonohue:
what am i ? your mother? go find it yourself, lol. :p
[EVO 4G Android Development] Kooper113:
Well, this was the very first time I had ever owned an android phone of any kind...

And here I am sitting on a new ROM already! With sooorta root? (from what I gather lol)

I have had -no- experience with getting root access on an android device past this topic. Spent a while just reading this topic, along with other topics, such as which timothy recommended (adb is pretty important, had no previous knowledge of it past a few hours ago), and here I am, a complete newb, with my root privileges thanks to flipzmode's rom and toast's skills.

Now to totally break my phone by doing things I don't fully understand! The fun of exploration of power, woo!

Just wanted to chime in and say, HEY, Newbies like me, take the time to look around and read before jumping head first, after some reading this was pretty easy.

Now I just need to figure out the proper way to get rid of this Sprint crap and I'll be a happy camper. Why funny enough a few pages back I believe this was being discussed earlier, I'll check on that.

Thanks everyone
[EVO 4G Android Development] fanaticny:
I was able to do the adb reboot recovery but when i run recovery-windows.bat as adm it's doing nothing on the phone
[EVO 4G Android Development] joeavery2:
There is a separate set of drivers needed for each "mode". Try unplugging the phone and plugging it back in while in the recovery. Just to make sure the PC recognizes it.
[EVO 4G Android Development] kluster1999:
If you are using windows 7, here's what you need to do if the HTC sync drivers aren't working. Download the android sdk USB drivers. Then you have to edit the .inf file.

I cannot post the link but google "windows 7 adb driver htc evo" and click on the Google Groups website for instructions (should be 3rd link).

After that's done, right-click on Computer and select Manage. Then click Device Manager in the left pane.

Make sure your evo is connected and drop down the My HTC driver. Right-click on it and select update driver. You have to manually update it. Say you "Have Disk" and browse to your android sdk USB drivers folder and Viola!

Boot back into recovery mode and right-click on the recovery-windows.bat and run as admin.

A command window should pop up for a second and disappear, doing absolutely nothing.

Then LEFT CLICK on the .bat file to open it and this time the command window should stay up and your EVO will receive the appropriate menu.

This is what worked for me after hours of tinkering. Also, make sure you use toastch root method and NOT unrevoked, otherwise you can't flash. Had to learn that the hard way.

Good Luck!
[EVO 4G Android Development] KyleMac:
I'm trying to flash to the newest upgrade.zip based on the .6 update. I'm at the stage where I am in the reboot and selected "Wipe." Now i have the following options:

Wipe data/factory reset

Wipe cache

Wipe Dalvic-Cache

Wipe SD:ext partition

Wipe Battery Stats

Wipe Rotate Settings

What exactly do I do here? Do I just choose "Wipe Dalvic-Cache" or do I choose "Wipe data/factor reset" then choose "Wipe Dalvic-Cache" when that finishes? Then flash the ROM?
[EVO 4G Android Development] kluster1999:
"Wipe data/factor reset" then choose "Wipe Dalvic-Cache" when that finishes. Then flash the ROM.

That's it!
[EVO 4G Android Development] Negrito:
There was a Mac way this whole time? Ugh, i didnt even bother downlaoding cause there was no specific Mac instructions. :p

I'll try this when i get home from work, if i'm successful i'll write a Mac tutorial. :)
[EVO 4G Android Development] XpAcErX:
I am new to android phones and "rooting" but i have modded several devices before and managed to get up the wipe step. I read in another thread about missing market items and the fix was to flash a rom which in return would break the 4G and WiFi tether.

is that the rom the wipe step is talking about? I dont want to break my 4g.
[EVO 4G Android Development] mjb5406:
Hey, spread around sine K-Cups to us Keurig owners, huh? :)
[EVO 4G Android Development] desairs:
So I have a huge problem. I'm a complete noob so bare with me. I flashed the .zip file and I installed the Android SDK. Now I'm having a huge problem. When I type "adb reboot recovery" the phone restarts and I get a black screen with a red triangle with a ! in the middle. I have no clue what to do. Thanks for the help.
[EVO 4G Android Development] r3daction:
Try unplugging an plugging the cable to get the usb connection recognized. After it is recognized you will get the green text at the top of your screen.
[EVO 4G Android Development] desairs:
No dice. 10char
[EVO 4G Android Development] Kooper113:
You need to run recovery-windows.bat (if you're on windows) which was in the evorecovery.zip... It's right in the first post d00d. The ! screen will go into a menu. (of course make sure the phone is connected via USB)
[EVO 4G Android Development] r3daction:
I assumed that him running the command caused the reboot.
[EVO 4G Android Development] desairs:
FWIW I'm using an apple. Can someone give me some insight?

EDIT: NVM I figured it out.

What exactly is the NAND backup used for?
[EVO 4G Android Development] blackout203:
Thanks for the root. Flashing now! Not having any issues *crosses fingers**
[EVO 4G Android Development] joeavery2:
Once you get to that point the computer should remount the phone and you'll need to run windows-recovery.bat. It'll then load some stuff and the screen will get the Amon-RA type recovery we're all so used too.

IF you get to this point then you can use my file here http://xdaforums.com/showpost.php?p=6730827&postcount=835 that will do the whole thing with one command recovery.bat. It saves you typing and gives you time to read the forum while you wait for the phone to remount writable in recovery.
[EVO 4G Android Development] rpierce:
Im trying to flash this but it does not give me an option to flash anything. It finds pc36img and i get the progress bar but I never get the option to flash anything. It just goes back on the hboot screen. Any help would greatly appreciated.
[EVO 4G Android Development] nosaj13:
same problem here
[EVO 4G Android Development] computerkid23:
so i have a question ...the only way i can get into recovery is via cmd cuz im at work and i reboot to recovery but all there is is the red triangle??? so without a computer handy you cant get to recovery menus right???
[EVO 4G Android Development] thecodemonk:
That's what the other sticky is about, unlocking the nand protection. Currently we can only use our recovery through the .bat file when connected to a computer but once we get past the protection keeping us from writing to the recovery partition, it will should be able to stay "sticky". :)
[EVO 4G Android Development] computerkid23:
gotcha thank i just got my evo and was excited bout rooting it but thanks for the quick response
[EVO 4G Android Development] norkoastal:
This saved me.. I couldnt for the life of me get any of the commands to take in shell... Big Thanks!!!
[EVO 4G Android Development] blackout203:
I guess I spoke too soon. I had a 16GB card in my phone, turned phone off, took card out, put the 8GB that came with it, and put the required root files on it. Rooted and then did a nand backup, turned phone off, put 16GB back in and now it's "Damaged SD".
[EVO 4G Android Development] saintsfan:
i am trying to revert back to shipping rom so i can root and the ruu keep giving me a bootloader error and now i am stuck on a white and green screen. plz help
[EVO 4G Android Development] jiqqaman:
im trying to flash the PC36IMG.zip file in fastboot, it says checking and after that I get nothing... doesnt ask if I want to apply it.
[EVO 4G Android Development] saintsfan:
root help

i am trying to rood via toast's method i got as far as loading the recover screen. when i tried to run the .bat file noting happened. the phone just stayed there with the red triangle. i saw the command prompt screen just briefly. i duno what i am soing wrong. i flashed back to stock and am using unrevocked until someone can help me.
[EVO 4G Android Development] jiqqaman:
never mind i figured out what was wrong... i guess the download corrupted somehow and wouldn't flash.. re downloaded and everything worked as stated in OP :D

saintsfan, are you running as admin? cause i had problems like that too until i just double clicked it instead of running as admin...
[EVO 4G Android Development] jwwolfe77:
I ran the pc36IIMG.zip and after the reboot i still dont have root. I try to open titanium and and it says root access = failed. Any ideas?
[EVO 4G Android Development] villalva_evo4g:
Questions about rooting process

hey guys i'm new to this rooting thing... after reading forums on rooting there are some things that are still not very clear to me and i was wondering if any of you could answer some of my questions.

questions:

1. What does flashing a ROM do? Does it change the firmware on the phone from stock to which ever ROM you flash to.

2. Do you have to flash a ROM after you have done the first step(which i believe is root) and the recovery part(back up of stock ROM with root) of toast's root method or is it optional?

3. To get the superuser permission app must you flash Flipz's ROM after the first step(root) and the recovery(backup)?

4. To return to stock firmware without root do we just use the ROM that toast provide in the very last step titled, "HOW TO RETURN BACK TO STOCK BUILD:" if yes would it be the same as flashing Flipz's ROM.

5. is there a video or pics on how to use abd to remove unwanted sprint apps?

well this are the questions which have being bothering the most... thanks in advance for taking your time to answer them.
[EVO 4G Android Development] timothydonohue:
if you are trying to use titanium to restore, it probably won't work, because no root method can write to system while in android yet. it shouldn't have a problem backing up, as far as i know, because i think that should only involve reads.
[EVO 4G Android Development] saintsfan:
yea i was but the widow poped up and went away quick. the phone was in recovery mode...i made it that far with no problem it was just running evo recovery i am using windows 7 32 but with htc sycn installed. the phone shows up in device manager as my htc evo i guess i need to install more dirvers. i did not take the usb out and plug it back in though. i duno what to do at this point. i have unrevoked installed and working and i am getting 4g but i would like to flash roms. i hope someone makes a video real soon like they did with the hero.
[EVO 4G Android Development] timothydonohue:
10 characters
[EVO 4G Android Development] jwwolfe77:
Ok if the pc36IMG.zip provides root, how can i check to make sure im rooted?

Can i use adb thru connectbot?
[EVO 4G Android Development] alafferty:
The issue i am having is after i get the PC36IMG.zip file to update and reboot back into the OS i run the reboot recovery command an it reboots the phone but gets to a screen with the phone laying down with an ! point by the phone and just sits there. If i take the battery out and put it back in the phone boots back to the OS.

Thoughts?