[Q] Linking eclipse with source code and virtual device - T-Mobile LG G2x

This question is more directed towards developers, but anyone who knows feel free to contribute.
Recently i have downloaded the android source code on ubuntu and the SDK, got virtual device running and adb for my g2x. My question is now that i have the source code in my "WORKING_DIRECTORY" how can i link eclipse to the source code, and run my source in virtual device.
To sum up the question im looking for guide on creating own custom rom, it would be nice to be pointed in the right direction

Do u want to build the from from stock or CM sources
Sent from my LG-P999 using XDA App

Thanks for responding, i also have a nexus s, id assume its easier to work with nexus stock code then translate some of my work to the cyanogenmod for my
g2x, whatever is easier the get me going and understanding the concepts, So to answer the question working from stock

Related

[Resolved] How to compile Stock Android Source Code such as MMS.apk

I am new to android development and started messing around and building the example source in Eclipse Helios. When I do new project > existing source and open up the Mms.apk source (stock, from android's git hub, it says the source has errors and they need to be fixed before I can build.
I tried this on my Ubuntu 10.10 machine and used repo to get the entire android source, thinking maybe having the entire platform source would help. I'm still unable to build the source so any edits I do are useless.
Can someone tell me what I'm missing? I know I'm doing something wrong or skipping something, but I can't figure it out.
Thanks
Sent from my Droid using XDA App
sorry to double post but i'm not sure why it says "Resolved", i think the app made me add it in or something. anyways the status is still currently unresolved. any help much appreciated.
bump??? i hate that it says resolved there...

[Q] Link for Gingerbread 2.3.3 source code

Hello fellow Android Developers,
I have stalled out in the middle of an Android App Development tutorial, that was going very well until now. This is my first time debugging an app.
Error was related to adding the source for the android.jar file. It seems that I need a source code for Gingerbread 2.3.3. Please post a link and instructions if needed.
Thanks very much
P.S. some details on my coding tools and problem. I am using Eclipse 3.7 on Windows 7. I am reading up on several options now, but it sounds like I just need the 2.3.3 source code. Let me know what you think.
--Pheonix

Dont know where to start

Hi every one I dont know where to start i want to make my own rom from source,build it,modify it etc.But i dont know where to start.I know how to build rom from source(learned it from the tutorial on source.android) but i dont know what do those codes mean.i searched on google but cant find an easy tutorial.If i build rom from source how do i make it work on my phone.How do i FIX bugs on my roms,modify it Help please
Check out the chef central section under android. There are a lot of great people working on making development accessible.
For a pure AOSP ROM you are going to have a bit more work, but be rewarded in the end. There is also cyanogenmod and other custom distributions you can build from source and modify.
If you are familiar with C and Java programming you can dig into the actual development more by writing apps or changing source code. If you don't you may want to start on that road. Other wise you will be basically cutting and pasting from everyone else, which doesn't get you any credit.
Themes are also a good place to start. There are lots of good guides in the theme section and people are willing to help if you ask nicely and appropriately.
I have done a bit of this foot work and come to the conclusion, I need to learn programming then come back to source. It is overwhelming to take on an entire operating system in a foreign language, especially when that language has to be perfect to function!
Good luck in your endeavors. Feel free to hit me up for the little knowledge I have!
Sent from my PC36100 using xda premium
But! where to learn
First i want to learn the basics of Rom
are you familiar with Java, C and C++? These are going to be very useful in understanding the "codes" as that is what they are written in. You are also going to have to build AOSP specific for your device, which will require adding your device to the device tree and extracting the necessary drivers and files that are specific to your device. Cyanogenmod has many devices already added to their github and you would simply clone the folder for your device, then build AOSP source and issue make using the device specific folder.
THIS is a helpful tool, and yes it will compile pure AOSP as well.
THIS is also a very helpful tutorial, and you can modify instructions to work for Gingerbread.
If you just want to learn to build and modify the source start with Cyanogenmod build from their source first. You can also build the kernel if you choose but that is a bit more complicated. After you have both of those building without errors then start making changes that you want to see.
The CM Wiki has some good info http://wiki.cyanogenmod.com/wiki/Building_from_source
http://wiki.cyanogenmod.com/wiki/Building_Kernel_from_source

How to Build I717 from original android and samsung source

Hi,
Im new with android develoopment so please bear with a n00b. can someone guide me how to build ics rom using the source provided by samsung..
I have downloaded the original android ics source and samsung's source.. I can build the android source but I dont know how to plug in the samsung code. Unfrotunately, sammy's documentation is insufficient probably about 10 lines, just says to overwrite the android source and do a make. But when I run make I get errors...
I've been looking at the forums most of them build from the cm10 source, but I want to build using the original. Figured I would learn more if I tried to build it from the actual sources..
Appreciate any help. If I learn, I would definitely pay it forward by contributing whatever I can to the community..
Thanks
You need to post this in the Galaxy Note phone section.
Wrong section. 1) Dev sections are for builds and modifications. 2) wrong device thread. This is for the galaxy note 10.1 tablet.
Sent from my GT-N8013 using xda premium
n00b13 said:
Hi,
Im new with android develoopment so please bear with a n00b. can someone guide me how to build ics rom using the source provided by samsung..
I have downloaded the original android ics source and samsung's source.. I can build the android source but I dont know how to plug in the samsung code. Unfrotunately, sammy's documentation is insufficient probably about 10 lines, just says to overwrite the android source and do a make. But when I run make I get errors...
I've been looking at the forums most of them build from the cm10 source, but I want to build using the original. Figured I would learn more if I tried to build it from the actual sources..
Appreciate any help. If I learn, I would definitely pay it forward by contributing whatever I can to the community..
Thanks
Click to expand...
Click to collapse
Wrong forum and building pure AOSP for Samsung non-Nexus devices is impossible, too many framework changes needed. Android userspace is Apache licensed so this is unfortunately legal.
Sent from my GT-N8013 using Tapatalk 2
Thread Moved​
Please post in the correct section.​

[Completed] can I make an AOSP in a virtual machine?

Hi everybody!
I am new in this community and I am sorry if a post this thread in the wrong forum.
I want to start making a AOSP or a "custom ROM" for Android, I have some experience with "Linux from scracth" and linux in general, but I think that I still beeing a newbie in OS development.
I really love OS develoment and thats why I want to try with Android. (I know that is very hard, but I am making this for experience)
The AOSP requirements says that I new a Android device and its kernel source. (I am new and I can not post links)
I want to know, if there is any way to make a AOSP or custom ROM in a virtual machine? maybe using google pixel or nexus code?
I have an Android device but I am a complete newbie and I dont want try on real hardware yet.
Thanks for any help!
david_pjimenez said:
Hi everybody!
I am new in this community and I am sorry if a post this thread in the wrong forum.
I want to start making a AOSP or a "custom ROM" for Android, I have some experience with "Linux from scracth" and linux in general, but I think that I still beeing a newbie in OS development.
I really love OS develoment and thats why I want to try with Android. (I know that is very hard, but I am making this for experience)
The AOSP requirements says that I new a Android device and its kernel source. (I am new and I can not post links)
I want to know, if there is any way to make a AOSP or custom ROM in a virtual machine? maybe using google pixel or nexus code?
I have an Android device but I am a complete newbie and I dont want try on real hardware yet.
Thanks for any help!
Click to expand...
Click to collapse
Greetings and welcome to assist. Plenty of devs use a virtual machine to build or even dual boot linux. There are plenty of prebuilt virtual machines at osbox and there are plenty of excellent guides to building in xda university
http://forum.xda-developers.com/general/xda-university
Good Luck and welcome to xda
Sawdoctor
sawdoctor said:
Greetings and welcome to assist. Plenty of devs use a virtual machine to build or even dual boot linux. There are plenty of prebuilt virtual machines at osbox and there are plenty of excellent guides to building in xda university
http://forum.xda-developers.com/general/xda-university
Good Luck and welcome to xda
Sawdoctor
Click to expand...
Click to collapse
Thanks for replying!
I have no problem to install Linux on real hardware, actually I have Arch Linux installed on real hardware and I used as my main OS.
What I want to know is, can I put AOSP or a Custom Android in a Virtual Machine? I mean, modify some code in a custom android and tested in a Virtual Machine?
Thanks for your time and help!
david_pjimenez said:
Thanks for replying!
I have no problem to install Linux on real hardware, actually I have Arch Linux installed on real hardware and I used as my main OS.
What I want to know is, can I put AOSP or a Custom Android in a Virtual Machine? I mean, modify some code in a custom android and tested in a Virtual Machine?
Thanks for your time and help!
Click to expand...
Click to collapse
You mean you want to run a custom rom on a virtual machine on your pc ? I think android studio can do something along these lines
sawdoctor said:
You mean you want to run a custom rom on a virtual machine on your pc ? I think android studio can do something along these lines
Click to expand...
Click to collapse
I mean that I want to modify Android OS to add functions, optimize, maybe modify the UI of the system, learn how Android is programed and that kind of things. I want to modify Android Source Code but I want to tested that code on a Virtual Machine on my PC.
Where can I get Android Source Code or any Custom ROM to start working on it?
Thanks for your help and time!
david_pjimenez said:
I mean that I want to modify Android OS to add functions, optimize, maybe modify the UI of the system, learn how Android is programed and that kind of things. I want to modify Android Source Code but I want to tested that code on a Virtual Machine on my PC.
Where can I get Android Source Code or any Custom ROM to start working on it?
Thanks for your help and time!
Click to expand...
Click to collapse
Here is the link for android studio
https://developer.android.com/studio/index.html#features
For source code you can use cm/aosp or anything opensource. Resurrection remix is quite easy to set up as they have a lot of pre built scripts to help you set everything up
Sent from my SM-N930F using Tapatalk
sawdoctor said:
Here is the link for android studio
https://developer.android.com/studio/index.html#features
For source code you can use cm/aosp or anything opensource. Resurrection remix is quite easy to set up as they have a lot of pre built scripts to help you set everything up
Sent from my SM-N930F using Tapatalk
Click to expand...
Click to collapse
Thanks for your help and time!
You have resolved everything that I needed!

Categories

Resources