Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,615 Members 46,382 Now Online
XDA Developers Android and Mobile Development Forum

[TUT] Compile CM9 from source for the Xperia Play [UBUNTU]

Tip us?
 
paxChristos
Old
(Last edited by paxChristos; 23rd April 2012 at 12:39 AM.)
#71  
paxChristos's Avatar
Retired Forum Moderator
Thanks Meter 1463
Posts: 2,036
Join Date: Aug 2011
Location: Milwaukee

 
DONATE TO ME
Quote:
Originally Posted by cj360 View Post
Okay, but now droping the file in terminal does nothing while "build/envsetup.sh"
returns a "bash: build/envsetup.sh: No such file or directory".
you forgot "."
it should look like
Code:
Select Code
<username>@<computername>: ~/<path_to_cm9_repo>$. build/envsetup.sh
(if you haven't changed your bash setup yet)
Tips:
*Logcat or it never happened. *Search before posting *Go to User CP -> Edit Options -> switch "Number of Posts to Show Per Page" to 50. *Reporting Posts

Looks like I won't be doing anything android for a long time

Thanks for the lul'z

Pax
 
cj360
Old
#72  
cj360's Avatar
Senior Member
Thanks Meter 664
Posts: 1,290
Join Date: Oct 2011

 
DONATE TO ME
Tired that first, same error. Is there something related to bash that I'm missing?
 
cj360
Old
(Last edited by cj360; 24th April 2012 at 10:34 AM.)
#73  
cj360's Avatar
Senior Member
Thanks Meter 664
Posts: 1,290
Join Date: Oct 2011

 
DONATE TO ME
Nvm
 
mekayzer
Old
#74  
Senior Member
Thanks Meter 33
Posts: 274
Join Date: Oct 2010
Hi,

Just a question, what are the steps to recompile another build that include the latest changes, did i simply sync the repo, or do i have to do another thing
 
cj360
Old
#75  
cj360's Avatar
Senior Member
Thanks Meter 664
Posts: 1,290
Join Date: Oct 2011

 
DONATE TO ME
yup just sync repo again
 
mekayzer
Old
#76  
Senior Member
Thanks Meter 33
Posts: 274
Join Date: Oct 2010
Hi
Another question, what about the kernel. Is the last kernel compiled with the last build after sync the repo, or is there another way to build the kernel separetely.
 
paxChristos
Old
#77  
paxChristos's Avatar
Retired Forum Moderator
Thanks Meter 1463
Posts: 2,036
Join Date: Aug 2011
Location: Milwaukee

 
DONATE TO ME
Quote:
Originally Posted by mekayzer View Post
Hi
Another question, what about the kernel. Is the last kernel compiled with the last build after sync the repo, or is there another way to build the kernel separetely.
It uses a kernel image provided by freexperia. If you want to build your own kernel, Here's something I put together: http://db.tt/Zz1QxaS5

Sent from my phone, please excuse any Swypos.
Tips:
*Logcat or it never happened. *Search before posting *Go to User CP -> Edit Options -> switch "Number of Posts to Show Per Page" to 50. *Reporting Posts

Looks like I won't be doing anything android for a long time

Thanks for the lul'z

Pax
 
cj360
Old
#78  
cj360's Avatar
Senior Member
Thanks Meter 664
Posts: 1,290
Join Date: Oct 2011

 
DONATE TO ME
Okay, fresh ubuntu install, repo synced no issues. Somthing was missing from my java installation last time. However my list for lunch doesn't have a cm_zeus-userdebug. I'm trying to compile Gummy and use the vendor from ics. If it's prebuilts I'm missing could someone just send me the ones for zeus? Unless its some huge file.
 
paxChristos
Old
#79  
paxChristos's Avatar
Retired Forum Moderator
Thanks Meter 1463
Posts: 2,036
Join Date: Aug 2011
Location: Milwaukee

 
DONATE TO ME
Quote:
Originally Posted by cj360 View Post
Okay, fresh ubuntu install, repo synced no issues. Somthing was missing from my java installation last time. However my list for lunch doesn't have a cm_zeus-userdebug. I'm trying to compile Gummy and use the vendor from ics. If it's prebuilts I'm missing could someone just send me the ones for zeus? Unless its some huge file.
Did you "git" the device tree from koush? (hint use git .)

Sent from my phone, please excuse any Swypos.
Tips:
*Logcat or it never happened. *Search before posting *Go to User CP -> Edit Options -> switch "Number of Posts to Show Per Page" to 50. *Reporting Posts

Looks like I won't be doing anything android for a long time

Thanks for the lul'z

Pax
 
cj360
Old
#80  
cj360's Avatar
Senior Member
Thanks Meter 664
Posts: 1,290
Join Date: Oct 2011

 
DONATE TO ME
do you mean this "git" I'm not sure what command to use as
git clone https://github.com/koush/proprietary_vendor_semc.git -b
is missing the argument after -b or I am.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes