[Q] How to port Android from other devices to Diamond - Touch Pro, Fuze Android Development

Hi.
I have question about Android Porting.
I wanna port android from HTC Hero to my HTC Diamond.
So, what programming language should I know ?
And what i must to do, to port android to my HTC Diamond.
Thanks.

It would help you knew JAVA and basic linux commands (best to compile under linux).
You could do it the "quick and dirty way" by just dumping the /system/ files from a HTC Hero build and then sqsh'ing or making it into a .ext2 file. Otherwise, you could actually port to an ext2 partition. To make it work, try replacing the dumped system files with one from another working build.
Good luck

it would be nice to have a step by step tutorial

I will do a step-by-step tutorial once I have "some" days free. This will be very detailled including screenshots / videos. Of course cross-plattform compatible so you can use it for almost every device. As free time is really rare atm you may see this in some weeks - maybe to come in Jan 2011

vatoloco said:
i will do a step-by-step tutorial once i have "some" days free. This will be very detailled including screenshots / videos. Of course cross-plattform compatible so you can use it for almost every device. As free time is really rare atm you may see this in some weeks - maybe to come in jan 2011
Click to expand...
Click to collapse
awesome ! ! !

See this guide for a start: http://forum.xda-developers.com/showthread.php?p=5626300#post5626300
(it's on building android, but not porting)

Cool! Ill try to do my very best to port a 2.2 sense build from HTC Hero. If I manage to succeed so to say

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/

[PRJ][OS]Linux and Android on HTC Diamond "NOT YET WORKING"

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

[Q] is it possible to make desire dual boot ?

it is possible to run win ce / WM on desire?
No
Not that I'm aware of. You can't run Win Mob full stop.
Is it possible to dual boot with 2 different Custom MODS?? Like OpenDesire and Pays Rom for instance... Or a custom ROM and the official one that came with the phone..
hk5354 said:
it is possible to run win ce / WM on desire?
Click to expand...
Click to collapse
This would be brilliant , they have android on the hd2, why can't we have winmo on the desire
+1 for a winmo 6,5 port
Would be great if you could multiboot, like with different sd cards.
But why would anyone want WinMo on the HTC Desire... Android for the win!
this is xda, this place has always been powered by "Because we can!", so don't ask such questions
Who in their right mind is going to put time and effort into porting a what is basically dead OS to the Desire ? Even Microsoft aren't bothering with WM anymore
Doesn't have to be 6.5...
But some WP7 features seem quite neat though.
I second this request! (if it is a request)
It's not possible since wm is not open source like android
Sent from my HTC Desire using XDA App
back to the dual boot point, we can boot from a sd card so it is possible to dual boot 2 diff android roms
htc fan89 said:
It's not possible since wm is not open source like android
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
You are right on that. But Microsoft provides bootroms to test their emulator. Using this rom for dualbooting would be legit I guess..?
Puenos said:
You are right on that. But Microsoft provides bootroms to test their emulator. Using this rom for dualbooting would be legit I guess..?
Click to expand...
Click to collapse
I think you miss the point - whilst there is a legal aspect here, I think the main point is not the license associated with open source, but the source code itself.
As Android is open source, it can be compiled to different targets, and deep changes can be made to the source code to get everything working.
As WinMo is not open source, you do not have this luxury, and so the porting exercise would be much, much harder.
Regards,
Dave
foxmeister said:
I think you miss the point - whilst there is a legal aspect here, I think the main point is not the license associated with open source, but the source code itself.
As Android is open source, it can be compiled to different targets, and deep changes can be made to the source code to get everything working.
As WinMo is not open source, you do not have this luxury, and so the porting exercise would be much, much harder.
Regards,
Dave
Click to expand...
Click to collapse
Well.. I didn't look at this closely enough.. but Microsoft also provides an emulator for testing their roms.. using this "microsoft device emulator"s sources would make it a bit easier I guess? Well.. you can click on "license" on the following link.. but I just get a "page not found".. so I don't know any details.. but here is the link I found:
http://www.microsoft.com/downloads/...ED-6C95B261DDCD&displaylang=en&displaylang=en
I'm not a dev.. just did a bit research on this one and found their offical emulator.. besides that, there are also a few emulators for the WinMo environment.. some even written in Java I believe..
Again I don't know if they used some code from MS, or just wrote everything from scratch.. I don't really have enough knowledge here.. but I thought maybe I could share my thoughts and get some answers.. and maybe the information I found was a bit helpful?
Thanks anyway
Hy
At first im sorry for my bad englisch.
Back to multi boot of desire.
How we can implementing boot from sd-card and back.
How can i boot from sd-card?
What is with data.img, is it nessesary to build an other image or can i use the stock-rom to boot it from sd-card ( i think its unpossibele) ?
Is it right we need to patch hboot ?
is it possibel to load an other bootloader? (grub or somthing else)
I know many questions, but im faszinated of the idea "dual boot on my desire"
Greatings
meinbier
This would be a nice, becouse there is some apps that newer will be on android, and there is people that need this apps.
Dont tell me buy win mobile phone, becouse I get droid from my company. I m not programer, so I cant help on that way. I can only tell that i will donate some money to someone who make native winmobile app install / run on android via emulation or custom rom for desire.
Tnx for your time and i support this thread.
Sent from my HTC Desire using XDA App
im really interested in this as well ,i have just got a htc desire hd and would love to run both wp7 and android ,wp7 for xbox live is this any new info on this
http://www.youtube.com/watch?v=7UE-LVuudEk&feature=player_embedded
So its possible on the DHD!
Maybe on the old Desire too.
AFAIK the Desire's internal memory is not large enough for dual boot... I mean some ROMs have trouble fitting on the partitions now so what do you think would happen with 2 ROMs lol.. you'd have no space for apps... and if you did somehow manage to run a ROM from your SDCARD like you can with legendary devices like the touch pro where you run haret.exe from the phone which boots android - it would be very slow and impractical. So I doubt we will ever see this happen.
EDIT: Guess I was wrong! http://forum.xda-developers.com/showthread.php?t=1182325

[Q] Android ROM for Raphael!

Will it be possible to make any true standalone Android ROM without using windows?
And for what device are this settings "RAPH800"?
Currently, no, but there is workaround - a light ROM with dualboot or directly HaRET in autorun.
Neopeek is working on it at the moment. It will come in the next few weeks. Be patient!
e334 said:
Neopeek is working on it at the moment. It will come in the next few weeks. Be patient!
Click to expand...
Click to collapse
could you please give more info or a link
In the next days i will look into dzo's script and adopt our kernel + ramadresses to get a full working nbh so that i can flash it onto my device. Hope everything goes well. This will take some serious concentration. This is what I am going to do:
Compile the kernel from scratch
Strip-out nb.os + nb.payload.os from vogue / kaiser / polaris to see what's going on
Recompile a new test-nbh to NAND-FLASH it as bootloader for Android
And last but not least: Adopt NoMoRootFS
I hope I and my device won't get stuck with this (I only have 1 device to test). If you wanna share your thoughts or contribute this then just answer to this discussion and share your ideas. I will keep you updated on this and in my free time I will also try to update the various Android builds. But I can't promise you to do so.
Click to expand...
Click to collapse
-neopeek
http://www.neopeek.com/en/community...67-Flashing+Android+on+our+devices?groupid=13 (mods please remove if this violates any rule of xda..)
Keep in mind that currently us TP user's DON'T have working camera (working on), and faster power drain (working on.) so if you end up using this rom (when it's done and released in time) you will have a phone that drain's faster then WM (meter usage is PRETTY accurate though itself.), and no camera anymore (until they finish adding support, and THEN add to this guy's kernal for the said ROM.), just so you know this
Currently, dual booting works just fine, and haven't experienced any negative's to date since using it this way. Hope that helps.
Ok. Tnx for the answers.
But can someone explain to me why it is so difficult to make working ROM for TP when the HTC Hero have the same hardware and powered up with Android? I am confused about that.
For what phone are startup settings (RAPH800)?
How much it will be faster with ROM flashed in nand memory than one run by heret in WM?
Tnx
mikx said:
Ok. Tnx for the answers.
But can someone explain to me why it is so difficult to make working ROM for TP when the HTC Hero have the same hardware and powered up with Android? I am confused about that.
For what phone are startup settings (RAPH800)?
How much it will be faster with ROM flashed in nand memory than one run by heret in WM?
Tnx
Click to expand...
Click to collapse
Uhm the Hero comes with Android 'from the factory' - it's a native Android device. Just like WinMo is native to our devices...
The brilliant devs are literally trying to reverse engineer drivers so Linux/Android can run on our WinMo phones.
I forgot to answer your other questions... NAND should give some performance boost, but I don't know how much. Probably not much, it didn't do much for the RHOD - albeit a little.
Phone startup settings, you should have a STARTUPS folder and it should have the RAPH800 startup in there...
Edit: (removed post, question was already answered)
Cant wait for nand support , i loved it on my Kaiser
Theoretical question: Will installation to NAND and starting directly from bootloader affect performance positively?
Corias said:
Theoretical question: Will installation to NAND and starting directly from bootloader affect performance positively?
Click to expand...
Click to collapse
In theory yes, but so far the benefits have been minor, if any. Of course the NAND that is functional for the TP2 isn't technically a full NAND, so it's probably not the best example to use.
arrrghhh said:
Uhm the Hero comes with Android 'from the factory' - it's a native Android device. Just like WinMo is native to our devices...
The brilliant devs are literally trying to reverse engineer drivers so Linux/Android can run on our WinMo phones.
I forgot to answer your other questions... NAND should give some performance boost, but I don't know how much. Probably not much, it didn't do much for the RHOD - albeit a little.
Phone startup settings, you should have a STARTUPS folder and it should have the RAPH800 startup in there...
Click to expand...
Click to collapse
Tnx for the answer. I know that I have RAPH800, but it can't work on my TP, only settings that work are RAPH, and I was wondering for what phone are these RAPH800 settings??
mikx said:
Tnx for the answer. I know that I have RAPH800, but it can't work on my TP, only settings that work are RAPH, and I was wondering for what phone are these RAPH800 settings??
Click to expand...
Click to collapse
I'm not sure how to answer your question. Babijoee's builds have a STARTUPS folder, do you not have this?

NAND ?

Hi developers,
i have a big question:
I read some time ago, that it is possible to install android on NAND of the HD2.
My question is : is it possible to install it on the NAND on the Touch Pro?
Because it is really slow, if i run android over MicroSD card, and it would be awsome ,when android runs faster.
Best regards,
BikerBoy030
At the moment (and to my knowledge) the answer to your question is no. User e334 tried but failed and bricked his phone. You can read more about his attempt in THIS thread. He was attempting to find out a few values that are apparently required but he did leave a few hints of his findings in that thread.
By the way, what version or build (neopeek-variants or xdandroid) are you using and have you updated everything to reflect the latest that is out and relevant.
brick !!! too sad
So, is this the end of hope for NAND on touch pro ???
pls somebody told me !!!
For now, yes :enter sadface of choice here: However, the xdandroid dev team are steadily working at improving stability and adding features some doubted at first; such as camera which is, in testing phase atm. The only thing I can say is that, "it ain't over till it's over!"
n-Joie! (Enjoy)
BikerBoy030 said:
I read some time ago, that it is possible to install android on NAND of the HD2.
My question is : is it possible to install it on the NAND on the Touch Pro?
Because it is really slow, if i run android over MicroSD card, and it would be awsome ,when android runs faster.
Click to expand...
Click to collapse
Just FYI, NAND will not provide any improvements in speed. The optimizations really need to happen in the system, moving to NAND will not solve those problems.
The HD2 guys had a ridiculously complete port of Android when they were still on Haret. We're still not near that stage.
They have it easy, they just rip builds from Desire, etc...
thanks for the fast answer:
that is really sad, that he briked his phone....this is such a sweet phone
I used xandroid, updatet all and could use all programms etc.
But it wasn't smooth...it stocks a bit at all,what it did.
It feels like it used a "bullet-time-mode"
Maybe it would be enought if i willl overclock it to 710 mhz this COULD be enought, but i didn't tested it.
Wich version is more smooth: neopeek or xandroid?
Regards:
bikerboy030
To my knowledge, OC'ing will not help stability. If anything it will make it more unstable. Neopeek builds seem smoother but requires more setup time upfront (multi-partitions and what not). XDAndroid builds may seem rocky at first but are much quicker to setup and it has a nice plug-n-play feel.
n-Joie! (Enjoy)
i had no problems with the stability, it was only too slow.
than i will try neopeek, maybe it feels better.
the problem is: a good friend owns a desire z, overclocked to 1400mhz...that is smooth.....
but if the touch pro works smooth, it would be fine
Well, i can be totally honest to say as far as speed, that XDA android runs quicker then WM does even on my touch pro. I am running wm6.5.5 NRG rom (jan.4), which is pretty zippy to a month ago version of 6.5.5, noticably, but android is actually visually faster. Now that camera is working fine, battery i get around 7-8 hours with little less then normal usage, and would honestly use it SOLELY if it didn't randomly drop data and needed a reset to fix (which i usually just stay in WM when it happens.), but ALSO mostly since at work (IT Tech) i use tethering a lot to grab a driver almost daily (our net connection is 'clear' and is a bit worse in speed then my phone. SAD yes.)
Hmm ... I'm one of those people who eagerly await with great versions of NAND. What exactly is needed to it came to Raphael? Of course, I'm not asking for what must have been fixed and asking, I assume that in theory it already is. Let me add that I've read about, whose founder bricked his Raphael.
Bootloader is required.
Corias said:
Bootloader is required.
Click to expand...
Click to collapse
Ok, I'll ask differently. What is needed to create this Bootloader for Raphael?
GoldAngelo said:
Ok, I'll ask differently. What is needed to create this Bootloader for Raphael?
Click to expand...
Click to collapse
Knowledge of how to write a bootloader? What do you mean?
We have one called tinboot that dzo wrote for the vogue guys. That's what the RHOD is using, but A LOT of work needs to be done to get it to work on other devices. It's not even a full NAND flash for the RHOD....
arrrghhh said:
Knowledge of how to write a bootloader? What do you mean?
We have one called tinboot that dzo wrote for the vogue guys. That's what the RHOD is using, but A LOT of work needs to be done to get it to work on other devices. It's not even a full NAND flash for the RHOD....
Click to expand...
Click to collapse
I would like to know what is needed to version NAND and how this process (creating nand and tools that you need, such as the bootloader and other ) should follow you. Of course, theoretically. Perhaps someone from another country would take on this (not everyone knows looks at XDA;-) maybe after the publication of the national forums that someone will take).
GoldAngelo said:
I would like to know what is needed to version NAND and how this process (creating nand and tools that you need, such as the bootloader and other ) should follow you. Of course, theoretically. Perhaps someone from another country would take on this (not everyone knows looks at XDA;-) maybe after the publication of the national forums that someone will take).
Click to expand...
Click to collapse
I'm no dev, so I won't be able to help you out directly. But look up tinboot, and look at what us TP2 guys have for a NAND bootloader thus far.
ACL has a GIT repo for our NAND tree that is publicly available as well.
We started talking about Raph and Diam nand in the Blackstone thread somewhere around here: http://forum.xda-developers.com/showpost.php?p=11051880&postcount=124
I've compiled the kernel for blackstone-nand and will try to flash this onto my diamond tonight or maybe tomorrow. Wish me luck
detlef25 said:
We started talking about Raph and Diam nand in the Blackstone thread somewhere around here: http://forum.xda-developers.com/showpost.php?p=11051880&postcount=124
I've compiled the kernel for blackstone-nand and will try to flash this onto my diamond tonight or maybe tomorrow. Wish me luck
Click to expand...
Click to collapse
I wish you a lot of luck
If you succed please share your values,maybe we can make it to boot ext2 partition bulids
Is 512 MB of Raphael's internal NAND enough for Android?
Corias said:
Is 512 MB of Raphael's internal NAND enough for Android?
Click to expand...
Click to collapse
More than enough, I thing the G1 had like 192 or something.
arrrghhh said:
More than enough, I thing the G1 had like 192 or something.
Click to expand...
Click to collapse
Yeah,a build is about 150 mb

Categories

Resources