yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] Vapochill:
Hm i used Google Chrome

First download the following files, hxxp://xxx.megaupload.com/?d=FL8XEA11

And unlock a folder into the C slot A688_Tools

Then caught a few files xxx.img above also put c: \ A688_Tools under

After the phone off press and hold

[Hang Up] (is that the red end key) + [Sound Down] + [Power]

Into the Fastboot mode

Boot to the screen will be stopped Verbatim, the computer will prompt you to install the driver,

Choose to install the driver from the A688_Tools

After installation on your computer's Device Manager should see a ADB Interface

Will see after opening the android sooner single adb interface

This will install a good driver

Will be used when using the command prompt

(In the [Start] => [All Programs] => [Accessories] => [Command Prompt])

Play "cd c: \ a688_tools" press [Enter] key

Then hit "fastboot flash recovery recovery.img" press [Enter] on the brush can recovery.img to recovery partition (like windows above the C slot slot D) of the

fastboot about syntax like this

fastboot flash <partition name>

==========================

Jiugen computer, like Ghost,

To a partition with the original data covering the last to complete the Recovery of
[HD2 Android Q&A, Help & Troubleshooting and Genera] dcordes:
how do you know which touchscreen is used in apanda a60 ?

here http://www.eetimes.com/showArticle.jhtml?articleID=224201128&printable=true&printable=true it says a60 has ELAN EKPT1051

and in the wiki http://htc-linux.org/wiki/index.php?title=Leo_Ts it says hd2 has Elan B81_3 .

where is the kernel source code? some android rom is not very interesting

edit: regarding kernel sourcE: http://translate.google.com/transla...direct.php?goto=findpost&pid=74575&ptid=10616

looks like we got GPL Violation here
[HD2 Android Q&A, Help & Troubleshooting and Genera] scrizz:
not good .
[HD2 Android Q&A, Help & Troubleshooting and Genera] dan1j3l:
Today I rebuilded complete android distro (codeaurora mocha.cupcake for qsd8650) and kernel with same toolchain. Created ext2 partition on SD card and "extracted" complete ramdisk and rootfs to that partition. After running haret and booting as I expected android halted when init tryed to execute one of the system binaries (last line on screen is "adb_open"). That segfault problem is now REALLY ANNOYING !!! I tried same thing with TINY android build, and no luck...

Dcordes where did you get latest toolchain, did you built it yourself or something else ? Can you send me link or PM, because i want to try it with your toolchain. (I tried with 4.4.1).

Cheers
[HD2 Android Q&A, Help & Troubleshooting and Genera] 666Duvel666:
well, i'll use it!! :p It's my suport for the developers! They just deserve it and need to know that we (those who don't have the knowledge to help) are crossing fingers! Every little progress is allways a step closer! That's why i'll wait all the time it'll take.

@ Developers: keep up this awsome work!! :D:D:D

Cheers from Portugal!!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] sullitf:
So I have yet to dive into the development effort of getting Android on the HD2. Given that, I have 2 related questions (to anyone here, not just dan)...

1) What is a good place to start with helping the Android port? I am a Software Engineer and did a decent amount of work with Android while I had a G1 so I'm not new to the process. I have seen some of the transcripts from the devs talking and know what they're talking about in general, but obviously am missing a lot of the basics they are using like: are they testing android on an emulator or are they flashing it to an hd2?

2) You said it was crashing right after adb_open. Would this mean that ADB itself is causing the problem, dying as it trys to connect the phone to the computer for debugging? Has anyone tried getting rid of the adb bit and booting that? It would make debugging a royal pain, and we'd want adb back but this may give us an insight into whats broken. Just a total shot in the dark, I'm guessing I'm not out-thinking the devs working on it here
[HD2 Android Q&A, Help & Troubleshooting and Genera] dcordes:
Good to see somebody on here building the kernel. I'm using codesourcery 2009q3 at the moment. http://www.htc-linux.org/wiki/index.php?title=Toolchain

You can catch up on our discussion on the toolchains and everything else by reading the mailing list archives http://www.htc-linux.org/wiki/index.php?title=Contact

1) Check the wiki contact link above. Most recent discussion on mobile-linux-discuss mailing list is about leo.

No, an emulator would not make much sense as it usually simulates a generic machine while porting the linux kernel is device specific. I don't know who tried accessing nand. You can use an initramfs or mmc partition as root.

2) The problem is on low level. It is not caused by userspace. Real GNU/Linux userspace crashes as well.

AKA 'Nobody is porting android' (tm)
[HD2 Android Q&A, Help & Troubleshooting and Genera] Franquicia:
I think Apanda screen is HVGA, but exist another phone called "sunno" that is WVGA
[HD2 Android Q&A, Help & Troubleshooting and Genera] dan1j3l:
Ok, thx... I will try to help with development as much as I can because I know linux and C development very well, though I didn't do much with low-level programming. (But I'm quick learner :) )

For now I'm stuck at work, so can't do anything from here :( (I must finish some PHP and .NET projects for my boss )

Cheers...
[HD2 Android Q&A, Help & Troubleshooting and Genera] stirkac:
Had anyone tried with Evo4G drivers? It cannot be so different, HTC copies it's hardware to all possible shapes before they make a new one. Why in the world would they change snapdragon structure for just one device ?:S

I believe 4G has the same proc. with some additional chips(this should solve segfault-or not?), and it just got rooted completely...

Join the forces!
[HD2 Android Q&A, Help & Troubleshooting and Genera] Baker0:
Please some one shoot me in the head!
[HD2 Android Q&A, Help & Troubleshooting and Genera] :
@666Duvel666 @all

Ok signture and smaller avatars are coming soon.....

@decordes

S***t !!! And now.....?????

EVO's hardware seems to a little bit different hardware from hd2 but never knows if some drivers would help to build android for hd2.....but personally i don't know if htc release the evo kernel :

http://www.phonearena.com/htmls/compare_advresults.php?phones[]=4382&phones[]=3887

Bam!!!! :D Headshot!!!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] thihaz:
need help?

hey dude,

If you need help with the PHP project, let me know though I am not an expert but I have been with PHP for 2 years +.

So that you got some times for development :D

cheers.
[HD2 Android Q&A, Help & Troubleshooting and Genera] :
http://developer.htc.com/

New TMOUS Kernel for Nexus One (Fresh One) 2010/06/10

Will help.....???
[HD2 Android Q&A, Help & Troubleshooting and Genera] dan1j3l:
:D Thx for the offer, but no matter what , i'm still stuck in the office... :(
[HD2 Android Q&A, Help & Troubleshooting and Genera] thomas_06:
ha ha Thank u so much developers........you guys kicked those who wanted to shut this thread down right in the ass !! :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] invensmaster:
Just a quick question and execuse me if it is in wrong Post

I have always wondered why not use the rom coming from the HTC EVo since the evo hardware is almost the same as the hd2? just wondering and i am not expert

Thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] maxld:
just read this damn thread :/
[HD2 Android Q&A, Help & Troubleshooting and Genera] zarathustrax:
Because the EVO is not almost the same as the HD2... they just look similar. This has been stated everywhere many, many times. Reads before asking questions. Most questions are already answered.
[HD2 Android Q&A, Help & Troubleshooting and Genera] jonasPR:
hear...

the hardware is almost the same BUT not all...specially the Processor, the camera and the touchscreen drivers...so, the question why not use the evo 4g rom is a little bit stupid...and if it were possible, why are the developers still searching and programming an functionable and stable rom for the HD2?

pls use that thing were is on your throat and use also the thing where is INSIDE of your head....thx! ;)

:D
[HD2 Android Q&A, Help & Troubleshooting and Genera] dan1j3l:
Latest kernel / system build didn't crash, just dropped me to a root shell, at least I believe so.... Now I just need to get usb keyboard working to see is it really alive...

Dcordes did you use usb keyboard with cable, or wireless version, because I have only 2 wireless keyboards at home... I'm afraid this type of keyboard will not work with basic drivers...
[HD2 Android Q&A, Help & Troubleshooting and Genera] Nimche:
People tend to read the subject of the thread and comment base on their understanding and they don't even bother reading the OP text in the first post. If you are not an expert then before commenting it better to read what this thread is about and what has been done so far. It shows that you don't even respect yourself.

Always, try to read at least the first post to get updated about the situation and the problems.

Cheers
[HD2 Android Q&A, Help & Troubleshooting and Genera] danibjor:
Congrats! What config did you use to compile the Kernel?

Edit: There is a post on the Kernel list about howto enable network drivers - and SSH into the shell.. might help you out.
[HD2 Android Q&A, Help & Troubleshooting and Genera] dan1j3l:
I used standard htcleo_defconfig (for now didn't changed anything) and little older toolchain (arm-2010q1 4.4.1).

For system build I used codeaurora branch mocha.cupcake (for qsd8650) and build it with parameters for TINY_ANDROID (basically bare system build used for debugging )

For booting i used second partition of sd card (extracted complete ramdisk and system)

Thnx, I will try this later...
[HD2 Android Q&A, Help & Troubleshooting and Genera] dcordes:
I added extra defconfig for usb host. if those wireless keyboards of yours use usb hid protocol (likely) it's no problem.
[HD2 Android Q&A, Help & Troubleshooting and Genera] dan1j3l:
I have created USB cable but no luck with keyboard... Kernel detects keyboard, and even usb stick and type of usb hub used but just can't initialize keyboard, or at least keyboard events... I will try tomorrow with classic usb keyboard just to eliminate problem with wireless... After unplugging keyboard or any other usb device i get kernel panic...

BTW I have noticed one error "BUG: sleeping function called from invalid context", do you know anything about it ?

Now i'm compiling kernel with modified config ( experiment with some switches)...
[HD2 Android Q&A, Help & Troubleshooting and Genera] erick10:
Ultra Kill..........God-Like...... I love Counter Strike.

Anyways, guys this question keeps being asked. Theres one to two questions like this per page. WTF.!!!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] dcordes:
Did not observe it here with any usb of the mass storage and usb hid devices. Can you report this in the ML thread were I posted the patch?

Might be related to timers. Try selecting different timer config in system type menu.

Regarding your plan to try different configs: BE sure to check mailing list. E.g. LeTama and me tried all different errata switches. It can't harm to try again but I want to make sure you don't do double work.

It will be the best to subscribe to the mobile-linux-discuss mailing list and move such discussion there. Here information gets lost too easy for obvious reasons. Plus we cannot expect possible helpers to browser forums or refer them here.
[HD2 Android Q&A, Help & Troubleshooting and Genera] dan1j3l:
I will investigate this little more further and report findings...

Ok, will do that...

Any luck with qualcomm guy, I saw last mail on 10 Jun.
[HD2 Android Q&A, Help & Troubleshooting and Genera] microang:
Slow Progress?

Hi,

I've been following this thread for a while now, so don't flame me becuase I've read 100s of posts on this thread, but today there donesn't seem to be any updates, what interests me the most is if you've heard from the qualcomm guy, so have you?

Anyway keep up the great work, any news on the Elan driver from the A60?

Thanks. :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] :
As somebody pointed out, the A60 is a HVGA device, so it definitely is not the same model as the HD2's :(
[HD2 Android Q&A, Help & Troubleshooting and Genera] microang:
Similar Driver?

The problem I believe is the touch screen driver and the LCD is what has the resolution not the touch screen, the touch screen is the layer of glass on top of the LCD which you touch to interact with the phone. So the screen resolution doesn't matter.

Dcordes pointed out that it uses an Elan touch screen / digitizer but a differen't model, maybe becuae the screen is smaller (3.2inches). Decordes is it possible that the driver is at least similar to our HD2's Elan? Like the HD2's might be the larger model of the A60's digitizer? I don't know much about how drivers work as I'm only a Windows Mobile Chef and a hardware technician so only know the hardware side of things and have some basic software knowledge.

So is it a possibility Decordes? If not how far along is the touch screen driver as I'd love to beta test android but don't have that usb host setup. :( I hope you and the developers can fix those errors you keep getting, I would donate aswell but I don't have a paypal account nor want one.

Keep up the great work and keep us posted.

Many Thanks. :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] tundra84:
Wait...ok, I've been following this thread but what happened to the low-level kernel issues? I assume they weren't resolved but what happened to them? :confused: Has the team moved its focus onto other issues or what's happened? And please, I've read nearly every post in this thread but if I did miss something, no need to flame me.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Nimche:
Probably we all know as much as we can all read on this thread. For more information we need actually developers report and that only happenes when there is movment.

I am assuming that there isn't and they are still working on issue which still exist. With paying attention to the first post by Decordes, you will find all the links where everything is taking place but Decordes will update as soon as there is something going on specially he will update his Twitter account.

Hope to see some more progress soon but till then, we need to stay tunned.

Cheers,
[HD2 Android Q&A, Help & Troubleshooting and Genera] tundra84:
Yeah, thanks yer right. I suppose I was just getting a bit android-antsy :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] Zepiii:
I saw this in Energy ROM Changelog :

Reverted to original touch driver for the HD2

Can this help you?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Nimche:
One don't realize how nasty it gets when you try to find a way out of Code mess. Trial and error one after another and becomes frustrating and add the subject that this is not the only thing a Developer does in 24 hours.

We all love to have linux/Android on our HD2 and unless you are a developer who can help with Coding, the only support would be to financially support them.
[HD2 Android Q&A, Help & Troubleshooting and Genera] xlanhackerx:
Hey Guys i follow this working since the beginning and i hope it would be finished in the near future.

I found a nice Article on codeaurora Page:

https://www.codeaurora.org/2010/03/02/little-kernel-based-android-bootloader/

I don´t know if it would help the developers but i think it would be a great information of development with QSD8x50 Processors.

Greetz
[HD2 Android Q&A, Help & Troubleshooting and Genera] sullitf:
To those of you looking for updates, I'll see what I can do....

At the moment the kernel issues persist. They are still getting segfaults (memory errors) when trying to boot the kernel. Right now all of the devs are actively looking into different possible reasons for the error, but as of now they haven't been able to pinpoint the exact issue.

I'll try to keep putting updates in this thread every day or two. I'm a programmer and have just started learning exactly how the devs do what they do. I'm now signed up for the message list where all the devs talk back and forth, so I'll do my best to keep updates coming. Though, all the updates for the (hopefully) near future will basically say the same thing...segfaults in the kernel, they're working on it
[HD2 Android Q&A, Help & Troubleshooting and Genera] maxld:
Please, shoot me in the face :(
[HD2 Android Q&A, Help & Troubleshooting and Genera] dan1j3l:
You can't download Android because, it's not working yet... Next time be so kind and read at least first two posts before asking questions...
[HD2 Android Q&A, Help & Troubleshooting and Genera] agent.smiths:
Headshot :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] sullitf:
Quick couple of questions for those of you actively working with this. I just got the kernel successfully compiling for the first time and came across a few thing I was unsure of.

1. I got htc-msm-2.6.32 from git://git.linuxtogo.org/home/groups/mobile-linux/kernel.git. Is this the latest kernel, or are there additions you guys have made that I need?

2. I used htcleo_defconfig, should I have used htcleo-usbhost_defconfig instead?

3. I used the arm-eabi-4.4.0 toolchain I got from git://android.git.kernel.org/platform/prebuilt.git. Is there a better toolchain to use, and if so where can I get it?

4. Once I get zImage from the compiled kernel I can use PaRET to boot it, right? Do you guys compile the kernel on a Linux box and then take the zImage over to a windows machine and use PaRET, or are you doing it through Cygwin?

5. Last question ;) What exactly happens when using PaRET to try to boot the kernel on my HD2? Will it use the internal memory or SD card in my HD2? If so, what do I need to do to be able to get back to a usable phone after trying out the Linux kernel? This is still my daily phone so I don't want to totally jack it up.

Sorry for having all these questions, but they should be easy ones! Hopefully I'll have my legs under me with this process and can start helping out with the development.
[HD2 Android Q&A, Help & Troubleshooting and Genera] microang:
Well to answer your question about how you get back to a working phone, you simply pull the battery or use the soft reset button under the battery cover to restart the phone in windows mobile. Because it is not an emulator it flushes the RAM and runs the kernel so window mobile is unloaded in the process. Also it boots off the SD card not the phone memory.

Best of luck with the kernel.

P.S. The bootloader I believe is called HaRET not PaRET! ;)

Written on my HTC HD2.
[HD2 Android Q&A, Help & Troubleshooting and Genera] sullitf:
thanks! I actually already downloaded HaRET and just kept writing PaRET for some reason, guess that's what happens after a full day of work followed by Linux kernel work
[HD2 Android Q&A, Help & Troubleshooting and Genera] luckych:
Hey team,

Got a quick suggestion for reducing the amount of people who keep asking "Where do i download Android" etc.

Can we just change the name on the thread to "[PROJ] Linux/Android on HTC LEO / HD2 (No Working Android or ETA available Yet)"

or remove the word Android since were currently trying to get linux working haha

Great work everyone so far will by you beers when its completed!

Luckych
[HD2 Android Q&A, Help & Troubleshooting and Genera] adioph:
hope camera, gps and video recording are working once this project is implemented.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Renazzi:
+1, i think it's a relly good idea. Hopefully no noob questions after that.:)
[HD2 Android Q&A, Help & Troubleshooting and Genera] foyaeman:
I know this isn't dev related, but was dcorde's twitter possibly hacked?

"ok my friends fullstop but if you gonna take on my friends: you arab p****s gon e"
[HD2 Android Q&A, Help & Troubleshooting and Genera] nirvanafreak919:
lol that shouldnt even be necessary, although its a good suggestion. I seriously cant believe people are asking where to download android.
[HD2 Android Q&A, Help & Troubleshooting and Genera] erick10:
I also +1 on this. It is annoying reading post from noobs asking where to dl android or how to run it.
[HD2 Android Q&A, Help & Troubleshooting and Genera] hendr1k:
I just sit and waiting patiently for my android ..

meanwhile for those who want android better buy htc evo and swap your hd2 from your pocket with EVO if u wanna using Android :D :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] dan1j3l:
1. Yes, this is good source...

2. You can use both configs, htcleo-usbhost_defconfig is for enabling usb host mode (if you want to try keyboard or other usb devices)

3. We are using toolchains from codesourcery, so be sure to use latest gcc (4.4.4 is fine)

4. Compile kernel to Image, not to zImage. You can find boot config (default.txt) in first post. It's best to use linux box for development process.

5. HaRET basically flushes winmo and boots linux kernel, so all you need to do is to put all files to root of your sd card (define kernel image and initrd in default.txt) and run HaRET. To go back to WinMo just softreset device...

Feel free to join our discussion on mailing list or irc...
[HD2 Android Q&A, Help & Troubleshooting and Genera] simranjits:
Unlikely hacked , he's just pulling another tom condom.
[HD2 Android Q&A, Help & Troubleshooting and Genera] xlanhackerx:
Hey i postet some interesting news about an article from codeaurora.org

The discribed Linux base Android Bootloader seems to be really interessting:

Here are some informations from their article:

This sound really great because if we would use this first before booting the kernel directly it would do everything automaticly and then finished with booting the kernel.

AND these would help us hopply with some informations when it boots:

I don´t know if our Device could use "Fastboot" at the conversation in the IRC Channel i read something about it but i think this could answer us the developers themself...

Greetz
[HD2 Android Q&A, Help & Troubleshooting and Genera] hendr1k:
you can download from google just searc htc evo:D gud luk
[HD2 Android Q&A, Help & Troubleshooting and Genera] fards:
that's a bootloader, and would involve having the os flashed directly into memory.

Development is a long way from there, and unlikely to be possible.
[HD2 Android Q&A, Help & Troubleshooting and Genera] fards:
I think you should get a ban out of sheer stupidity..
[HD2 Android Q&A, Help & Troubleshooting and Genera] ryuu55:
+1...................
[HD2 Android Q&A, Help & Troubleshooting and Genera] danibjor:
Why is that?

x2 - and same goes for all other users asking questions like that
[HD2 Android Q&A, Help & Troubleshooting and Genera] chrisjasper:
"rude chavs demanding crap immediately"

So true...........
[HD2 Android Q&A, Help & Troubleshooting and Genera] xlanhackerx:
Ok i personally think that we could use this Bootloader for helping to find some bugs or something else because they writing something about

I know that the actually kernel have many bugs because the Processor wont done working correctly..

Another Question by my side would be the answer from Daniel Walker by the discussion between him and Le Tama...

Hey says something about basic supporting in the beta kernel if we could name xD ? :Link to the discussion:

What exactly does he mean with these answer ?

I´m beginner with linux development, programming more with microcontrollers but would learn howto develop with linux kernel for mobilephone, too..

Greetz