Hey guys, I recently got a new hard drive for my computer and I have the old 80 gig sitting around. I also have my old HTC Aria from when I was on AT&T. I am thinking of either building a CM rom or porting one over to it. Which ever one is easier. I have no Android development experience, so I figured this would be a good way to get my feet in the water.
I would like to hear from some people with some experience. Would Ubuntu or Windows running Ubuntu through a VM be best? Are there any little tips to make things easier? Thanks in advance!
Sent from my Infected Rezound using xda app-developers app
So do you have a machine you can dedicate to building roms or are you going to be using your main machine?
I'd put linux on it if it's a stand alone build box, otherwise if you need Windows on your main machine, go with a VM.
You can follow the steps in the how to build CM10.1 guide to set things up once you have a booted linux OS.
http://forum.xda-developers.com/showthread.php?t=1920107
Since you're building for a different phone, you'll wanna poke around that section of XDA to look for a repository to build from vs using the CM10.1 rezound repository...
Thanks! I will be using my main PC but have a dedicated hard drive just for developing. I am familiar with Ubuntu, if I didn't do a lot of audio editing and work with AutoCAD, I would use it instead of windows. I imagine Ubuntu would work perfectly, right?
Sent from my Infected Rezound using xda app-developers app
mjones already linked to my guide in Development which is based around Ubuntu.
If you want to do more than just compile preexisting code, you're going to want to get familiar with git, repo, and the layout of code in AOSP. Guides on that are hard to come by, and TBH, trial and error is how I learned things on that front.
Related
I would like to develop my own application, I've gotten my feet wet in programming in java and a little c++ but I want to learn everything I can.
Also maybe are there compiling tools available directly on Android?
Can anyone get me started?
Much thanks for people who help.
Sent from my Transformer Prime TF201 using xda premium
Download the Android SDK and the ADT Plugin for Eclipse from here: http://developer.android.com/sdk/index.html. After I got it all running, I found a nice little Android Development Tutorial online and went to work (it was probably on this same site). Eclipse is a little slow on Windows, so I switched to an Ubuntu machine, but that is not a must.
tedr108 said:
Download the Android SDK and the ADT Plugin for Eclipse from here: http://developer.android.com/sdk/index.html. After I got it all running, I found a nice little Android Development Tutorial online and went to work (it was probably on this same site). Eclipse is a little slow on Windows, so I switched to an Ubuntu machine, but that is not a must.
Click to expand...
Click to collapse
sorry if this is noob, but did you dual boot or run it in a VM? would either be sufficient? or would an actual dual boot be better?
stretchwookie said:
sorry if this is noob, but did you dual boot or run it in a VM? would either be sufficient? or would an actual dual boot be better?
Click to expand...
Click to collapse
I made a dual boot machine. VM works well for many -- definitely a good option to be able to play around with Linux to see if you like it. For development purposes, I thought it better to get the best performance, thus the dual boot system.
I have the need to move my development machine often, so I did my research and got a laptop that is very compatible with Ubuntu -- many are not. It has all worked out very well to this point.
tedr108 said:
I made a dual boot machine. VM works well for many -- definitely a good option to be able to play around with Linux to see if you like it. For development purposes, I thought it better to get the best performance, thus the dual boot system.
I have the need to move my development machine often, so I did my research and got a laptop that is very compatible with Ubuntu -- many are not. It has all worked out very well to this point.
Click to expand...
Click to collapse
thank you very much! i just recently decided i want to become a developer and possibly a get a degree in computer science. (im stilll young, luckily i got time to do this) and so im very new to all this. ive been rooting and flashing for 2 years, but never have created anything. so thank you for taking your time to answer me, regardless of my noobness
I recently got started with developing for Android, and using the Android SDK with eclipse is definitely a great way to get started. I would recommend making a simple application that does some type of math function.
If you have developed in Java before, it will be pretty easy to get started with Android. I common first app is a tip calculator. If you get stuck or have any questions, google is your best friend. Also, you can always PM me, I have been looking for people to develop with.
juntistik said:
I recently got started with developing for Android, and using the Android SDK with eclipse is definitely a great way to get started. I would recommend making a simple application that does some type of math function.
If you have developed in Java before, it will be pretty easy to get started with Android. I common first app is a tip calculator. If you get stuck or have any questions, google is your best friend. Also, you can always PM me, I have been looking for people to develop with.
Click to expand...
Click to collapse
I may PM you tonight, I'll see if I can get that tip calculator to work. Thanks!
Sent from my LG-VM670 using XDA App
Its a question so that's why I put it here but it has to do with development so take it as you will....I understand to be a devlipe or kidder you obviously need a good base of Java and Linux knowledge. My question is since I'm trying to break into developing for android what are tips if any that any of you have for someone trying to start out?
Sent from my DROID X2 using xda premium
trafalger888 said:
Its a question so that's why I put it here but it has to do with development so take it as you will....I understand to be a devlipe or kidder you obviously need a good base of Java and Linux knowledge. My question is since I'm trying to break into developing for android what are tips if any that any of you have for someone trying to start out?
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Wouldn't hurt to tweet/message Ace or Dragon on twitter. Ace - @aceoyame Dragon - @dragonzkiller
Both of them are on regularly. Hope you get some answers.
Sent from my MB870 using xda premium
trafalger888 said:
Its a question so that's why I put it here but it has to do with development so take it as you will....I understand to be a devlipe or kidder you obviously need a good base of Java and Linux knowledge. My question is since I'm trying to break into developing for android what are tips if any that any of you have for someone trying to start out?
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Well, to start, get a book on Android Application developing, then download and install Eclipse. (It's best to do this in Linux, rather than Winderz, but there are several devs that work strictly through Winderz.) I use Linux personally as compiling ROMs you can only do in Linux as the Winderz tools don't work so well. If you are looking at developing applications, there are a TON of resources out there. Just Google it. If you are looking to do more with the Android OS, then learn Linux, it helps, a lot!
Hope this little blurb helps.
Ciao!
If you don't know Java, I would get a Java book first before even attempting to learn how to program Android. Most Android books assume you have Java and Object Oriented Programming experience.
And just reading the books won't do it. There is much to be said about experience. You could read a book, do all the code samples and then you think you know programming, but until you apply it, it's completely different.
All of my coding experience was self-taught at the beginning. It started with typing in programs from magazines on my Apple ][+ (and then eventually a //e). I would go in, type in the programs, debug them and get the to run. I would then see what would happen if I started changing things to see how it react. You really learn from your mistakes, because once you make one and correct it, it stays with you.
I also purchased books on programming and learned that way as well. Together, with typing in programs from other programmers, experimenting/changing/modifying their code, writing my own applications, etc, that's how I learned to program.
By the time I got to college to get my Computer Science degree, I had the basics of programming down pat, but I learned a lot more, but the stuff I learned was new and I didn't have to worry about the other basic aspects that some other people had to learn since they never really programmed before.
I'm also trying to get into developing. I've themed my X2, but that's about all the stuff I've done myself. I've edited the build.prop and stuff, but only with stuff other people wrote. I'm trying to learn Java, I've kind of got the structure down, but the code is the hard part for me, trying to remember what terms do what. And arrays too haha
My suggestion would be to learn Java and get familiar with Linux, I'm still trying to do both. Java is going to be the first language I fully learn. I've played around and attempted to learn C++ and Python. But I was easily distracted
Good luck on learning, its overwhelming!!! But once you start to dive in, things start stacking into place and make sense
Sent from my MB870 using XDA
I also use Linux and have taught myself Java even though km no wizard and am using g eclipse and working with some books on android development as well sounds like I'm at least pointed in the right direction at least
And on a side note I've used some flavor of Linux exclusivly for maybe 10 years now hate windows....last laptop I bought has a rwaltek wireless card in it or I would be using debian right now put could never get it yo work even using g wrappers...but that's a bit off topic sorry
Sent from my DROID X2 using xda premium
Any vids to teach a newb how to create roms for phones. Only thing I am missing from my android knowledge
Sent from my rooted Verizon Galaxy Note 2. FU Verizon and all tour BS you throw around.
It depends, if you want to build something like an AOSP rom from source or if you want to "bake" your own from based off of a stock image. To build AOSP from source you either need to be on Ubuntu (not sure if you can on other Linux distros, could be wrong) or you need to have a virtual machine running Ubuntu on Mac or Windows. There's videos on how to do so around the net, so use Google as your friend. As far as baking goes there's a chef section at XDA that has countless tutorials on how to do stuff like that. They may also have tutorials on how to build from source (haven't been there in awhile so I couldn't tell you). Hope I helped.
Thanks for the info, I was kind of curious as well and wanted to know what it took to make one and better understand what the devs do.
I was thinking about trying to make one also found this link
http://forum.xda-developers.com/showthread.php?t=1801690
Sent from my SCH-I605 using Tapatalk 2
Looking to build vanilla kernels for jellybean roms, however I'm using a 32 bit machine. I know it can be done, just not 100% sure how to compile... Do I need certain libs? Toolchains? Commands?
A few details are I'm using Ubuntu 12.10,
Aosp ROM on an ATT OneX
If anyone is willing to dedicate a little bit of time and knowledge I'll give my gtalk or hell even my phone number lol... Any help will be GREATLY appreciated.
Sent from my One X using Tapatalk 2
It's alright to use a 32 bit machine, I'm using a 32 bit Ubuntu distro as well.
There's plenty of tutorials around the web about how to setup ubuntu for android development, even here on xda. Did you search?
Have a look around the foruns, how to setup ubuntu for android development, or google "setup ubuntu 12.10 for android development".
You'll need to install libs, the sdk, probably github and a few more things (can't tell exactly for sure, not my area of expertise)
Last time I did something alike, I used this link.
Been searching for a while lol. I see a crap load of tutorials on building GB with 32 bit.. But nothing with jelly bean. Tried a bunch of stuff... Getting this as of now
Sent from my One X using Tapatalk 2
Over the past couple weeks every waking moment of spare time I have had I have used reading any article, watching any movie, browsing any forum thread I have found on the topic of custom rom development and I think I'm getting close to where I can begin my first build. If any of the users here can point me to any helpful links to help me with this I would greatly appreciate it. Now, onto my question. This is probably considered pure sacrilege but I was just curious on the matter. I was wondering, lets say I was wanting to port the new ToudhWiz over to our device would this be possible. If it is possible how difficult is it going to be and is it a project a beginner developer could ever hope to accomplish?
Onto my second question. I have been waiting ever since I got the DNA to see an Ubuntu Touch port for it and have got to the point where I don't believe I'm ever going to see it happen. Is this due to it being harder to build then lets say a AOSP based Rom or is it because not many people in our community here seem to care if it happens or not? The reason I'm asking is because after I get a couple Roms compiled from the simple FAQs I have been able to find and have figured out kind of what I'm doing I think I would like to try to port it over. Once again, ANY and all help is greatly appreciated, whether it's just links to other sites that has helped the developers here get to where they are or even someone wanting to help me learn personally. I have the upmost respect to all of the developers on this site and want to be able to consider myself among this elite group very soon. If I have posted this in the wrong place let the mods move it and let me know of my mistake.
Sincerely,
DrewHamm974
As someone who is fairly new to android / Rom development. Its something that takes a bit of time. I started small by just learning how to compile from source to figuring out how to get it set up to work on a device that already has support to eventually bringing roms to this device when they weren't supported.
I'm no expert but also knowing a programming language like C, C++, and Java will help.
Xda-university.com has some stuff on Rom development.
As for porting TW probably won't happen. Ububtu touch good luck... You will need either someone to do kernel work or learn how to dev a kernel first...
Sent from my dlx using XDA Premium HD app
.torrented said:
As someone who is fairly new to android / Rom development. Its something that takes a bit of time. I started small by just learning how to compile from source to figuring out how to get it set up to work on a device that already has support to eventually bringing roms to this device when they weren't supported.
I'm no expert but also knowing a programming language like C, C++, and Java will help.
Xda-university.com has some stuff on Rom development.
As for porting TW probably won't happen. Ububtu touch good luck... You will need either someone to do kernel work or learn how to dev a kernel first...
Sent from my dlx using XDA Premium HD app
Click to expand...
Click to collapse
First off I would like to say thank you very much for answering my question. Honestly, I was hoping for an answer from you, Pio, Palmer, or amit_sen. I am currently running CyanFox and must say it is awesome. If I could be bold enough to ask, why would porting TouchWiz not work? Is it due to something about it being a proprietary rom or is it something in the source that won't compile for anything but a Galaxy phone. The reason I am asking is due to the fact if I'm not completely mistaken I saw a sense rom for either the S2 or S3 not long ago.
Now onto Ubuntu touch, I thought all you had to have to port it was a working CM 10.1 build to get it working. Also, is there anywhere besides XDA University you could send me to help learning Rom and/ or Kernel development. Once again I greatly appreciate you taking the time to answer my question I idolize any devs that are on here freely giving their time and hard work.
DrewHamm974
Bump
DREWHAMM974 said:
Bump
Click to expand...
Click to collapse
I would recommend learning how to build CM 10.2. Once you have a working build, figure out how to build AOKP (or any other ROM without official support).
After that, you will probably have new questions.
Thanks will definately do.
Sent from my dlx using XDA Premium 4 mobile app
Touchwiz would be easy to get booting but almost everything would be broken. And because you can't actually compile touchwiz it makes fixing anything a giant pain. Ubuntu touch on the other hand would be relatively easy because you can compile it.
Sent from my HTC Droid DNA using XDA Premium HD app
If I remember correctly, Ubuntu touch is typically based on the cm10.1 kernel, for whatever it's worth.
Sent from my Droid DNA using Tapatalk Pro