yashsingh1/xdaforums huggingface dataset:
[Touch HD Windows Mobile ROM Development] p3ngwin:
i've been dying to have Android or some form of Linux on my device since i got it. i've just HAD IT with WinMo until MS get their **** together and make a functional and efficient device OS.

when i had my UNIVERSAL i enjoyed plenty of extended life from the great people here, and after 3 years i gave back to the community by organizing the giveaway of TWO FREE universals to cooks that still develop for it.

i'm upgrading my HOUCH HD to a Nokia N900 (or anything decent near the time) at the end of October. that's less than 8 weeks away. i bought the TOUCH HD for $1,200au and less than a year later i was thinking to sell it (box and everything else) for about $600au on Ebay. but if people think that they don't want to spend more than that getting these guys a device for the continuation of the LInux project, i'll be happy to accept $400au as a "community discount" :)

if this sounds like it will get a cheap TOUCH HD into the hands of these developers so Android can happen even faster, let me know.
[Touch HD Windows Mobile ROM Development] imtiyazee:
I'm willing to donate :)
[Touch HD Windows Mobile ROM Development] townkat:
they got sound

they got sound for Diamonds and Touch Pros,

http://htc-android.com/viewtopic.php?f=15&t=300

seems that our android on hd is very close, lets hope for a new haret.exe test version for us too :D
[Touch HD Windows Mobile ROM Development] brumbrum:
I hope they solve how to create a bootable and flashable image with Android/Linux so you dont need to use Haret to boot it.
[Touch HD Windows Mobile ROM Development] idandush:
once we will have a working android , haret is a little problem :)

but its sooooo good to know we are getting closer !

because it is so hard to sell the HD , i would rather have a ported android .
[Touch HD Windows Mobile ROM Development] Plokhish123:
Guys, what do you think about this info: http://www.reghardware.co.uk/2009/09/04/htc_touch_hd_update/
[Touch HD Windows Mobile ROM Development] casefan7:
Sounds like the only differences are going to be a slightly faster CPU, and ofcourse android.

So if we get android working on the touch HD I don't see any reason to be worried.:D (Cpu is fast enough, the current android phones have the same 528Mhz Qualcomm chip I guess?)
[Touch HD Windows Mobile ROM Development] globiboulga:
I don't get HTC... This is the flagship model and they stick with a **** processor while Tegra and Snapdragon are available now... Given the multimedia expectations put on the phone, having hardware barely capable of managing the software is just appaling. Apple must be laughing loud...

Back to the topic: the Android/Linux port has been vaporware so far and I suspect given the speed of the progress, the Touch HD will be obsolete by the time any port is available, let alone optimised (I suspect most enthousiats here will move on quickly to next big thing - although by the look of it it's not going to be the next generation). Very sad...
[Touch HD Windows Mobile ROM Development] patp:
I hope they do move on. People with unrealistic expectations and poor understanding have been a real problem here, thinking that they can get a production quality replacement for wince and get it quickly. I have no idea why they haven't already gone and bought a Magic. But the device will still exist for a few years even after HTC stop making it, and linux enthusiasts will still do what they are doing. You could call the vogue obsolete, but it has a lively android dev community.
[Touch HD Windows Mobile ROM Development] nizzon:
I see what you mean but I really hope devs will look past this.

Some of us are using this phone in work and dont have the option to sell it for a real Android-phone.

The latest news are really nice to hear.
[Touch HD Windows Mobile ROM Development] El Massman:
was having a quick poke through the IRC log posted a couple pages back...

22:34	Untouchab1e	Btw, anyone know why Android isnt running on the Blackstone yet?

22:35	Untouchab1e	its pretty much identical to the Raphael in terms of hardware

22:35	Untouchab1e	only exception being the screen

22:35	cr2	nobody has such device here,.

Anyone tried compiling yet? Been searching round for the changes made to fb but can't find them. Anyone help here?

Thanks,

Marc
[Touch HD Windows Mobile ROM Development] dwaradzyn:
I have tried. It is all on the irc logs past few (3 or 4) days. All you need to compile for blackstone is:

1. use some defconfig (htcblackstone_defconfig or htcraphael_defconfig)

2. make sure that sapphire board is disabled in system type

3. change arch/arm/msm/clock_wince.c the value for PMDH clock from 0xa04 to 0xa19

and it should build and boot successfully.

I'm testing it but I was not able to get sound or gprs working yet. I've pasted some debug info about the sound today. Hopefully the guys from #htc-linux will adress that and point me/us to right direction.
[Touch HD Windows Mobile ROM Development] idandush:
dwaradzyn ,

i am about to do the same as you and try to compile for blackstone also .

can you reference me to some of the files you use ? i need a starting point :)

thanks !
[Touch HD Windows Mobile ROM Development] dwaradzyn:
Everything you need is in wiki:

http://wiki.xda-developers.com/index.php?pagename=BlackstoneLinux

Also check the wikis and search linux thread of other devices. I you get lost post a detailed question here.
[Touch HD Windows Mobile ROM Development] cr2:
You are missing the SND enpoints config in board-htcblackstone.c

Copy them from board-htcraphael.c or diamond.

Then i'd expect your sound to be working :)
[Touch HD Windows Mobile ROM Development] patp:
@dwaradzyn, cr2 says if you enable SND endpoints it should work.

i see in your config, CONFIG_SOUND is not set.

hth, let us know, i think you will be the first to hear android go beep! hurry up though, i was the first to see the screen working, i'm going to try this too!
[Touch HD Windows Mobile ROM Development] nizzon:
WOW!

Reading the irc-logs and diamonid forum. Things have been moving forward really fast lately. Hopefully someone will start testing all this on the blackstone soon.

cr2: One question if you dont mind.

Just out of curiosity... Are you guys using any of tuxheros work or is that still separate?
[Touch HD Windows Mobile ROM Development] patp:
I read the logs quite closely. dwaradzyn is our big hope for getting a noisy kernel going right now, he appears to be working on this every day.

it was nice to see tux contributing on the channel the other day, but I think his work is still very much his own.
[Touch HD Windows Mobile ROM Development] El Massman:
@dwaradzyn: i've followed the instructions on the wiki to the letter. i've also taken the endpoint from the diamond's file and added them to the blackstone's as cr2 suggested. i'm getting this error when i try to compile though.

root@Halley:~/blackstone-dev/kernel# make zImage ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-

make: arm-none-linux-gnueabi-gcc: Command not found

CHK include/linux/version.h

make[1]: `include/asm-arm/mach-types.h' is up to date.

CHK include/linux/utsrelease.h

CC kernel/bounds.s

/bin/sh: arm-none-linux-gnueabi-gcc: not found

make[1]: *** [kernel/bounds.s] Error 127

make: *** [prepare0] Error 2

Any suggestions? This is my first time compiling a kernel so i'm a little lost.

Regards,

Marc
[Touch HD Windows Mobile ROM Development] dwaradzyn:
The error here is

make: arm-none-linux-gnueabi-gcc: Command not found

It means that your toolchain is not on the PATH. To fix it try something like this before running make:

export PATH=~/blackstone-dev/arm-2008q1/bin:$PATH
[Touch HD Windows Mobile ROM Development] tuxhero:
No they are not using any of my work. It's there own work. I am happy to see audio working. Thanks for dzo (for Audio).

I still working on my own.
[Touch HD Windows Mobile ROM Development] townkat:
dwaradzyn: did you managed to get audio?

and will you post a compiled version pls ?, i die to try the new one :D
[Touch HD Windows Mobile ROM Development] dwaradzyn:
Do not expect a real progress from me as I am only building and testing what dzo/cr2/others are developing. Be assured that if audio or gprs start working then I will post it here.
[Touch HD Windows Mobile ROM Development] dwaradzyn:
I would like to use your work. Can you share?
[Touch HD Windows Mobile ROM Development] townkat:
dwaradzyn: did you read this, what happened ?
[Touch HD Windows Mobile ROM Development] dwaradzyn:
CONFIG_SOUND is for OSS and ALSA. I think it is not needed for sound in Android - raphaels don't need it. I tested with it enabled and there is no difference for now - still silence.
[Touch HD Windows Mobile ROM Development] Zwonzen:
still got the same error....i think the compiler arm-none-linux-gnueabi-gcc is not integrated in my system....is this possible?

Sorry if i see something wrong...im new on linux and kernel build
[Touch HD Windows Mobile ROM Development] imtiyazee:
don't ask Tux to share else our beloved members will start shouting at you, he will share if he wants if at all he completes..:D
[Touch HD Windows Mobile ROM Development] dwaradzyn:
You need to install it. Double check - it is in the wiki guide.
[Touch HD Windows Mobile ROM Development] kva:
I think that it is not related to kernel config. It is related to your blackstone configuration base - in code. Will try to play with it today.
[Touch HD Windows Mobile ROM Development] Zwonzen:
ive followed the wiki step by step...even more than 2 times ;) seems ubuntu dont want to work with this compiler... still the same error msg...now trying to use SuSE instead of Ubuntu...google gave me a hint
[Touch HD Windows Mobile ROM Development] dwaradzyn:
I tried that yesterday. I have merged some of raphael's code into blackstone but it still did not work. Here are my changes:

http://pastebin.com/m1a155466

It would be nice if someone else would try to do the merges - maybe I made some mistake that you will not :)
[Touch HD Windows Mobile ROM Development] dwaradzyn:
I will work on Ubuntu (i use it). All you have to do is unpack some archive and update your PATH. You can check if you installed it correctly by issuing:

arm-none-linux-gnueabi-gcc --version

this should give you following output:

arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2008q1-126) 4.2.3
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[Touch HD Windows Mobile ROM Development] IAmSmoke:
For the PATH problem:

WIKI, step 6:

cd ~/blackstone-dev/kernel

export PATH=~/blackstone-dev/arm-2008q1/bin:$PATH

make zImage ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-

make should be executed as root, while root's PATH is not updated!

~/ is your home folder, which is different for your regular username and for root.

Do the following (assuming you are running Ubuntu, your username is uname and you extracted the arm toolchain in your regular home folder (blackstone-dev subfolder, as in the wiki)):

sudo su

export PATH=/home/uname/blackstone-dev/arm-2008q1/bin:$PATH

make zImage ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-

With exit, you can exit super user session.

I made no changes to the files from the repository - I wish I knew what to play with!

I managed to build the kernel using htcraphael_defconfig, but it didn't boot (device hang after HaRET progress bar was full). The htcblackstone_defconfig gave me errors during make (undefined references) :(
[Touch HD Windows Mobile ROM Development] dwaradzyn:
You are not right about the root part. There is no need to build kernel as root. Apply this patch and you will have working htcblackstone_defconfig:http://pastebin.com/m1af066a3.

I'm attaching a kernel build which should have gprs working. I was not able to get it working (you need to configure APN in android) but others may have more luck.
[Touch HD Windows Mobile ROM Development] El Massman:
ah, that would make sense. i'll give that a go when i get chance to boot back into ubuntu.

@dwaradzyn: nice work on the kernel. how similar is this one to the latest one posted on the wiki? noticed a few things broken under yours. end key no longer turns off the lcd, just a couple lines of code then locked screen. i'm assuming it attempts it but it's unsuccessful. secondly, the home key is now them menu key and there's no home. personally i never liked having the menu key between home and back and would rather see it as a long press of home for example because i tend to knock it a lot at the moment.

my question here really would be do we need to find the changes made on our wiki kernel and add them to this one OR is the code in this kernel compatible with the blackstone and better but just not properly set up for our device yet?

regards,

marc
[Touch HD Windows Mobile ROM Development] dwaradzyn:
2.6.27 branch contains the changes made for kernel available in wiki. There were many changes for diamond and raphaels which need to be merged (and eventually corrected) for blackstone.

The end key has a good use only during a call. In android you can set end key to behave like home or back key (and there are other options) outside calls. This makes one of them (back or home) unnecessary. On the other hand the menu key is vital for andoid usage - that why i remapped it. Without menu key you are not able to reach some of settings - ie. APN settings.

I think further improvements for the keypad are not essential right now. For example there is a bug which makes a tap anywhere on screen interpreted as call key. This happens rarely but if you click a lot you will see it in seconds. Lets do it later.

The priority now is to get audio, gprs and power management working - with those three we will be able to switch wm for android for everyday usage. And those three are almost finished for diamonds and raphaels.
[Touch HD Windows Mobile ROM Development] El Massman:
didn't realise about the end key. that said, i agree totally. the key mapping makes perfect sense. the three things you've mentioned are basically all i'm looking for with the one exception being graphics acceleration. didn't see that activated in your kernel but i believe daim/raph have? i can live without gps, bluetooth/wifi etc. i'll continue doing what i'm doing then. i have no previous kernel experience but have with coding. the more people we have playing and testing the more chance we have of getting something working. most of the foundations have already been laid for us.

many thanks,

marc
[Touch HD Windows Mobile ROM Development] dwaradzyn:
According to htc-linux people 3d hw acceleration should work out of the box. I think it is enabled (at least MSM Hardware 3D Register Driver is enabled). I don't have any android app that uses 3d so I haven't tested it.
[Touch HD Windows Mobile ROM Development] bartekplus:
hi downloaded an build kernel (from wiki instruction), i have some troubles the with htcblackstone config , i do some simple modification and successfully run it with haret and android08.img :], where can i download initrd with newer version of android ?
[Touch HD Windows Mobile ROM Development] ASK768:
the one on the wiki is the latest release for the public.
[Touch HD Windows Mobile ROM Development] bhagvan:
Can someone help with this error not able to get it working

root@ubuntu:/home/bhagvan/blackstone-dev/kernel# gcc arm-none-linux-gnueabi --version

gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3

Copyright (C) 2008 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

root@ubuntu:/home/bhagvan/blackstone-dev/kernel# make zImage ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-

make: arm-none-linux-gnueabi-gcc: Command not found

CHK include/linux/version.h

make[1]: `include/asm-arm/mach-types.h' is up to date.

CHK include/linux/utsrelease.h

CC kernel/bounds.s

/bin/sh: arm-none-linux-gnueabi-gcc: not found

make[1]: *** [kernel/bounds.s] Error 127

make: *** [prepare0] Error 2

root@ubuntu:/home/bhagvan/blackstone-dev/kernel# echo $PATH

/home/bhagvan/blackstone-dev/arm-2008q1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
[Touch HD Windows Mobile ROM Development] Zwonzen:
try to compare the filename from /arm-2008q1/bin/arm-none-linux-gnueabi-gcc

if that's the filename it must be "CROSS_COMPILE=arm-none-linux-gnueabi-"

ive made a mistake there:D
[Touch HD Windows Mobile ROM Development] Lox_Dev:
Before compiling I do :

#export CC='/home/user/Dev/Android/Compile/arm-toolkit/bin/arm-none-linux-gnueabi-gcc'
[Touch HD Windows Mobile ROM Development] Zwonzen:
now i hang at this
[Touch HD Windows Mobile ROM Development] sjoerd_t_B:
has there been any progress with the android port for blackstone or diamond? Is someone already able to get sound on the blackstone, because it is prety silence the last few days.:(
[Touch HD Windows Mobile ROM Development] BigDaemon:
i don´t know anything about Kernel compiling, not much about Linux and nothing about compiling a linux-kernel for Blackstone

but

i know something about coding

and the error you get says something about "undefined reference to `msm_proc_comm_wince' "

what catched my eye on this is:

1) on the beginning of the reference there is a `, on the end a '

is this right??

2) why is the referene undefined? Have you checked if the file/variable/whatever existes and is defined RIGHT?

Greets and good luck
[Touch HD Windows Mobile ROM Development] imtiyazee:
HTCPEDIA

Originally Posted by tuxhero View Post

Hi Friends,

I am still working on this project.

I have contacted hxxp://git.linuxtogo.org/ (people behind #htc-linux irc group)

for hosting my project at there git repo in a new branch but they reply me with a nice website link

dontouchthat.ytmnd.com

Howevery i continue to work on my own i try to work along with other developers at htc-linux irc but it seem i can't work with them.

It's nice to see Audio working (With some ugly hacks) by dzo
[Touch HD Windows Mobile ROM Development] NeoS:
Have you guys seen this? http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here.html

It has support for 800x480 screenresolutions! :) It should make it easier to develop for Blackstone, right?
[Touch HD Windows Mobile ROM Development] heatsha:
Yes i want it too! Plz upload your files!!
[Touch HD Windows Mobile ROM Development] xmoo:
Asked the guy from google to share the kernell.

His response!

"

No sorry, we dont work with Haret like you guys we have some other Data Pack to boot it !!!

"
[Touch HD Windows Mobile ROM Development] sedde:
What i first thinked of when i read your message.

"Haha we just got boned" ..
[Touch HD Windows Mobile ROM Development] jura55:
Android is Linux under GPL?

Hmmm, I think Android use Linux source code which is under GPL license, so I think Google have to release sources, or am I wrong?
[Touch HD Windows Mobile ROM Development] insectskin:
This might be a stupid question but with Android SDK dont we need the data pack they use?
[Touch HD Windows Mobile ROM Development] El Massman:
has anyone asked the question why they'd be porting it unless they had some kind of plan to release it? even if this 'g2' comes out and it's heavily based on the HD, then surely the source for that will be released and it should solve a lot of our problems? if they've spent enough time working through the screen issue we have then they must have some motive. either an HD compatible android source will become available at some point? or the g2 has the same screen and we can use this as a base for porting android to the HD?
[Touch HD Windows Mobile ROM Development] heatsha:
Xmoo whats about your data can you upload it plz?
[Touch HD Windows Mobile ROM Development] chaosxq:
I was reading your thread about the X1 being the same as G1 and HD hardware wise. I read on the Wikipedia website that the video chip on the X1 is ATI. Maybe thats why results are different with HD and X1

I think the one on the HD is PowerVR licenced through Qualcomm.
[Touch HD Windows Mobile ROM Development] projection:
HD = ATI Imageon
[Touch HD Windows Mobile ROM Development] gaelynx:
It seems that the dude "working for google" removed his youtube videos..

So if it was not fake then at least we know it works, and if it was then let's not think about it anymore.
[Touch HD Windows Mobile ROM Development] Thegn:
Hi,

Thank you xmoo, and all others, for trying to get Android to work on the HD!

What we have up to this day, is rumours of a port of Android working on the HD. We also have Android apparently booting from the Storage Card, but with scrambled picture. The X1 can boot Android, but it has some color issues and functions missing.

So, the HD and X1 have a lot in common. I'm not a programmer, so please correct me if I'm wrong, but I do think that it is possible to boot Android without to much garbled graphics and tailor made graphic drivers on the HD. Am I wrong? The X1 doesn't have tailor made drivers, right? So, I think that with some small tweaks, we could get a picture on our beloved HD. The problem is the screen size and timings.

I wish I could be of more help, but I just want say that this is not an impossible task, as many other HTC devices can run Android, and without tailor made graphic drivers.

Keep up the good work!

Thanks,
[Touch HD Windows Mobile ROM Development] xmoo:
I'm going to Dcordes today. To give him his X1. Dcordes is a good friend of mine who also worked a lot with me on getting Android to work on the HTC TyTN II.

I got X1 and HD. He gonna work only on the X1. But will bring both phones to him, so we can do a bit kernell hacking :D

So hopefully more new 2night.
[Touch HD Windows Mobile ROM Development] jagharoturnarjagtanker:
Found an interresting video of a "Dream" prototype from Google:

http://www.droideo.com/video/Sciphone-Dream-G2-hands-on

And now what I think of the HTC-HD-G2-ruomers here in this thread:

I really hope that all the conversation with the guy who put the Youtube-video of the HTC HD running Android is BS!

I have worked for Sony Ericsson before, and if I had gone out with information like that or emailed anyone with that kind of information, OR put an image or video of a new prototype on the internet, I would have got BIIIG problems! Now when it is no secret anymore I can share this information: Sony Ericsson has working prototypes with Android running on them :-), but I personally wait for you guys to get Android to fully work on HTC HD! I have ordered a HTC HD that will be delivered to me in the end of next week, and when I get this device I will do all I can to help you with the android-development for this device! (because I had to give the Sony Ericsson devices I owned back to the company, and now I only got a HTC Touch Cruise that isn't mine either).

I belive this: Either the guy that put the video have got the HTC HD to run Android and dont want to share, or else it is a fake video. Probably the first option...

Getting full documentation and specification to a device like this isn't hard, but if you get it illegal and develop something with the new knowledge you got you dont want to share it. I would guess this is the case here.

The guy is probably a thief who got documentation that he isn't allowed to own, and with the documentation he fixed the last part of the drivers that wasn't working in the kernel you released here in this forum-thread.

This is my guess!
[Touch HD Windows Mobile ROM Development] xb00t:
Looks like a very fine knock-off to me. :)
[Touch HD Windows Mobile ROM Development] jagharoturnarjagtanker:
This is the link I made comment on (if not everyone understood it).

The video is, as told here some posts above, removed by the user.

This just makes my theory stronger.

I hope the delivery of my HTC HD is going fast, I really want to play with Android on it!! Android probably is the future!

It's sad it cost alot to order a Google Dev1-device! The shipment to sweden and other costs involving the shipment cost more then the device itself! If it wasn't like this I would have ordered a Google Dev1 instead.

Isn't the kernel used in Dev1/G1 public? Cant we just try to run that kernel? Dev1/G1 uses the same hardware as HD?