yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] xHausx:
The sd card error is a bug in this version, you can use the RUU or another OTA to update again and it should start recognizing the card and fix that with it closing out.

Could you also do me a favor and send me your autorootlog.txt file to help me fix it?

yup, your nand is still locked. To get to fastboot mode you can run the FlashZip file while your phone is on and cancel out of it or you can get to it through the hboot by pushing volume down and power to turn it on. It will come up saying searching for blah blah and then should show a menu saying fastboot, recovery, etc. Push the power button and it will place it in fastboot mode. From there you can run the RUU.

There's really no reason to take it back unless you are wanting to try and get one with the older block size. Since yours has the newer one it won't start with the old software and that is why your phone is hanging on the white splash screen. All it needs is to be updated.
[EVO 4G Android Development] Action B:
So old phones have old block size?

New phones have new block size?

How does updating a phone to the NEWest software make your phone have the old block size?

Or do I have this wrong? Also how can one tell which they have?
[EVO 4G Android Development] gpz1100:
In terminal/console, type cat /proc/mtd

If the erase blocksize is 40000 (bytes?), you have the newer version, if 20000, you have the older. The blocksize is determined by the actual nand memory chip(s) used inside the device. You cannot change it. Older software does not support the larger size.
[EVO 4G Android Development] Action B:
I'm guessing its not good that I have no idea what your saying.....

How do I get to this terminal/console?
[EVO 4G Android Development] gpz1100:
Go to market, download yourself a terminal program.

I use connectbot - https://market.android.com/details?id=org.connectbot

Your output will look something like this (taken from my router).

Tomato v1.21vpn0087

BusyBox v1.2.2 (2008.10.14-01:59+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00020000 "pmon"
mtd1: 007a0000 00020000 "linux"
mtd2: 0025d900 00020000 "rootfs"
mtd3: 004a0000 00020000 "jffs2"
mtd4: 00020000 00020000 "nvram"
#
[EVO 4G Android Development] Action B:
Okay, I downloaded that but I have no idea how to use it or exactly what it does. I want to root my phone but I don't understand anything even though I have read for days on this forum. I really wish I had a friend locally that knew about all this stuff and could help me out.

I'm usually pretty savvy and do a lot of stuff myself and teach myself but this is kind of different than what I usually do.
[EVO 4G Android Development] xHausx:
Just to add to what gpz said, all of the older phones have the 20000 erase size (old block size) but starting with late 003 and the 004 hardware versions they started using a new one as well, which are the 40000 ones. So all of the old phones are 20k but the new ones are a mix of 20k and 40k.

Another good terminal app is Android Terminal Emulator by Jack Palevich, I actually borrowed some of the source code from it to build the autoroot.apk with. Personally I find it easier to use ADB instead, having an actual keyboard is a lot faster for me. To do it that way run the OpenShell.bat file, that is included in the autoroot folder, and when the prompt comes up type, "adb shell cat /proc/mtd" without the quotation marks.
[EVO 4G Android Development] Action B:
Okay, that was a lot easier to do than the other way with the app.

I have the 20000 one, which is the old one. Is this more compatible with autoroot?

Also, when I put my phone in usb debugging it automatically installed a couple drivers including one that said adb, android and another I forgot. Are these drivers supposed to be installed? I recall you saying that some drivers interfere with the autoroot script and all I need is the newest htc sense drivers.

My evo is actually only 2 months old. I got the white one from costco I thought it looked cooler :).
[EVO 4G Android Development] gpz1100:
@ActionB, I would do some more reading.. This isn't rocket science, but depending where you're coming from may be confusing. Even more so if you don't have the basics down. The best place to start is reading all the stickies in the various evo sub forums - on here, and elsewhere (androidcentral, androidforums, etc..) I have years of dos and windows background, so picking up the concepts here wasn't all that difficult, albeit different.

Perhaps the guide in this link - http://xdaforums.com/showthread.php?t=829045 - would be more to your liking as it breaks down what is automated here into a number of manual steps.

@xhausx, "Android Terminal Emulator" does it properly handle the control key code translations for key up/down? (repeat last line(s)). That's been my only beef with connectbot... I get a bunch of ^[codes when doing such keys.
[EVO 4G Android Development] Action B:
I guess I'm not ready yet lol.

I'll keep reading maybe in a few more weeks I will be.
[EVO 4G Android Development] xHausx:
With the evo being my first phone android phone as well as the first device I've ever rooted/hacked I was weary like you, it was only when I dove in and just went for it that it started to make sense to me. As long as you remember two key things you'll be alright: never let the phone die, or pull the battery, while it is flashing anything and don't mess with the radio (aka diag mode). Trust me when I say I've seen people do some crazy things to their phones and no one who has a phone like yours has ever actually bricked it unless they do one of those two things. Since you have the old erase size you also don't have to worry about it hanging on the splash screen; your phone will work with any of the RUUs as well as the eng bootloader.

If you wanted to give Zikronix's way a try it is a really good way to familiarize yourself more with adb and getting around the bootloader & recovery. If you get stuck during it I'll be on for awhile tonight and if you do it later there will always be someone around that will be able to help you out with it.

The basic steps to rooting are:

Get a temporary root shell so you can get access to the misc partition.

Flash the misc partition so the bootloader thinks you have old software and will let you downgrade.

Flash the engineering software from the bootloader that will give you the unlocked eng bootloader and/or let you use ADB in the recovery.

If it did not let you downgrade to the eng bootloader start the recovery and use it to flash unrevoked forever for s-off.

Flash a rooted ROM, recovery and updated radios through the bootloader

Unfortunately not, that's my main issue with it as well. I believe they share some of the same code in that aspect but ATE lacks the connectivity of connect bot.
[EVO 4G Android Development] Action B:
Haus, how long will you be on for tonight and will you be on tomorrow at all? I use my phone as GPS for work (I do travel marketing) so its a must to have minimum downtime. I know you have other things I'd just like to go for this when you'll be available to help. I'd rather try your autoroot way first for time efficiency.

Thanks a lot. - Brandon
[EVO 4G Android Development] xHausx:
I have a few projects I've been working on so I'll be at my computer for awhile still. Since you are lucky enough to get one with the old erase size your phone will be fully functional throughout the entire process in case you need to stop mid way through. You will lose all of your apps once you downgrade the software but titanium back up will be able to restore them.
[EVO 4G Android Development] Action B:
I can redownload them through the marketplace whats the benefit of titanium backup? I dont use THAT many apps lol, though i guess I will lose my place in angry birds. Where do I get titanium at? Marketplace?

Pics on my SD card, music and other stuff.. will they be lost?

My google account has most of my contacts, so they will be automatically uploaded when I resign into my new rom with my google username right?

I'm looking at trying this in the next little bit more than likely. I have sunday off of work so its a good night to do this.

Should I also clear any data or anything I hear a lot about wiping cache or something like that. Thanks for your help I'll certainly be donating again after all this.
[EVO 4G Android Development] xHausx:
Nothing on your sd card will be deleted and angry birds, I believe, automatically saves to the sd card. So it might be safe. Using titanium is entirely optional though, if you don't have too many apps it may be easier just to redownload them later. Any contacts that are saved to your google account will be restored automatically but you can also save them to your sd card by going to People -> Menu -> import & export
[EVO 4G Android Development] Action B:
One last thing, whats the risk of trying my vista machine for this? Its my most reliable computer. My girlfriends XP sometimes overheats and cuts off randomly. I can get ahold of a windows 7 machine but it wont be until tomorrow.

I have 2.23GB available on my SD card and 187MB on my internal phone storage.
[EVO 4G Android Development] xHausx:
Shouldn't have any trouble with vista and you got plenty of sd card space. You're good to go :)
[EVO 4G Android Development] Action B:
I was just about to start rooting when I realized that the 3.70.651.1 RUU when I try to open it or extract it says "invalid". I downloaded from two different mirrors and same error both times. Any suggestions? I was going to put it on my desktop incase I needed to recover.

Thanks- As soon as I get a response I'm ready to move forward.
[EVO 4G Android Development] xHausx:
You shouldn't need to extract the RUUs, the copies of it in PC36IMG.zip form are signed from htc so unzipping it will break the signature. As long as the MD5 matches up they should be good.
[EVO 4G Android Development] Action B:
I figured it out I was copying the wrong link but what does MD5 mean? I'm going to start now.
[EVO 4G Android Development] xHausx:
It's a kind of checksum, a unique number created from the file so you can tell if anything has changed or not.

Hash tab
[EVO 4G Android Development] Action B:
Rooting process took 18 minutes. No issue at all phone runs great. Tried 4g it connects easily and works fine.

Thanks so much Haus you couldn't have made the process easier. I filmed the whole thing but ran out of memory as soon as it said click to close the program. I can post it on youtube but its basically the same as randyshear's video.

I'll donate the other half of my contribution very soon.
[EVO 4G Android Development] xxbigfootxx:
Can't get the custom recovery to load on 2.10...help?

My Hboot version is 2.10.0001. Top line says S-ON.

I am rooted with the Sprint Lover's rom installed but can't get the custom recovery to install. I have tried all 3 methods posted at the beginning of this thread.. I have confirmed through ADB shell that I am rooted. Flashrecovery.bat seems to run properly but I reboot into the red triangle every time after each attempt. Any suggestions?

Sorry if this is covered in this thread but I looked through about 20 pages and couldn't find any help.
[EVO 4G Android Development] xHausx:
Glad to hear it went well, not near as bad as it seems eh?

You'll need to get S-OFF before you can flash anything, especially if you started to root with another method you'll want to get a clean install from a RUU and start from scratch.
[EVO 4G Android Development] xxbigfootxx:
I've only used the methods posted at the beginning of this thread starting with autoroot, then the "old universal root, then "alternate method". Do I still need to RUU back to stock and restart? Is there a way to get S-OFF without doing that?
[EVO 4G Android Development] xHausx:
Possibly, have sprint lovers reboot your phone into the recovery and try to run the autoroot script. If it's able to find your phone you should be able to continue from there.
[EVO 4G Android Development] xxbigfootxx:
OOps...never mind...there are 3 RUUs at the beginning of this thread. I should look harder I guess.

I tried that with no luck. I guess I will RUU and start from scratch. I've never used RUU. I've done a little research and it looks pretty straight forward but I have no idea where to download the RUUs from. My searches haven't helped can someone point me in the right direction?
[EVO 4G Android Development] Action B:
2 questions after running my newly rooted evo all day.

1. I'm understanding that your program made a backup of my phone and wiimax paritions etc. Where did it save these at incase I ever need them?

2. Why is it that when I press the unlock key on top and then slide down the grey bar that my main sense clock always initially says it is 1 hour and 2 minutes ago and then immediately folds down to expose the correct time? For instance right now its 9:51, when I slide down the unlock bar after pressing the top button, it shows 8:49 for just a moment then the animation reveals the true time of 9:51? Is that a bug or something?

3. Actually I have a third question, how do I create another back up if I want to now?
[EVO 4G Android Development] amart79196:
finally got mine working..

Finally success...Now just a few questions remain:

1. Can I use the system update if sprint puts out an update to gingerbread without it doing damage? and will that unroot if I did?

2. Do you have a script I can run that can put the phone back to original condition where a tech will not be able to tell I messed with and rooted it for warranty repair reasons if it needed to go back to a sprint store?

3. Will you make an autounrooting script?

4. From what I believe the Sprint lovers rom is now on my phone as I believe it was included inside the autoroot2.3 scripting software. Is there a way I can get the stock rom on there without any chef's additions...I am experiencing some buggies with this current rom, but it is overall pretty nice. Just hate the bugs and found that stock was pretty solid. Any info on that would be greatly appreciated.

Thanks in advance.
[EVO 4G Android Development] xHausx:
1) your nandroids are saved on your sd card under the /nandroid/ folder

2) that's just for effect, I think it's normal with 3.70

3) if you hold down power like you would to turn your phone off there should be an option to reboot in to the recovery now, you can use that to get to the recovery to make nandroids and flash roms

see: http://xdaforums.com/showthread.php?t=865204

1) automatic updates will always unroot you, usually someone will have a rooted a rom out on here before you'll even get the notification for an update though

2) not yet, I've thought about making one to help with it but it probably won't be until after I get all the bugs worked out of this. It's only two steps so it's easy enough to do though

3) ^^

4)sometimes a wipe of you cache/dalvik cache is all thats needed if it is acting weird, you can find a completely stock rooted rom below though

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

http://xdaforums.com/showthread.php?t=699847
[EVO 4G Android Development] b0tes:
Worked like a charm--once I executed the autoroot batch file, I barely had to perform any added tasks.

Thanks to all for putting this together and keep up the great work!
[EVO 4G Android Development] Action B:
Would it be beneficial/safe for me to clear my cache/dalvik cache? What is the best way for me to do this?
[EVO 4G Android Development] CheesyNutz:
worked perfect tyvm !

what files can i remove from my sdcard after im finished ?
[EVO 4G Android Development] xHausx:
I usually do anytime I'm in the recovery just out of habit but it's not always necessary. If your phone is not acting right it may help but the only time it is a must is when change system files out roms.
[EVO 4G Android Development] xHausx:
Yw, only files that should be left are the unrevoked files if, it was needed, and mtd-eng.img. They will be under urfsoff.zip and urfson.zip. If you used the quick method you'll have just the updated radios on there instead.
[EVO 4G Android Development] CheesyNutz:
there small files ill leave them its ok to flash the newest 2.3 recovery right ?
[EVO 4G Android Development] Truaim:
Rebooting into recovery...

[Screen goes to red hazard and exclaimation]

Waiting for the phone....

**Daemon still not runningerror: Cant connect to Daemon**

**Daemon still not runningerror: Cant connect to Daemon**

**Daemon still not runningerror: Cant connect to Daemon**

**Daemon still not runningerror: Cant connect to Daemon**

**Daemon still not runningerror: Cant connect to Daemon**

I was running all supported software. Please help.
[EVO 4G Android Development] paulieb81:
I too was having the error using the newest script. I have used your older script before, I think it was the 2.2 version and all went well with it. But yesterday I tried rooting a friends phone and it got stuck and I had to restore it with the RUU. I will attach the log for you to review, could you please let me know what went wrong, I don't think it was anything I did, as I followed instructions and have used your previous version before just fine on another phone.
[EVO 4G Android Development] aplacetorest:
This happens EVERYTIME i try to do this. I install a fresh stock RUU after every attempt as well.

Starting ADB server...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

Checking MTD configuration...

Phone uses the old block size.

Firmware version '3.70.651.1'

Battery is at 100 percent.

The ADB Shell does not have root permissions.

Installing exploit...

Rooting...

Looking for Root...

Restarting ADB Server...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

Failed to get a root shell, please restart your phone and try again.

Press any key to exit...
[EVO 4G Android Development] reedsw:
Tried rooting last night. Got hung up on an issue. Then was getting a non connection issue with HTC sync so uninstalled drivers and HTC sync and reinstalled.

Ran Autoroot again (log attached)

hboot 2.10 that shows a recovery option

S-ON

At a loss.
[EVO 4G Android Development] tauzins:
for people using the autoroot file and they seem to be having connection issues midway, try using the HTC SYNC from SPRINT!!!! do not use the one from HTC (newest), this seemed to solve my problems.

also this supports hardware 004 correct? b/c i had 2 failed areas when it was doing the begining steps... like radio_v2 failed pu
[EVO 4G Android Development] teddykgb715:
Log is attached. Help!
[EVO 4G Android Development] Phantisy:
I was using the HTC version and tried 3 times. I then removed that and installed the sprint version and it worked on the first try. Thanks for the tip :)
[EVO 4G Android Development] xHausx:
yup, any recovery should work.

It looks like you may have had a bad flash, usually reflashing the pc36img or restoring and retrying is enough to get it to continue.

Can you check under settings->About->Software and see what it shows for you Build and Software numbers for me? It's giving a diff version number than it is expecting and for some reason it is causing it to break the script.
[EVO 4G Android Development] xHausx:
Tauzins if that fixes the adb issue I may have to drive over to Leesburg and give you a hug. lol I've been trying everything to get adb to act right and it was probably something htc did to it all along.

You should be good with the radio error as well, it throws that on phones with the larger nand block sizes. That's actually the reason why some phone have to flash it through the hboot while others can do everything over fastboot.

You got an odd one there, the recovery was there for a second and then changed to offline. Try starting it again from fastboot mode and see if it does anything different.
[EVO 4G Android Development] xHausx:
Was this the copy of sync that fixed the adb errors for you guys?

http://shop2.sprint.com/en/software_downloads/pda_smartphone/htc_evo.shtml
[EVO 4G Android Development] Action B:
FWIW I used Sprint drivers and didn't have to do a single thing the program ran smoothly and and worked perfectly.
[EVO 4G Android Development] teddykgb715:
I'll try that, it's my buddy's evo, I've had mine rooted forever. When it was trying tor reboot the last time it seemed to hang up at the "HTC something brilliant" screen and then the script errored out and the phone booted up normally. Not sure when I'll see him again but I'll try it then.

Also, how does one start it from fastboot mode?
[EVO 4G Android Development] Lonely Raven:
I'm stuck at the beginning. The autoroot attempts to root, but then just doesn't.

I do have debug mode on.

Fully charged.

Brand new phone hardware version 03 and software version exactly like the example video in the first post.

Edit to add: I tried the HTC from HTC first, but when that didn't work, I uninstalled it and tried the Sprint one linked above. Still no go.
[EVO 4G Android Development] kirk1978:
Something happened during my root and now I'm still unrooted but my software has changed to:

filmware 2.1

baseband 1.36.00.04.02

build number 1.17.651.1

software number 1.17.651.1

My phone will also not go into recovoery.....it just gives me the triangle screen.

What do I do?
[EVO 4G Android Development] stonemad:
hey kirk, this is the same thing that has happened to me. Do you have the white back? I was curious because the root seems to think I have an older phone. I have heard that the fragmentation of android makes it real hard for some people using the auto-root. On the DOS prompt I also get that daemon cannot start, and it seems like once I am in recovery, the root cannot find my phone.
[EVO 4G Android Development] Chaid:
Can't download Zip file

I have tried to download autoroot_v2.3.zip from all 5 links supplied and everytime it is just about to finish i get an error.

AutoRoot_v2.3.zip.part could not be saved, because the source file could not be read.

Try again later, or contact the server administrator.

What the heck am I doing wrong?

Can someone give me another link that works perhaps?

Thanks for your time.
[EVO 4G Android Development] andrewluccio:
Error now stuck at white htc evo screen

I got errors saying that daemon could not be started, and nothing was progressing in the autoroot, so I took out the battery and put it back in. Now when I turn the phone back on, the white HTC Evo 4G screen comes up and stays there. I have an RUU downloaded but not on my sd. Any suggestions?
[EVO 4G Android Development] Action B:
Actually it appears I have 2.0.40 htc sync. I did not install it from my sd card because I didnt know you could at the time I installed it.