[Q] Making roms - Tilt, TyTN II, MDA Vario III Android Development

what i must know for makin my own roms?

Where to start!!! There is so much to know, i think if you are interested in this you should get googling and searching the forums, here isn't a bad place to start http://forum.xda-developers.com/forumdisplay.php?f=611. You can easily modify the ringtones and apps in a pre-built rom by unzipping the androidinstall.tar and deleting the apks you don't use from /system/app/ and ringtones you don't want from /media/ and re-zipping using 7zip but i get the feeling you want to do more then that. Get searching and hopefully see some of your work on the forums sometime!!!

Nees i linux? or i can do it under Windows?

Michga said:
Nees i linux? or i can do it under Windows?
Click to expand...
Click to collapse
Linux is very handy for compiling from git repositories etc... and it is also easy to set up the eclipse IDE for android developing in linux. People also seem to have more sucess with setting up ADB in linux which is very handy when developing. That being said the android kitchens will also run in windows and 7zip is for windows when it comes to creating the final tar installer so it's certainly not impossible. I think you will find most of the developers will have used linux for one thing or another. You can always run it in a virtual machine using virtualbox from within windows.

working ADB on linux (Ubuntu or Suse) with Kaiser?
Must I know Java for developing??
i dont using Virtualbox, but VMWare..

Michga said:
working ADB on linux (Ubuntu or Suse) with Kaiser?
Must I know Java for developing??
i dont using Virtualbox, but VMWare..
Click to expand...
Click to collapse
VMWare is fine, Virtualbox is just an opensource alternative. ADB works fine on ubuntu with Kaiser, i'm guessing it works on Suse too but i don't use it. Look here for more information : http://forum.xda-developers.com/showthread.php?t=502010. If you want to develop apps then you need to know java, a lot of the source code (i.e. libs and the kernel) are written in C.

so its bad for me.. when im 16 year old and i dont know Java and C i cant developing it.. but thanks for advice

At 16 you have a lot of time to learn, start now, I regret not taking the opportunity to learn coding when I was younger, do it, and do it soon

Related

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

GT-I9000 development limitations without Windows?

Hello
I've been trying to figure out (by googling a *lot*) what the limitations are for non-Windows developers with the GT-I9000. Samsung's SDK is Windows only, but maybe it's not the end of the road?
Some concrete questions:
* Do you need Windows to get an adb session?
* Do you need Windows to root the device?
* Do you need Windows to cross compile native code?
* Does the stock Android SDK from Google work?
* What do you actually loose without Samsung's SDK? E.g. the BONDI API's?
I really want to buy this shiny monster, but I also *never* again want to suffer Windows, and especially not for development.
Best regards / Klas
AFAIK there is no "Samsung SDK"
check this http://developer.android.com/sdk/index.html
the sdk is available for windows, osx & linux
hope this helps
My mistake, it's called "Bada SDK". And at least for the GT-I9000 it's for Windows only. Apparently the Bada Linux platform includes support for some novelty API's such as BONDI (to access e.g. device file system from web apps) and these have no support in the regular Android SDK.
I can live without these device specific API's, I just don't want to have to use the Bada SDK to do anything *else*.
Google's SDK is eclipse based and is available for windows, linux and osx like stated above. I'm running it in 64 bit ubuntu (lucid lynx) and have little problems doing so.
Sent from my GT-I9000 using XDA App
How about just running Windows in VirtualBox for the neccessary parts.
Darkstriker said:
How about just running Windows in VirtualBox for the neccessary parts.
Click to expand...
Click to collapse
I had much problems with trying this under mac os x.
VMware and VirtualBox dont show the i9000 as USB-Device...
My experiences with connecting USB devices to virtualized environments are also poor. Not that it matters much: I am curious what development capabilities you *loose* if you can't/won't use Windows -- not how to run the Bada SDK in a virtualized environment. No one seems to be overly concerned about this (a good sign so I'll go ahead and order the phone.
Klasa said:
My mistake, it's called "Bada SDK". And at least for the GT-I9000 it's for Windows only. Apparently the Bada Linux platform includes support for some novelty API's such as BONDI (to access e.g. device file system from web apps) and these have no support in the regular Android SDK.
I can live without these device specific API's, I just don't want to have to use the Bada SDK to do anything *else*.
Click to expand...
Click to collapse
You don't need the Bada SDK at all, because Bada is a different platform used on other Samsung phones like the Samsung Wave S8500. It's not Android or related to Android, other than both (potentially, in Bada's case) being based on Linux.
the galaxy is running android os from google - the wave is running the bada os from samsung.
as such i think the OP has confused the above fact and thinks the galaxy is running bada hence referring to a "samsung sdk". galaxy s GT-I9000 runs google android, for which google has released a multi platform SDK
The poster may need to be aware that the descriptor for usb detection is broken for it currently, and has been for a little while. It's not really plug and go.
You'll need to follow the usual instructions to setup your android dev, then possibly compile a adb with support for the galaxy s. I hope I can be proven wrong for that though.
Superroach said:
The poster may need to be aware that the descriptor for usb detection is broken for it currently, and has been for a little while. It's not really plug and go.
You'll need to follow the usual instructions to setup your android dev, then possibly compile a adb with support for the galaxy s. I hope I can be proven wrong for that though.
Click to expand...
Click to collapse
Compile abd, why? The old sdk does not see galaxy S but the latest one does. And if you have problems on linux with adb not seeing your phone try running adb with root user.
Thank you guys.
I havn't checked again, but I was under the impression that Bada is the underpinning of Android on I9000.
The only thing left to understand about the vendor's platforms underneath Android is why Google didn't set it all up with Debian packages. A common repo could keep vendor specific variants of components neatly isolated; Isolated and distributable without the fuss of trying to figure out what is compatible with what. I just want to run something like
Code:
apt-get install android-gti9000-dev android-sdk --rootdir=$MY_CHOICE
on my workstation and have the SDK, device sources, other host tools, and IDE plugins installed to some working directory of my choice. That would be great

[Q] Guide for developing

Hi, is anywhere guide for developing.. i want dev too but i dont know how
What you want to develop? Kernel? System? Both?
on which host (Win/Linux/Mac)?
i want to dev too
i want do dev both kernel and system on windows ... so any advices? and thank you in advance
(EX/OR)
i want to develop both but maybe ony system. because when i wil dev kernel, i will can brake my phone
and im on win exactly win7. but on Notebook i have linux.. so its Win or Lin
And im think it will be better with guide.. Later can be more developers and it is better because updates release frequently
It is possible to put together a build using windows, but for serious development work you will need a Linux system for compiling, building from an already developed base only requires a good text editor, ( not notepad), and 7zip really.
so i need only good text editor? and source data.. its all?
and what sam knowledge of C/+/++/# Java.. nothing?
C for kernel
java for system
linux for both
Develop on windows is quite painful and on mac there are some problem with libs.
The only good system for fast develop is linux. Use a virtual system and setup a simple virtual machine with linux.
Then follow the fresh froyo thread to compile the first time (a lot of time).
Hi Michga,
have you development knowledge in any environment?
Are you for the first time approaching software developing?
Obviously you need programming language knowledge if you want to develop software (every kind of software: applications, utilities, system tools, kernel and so on)
moreafter, if you mind developing operating system's module (kernel, drivers and so on) you need deep understanding of general operating systems mechanisms in addition to specific knowledge about the OS you are developing for.
If this is your first step in software developing, I can suggest you try little application first, then step to system programming...
As a software is made up of simple text, as Zenity said, what you need is AT LEAST a good text editor and this is correct if you plan to write or modify simple pieces of software but if you mind to develop something more, a software developing environment maybe a better choice.
More, have a look at http://developer.android.com/sdk/index.html where you can find the SDK toolkit for Android.
Sorry not being more helpful: I'm a software developer but don't develop for Android yet... (Time... Time... Time... )
See you
thanks for answers.. i think it is all i need..thanks

pascal / c++ compiler for xperia x1

It would be sweet to have both of them ('cuz the qwerty keyboard and the large display). With a compiler i could be set on debug mode while i'd be waiting for the bus.
If you need a pascal compiler. Take a look at larazus project.
It's possible to cross compile to ARM
i tried lazarus project but without any progress.
nigh7ang3l said:
i tried lazarus project but without any progress.
Click to expand...
Click to collapse
DId you install the cross compiler package?
no, i didn't install anything. could u guide me ?
nigh7ang3l said:
no, i didn't install anything. could u guide me ?
Click to expand...
Click to collapse
How can you say that you tried larazus if you did not install it?
well .. wich part of it ? there r a lot of files in it.
For pascal i use pocket dos and old borland pascal for dos. It run great. For c++ i don't know how to do this
i didn't think about that. can you upload the files please?
try this one
(i cant post links....yet)
google it "smorgasbordet" and "Pelles C"
"Pelles C is a complete development kit for Windows and Windows Mobile. It contains among other things an optimizing C compiler, a macro assembler, a linker, a resource compiler, a message compiler, a make utility and install builders for both Windows and Windows Mobile. "
thanks mate, i apreciate. but speaking of pascal compiler?

Development Setup

Hi
I am looking into starting out in developing Android Apps and modding the Source OS itself. I have had a little search round on here but given the fact it seems impossible to force the search to use the exact search its bringing up hundreds of non-sense results (had to use google to find the modded Google Currents apk on this site).
Anyway what I am interested to know is what environment dev's are using and is it possible to do it all in a Windows OS or is this not a good idea?
Any help very much appreciated with getting good setup from the start and all opinions welcome.
Thanks in advance
James
1. Wrong section - should be in General
2. You'd have seen stickied right at the top of the General section this thread - http://forum.xda-developers.com/showthread.php?t=1386615
1. seeing as this is about android development I think it is in the right section especially as I have posted the exact same question in the general Android Q&A (Not phone specific) area and not got a single reply.
2. I would have seen the sticky if the search function on this site was written by a coder that died after Jesus!
Thanks for the pointer though its exactly what I wanted - thank you
The Development forum here is pretty much exclusively for ROM/Kernels, anything else goes elsewhere. Not my rules but you'll get flamed so better just to use General/Q&A for anything not ROM-related
Ah I see - I didn't know - thanks for this and the link!
Much appreciated!
all the best
J
Generally the development forums are reserved for sharing your work with others. ROMs, kernels, scripts, etc.
If you're familiar with Linux it's usually easiest to do everything from there, however I do a lot of my work while booted in to Win7 and run Ubuntu through Virtual Box. I'm set up to dualboot with linux mint, but I'm so used to windows that it's usually more convenient. Cygwin is also a very helpful tool to use if you are using windows.
The Android Development & Hacking and Chef Central forums are also good places to look for information.
xHausx said:
Generally the development forums are reserved for sharing your work with others. ROMs, kernels, scripts, etc.
If you're familiar with Linux it's usually easiest to do everything from there, however I do a lot of my work while booted in to Win7 and run Ubuntu through Virtual Box. I'm set up to dualboot with linux mint, but I'm so used to windows that it's usually more convenient. Cygwin is also a very helpful tool to use if you are using windows.
The Android Development & Hacking and Chef Central forums are also good places to look for information.
Click to expand...
Click to collapse
I understand and hope I can do a bit of sharing in the future . What IDE are you using if you don't mind me asking?
jamesmcuk said:
I understand and hope I can do a bit of sharing in the future . What IDE are you using if you don't mind me asking?
Click to expand...
Click to collapse
I use Eclipse but just because that's what was suggested by google when you download the android sdk. I started to set up netbeans to try it out but never got around to using it
yeah I have eclipse and also read about it through google. Thanks for confirming this to be the best method, I shall give it a go.
Thanks very much for your help
J
if you want to develop android apps in java you install eclipse in windows. If you want to develop the kernel or roms in c++ you install ubuntu linux in a virtuak machine on windows.

Categories

Resources