yashsingh1/xdaforums huggingface dataset:
[Droid Eris Android Development] rycheme:
Thanks for the info on the driver, bftb0. I realized this morning after actually getting some sleep that I was being a complete moron about the drivers because I have adb and fastboot working just fine.

What I'm wondering at this point is if it's possible to write a complete script or program that might lend itself toward activating the race condition. At this point, a lot of what we're doing is still very manual.

For example:

Pre-Reqs:

1) SDK Installed

2) Phone in USB Debug Mode

Script/Program:

adb reboot recovery

start loop

continue loop until x iterations or adb devices shows offline device

-pause until adb devices shows recovery mode

unplug & replug USB cable

adb push update.zip

(etc etc etc)

It might be easier to get a script or automation system to trigger a race condition than a human being....
[Droid Eris Android Development] bftb0:
I see what you mean - because you ONLY have a recovery partition, replacing it with one of the leak recoveries sort of unroots your phone. But hey - you did it once, so you can certainly do it again, right? Since the main OS is rooted - you just upload "flash_image" to your rooted OS, and reflash the recovery back to Amon_RA from the main OS.

Please be very very careful attempting anything which writes directly to hboot - mucking up the bootloader is a 100% for sure bricking.

If you find out a *safe* way to overwrite hboot from Amon_RA recovery, please post up the method; I am interested to find out for the reverse reason (testing out the 1.49.0000 bootloader, so long as you still have Amon_RA on the phone). Note the "flash_image" executable within Amon_RA does not recognize a "partition" name of "hboot".

bftb0
[Droid Eris Android Development] Dc_striker:
Let me try it again cause i already did what you just said but on a diff rom let me try on this one.

legit video here http://www.youtube.com/watch?v=eK_A0lH8uFM

Edit: i still got adbd on the 2e recovery. any ideas?
[Droid Eris Android Development] bftb0:
I think you might have missed the point of the entire thread.

The ADB interface does NOT show up in the recovery boot except for extremely rare cases (if ever) when there is a race, and then, only for a fleeting moment.

If you could get it to show up every time you booted the recovery, this thread wouldn't exist and everybody would have been rooted long ago.

The mass storage USB endpoint shows up every time you boot the recovery. Every time.

The bottom line is that if the ADB driver works during the normal OS boot, it will also work during the fleeting moments the adbd daemon is running in the recovery - and if the adbd is not running on the phone, you won't see it active on the PC. It really is that simple.

Again, the mass storage drivers are irrelevant.

If I sound like I am repeating myself, it's because I am.

bftb0
[Droid Eris Android Development] bftb0:
I don't know what you mean by that, could you fill in some details?
[Droid Eris Android Development] Dc_striker:
i flashed 2.1 recovery but my phone still shows up on adb devices

Couldn't i just flash the leak root rom with the hboot off?
[Droid Eris Android Development] Jp50:
can someone who has actually been successful with this method write out some clear legible directions? When I read the OP's posts they are vague at best. I appreciate what he has done. But for the rest of us, we need our hands held and a clearer "for dummies" style walk through would be great.

you guys are really amazing and we thank you for sharing this with us.
[Droid Eris Android Development] Zerethusta:
I realize it's a bit of a pain, but it might help if you YOURSELF wrote up a walkthrough.

Rather than the Slide root method, put up exactly how YOU did it, focusing on when the sd card was put in, how was formatted, etc.

I know this is REALLY getting to a lot of people, myself included. The lockdown on the eris is RIDICULOUS for a low end device, and root is a major issue with the ongoing usability of this phone. Anything that increases our chances is a major boon to the community.

Edit: Wow, timing. Was in reference to OP, not the guy above this post.
[Droid Eris Android Development] :
Bftb0, You're right. Totally, but what do I do next in order to obtain root? (or get closer to it anyway).

Do i simply need to eject my SD card and run the bootloader

first

, then fastboot usb, then put in the SD card before recovery loads (after you press recovery), and yada yada, um, yada? Thanks. I was referring to stryker's first idea.

I still don't think I'm doing it fast enough to get adbd daemon to work for that BRIEF amount of time, since I was told you can't get it every time you boot into recovery mode. Plus I'm extra confused, I'm also guessing that the defualt 8 GB card that comes with every Eris (like mine) won't work with this method.

So assuming I could get one, as long as it's no bigger than 16 GB, I could fill one with data, and try again, but thing is I don't have any money to get one yet. It's not your guys' problem, I know though. Btw I tried one from a fam member's phone it was 1 GB and that didn't do the trick either. :P

It IS good that there is at least 2 people with confirmed success according to other posters.
[Droid Eris Android Development] bftb0:
You mean, you are not even attempting to do the loop, but you can communicate with the recovery boot via ADB?

Be aware that the "<2e>" recovery from the ROOT PB00IMG.ZIP ROM does exactly what you describe - are you sure you didn't grab the recovery.img file from that ROM?

The md5sums of all the recovery.img files are given in this XDA thread - look for "Comparison of Recovery Partitions"

Which recovery.img file did you flash?

bftb0
[Droid Eris Android Development] Dc_striker:
You pop in the sd card right before the drivers pick up the phone and the screen changes to recovery
[Droid Eris Android Development] Dc_striker:
hmm leak v3 recovery. I just guess no matter what recovery i flash i still will get adbd since my phone is rooted already i think i flashed the wrong one hold on lol i didnt check my tools folder
[Droid Eris Android Development] hallstevenson:
Instead of people ejecting and inserting their SD card, can't an "adb mount..." command be added in the loop ?
[Droid Eris Android Development] bftb0:
My phone is rooted, and I have had all three recovery boots (and the root-ROM recovery boot too) on it. None of them respond to adb commands - except the root-ROM recovery boot.

Your phone seems to grow more special by the moment.

Is the SD card in the phone when you are running this test?

BTW, no, you can't flash the Root-ROM - the 1.49.0000 bootloader prevents you from doing that.

bftb0
[Droid Eris Android Development] Dc_striker:
nvm i got the right recovery now im going to re try the hack
[Droid Eris Android Development] bftb0:
Haste makes for a bricked phone. If there's one Eris in the world that we don't want bricked, it might be yours. Take your time.

bftb0
[Droid Eris Android Development] bdt1995:
For the love of god, please right down everything you do exactly for your attempts, then if its successful, post the steps you did on here!
[Droid Eris Android Development] :
Good idea except if adb mount is looped and does it over and over again in loop.bat, wouldn't it would give an error saying "it's already mounted" by that I mean the sd card.

But yea this is a more elegant way of mounting/unmounting as opposed to physically dealing with the SD. Anybody have any more refined way to do this?
[Droid Eris Android Development] hallstevenson:
Hey, he's lucky, remember ? :D :D :D
[Droid Eris Android Development] hallstevenson:
Whoever were to consider trying this, I would hope would know to run "mount" and "umount" and repeat.
[Droid Eris Android Development] bftb0:
There is no shell available until busybox has been installed, so any command that begins with

adb shell ....

won't work until after the clockwork recovery is installed.

On that note, I am AFK. Need sleep.

bftb0
[Droid Eris Android Development] Dc_striker:
yeah i know its hard i can't get it to do it again :/
[Droid Eris Android Development] Cyostrife:
Well i'm calling it quits on this method. good luck to the rest of you!! hopefully if you get it done you'll be able to give clear directions for the rest of us to follow!!
[Droid Eris Android Development] Dc_striker:
Check first post i got adb hack running again but i just don't know how i did it again :/

Youtube video
[Droid Eris Android Development] Cyostrife:
all the videos you post seem to be in the dark. then the screen lights up making it really difficult to see anything for me. can you record it in a brighter place please? also can you list the specs of the firmware version on your phone
[Droid Eris Android Development] Dc_striker:
That was a quick video ill do it when i figure out how to do it again. I'm pretty sure i can do it again ill tell mod to delete this thread when i make a new one how to do it
[Droid Eris Android Development] PimpShit420:
this may sound dumb but when I restart my phone Vol Down + Power into hboot mode. then vol up to get to fastboot USb but how do you get into recovery from there?
[Droid Eris Android Development] Dc_striker:
Im going to post later on the day how to do it the RIGHT way but now i g2g
[Droid Eris Android Development] Cyostrife:
ok now last question you followed the instructions for the mytouch slide root but did you use the slide zip? or did you use some other files?
[Droid Eris Android Development] snyluc13:
I think he mentioned earlier that he used the slide root file
[Droid Eris Android Development] bdt1995:
man, if you can get this working for the rest of us, you will be a hero to all. take your time on the guide, no rush, just make sure you include every tiny detail. we need to know everything.
[Droid Eris Android Development] Cyostrife:
yeah you must just be missing something that you did. its completely possible for this to work, theres just GOT to be something missing...either that or your really lucky
[Droid Eris Android Development] bdt1995:
Hit volume down (Backing out of fastboot, but the connection stays active so it doesnt matter) then volume up to enter recovery. It still doesnt work for me, but hey, its supposedly the timing, so.
[Droid Eris Android Development] HanSolo2012:
my understanding with this race condition is that it is random

so even if you follow his instructions to the . you might not get it

the loop.bat file is not doing anything special

its not sending a command to the phone that makes it go into adb

How i been doing it is like this

Please find a mistake because nothing has worked

i boot phone into fast boot by pressing red and green buttons

(trying to press those volume buttons with my fingers and no cover hurts after a while)

I make sure my computer detects it

mine comes up hboot in my device manager

i switch into hboot mode with the volume key and sd card out

i then switch it into recovery mode trying to pop the sd card in and out

and wait to see if it comes up in my device manager

so far 70+ attempts tempted to buy another sd card

just waiting to see if more people had success
[Droid Eris Android Development] TopazAaron:
can i go cry? i been trying this over and over and over for 2 days, i about want to throw the phone and the computer out the window. lol i formated my sd card, used a stock 8gb one acuually 2 of them. i used a cheapy 4 gb one a scandisk 1gb one, i really running out of ideas, i put them in, and out, fast and slow, hard and even soft if it might of made a differce lol. but yep im fed up with this, it makes me angry!
[Droid Eris Android Development] bdt1995:
Thats slightly different from what ive been doing.

I pop the card in milliseconds before the first ding (that i assume means fastboot disconnected) and it delays the second ding, which im not sure what that is, by about 5 seconds. Still doesnt show up to adb devices or fastboot devices, so i dont know what to do. Ive tried doing it just before the second ding as well, nothing happens. If there was a way to delay the first ding, i think maybe wed be in business, but nope.

Any thoughts anyone?
[Droid Eris Android Development] TopazAaron:
lol i fount something i did not know tho, OFF topic kinda but if you hold the vol down call and power u get a DELETE ALL USER DATA SCREEN lol i bored with this :P
[Droid Eris Android Development] AcidRoot:
ok so im doing this on linux and its not finding it but while im in recovery if i keep popping the sd card in and out constantly the script will freeze for a splis second
[Droid Eris Android Development] listyb01:
I get this same result on XP, the loop commands freeze for a split second.
[Droid Eris Android Development] AcidRoot:
Where you doing the sdcard in and out thing
[Droid Eris Android Development] Zerethusta:
on ubuntu, the ./loop.sh is giving me an error, says no such file or directory.

The while true; do adb devices; done is not working, it loops a "adb: command not found" thing, then gives a bunch of possible packages.

Any ideas? I downloaded the sdk a few mins ago, but haven't got a clue what to do with it.
[Droid Eris Android Development] AcidRoot:
You need to set eviroment variables look it up i would explain it but its a little complicated

Also I knew this probably wouldn't work but i tried anyway and just a warning to anybody else thinging about it i tried wiping in recovery while running the loop and it didn't do anything like i thought
[Droid Eris Android Development] listyb01:
Yep, sd card in and out, up and down, round and round. I have literally gone through these steps at least a hundred times, something is missing.

Dc_striker, what build were you on?
[Droid Eris Android Development] Dc_striker:
I was on RUU ota
[Droid Eris Android Development] listyb01:
Damn me too. Sorry I'm just grasping for differences here so that this can be replicated. I even tried a hard reset just for fun, still no offline or recovery.
[Droid Eris Android Development] Dc_striker:
Try to format your card
[Droid Eris Android Development] listyb01:
Workin on it right now.
[Droid Eris Android Development] Zerethusta:
By format, you mean from phone or to a specific file system?

Got the ADB stuff working, the loop is just fine. Not showing the device though.
[Droid Eris Android Development] listyb01:
Formatting did nothing. We need it to say something, anything that indicates it detects the phone
[Droid Eris Android Development] Zerethusta:
That's what I figured.

Is there anything I should be doing with the SD card while I'm booting into recovery, or waiting for it to try and connect to the ADB loop?
[Droid Eris Android Development] Dc_striker:
Well i had my sdcard empty when i flashed it
[Droid Eris Android Development] listyb01:
Yea it was worth a shot. I do believe I am about done with this for a while. AT least I have a fresh hard rest and a fresh SD card :p
[Droid Eris Android Development] bhilgeman:
I used this method to root my MT3G Slide earlier this week. You're saying the same method DOES work for the Eris? We use the exact same files and everything?

I have people on 1.49 waiting for me to root their phone, but I want to confirm that I use the same files as the slide to root the Eris correct?
[Droid Eris Android Development] Dc_striker:
Yes it works on the eris because its not flashing any system files or etc its only pushing SU to your phone and then installing superuser.apk. But to flash recovery easy download ROM Manager in market
[Droid Eris Android Development] snyluc13:
what files did you use in your process? please give a rooting noob some details
[Droid Eris Android Development] thisismyanonymousaccount:
Just out of curiosity, what was you phone set to do by default when you plugged it in? Did you have don't ask checked? This has absolutely nothing to do with the process, I am just curious.
[Droid Eris Android Development] thisismyanonymousaccount:
First let me say I am not a mobile guy. I have some background in C, ASM and Kernel stuff so some of this may be just plain wrong but I need to ask a couple pointed questions.

Are claiming that you used the files that are included with the Slide Root.zip and they all worked and you have managed to root the OTA RUU.

Do you have nay proof? (sorry to be a dink) Like maybe a video or screen shot of your Eris in Clockwork recovery, something like that.

I am a bit skeptical that the exact files used for the slide will work on the Eris but if they do that is awesome and you have just done the community a great service.

Regards
[Droid Eris Android Development] jdog94:
how do you see adb devices??????? is there a icon for that it tools or do you type it in cmd prompt????
[Droid Eris Android Development] Wongidool:
Cmd prompt to your androidsdk\tools directory

Adb devices.

Or if you changed your environ vars you can do it from anywhere in cmd (like me :D ).

Hope that helps....(looks at phone and cries)
[Droid Eris Android Development] HanSolo2012:
this is sd card dependent remember that
[Droid Eris Android Development] Sincidius:
127 tries. Two different SD cards. No luck. Sometimes my phone would go strait into the <!> screen and would not boot at all even on a normal boot, but after waiting a few minutes, it would boot up normal again. HD Boot 1.490000.
[Droid Eris Android Development] bdt1995:
hit windows key + r

type in cmd then hit enter

type in the comand prompt cd c:\androidsdk\tools (or wherever your tools folder is located)

then type adb devices in the same comand prompt.
[Droid Eris Android Development] Wongidool:
Ok, so this is a stupid question, but I'm going to ask it anyway.

On the root videos DC has posted (among other rooting videos/recovery videos I have seen), it appears that there are actually recovery images on the phone and it's overlayed on a black screen with an eris and a red triangle-!. All I see when I boot into recovery is the caution triangle and the eris. Is it supposed to look like this pre root, or am I missing something here?

Sorry for the noob question, just trying to nail a few things down.
[Droid Eris Android Development] bftb0:
The recovery boots changed slightly after Leak V1 (and all the graphics changed) - the red triangle & black background is characteristic of Leak-V2, Leak-V3, and OTA-2.1.

What you are describing (I think, it has an Android, not an Eris) is the recovery splash screen for either leak-V1 or the HTC leak-Root-ROM.

Are you sure you are not rooted?

What version number does

Settings -> About phone -> Software -> Software number

display, and what hboot version do you have?

bftb0

Edit Wait, hang on a second - are you sure you are not on 1.5? (black background, Eris lying down in lower right hand corner). I'll see if I can't put some pictures up.
[Droid Eris Android Development] Wongidool:
Software number is 2.36.605.1

Hboot is 1.49.000 (S-ON)

And I'll attach a picture of the screen I mean cause I suck at describing =P

Ah, just looked at that thread you linked. It is the same, I just thought it was odd it doesn't have any images...perhaps they're hidden or related to my leak v3?
[Droid Eris Android Development] Chevytrucks2021:
okay so i been watching at home all day yesterday and today...i have tryed several times and am in the same boat everyone else is.....I have a question though...in the device manager with the phone in fastboot it shows up in my device manager as android boot loader interface and at that point it doesnt show up in the adb devices or the loop command....if it shows in the device manager but the cmd prompt isnt seeing it then what chance does it have to see it when its in recovery and device manager looses it all together? sorry if this is a dumb thought im new to this lol

by the way im running Win 7 32bit as well as xp 32 and its the same in both
[Droid Eris Android Development] bftb0:
Ah, crap. Now I understand what you mean, I completely mis-read your post.

Once you see the "splash screen" that is in your (attached) image, press Vol-Up + End/Power simultaneously (a second time), and the HTC/VZW "Recovery <2e>" menu will pop up. I think there are only four choices in that menu - he is selecting the "reboot" menu item in the video.

bftb0

It would appear that you have Leak-V3, just as you said.
[Droid Eris Android Development] Wongidool:
Ah, excellent. I tried several key combinations at the splash screen and never got the right one :D thanks.

So should I push past splash screen when I'm trying the hack then, or will the splash screen suffice?
[Droid Eris Android Development] Cyostrife:
I keep getting list of devices attached when i try and run loop. it doesnt show the lis just says list of devices attached. any way to fix this?
[Droid Eris Android Development] bftb0:
Forget about the device manager for a second. If you can communicate successfully using the ADB tool on the PC, with the phone normally booted and "USB Debugging On" ( Settings -> Applications -> Development -> USB Debugging ), then the driver is installed correctly, and there is nothing further you can do to make it work better.

The test of "is it communicating succesfully" is this: if you type the command (in your command prompt, CD'ed to the SDK tools folder):

adb devices

and it prints out your device ID (starts with "HT" and is a series of digits and upper-case letters), then you are communicating successfully with the phone via the ADB driver.

If you can not communicate with the phone this way, then there is something wrong somewhere (probably the driver install), and there is no chance at all that it will work in recovery boot.

Bottom line? Get it working with the regular phone boot (w USB debugging ON), and stop worrying about it after that.

bftb0
[Droid Eris Android Development] devlp1213:
no its suppose to say tht if there is nothing listed under it means nothing is connected. its like if u were gonna start a list with a title of "List of Things To Do" and wrote nothing there xD "List of Devices Attached" is jus like a title or what have u :P
[Droid Eris Android Development] bftb0:
So far as my experience goes, the hack doesn't work at all, so ... feel free to try whatever you like. Since all I have is FAIL, I can't tell you what works or doesn't work.

bftb0
[Droid Eris Android Development] Cyostrife:
so if it doesnt show my phone under it it isnt working?
[Droid Eris Android Development] Wongidool:
Cy, it just means your drivers aren't working right for it, have you edited the ini file in you drivers folder of the sdk?

Edit: the above is only if its not showing up when you are booted normally, if its not showing up in the recovery boot you are in the same boat as the rest of us
[Droid Eris Android Development] Cyostrife:
nope should i have? sorry if i appear to be a noob i kinda am at this point lol
[Droid Eris Android Development] devlp1213:
correct.

Heres a step by step to checking to see if ur driver is working/the right one

1. Have phone turned on.

2. have USB Debug on

3. connect phone to computer

4. use the HTC Sync connection type

5. open cmd in the android-sdk/tools folder

6. type adb devices

if u get:

list of devices attached

HTXXXXXX

XXXXXXXX(numbers and letters ofcourse not Xs lmao)

then the drives are working like many have been saying.

if u get this completed and drives work and do nothing else with them. like stated before if it will connect here it will connect in recovery,in theory that is, if the race condition is met =D

edit: also i linked the modded usb driver a few pages back if u need them
[Droid Eris Android Development] Wongidool:
Lol, no worries,i totally understand bring a noob, just started this myself the other day
[Droid Eris Android Development] bftb0:
If you run the loop with your phone normally booted with USB debugging turned on, and your device driver is installed correctly, then for sure it will display your phone Device ID - every iteration of the loop.

The fact that it doesn't show up when your phone is in recovery boot is ... um... normal for the hack - it only shows up rarely (for most folks, never) and that's the whole point of the hack, to run the loop hoping that it will mysteriously show up during the recovery boot.

From your post, I can't tell which situation you are describing.

bftb0