yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] xHausx:
Sorry forgot what the question was, lack of sleep is catching up with me.lol

This should work your phone, see above ^^
[EVO 4G Android Development] onepanda:
Well, I'm still stuck with the error below (from the log) and not sure what to try now.

------------ AutoRoot.bat Begin - v1.9 - Mon 12/20/2010 23:01:56.86
Params=1'quick' 2'' 3'' 4'' 5'' 6''

Checking for ADB...
PLEN='1' PSTATE='device' RETURNTO='s1' STATE=''
PING ADB Counter - State Changed '1' out of '1'. ADB State is 'device' expected 'device'
Found the phone connected as 'device'.

Checking MTD configuration...
dev: size erasesize name
mtd0: 00c00000 00020000 "wimax"
mtd1: 000a0000 00020000 "misc"
mtd2: 00480000 00020000 "recovery"
mtd3: 00300000 00020000 "boot"
mtd4: 15e00000 00020000 "system"
mtd5: 0a000000 00020000 "cache"
mtd6: 1aba0000 00020000 "userdata"

'check.bat mtd' returned 'old'

Checking for root...
UID is 'uid=2000(shell)'
Running exploit...
./data/local/tmp/rageagainstthecage-arm5.bin

$ ./data/local/tmp/rageagainstthecage-arm5.bin: 1: Syntax error: Bad substitution

Any idea what it could be?
[EVO 4G Android Development] dshook19:
By uninstall do u mean take it off my SDcard? Because after I ruu I formatted my card and I'm pretty sure I'm just on the stock 2.2 ruu
[EVO 4G Android Development] DAE51D:
Also a newb here to Android. Just got an Evo 4G and trying it out under the 30-day return policy.

Android 2.2

Baseband 2.15.00.09.01

Build Number 3.30.651.3 CL272076 release-keys

Software Number 3.30.651.3

(BTW, are "Build" and "Software" numbers always the same like that?)

I tried the Unrevoked 3.22 and it failed for me (as you all guessed by now I'm sure)

Will this post's method work for me?

I've got the "A mandatory update is now available" message, but I have been holding off on doing it b/c I really want root first (obviously). Or will this method work with that update installed?
[EVO 4G Android Development] hogetarian:
Thanks a lot !!

I have failed in http://xdaforums.com/showthread.php?t=765496,

but I was successful in AutoRoot_v1.9 =)

Thanks a loooooooooooooot !!

* CLIENT

- Android : 2.2

- Baseband : 2.15.00.11.19

- kernel : 2.6.32.17-gee557fd htc-kernel@and18-2 #15

- BuildNumber :3.70.651.1 CL294884 release-keys

- SoftwareNumber :3.70.651.1

(This configuration is obtained by PC36IMG-SprintLovers-AmonRA_1.8.zip in AutoRoot_v1.9.zip)

* MOTHER

- Windows Xp professional sp3
[EVO 4G Android Development] RizzoPro:
Hi

Thanks for the suggestion..I got the flashing to start and now it seems like it

re flashing over and over. It reboots and then the following occurs

Rebooting...

Waiting for the phone

Setting the RUU mode...

Reflashing the userdebug firmware

It has done this twice already

also While the reflash is happening the screen has the HTC logo with a triangle in each corner...does that mean anything?

Thanks!

You'll need to use ctrl+C to break the loop and then flash the RUU to get out of that screen. Once you've restored your phone download the new version 1.9 and you should be good to go.

Be sure to check your battery life as well, it may not hurt to turn it off and let it sit on the charger for 15 or 20 minutes before flashing anything else.

Ok did that and I can get to a screen that gives me a few specs and the option is RUU..when I press the power button nothing happens whenever I reboot the phone it goes straight to a screen that has an HTC logo with the 4 triangles in each corner I can then get in to the screen I mentioned above...not sure what to do next..Should I have put something else on my SD card? I can still do that with an SD card reader possibly.

Any Help is GREATLY APPRECIATED!!
[EVO 4G Android Development] RizzoPro:
Ok did that and I can get to a screen that gives me a few specs and the option is RUU..when I press the power button nothing happens whenever I reboot the phone it goes straight to a screen that has an HTC logo with the 4 triangles in each corner I can then get in to the screen I mentioned above...not sure what to do next..Should I have put something else on my SD card? I can still do that with an SD card reader possibly.

Any Help is GREATLY APPRECIATED!!
[EVO 4G Android Development] fredrik949:
re installed drivers and now it shows android adb interface whereas before it was saying something else in the device manager. but I still get stuck at checking for adb :(
[EVO 4G Android Development] hogetarian:
I succeeded in this way.

1)installed HTC Sync 2.0.40.

2)connected to PC(Xp pro sp3)

3)checked Device Manager

--Android USB Devices

---My HTC

4)Run HTC Sync

5)run AutoRoot.bat
[EVO 4G Android Development] hogetarian:
How to remove pre-installed apps?

BTW, I got a root in this way.

But I will not be able to remove the preinstalled apps.

MyEvo can not allow to change the read-only attribute ,too.

To remove pre-installed apps, what should I do?:(
[EVO 4G Android Development] xHausx:
Not taking the update was a very smart move, you never want to accept them and especially not lately with the Evo. All they do is make it harder to root.

If you run the 3.30 RUU first you should be able to use this to root.

Sorry, was in a hurry earlier and ended up getting confused on who was asking what. You should be good to go as is.

Did the RUU flash the correct firmware? If I remember right it should automatically reboot once it is finished
[EVO 4G Android Development] xHausx:
You'll need to remount your system partition in order to write to it. You can do this through adb with "adb remount" or you can use Root Explorer or Terminal Emulator to do it through your phone
[EVO 4G Android Development] steiny:
I'm having a difficult time with the instructions to root my new EVO. I've been reading xda threads for hours now and I get that for my situation (see my phone specs below) AutoRoot v1.9 should work, but I can't seem to get anywhere with it.

I tried Unrevoked before reading up on everything and obviously it didn't work. I also installed the hboot drivers for my Windows 7 64 bit machine from the Unrevoked site.

Luckily my phone appears to be fine after the failed Unrevoked attempt.

Now I have several questions:

1. I see the that I need to restore the 3.30.651.3 RUU. I have the xxbabiboi228xx Stock RUU 3.30.651.3 odexed downloaded but how do I install it?

2. Do I need to have the Android SDK installed on my computer to use AutoRoot once if reinstalled the RUU.

hboot 2.02

Android 2.2

Software 3.30.651.3

Thanks!
[EVO 4G Android Development] xHausx:
Sent you a pm with something to try
[EVO 4G Android Development] xHausx:
The RUU is different than a ROM, the RUU restores everything on your phone to stock while the ROM just flashes the part you see. Until your phone is rooted you can only flash stuff that comes from HTC.

The zip includes most everything you will need so the sdk is unnecessary. Some people say the unrevoked drivers may interfere with the process but others have been ok using them.
[EVO 4G Android Development] RizzoPro:
How do you use the RUU I only have the 2 screens I can get to and only have an option for RUU..I tried the power key and nothing happens not unless its supposed to do everything in the backgroud...not sure where to go
[EVO 4G Android Development] xHausx:
The RUU is a program you run from your computer that will restore your phone like new. You can download the version you need from the link below.

When you run it it will give you instructions on what to do.

http://www.multiupload.com/U27BZXVWWI
[EVO 4G Android Development] hogetarian:
I could remove it using "adb remount".

Thank you.
[EVO 4G Android Development] Jbcarrera:
xHausx are you going to update to make this work with the new ota hboot?
[EVO 4G Android Development] MilanoRex:
I got my evo rooted! the only problem so far is connecting to hidden wifi networks - it doesnt allow you to connect to them at all until they're unhidden. Anyone have a fix for that??
[EVO 4G Android Development] smark72:
I just purchased an EVO. I currently have a rooted Epic 4g. The process to root the EVO seems to be a little different. I updated to 3.70 OTA this morning. Can I root that yet? Or do I have to downgrade to 3.30? I tried to run the ruu for the 3.30 and it said it was not compatible with the current hboot. So should I just wait until 1.9 is fixed to be able to root 3.70 version? I am a little confused.
[EVO 4G Android Development] xHausx:
The hBoot it is ok with, it's the 3.70 ROM itself that is the problem this time around. They blocked the exploit used to gain temporary root with from being ran through adb. There is a work around for this if you still wanted to use it though.

You can do it by running it and letting it fail, then reboot your phone. Once that is done download Terminal Emulator and type

./data/local/tmp/rageagainstthecage-arm5.bin

Give it a minute and then, back on your computer, run 'adb shell'

If it gives you a # sign you can then use AutoRoot

If it says $ you will need to wait try opening up some random app.

Type 'exit' after you've check for either # or $

Congrats on Rooting! You should be able to connect to wifi by using Add network and typing in the name for your network.

There's a link in between the blue writing in my OP to a thread with instructions to root the 3.70 OTA, if you are familiar with ADB the work around given above should work for you as well though.
[EVO 4G Android Development] onepanda:
Well, I was able to get root using the old alternate method.

Thank you!
[EVO 4G Android Development] dan0412:
I just wonder how much effort/resources (Sprint/HTC) puts in to ensure a better, more functional phone for its customers and what %age of that is devoted to just blocking exploits for rooting the phone.
[EVO 4G Android Development] MilanoRex:
Thanks for the reply xHausx, I did add the network(in the exact case-sensitive spelling) just like I would using the stock rom, but it still doesnt work. I've tried with two different routers. Any other ideas?
[EVO 4G Android Development] ccossin:
Understood. Another question: After "flashboot" and the Evo reboots to bootloader should it say S-ON or S-OFF at that time?
[EVO 4G Android Development] xHausx:
I'm pretty sure it will still say S-ON, I don't think I've ever checked at that point though.

Edit: Sorry man, I have to go somewhere for a bit and the download keeps slowing down so the time left is actually going up. @25min Keep trying the other mirror and double check that you have enough space left. A different browser may work better also.
[EVO 4G Android Development] ccossin:
I wasn't sure that the flashboot would work because my bootloader still said S-ON. Of course, It probably wasn't working due to the corrupted archive.

The exploit seemed to be working okay. After that the Evo rebooted into FASTBOOT (S-ON). I switched to BOOTLOADER and it showed "loading pc36img.zip" and a progress bar. After the progress bar was complete the screen cleared and showed "checking pc36img.zip" for a short time and then..... nothing. Just went back into the bootloader menu.

I tried the procedure a few times making sure to re-copy the missing files to the SD card, but no joy.

Hopefully the new uncorrupted archive will get things going.
[EVO 4G Android Development] ccossin:
Oooooh, I was SO close!

Okay, so, new information and issues.

I finally managed to get the full, uncorrupted pc36img.zip. Yay!

I managed steps 1 - 6 just fine except that rebooting put my Evo into a Bootloader loop. I couldn't reboot the phone. So, I tried having the Bootloader do the "update" again. Success!

I then proceeded to steps 7 - 11 with no problems.

Now we are at step 12. I selected Flash from Zip and selected the ROM. When the flash was completed I Flashed the Radio. Both seemed to complete just fine. However, when I selected Reboot System Now the Evo went into a splash screen loop. Sprint Splash Screen, 4g Splash Screen, back to Sprint Splash Screen, 4g Splash Screen, etc.

I did a battery pull and attempted to power phone up. No joy. Still stuck in splash screen loop. Did a Nandroid Restore to get the phone operable again.

I booted into recovery and flashed just the ROM and attempted reboot. Stuck in Splash Screen loop hell again.

I'm not sure where to go from here. Your help is greatly appreciated.
[EVO 4G Android Development] notasimpleway:
Had this problem as well.
[EVO 4G Android Development] ccossin:
Have you completed the procedure successfully or are you still stuck?
[EVO 4G Android Development] xHausx:
Did you make sure to wipe everything? Data & cache & dalvik

btw still trying to upload that, it slowed down to 20k so I just canceled out and restarted it again.
[EVO 4G Android Development] ccossin:
I was certain to do the Wipe procedure exactly as described. Everything seemed find until I got to flashing ROM and Radio.

Also, I mentioned above that I got a clean copy of PC36img.zip from your mirror link (3 tries, lol)
[EVO 4G Android Development] xHausx:
Right on, I'm glad you were able to get rooted but now it seems you need to find a working ROM :) I just tested the one I packed again and it came up normally, I would try wiping a couple times just to be sure and then try again. You may have just had a bad flash.

If that still doesn't work you can always download another ROM, put it on your sd card and then flash that one to see if it will work. When in the recovery select USB-MS toggle and it will mount your sd-card as a diskdrive.

edit: btw, just out of curiosity can you boot up into your bootloader and check on something for me? with adb type 'adb reboot bootloader' and when it comes up tell me what the very first line says
[EVO 4G Android Development] ccossin:
I'll try the wipe procedure a couple of times then attempt to flash the ROM you provided. It'll take me a bit. If I have to do a Nandroid Restore again it'll take longer.

EDIT: Well, I gave it a try. I ended up doing a Nandroid Restore ( a few times ). I even tried flashing the Radio FIRST and rebooting (which worked fine) and then flashing the ROM (which still put my evo into a splash loop). Finally, I just did a Restore and Wipe then flashing just the Radio so I could be sure of getting on the 'net to post this.

I'll have to find another ROM to try, but later (much later). I've been up all night working on this. It is now 5:30am here. Good night (morning?). See you later.
[EVO 4G Android Development] info[]box1:
i just read post #1-70.. my evo is the latest version.. i plan on driving into this after work.. thanks to the OP on the write up and to all the helpful member.. bbl
[EVO 4G Android Development] TrevE:
I just tried the new method with newPC36IMG. It runs OK, but when applying the PC36img i get a Fail-PU on radio_v2 and Fail-IC on bootloader. The phone never boots back after this it only goes right to a the recovery with a red triangle and the !

For the record the only PC36img ive been able to flash without getting this error is taking the rom.zip outa the latest RUU and renaming it to PC36img.
[EVO 4G Android Development] xHausx:
That shouldn't happen with this pc36img. Did you run unrevoked or try rooting a different way first?
[EVO 4G Android Development] TrevE:
I ran unrevoked previously and failed. before i starteed this tutorial today i ran the S-ON to "unroot" and i ran a RUU.
[EVO 4G Android Development] xHausx:
You'll need to ask someone in the unrevoked team how to fix it. They change something in the radios to unlock NAND protection that, from what I understand, does not get touched when updating or running an RUU. They won't release their methods so they are the only ones who can help you fix it.
[EVO 4G Android Development] TrevE:
Figures. Guess ill bring it to a sprint store and get a new one at this point. Will probably be easier. Thanks man
[EVO 4G Android Development] xHausx:
Sorry Im not able to help but I don't have the slightest idea what they do to them.
[EVO 4G Android Development] ccossin:
First line says "SUPERSONIC EVT2-3 ENG S-OFF"

Also it seems HBOOT has been downgraded from 0.97 to 0.76.2 and the date on the last line has regressed several months.

Gonna try locating another ROM today.
[EVO 4G Android Development] lovesazu:
Guys here is ma EVO INFORMATION

Android Version 2.2

Baseband version 2.15.00.09.01

Kernal Version 2.6.32.15

Build Number 3.29.651.5

Software Number 3.29.651.5

Browser version webkit 3.1

Pri version 1.77

Prl Version 60671

==================================================

guys can i use this method & files mension to the 1st post for my handset ????

Regards
[EVO 4G Android Development] jakpan:
Keep getting an error that says "error writing recovery: No space left on device" whenever i type in "flashrecovery"

Can someone please help me get recovery on this thing? What am I doing wrong?
[EVO 4G Android Development] dshook19:
Ok every time I click on the autoroot file the command prompt shows up and say searching then just shuts itself down without doing anything to my phone.. any ideas?
[EVO 4G Android Development] xHausx:
Can you try running it through a dos prompt and see what it says?
[EVO 4G Android Development] dan0412:
Several possibilities:

1. ADB is not 'seeing' your phone

2. You may need to restart the ADB server (Type 'restartADBServer' from the command prompt)

3. Your phone may not be properly connected to the USB port.
[EVO 4G Android Development] RizzoPro:
I tried the RUU but it does not see my Evo...I uninstalled HTC Sync and rebooted and reinstalled..If I go to device manager..it looks like the driver is loaded..its under ADB device and the driver is called htc boot loader. Should I be using something else? The PC sees my phone but not any software.

Any Suggestions would be appreciated.

Thanks!

This forum is very cool!
[EVO 4G Android Development] xHausx:
Glad that worked out, thanks for reminding me about it to. I started to forget it was there. lol

Apparently more effort than they put towards security, you would think they would stop it from being ran from an app before worrying about ADB but I guess not.

You may need to reboot to your recovery and wipe your cache & dalvik. If that doesn't fix it then you may want to start trying with different kernels.
[EVO 4G Android Development] xHausx:
You'll need htc sync installed for it to work, it also sounds like you may have unrevokeds modified drivers installed. If so try uninstalling them.
[EVO 4G Android Development] dshook19:
What do I type when running it through dos?
[EVO 4G Android Development] dan0412:
Yes. HTC Sync doesn't play nice with the unrevoked modified hboot drivers. After Installing HTC Sync (2.40 preferably), I'd reboot.
[EVO 4G Android Development] dshook19:
It keeps saying "echo was unexpected at this time"
[EVO 4G Android Development] dan0412:
Type 'adb devices' without the quote before running it again.
[EVO 4G Android Development] RizzoPro:
Yeah I think I do cuz I tried unrevoked...fortunetly it didnt break the phone...so I tired this..I am going to uninstall , reboot, reinstall, reboot hopefully Ill have good news to report back
[EVO 4G Android Development] Evo_tech:
I have so far followed your direction to the best i can.

However. it brings up the command prompt and just sits there saying checking for ADB.

I am on my own computer so i am using this as the administrator like it says to do if it just sits there and flashes the cursor in the prompt.

Is there something I am missing here?

S-on

Hboot 2.02.0000

Now another question. Do i need to put any of these downloaded files onto the sd card for the command prompt to work correctly?
[EVO 4G Android Development] RizzoPro:
Yeah! I finally got it to work again...I removed all instances of drivers and uninstalled HTC sync I then rebooted and installed HTC sync and rebooted again. Ran the ruu program and plugged in my evo when it asked and WOW it did its job correctly. I have learned alot about this thru the process and gotta say that it was worth the efferot and headaches just to learn more about this. So thanks alot to evrybodys responses it surely helped to get my phone back.

I think it was a driver issue all the time and when I tried autoroot I think the unrevoked drivers were installed I know have drivers called my HTC so I am back to the original.

Kind of sceptical to try this again anybody got this to work on EVO 3.30 hboot 2.02.0000?

Thanks Again!!!
[EVO 4G Android Development] dshook19:
What screen do I ruu from? Hboot or the white HTC screen I keep getting stuck on?
[EVO 4G Android Development] xHausx:
I have had a few people say they had to run it from a dos prompt to get rid of that. You'll need to type "cmd" in the box on your start menu to open the DOS prompt. Once that is open use 'cd' followed by a space and then the location of the autoroot folder. For ex., if it is on your desktop you would use 'cd C:\users\(login name)\desktop\AutoRoot'. Since my login name is Jon I use "cd C:\users\jon\desktop\autoroot"

once there just type autoroot and it should run normally
[EVO 4G Android Development] xHausx:
Awesome, now that you have the RUU working what are you waiting for? :)

In the hboot select Fastboot so you see the word fastboot with a red background behind it, then try the RUU again.
[EVO 4G Android Development] clar8299:
I have the same issue. I was able to get out of the HTC screen by doing a battery pull and rebooting. At this point my phone is usable but still not rooted.
[EVO 4G Android Development] QuiQNeZZ:
Yeah that's what I ended up doing. It reset the phone back to factory. Wife is gonna hate me as I had it set up for her pretty nice. Oh well, at least it's not bricked. Haha.

Sucks though that it seemed like it was going to end all good but then failed towards the end. It said that it made a NAND backup though. Didn't think that was possible unless the recovery image was flashed which means it had to have root?

Do you know how to get to the recovery screen on the EVO?
[EVO 4G Android Development] clar8299:
I think you hold the volume down button while holding the power button when the phone is off.
[EVO 4G Android Development] RizzoPro:
LOL..ok now iget the checking for ADB... with the blinking cursor. I started up cmd in administrator mode and navigated to my autoroot_v1.9 and ran it and the blinking cursor.

Is there any thing else I should know about this? Administrator mode, USB debugging on,

Charge only, HTC Sync loaded...?
[EVO 4G Android Development] QuiQNeZZ:
Got it, I knew about that method but as with my hero I thought it was a different way. Seems like that the recovery option is on that screen but when I select it I just get a black screen with a picture of a phone and an exclamation mark inside a triangle. Have to battery pull to reboot.

Anyways, looks like there was a mess up somewhere along the script.
[EVO 4G Android Development] fredrik949:
same thing here. I noticed that the process installed an older version of the phone software. anyone know if it is safe to run th RUU back to the original version?

Edit: answer to this is yes, just tried it and works fine. also I sent XhausX my log and he is working on a fix for it, so anyone who is stuck in the same boat just hang tight.
[EVO 4G Android Development] RizzoPro:
Anyone know where I can get the PC36IMG.ZIP file needed for this...my sd card deosnt have it anymore and I need it to finish the process
[EVO 4G Android Development] RizzoPro:
Ok so now I am rooted!! Thanks! At least I think its rooted,when I press the power button and the vol down button it says s-off...does that mean its rooted or is there another way to tell

Thanks!

And thanks everyone and especially the author for all your hard work and help!!
[EVO 4G Android Development] RizzoPro:
Nope..not rooted yet I tried a few things and it says no root access...gonna try a few more things...more later

Thanks!
[EVO 4G Android Development] xHausx:
Hey all,

I was finally able to use a computer so I could udpate/upload this. Just remove the .txt extension from it and replace the old autoroot.bat with it.

If you can boot into the ROM you should be able to just run it normally and it will do whatever is needed to finish rooting. If it fails or you are unable to boot the ROM you will need to run the RUU first.

Let me know how it goes!