yashsingh1/xdaforums huggingface dataset:
[Droid Eris Android Development] tereg:
Did a dmesg after flashing clockworkmod's recovery right after getting a successful recovery attempt.

Here it is: http://pastebin.com/0d0Eijqi

bftb0: I'm going to go ahead and root this and post the results for your test.
[Droid Eris Android Development] cptkrush:
Tereg, when you did this on your phone, how much time was there between RUU flashing and root attempts, i have a feeling this is something that could matter.
[Droid Eris Android Development] tereg:
Well, the battery of testing I went through, I would say that the time from the end of the RUU flash to my first root attempts (using the format testing) probably about 6-10 minutes or so.
[Droid Eris Android Development] cptkrush:
im just wondering, if the amount of use the phone gets has anything to do with it. I'm flashing the RUU again now and im going to try to recreate your attempt with the adb reboot recovery, only i have no xp machines so im going to have to use 7. and it's home premium so no virtual xp for me...
[Droid Eris Android Development] sickbox:
Just for fun...

Has anyone with timing fully down been able to boot straight into recovery (VOL_UP + POWER) and pop the card in bypassing fastboot and hboot altogether?

I'd try it more myself but I haven't been successful with the proven steps yet.
[Droid Eris Android Development] tereg:
The card that I purchased from Wal-Mart has above the barcode (this is in the back of the packaging in the upper right corner) P-SDU2GB-EF/BG
[Droid Eris Android Development] Sirkaik72:
I am unable to select the .inf file to install the driver in windows 7 with the phone connected as sync. Anybody know what I might be doing wrong?
[Droid Eris Android Development] homewmt:
What is the name of the device that you are trying to install the inf on?
[Droid Eris Android Development] Zilliano:
Hrm.

Everything works except the device showing up during the loop when I go into recovery mode.

Is this just the SD card issue, or am I doing something else wrong?
[Droid Eris Android Development] Sirkaik72:
It is called "MY HTC" I have tried on the disk drive listing as well and I have the same results where I can not select the .inf file.
[Droid Eris Android Development] tkryan:
I am on XP and am still having a problem updating the drivers with the new inf file.
[Droid Eris Android Development] Captainkrtek:
try doing it as charge only, sync was only for people who are having trouble with the charge only
[Droid Eris Android Development] homewmt:
I installed my .inf file on a device called "ADB?"
[Droid Eris Android Development] tkryan:
where was the device under?
[Droid Eris Android Development] Captainkrtek:
yeah you should be good to go :)
[Droid Eris Android Development] Sirkaik72:
Just to clarify I should be selecting the actual .inf file and not the amd64 or i386 folder correct? If I do charge only what should I be selecting from the device manager b/c all I have in the manager on charge only is the disk drive listing.
[Droid Eris Android Development] Zilliano:
Sorry to rush, but I'm ancy to get this working if it's not an SD card problem.
[Droid Eris Android Development] homewmt:
Does anyone know if you can root with the stock sd card?
[Droid Eris Android Development] Sjflowerhorn:
Finally. Im glad u guys can join us now and flash roms :)
[Droid Eris Android Development] devlp1213:
ok my time to shine =D i'm the win7 x64 user atm lmao, ok one u get ur phone on and in HTC Sync connection it should automaticly install with win7 and in device manager it will show up as

-Android Phone USB Device

--My HTC

ok when this happens u have to do something a little tricky because that driver is the most up-to-date one i believe and wont let u "Update" past it.

Right Click My HTC>Update Driver Software...>Browse My Computer>Let Me Pick>Uncheck "Show Compatible Hardware">Click Google>Select HTC Bootloader

now load that driver and it will change to this in Device Manager

-Android Phone

--HTC Bootloader

Now repeat that same process and get back to Browse My Computer not at this point Click the Browse button on that window and got the usb_driver folder with the modded .inf file in it and click ok on it. and that should let u do it =D
[Droid Eris Android Development] Captainkrtek:
Yes only use the actual .inf
[Droid Eris Android Development] diablo908:
If I'm on a 64 bit machine, is the [Google.NTx64] info the only thing that needs to be added to the file, or does it need more entries elsewhere, like... CatalogFile, [SourceDisksNames], SourceDisksFiles?
[Droid Eris Android Development] devlp1213:
i put it under both the [Google.NTx86] and [Google.NTx64] just to be safe i'm also on 64bit and its just in those two places u need it
[Droid Eris Android Development] Sirkaik72:
Huge thanks! that did it.
[Droid Eris Android Development] devlp1213:
np, i'm on day 4 of trying this from the other thread and i got hung up there for a bit xD
[Droid Eris Android Development] droidJW:
tereg, when you say installing the drivers is unnecessary, are you talking about the two occasions where we update the drivers in device manager for what initially is called "my HTC" (in Win 7, at least) -- and after updating the device is something like "android bootloader interface"?

this step can be skipped -- that is, its fine to attempt this with the device showing as "my HTC"?
[Droid Eris Android Development] tereg:
I had to modify the code just slightly so that it wouldn't error. I hope I didn't change anything critical

#!/bin/bash
mydir=`pwd`
for tree in leakv3 RUU ; do
cd $tree
touch ./md5sigs
find . -print | while read $fnam ; do md5sum $fnam >> ./md5sigs ; done
cd $mydir
done
cat leakv3/md5sigs RUU/md5sigs | sort | uniq -u

tereg@teregmain:~/Desktop/md5testing$ ./md5testing.sh
7f50cb367af6bbd55d96707d97260ff5 -
8fbb85e4c0ab9e8705f22650dfedae82 -
[Droid Eris Android Development] tereg:
Couple of quick notes.

This is where I got the 2.1 leak v3 PB00IMG.zip: http://androidforums.com/htc-droid-eris/69688-htc-droid-eris-os-2-1v3-download.html then went here http://www.mediafire.com/?qymwuzug5gl

The nandroid backup did not have a recovery.img file in the /sdcard/nandroid/HTxxxxxxxxxx/BDS-xxxxxxxx-xxxx/ folder, just system.img, boot.img, data.img and an md5sum file of all three.
[Droid Eris Android Development] tereg:
Yes, the two occasions where you are Updating Driver... for the "My HTC" entry in device manager. I did not even touch device manager to update any drivers in the second set of tests i DID.
[Droid Eris Android Development] bftb0:
tereg, Thanks, that's a good start. One little hiccup though.

Those two lines with the "-" indicate thatthe "md5sum" program was reading from standard input rather than a file name.

But, your "find" command should read "find . -type f -print" (sorry, my mistake caused that) to restrict it to printing only file names, otherwise, it prints the names of directories (and sockets, and symbolic links, and device nodes ... none of which are present here), so it doesn't make any sense to hand "md5sum" a directory name.

Check the md5sigs files - I think there should be about 800+ lines for files in each one. Delete (or rename them), make the fix, and run again.

bftb0
[Droid Eris Android Development] bftb0:
Oops, yeah - my bad. Nandroid doesn't back up the recovery partition.

And in any event, the rooting method you are using overwrites the recovery partition anyway, so it can't be checked this way.

bftb0
[Droid Eris Android Development] droidJW:
Thanks tereg I may give it another shot with this modified approach.

Thanks for all your good work on this. Seriously you have been relentless in this endeavor. Leakers genuinely appreciate everything you are doing here.
[Droid Eris Android Development] tereg:
I feel like I'm missing something obvious.

Here's my .sh script

#!/bin/bash
mydir=`pwd`
for tree in leakv3 RUU ; do
cd $tree
touch ./md5sigs
find . -type f -print | while read $fnam ; do md5sum $fnam >> ./md5sigs ; done
cd $mydir
done
cat leakv3/md5sigs RUU/md5sigs | sort | uniq -u

I removed the md5sigs file in both directories, ran it again, but each md5sigs file contains only one line.

And:

tereg@teregmain:~/Desktop/md5testing$ ./md5test.sh
78ebd3bfc9a5c8c6bbd33b5a7cf95f4a -
f7ef6f9fac223c0d1f476cb32c9f8ac6 -
[Droid Eris Android Development] bftb0:
OMG, I'm a complete moron. My excuse is I am trying to eliminate caffeine from my diet; I'm down to about 80 mg/day (from about 500 mg/day).

while read fnam ; do rather than

while read $fnam ; do

My apologies.

bftb0
[Droid Eris Android Development] ncwildcat:
I am downloading xp mode now since I am on Win7, so I guess I will see if that helps. (I HAVE NEVER GOTTEN THE PHONE TO BE SEEN IN RECOVERY) One thing that I do notice is that in win7 once I click up I get two disconnect sounds - no connect sounds like I hear on the audio from tereg. Is that normal?
[Droid Eris Android Development] bftb0:
[SIZE=+2]+100[/SIZE]

I'm not a leaker, but the above hasn't escaped my notice; tereg has put a tremendous amount of effort in to helping out.
[Droid Eris Android Development] ncwildcat:
Yes thank you very much tereg!!!!!!!
[Droid Eris Android Development] tereg:
Actually that was my mistake, you got it right the first time, but I changed it thinking it was that that was causing an error.

Much better

tereg@teregmain:~/Desktop/md5testing$ ./md5test.sh
0e05cbc5e9ec62e3a9309fda7cddf036 ./md5sigs
15e0ab7acf57c7ead8e70c994ca16a5a ./boot.img
1d92e1d8e31226a50ed9c8e10f83b2d4 ./system.img
6951ac78e8f9ae5e6c4c4cb50803fed9 ./bin/su
793a8f84ff8cd8077b5f0996450a91a2 ./md5sigs
c326cf968354aab415c5f54eead99c93 ./boot.img
edd0d0c6a51d8f8b8f6758806fe2d179 ./system.img

md5sigs of RUU: http://pastebin.com/BnsVBxZ1

md5sigs of Leak v3: http://pastebin.com/a75mHe6s
[Droid Eris Android Development] tereg:
It is my pleasure to do this for you guys. :) I've waited a long time to contribute something to the community and for root for leakers to come out. Thank you for all of your kind words.
[Droid Eris Android Development] tereg:
Not sure if it helps, but here is an

$ lsusb -vv

of my system with the android phone plugged into it and the phone turned on.

http://pastebin.com/QRuAS7hx
[Droid Eris Android Development] theboo7:
when i enter into recovery, it doesnt show up in the loop, but my SDcard is mounted on my computer, does this mean i can push the files?
[Droid Eris Android Development] tereg:
Windows in particular will report the "Disk Drive" when you are going into recovery, but because adb cannot recognize that a device has been attached, you cannot push files to the sdcard via adb, and you will not be able to successfully perform the flash that is needed to flash Clockwork's recovery.
[Droid Eris Android Development] ncwildcat:
Okay, so I installed XP Mode on win7, but when I connect and bring the phone into the window, it can't find any drivers for it. I scroll to the drivers I downloaded last week, but for some reason they are not installing. Is this a waste of time (xp mode)?

Nevermind - I am a dummy. Going on now with trying to get into recovery, now on XP-Mode
[Droid Eris Android Development] :
Ok so even if I DID make this work, could I flash amon ra instead I like that better than clockwork.
[Droid Eris Android Development] bftb0:
Hi tereg,

Looks like we're in the middle of a thread-jack here. (Sorry).

The system.img file needs to be unpacked with the "unyaffs" tool in order to compare files contained within it (it compiles easily on a linux box, I provided a link above). As for "boot.img", I had thought that the nandroid backup of the boot partition (which uses /sbin/dump_image) produces bit-for-bit identical images to the distro images, but apparently not - it too need to be unpacked using a different tool (split_bootimg.pl) to compare the kernel and ramdisk images.

I think you will find both of these tools useful to have anyway, because it allows you to poke around inside other folks ROMs or custom recoveries to see what they did for boot sequencing and default property setups, and for looking through HTC roms If you want, you could even take it a step further and start hacking the recovery boot by tweaking it and repackaging it with "mkbootimg" (another linux compile from the Android source tree, but I found a pre-compiled version here on XDA). I did that to turn on kernel logging and look at the boot sequence of the leak-V3 recovery boot.

The bootable partition images - boot.img and recovery.img - are unpacked with split_bootimg.pl - there is an excellent writeup (and download links for these perl scripts) at android-dls.com.

I know this post is a little vague - hit me up with any questions you have, either in this thread, a new thread, or via PM

bftb0
[Droid Eris Android Development] NAA_Silent:
Yesterday I spent a couple hours trying to root my Eris on a Win XP machine with no luck. Last night I successfully rooted my Eris that was running 2.1 leak 3. With my laptop, it took about 5 trys to get the timing right. After fully installing root and having problems with a couple roms, I unrooted to try again. I spent spent about an hour trying to repeat what I did last night. I rebooted the laptop and tryed again, got it first shot.

One thing I noticed, after I rebooted the laptop, I didn't close down any of the auto loading programs like norton 360, PDANet, or AnyDVD like I had this morning. Maybe the speed of the computer you're using to root with plays a part?

I rooted twice using the Kingston 8gb card that came with my Eris. It's formated FAT32 4096 allocation size. The operating system is Windows 7 64 bit. I did have to install the Java for standard windows since ADB would not see the Java for Windows 64 bit.

My hboot is 1.49.0000 S-ON. Apparently normal for leak root.

Hope that helps with the development cycle.

:cool:
[Droid Eris Android Development] orkillakilla:
I just got a PNY 2gig sd card which is formatting right now. I'll report any progress I make tonight.
[Droid Eris Android Development] ncwildcat:
I don't think that using XP-Mode will work for this. One of the things that you have to do in XP-Mode is click USB and tell the virtual box what to connect. Everytime that the phone disconnects, I have to click and reconnect. Don't think that this will help out my situation.
[Droid Eris Android Development] Nikolai2.1:
Just tried using the new instructions. Now no matter what I do, or what card I use, I always get two beeps. Even if I were to leave the card in or out during the whole 1st race timing step. I only get two beeps on my computer.
[Droid Eris Android Development] ncwildcat:
Are they the disconnect beeps? That is what I get...
[Droid Eris Android Development] homewmt:
I remember someone saying in irc that the speed of the computer is does matter, could you post your laptops specs?
[Droid Eris Android Development] Nikolai2.1:
Yep. Exactly that. I doubt the speed of my computer matters. It has 3GB of RAM and its fairly new.
[Droid Eris Android Development] orkillakilla:
Well Ive tried with PNY 2 gig card and the stock 8gig card. Ive used windows xp, windows vista 32bit and vista 64bit. Ive tried it in airplane mode and none airplane. For the life of me I cannot get it to register in recovery. I'm not giving up just yet though.
[Droid Eris Android Development] NAA_Silent:
As requested:

System Information report written at: 07/03/10 18:56:28

[System Summary]

Item	Value

OS Name	Microsoft Windows 7 Home Premium

Version	6.1.7600 Build 7600

Other OS Description	Not Available

OS Manufacturer	Microsoft Corporation

System Manufacturer	Acer

System Model	Aspire 5532

System Type	x64-based PC

Processor	AMD Athlon(tm) Processor TF-20, 1600 Mhz, 1 Core(s), 1 Logical Processor(s)

BIOS Version/Date	Acer V1.09, 11/30/2009

SMBIOS Version	2.6

Windows Directory	C:\Windows

System Directory	C:\Windows\system32

Boot Device	\Device\HarddiskVolume2

Locale	United States

Hardware Abstraction Layer	Version = "6.1.7600.16385"

Time Zone	Pacific Daylight Time

Installed Physical Memory (RAM)	3.00 GB

Total Physical Memory	2.75 GB

Available Physical Memory	1.54 GB

Total Virtual Memory	5.49 GB

Available Virtual Memory	4.03 GB

Page File Space	2.75 GB

Page File	C:\pagefile.sys

I can go farther, but it gets real long winded after this important bit :D
[Droid Eris Android Development] devlp1213:
I highly doubt speed matters I've under clocked my amd p2 955be quad down to 800mh and over clocked to 3.6ghz (3.2 stock) and never see a difference also I have 4gb ddr3 12800(1600) of RAM so unless RAM is the problem I don't know lol
[Droid Eris Android Development] NAA_Silent:
Since it apears I'm able to reproduce root. I'd be willing to lend a hand to local folks. Who knows, maybe I just have the magic setup.
[Droid Eris Android Development] JAS_21:
How can I tell if the version of Java I'm using is the correct one? I'm running Windows7, 64 bit OS. I'm new at this, and want to learn, so any help is appreciated.
[Droid Eris Android Development] Realm:
I got Acer Aspire 5520 with windows 7 32 bit
[Droid Eris Android Development] NAA_Silent:
For me, Android SDK would not install. It errored out saying that it could not find Java in the path. Once I installed the standard windows Java version (non 64 bit specific) the Android SDK installed without errors.

For what it's worth, I did NOT uninstall the 64 bit Java version, I just installed the standard Windows Java version over the it.

Hope that helps
[Droid Eris Android Development] ECLIPS3:
Ok, I wanted to give everyone an update on video tutorial process.

Tereg and I finished making a recording of the video tutorial. I have the videos in the process of either being uploaded, or edited to upload to vimeo.com. They will also be available for download as standalone videos to watch on your pc. I will post links as they become available, and they will be updated in the first post.

The videos are broken up into 5 parts as below:

1) Steps 1-2, in first post, Introduction, prereqs and setup

2) Steps 3-8, more setup, format sdcard, etc

3) Step 9, which is getting fastboot, hboot, adb in recovery

4) Step 10, what to do after you have adb in recovery, pushing files in recovery

5) Optional setup, Amons recovery install, installing rom and update.zip files

The videos on are Vimeo.com in my album. The direct link to that album is http://vimeo.com/album/250913. Keep refreshing that page as new videos will be automagically added to that album.

Direct download links to the individual video downloads will be posted below as they become available, but mainly in the first post of the tutorial.

Video Part One Download Link:

http://www.multiupload.com/EZKEZ3W4QN

Video Part Three Download Link:

http://www.multiupload.com/1CABFPDKML
[Droid Eris Android Development] bigwilly90210:
ok, not entirely certain if this hasn't been touched on, and maybe it's just my Google account, but since I flashed the RUU with the .exe included here my phone has had a "server error"every time i try to access the market. Yeah, that's a bit of a problem and I could really use some help. Do you have to use that version? Can I go back to my at least functional 2.1v3? What did I do wrong?

Also, just my 2cents, but since this just got done with the stock card, are we pretty much saying this whole thing is a complete crapshoot? seriously... im so jealous... right on though bro, right on.
[Droid Eris Android Development] Nikolai2.1:
XP

Just tried using Windows XP Pro SP3 Corporate Edition.

This was in a virtual machine.

No success.
[Droid Eris Android Development] tereg:
Guys, I think I have found something incredibly interesting in my testing.

This morning I decided to test out the WinXP virtual machine that a user sent me a few days ago.

The conditions are as follows: I am running Ubuntu 8.10/9.04 with this VirtualBox virtual machine with WinXP Home edition, SP3. I have set the machine to use 1GB of RAM. I am using my PNY 2GB SD card at the moment (will test other cards shortly)

[You can format the sd card within this virtual machine btw]

Now, I want you to note the following screenshot (ignore the command prompt looping recovery for a moment), pay attention to the arrow.

Whenever I have to plug in a USB device in a virtual machine, I have to manually go to the Devices menu, then select the phone from the USB devices menu.

Well, in my testing, I discovered something really interesting about this fact, that you have to manually do this.

So, the phone is off, I have the SD card out, I go into FASTBOOT mode, then I go to Devices -> USB Devices -> htc, Inc Android 1.0 and selected as shown below

Then, I went into HBOOT, then I went into Recovery by pressing Vol Up, counted to 4-1000 and pushed the card in as I usually do.

But, I noticed that if I watch how the USB Devices changes in this time interval after I press the SD card in, if I constantly go between the USB Devices menu and the menu selection above it back-and-forth (Shared folders), essentially "refreshing" the usb devices menu, I notice a box for HTC Android phone BEFORE the first windows XP notification (which is usually a disconnect sound).

I noticed that even if I check this box before the notification, it shows up again AFTER the notification as unchecked.

What I noticed is this: If I check the box before the first notification AND after the first notification, then I can get adb to recognize the device consistently

I was able to get 4 consecutive successes after discovering this, then a slip-up (but I saw the box I was supposed to check), then on the 6th attempt I got recovery again.

There's a catch. If you don't check the box before the first winxp notification, then the check box briefly goes away then comes back after the notification (meaning you can only check it once). So, you have to be ultra-quick.

!!!!!!!!!
[Droid Eris Android Development] tereg:
I'm actually going to test something I just thought of. Something that might not even require the SD card to be out when you start.

I'm going to try to see if I can see this condition if the SD card is in the phone, back cover is on, go into recovery and try to do the checkbox thing in VirtualBox.

Edit: OMG IT WORKED

Edit 2: I didn't have to manually select the device in fastboot, I just bypassed it, and got it to work AGAIN.
[Droid Eris Android Development] tereg:
I will promptly test the stock SD card now and the card that was in the phone that was mailed to me.
[Droid Eris Android Development] :
Wow amazing, will this virtualbox trick work with windows host 7 x64 thanks if so, I will try it out today.
[Droid Eris Android Development] tereg:
Update: I have not been able to replicate this with either the stock SD card or another 2GB PNY card that came with the phone that was mailed to me.
[Droid Eris Android Development] :
Tereg can you share which SD card you used for the replication process that did work since you said that 2GB PNY and the stock 8 GB did not work. Thanks
[Droid Eris Android Development] tereg:
The SD card that I used that did work is a PNY 2GB SD Card that I bought at Wal-Mart. It has a small dimple in the lower left corner.

It's weird because a different card (but the same make and model) I have with me does not work. I have not tried to write a dd image to the card that doesn't work yet.

Observations of further testing with the card that works:

If I set up a USB Filter for the HTC Android Phone, like this:

I still notice that I have to manually check that selection before the first WinXP sound notification.

I've also noticed that if the test succeeds, then after the notification, the entry is still checked. If the test fails, after the WinXP notification sound, the entry is not checked.

Edit:

USB Filter Details

Name: HTC Android Phone [0100]

Vendor ID: 0bb4

Product ID: 0c98

Revision: 0100

Manufacturer: HTC

Product: Android Phone

Serial No: <serial no of phone>

Port: <empty>

Remote: No
[Droid Eris Android Development] ncwildcat:
I had similar experience yesterday with xpmode. Didn't notice any checkbox though. Will try again today
[Droid Eris Android Development] Realm:
on the video you have it as "Android Phone" and under that "Android Bootloader Interface"

On mine (windows 7 32 bit) it says: "Android USB Devices" and under that it says "HTC Bootloader". Is that wrong?