yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] John Kotches:
Which would be fine, but I've done that.

Here's the device in adb:

JK-MBP13:tools $ adb devices
List of devices attached
HT05ZXXXXX	device

JK-MBP13:tools $

Here's the directory tree under the drive mounted on my MAC, edited to save some screen real estate:

JK-MBP13:NO NAME $ ls -axp
./	../
._PC36IMG.zip	._flash_image
._mtd-eng.img	._part1
._part2	._recovery-RA-evo-v1.7.0.1.img
.bookmark_thumb1/	.footprints/
...
Music/	PC36IMG.zip
download/	flash_image
...
mtd-eng.img	old-PC36IMG.zip
part1	part2
recovery-RA-evo-v1.7.0.1.img	rosie_scroll/
...
JK-MBP13:NO NAME $

Okay, so that doesn't have /sdcard available in the directory tree.

Not the end of the world, I'll take it off of disk drive mode and use the adb shell to get to it, right? ls is edited to save everyone's eyes ;-)

JK-MBP13:NO NAME $ adb shell
$ pwd
/
$ cd /sdcard
$ ls
Music
Sample Photo
HTC Sync
LOST.DIR
...
mtd-eng.img
PC36IMG.zip
recovery.img
flash_image
part1
part2
old-PC36IMG.zip
$ /sdcard/part1
/sdcard/part1: permission denied
$

Hmmm... no permission to run the file?

Ownership/perms of the relevant files?

$ /sdcard/part1
/sdcard/part1: permission denied
$ ls -l
----rwxr-x system sdcard_rw 655360 2010-07-05 20:51 mtd-eng.img
----rwxr-x system sdcard_rw 179274182 2010-07-06 13:24 PC36IMG.zip
----rwxr-x system sdcard_rw 5152768 2010-07-06 13:46 recovery.img
----rwxr-x system sdcard_rw 26172 2010-07-05 19:30 flash_image
----rwxr-x system sdcard_rw 1369 2010-07-05 23:37 part1
----rwxr-x system sdcard_rw 304 2010-07-05 20:46 part2
----rwxr-x system sdcard_rw 15532032 2010-06-29 16:23 old-PC36IMG.zip
$

Hmmm, what ID am I?

$ id
uid=2000(shell) gid=2000(shell) groups=1003(graphics),1004(input),1007(log),1011(adb),1015(sdcard_rw),3001(net_bt_admin),3002(net_bt),3003(inet)
$

I'm a secondary member of sdcard_rw group so I should have permission to run part1.

But I can't.

$ pwd
/sdcard
$ ./part1
./part1: permission denied
$

I'm sure it's something I'm overlooking, but I'm not seeing it.

I don't have issues with shells with Unix/Linux. All of the ADB stuff is vaguely familiar as well ;)

Cheers,
[EVO 4G Android Development] SharkUW:
Flash was what I'd have put money on. Permission escalation via Flash exploits are a dime a dozen.
[EVO 4G Android Development] jerryparid:
Can someone save the page in case Abode decide to pull the page down?
[EVO 4G Android Development] regulator207:
I wonder who is Mr. Anonymous. *cough*toast*cough*

This is truly a nerd's phone.
[EVO 4G Android Development] SteelH:
I am curious about that URL as well. Is that a perm thing or is this method only going to work as long as that webpage loads?
[EVO 4G Android Development] enormous:
So SteelH, you confirm this works? How about anyone else?
[EVO 4G Android Development] mcjx:
I feel like this is a double-edged sword, if su can be achieved by a simple Flash file, there's no telling what information someone could pull off of my phone.
[EVO 4G Android Development] utnick:
It's not a big deal. You're welcome.

Steve

-sent from my iPhone
[EVO 4G Android Development] warhell200:
If a true hacker wants your stuff you really can't stop him if he's elite.
[EVO 4G Android Development] Mikedick:
I thought the huge font in red letters in toast's guide, as well as a rom or two I looked at was enough, but hey, to each his own I guess.
[EVO 4G Android Development] numus:
Do you have to flash the latest radio after this

as mentioned in

- come here to the forum, get and flash the latest radio
[EVO 4G Android Development] chandlerw88:
If I try first whose gonna start a Chandler evo donation thread
[EVO 4G Android Development] -shift-:
lol i chuckled.
[EVO 4G Android Development] elegantai:
lol !
[EVO 4G Android Development] SharkUW:
Having 47 sort of implies your phone was pretty current with updates.
[EVO 4G Android Development] dadoc04:
Hilarious

10chars
[EVO 4G Android Development] SharkUW:
Don't be too worried things are pretty well sandboxed. The exploit is allowing more exploits. The app that used to grant root, now that was a security issue. Lol
[EVO 4G Android Development] Rootwind:
So I suppose this won't work once the official Froyo EVO is out with Flash 10.1 instead of Flash lite correct?
[EVO 4G Android Development] SharkUW:
Stop

Accepting

OTAs
[EVO 4G Android Development] spinkteck:
wow i cant wait to try this for my bro. I LOVE YOU MAN!!!!! its a must donation to the dev.
[EVO 4G Android Development] shawnathan9:
the page redirects to adobe

I'm waiting for a new EVO so I could return this one.

In the mean by, I wanted to check this out so I did a OTA update to the latest...

..and then tried this method.

That URL that was posted in the step-by-step redirects to a adobe page indicating that this (EVO) browser does not support that flash. In other words, the step "5. When it asks you to, refresh the EVO browser on the same page" will not occur since I'm not on that URL but on adobe now.

Any thoughts? - I went to that site to check what my flash is..and it says I don't have flash but I obviously do. I'm on htc's homepage just looking at flash.. XD

So much for being a guinea pig
[EVO 4G Android Development] frankenstein\:
is it giving you an error msg?

do you have the file named correctly? it must be PC36IMG.zip exactly, caps included. you must remove the eng- from the front of the file name.

Are you running windows with the option to hide file extensions for known file types enabled? you may have named the file PC36IMG.zip.zip if you placed the .zip on the end of the file in windows explorer.
[EVO 4G Android Development] snowwy66:
can anyone confirm the android.bat file in the tools folder. cuz i'm googling and i see instructions for editing and what not. but i don't have the file at all.

nevermind, i found it.

maybe it's time for a windows format. cuz dos just ain't working for me for adb and sdk
[EVO 4G Android Development] MaverickSITG:
WoW that is great news for my father in law who did the latest OTA update, but what about for us who still have the 1.32.651.6. I am looking all over to see if i can root but cant find anything. Wondering if i should just do the latest update so that i can get rooted. Please help, thank you.
[EVO 4G Android Development] HondaCop:
I have followed everything to the "T" and on the very last step, it says to type: reboot recovery.

I did that and the cursor drops to the next line and stays there flashing. Am I done? Am I supposed to do something else?

FWIW, I now get a # instead of a $ when doing the ADB commands. Like I said, I typed: reboot recovery but nothing happened. The phone did not reboot.
[EVO 4G Android Development] #Winning#:
Root worked good thanks guys. I tried to flash damage control Rom and when I booted up it just kept going through the Sprint animation... does anyone know what roms will work with this?
[EVO 4G Android Development] SteelH:
You dont need this method.

ALL ROMs work with this. If you're stuck in a boot loop, you did something wrong, it's NOT the DC ROM.

If you are getting a # instead of a $ you have root.
[EVO 4G Android Development] MaverickSITG:
but that method is not full root. Is it?
[EVO 4G Android Development] SteelH:
You either have root or you don't, there is no in-between.
[EVO 4G Android Development] MaverickSITG:
ok thank you
[EVO 4G Android Development] habitual_line_stepper:
yup that's what i found, i used a hard reset to wipe it. thanks for the taking the time to help with the search :beer:

you answered my other question i had here :p
[EVO 4G Android Development] ausch30:
I'm on page 14 of this thread right now reading through so the answer to this might be further along but this is the error I'm getting. Any suggestions?
[EVO 4G Android Development] MaverickSITG:
what is the root method i should use?
[EVO 4G Android Development] HondaCop:
Ok, I was able to reboot into recovery. Can I go ahead and just reboot into the system and will my EVO work unrooted with 2.1 Sense or should I go ahead and install say the DamageControl v3.2.x ROM while I'm in the recovery mode?
[EVO 4G Android Development] tokuzumi:
Just used the video tutorial/instructions from jiqqaman. Worked like a champ. Anything that didn't work out for me, was because I didn't read everything closely.
[EVO 4G Android Development] #Winning#:
Okay steel so of I am stuck in the boot loop do I just need to do it all over again or what would you suggest and what software version should my phone say if I am rooted
[EVO 4G Android Development] Rippley05:
Question for you guys

I only rooted once before, and it was on my hero a couple months ago so I'm still pretty raw here.

As far as ADB shell or whatever, I still have all that from rooting my hero correct? So all I have to do is download these files and start a CMD?

Thanks for the info, I want to root pretty bad but I'm hella nervous
[EVO 4G Android Development] VaporCloud:
Lots of random problems and Root not working

I although i had some trouble getting adb to work at first i did eventually get through the entire how-to video, completed every step, all the way to the ;-).

but now im getting all kinds of random errors,

For one, Barnacle wont start, and neither will wireless tether for root users,

Second off, The clock widget on the home screen no longer says my current location, i turned gps on and everything, It just says "current location" and doesnt show the weather, the animations dont show up....

I see all the new icons, ciq tools, dev tools, ssd test, etc etc.... but i havent found a root app ive installed thats worked.... and my phone seems slower and seems to be running at a higher temperature (confirmed in wireless tether it shows 39c when it was 6-8 degrees less than that before)

Wireless tether says "your phone is in an unknown state please reboot)

.... im thinking about reverting to stock.... any ideas?

I have rooted a few phones before, experience with command line etc
[EVO 4G Android Development] jiqqaman:
You didn't follow directions. It says re-run meaning part1 again
[EVO 4G Android Development] SOHKis:
try rebooting to recovery & doing a full wipe, then reboot & see if the loop continues
[EVO 4G Android Development] habitual_line_stepper:
Ok got to the end of the video and did everything succesfully. I am now on the "Android System Recovery" screen...... now what?

Am I able to just reboot system? Or do I have to flash/install something else?
[EVO 4G Android Development] ausch30:
Thanks, my bad. Doing a reset now and I'll give that a shot.
[EVO 4G Android Development] frankenstein\:
now your ready to do whatever you want to. install a custom rom, do whitslack's upgrate to the rooted stock rom with new radio and wimax, whatever you want.
[EVO 4G Android Development] frankenstein\:
your running an engineering version of the phone's software when you complete this process. It installs the engineering HBOOT which is critical for root and gives you a rooted version of the engineering build.

Now you need to do whitslack's root safe implementation of the stock 1.47 release with wimax and radio or install one of the custom roms in one of the threads in the dev forum. You're not going to want to run the engineering version of the phone software going forward...
[EVO 4G Android Development] MaverickSITG:
which root method should i use for 1.32.651.6
[EVO 4G Android Development] SteelH:
Toast's method

Finally, someone speaks the truth. Many of us followed the directions I originally posted and rooted our phones without issue. While admittedly there may be a few unique circumstances, the majority should have no problems.
[EVO 4G Android Development] HondaCop:
Am I NAND UNLOCKED?

I have done everything and it seems to work perfectly. When I run an ADB session, I have the # showing, so I must be good to go.

I was looking into perhaps installing the DamageControl 3.2.3 ROM on my EVO but one of the requirements is that the EVO has be to fully NAND UNLOCKED.

With the tutorial on this thread, is my EVO fully NAND unlocked? I don't want to try and install the DC ROM and have my EVO screwed up.

Thanks!
[EVO 4G Android Development] MaverickSITG:
ok thanks again
[EVO 4G Android Development] SteelH:
Follow toasts 2 for unlocking NAND.
[EVO 4G Android Development] HondaCop:
If you are referring to the FIRST POST of this thread: xdaforums.com/showthread.php?t=701835 then yes, I followed that post. So I'm NAND unlocked?
[EVO 4G Android Development] snowwy66:
allright, fixed my problem but still not getting the connection. invalid command in the dos window. can't even type in the adb shell box inside sdk.

so what am i missing?

C:\Users\dave>adb shell

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

operable program or batch file.

and yes, usb debugging is checked and pluged into charging mode.
[EVO 4G Android Development] claude9039u:
Little help please? I have done this 20 times?

9. Run adb shell as soon as you can (when the HTC logo is still showing). You need to be fast. If you get "error: device not found", try again.

Code:

Code:

adb shell /data/local/part2

And I have been real fast lol but all I get is PART2 is scanning.
[EVO 4G Android Development] snowwy66:
damn, everyone went to dinner.
[EVO 4G Android Development] allofthepeople:
thanks!

ok now time for someone to come up with a computer or phone app that does this automatically like others did for the evo and other models
[EVO 4G Android Development] SteelH:
Follow toast's NAND unlocking guide HERE to unlock NAND.

Did you add the adb install directory to your PATH statement? Probably not. If you don't want to do that, then run your adb commands directly from your adb installation directory, not C:\Users\dave>
[EVO 4G Android Development] TeknoJnky:
got my evo rooted using the instructions in the first post.

one note, in the instructions here and the link to toast 2, there is no step to backup your nand

so at the instruction to restore nand I had nothing to restore.

I had already cleared data/davlik at that point, I was like oh crap. But I rebooted and everything came up. Still new to this so not sure what effect the 'clear data & dalvik cache' has.

I then flashed the 'fully rooted stock' and SU, then did a recovery > nandroid backup, then proceeded to reinstall my apps, titanium backup and rom manager.

At this point I'm rooted and tether etc works, I'm not sure what I should about the 'recovery', leave it at the RA-1.7.0.1 or use the clockworkmod.
[EVO 4G Android Development] You stole Boo Boo's Name:
how do you get passed adb permission denied.

I can get past step 1 and rebot.

but than when i try step 2 I keep hitting the permission denied
[EVO 4G Android Development] SteelH:
If you never rooted your phone, you wont have a nandroid backup. So you skip that step.

I recommend NOT using clockworkmod, there have been several issues reported with it. Use amon ra's recovery instead.
[EVO 4G Android Development] claude9039u:
Some one please help I have watched the video read every post and I am still stuck here?

I have followed post 145 to the T and have tried all I can think

Run adb shell as soon as you can (when the HTC logo is still showing). You need to be fast. If you get "error: device not found", try again.

Code:

Code:

adb shell /data/local/part2

And I have been real fast lol but all I get is PART2 is scanning.
[EVO 4G Android Development] Rippley05:
So we have to do this guide to get root, then follow another guide to get a nand backup so we can use custom roms and such?

Whew as much as I wanted to root, I don't think it's for me, thats too much for me to do with my little experience in it.

I may end up trying eventually, but either way...great work on unlocking this guys!
[EVO 4G Android Development] HondaCop:
What I did was, as soon as you see your phone shut off, type that command on your pc. Once you see your phone start up again and you hear the USB connection "chime" on your pc, indicating that a USB device has connected, then you hit ENTER.
[EVO 4G Android Development] HondaCop:
ARGGG!!! I did and after installing the DamageControl 3.2.3 ROM, my phone keeps looping at the Sprint 4G logo during boot up!!!! :(:(:confused::confused: What have I done wrong?
[EVO 4G Android Development] jiqqaman:
Wipe
[EVO 4G Android Development] frankenstein\:
SteelH, I think this is equivelant of doing Toast's part 2. The link to dl the PC36IMG.zip takes you to the part 2 thread, not the part 1 so once you complete this you've basically completed nand unlock from part 2, less updating the radio.

Once folks complete this process they need to pick a current rooted rom to run, be that a rooted stock version or DC or Fresh, etc... and update their radio at a minimum to 1.39.00.05.31.

That or do whitslack's "How to start over: Fully rooted stock 1.47.651.1 in one shot (no adb!)" to get a rooted stock 1.47 rom and the latest 2.xx radio and wimax radio.

If I'm wrong please say so because I haven't actually done this process but looking at it and where the necessary files are linked from I believe this to be correct.

I miss your old avatar btw. It was very um... interesting. :)
[EVO 4G Android Development] frankenstein\:
you need to go into recovery, under wipe and wipe data, cache and dalvik cache. that should cure your boot loop.
[EVO 4G Android Development] bigdogdan2:
Is there a setting so it never asks to do OTA updates, just incase for fat fingers, etc.
[EVO 4G Android Development] AHrubik:
Thank You! + A Tip for others!

Thank you for your hard work everyone! :D

Windows 7 Ultimate x64

EVO hardware version 002

Here is my log after a couple of hours trying...

-------

Can't post a pic due to user restrictions

-------

I kept getting stuck on step 11 and it seems it was because I didn't make sure to unlock the phone and select Charge Only from the menu after the last reboot. Once I did that everything has gone smooth so far. :D

EDIT:

FINISHED!!!! ... running Aloysius 3.0.3
[EVO 4G Android Development] frankenstein\:
Settings / System Updates / HTC Software Updates and uncheck "scheduled check".

Bottom line though; just say no.
[EVO 4G Android Development] HondaCop:
Thanks Frankie... I was in the process of doing that and after clearing all data and caches, I went ahead and decided to re-flash DC 3.2.3. If that doesn't work, I will try it like you said, without re-flashing after clearing the data/cache.
[EVO 4G Android Development] snowwy66:
i don't care how i do it. i just want to do it. LOL. so how do i go about doing it. cuz i just followed the video that came with the first post. and i looked at the instructions on that first post.

i've never ran a dos prompt screen so i have no clue what i'm doing when it comes to command prompts. step by step instructions with software i can do. but command prompts are totally beyond my comprehension.
[EVO 4G Android Development] Dubez:
So in other words, once I go thru the whole process (which I did), I cant remain with the stock rom? I have to switch to a different rom? Also, do you "have" to partition once rooted?
[EVO 4G Android Development] jiqqaman:
just follow the steps in the video, you'll be ok...
[EVO 4G Android Development] snowwy66:
am i supposed to install a device in the android sdk and avd manager? if so, what's the procedure?
[EVO 4G Android Development] Rippley05:
Ahh ok cool deal, so this guide is all we'll need then~!

I think I'm about to give it a go, but I swear my palms are sweaty cuz I'm nervous.

WHy do I have to be such a Pu_ _y about it!
[EVO 4G Android Development] Karl:
Here is a easy set of instructions

http://forum.ppcgeeks.com/showpost.php?p=1853598&postcount=792
[EVO 4G Android Development] frankenstein\:
You can certainly run a stock rom if you want to. You should run a rooted version however.

There are three versions currently available; the original release, the 1.32.651.6 release which includes the first OTA (both released by flipz) and whitslack's 1.47 release which includes the latest radio and wimax radio. I reference whitslacks because I think it's the cleanest install of the current stock rev presently but that's a matter of preference really.

You don't want to continue running the engineering pre-release software though.
[EVO 4G Android Development] Mikesus:
Ah, missed that... Damn, need to readwith my glasses on... :rolleyes:
[EVO 4G Android Development] Dubez:
Thanks Frank, you have been a great help.
[EVO 4G Android Development] TeknoJnky:
whitslacks worked for me, got my radios re-updated and 4g working
[EVO 4G Android Development] Dubez:
Can you link me please? Not quite sure where to go....
[EVO 4G Android Development] afliction523:
Hey guys. I am not a extremely active member here. I can tell you that I followed this guide exactly. Did not need the video either. This is a quick process. Be sure to have the android sdk on your C: drive or main hard drive if it is assigned a different letter. Navigate to the tools folder but DO NOT CLICK IT OPEN. HOLD SHIFT RIGHT CLICK AND POOF YOU WILL SEE A NEW MENU SAYING OPEN COMMAND PROMPT HERE. OPEN IT UP and COPY AND PASTE. FOLLOW THE GUIDE IT WORKS. NOW THE PART WITH THE EVO SCREEN AND ENTERING IN THE CODE FAST....JUST COPY AND PASTE EVERY BIT OF CODE LISTED ONE LINE AT A TIME AND ENTER IT AS SHOWN. NOW YOU WILL GET A ERROR ABOUT THE DEVICE NOT BEING FOUND. KEEP REPEATING THE COPY AND PASTING UNTILL IT WORKS. THERE IS A SMALL DELAY IN WINDOWS SEEING THE PHONE CONNECTED WHICH IS WHY THE ERROR WILL SHOW. AFTER THAT ITS SMOOTH SAILING.

Just wanted to say thanks and hopefully clear up any confusion with the whole command prompt issue.
[EVO 4G Android Development] DevilStrider:
So what rom did you guys install? I'm about to try to root mine now.
[EVO 4G Android Development] snowwy66:
thanks mr.esp. that got me started. now we'll see what happens.
[EVO 4G Android Development] Dubez:
Oh yeah, what files are ok to erase from the sdcard that we used to root?
[EVO 4G Android Development] acme64:
I get the following after step 6:

$ sh /sdcard/part1
sh /sdcard/part1
refresh that page or reopen it
/sdcard/part1: cannot create /data/app-cache/com.android.browser/BEC48C17295CAF9
F550BCD500A0A6F03
/data/app-cache/com.android.browser/DE25D64D198E4BF84672045F0EAEE6CE
/data/app-cache/com.android.browser/EAFCD74DF11E57A3571B1E4D0B768134/foo: direct
ory nonexistent
reboot and run part2

should i continue?
[EVO 4G Android Development] DevilStrider:
So can i use any fresh rom? I see he has not added the OTA yet.
[EVO 4G Android Development] afliction523:
Just a heads up 2 page 28 has all the steps clearly listed.
[EVO 4G Android Development] DevilStrider:
????? ANYONE?
[EVO 4G Android Development] TeknoJnky:
http://xdaforums.com/showthread.php?t=715915
[EVO 4G Android Development] afliction523:
Once you are fully rooted per page 28 as I had mentioned you can flash whatever rom you want to do. If you want the newest OTA flash a rooted version of it from the dev section. This will keep your phone appearing stock but you will be able to run "root" only apps. If you want a FRESH rom flash whichever version you want. The only way you will lose root is if you do a sprint OTA which was not made for your now rooted phone, or if you use a RUU from HTC website which will restore you to stock (RUU_Supersonic_1.32.651.1_Radio_1.39.00.04.26_release_171253.exe)
[EVO 4G Android Development] Beejis:
This may be a stupid question but I have to ask. If I rooted and unlocked with toasts method, do I have to root with this OTA to be able to flash 1.47.651.1 ROMs or am I good how I am already?

Edit:

I think the person above me answered my question, thanks!
[EVO 4G Android Development] tokuzumi:
If you are using the same computer to root your evo as you did your hero, than the Android SDK should still be installed, and you can run all the adb commands from the command prompt window.
[EVO 4G Android Development] afliction523:
I rooted my girlfriends hero. All I did was make sure my sdk had the proper evo drivers. If you are worried and want a simple solution just remove and reinstall the sdk(THE ONE LISTED UNDER THE EVO ON HTC's WEBSITE.