How to start building ICS from sources? - LG Optimus 2x

Hi,
some experienced dev can post here some instructions, hints, or anything that could be useful on how to build ICS from sources?
I'm not talking about anything you can find here:
- downloading sources http://source.android.com/source/downloading.html
- building sources http://source.android.com/source/building.html
I'm talking about lunch configurations, kernel to use, init script, proprietary files, etc... (I really can't find any guide for this kind of things.)
I never started a new build configuration, I only used "ready-to-build" solutions like CM, and I'm very interested to learn something new.
I think this is a good way to start to work on ICS for our device and share our findings to quicken the work of arcee.
M.

There are some great articles on "porting android". I guess you could start there, that's where I am
You may also want to check out the reading list from CyanogenMod:
http://wiki.cyanogenmod.com/wiki/Samsung_Galaxy_S_II_(AT&T):_Compile_CyanogenMod_(OS_X)
It contains two 1 hour long video introductions to porting.

thank you. that's exactly what i was searching for.
Apparently I was searching with the wrong keywords

buch85 said:
thank you. that's exactly what i was searching for.
Apparently I was searching with the wrong keywords
Click to expand...
Click to collapse
Yeah, I was searching for a year and only found those links yesterday

Related

How Do You Build Your Own ROM and Sign It?

How Do You Build Your Own ROM?
How Do You Sign It?
Any Help Once I Get The Basics Then I Know I Can Help With The Builds Of Hero I Just Need Help How To Get Started..
You Know A Path To The Right Direction..
Thanks..
Search. Someone posted up a tutorial on how to do exactly what you're asking.
Then again, I doubt many people will want to use a ROM made by someone who doesn't think to search on his own in the first place. Probably not the sign of a thorough developer.
uansari1 said:
Search. Someone posted up a tutorial on how to do exactly what you're asking.
Then again, I doubt many people will want to use a ROM made by someone who doesn't think to search on his own in the first place. Probably not the sign of a thorough developer.
Click to expand...
Click to collapse
haha this is what i thought why are so many people on xda fags?
always say this stupid ****.. its annoying how you just don't answer..
how about help out and not say this stupid stuff it would help out alot more..
Thanks For Your Advice "***"
You Fill The Stars...
MySoul2Creep said:
haha this is what i thought why are so many people on xda fags?
always say this stupid ****.. its annoying how you just don't answer..
Thanks For Your Advice "FAG"
Click to expand...
Click to collapse
Not as annoying as people not using the SEARCH function... "ASS".
haha oh i looked it gave me a run around tho..
MySoul2Creep said:
haha oh i looked it gave me a run around tho..
Click to expand...
Click to collapse
Stericson started a thread (use the search function to search for threads started by him) about how to sign files and ROMs... I would start there and you'll probably find information on building ROMs as well.
I would also check the Google developer forums (don't know the URL) for information on building a ROM for Android. You'll need to download and install several items to your computer to create the appropriate environment to build.
uansari1 said:
Stericson started a thread (use the search function to search for threads started by him) about how to sign files and ROMs... I would start there and you'll probably find information on building ROMs as well.
I would also check the Google developer forums (don't know the URL) for information on building a ROM for Android. You'll need to download and install several items to your computer to create the appropriate environment to build.
Click to expand...
Click to collapse
Ahh thanks bro! This helps me too I was just looking for something like this. I'll put up sites to this stuff when i find them on here!

Guide to compile android from scratch

Hello everyone, I want to learn how to build Android from source to google (I've already downloaded), but I do not know what to do and where to start, I recommend Quelch lowed or tutorials to get started?
thanks
PS: excuse my English: D
EDIT:
I want to create ROMs
fede DREAM ITA said:
Hello everyone, I want to learn how to build Android from source to google (I've already downloaded), but I do not know what to do and where to start, I recommend Quelch lowed or tutorials to get started?
thanks
PS: excuse my English: D
Click to expand...
Click to collapse
http://developer.android.com/guide/index.html
^^has a lot of good information
help me! please
Yes, I searched the internet a lot on how to cook ROM's but I couldn't find crap... Is there a tutorial somewhere on how to get started on this?
Theres no real tutorial for it....its really you know how to work things through experience,
There are a lot of useful threads on xda, but you have to find them and piece them together.
LFS
What about compiling the information into a HowTo format similar to the first Linux From Scratch book?
Possibly the Gentoo ARM handbook may be of help as well.

Make a Rom?

I've spent the better part of 5 hours trying to come across information on ROM development.
My question is two part. What resources are there available to learn about creating a rom from scratch or editing an existing (including making the update.zip and signing)
Also, I assume the emulator is involved or at least could be. How do you create the system images that you need to create a custom avd from the zip's that you find roms in?
I have a feeling there's a lot I don't know. Perhaps the answer is in front of my face, but I've been looking for a long time and definitely have tried so please don't just say "use the search fuction" or "google it"
Devs normally don't like to share the info but there's a guide here:
http://ctso.me/2010/02/building-an-android-rom-–-part-1-5/
But the info is in other places to the google-android page might have some info to. You must be using a linux OS to actually build anything, windows is a no-go...
Quick and helpful, thanks!
Luckily I did just put the latest ubuntu on my laptop.
If anyone else wants to chime in with some helpful resources please do!
If some annoying little 14 year old made a hero rom, it can't be all that complicated.
halfmonty said:
If some annoying little 14 year old made a hero rom, it can't be all that complicated.
Click to expand...
Click to collapse
He was just lying, he spammed various threads while talking about other devs.
Ace42 said:
He was just lying, he spammed various threads while talking about other devs.
Click to expand...
Click to collapse
first he's 14 then he's 12...next he'll be a spoiled 8 year old. you just watch.
I'm glad I checked this post. I was curious about ROM developing myself. Thanks for the post.
Is it me, or does that guy have more then one account...
At the risk of taking this further off topic... what guy?
But really my main concern is how to make a rom so, any other help from anyone would be good. Thanks!
Bump?
I'm sure somebody knows something
What resources are there available to learn about creating a rom from scratch or editing an existing (including making the update.zip and signing)
Click to expand...
Click to collapse
If you would like to compile android source code (create a rom from scratch) the best place to start would be:
http://forum.androidspin.com/showthread.php?t=2004
or
Chris Soyars' blog: http://ctso.me/2010/01/building-an-android-rom-part-1/
OpenEclair github readme: http://github.com/openeclair/android
Official AOSP Guide: http://source.android.com/download, http://source.android.com/download/using-repo, http://source.android.com/documentat...ding-for-dream
Instructions on creating and signing update.zip files can be in a few places herre on xda. Check the themes section I'm pretty sure I saw a few there.
Also, I assume the emulator is involved or at least could be. How do you create the system images that you need to create a custom avd from the zip's that you find roms in?
Click to expand...
Click to collapse
Install the rom on a handset & do a nandroid backup. It will produce the img files you will need for the AVD
Dude, you're awesome, thanks!

Building from Source

hi!
I've got no experience of coding and if i'm honest i don't really like it! I've never written an app
What i'd like to do is build CM6 for the Nexus from Cyanogens Git Hub.
Is this something realistically possible for someone with no coding experience
I've not bothered researching yet as I wanted to know if I was actually going to be wasting my time!
Short answer is - not a chance.
Jack_R1 said:
Short answer is - not a chance.
Click to expand...
Click to collapse
How helpful...
Anyway, here's the CM wiki to build from source:
http://wiki.cyanogenmod.com/index.php/Building_from_source
RixKliq said:
How helpful...
Anyway, here's the CM wiki to build from source:
http://wiki.cyanogenmod.com/index.php/Building_from_source
Click to expand...
Click to collapse
You should read what you post first. Look, a quote:
"These instructions have only been tested for 4.2.10.1 on 25 DEC 2009. This information may be out-of-date.".
Do you think a 1/2 year and 2 versions old is still relevant?
Do you think that a code which is currently being written, sampled at some random point in time, will compile cleanly?
Do you think that this quote means something, from TODO section:
"TODO: Explain how to compile the rest of CyanogenMod"
Maybe this?
"TODO: Explain how to compile wlan.ko in order to enable wifi."
And more importantly, do you think a user who's asking for instructions to compile and hates programming, knows ANYTHING about Linux, which is required?
Thought so.
So, the short answer is - not a chance.
Who **** in your corn flakes?
The wiki worked for me before and when I was compiling last night...
Anyway, why not give them the information and let them decide if they want to pursue it the project or not.
Edit: From the bottom of the Wiki: This page was last modified on 26 June 2010, at 13:57.
Long story...
Anyways, I was stopped by "and if i'm honest i don't really like it" part, which said to me that any info besides a full comprehensive guide to installing VirtualBox, Debian on VB, and backing up the effort to compile something that might not compile and might not work, would go in vain.
But maybe you're right.

[Q] Rom Cooking .

Okay So Basically I Just Started Working With The Rom Kitchen Can Someone Give Me Some Pointers On How To Get A Specific Rom Booting or Anything Else I Need To Know ?
Man do yourself a favor a READ and search for awhile.... all you ever do is ask for handouts. Development is not easy. Its not just a matter of asking questions. You had 134 views of this page before I responded. That's 134 people that didn't wanna help you... if that doesn't say anything I dont know what will.
self proclaimed XDA resident prick
Jurellz said:
Okay So Basically I Just Started Working With The Rom Kitchen Can Someone Give Me Some Pointers On How To Get A Specific Rom Booting or Anything Else I Need To Know ?
Click to expand...
Click to collapse
There is no specific guide to porting, developing, etc. As Matt said, read. And lots of it. I personally started by playing with aosp and CM source, but you currently cannot due to kernel.org being down, but you can go to my signature and read my thread on compiling aosp gingerbread on Ubuntu. It will help you understand how some things work. Try taking apart a ROM and learn the layout of the files and read up on what different folders and files are. The rest is really just trial and error. I started with no experience at all. Hell I still don't know any coding languages, but that's why I'm in college.
dastin1015 said:
There is no specific guide to porting, developing, etc. As Matt said, read. And lots of it. I personally started by playing with aosp and CM source, but you currently cannot due to kernel.org being down, but you can go to my signature and read my thread on compiling aosp gingerbread on Ubuntu. It will help you understand how some things work. Try taking apart a ROM and learn the layout of the files and read up on what different folders and files are. The rest is really just trial and error. I started with no experience at all. Hell I still don't know any coding languages, but that's why I'm in college.
Click to expand...
Click to collapse
Thanks for the positive feedback!

Categories

Resources