yashsingh1/xdaforums huggingface dataset:
[Sprint HTC EVO 4G LTE] scottspa74:
Alright guys/gals, I'm sorry to make this thread, but I've been messing with this for days and just can't get it. I'm hoping someone with XP 32bit may know the answer. Or maybe someones google-fu is better than mine.

So, here it is:

I FINALLY installed the sdk a few weeks ago.

When I plug my Evo LTE in, and type adb devices, the window shows my device. I can adb reboot bootloader and that works. Then switch device to fastboot via bootloader. But when I try to do a fastboot command (fastboot reboot) it hangs on 'waiting for device'. :confused:

Apparently it's a driver issue, I assume. But I just can't figure out what exactly I need. Or maybe a different fastboot.exe in my sdk?

Using win XP sp3 32 bit. Anyone else?

Also, I can't get my PC to see my evos internal storage. I've tried uninstalling HTC sync (but actually it still shows in manage programs) I've tried installing the 32bit drivers in the zedomax root thread. Numerous reboots. I've installed easytether from market and used it (I've seen some say the drivers from that help with various android driver issues). Nothing will get my (crappy, low rent, PC) to see my new Evo. Sees my old Evo just fine, always has. But I know USB/MS is different from MTP.

I'm not a total noob. I rooted my Evo on launch day 2010 and have flashed and modded ever since. But when it comes to PCs and drivers etc, I really am a total noob.

So, if ANYBODY has any advice or links to what I need, I'd be forever indebted. :o

Much thanks to any response (except lmgtfy lol).

Edit:

My PC doesn't have web connection (I really just use it for storage and android stuff. Also, when I check in device manager, it doesn't show Android 1.0, as some tuts suggest, it shows my HTC.

Also, when i plug into a win7 PC with a web connection, it grabs drivers and recognizes my storage with no problem (if that helps). Thanks

sent from my Evo LTE, usually.
[Sprint HTC EVO 4G LTE] flex360:
TL;DR
[Sprint HTC EVO 4G LTE] scottspa74:
TLCR is the verdict from what I can see. ESFU.

Look at my thanks, it's pretty obvious I've helped lots of people. But I am stumped on this. Please, anyone with XP 32 bit, and my fastboot just hangs on 'waiting for device '

If anyone on win XP 32 bit knows what I'm talking about, please advise

Much thanks. F:ck, at this point I'd pay somebody who can help.

sent from my Evo LTE, usually.
[Sprint HTC EVO 4G LTE] ÜBER™:
I ran into this when I was rooting my gnex. Where it failed to install the android 1.0 drivers don't know if this is device specific but try this video http://www.youtube.com/watch?v=9njewnlumKg&feature=youtube_gdata_player
[Sprint HTC EVO 4G LTE] scottspa74:
@UBER

haha thanks man. Total irony, I set my sdk up using QBkings videos and files cuz i was following galaxy nexus stuff cuz I got one for my mom for mothers day. . Still can't get it. Thanks though.

From what I've seen, most times when drivers are issue, device manager shows android 1.0. Mine doesn't say that. Mine shows MyHtc, and says all drivers are good.

Adb works. Fastboot no-worky.

If anyone else has struggled with XP, I'd love to hear it.

.much thanks.

sent from my Evo LTE, usually.
[Sprint HTC EVO 4G LTE] jnip:
Try updating or installing HTC sync, that fixed my issue with drivers. I tried to install manually and had issues.

FWIW I was on Windows 7.
[Sprint HTC EVO 4G LTE] shellguy:
I have the same issue using Win7 with the updated drivers used for Root. I have the SDK downloaded and all files that were specified installed to c:\Android. You can see my screen copy in the other HTCDev failed thread. I am stuck in the same boat. Hoping someone can help us with this. As some are getting it and others are not.

Will
[Sprint HTC EVO 4G LTE] ÜBER™:
Well try uninstalling all phone drivers. Reboot and just hook the phone up and see what happens. Also could be the fault of the of the cable or you need to try a different USB port. And man WinXP 32? Somebody needs to update/ get a new PC :D. I'm kidding, I was stuck with two of em on XP, just recently got a new laptop with W7. If that doesn't work you could try setting up a Linux VM and see if fasfboot will work through there... but that a like last resort and only if you know what your doing on Linux or can google-fu quite well.
[Sprint HTC EVO 4G LTE] shellguy:
Would be great if one of the all knowing ones could make a script to do this. That includes the needed files and ish. Put this @ the root of C: and click the script that way if you do what your told you can narrow down what is wrong.

Will
[Sprint HTC EVO 4G LTE] Kidromulous:
Here is the fix. The problem is the android 1.0 drivers. To fix install the PDA net desktop client. When you run it it will ask if you want to replace the drivers. Do this. Go to device manager and look for android 1.0 with the yellow exclamation point. Hit update drivers and browse to (x86/PdaNet for Android/usbwin (windows 7 the location will be different depending on your machine) you will see a security warning install anyway.Complete the installation and this should solve the issue.

Also as a note you may have to toggle signed drivers especially on Windows 8.

If this helps hit the thanks button
[Sprint HTC EVO 4G LTE] shellguy:
I will try it when i get home as im not able to do this @ work.

Will
[Sprint HTC EVO 4G LTE] Kidromulous:
I'm almost certain it will. I spent several hours working on this issue before finding the solution. At first I thought my usb ports were broken
[Sprint HTC EVO 4G LTE] ÜBER™:
This is exactly what my video I suggested does. So this won't work.
[Sprint HTC EVO 4G LTE] Kidromulous:
Perhaps your issue is different it may work for some in the thread it certainly worked for me.
[Sprint HTC EVO 4G LTE] scottspa74:
Thanks. But I dont show the Android 1.0 drivers with exclamation mark as other have. My drivers just show My HTC ≥my HTC and say they're working properly. :confused:

I did install easytether and had read installing it and it's drivers help. But not so far. Haven't tried PDAnet. Will try. Maybe it uses different drivers than easytether?

sent from my Evo LTE, usually.
[Sprint HTC EVO 4G LTE] scottspa74:
Finally. I got fastboot working. But just through dumb luck. I uninstalled everything HTC I could find and then tried 12billion different ways to update the 2 drivers I'd downloaded. I finally got the android 1.0 in device manager then tried every driver I could find.

Fastboot works now. But NOTHING I did got XP to see my device as a storage MTP :banghead: dammit, I NEED to be able to get to my sh1t.

sent from my Evo LTE, usually.
[Sprint HTC EVO 4G LTE] jr71x:
Same, same, did you already unlock the bootloader?
[Sprint HTC EVO 4G LTE] scottspa74:
Nope. Haven't unlocked bootloader yet. It's gonna be tricky, too, I think. As you need a web connection. My XP with SDK and adb/fastboot doesn't have web.

But the PC i have access to with web DOESNT have the sdk set up (which it sounds like you need to accomplish the htcdev unlock).

I wish I could help and tell people how I finally got fastboot to work, but it was countless driver uninstalls and reinstalls and reboots (phone and PC), trips to bootloader. (While in bootloader, I saw different drivers in device manager than I saw while booted,...and I think this was a key clue for me. This is where I finally saw the Android 1.0 driver to update. Updated manually thru browsing files, and used the drivers from the root thread.

Also the usb-windows drivers from qbking77. Still not getting any USB storage action gggrrrrrrrr :banghead::mad:

sent from my Evo LTE, usually.
[Sprint HTC EVO 4G LTE] bobonit:
Since uninstalling HTC stuff fixed it, I wonder if disabling HTC Sync would have done it as well. I know it messes with ADB, so I'm wondering if it messes with Fastboot as well. Just a thought. Good job working through it though.
[Sprint HTC EVO 4G LTE] scottspa74:
Yeah, I believe so. Also, I just remembered, when I was doing a driver update (turns out there's multiple ways to update drivers with the same result) in a little window before browsing for the driver, it showed my HTC 1.0.XX and my HTC 2.0.1XX and I believe I highlighted the my HTC 2.0.1XX then clucked "have disk".

I'll try to get a screenshot in a minute, if I can.

In the meantime, this weird headset looking icon (or hearing aid) showed up in my notification bar yesterday and I CANNOT figure out what the hell it is. I've been all through settings and just am stumped and feeling really stupid. Anyone know what this is?

sent from my Evo LTE, usually.
[Sprint HTC EVO 4G LTE] jr71x:
Try plugging in a pair of headphones and taking them out, had many phones do this. Got through the bootloader unlock process this morning but couldn't copy and paste the key code to HTC, so I took a pic, lol...
[Sprint HTC EVO 4G LTE] volk9029:
To remove icon go to settings, then call, then you will see hearing aid. Unmark it.

Sent from my lair.
[Sprint HTC EVO 4G LTE] afraaa:
install PDAnet on your device .. follow procedure of installation carefully ( should be installed on both pc and phone ) and when it was installed .when u enter your bootloader your phone will be recognize by your pc and wait for device will gone .

the method tested by me and took me one month two years ago to find .. on my g nexus first try to unlock .

PDAnet isntall drivers and everything you need to use adB commands ... if it helped give me thanks and let me know by pm .

PDA links

http://junefabrics.com/android/downloadold.php
[Sprint HTC EVO 4G LTE] zamiel2112:
installed PDAnet n phone and pc still waiting for device. Device manager says video controller! under android. What?
[Galaxy S II General] Phistachio:
Great job! Any chance on getting it as a .tar ODIN flashable file? I could make a guide to help newbies use the uboot bl as well when it's developed further :)

Using both CM9 Kernel for CM9 and Siyah for Resurrection Remix ICS is a great sight!
[Galaxy S II General] bala_gamer:
looks promising. great going :)
[Galaxy S II General] NOMIOMI:
dual boot ... mean two different roms on sgs2 like siyah kernel???
[Galaxy S II General] sahibunlimited:
Deleted
[Galaxy S II General] sp3dev:
I am unsure about multiple android kernels - need to make some boot scripts to test. My initial aim was to support both android and native Ubuntu. I will tell you about dual-booting android, but I need time for testing
[Galaxy S II General] MemoryController:
How about using my code in board_unit()? Seems to me like the only way. I don't see how it can be done without modifying uboot.
[Galaxy S II General] sp3dev:
Please take a look at my git, the boot key detection is done in a very similiar way. I would suppose that we can put any commands in the uboot script file and can boot custom android kernels with that
[Galaxy S II General] MemoryController:
About the mtype I mean. Doesn't it need to be set in board_init ()? I will checkout the git later.
[Galaxy S II General] sp3dev:
need to think of mtype..

anyway, updated the first post with the instructions how to boot siyah from emmc. now we can multi-boot android kernels
[Galaxy S II General] tolis626:
With the SGS3 and this,I think my SGS2 will just replace my fried old PC and get hooked to my TV.Nice job man.Really nice. :)
[Galaxy S II General] Delta25:
cool :)
[Galaxy S II General] bluefa1con:
Would love it on international gs2 variant
[Galaxy S II General] salvatore94:
Awesome work. But I want to know if, at the actual state, it could handle the true multiboot between android and linux's distros

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II General] Lost.soul:
Why is this posted in the general thread ? Shouldn't it be moved to Original Development?
[Galaxy S II General] jphilpot:
hello

I know you state this will only work on the European version but just wanted to confirm this would not work on att i777. There was so many variants i was not sure.

I think i have the max8997 pmic and wvga screen but not positive
[Galaxy S II General] joesnose:
This is geat news. Just wondering why this is not buzzing as big news. Native booting linux, who wouldn't apreciate that. Especially if the telephony part got worked out, could hardly see much point in booting to android. Good work.
[Galaxy S II General] MemoryController:
Uboot is extremely useful, and native debian is awesome, not that chroot crap

Sent from my GT-I9100 running CM10
[Galaxy S II General] joesnose:
Could anyone write a step by step tutorial. I am a little confused as to how to and what to do. Do I loe my siyah kernel? Or does it dual boot my dual boot kernel, lol.
[Galaxy S II General] RusherDude:
This is awesome.. ¿any detailed tutorial, please?
[Galaxy S II General] joesnose:
Could some body please post the commands needed to build a working image for the s2, thanks.
[Galaxy S II General] salvatore94:
The project is very iteresting.....

But I have a little question. It would be possible to change our partition table using this custom bootloader?

If it is possible we could remap the emmc to create a proper recovery partition, like all other android phone. This is only an example.
[Galaxy S II General] MemoryController:
make CROSS_COMPILE=your cross compile path galaxys2

Sent from my GT-I9100 running CM10

---------- Post added at 07:25 AM ---------- Previous post was at 07:24 AM ----------

The partition table can be changed with the pit. SBL is responsible for not booting recovery from different partition

Sent from my GT-I9100 running CM10
[Galaxy S II General] joesnose:
Thanks memory-controller, I was looking for the commands for building an ubuntu image suitable for uboot, is the command you pisted for building uboot.

Thanks.
[Galaxy S II General] darki00:
Thanks for sharing
[Galaxy S II General] MemoryController:
Yes for building uboot. IBM has a nice guide for rootfs building

Sent from my GT-I9100 running CM10
[Galaxy S II General] joesnose:
Hello.

Would it be possible to boot into the ubuntu image I currently use for chroot?
[Galaxy S II General] MemoryController:
Try

Sent from my GT-I9100 running CM10
[Galaxy S II General] joesnose:
Thanks memory controller, was hoping for a little more than that, lol.

I still haven't flashed uboot yet as I am still a little unclear ad to how it all works.

If I flash uboot do I lose my standard boot loader and have to flash a custom kernel in order to keep my siyah boot?

Or do I have to flash uboot then hold the home button while powering up to boot uboot?

Like I said I am unclear, but would like to be able to boot to native linux.

Thanks.
[Galaxy S II General] MemoryController:
Will make a noob friendly tutorial tomorrow

Sent from my GT-I9100 running CM10
[Galaxy S II General] joesnose:
Thanks MemoryController, looking forward to that.
[Galaxy S II General] E:V:A:
Sound great, but "tomorrow" is now 3 days ago, or did I miss something?

(No stress intended, just reminding you to please post a link here, when you do.)
[Galaxy S II General] MemoryController:
EDIT: Uploaded http://xdaforums.com/showthread.php?p=31800384
[Galaxy S II General] joesnose:
help please.

Could someone who understands tell me please.

the kernel uploaded on the first page boots the root file system from the second partition on the internal memory card?

does this mean that i have to create a second partition and dd the root file system to it?

thanks.

Edit: Answered half my question myself, under NO circumstances mess around withe the internal sdcard (emmc), found out the hard way. Lol.
[Galaxy S II General] joesnose:
Hello sp3dev,

Any chance you could upload a kernel that boots linux from the second partition on the sdcard. I am pulling me hair out trying to get this to work.

Thanks.
[Galaxy S II General] CosmicDan:
Hi dev, thanks a lot for your great work. I am trying to port this to an Xperia device and I have one question - how would I calculate the loadaddr I need? Is it based off any specific pmem offset or something else? Thanks!
[Galaxy S II General] celderic:
Any updates on this? Having a hard time getting debian booted off sdcard
[Galaxy S II General] bid4sumit:
,,,,

why isnt this post in the development section....???
[Galaxy S II General] Colliebudz:
anything new with this? this method looks amazing"

ive got problems with heimdall connecting to my phone and im not to sure if theres a Ubuntu image? where is it if so?

is it the same image u can use for chroot method?

id really like to get this working on my phone!

cheers
[Galaxy S II General] Colliebudz:
No one gonna even help me. Thanks xda community
[Galaxy S II General] Colliebudz:
is this topic dead or something or has the difficult explination turnt people off of this............
[Galaxy S II General] celderic:
I think it is :(

Would be good if there was some activity, as im unable to get this to work properly
[Galaxy S II General] Colliebudz:
shame because this approach is genius! I shall indeed figure this out and when I do ill post a guide on ere...

this is what else I been following

http://thomaspolasek.blogspot.ca/2012/04/arch-linux-lxde-w-xorg-mouse-keyboard_16.html
[Galaxy S II General] celderic:
i agree, if i had more knowledge i would help, im slowly learning.

thanks for that link, looks interesting, will be keeping an eye on that :)
[Galaxy S II General] joesnose:
I was hoping for this too come to fruition also. I have got as far as killing the android ui and loading up linux on the framebuffer, works very well although upgrading my rom did kill some of my scripts. I reccomend debian-kit to install linux it is a lot more flexible than the chroot I find.
[Galaxy S II General] Colliebudz:
good stuff,

anychance you can post your scripts and xorg.conf?

i installed this uboot thing..wasnt sure exactly where to put what kernel? or even what kernel lol...

ive been using linux deploy to generate a img ( theres a handy option in it to kill android and launch framebuffer)

also, linuxonandroid has a nice selection of img files.

anyway back to this,

ive sucesfully installed tslib and managed to kill android ui and use framebuffer, its weird the xorg.conf is fickly..tried loads with all different results

gonna make a mega xorg lol
[Galaxy S II General] joesnose:
Here is my xorg.conf, you probably need to install the mtrack driver to get the mouse working.

Section "ServerLayout"

Identifier"Layout0"

Screen "Screen0"

#InputDevice"Mouse0" "CorePointer"

#InputDevice"Keyboard0" "CoreKeyboard"

InputDevice "cyttsp-i2c" "CorePointer"

EndSection

Section "InputDevice"

Identifier "Keyboard0"

Driver "evdev"

Option"Device""/dev/input/event5"

Option"Protocol""usb"

EndSection

Section "InputDevice"

Identifier"Mouse0"

Driver"evdev"

Option"Device""/dev/input/event8"

Option"Protocol""usb"

EndSection

Section "InputDevice"

Identifier "cyttsp-i2c"

Driver "mtrack"

##Driver "evdev"

option "Corepointer" "true"

option "SendCoreEvents" "true"

Option "Device" "/dev/input/event2"

Option "protocol" "Auto"

# mouse should move as fast as finger and not faster

#Option "AccelerationScheme" "none"

# evdev has it, multitouch doesn't so it behaves like touchpad

Option "IgnoreRelativeAxes" "true"

EndSection

Section "Device"

Identifier"Card0"

Driver"fbdev"

Option"fbdev" "/dev/graphics/fb0"

VendorName"Unknown"

BoardName"Unknown"

EndSection

Section "Screen"

Identifier "Screen0"

Device"Card0"

DefaultDepth 24

SubSection "Display"

Depth 24

Modes"800x480_60.00"

EndSubSection

EndSection

Section "ServerFlags"

Option "AutoAddDevices" "true"

EndSection

I sill dig out my scripts later if you are still stuck later, but they may be of little help to you.
[Galaxy S II General] Colliebudz:
cheers, altough ive got one thats pretty similar to that,

my problem is that when i rotate the display to lanscape the mouse axes are inverted like left = up && right = down :D lol

ive tried loads to swap axes but no avail....

ive got a script i made that will mount chroot kill android and startx

still need to figure out all other goodies! keyboard,audio, camara etc

im happy with the fact i own you framebuffer!

i ran >>> cat /proc/bus/input/devices told me all about the /dev/input on the handset.

think this uboot thing needs dedicated partition for the linux install?

still baffed lol
[Galaxy S II General] joesnose:
Unfortunately i never found a way to rotate the touchscreen and could never get the touchscreen working with the evdev driver. Although i believe in the uboot demo the author states he is using evdev, getting that to work might be the key to rotating the screen.

On a side note i have a good tecnique for restarting android from linux. Make a script that looks for a file, if it finds it restart android GUI. Start the script before you kill android GUI.
[Galaxy S II General] Colliebudz:
whats that how do you do that? im fed up with rebooting to get back to android.

ive got it in landscape, just the mouse axis is backward >>> moving up moves the cursor right and moving left moves the cursor down?

tried literally hundreds of different combos in xorg.conf and xorg.conf.d folder.

grrr

heres my xorg.

Section "ServerLayout"

Identifier "Layout0"

Screen "Screen0"

InputDevice "cyttsp-i2c" "CorePointer"

InputDevice "gpio-keys" "CoreKeyboard"

EndSection

Section "InputDevice"

Identifier "gpio-keys"

Driver "evdev"

Option "Device" "/dev/input/event1"

#Option "SwapAxes" "yes"

EndSection

Section "InputDevice"

Identifier "cyttsp-i2c"

Driver "mtrack"

Option "CorePointer" "true"

Option "SendCoreEvents" "true"

Option "Device" "/dev/input/event2"

Option "Protocol" "Auto-dev"

Option "Rotate" "CCW"

#Option "Emulate3Buttons" "true"

#Option "ButtonMapping" "1 2 3 5 4 7 6 2 2"

#Option "XaxisMapping" " 6 7"

#Option "InvertX" "true"

#Option "InvertY" "true"

#Option "IgnoreAbsoluteAxes" "true"

#Option "SwapAxes" "true"

#Option "RandRRotation" "true"

#Option "SHMConfig" "true"

EndSection

Section "Device"

Identifier "Card0"

Driver "fbdev"

Option "fbdev" "/dev/graphics/fb0"

Option "Rotate" "CCW" # OFF=0 CW=90 UD=180 CCW=270

#Option "SwapAxes" "true"

#Option "InvertX" "yes"

#Option "InvertY" "yes"

EndSection

Section "Screen"

Identifier "Screen0"

Device "Card0"

DefaultDepth 24

#Option "SwapAxes" "true"

SubSection "Display"

Depth 24

Modes "800x480_60.00"

EndSubSection

EndSection

as you can see lots off editing on the go annoying...made some changes to this but this gets my touch screen workin put either "CW" or "CCW" for portrait and landscape...under the Card0 part.

in portrait the mouse axes is fine? only landscape goes all offkey

install "" sudo apt-get install xserver-xorg-input-mtrack ""

could you share your script for restartin android with this scanner thingy please??

cheers
[Galaxy S II General] joesnose:
Here is the script, run it before killing android ui

#!/system/bin/sh

while [ true ]; do

if [ -f /storage/sdcard0/cheese.txt ]; then

rm /storage/sdcard0/cheese.txt

setprop ctl.start media && setprop ctl.start zygote

echo cheese destroyed

exit

fi

sleep 5

done

You can edit it as you desire. It looks for a file on your sdcard called cheese.txt and if it finds it restarts android ui and deletes the cheese.txt.

So in ubuntu I made a little script that copies cheese.txt from another location into sdcard and after a few seconds boots back to android.

Not my work, got a lot of help from a fella on another blog, it was his idea. Simple and effective.