Hello,
Here I have a small question since AOSP ROMs are most popular with Nexus phones.
I have worked around with custom ROMs..now if I want to try AOSP...
Can anyone just give me a brief explanation on how I can compile AOSP from source.. Lets take nexus s as an example...
Also is C++ or any other programming language necessary?
Thnks in advance for helping!
Sent from my GT-I9003 using XDA App
I am also interested in learning to compile AOSP from source. If there is a dev out there willing to help us out that would be awesome!
I have done work with Custom ROMs .. Just wanna learn aosp..
Sent from my GT-I9003 using XDA App
You'll want to know java.
And you'll want to read thru the stuff on source.android.com
As for setting up from source, start here: Initializing a Build Environment
As for guides, there's literally hundreds of them - excluding the one off of the Official google source site. Search xda, google, etc.
Here's just one example: [TUTORIAL] Setting up and Compiling ICS from AOSP (for the galaxy nexus) which follows the guide found on -> How to Compile ICS (Ubuntu)
Catch my drift the information is all out there. You just have to take the time to search and read.
One last thing, for setting up for dev environment. A lot of people seem to go for ubuntu (my recommendation so it might be the most user friendly.
Personally I use arch linux so the w/e flavor you choose shouldn't hinder you.
kyouko said:
You'll want to know java.
And you'll want to read thru the stuff on source.android.com
As for setting up from source, start here: Initializing a Build Environment
As for guides, there's literally hundreds of them - excluding the one off of the Official google source site. Search xda, google, etc.
Here's just one example: [TUTORIAL] Setting up and Compiling ICS from AOSP (for the galaxy nexus) which follows the guide found on -> How to Compile ICS (Ubuntu)
Catch my drift the information is all out there. You just have to take the time to search and read.
One last thing, for setting up for dev environment. A lot of people seem to go for ubuntu (my recommendation so it might be the most user friendly.
Personally I use arch linux so the w/e flavor you choose shouldn't hinder you.
Click to expand...
Click to collapse
Thanks man! I have my computer set up so it dual boots Windows and Ubuntu, so I'm going to try my hand at this!
Thanks man ! Will give it a try ..
Still learning Java Though
Sent from my GT-I9003 using XDA App
Related
hello everyone. my goal is to become an android rom/ app developer. right now im currently attending college for my bachelors in Computer Science. right now im still working on my AA so its going to be a while before i even get into the field. ive researched online about linux and learned the basic codes in terminal to move files, delete them etc. but of course i dont think these codes apply to android.
im not trying to learn all this by myself but i atleast want a basic idea of the type of things im going to be learning.
so far ive downloaded android sdk and eclipse on my ubuntu linux netbook.
do you guys know of any websites that can help me get started or at least point me in the right direction in getting started on my first android rom or app.
thanks
Start with building your first hello in eclipse.
The best place to start is right on the Android site. Watch all the videos and get ready to read lots.
They have tutorials and step by step instructions for your first hello app.
BTW they tell you to break it so you have to fix it.
My biggest obstacle is just doing it.
http://android.voxisland.com has a good set of down and dirty introduction videos to app development for Android. Also, developer.android.com. A lot of that knowledge is pretty essential when doing any other kind of Android devving.
pick up some basic java and you'll have a nice head start.
If your looking for examples you can find them here
[can't post links]
developer.android.com/guide/samples/index.html
I wouldn't pay for videos from some jackasses website - plenty of free java tutorials out there to get you started.
www.anddev.org is a good site
You will need to learn the basic codes in terminal to move files, delete them, etc.
These codes apply to Android.
thanks guys for the replys. im going to start looking for tutorials for java using eclipse.
the android.dev.com pages and anddev.org show me how to make apk files. what im trying to find out is how to make roms and mess with kernels and such. how would the java and apk's tie into that?
I've got the same doubt as ripmeck. I didn't know where to ask for help, so I came here.
And I looked into all the replies, thanks for the help guys.
Unlike ripmeck, its already been two years since I've finished my bachelors.
I'm pretty okay with C programming that includes pointers, structures, etc., (but only the basics of all concepts, cause i know how deep and confusing the root goes).
And I'm slightly familiar with Eclipse, as I have done simple (very simple) java programs in it. Programs that makes use of exception handlers, multithreading etc.,
But I'm not so strong in Java (cause it has got lot more features than C and I couldn't remember it all and make use of it, I've got used to the linear style of coding without making use of any classes ).
My question is:
Should I have to get myself very strong in java before started coding for android app or can I eventually learn the java language in parallel with android development?
There was a thread posted by Cyanogen on XDA called 'some advice' with lots of good info on what you need to get started. Sorry I don't have a link since I'm mobile right now. My suggestion is to find that thread and start there.
Here are some steps vaguely describing what you need. Each is a never ending process.
1. Understand Linux/Unix
2. Understand Android
3. Make something.
My advice is to learn everything you can. Read around XDA and tackle learning each bit individually.
Learn ADB, make some themes or mods using metamorph, learn how to sign files and build update.zip files. Most importantly, have fun.
-------------------------------------
Sent via the XDA Tapatalk App
Hello, xdaDevelopers (Is it like that? Or XDADevelopers, or XdaDevelopers, well, doesn't matter, you can leave your opinion about that here, too.)!
I can see this is kinda a common thing around here, but, I really need the basics for programming, with a final goal of being able to make code for Android (from APKs to ROMs and such).
I just need people to point out good sources of learning, with a learning curve, please, that would be a great bonus in understanding what the heck I'm learning, from the basic of basic, to the goal here intended.
Maybe this is a bit too ambitious, but I pretend to be a professional programmer in the future, but I still have a kinda long way to college (3 years), and I wish I could start sooner that, it could even make my college life even simpler.
Well, I hope you leave your enlightenment in this thread. Thank you very much for any opinion given here.
*bump* Sorry. It was already in the second page. I just didn't want it to fall into oblivion.
Well your going to have to stsrt learnibg java if you want to make apps. Read some books. Also take a look at thenewboston channel on youtube.
Im learning myself. You just need to start and don't give up
Sent from my Galaxy SII
I'm also posting (lazy way of subscribing to this post). I knew java, although it was long ago. I'd need a refresh on everything. And then, knowing java is not the only thing you need, as you also need to know how to develop for android itself. Up to date, which book would you guys consider the most easy to follow to learn easily to program?
Thank you!
Yes. I'm asking for links or books (preferably e-books) that could have all that information. I just hope I can become a great XDA developer.
Griffrez said:
I just need people to point out good sources of learning
Click to expand...
Click to collapse
+1 to this. i would also like to get into learning how to develop for android.
google has a lot of info on their developers page, it's probably one of the better places to start.
i don't know many other good websites or books though. anyone have suggestions?
If you want to develop Application on Android. You will need...
1.JDK (Java Development Kit), which includes the JRE. ( I use Java SE 7 )
2.Eclipse with the Android Development ( I use Eclipse Classic 3.7.1 )
3.Android Development tools ADT Plugin for Eclipse
( I use android-sdk_r13-windows.zip )
more detail http://androidcontrol.blogspot.com/2011/10/android-development.html
java for the user interface "pretty" part of the apps, but the real heavy-lifting guts of the app (where the real magic happens) will normally be written in c
Tech_Boy said:
Well your going to have to stsrt learnibg java if you want to make apps. Read some books. Also take a look at thenewboston channel on youtube.
Im learning myself. You just need to start and don't give up
Sent from my Galaxy SII
Click to expand...
Click to collapse
I'm watching these. These are great. Starting with Java Development.
I would like to become a developer. Obviously, that means learning code, but which one? Also, I don't have a PC with Linux OS, so will that be any problem? What tutorials or ebooks or stuff like that do you recommend to start me learning?
King-V said:
I would like to become a developer. Obviously, that means learning code, but which one? Also, I don't have a PC with Linux OS, so will that be any problem? What tutorials or ebooks or stuff like that do you recommend to start me learning?
Click to expand...
Click to collapse
Yes, that's right. To become a developer means learning to write code and apply those while creating a software.
Question on which one? is completely upto you because you need to know what are you aiming for. If you're looking for web application development, you may have to study any languages like PHP, DotNet, Java - J2EE/EJB etc.
If you're looking for Android application development, first step is to study Java, because its the main language used for programming apps. Then you can move over to Tutorials on Android development, and it will be easy. If its iOS app/ Mac specific app development, Objective C it is.
Not having PC with Linux OS won't be any problem, because you can do these in Windows platforms or in a Mac.
Tutorials = Google my friend. It has almost everything in the universe. Also in Youtube, you get the video tutorials.
Some which I could recommend is, for Java Oracle docs is good and "Java - The Complete reference" by Herbert Schildt is a good book too. For Android, you can find all resources in the App development forums.
You can try out the freepascal with a good IDE (codetyphoon), simple to make windows or linux graphical apps, or the visual studio express with c#.
coolsandie said:
Yes, that's right. To become a developer means learning to write code and apply those while creating a software.
Question on which one? is completely upto you because you need to know what are you aiming for. If you're looking for web application development, you may have to study any languages like PHP, DotNet, Java - J2EE/EJB etc.
If you're looking for Android application development, first step is to study Java, because its the main language used for programming apps. Then you can move over to Tutorials on Android development, and it will be easy. If its iOS app/ Mac specific app development, Objective C it is.
Not having PC with Linux OS won't be any problem, because you can do these in Windows platforms or in a Mac.
Tutorials = Google my friend. It has almost everything in the universe. Also in Youtube, you get the video tutorials.
Some which I could recommend is, for Java Oracle docs is good and "Java - The Complete reference" by Herbert Schildt is a good book too. For Android, you can find all resources in the App development forums.
Click to expand...
Click to collapse
Thanks a lot. That surely will get me started.
Also, if you wouldn't mind, I'd add that green glowing gif of your signature to mine.
King-V said:
Thanks a lot. That surely will get me started.
Also, if you wouldn't mind, I'd add that green glowing gif of your signature to mine.
Click to expand...
Click to collapse
Sure, I wouldn't mind. :good:
Start Android Application Development
Hii..
If You Want to become android Developer best video tutorial series on Internet Is
Link
http://youtube.com/playlist?list=SP2F07DBCDCC01493A&hl=en-GB&gl=IN&client=mv-google&guid=
And Android ADT is ready made available on their website just download and start developing android apps.
Link: Android ADT
http://developer.android.com/tools/index.html
Best Of Luck....
Press Thanks Button ( Left corner of this post ) if I helped You
Sent from my GT-S6102 using xda app-developers app
This thread may be pointless but I don't care. I can't find a straight general answer.
I am kind of new to Android modding but have ok skills with coding and decent skills with Linux (I know how to survive in a shell).
What are good code examples or what are the best methods(exploits) used to privilege escalate a shell?
Do I need to find a hole in the Linux kernel or try to hijack an active process running as root?
What is needed to crack the bootloader? I know I'm asking a lot and most of my terms used may be wrong but I find it hard to take that next step. Would I find answers by reading an Android developers book?
Please, where do I start???
There are many options in the development criteria, the two main consist of OS Development (Roms) and Application Development.
Judging by what you're stating, I think you're trying to work towards OS Development? Correct me if I'm wrong.
I know I'm being a bit cheap by not typing out everything needed, as I will have to put some time into that... But the official CyanogenMod wiki shows you how to set up a building environment on Mac, Windows and Linux.
From there they explain in detail on what shell commands you must use to run exploits and such. They also explain what specific components and files do and how you can modify and update them from what I have previously seen. The site also shows you how to build a ROM for your device itself, using the CyanogenMod source of course, the method applies to all source to be honest.
Here's a link to the website - http://wiki.cyanogenmod.org/w/Main_Page
If this wasn't what you were asking for let me know so I can explain furthermore.
Krish.
Sent from my Nexus 5 using Tapatalk
Well Hello XDA!
I'm going to keep things short and just dive into the question.
I want to learn how to build Android from source and modify the source code,
and learn more about toolchains, differences between toolchains, and how to use github properly,
compile a Kernel, and the different aspects of a Kernel.
What Linux distros are best suited for these, and how to set the distro properly (It has to be setup properly or else my OCD won't let me sleep)
I would be grateful to the person who points me in the right direction and tells me what to read and where to look for guides / tutorials / helps ,
if I want to learn all of these ..
Thanks in advance
XDA Visitor said:
Well Hello XDA!
I'm going to keep things short and just dive into the question.
I want to learn how to build Android from source and modify the source code,
and learn more about toolchains, differences between toolchains, and how to use github properly,
compile a Kernel, and the different aspects of a Kernel.
What Linux distros are best suited for these, and how to set the distro properly (It has to be setup properly or else my OCD won't let me sleep)
I would be grateful to the person who points me in the right direction and tells me what to read and where to look for guides / tutorials / helps ,
if I want to learn all of these ..
Thanks in advance
Click to expand...
Click to collapse
Hello, welcome to XDA. You will find a lot of information in the XDA University pages, especially this one: http://xda-university.com/as-a-developer/getting-started-building-android-from-source
There are lots of resources throughout the XDA forum, for instance this one: http://forum.xda-developers.com/showthread.php?t=2639611
Good luck and have fun!