[PRJ][OS]Linux and Android on HTC Diamond "NOT YET WORKING" - Touch Diamond, MDA Compact IV ROM Development

This thread discusses Linux for HTC Diamond and HTC Raphael
User resources
To get started with android real quick use this site http://wiki.xda-developers.com/index.php?pagename=RaphaelDonut
Further information on progress with Linux and Android and help can be found at the Raphael Linux wiki page.
Developer resources
The wiki of the htc-linux.org project has all the required uptodate research information http://www.htc-linux.org/wiki
If you want to contribute in the kernel porting project, please use this wiki.
The latest kernel code for Raphael, Diamond (and the other msm7xxxA devices) can be found in the htc-msm-2.6.27 branch of the linuxtogo.org git repository.
To view my signature, click my nickname to view the profile and then 'about me'
_______________________________
original post:
Hi,
Would be nice if somebody could try and test if the kaiser linux kernel boots on their diamond. Here's what you need
http://linuxtogo.org/~lgorris/kaiser-bootkit/
It has a small documentation but here's what you need to do again:
Get haret.exe, default.txt, zImage and angstrom-console on your diamond into the same folder, run haret.exe and tap run.
edit: the link above points to a website with kernel builds for the kaiser (msm7200). since diamond has msm7201A, it would be better to build directly from the android-msm-2.6.25 branch which has the halibut machine type. halibut is also an msm7x00A. there are some differences between the A and non-A msms.
google git is at
git.android.com
checkout the branch android-msm-2.6.25 ( it's most uptodate)
Click to expand...
Click to collapse

I have in fact been researching this since yesterday. The vanilla Android is for 7x00A devices, and should work on Diamond without too much fuss. I'm not a Linux developer though, so I'll need some help with that part. (though I am a developer)
The Kaiser boot kit does not work. Once it's done loading the device freezes entirely. Kaiser uses 7200 though, not 7201A, and for all I know it might actually be (partly somewhat) running, but with no frame buffer.

agreed with the freezing part.

From Haret:
WinCE reports memory size 134217728 (phys=118571008 store=115261440)
Where did the rest 64 MByte go?

Ok who's seriously interested in getting this to work?
Whats the progress so far? Lets try to get something packaged and up for diamond.

me
I am definately going to spend some time trying to gets this to work when I get my Diamond.

teddyen66 said:
I am definately going to spend some time trying to gets this to work when I get my Diamond.
Click to expand...
Click to collapse
I haven't been able to compile the kernel, but it sounds like you'll be able to. Give it a shot and I'll test it.

I'll test it too.

k, can you also try the vogue builds? http://it029000.massey.ac.nz/vogue/
http://wiki.xda-developers.com/index.php?pagename=DiamondResearch
the shared memory looks similar to the on on kaiser. So it will probably be easy to make communication with the phone work as soon as it works on kaiser. Of course you need to be able to boot first

Hi guys,
I've been trying to get Android running on my Diamond for a few days to no avail.
I've tried the Kaiser set of files and Vogue set of files. The furthest I've got is to make it display the 'Go Go Go...' message and then it hangs.
Has anyone actually got Android to run on a Diamond before?
Thanks.

Vogue does not work, but might be because of HaRET, don't know.
7201A is different from 7200. I would not expect it to work. However, the vanilla kernel is for Diamond type chips, so if anyone could compile a vanilla kernel it's worth testing. HaRET might need a few modifications though.

Very interesting!
This Android thing, getting it to run, what would the expectations be? Functionality, speed?
Just very curious, having once installed some linux-thingy on my magician.

I don't have a Diamond to test on, but I suspect the dev team for the Advantage could be of help. The build they have is running ok on Advantage, the touchscreen driver even works. No phone yet (last I checked). Maybe it will also run on Diamond?

nopes advantage is a different platform

I believe it'll just be a matter of time before we get a fully functioning Android build for the HTC Diamond because I can foresee it to be a very popular platform for the Android.
If there's any modifications to the default.txt boot file that would potentially make this work I'll be happy to try it out and let you guys know the results.

happyguy82 said:
I believe it'll just be a matter of time before we get a fully functioning Android build for the HTC Diamond because I can foresee it to be a very popular platform for the Android.
Click to expand...
Click to collapse
I hope that too . I can not wait to run Android on my Diamond.

I guess it'd be a matter of setting up a cross compile (toolchains - chroot, binutils, gcc, glibc) environment for the ARM, compiling the kernel with the correct drivers and bootstrapping for the ARM.
Am I right? Or did I miss something?

Would this link be of any help ?
http://nemustech.blogspot.com/2007/12/android-porting-to-real-target-hw.html
I would like to get involved if someone is already working on it

Darn that's running smooth ...
... hope we can get some linux running on this hardware.

adwinp said:
I guess it'd be a matter of setting up a cross compile (toolchains - chroot, binutils, gcc, glibc) environment for the ARM, compiling the kernel with the correct drivers and bootstrapping for the ARM.
Am I right? Or did I miss something?
Click to expand...
Click to collapse
Well, kinda. Where do you intend to get "correct drivers" for Diamond
Its not that easy, since HTC doesnt provide 'em

Related

Android on Universal

Android is a new open source mobile operating system that Google developed and an SDK has just been made available.
It would be great to see this ported to the Universal if its possible.
I don't see why it would not run since the Universal can already run Linux (to some extent) and Android is just based on that. Whether and to what extent the hardware can be supported is another question that only our programmers can answer. As we can surely count HTC out on supporting their legacy devices it might not be worth anybodies time in the end.
SDK for Android would not help at all. It is just a set of headers and import libraries. To port something to a device you need complete source codes of its kernel, software, etc. Even more - we don't know hardware requirements for Android. It may require the NOR flash to run from it - and we don't have it on our device at all.
mamaich said:
Even more - we don't know hardware requirements for Android. It may require the NOR flash to run from it - and we don't have it on our device at all.
Click to expand...
Click to collapse
Nobody uses NOR these days, it's too expensive and provides no real
benefit over NAND. The XIP days are over.
I hate java with passion, but i don't see any reason why Android software
will not be running on the universal.
Any news? I mean: can Universal run an Android ROM?
I saw something on tytnII, is there an hope?
can anyone confirm if android requires a customised hardware or minimum requirements....
By The Looks Of It I Shouldnt See Why Not...
I Saw That Video Of It On The Tytn And It Looks Like Its Just A Linux Based Kernel Booting Though Haret.
Theirs Already Some Pretty Good Progress With Linux On The UNI And I Dont See Why It Shouldnt Be Possible To Patch This Up. (Wish I Could But Im Not A Linux Coder )
maybe something like this
(click on the emote)
could be done for univ.
Getting A Replacement
I Get My Replacement XDA Exec On Monday Hopefully So Ill See If I Can Do Anything. No Promises Though
Regards,
OllieD
It looks promising but I am also awaiting the Ubuntu Mobile edition for PCC: it looks awesome!
if it has to run java bytecode
hi a .CAB solution should be possible. tis my prefered choice at present. KVM with class jar anyone??
any news ?
Kaiser can run Android, any ROM for Uni?
In this thread we have Android ported in to a Kaiser, hope someone is working on an Android ROM for UNI!!
It looks very nice the interface
Does anyone knows more info about this?
Thanks
Gracias
Any news on Android for Uni?
I've been trying to get it to work on my ELFin too, but i gave up when i only managed to get the Linwizard running without startx... (i dont know how to telnet and startx -.-)
Any news on this?
I'm thinking of getting a universal but i'm gathering info on it atm!
Has anyone been able to get some real progress on this matter?
I installed this onto my main memory, but when I run it I get a blank screen and the phone vibrates continuously, what am I doing wrong? I think this version is supposed to work on the Universal.
hye !
i also tried to install android on my universal, but it didn't work at all, i only had a black sreen and it vibrate without stopping. if someone has an idea, or a new thread were we can find out a running android os for uni... i take it !
Very keen on this
Is there a project? .. I'm a developer and would be willing to assist, but i haven't got enough experience with these devices to start the project off myself...
Count me in as a beta tester
It would be great to have Android on Uni!!
So this news means that very soon developers can start working on android to be ported on other devices!!!
http://android-developers.blogspot.com/

android

hello,
their seems to be a few posts on this being ported to BA recently. ow ive got linux running on my BA fairly well (havent got round to setting up gprs etc yet though but thats a different matter) and id be willing to try and get a port of android working, if someone can extract the 3 img files in the android sdk as ive not managed to do that yet ? anyone want to try and help or am i talking of a lost cause
ok, ill post this incase anyone is watching. i made some progress getting andriod running but i keep getting seg fault tryingto run it, any1 who could provide insight let me know pelase
Unfortunately I can't help you but I'll be keeping a VERY close eye on this thread!
Good luck, I'm sure there are a whole load of people who'd buy you a beer if you succeed.
Steve
glad to see someones watching . ill have another play around over weekend see what i can come up with
it will be interesting to see how android works on BA keep up with the good work
Nice.
I like my BA and I don't wont to change it until an open linux mobile is avaible (an open Iphone could be great).
Maybe a sub-forum called "Blue angel linux" could help.
I'm bored or a problem with the actual BA linux is the acces to the wifi chipset?
And this seems noise. And I don't want to pay for having linux on my BA!
http://www.a-la-mobile.com/news/press/pr080114.html
aperles said:
I'm bored or a problem with the actual BA linux is the acces to the wifi chipset?
Click to expand...
Click to collapse
Not the access, but a nice gui/setup.
remember linux is designed primarily for people who know what their doing. yes theirs guis now which help but you stil need command line to use linux properly. except on the iPhone and android from what ive seen
actually there was an earlier thread regarding android. and with 921+ adding 200+ views here, We bet there are people that are REALLY interested porting this.
hope we get it up and running.
anything for our BA.
even alternatives to WM6 are welcome.
well im not having a lot of look, it seems to be segfaulting pretty much constantly. think its down to the busybox shell though so im going to find a newer one and try that later, does anyone know what version of the arm feature set the BA uses. (because from reading http://benno.id.au/blog/2007/11/21/android-neo1973) android only seems to work on devices using ARMv5 featureset. whatever that means)
UPDATE: thats not a problem, the pxa263 in the BA is ARMv5TE so thats ok - gotta love wikipedia (http://en.wikipedia.org/wiki/XScale)
Further update: ok been reading up a bit more and im doing the risky thing of building my own kernel for android see if i can get round these damn segfaults
ok just thought id post up so people done think ive given up here . still havign issues compiling the linux kernel with the android addidtions. mainly because i ahvent got a proper linux machine at home (only virtual pc on this computer)...dont suppose anyone uses linux and has a decent knownledge of compiling kernels on here ??
DJ_Steve said:
ok just thought id post up so people done think ive given up here . still havign issues compiling the linux kernel with the android addidtions. mainly because i ahvent got a proper linux machine at home (only virtual pc on this computer)...dont suppose anyone uses linux and has a decent knownledge of compiling kernels on here ??
Click to expand...
Click to collapse
I've compiled kernels under Linux before, but not for an embedded system like the angel's.
Where did you get the tarballs for everything? And what distro of Linux did you install?
Really, real machine vs virtual machine, in this case, shouldn't matter. It might, but shouldn't.
not so much the fact im using a virtual machine, its the fact im only on a 2mb connection so downloading linux cd images takes ages and since debian is the only distro ive seen which has arm crosscompile tools that work that means 2 dvds or 9+cd images. most of the tarballs ive had to rip direct from the android sdk emulator. i could host them somewhere if someone wants to try and help me out getting a kernel running - after that i think most of android should fall into place on its own, but getting openbinder support in the kernels proving difficult
EDIT/UPDATE: ok just tried installing the arm crosscompiliers on my development dedicated server and it seems to be compiling a kernel as i type (hopefully) so looks to be some progress happening here
Been following your thread with interest.
I should be getting a new PDA from work, so then I could take the risk of bricking my trusty and battered Blue Angel.
Any chance you could post some links to the various bits you are using? Not a step by step (unless you have the time) but the starting points so others can attempt to duplicate your efforts in parallel?
Good luck - I'm rooting for you!
ok, im just tarballing up the files on my webserver now, didnt have any success with kernel, looks like im going to have to take the blueangel drivers etc from the kernel posted on handhelds.org and manually merge the config files into the android kernel image to get it to compile. unless anyone can suggest a way to do that easily (windows or linux routine i dont mind)
the main sites ive used to help out ive listed below
http://benno.id.au/blog/ << somewhere on their theirs a link to the android root filesystem image. (http://benno.id.au/android/system.tar.gz and http://benno.id.au/android/data.tar.gz)
http://nemustech.blogspot.com/2007/12/android-porting-to-real-target-hw.html
http://euedge.com/blog/2007/12/06/google-android-runs-on-sharp-zaurus-sl-c760/
http://handhelds.org/moin/moin.cgi/BlueAngelKernel
the three above above links help even though their not scriptly related to android on blueangel
the rest of the files are in http://radiodmp.net/android-files/ - the 365mb file contains the 2 arm cross compilers and also both the newest blueangel linux kernel and the android kernel - as said above these need merging (android kernel needs to be the one that is the final kernel as its newer i believe
edit: ive just put the system and data tars linked above into the folder on my server also to save people time.
hope that helps
if anyone wants any help drop me a message and ill try and help out. will of course keep trying to sort it myself too
Any update on this?
Actively watching this thread and just wanted to know. I'd love to be able to play with Android.
good to see ppl interested. ive not had time to try and merge the kernels yet, hopefulyl might get chance this week
DJ_Steve said:
good to see ppl interested.
Click to expand...
Click to collapse
Still watching, still interested!
Keep it up.
Steve
ok managed to hack together the two kernels, compiling it as i type - hopefully it'll workon my BA

Android OS Released

Not sure where to post this... but now that the Android OS source is realsed, what is needed to compile a native version for Hermes?
http://source.android.com/download
MrCeddy said:
Not sure where to post this... but now that the Android OS source is realsed, what is needed to compain a native version for Hermes?
http://source.android.com/download
Click to expand...
Click to collapse
Already on kaiser, maybe can be ported:
http://forum.xda-developers.com/showthread.php?t=396782
Keep in mind this is the official OS which was released today.
Its been noted that its not that easy.
1) the CPU in the Hermes is a older ARM that doesn't support all the needed instructions.
2) We couldnt "port it", it would need to be recompiled for the Hermes's older ARM, and that would be HARD.
3) We would then need Storage/wifi/touchscreen/ect ect drivers, and someone would need to write them, theres not going to be a device with the same chipset as the Hermes to steal the drivers off, like there is for the Kaiser.
So, unless you know a lot about writing drivers/recomplieing linux, tisnt going to happen
veyka said:
Its been noted that its not that easy.
1) the CPU in the Hermes is a older ARM that doesn't support all the needed instructions.
2) We couldnt "port it", it would need to be recompiled for the Hermes's older ARM, and that would be HARD.
3) We would then need Storage/wifi/touchscreen/ect ect drivers, and someone would need to write them, theres not going to be a device with the same chipset as the Hermes to steal the drivers off, like there is for the Kaiser.
So, unless you know a lot about writing drivers/recomplieing linux, tisnt going to happen
Click to expand...
Click to collapse
Thanks for your input!
So, are you planning to fiddle with the idea??
joshkoss said:
Already on kaiser, maybe can be ported:
http://forum.xda-developers.com/showthread.php?t=396782
Click to expand...
Click to collapse
so somebody wrote the drivers for kaiser ??
Originally Posted by veyka
Its been noted that its not that easy.
1) the CPU in the Hermes is a older ARM that doesn't support all the needed instructions.
2) We couldnt "port it", it would need to be recompiled for the Hermes's older ARM, and that would be HARD.
3) We would then need Storage/wifi/touchscreen/ect ect drivers, and someone would need to write them, theres not going to be a device with the same chipset as the Hermes to steal the drivers off, like there is for the Kaiser.
So, unless you know a lot about writing drivers/recomplieing linux, tisnt going to happen
Click to expand...
Click to collapse
if somebody did manage to get it working in kaiser, it can be done for hermes ?
don't we already have working linux ports for hermes? can't the drivers be pulled from there ?

[FYI][Myn's Warm Eclair][Porting Project]

Just for your info:
I got in contact with Myn for porting his Warm Eclair on Diamond + compatible devices. We want to bring this up on our Diamonds as he also has a Diamond device. So far I get Warm Eclair running til boot animation and then it stucks and reloops. His Donut build is a very fast and stable one and he cooks very good roms for the Vogue / Kaiser devices. So stay tuned, I will inform you when this gets updates.
I'll be watching this closely. I've used Myn's Warm Donut on my Vogue and was extremely pleased with it.
ByteWrencher
vatoloco said:
Just for your info:
I got in contact with Myn for porting his Warm Eclair on Diamond + compatible devices. We want to bring this up on our Diamonds as he also has a Diamond device. So far I get Warm Eclair running til boot animation and then it stucks and reloops. His Donut build is a very fast and stable one and he cooks very good roms for the Vogue / Kaiser devices. So stay tuned, I will inform you when this gets updates.
Click to expand...
Click to collapse
so if you can port it, will you also release a flashable rom?
actually isn't possible to flash an android rom..the main problem(i think)is that we can't make linux bootable without using haret
HELICOPTER88 said:
actually isn't possible to flash an android rom..the main problem(i think)is that we can't make linux bootable without using haret
Click to expand...
Click to collapse
but what about htc vogue or kaiser?
there it is possible to flash an android rom. What are the differences between these 2 devices and our diamond? If the differences aren´t too big (but I think they are) it shouldnt be so hard to make a Rom.
who said its impoassible guyz NAND=Porting i guess correct me if i am wrong experts..the only reason its still not NAND on diamond is there are still some loopholes but i think definitely the experts are working at it and crack will crack it soon
Dunnera said:
but what about htc vogue or kaiser?
there it is possible to flash an android rom. What are the differences between these 2 devices and our diamond? If the differences aren´t too big (but I think they are) it shouldnt be so hard to make a Rom.
Click to expand...
Click to collapse
to make a nand flash possible, xdandroid must be able to initialize ALL the (important) hardware on ALL the phones, becuase winmo won't be there to do it for us. I don't think we have that yet. then someone'll have to port dzo's bootloader, or write one, get a working nbh, etc... I'm sure people are hard at work on it, but there's probably some other things still pending that are more important.
vogue NEEDED nand to compensate for lack of memory. getting data on nand was huge for us. but the xdandroid devices don't have the resource constraints that vogue has... even running an unoptimized build from sqsh with minimal hardware support, my vzw tp runs as fast or faster than my vogue.
all that to say: all things will come in time.
mrkite38 said:
to make a nand flash possible, xdandroid must be able to initialize ALL the (important) hardware on ALL the phones, becuase winmo won't be there to do it for us. I don't think we have that yet. then someone'll have to port dzo's bootloader, or write one, get a working nbh, etc... I'm sure people are hard at work on it, but there's probably some other things still pending that are more important.
vogue NEEDED nand to compensate for lack of memory. getting data on nand was huge for us. but the xdandroid devices don't have the resource constraints that vogue has... even running an unoptimized build from sqsh with minimal hardware support, my vzw tp runs as fast or faster than my vogue.
all that to say: all things will come in time.
Click to expand...
Click to collapse
thx for your explanation.
i think its now better with the haret bootloader, cos you can update rootfs or zimages easily. A flashable rom would only be useful if everything works. so youre definitely right
Just a quick update for you:
I've sent out the Warm Eclair package to Myn. He will look into the thins and hopefully get the relooping boot animation working.
anyone help me how to make partition onwindow xp in my internal storage???
i cant understand from that android site...
anyone help me how to make partition onwindow xp in my internal storage???
i cant understand from that android site...
Click to expand...
Click to collapse
What don't you understand? It's stated several times in several threads and also on my website that you will need Linux for partitioning. So Windows won't work! You may use a LiveCD, though I recommend you to install Virtualbox and Ubuntu on your windows machine.
vatoloco said:
What don't you understand? It's stated several times in several threads and also on my website that you will need Linux for partitioning. So Windows won't work! You may use a LiveCD, though I recommend you to install Virtualbox and Ubuntu on your windows machine.
Click to expand...
Click to collapse
oh thanx for that...
but i am tierd of downloading..
so plz bear me...
thanx a lot i will try today..
Please let's keep this thread clean. It is intended for Porting Myn's Warm Eclair to our Diamonds (first post)

[Q] ReactOS ARM port on Rhodium?

Ok, so...
At first I found a ReactOS offical ARM port.
It is here(delete spaces, forum still prevents me from inserting any link): htt p:/ /ww w. rea cto s.or g/wik i/ARM_ Port
At second I don't understand it at all so if anyone are good in this type of thing, tell us is it possible to have it working UNDER HARET?
And finaly at third If yes, is it will be possible to run any applications excluding a orginals one?
And that's all
P.S. There is already a topic here(ht tp:/ /foru m.xd a-deve lopers.co m/sho wthre ad.php?t =791800 ) but it is quite old and not for our device.
Ew, why would you want React on your phone...?
i'd say ehm.. for the heck of it?
don't really think there is a point tho in rOS, both windows that comes natively and android have a massive userbase and for a 'full OS' there is already someone building linux version of Ubuntu.
beside that, the React OS makes use of 'windows' binaries (from what i read on their website.) which are in x86 format as far as i believe, running them on an ARM processor isn't likely to work.
if i'm incorrect please correct me
Not really, all the binaries were written by ReactOS Team and they are open source... So in practise we can compile it and have it running on ARM processor.
And why? Simply. If all the dll's and files can run exe files we should be able to run normal applications like firefox, flash, etc. Maybe not at maxiumum speed(because of alpha build of ReactOS) but still it can be quite useful.
I didn't managed to build it. As far as I read it is imposible beacause of compiler which doesn't compile it correctly, or at all.
If anyone have any ideas how to do it tell us...
P.S. The full source of ReactOS + additional appliactions included is avaible at ReactOS main page.
Well ReactOS to my knowledge doesn't run that well on x86 machines, so I doubt our tired old phones will run it very well...
Rhodbuntu isn't good enough...? I'd say that's your best hope - in theory it will run FF & flash...
ReactOS of course is not the faster system ever but it it a only(actualy) operation system that is in open source and have a fully rewritten binaries, etc.
And BTW you still can't have a flash and Java(SE) running on armel(rhodbuntu)
mafiu95 said:
ReactOS of course is not the faster system ever but it it a only(actualy) operation system that is in open source and have a fully rewritten binaries, etc.
And BTW you still can't have a flash and Java(SE) running on armel(rhodbuntu)
Click to expand...
Click to collapse
Ah didn't realize. What makes you think it'll work on React? lol
Theres a possibility. But as I test the recent version out, there are problems with it, so I dont think its a good idea to port. There are issues from clicking to how things are displayed to windows sticking & not listening to me when I click close or minimize/maximize.

Categories

Resources