compile sdl apps in linux for MW6? - Windows Mobile Development and Hacking General

hey all,
does anyone know how to compile an SDL app under linux for MW6? I've tried building cegcc but the build fails and I cant find updated info on their site...

Well, i did it a while ago (used CeeGCC). To be honest, i don't remember what exactly i needed to change, but a good starting point would be to get SDL version working with windows mobile. Arisme did a port, which you can get here (that's the one i used):
http://arisme.free.fr/ports/SDL.php
As you can see on the linked page, the port is discontinued, so you could also try grabbing a newer winCE-compatibile SDL version used by scummVM (they use CeGCC too).
Theoretically, the standard version of SDL from libsdl.org should have winCE support, but i couldn't get it to work and had to use Arisme's version instead.
Since windows mobile version of ScummVM is compiled using CeGCC, it might be a good idea to ask for details at their forums, or take a look at their wiki (with links to modified SDL version - both patches to standard release, and precompiled libs):
http://wiki.scummvm.org/index.php/Compiling_ScummVM/Windows_CE

Related

platform builder

Hello
I was wondering if the platform builderr IDE from windows is free?
i tried to search for it on their website but could not find it, just found the updates
It is not free, but there is an evaluation version for 180 days (if I am not mistaking). Sorry, don't remember the link, but it's there somewhere.
P.S. Any images built with it will only work for a year I think.
Yeah, it's hardly worth downloading, but the trial version suffices for most of our needs. Buy from MS's website.
V
thanks for the reply
is there anything comparable which is available for free
No...
Exactly what do you want to do?
Build a ROM for a new device from scratch? If so then you have no choice, you must by the PB.
But if you only need some of its functionality like creating MUI for localization, perhaps we can recommend an alternative. Just tell us what you need it for.
FYI, the platform builder trial can't be used to build a rom for our devices, from scratch. You require the system drivers etc that only the OEM (ie HTC) would have available. Or some very very very well connected friends.
V
Platform Builder available from MS site can be used to build only WinCE 5.0 ROMs. Windows Mobile ROMs are build with Platform Builder 5.0 for Windows Mobile (or something like that). MS regularly releases updates for it in the form of AKUs.
Unfortunately PB for WM or AKUs are nowhere available for free, and their price is too huge.
And even if you'l get them, you'll also need a BSP for your device. It is extremely difficult to create it from scratch without having any hardware information, but Linux source code for your device can be useful.

Google's Android on Magician !

Hi all,
Just read an artice on the hack of Google's impressive Android mobile OS. Hackers have used files from the emulator and installed the OS on some Linux phones. I was just thinking that there was a post on this forum saying that Linux could be Installed on Magician. Also Android uses Linux's kernal. So why not give Android a try. Would be great to use the new Android on Magician.
Any clues on how to proceed with the Installation ?
Is it really? I listen about porting on only Linux-PDA but Magican isn't Linux-PDA.
Of course, Android can run on the Magician, BUT never forget that you need drivers for the device - even for Linux!
And that's the problem: if you don't have any information about the chipset etc you will need month or even years to develop them.
If you want to run Linux on the Magician, there is already a project which try to develop drivers for Linux. Last time I read from their progress Linux runs on the Magician with the possibility to use the phone (but no GPRS)...
Use the search if you are interested;-)
Melkor said:
If you want to run Linux on the Magician, there is already a project which try to develop drivers for Linux. Last time I read from their progress Linux runs on the Magician with the possibility to use the phone (but no GPRS)...
Use the search if you are interested;-)
Click to expand...
Click to collapse
It is http://www.handhelds.org/moin/moin.cgi/Magician , isn't it?
So If Linux can be installed, then Android can also be installed. Because it supports all Linux compatible devices according to the hack.
For the DRIVER part, pls check the official Android website-
http://code.google.com/android/
and let us know. Waiting for your reply...
Thanks!
Peoples - a hve WORKING linux on my HTC magician.
name is Angstorm with GUi OpenMoko.
Work - tochscreen,Sound,GSM,blootuth.
thet meens - drivers are exist and work
Can anybody say, where i can download Google's Androuid for ANY platform ?
I'm Find =) Android For Zaurus
it seems to me, For using rootfs on magician we mast change drivers in it
http://www.omegamoon.com/blog/static.php?page=ZaurusAndroid
As me say one man, it takes compiling magican's drivers using Google android SDK.
Some useful links
Буржуйский форум -> http://www.oesf.org/forum/index.php?showforum=158
ЗАУРУС -> http://www.omegamoon.com/blog/static.php?page=ZaurusAndroid
Cкрины -> http://androidzaurus.seesaa.net/article/75516785.html
Angstrom на Qtek s110 -> http://grigio.org/howto_openmoko_htc_magic...dual_boot_wince
Немного о портировании для OMAP -> http://elinux.org/Android_on_OMAP
Sory for my English =)
does anyone know how to actually download the Android platform? regardless of phone model or drivers? or is it just included in the SDK and you gotta compile it yourself? If I can somehow get my hands on a copy of the image I'll probably end up spending the next 3 weeks trying to flash it natively into the ROM
The Android sources can found on this page: http://code.google.com/p/android/downloads/list
It is only kernel. Without drivers.
Found a new article for search on "Android on HTC", got this:
Android Kernel Found, Android on HTC Kaiser imminent
It says, that the kernal works only on MSM7200A chipset for now.
Take a look, link: http://fandroid.net/content/android-kernel-found-android-htc-kaiser-imminent
what i cannot understand is:
if there is an working linux kernel (http://wiki.xda-developers.com/index.php?pagename=MagicianXanadux) than android should be executable also!?
All necessary driviers shold be available.
So why should it be impossible to have a running android on a Magician?
cheers
aitsch
p.s.: the Magician is a very fast device. maybe android is running well on it.
UPDATE: Google has released a new version of Android, v0.9
Any updates on running Andriod on Magician ?
I could run Linux (Openmoko) successfully.
yea! Android 1.0 it very good
we need this
linux can run on a magician and u can use phone on it but no sms and it's full of bug's
Hi all,
I have tried to download the angstrom linux and follow the instruction from this site http://linuxtogo.org/~ph5/magician/....
but I always had kernel panic when start booting the linux, after then I found out the unzipping wasn't successful there is an error occurred during unzipping.
Does anyone ever encounter the error when unzipping? your help would be much appreciated. thank you
wayne
Hi everybody,
are there any news on running android on magican. Did anybody manage to get it running?
w00t!
I for one cannot wait to boot winCE on my Magician! Id love to put ANDROID on it! from what it looks like they are only 80% done!
I have opie II running on magician (http://linuxtogo.org/~htcpxa/htcmagician/)
and it runs perfectly (except a little bug eith the menu).
And here is a list what works in linux (http://www.handhelds.org/moin/moin.cgi/Magician)so android should work
header2k said:
I have opie II running on magician (http://linuxtogo.org/~htcpxa/htcmagician/)
and it runs perfectly (except a little bug eith the menu).
And here is a list what works in linux (http://www.handhelds.org/moin/moin.cgi/Magician)so android should work
Click to expand...
Click to collapse
Interesting, I'll take a look! What are the bugs you personally notice?

Building itsutils.dll from source

(This thread is cross-posted to the Q&A forum)
Hi everyone,
I'm trying to build the XDA utils tree and itsutils.dll from source in order to play around with it a bit, but have had no luck so far. I've searched through all the forums, but couldn't find anything about building the toolset, only how to develop for actual mobile devices.
I got the source tree for the xda utils project, but the instructions on how to build them (here) are not very clear. What software do I need to have installed? Which libraries? Do I need to install an embedded version of the STL? Where can I find the "preview editions" of Platform Builder 3.0 and 4.0 in order to get the header files?
I'm running Windows XP 32-bit (I also have a 64-bit machine, though I doubt that'll make it any easier), and have installed VS 2005, the Windows Mobile 6 SDK, and eMbedded VC 4.0.
I'd really appreciate any advice or help.
Thanks in advance,
Rob

Cross-compiling, what am i doing wrong

Hello!
as the title indicates I am having trouble cross-compiling. hello world compiles perfectly but bigger programs just wont give in..
I downloaded the android source from git and compiled just the way the website (http://source.android.com/download) says you should (is there anyway to verify that its compiled correctly?)
Then I use the agcc python script(http://plausible.org/andy/agcc) for the linking but when i compile i always get trouble about it not being able to find certain defined fields or other types. So basicly i followed the second part of what this wiki says (eventough using a toolchain from codesourcery for example and cc staticly. It also fails...)
What im really asking is how and what do you guys use to cross-compile to android?
Richard_Xeli said:
Hello!
as the title indicates I am having trouble cross-compiling. hello world compiles perfectly but bigger programs just wont give in..
I downloaded the android source from git and compiled just the way the website (http://source.android.com/download) says you should (is there anyway to verify that its compiled correctly?)
Then I use the agcc python script(http://plausible.org/andy/agcc) for the linking but when i compile i always get trouble about it not being able to find certain defined fields or other types. So basicly i followed the second part of what this wiki says (eventough using a toolchain from codesourcery for example and cc staticly. It also fails...)
What im really asking is how and what do you guys use to cross-compile to android?
Click to expand...
Click to collapse
Hello,
i am having problems with the linker too! i am using the NDK (because it actually does C / C++ code) and the code compiles with very few warnings on some instructions but works well otherwise, it just WOULD NOT LINK the stuff together!! one interesting setting i noticed in some public makefiles for the NDK i noticed is that they actually set the linker to /system/bin/linker, which is obviously a file on the target device. but i don't know how it would access it? any ideas?
BTW: post your error(s) please
Try this
The system won't let me post a link (as a new user), however there is a really good tutorial on native android development and debugging using the AOSP build system. Search on Aton International Incorporated and click on blogs in the menubar. I am in no way associated with the company, just happy to finally be able to cross-compile, link and debug for android.
Maybe someone who has more posts could post a link here.
http://www.aton.com/android-native-development-using-the-android-open-source-project/

Poking around the Source Code

I am trying to find information on how to poke around my own phone's source code (if possible, Sprint HTC Hero) and also the Android Source Code which is downloadable.
I'd like to see how the apps look, and how I could change them. I also want to know how to go about editing and loading that source code up on a phone.
Is this possible with my phone? Or do I need a special phone to do so? I'd like to know how these folks are going about creating these special ROMs for phones, and how someone can edit it to their liking, and then compile it for a specific device.
source.android.com is where you should find what you need.
I did find that, and it works someone, but the address isn't right, and for some reason I can't install an older version of Java on my Ubuntu VM. Maybe because it's 10.4? Has anyone else been able to download the source code via Google's instructions? On a newer machine?
sstrickland816 said:
I did find that, and it works someone, but the address isn't right, and for some reason I can't install an older version of Java on my Ubuntu VM. Maybe because it's 10.4? Has anyone else been able to download the source code via Google's instructions? On a newer machine?
Click to expand...
Click to collapse
If you add the Jaunty repositories to your sources.list file you should be able to download sun-java5-*
If i find the exact apt lines I will post them later.
Another thought - Switch to Debian Lenny - I switched from Ubuntu after I upgraded to 10.04 and absolutely hated 10, but I am loving Lenny.
EDIT:
add
deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
to your /etc/apt/sources.list
then do
apt-get update
apt-get install sun-java5-jre sun-java5-jdk
Thanks for the update, I'll try that and see how far I get.
From what I gathered, Ubuntu was the only supported Linux operating system that I'd be able to get the source code of Android for...
I understand that the size of Android is so massive, an organized way to download it is necessary, but why isn't this just simple like FTP access?

Categories

Resources