Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,807,866 Members 51,177 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] How To Build CM9 From Source Code Ubuntu 11.10 64-Bit

Tip us?
 
gooch1025
Old
#31  
gooch1025's Avatar
Senior Member - OP
Thanks Meter 265
Posts: 305
Join Date: Jan 2012

 
DONATE TO ME
Quote:
Originally Posted by wtogami View Post
Technically you only need to delete out/target to 100% ensure safe builds. Out/host almost never changes. This can shave a few minutes from the build.

Sent from my SPH-D700 using XDA
Cool, thanks wtogami.

Sent from my Purple Haze Epic using xda premium
 
shane6374
Old
#32  
shane6374's Avatar
Senior Member
Thanks Meter 1,270
Posts: 2,792
Join Date: Jun 2009
Location: Minneapolis

 
DONATE TO ME
In case no one has seen it, there is a new revision to android sdk up to r17.

Current Device - Nexus 5
Retired Devices - Nexus 4 - Galaxy S3 - Nexus S 4G - Epic 4G - Touch Pro 2 - Vogue
Please click the "Thanks" button if I helped or you like my work.
Twitter @shane6374
 
gooch1025
Old
#33  
gooch1025's Avatar
Senior Member - OP
Thanks Meter 265
Posts: 305
Join Date: Jan 2012

 
DONATE TO ME
Quote:
Originally Posted by shane6374 View Post
In case no one has seen it, there is a new revision to android sdk up to r17.
Thanks shane, I'll update the guide later. Now I gotta update my tools lol.

Sent from my Purple Haze Epic using xda premium
 
judogti
Old
#34  
Member
Thanks Meter 4
Posts: 39
Join Date: Mar 2008
Quote:
Originally Posted by joe_d08_17 View Post
Cant seem to get past the brunch epicmtd part guys. Where should I execute this command?


Its saying brunch command not found
Im getting this same issue, any luck? sudo apt-get install brunch?
 
deciple
Old
(Last edited by deciple; 25th March 2012 at 02:54 AM.)
#35  
deciple's Avatar
Senior Member
Thanks Meter 43
Posts: 318
Join Date: Sep 2010
Location: Salem

 
DONATE TO ME
You have to . build/envsetup.sh first don't forget the dot then space "."
Also....you don't install it; once you do the build command it makes brunch...so then you just type brunch epicmtd.... Then it'll create the the epicmtd folder at which point it'll start to build....that's when you close the terminal to stop the build (because there's nothing in there yet) then reopen the terminal and connect your phone to do the extract command etc.....
Broadcast to the public; to promote self awareness.
Would you like to give Drop Box a try? It's free.......




 
deciple
Old
#36  
deciple's Avatar
Senior Member
Thanks Meter 43
Posts: 318
Join Date: Sep 2010
Location: Salem

 
DONATE TO ME
Quote:
Originally Posted by joe_d08_17 View Post
I dont have a framework folder in the system folder. Am I doing something wrong?
Quote:
Originally Posted by joe_d08_17 View Post
Sweet thanks,. I found the apps but I couldnt seem to find the framework-res. I want to modify that apk. There was no folder in there for framework. Any suggestions?
I'm sorry dude, I told you wrong........here's where you find it

Cm9/frameworks/base/core/res/res/

then you can make edits to values or drawables or whatever.......
Would you like to give Drop Box a try? It's free.......




 
monstaX
Old
#37  
Senior Member
Thanks Meter 143
Posts: 447
Join Date: Dec 2011
Location: Texas
Sweet! No prob. Broke my head for a while there lol. Thanks!
Sent from my SPH-D700 using XDA App
Probably Sent from my decked out Epic 4G with CM9 Beta1, fully SUPERCHARGED running at 1.4 GHz with Shadow Kernel. It loses 1 Percent of battery every 5 minutes WHILE it is PLUGGED IN. So I am usually on Airplane Mode Lol. If I forget to hit thanks.. SORRY!!
 
jdelano
Old
#38  
jdelano's Avatar
Senior Member
Thanks Meter 712
Posts: 2,022
Join Date: Sep 2010
Location: Buford, GA
Question little help please :)

Hello .. I'm taking a dip in the pool but have run into a snag:

I am on Windows 7 ultimate 64 sp1 24g ram
virtualbox 4.1.10
Ubuntu 11.04

I am near the start of the process; all has gone fine until I try to install the packages by running: (copied and pasted from OP)

apt-get install python git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev libncurses5-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline-gplv2-dev lib32z-dev libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential pngcrush schedtool gcc-multilib

I press return and receive:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package lib32ncurses5-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package lib32readline-gplv2-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'lib32ncurses5-dev' has no installation candidate
E: Package 'ia32-libs' has no installation candidate
E: Package 'lib32readline-gplv2-dev' has no installation candidate
E: Unable to locate package lib32z-dev

I imagine this is not the desired output as I wasn't given the prompt for Y/n.

Any help would be appreciated.

Thanks
Sprint Samsung Galaxy Note 3 32GB
ROM: PAC-MAN 4.4.4 RC1 20140916 [Change Log] (Installed: 09/17/14 10:30)
GAPPS: OFFICIAL Up-to-Date PA-GOOGLE APPS (All ROM's) [2014-08-18]
Bootloader: NC5
Recovery: Philz 6.48.4 Recovery
 
gooch1025
Old
#39  
gooch1025's Avatar
Senior Member - OP
Thanks Meter 265
Posts: 305
Join Date: Jan 2012

 
DONATE TO ME
Quote:
Originally Posted by jdelano View Post
Hello .. I'm taking a dip in the pool but have run into a snag:

I am on Windows 7 ultimate 64 sp1 24g ram
virtualbox 4.1.10
Ubuntu 11.04

I am near the start of the process; all has gone fine until I try to install the packages by running: (copied and pasted from OP)

apt-get install python git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev libncurses5-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline-gplv2-dev lib32z-dev libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential pngcrush schedtool gcc-multilib

I press return and receive:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package lib32ncurses5-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package lib32readline-gplv2-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'lib32ncurses5-dev' has no installation candidate
E: Package 'ia32-libs' has no installation candidate
E: Package 'lib32readline-gplv2-dev' has no installation candidate
E: Unable to locate package lib32z-dev

I imagine this is not the desired output as I wasn't given the prompt for Y/n.

Any help would be appreciated.

Thanks
In the guide I explain that I am using Ubuntu 11.10 64-bit. If you're using a different distro such as 11.04, some of the packages may vary. Its best to follow my guide exactly since you're basically copying and pasting everything into the terminal.

Sent from my Purple Haze Epic using xda premium
 
bodi524
Old
#40  
Senior Member
Thanks Meter 366
Posts: 354
Join Date: Apr 2010
Quote:
Originally Posted by jdelano View Post
Hello .. I'm taking a dip in the pool but have run into a snag:

I am on Windows 7 ultimate 64 sp1 24g ram
virtualbox 4.1.10
Ubuntu 11.04

I am near the start of the process; all has gone fine until I try to install the packages by running: (copied and pasted from OP)

apt-get install python git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev libncurses5-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline-gplv2-dev lib32z-dev libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential pngcrush schedtool gcc-multilib

I press return and receive:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package lib32ncurses5-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package lib32readline-gplv2-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'lib32ncurses5-dev' has no installation candidate
E: Package 'ia32-libs' has no installation candidate
E: Package 'lib32readline-gplv2-dev' has no installation candidate
E: Unable to locate package lib32z-dev

I imagine this is not the desired output as I wasn't given the prompt for Y/n.

Any help would be appreciated.

Thanks
You Can try this set of packages. This is what I used but my computer has little ram and the load is still trying to build. I am not sure if you will get any errors.

git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush schedtool

Sent from my SPH-D700 using Tapatalk

The Following User Says Thank You to bodi524 For This Useful Post: [ Click to Expand ]
Tags
cm9, cm9 source, epic, epic 4g, ubuntu 11.10
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes