Beginners guide to developing custom ROM - Desire General

Hi
Seeing so many Roms being cooked I was hoping someone could put up some links on what is needed to start. I did go to the Android site and installed java se sdk, Android sdk, eclipse but failed installing adt v12 plugin. It seems many people had trouble with this.
Any guide/link is appreciated.
Sent from my HTC Desire using XDA App

Do you know a bit of java already?
I'm thinking that might be a fairly key component...

Related

[Question]

Hello there,
Like you can see this is my first post, so I start with saying I am happy to find this place and to be here.
Just a little while now, I am a proud owner of a HTC Desire aka HTC Bravo.
Now i am a little into programming with languages like java c c++ c# and some other strange ones.
So you can feel where I'm going to maby... I wanna start of developing my own APP on my HTC Desire.
Now I have a strange feeling that it's different to develop for a Nexus One as for a HTC Desire, like maby the way drivers are installed etc.
So can anyone point me in the right direction to start off?
Thanks in advanced! DesireDroid
Phone Info:
Stock
Brand: HTC Desire
Country: Holland
PhoneCompany: Telfort
OS: Android 2.1
Firmware: 2.1-update1
Kernel-version: 2.6.29-97da29ed
[email protected] #1
Softwarenummer: 1.15.405.4
Browserversie: Webkit 3.1
4GB Micro-SD
I found this article very informative: http://www.vogella.de/articles/Android/article.html
And you develop an app for Android, not for a specific phone.
petz79 said:
I found this article very informative: url...(can't be posted)....url
And you develop an app for Android, not for a specific phone.
Click to expand...
Click to collapse
Thnxs for your reply petz, I'm going to study that page carefully
I understand that you dev for Android, but there are allot of stories about apps only working on 1.5 or 1.6 , 2.1 etc.
Also the point to use the HTC Desire as a developers phone. Are there differences between developing (connecting the htc desire to the pc, and test your self made apps on it, so you need propper drivers etc... or are these the same as from the htc sync.exe ?) on the HTC Desire and a Nexus One for example?
I've only begun developing apps yesterday
As I understand it, you only use the functions provided by the Android SDK, so you don't need to use specific drivers. One app should work on every phone, as long as the phone has the appropriate functions (GPS, Wifi...). You can develop an app for a specific version of Android (1.5, 1.6, 2.1,...) If you use 2.1, older versions of Android won't be able to use the app.

Rom Building for Ubuntu?

I'd like to try my hand at building a custom rom. I have an Ubuntu Laptop and an Evo and I really don't know where to start. I read that there was a Rom Kitchen that I could use, but I don't know where to get it or how to get it installed on UBuntu.
Additional Options
Thanks.
Hey, I'll help you out I was once in the same position and 20,00 pages and forums later that I came to conclusion that if you really want to use Android Kitchen by dsixda I recommend you use Cygwin for Windows, which is like a modified DOS with Linux Coding which works flawlesslly. Yes you could use Ubuntu but I tried doing so and I get many errors during cooking my roms. But its up to you, I'll provide the links to help you where to find guides on how to Install appropriate drivers, software to cook up some Roms.
http://forum.xda-developers.com/showthread.php?t=633246 Android Kitchen <------
http://theunlockr.com/2010/03/26/ho...om-for-android-part-1-setting-up-the-kitchen/ < ------ Video on how to set up Android Kitchen on Linux Ubuntu.
Good luck
I'm going to second the kitchen thing but only to a point. It does handle some of the more annoying bits of putting a ROM together but I recommend you grab a stock rom, pull it apart, and try adding the changes that you want. Then flash, tweak, flash, etc.
I did this the other day with a stock HTC release. I learned a lot just about the general workings of the rom and all I was doing was basically dropping other people's tweaked frameworks and apps into it. After flashing about 15 times, I had a rom close to what I wanted with nothing I didn't.
That gets you started. Where you go from there is up to you. I hope to move from cut and paste rom assembling to doing some actual real development soon.

[Q] Where should I go if I want to develop an app?

Can anyone direct me to a place?
If you are a noob you should look at the google app inventor, while if you are experienced in developing you can look at the android sdk tool.
can i follow with android.com
http://developer.android.com/ is a good place to start. I would also strongly suggest learning regular Java properly first, or at least get a basic understanding of it if you haven't already, as it will make developing for Android far easier.

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.

[Q] Help! Please!

Sorry in advance if there's a tutorial already out, but i can't seem to find it. I want to begin by modding themes. I have d/l and installed apk manager, sdk tools, java, eclipse and have, as far as i know, associated everything properly. My prog exp is little: some visual basic and turbo pascal in college, along with a flirting fascination with assembly. My thought was i would begin by modding code instead of learning java outright, but if i have to learn c or java that is just fine. where? Anyway, every time i run script.bat in apk manager, i receive an error. Put .apk in mod folder, run script.bat, start project (the .apk is (1)) 1, decompile...error! what am i doing wrong? If anything, just point me in the direction of a good tutorial.
mgofpickens said:
Sorry in advance if there's a tutorial already out, but i can't seem to find it. I want to begin by modding themes. I have d/l and installed apk manager, sdk tools, java, eclipse and have, as far as i know, associated everything properly. My prog exp is little: some visual basic and turbo pascal in college, along with a flirting fascination with assembly. My thought was i would begin by modding code instead of learning java outright, but if i have to learn c or java that is just fine. where? Anyway, every time i run script.bat in apk manager, i receive an error. Put .apk in mod folder, run script.bat, start project (the .apk is (1)) 1, decompile...error! what am i doing wrong? If anything, just point me in the direction of a good tutorial.
Click to expand...
Click to collapse
I'm not sure if what you're looking for would be there, but have you checked the General Android Development forum? http://forum.xda-developers.com/forumdisplay.php?f=613
I'm sure you would be able to get more detailed help there, since you are talking about non device specific development. Good luck!
lordcheeto03 said:
I'm not sure if what you're looking for would be there, but have you checked the General Android Development forum? http://forum.xda-developers.com/forumdisplay.php?f=613
I'm sure you would be able to get more detailed help there, since you are talking about non device specific development. Good luck!
Click to expand...
Click to collapse
Thank you! I've seen some, but not all. I have a nitro, so dev would be geared towards that. further along i was/would ask how you get the emulator to approximate the lg nitro, but for now i thought i'd stick with just requesting a solid tut.
mgofpickens said:
Thank you! I've seen some, but not all. I have a nitro, so dev would be geared towards that. further along i was/would ask how you get the emulator to approximate the lg nitro, but for now i thought i'd stick with just requesting a solid tut.
Click to expand...
Click to collapse
Never messed with it, to be honest... I've got so many things I want to do but can't seem to find a good starting point for any of it. Pretty sure I've downloaded eclipse, JDK, and the android SDK in both windows and linux environments but that's about as far as I've gone... I may have installed them, not 100% sure. I get side-tracked too easily. :cyclops:

Categories

Resources