yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] BIGWORM:
So after this, we only have to worry about Roms running with new versions to let the 0004 cameras work, right?
[EVO 4G Android Development] xHausx:
Correct, you will still need ROMs based on 3.30 and you will still need to use the new kernel. It automatically copies the newer kernel on to the SD card so it is there to use though.
[EVO 4G Android Development] xxassassinxx:
ok trying now currently at the flashing firmwire window all good so far:)

ill edit this post once it finishes:)
[EVO 4G Android Development] _MetalHead_:
So it is confirmed that this works fine with 004s with 2.02? I am about to root my buddy's EVO and just want to make sure.

Also, does this set S-OFF?
[EVO 4G Android Development] xxassassinxx:
it currently says in the dos window

rebooting...

looking for phone...

setting RUU mode...

reflashing the userdebug firmwire

rebooting...

setting the RUU mode...

reflashing the userdebug firmwire...

also if it helps my phone vibrates a couple times then the green bar under HTC turns red for a sec then continues green but places an ! inside a triangle at the end...this process just keeps going...

ect help please?
[EVO 4G Android Development] xHausx:
it keeps going back and forth between green and red? Don't interrupt your phone while it is in that screen, just let it do its thing.

If you use IRC you can also find me on freenode.net under the name Roach
[EVO 4G Android Development] xxassassinxx:
no its green then flashes red for just a second and goes back to green

generally after if passes just after the "H" in HTC

then little white exclamation points appear inside of triangle in 4 corners of my screen and at the end of the green bar

could you add me on msn? wesleyg4231@hotmail.com
[EVO 4G Android Development] xHausx:
k, from the dos prompt press Ctrl+C. Can you upload the logs for me?
[EVO 4G Android Development] xxassassinxx:
yes here is the log what should i do about my phone its at black htc screen with 4 triangle in the corners
[EVO 4G Android Development] xHausx:
ok, one sec. It shouldn't have let it try to flash more than twice but for some reason it didn't catch it. How much battery did you have when you started?

To fix it you need to download the 3.30.651.2_PC36IMG.zip in my OP and place it in the autoroot directory. Once you've done that open a dos prompt, move to the autoroot directory and then type 'fastboot flash zip 3.30.651.2_PC36IMG.zip'
[EVO 4G Android Development] xxassassinxx:
98% battery about also im in freenode.net as xxassassinxx
[EVO 4G Android Development] xHausx:
Excellent, glad to hear your battery is good. I can't find you on IRC, if you join the #htc-evo channel I will see you
[EVO 4G Android Development] xxassassinxx:
IRC isnt working for i guess we can continue on here or on msn if you wouldnt mind please..
[EVO 4G Android Development] xHausx:
I'll have to set it up so it will be a few. Did you see my post about the 3.30_PC36IMG.zip? Flashing that one will restore it back to stock, we can continue on and unlock it manually if you want though
[EVO 4G Android Development] xxassassinxx:
no which post is that?

ok when you get msn set up mine is wesleyg4231@hotmail.com
[EVO 4G Android Development] xxassassinxx:
how would i go about flashing that. ill just wait to root until all the kinks are worked out

also should i go ahead and turn off my phone to save battery?
[EVO 4G Android Development] xHausx:
back one page...
[EVO 4G Android Development] xHausx:
right on, just download the file and flash it using the fastboot command I gave you.

Can you get to the bootloader menu? You should be fine but if you can put it in recovery mode it should charge from there.

If you do put it in recovery mode just run the start-recovery file and amon_ra will come up.

edit: 'fastboot reboot-bootloader' will bring up the menu
[EVO 4G Android Development] xxassassinxx:
ok downloading the 3.30 now,

i cant get to the bootloader its stuck on the black htc screen with white triagles in the corners
[EVO 4G Android Development] xHausx:
what does it say when you type 'fastboot devices' ?
[EVO 4G Android Development] xxassassinxx:
C:\Users\Wesley\Desktop\AutoRoot_v1.1>fastboot reboot-bootloader

rebooting into bootloader... OKAY

(comes back to the same black htc screen)

C:\Users\Wesley\Desktop\AutoRoot_v1.1>fastboot devices

HT0BHHL13937 fastboot
[EVO 4G Android Development] xHausx:
ok, type 'fastboot oem rebootRUU' to go back then. how long do you have on the download?
[EVO 4G Android Development] xxassassinxx:
ok i typed fastboot oem rebootRUU and its still came back to the black htc screen...

the download is finished.
[EVO 4G Android Development] hellgod77:
does not work, this run on x64

------------ AutoRoot.bat Begin - Sun 12/12/2010 10:56:04.49

Params=1'' 2'' 3'' 4'' 5'' 6''

Checking for ADB...

PLEN='1' PSTATE='device' RETURNTO='s1'

------------ AutoRoot.bat Begin - Sun 12/12/2010 11:02:16.96

Params=1'' 2'' 3'' 4'' 5'' 6''

Checking for ADB...

PLEN='1' PSTATE='device' RETURNTO='s1'

is my error log says adb not found
[EVO 4G Android Development] xHausx:
Still working some bugs out of it, at this point it looks like it may need some intervention to finish
[EVO 4G Android Development] xxassassinxx:
major props to xHausx for helping me fix my phone...you da man haha:cool:
[EVO 4G Android Development] xHausx:
If you have win 7 try running it as administrator, if not you'll need to open a cmd prompt and run it through there

Sorry it didn't work out for you, looks like it's still not very consistent yet
[EVO 4G Android Development] skeith223:
So let me get this right My wife has a new evo with 2.02 hboot,froyo, and 3.30, will this root her evo or is there another method...
[EVO 4G Android Development] hellgod77:
tried runnin as admin i get this

Checking for ADB...

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

operable program or batch file.

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

operable program or batch file.

The phone could not be found or was not ready. ADB reports it as 'not found'

instead of being in 'device' mode. Make sure ADB debugging is turned on and

the phone is in the correct mode.

Please post your autoroot.log file to the XDA thread or send it to me directly

at haus.xda@gmail.com

Press any key to continue . . .

will not go farther
[EVO 4G Android Development] cj10488:
I get this. I already ran the 3.30.651.3 ruu and get the same error

Checking for needed files...

Flashing misc partition...

Rebooting in to bootloader...

Setting RUU mode...

< waiting for device >

... OKAY

Verifying bootloader status...

hBoot version '2.02.0000'

Version Major '2'

Version Minor '02'

HBOOT AND /PROC/MTD MISMATCH!!

MTDCON 'new' - BOOTV 'na'

Passed to ERRHANDLER

Attempting to dump the recovery log.
[EVO 4G Android Development] ninjaryder9r:
my inbox was empty. can you resend
[EVO 4G Android Development] xHausx:
I will have to change it to use the full path when running adb, I have to leave for awhile so I won't be able to get to it till later. In the mean time you can try to running it in a dos prompt to see if it will work but it will most likely fail verification for your bootloader.

There was a typo in the code, it's looking for version 3 instead of version 2. I have an updated version but there were a few other things I had to fix as well so I have to wait until I get back to test it.

k, sent
[EVO 4G Android Development] hellgod77:
still fails

all i get now is this and i have went back to the originall RUU from the .exe file on pc

Your hBoot version does not match your MTD's configuration! If you have

previously tried to root you MUST run the RUU before continuing. You can

leave your phone as it is and run the RUU from here or to reboot use

'fastboot reboot'.

Aborting!
[EVO 4G Android Development] snandlal:
Xhausx knows his ****. If he helped you, donate to him so he can keep helping
[EVO 4G Android Development] dkdude36:
wow haus. you finally hit the nail on the head. almost beats unrevoked, AND works on the ota. i will try to port to mac. this is really fantastic.
[EVO 4G Android Development] dodge972:
how do i run ruu

Microsoft Windows [Version 6.1.7600]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>cd c:\autoroot_v1.1

c:\AutoRoot_v1.1>autoroot.bat

Checking for ADB...

Found the phone through ADB.

Checking MTD configuration...

Phone has the new partition structure.

Checking for root...

The ADB Shell does not have root permissions.

Pushing res\rageagainstthecage-arm5.bin to /data/local/tmp/rageagainstthecage-ar

m5.bin...

*This will take a few moments, please do not disturb this window or your phone

until it finishes...

Looking for the phone...

Found the phone through ADB.

Checking for root...

Got Root!

Pushing needed files to the phone...

Pushing res\flash_image to /data/local/flash_image...

Flashing misc partition...

Rebooting in to bootloader...

Setting RUU mode...

Verifying bootloader status...

Your hBoot version does not match your MTD's configuration! If you have

previously tried to root you MUST run the RUU before continuing. You can

leave your phone as it is and run the RUU from here or to reboot use

'fastboot reboot'.

Aborting!

Please post your autoroot.log file to the XDA thread or send it to me directly

at haus.xda@gmail.com
[EVO 4G Android Development] kusports:
I have downloaded AutoRoot_v1.1.zip and tried to install. I received the below error.

Pushing res\mtd-eng.img to /sdcard/mtd-eng.img...

ERROR Could not find '/sdcard/mtd-eng.img'!

Make sure it is in the same directory as autoroot.bat and try again.

I have emailed you the log as requested.

Thanks!

Don

Updated. I just uploaded the log file.
[EVO 4G Android Development] PrOpANe84:
Need some help guys, i'm having trouble getting this to run. I plug the phone in on charge only with debugging enabled, run autoroot, and it stalls shortly after on the this will take a few moments step. Any ideas? Help would be greatly appreciated =)

c:\Incoming\AutoRoot_v1.1>autoroot.bat

Checking for ADB...

Found the phone through ADB.

Checking MTD configuration...

Phone has the old partition structure.

Checking for root...

The ADB Shell does not have root permissions.

Pushing res\rageagainstthecage-arm5.bin to /data/local/tmp/rageagainstthecage-ar

m5.bin...

*This will take a few moments, please do not disturb this window or your phone

until it finishes...
[EVO 4G Android Development] xHausx:
Thanks bro, if you could get it ported to Mac that would be great. I don't have one so I am unable to do it myself.

Whats all of this "almost beats them" talk though? :)

It's getting a permission denied error when trying to read your sdcard, you may need to mount it and have windows scan it for errors or maybe copy everything off of it and then reformat it.

Sometime it just takes awhile or just doesn't want to cooperate, it should time out after awhile. Usually rebooting the phone is enough to fix it.

Once you get past that you should be good to go.
[EVO 4G Android Development] skeith223:
Mine is doing the exact same thing...any ideas would be greatly apreciated...
[EVO 4G Android Development] xHausx:
Did it time out? Sometimes it takes awhile but it will eventually give up if it takes too long. If it does try rebooting your phone or turning ADB debugging off and then back on.
[EVO 4G Android Development] skeith223:
Okay this is what it says now and it just hangs on the black htc screen and then I pull the battery and it goes back to the regular sprint splash screen...
[EVO 4G Android Development] collin1806:
help please :)

phone went threw everything and said it was rooted and all. and said press any key to continue i did and cmd closed and now its stuck on a black screen that says htc. still working? or do i need to start over...kinda confused lol
[EVO 4G Android Development] collin1806:
mine does the same.
[EVO 4G Android Development] mainguy21:
i was going to try this..but since the last 5 posters have the exact same problem, ill just wait lol for another update..im tired of having a stock evo :(
[EVO 4G Android Development] xHausx:
It just needs to be rebooted, as long as it is finished flashing you can do it with 'fastboot reboot' or by pulling the battery.
[EVO 4G Android Development] collin1806:
i tried battery pull and it didnt work. everything was the same as before. it didnt get formatted or anything.\

UPDATE*** i retried it and it says that the hboot dont match MTD configuration
[EVO 4G Android Development] skeith223:
Mine says the same thing dont know whats next guess there will be an update soon....::confused:
[EVO 4G Android Development] sprintgeek101:
xHausx did you finally get this to work? Oh buddy, if you did... I will be an unconditional follower. BTW, do I absolutely need paypal to donate? Let me know what's up.
[EVO 4G Android Development] xHausx:
Could you guys post your autoroot.log file for me? If you rename it as a .txt it will let you attach it to your post.

For older phones it should be good but the newer ones are still a WIP. I've got a few things in the works for it though.
[EVO 4G Android Development] xHausx:
do you remember if your phone started out with the 2.02 hBoot? Your partitions are set up with the old configuration yet you have the new hBoot.
[EVO 4G Android Development] skeith223:
Yes it was purchased new, and I tried to root with unrevoked and thats all that I have done.
[EVO 4G Android Development] xHausx:
ok, you should be fine then. You'll want to double check your wimax when you get it straightened out though because I have the feeling it may have gotten corrupted.

To fix it you will need to download and run the 3.30 RUU, you can find a link to it in my OP.
[EVO 4G Android Development] skeith223:
So when I run the ruu, do I run your autoroot again? And when do I run the wimax fix....?
[EVO 4G Android Development] xHausx:
I would check the RSA keys before attempting to root again, we have been trying to figure out exactly what's causing them to be lost and if yours are still good then we know unrevoked isn't directly causing it. My phone is still an 002 from when they were first released and with all the stuff I have flashed my 4G hasn't given me any trouble, so I'm stumped as to what else would cause it.
[EVO 4G Android Development] skeith223:
After i run the ruu, how do I check the rsa keys...Thanks...
[EVO 4G Android Development] BIGWORM:
So what's the general response of this updated exploit? People need to worry about their RSA keys being corrupted? So running this exploit lays a chance of one's RSA keys being corrupted, or are people just not following directions? I ask because Imm about to file a claim and get a new one.
[EVO 4G Android Development] xHausx:
From a dos prompt use:

adb shell "grep RSA /dev/mtd/mtd0"

you can also do it from your phone using the Terminal emulator app, just type everything from the quotations above and hit enter

grep RSA /dev/mtd/mtd0

you should see:

----RSA PRIVATE KEY BEGIN------

----RSA PRIVATE KEY END -----

then run

wimax_mtd

It should scroll a bunch of stuff, just look through it to make sure everything says OK or Pass
[EVO 4G Android Development] skeith223:
When you say rsa keys does it have anything to do with 4g, because my 4g was working?
[EVO 4G Android Development] xHausx:
The exploit is safe, if it was that my keys would have been gone a long long time ago. There have been a lot of people doing something lately that is corrupting them but I don't think anyone is positive on what exactly it is yet.
[EVO 4G Android Development] xHausx:
Yeah, and your RSA keys are unique to your phone. If they are lost Im pretty sure HTC is the only one who can replace them.
[EVO 4G Android Development] skeith223:
It keeps saying permission denied...
[EVO 4G Android Development] xHausx:
whats that?

edit: if you are in the autoroot directory run "autoroot -d rageit" and it should leave you with a root shell. It should also say you have the new mtd config when it checks.

try checking the 4G with root
[EVO 4G Android Development] skeith223:
Thats what I said, I have no idea.
[EVO 4G Android Development] xHausx:
I have a new version but I want to run through it with a few more people before I post it, anyone takers?

skeith223: If you have 4G where youre at you could just try turning it on, that would probably be a whole lot easier lol
[EVO 4G Android Development] skeith223:
Ill try it because my phone is under warranty, and I just ran the ruu...
[EVO 4G Android Development] xHausx:
edit: Do you use IRC ? It would probably be easier to do this over something like that.
[EVO 4G Android Development] skeith223:
------------ AutoRoot.bat Begin - Sun 12/12/2010 22:27:11.03

Params=1'' 2'' 3'' 4'' 5'' 6''

Checking for ADB...

PLEN='1' PSTATE='device' RETURNTO='s1' STATE=''

PING ADB Counter '1' out of '1'. ADB State is 'of' expected 'device'

1 of na

PING ADB Counter '2' out of '1'. ADB State is 'of' expected 'device'

2 of na

ADB not ready. State shows it as 'na'

Passed to ERRHANDLER

------------ AutoRoot.bat End

------------ AutoRoot.bat Begin - Sun 12/12/2010 22:27:23.25

Params=1'' 2'' 3'' 4'' 5'' 6''

Checking for ADB...

PLEN='1' PSTATE='device' RETURNTO='s1' STATE=''

PING ADB Counter '1' out of '1'. ADB State is 'of' expected 'device'

1 of na

PING ADB Counter '2' out of '1'. ADB State is 'of' expected 'device'

2 of na

ADB not ready. State shows it as 'na'

Passed to ERRHANDLER

------------ AutoRoot.bat End

------------ AutoRoot.bat Begin - Sun 12/12/2010 22:28:01.92

Params=1'' 2'' 3'' 4'' 5'' 6''

Checking for ADB...

PLEN='1' PSTATE='device' RETURNTO='s1' STATE=''

PING ADB Counter '1' out of '1'. ADB State is 'device' expected 'device'

Found the phone connected as 'device'.

Checking MTD configuration...

error: more than one device and emulator

'check.bat mtd' returned '=""'

Passed to ERRHANDLER

Attempting to dump the recovery log.

---------RECOVERY LOG DUMP BEGIN---------

error: more than one device and emulator

----------RECOVERY LOG DUMP END----------

------------ AutoRoot.bat End

------------ AutoRoot.bat Begin - Sun 12/12/2010 22:28:15.60

Params=1'' 2'' 3'' 4'' 5'' 6''

Checking for ADB...

PLEN='1' PSTATE='device' RETURNTO='s1' STATE=''

PING ADB Counter '1' out of '1'. ADB State is 'device' expected 'device'

Found the phone connected as 'device'.

Checking MTD configuration...

error: more than one device and emulator

'check.bat mtd' returned '=""'

Passed to ERRHANDLER

Attempting to dump the recovery log.

---------RECOVERY LOG DUMP BEGIN---------

error: more than one device and emulator

----------RECOVERY LOG DUMP END----------

------------ AutoRoot.bat End

This is what I get...
[EVO 4G Android Development] dan0412:
xHausx, check your PM box.....
[EVO 4G Android Development] xHausx:
you have more than one phone plugged in?
[EVO 4G Android Development] skeith223:
LOL...no sir...
[EVO 4G Android Development] xHausx:
strange.. lol

Try rebooting both your computer and your phone, if it still does run 'adb devices' and see if it lists more than one thing

Were you ever able to test your 4G?
[EVO 4G Android Development] dodge972:
autotroot_v1.6

Microsoft Windows [Version 6.1.7600]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Richard Hawk>cd c:\autoroot_v1.1

c:\AutoRoot_v1.1>autoroot.bat

Checking for ADB...

Found the phone through ADB.

Checking MTD configuration...

Phone has the new partition structure.

Checking for root...

The ADB Shell does not have root permissions.

*This will take a few moments, please do not disturb this window or your phone

until it finishes...

Looking for the phone...

Found the phone through ADB.

Checking for root...

Got Root!

Pushing needed files to the phone...

Flashing misc partition...

Rebooting in to bootloader...

Setting RUU mode...

Verifying bootloader status...

hBoot version '2.02.0000'

FirmWare version '1.17.651.1'

hbootpreupdate set at '11'

Verified newer phone with hBoot Version 2.02.0000.

Your NAND is already unlocked!

IT IS VERY IMPORTANT THAT YOU DO NOT FLASH AN OLDER BOOTLOADER. DOING SO WITH

YOUR NAND UNLOCK MAY BRICK YOUR PHONE!

Rebooting...

Press any key to continue . . .

c:\AutoRoot_v1.1>
[EVO 4G Android Development] xHausx:
Dodge, you can use this to finish it up

autoroot flashrom
[EVO 4G Android Development] Jbcarrera:
ok tried the new method for root with out the pc36img and it failed and got me to a black screen with a pic of the phone with a red triangle i thought i had the pc36img for my phone on my comp. but i don't downloading now but i just had to make sure i put this on my sd card root and flash right or am i hosed
[EVO 4G Android Development] hecklbrg:
I've had my phone rooted for months, but I'm trying to root my brothers phone. Tried running 1.2, but I got to this screen too. It is the screen to get into standard recovery by pressing volume up and power. what do i need to put on the SD card to get this to work?
[EVO 4G Android Development] dodge972:
its stuck

Microsoft Windows [Version 6.1.7600]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>cd c:\autoroot_v1.1

c:\AutoRoot_v1.1>autoroot.bat

Checking for ADB...

Found the phone through ADB.

Checking MTD configuration...

Phone has the new partition structure.

Checking for root...

The ADB Shell does not have root permissions.

*This will take a few moments, please do not disturb this window

until it finishes...

Looking for the phone...

Found the phone through ADB.

Checking for root...

Got Root!

Pushing needed files to the phone...

Flashing misc partition...

Rebooting in to bootloader...

Setting RUU mode...

Verifying bootloader status...

hBoot version '2.02.0000'

FirmWare version '1.17.651.1'

hbootpreupdate set at '11'

Verified newer phone with hBoot Version 2.02.0000.

Your NAND is already unlocked!

IT IS VERY IMPORTANT THAT YOU DO NOT FLASH AN OLDER BOOTLOADER.

YOUR NAND UNLOCK MAY BRICK YOUR PHONE!

Rebooting...

Press any key to continue . . .

c:\AutoRoot_v1.1>autoroot flashrom

Setting RUU mode...
[EVO 4G Android Development] xHausx:
can you upload the autoroot.log file? That will show what all happened

With it in the screen you are describing you should be able to run the file named "start-recovery", that will bring up a menu you can use
[EVO 4G Android Development] xHausx:
ahh ok, that is the stock recovery. Push vol up + power and you can reboot from there.

You'll need to download the full zip to get the needed files, it's huge but you only have to download it once.
[EVO 4G Android Development] xHausx:
you'll have to reboot into the bootloader and rerun it, if it is still running it will pick it up the second you reboot the phone
[EVO 4G Android Development] xHausx:
can you attach the autoroot.log file for me? if you zip it or add .txt to the end of it they will let you add it to the post
[EVO 4G Android Development] Jbcarrera:
yeah i figured it just booted and the other screen is gone still no root but thanks
[EVO 4G Android Development] dodge972:
whenn i hold the volume down and press the power button do i need to update from there or use the dos command and type autoroot flashrom
[EVO 4G Android Development] dodge972:
Microsoft Windows [Version 6.1.7600]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>cd c:\autoroot_v1.1

c:\AutoRoot_v1.1>autoroot flashrom

Setting RUU mode...

Verifying bootloader status...

Your NAND is still locked! Unrevoked Forever failed to run correctly.

Rebooting...

Please post your autoroot.log file to the XDA thread or send it to me directly

at haus.xda@gmail.com

Press any key to continue . . .

c:\AutoRoot_v1.1>autoroot flashfrom

Error invalid parameter flashfrom

Please post your autoroot.log file to the XDA thread or send it to me directly

at haus.xda@gmail.com

Press any key to continue . . .

c:\AutoRoot_v1.1>autoroot flashrom

Setting RUU mode...

Verifying bootloader status...

Your NAND is still locked! Unrevoked Forever failed to run correctly.

Rebooting...

Please post your autoroot.log file to the XDA thread or send it to me directly

at haus.xda@gmail.com

Press any key to continue . . .