How to Compile an android based ROM
This is a discussion on How to Compile an android based ROM within the Droid Concepts forums, part of the Custom Roms category; An alternative guide to the one put together by CVPCS, and sniffle can be found at the link below...
https://sites.google.com/site/teamdr...mental/compile
The information found in this ...
-
How to Compile an android based ROM
An alternative guide to the one put together by CVPCS, and sniffle can be found at the link below...
https://sites.google.com/site/teamdr...mental/compile
The information found in this guide is from http://source.android.com/, and http://howto.ccroms.net/
It has been edited and revised in parts and left alone in others, and parts have been added and removed where Droid Concepts has seen fit. We also tried to give more detailed explanations to all the steps, to help the average person better understand what they are doing with all these commands.
CVPCS and Sniffle wrote a great guide, and this is not meant to replace it, or say theirs is wrong. This is just another alternative to the one that they have produced, and Droid Concepts thanks them for their dedication to the android community.
Last edited by woodyman; 09-19-2010 at 06:33 PM.
Click Here for the Droid Concepts Web Site
Check out The Droid Concepts Roms By clicking the image below.!

If you would enjoy what we do please support us with a small donation if possible, we need some new devices.. 
-
-
Afaik, the origional guide was written by sniffle13, and not cvpcs. Otherwise I plan on reading through to see what you have come up with 
Sent from my Droid
-----------------------------------
Rom: CyanogenMod 7 Winner00's Nightly #85
Recovery: ClockworkMod 3.1.0.2
Kernel: Prime's deprimed_test
Theme: Stock
Launcher: ADW EX 1.2.2
Launcher Theme: Gingerbread
Twitter: http://twitter.com/ihaztehwingz
-----------------------------------
-
i cant even begin to thank you enough for putting this information together.
thank you
thank you
thank you
thank you
thank you
thank you
thank you
thank you
thank you
Fascinate
Rooted with Lagfix
OS = SAMSUNG
DROID
OS = Constantly Changing.
Kernel = P3DROID 1 ghz
STATUS = Stolen

-
Woodyman, you're turning into a virtual encyclopedia of Droid knowledge! 
-Mike
Actually, I'm not a developer - but I did stay at a Holiday Inn Express once.
-

Originally Posted by
UltraDroid
Woodyman, you're turning into a virtual encyclopedia of Droid knowledge!
-Mike
Thank you my friend..
Click Here for the Droid Concepts Web Site
Check out The Droid Concepts Roms By clicking the image below.!

If you would enjoy what we do please support us with a small donation if possible, we need some new devices.. 
-
wow very impressive. looks like i got something to read tomorrow
-
-
ive followed this guide to a T however im stuck at this point.
cd ~
cd android/system
. build/envsetup.sh
lunch
choose option 6 for the Motorola Droid
im only getting 3 options.
You're building on Linux
Lunch menu... pick a combo:
1. generic-eng
2. simulator
3. generic_sholes-userdebug
ive looked around and cant really figure out where i went wrong. i went back and redid some steps.. but i still cant get an option 6.
any help would be greatly appreciated as ive already learned so much from this great guide i would love to finish it 
Thanks in Advanced
Fascinate
Rooted with Lagfix
OS = SAMSUNG
DROID
OS = Constantly Changing.
Kernel = P3DROID 1 ghz
STATUS = Stolen

-
Option 3 for you is generic_sholes-userdebug. That is normally option 6.

Originally Posted by
Discover
ive followed this guide to a T however im stuck at this point.
cd ~
cd android/system
. build/envsetup.sh
lunch
choose option 6 for the Motorola Droid
im only getting 3 options.
You're building on Linux
Lunch menu... pick a combo:
1. generic-eng
2. simulator
3. generic_sholes-userdebug
ive looked around and cant really figure out where i went wrong. i went back and redid some steps.. but i still cant get an option 6.
any help would be greatly appreciated as ive already learned so much from this great guide i would love to finish it
Thanks in Advanced

Tom Crews
SnkBitten -
http://android.snkbitten.com/ (for OG Droid)
Current : Droid 4 + Root
Droid 3 + Root
Motorola Xoom + Root + CWM + ICS
Logitech Revue + 3.1 OS update

-
I found out what the issue was.. ive followed this guide exactly a total of 6 times.
to be fair ive only installed linux twice, the first time was to follow the original start [CVPCS Android Wiki] however it was to "guru" for me if you will. initially i gave up, However when i saw this guide and it was broken down and explained a little more i got instantly hooked again.
i have an extensive back ground in windows environment and ive had to dissect and learn and research items on linux to get awnsers from gaps or things i need further explanation of in this learning experience thats called linux.
Im Running Ubuntu 10.04 LTS- the Lucid Lynx
First problem i ran into was this line.
tar -zxvf ~/Downloads/android-sdk_r07-linux_x86.tgz.tar i could never get this to un-tar for me. but i found that removing the ".tar" the file unpacked just fine.
"This guide will setup your android related build files (excluding Eclipse) into the android subdirectory which will be located in the home folder. This is designed to keep the build environment clean and centralized, and very easy to navigate."
The problem i posted before about the "lunch option 6 command" was because whenever i ran the mkdir command it would be put into my home folder. eventually i thought well... if im running a command from the ~/android/system folder maybe all these other things in the home folder need to be moved to the android system folder. after i did this, i was able to get the 1-6 options. and the android source would load into Eclipse with no errors. and i was able to make the files. then add the files to the Make otapackage.
im not sure why i was having the home folder issue.. for a while i thought it had to do with the
export PATH=${PATH}:~/android/sdk/tools
and that i wasnt adding it correctly but after 2 hours of research and trial and error i found no matter what i did i still had to move the files from home to ~/android/system.
without everything in android/system i would get a TON of make errors and warnings. also Eclipse wouldnt load the source correctly and would report errors.
Also when i do the make command, it tells me that i should have added superuser to core.mk instead.
after all this i was able to run a successful make.
then run a make otapackage
there were no errors and it completed with "done"
the zip file was a 57meg file that i renamed to update.zip and ran recovery but it loops on the android screen.
I hate to be the guy that keeps asking for help. but i want to learn this and im doing everything i can to not be here asking all the time.
Any help would be greatly appreciated.
Fascinate
Rooted with Lagfix
OS = SAMSUNG
DROID
OS = Constantly Changing.
Kernel = P3DROID 1 ghz
STATUS = Stolen

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Similar Threads
-
By ptsmith24 in forum New Member Introductions & Site Assistance
Replies: 2
Last Post: 11-07-2010, 07:15 PM
-
By droidmid in forum Tech Issues, Bug Reports & Suggestions
Replies: 3
Last Post: 08-09-2010, 03:31 AM
-
By Nibbz in forum Droid General Discussions
Replies: 5
Last Post: 08-04-2010, 12:49 PM
-
By naccout in forum Droid Applications
Replies: 4
Last Post: 04-01-2010, 08:38 PM
-
By crspang in forum Droid General Discussions
Replies: 3
Last Post: 01-06-2010, 01:04 PM
Search tags for this page
android compile
,
android compile rom
,
android lunch menu
,
build android rom
,
compile android
,
compile android rom
,
compiling android rom
,
how to build an android rom
,
how to build android rom
,
how to build android roms
,
how to compile a rom
,
how to compile an android rom
,
how to compile android
,
how to compile android from source
,
how to compile android rom
Click on a term to search our site for related topics.