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

Search This thread

paxChristos

Retired Forum Moderator
Aug 27, 2011
2,032
1,779
37
West Bend
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.

(The -b tag means branch) (and you need all 4 Keiran listed in the OP)
you're forgetting which branch (ics) you wanna sync :D


Also, if you plan on rebuilding at a later date, you're gonna have to cd to the folders that you cloned & do a
Code:
git pull
for any updates to those repositories.

(From the OP: In the terminal again:
Code:
cd ~/android/ics/vendor/
git clone https://github.com/koush/proprietary_vendor_semc.git -b ics semc

Then:

Code:
cd ~/android/ics/device/
mkdir semc
cd semc
git clone https://github.com/CyanogenMod/android_device_semc_msm7x30-common.git -b ics msm7x30-common
git clone https://github.com/CyanogenMod/android_device_semc_zeus.git -b ics zeus
git clone https://github.com/CyanogenMod/android_device_semc_zeus-common.git -b ics zeus-common
)
 
Last edited:
  • Like
Reactions: cj360

cj360

Senior Member
Oct 24, 2011
1,332
709
Well I'm dumb lol. But I merged the zeusc git into my directory and I still only see zeus-eng in the list. Should I be adding cm9 prebuilts for zeusc?
 

paxChristos

Retired Forum Moderator
Aug 27, 2011
2,032
1,779
37
West Bend
Well I'm dumb lol. But I merged the zeusc git into my directory and I still only see zeus-eng in the list. Should I be adding cm9 prebuilts for zeusc?

oooh.... s***
rm -rf that folder & both the cdma folders... somehow those left my computer & entered the internets... we'll pretend like they don't exist because they don't work :p (you'll have to change a couple of files in .repo/ folder to get rid of it re-syncing)
 
Last edited:

cj360

Senior Member
Oct 24, 2011
1,332
709
Do you mean post #81? Re- syncing the vendor trees just cause.

I do have a zeus-eng in my list but it gives a error saying its incomplete and asking if its the right one.
 
Last edited:

cj360

Senior Member
Oct 24, 2011
1,332
709
I still seem to only have zeus-eng in my list besides a couple other devices. Going to work on it more after dinner.
 

paxChristos

Retired Forum Moderator
Aug 27, 2011
2,032
1,779
37
West Bend
I still seem to only have zeus-eng in my list besides a couple other devices. Going to work on it more after dinner.

run either
Code:
. build/envsetup.sh
or
Code:
vendor/cm/vendorsetup.sh
(envsetup will get all options, vendor/cm/vendorsetup.sh will give you the userdebug options, also you might have to chmod +x vendorsetup.sh)

Pax
 

cj360

Senior Member
Oct 24, 2011
1,332
709
I get
Code:
andrew@andrew-Aspire-5517:~/Gummy$ . build/envsetup.sh
including device/amazon/otter/vendorsetup.sh
including device/semc/zeus/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/Gummy/vendorsetup.sh
including sdk/bash_completion/adb.bash

And cd-ing to the dir of vendorsetup.sh and running it, terminal says
Code:
bash: build/vendorsetup.sh: No such file or directory
.

Can't thank you enough for helping me out on this so much :)
 

paxChristos

Retired Forum Moderator
Aug 27, 2011
2,032
1,779
37
West Bend
I get
Code:
andrew@andrew-Aspire-5517:~/Gummy$ . build/envsetup.sh
including device/amazon/otter/vendorsetup.sh
including device/semc/zeus/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/Gummy/vendorsetup.sh
including sdk/bash_completion/adb.bash

And cd-ing to the dir of vendorsetup.sh and running it, terminal says
Code:
bash: build/vendorsetup.sh: No such file or directory
.

Can't thank you enough for helping me out on this so much :)

Gummy? Is that the Aokp code? Check (from your Android source dir)
Code:
 cd vendor/cm
It should be in there.
Sent from my phone, please excuse any Swypos.
 

cj360

Senior Member
Oct 24, 2011
1,332
709
It's not. I said I'm trying to merge the vendor trees for zeus of ics to make a Gummy rom. It has some simiarites to aokp but seems to have less developers from what I can tell. Wasn't sure if cm should be pulled or should it be in the vendor trees from the 1st posts and from koush?
 

dtronics

Senior Member
Sep 10, 2011
152
102
32
exeter
OnePlus 8 Pro
problems installing java

hi all i am having problems installing java jdk

everytime i run sudo apt-get install sun-java6-jdk

i get

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-jdk 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 'sun-java6-jdk' has no installation candidate


how can i install java jdk cause all i get is openjdk not the sun one

any help would be helpful


oh and one more thing after it has built where is the file i need to flash to the phone
 
Last edited:

paxChristos

Retired Forum Moderator
Aug 27, 2011
2,032
1,779
37
West Bend
hi all i am having problems installing java jdk

everytime i run sudo apt-get install sun-java6-jdk

i get

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-jdk 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 'sun-java6-jdk' has no installation candidate


how can i install java jdk cause all i get is openjdk not the sun one

any help would be helpful


oh and one more thing after it has built where is the file i need to flash to the phone
1st question: What version of ubuntu are you running?

2nd question: out/target/product/zeus/ is where your files will be located.


@Keiran -- Do you want to update this for inline kernel building as well?
And do you also want to add in that there's a working (i'm using it) device tree for zeusc? (https://github.com/paxchristos/android_device_semc_zeusc) as well as a my own msm7x30-common & zeus-common & vendor/semc tree :D (vendor/semc is setup for zeusc :D ) so if people want to build for the R800x for cm9, they can do it without messing around with the zeus tree :D

Pax
 
  • Like
Reactions: cj360

IE-coRe

Senior Member
Mar 17, 2011
1,319
179
Güstrow
I was about to compile but then I got major problems with jdk. I thought it was already installed but looks like it wasnt. I tried to get it installed i followed about 10 instructions but it never worked. I am using Ubunu 12.04 x64 i hope that is not a problem.

EDIT: Forget it i got it working it is compiling on 32core mtfckn BEAST!!:D
EDIT2: Just finished, took 1 hour. =)
 
Last edited:

festa20

Senior Member
Jan 6, 2011
1,828
837
34
Barnsley
mkdir -p ~/android/ics/
cd ~/android/ics/
repo init -u git://github.com/CyanogenMod/android.git -b ics

after this command it doesnt say anything this is what it says when i write it in
root@ubuntu:~# mkdir -p ~/android/ics/
root@ubuntu:~# cd ~/android/ics/
root@ubuntu:~/android/ics# repo init -u git://github.com/CyanogenMod/android.git -b ics
gpg: keyring `/root/.repoconfig/gnupg/secring.gpg' created
gpg: keyring `/root/.repoconfig/gnupg/pubring.gpg' created
gpg: /root/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 920F5C65: public key "Repo Maintainer <repo@android.kernel.org>" imported
gpg: Total number processed: 1
gpg: imported: 1

Get https://gerrit.googlesource.com/git-repo

so do i enter my email address straight after this because i tried and it just stays like this foreer
hope to hear reply
cheers
 
  • Like
Reactions: kormatoes

fareeed

Senior Member
Apr 16, 2012
442
173
Newcastle
Build error?

I've followed this Tutorial up until the actual building part but when I type the command make -j16 bacon I get this (Quite long, I apologise....)

Code:
Checking build tools versions...
system/core/toolbox/Android.mk:98: warning: overriding commands for target `out/target/product/zeus/system/bin/lsof'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/zeus/system/bin/lsof'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/zeus/system/etc/mkshrc'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/zeus/system/etc/mkshrc'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/zeus/system/lib/libril.so'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/zeus/system/lib/libril.so'
No private recovery resources for TARGET_DEVICE zeus
build/core/tasks/kernel.mk:26: ***************************************************************
build/core/tasks/kernel.mk:27: * Using prebuilt kernel binary instead of source              *
build/core/tasks/kernel.mk:28: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED                *
build/core/tasks/kernel.mk:29: * Please configure your device to download the kernel         *
build/core/tasks/kernel.mk:30: * source repository to kernel/semc/msm7x30
build/core/tasks/kernel.mk:31: * See http://wiki.cyanogenmod.com/wiki/Integrated_kernel_building
build/core/tasks/kernel.mk:32: * for more information                                        *
build/core/tasks/kernel.mk:33: ***************************************************************
Header: out/host/linux-x86/obj/include/libexpat/expat.h
Header: out/host/linux-x86/obj/include/libexpat/expat_external.h
Header: out/target/product/zeus/obj/include/libexpat/expat.h
Header: out/target/product/zeus/obj/include/libexpat/expat_external.h
Header: out/host/linux-x86/obj/include/libpng/pngconf.h
Header: out/host/linux-x86/obj/include/libpng/png.h
Header: out/host/linux-x86/obj/include/libpng/pngusr.h
Header: out/target/product/zeus/obj/include/libpng/png.h
Header: out/target/product/zeus/obj/include/libpng/pngconf.h
Header: out/target/product/zeus/obj/include/libpng/pngusr.h
Header: out/target/product/zeus/obj/include/libsonivox/eas.h
Header: out/target/product/zeus/obj/include/libsonivox/eas_types.h
Header: out/target/product/zeus/obj/include/libsonivox/eas_reverb.h
Header: out/target/product/zeus/obj/include/libsonivox/jet.h
Header: out/target/product/zeus/obj/include/libsonivox/ARM_synth_constants_gnu.inc
Header: out/target/product/zeus/obj/include/libwpa_client/wpa_ctrl.h
Header: out/target/product/zeus/obj/include/librpc/rpc/clnt.h
Header: out/target/product/zeus/obj/include/librpc/rpc/pmap_clnt.h
Header: out/target/product/zeus/obj/include/librpc/rpc/rpc.h
Header: out/target/product/zeus/obj/include/librpc/rpc/rpc_router_ioctl.h
Header: out/target/product/zeus/obj/include/librpc/rpc/svc.h
Header: out/target/product/zeus/obj/include/librpc/rpc/types.h
Header: out/target/product/zeus/obj/include/librpc/rpc/xdr.h
Header: out/target/product/zeus/obj/include/libloc_api-rpc/inc/loc_api_cb.h
Header: out/target/product/zeus/obj/include/libloc_api-rpc/inc/loc_api_common.h
Header: out/target/product/zeus/obj/include/libloc_api-rpc/inc/loc_api.h
Header: out/target/product/zeus/obj/include/libloc_api-rpc/inc/loc_api_fixup.h
Header: out/target/product/zeus/obj/include/libloc_api-rpc/inc/loc_apicb_appinit.h
Header: out/target/product/zeus/obj/include/libloc_api-rpc/inc/debug.h
Header: out/target/product/zeus/obj/include/libloc_api-rpc/inc/loc_api_rpc_glue.h
Header: out/target/product/zeus/obj/include/libloc_api-rpc/inc/loc_api_sync_call.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_Audio.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_Component.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_ContentPipe.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_Core.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_Image.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_Index.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_IVCommon.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_Other.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_QCOMExtns.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_Types.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_Video.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/qc_omx_common.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/qc_omx_component.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/qc_omx_msg.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/QOMX_AudioExtensions.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/QOMX_AudioIndexExtensions.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_CoreExt.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/QOMX_CoreExtensions.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/QOMX_FileFormatExtensions.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/QOMX_IVCommonExtensions.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/QOMX_SourceExtensions.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/QOMX_VideoExtensions.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/OMX_IndexExt.h
Header: out/target/product/zeus/obj/include/mm-core/omxcore/QOMX_StreamingExtensions.h
Notice file: bootable/recovery/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//recovery/root/sbin/nandroid-md5.sh.txt
Notice file: bootable/recovery/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//recovery/root/sbin/killrecovery.sh.txt
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -Ibionic/libc/private -o out/target/product/zeus/obj/lib/crtbegin_static.o -c bionic/libc/arch-arm/bionic/crtbegin_static.S
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -Ibionic/libc/private -o out/target/product/zeus/obj/lib/crtbegin_so.o -c bionic/libc/arch-arm/bionic/crtbegin_so.S
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -Ibionic/libc/private -o out/target/product/zeus/obj/lib/crtend_so.o -c bionic/libc/arch-arm/bionic/crtend_so.S
Notice file: bionic/libc/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libc.a.txt
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -Ibionic/libc/private -o out/target/product/zeus/obj/lib/crtend_android.o -c bionic/libc/arch-arm/bionic/crtend.S
Notice file: bionic/libc/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libc.so.txt
Notice file: bionic/libc/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libc_common.a.txt
Notice file: bionic/libdl/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libdl.so.txt
Notice file: bionic/libstdc++/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libstdc++.so.txt
Notice file: bionic/libm/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libm.so.txt
Lex: libedify <= bootable/recovery/edify/lexer.l
Lex: libedify <= bootable/recovery/edify/lexer.l
Notice file: system/extras/ext4_utils/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libext4_utils.a.txt
Notice file: bootable/recovery/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/bin/recovery.txt
Notice file: system/core/libmincrypt/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libmincrypt.a.txt
Notice file: system/core/libpixelflinger/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libpixelflinger_static.a.txt
Notice file: external/libpng/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libpng.a.txt
Notice file: system/core/liblog/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/liblog.a.txt
Notice file: system/core/libcutils/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libcutils.a.txt
Notice file: bionic/libstdc++/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//system/lib/libstdc++.a.txt
Directory: out/target/product/zeus/root/sbin
Directory: out/target/product/zeus/root/dev
Directory: out/target/product/zeus/root/proc
Directory: out/target/product/zeus/root/sys
Directory: out/target/product/zeus/root/system
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
Notice file: system/core/init/NOTICE -- out/target/product/zeus/obj/NOTICE_FILES/src//root/init.txt
Directory: out/target/product/zeus/root/data
make: *** [out/target/product/zeus/obj/lib/crtend_so.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/zeus/obj/lib/crtend_android.o] Error 1
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [out/target/product/zeus/obj/lib/crtbegin_static.o] Error 1
make: *** [out/target/product/zeus/obj/lib/crtbegin_so.o] Error 1
fareed@fareed-X320-X420-X520:~/android/ics$ 
fareed@fareed-X320-X420-X520:~/android/ics$

Edit: Installed latest sources for Ubuntu 12.0.4 and Boom it worked and it began to build :D Well at least I think it did...?
 
Last edited:

festa20

Senior Member
Jan 6, 2011
1,828
837
34
Barnsley
-bash: /root/bin/repo: Permission denied


mkdir -p ~/android/ics/
root@ubuntu:~# cd ~/android/ics/
root@ubuntu:~/android/ics# repo init -u git://github.com/CyanogenMod/android.git -b ics
-bash: /root/bin/repo: Permission denied

what am i getting wrong i got further than this last time but not appearing to be working at all any help would be great thanks
 

paxChristos

Retired Forum Moderator
Aug 27, 2011
2,032
1,779
37
West Bend
-bash: /root/bin/repo: Permission denied


mkdir -p ~/android/ics/
root@ubuntu:~# cd ~/android/ics/
root@ubuntu:~/android/ics# repo init -u git://github.com/CyanogenMod/android.git -b ics
-bash: /root/bin/repo: Permission denied

what am i getting wrong i got further than this last time but not appearing to be working at all any help would be great thanks

You should copy repo to ~/bin/ not /root/bin/

Edit 1: Check ownership
Otherwise, do the following
cd ~/bin/
ls -l
check the ownership of the file, it might be root, which would keep a user profile from using it
if it is do the following
chown <your username> <optional group> repo

Edit 2: Check permissions
chmod a+x repo
might also fix it.
Pax
 
Last edited:
  • Like
Reactions: kormatoes

fareeed

Senior Member
Apr 16, 2012
442
173
Newcastle
Almost forgot about this. I began to build on my laptop then after about 4-5 hours it failed due to a java error I think. When I'm on my laptop I'll post the exact message. I just wanted to lnow how I might fix this and what files shall I delete to rebuild? - Thanks :)
 

festa20

Senior Member
Jan 6, 2011
1,828
837
34
Barnsley
You should copy repo to ~/bin/ not /root/bin/

Edit 1: Check ownership
Otherwise, do the following
cd ~/bin/
ls -l
check the ownership of the file, it might be root, which would keep a user profile from using it
if it is do the following
chown <your username> <optional group> repo

Edit 2: Check permissions
chmod a+x repo
might also fix it.
Pax

Thanks pax will try n update this post

Sent from my LT15i using xda premium
 

unrandomsam

Senior Member
Apr 20, 2011
129
21
The CM9 part is fairly obvious. (Or at least similar to any other device).

What isn't obvious is how to get the FXP stuff from https://github.com/freexperia into the build

(Also how to relate the changelog to any of the stuff in there).

I should be able to provide a diff to the standard CM9 manifest to allow building straight away.

(Better that way as the CM9 manifest is more likely to change than the diff).
 

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    Just before we start, Google says:
    Note: The source download is approximately 6GB in size. You will need 25GB free to complete a single build, and up to 90GB (or more) for a full set of builds.

    Google also test compiling on Ubuntu 10.04 LTS, but I used 10.10, 32 bit. These instructions are for Ubuntu version 10.04-11.10

    To install JDK6 (needed):
    Code:
    sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
    sudo apt-get update
    sudo apt-get install sun-java6-jdk

    FOR 64bit: You will need the required packages, so open up your terminal and enter:
    Code:
    sudo apt-get install git-core gnupg flex bison gperf build-essential \
      zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs \
      x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev \
      libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown \
      libxml2-utils xsltproc

    On Ubuntu 10.10:
    Code:
    sudo ln -s /usr/lib32/mesa/libGL.so.1 /usr/lib32/mesa/libGL.so

    On Ubuntu 11.10:
    Code:
    sudo apt-get install libx11-dev:i386

    FOR 32bit (what I used): You will need the required packages, so open up your terminal and enter:
    Code:
    sudo apt-get install git-core gnupg flex bison gperf build-essential \
      zip curl zlib1g-dev libc6-dev libncurses5-dev x11proto-core-dev \
      libx11-dev libreadline6-dev libgl1-mesa-dev tofrodos python-markdown \
      libxml2-utils xsltproc

    Now, onto downloading the source :)

    First of all, you need to get the google repo tool, in a terminal:
    Code:
    mkdir ~/bin
    PATH=~/bin:$PATH
    curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
    chmod a+x ~/bin/repo

    Then reboot the PC :)

    Now, we will actually initialize the repository:
    Code:
    mkdir -p ~/android/ics/
    cd ~/android/ics/
    repo init -u git://github.com/CyanogenMod/android.git -b ics

    Then enter your name and email address

    Then:
    Code:
    repo sync -j8
    if you have bad internet, use a smaller number than 8, eg. 4 or 2

    Now, wait for the repo to sync (all 6GB of it :))

    Then after that is done, you need to setup vendor and device trees for our device :)

    In the terminal again:
    Code:
    cd ~/android/ics/vendor/
    git clone https://github.com/koush/proprietary_vendor_semc.git -b ics semc

    Then:

    Code:
    cd ~/android/ics/device/
    mkdir semc
    cd semc
    git clone https://github.com/CyanogenMod/android_device_semc_msm7x30-common.git -b ics msm7x30-common
    git clone https://github.com/CyanogenMod/android_device_semc_zeus.git -b ics zeus
    git clone https://github.com/CyanogenMod/android_device_semc_zeus-common.git -b ics zeus-common

    to sync changes since last sync:
    Code:
    cd ~/android/ics/
    repo sync

    get CM props:
    Code:
    cd ~/android/ics/vendor/cm/
    ./get-prebuilts

    then to build :D :

    Setup environment:
    Code:
    cd ~/android/ics/
    . build/envsetup.sh

    then to get device list:
    Code:
    lunch

    Now, select the number that is cm_zeus-userdebug

    Now to finally build:

    Code:
    make -j4 bacon
    again, you can use a higher value than 4 if you have more cores and more ram.

    My specs:
    Intel Core 2 Duo @ 1.8GHz
    4GB RAM
    VirginMedia 50Mbps broadband

    My time:
    Time to sync: 2hours+
    Time to compile: 5+ hours, using -j16 which made my laptop VERY laggy :D

    Enjoy, run into any issues, post here please :)
    6
    Troubleshooting:
    Getting this: http://pastebin.com/Cy55wKZK ?
    FIX:
    In a file manager open up the directory: android/ics/frameworks/base/telephony/tests/ and delete the telephonytests folder :)
    this is harmless :)
    then recompile again :)
    2
    Reserved again

    Sent from my Xperia Play using Tapatalk
    2
    Hi all,

    i thought i would post here an updated tut for compiling jellybean 4.1.2 (cm10):

    First of all, the needed packages for ubuntu 12.04 or 12.10 (64 bit required!):
    Code:
    sudo apt-get install git-core gnupg flex bison gperf build-essential \
      zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
      libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
      libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos \
      python-markdown libxml2-utils xsltproc zlib1g-dev:i386
    
    sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

    Then you need to get the google repo tool, in a terminal:

    Code:
    mkdir ~/bin
    PATH=~/bin:$PATH
    curl [url]https://dl-ssl.google.com/dl/googlesource/git-repo/repo[/url] > ~/bin/repo
    chmod a+x ~/bin/repo

    Reboot the PC

    Now, we will actually initialize the repository:


    Code:
    mkdir -p ~/android/jellybean/
    cd ~/android/jellybean/
    repo init -u git://github.com/CyanogenMod/android.git -b jellybean

    Then enter your name and email address

    Then:

    Code:
    repo sync -j8

    if you have bad internet, use a smaller number than 8, eg. 4 or 2

    Now, wait for the repo to sync (all 6GB of it )

    Then after that is done, you need to setup vendor and device trees for our device

    In the terminal again:


    Code:
    cd ~/android/jellybean/vendor/
    git clone https://github.com/TheMuppets/proprietary_vendor_semc.git -b jellybean semc


    Then:


    Code:
    cd ~/android/jellybean/device/
    mkdir semc
    cd semc
    git clone https://github.com/CyanogenMod/android_device_semc_msm7x30-common.git -b jellybean msm7x30-common
    git clone https://github.com/CyanogenMod/android_device_semc_zeus.git -b jellybean zeus
    git clone https://github.com/CyanogenMod/android_device_semc_zeus-common.git -b jellybean zeus-common

    only do this if /android/jellybean/kernel/semc/msm7x30 doesn't exists:

    Code:
    cd ~/android/jellybean/
    mkdir kernel
    cd kernel
    mkdir semc
    cd semc
    git clone git://github.com/CyanogenMod/semc-kernel-msm7x30.git -b jellybean msm7x30
    to sync changes since last sync:

    Code:
    cd ~/android/jellybean/
    repo sync

    get CM props:
    Code:
    cd ~/android/jellybean/vendor/cm/
    ./get-prebuilts

    Setup environment:
    Code:
    cd ~/android/jellybean/
    . build/envsetup.sh

    then to get device list:

    Code:
    lunch

    Now, select the number that is cm_zeus-eng

    Now to finally build:
    Code:
    make -j4 otapackage
    (if you have 4gb or more ram, i would use a higer number, like -j10)
    2
    Sent you a pm with the files,
    Thanks for the make files (off to sync cm9 :p)

    Sent from my R800x using Tapatalk

    Cheers, will get CM9 zeusc vendor tree set up then too :)






    Hi keiran,

    Have you managed to compile fxp113 for me yet?

    Sorry to chase just need to know what I have to work with :p

    Sent from my R800i using XDA
    Forgot about that, will get you a download link tomorrow night if I can?

    Newest CM9 ICS change log:
    Data works brilliantly, although I never get H, just 3G
    New adreno libs are there, faster rendering and all.
    Some launcher shizz I didn't read
    New CM9 boot animation when I add it into the make files :D
    Reboot option works, unless used by ROM Manager

    I think that hw decoder will be fixed soon, because I seen something about it on CM code review, about qualcomm omx which fixes video. Not sure it is working though, but there are tons of devices all with the same problem, it will be fixed :)

    Ty,

    Keiran



    Sent from my Xperia Play using Tapatalk