Results 1 to 5 of 5

Thread: [HowTo] Compiling SpicagenMod + X

777
  1. [translate]    #1
    Senior Member
    Join Date
    May 2010
    Location
    /dev/null
    Posts
    1,704

    Default [HowTo] Compiling SpicagenMod + X

    This thread explain how to compile SpicagenMod + X with a Linux-System!

    Info:
    - this HowTo is tested with Lubuntu (Debian based OSs)
    - you can install the Linux-System on your physical HDD or you can use e.g. VirtualBox for this step


    First step: Install Linux & Prepare the Build Environment

    After the installation on your HDD or on a virtual-Disk (> 10GB) you need to enable a new repository to install sun-java...

    Code:
    sudo gedit /etc/apt/sources.list
    Code:
    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository.
    ## This software is not part of Ubuntu, but is offered by Canonical and the
    ## respective vendors as a service to Ubuntu users.
    ############ Activated to get sun-java6-jdk ###################
    deb http://archive.canonical.com/ubuntu natty partner
    deb-src http://archive.canonical.com/ubuntu natty partner
    ... update the repositories:

    Code:
    sudo apt-get update
    And install new software via "apt-get" or "aptitude" ...

    Code:
    sudo apt-get install 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
    To get started with Android, you'll need to get familiar with > repo & git & github.com

    Now we need the repo-software: (try the commands without root-privileges)

    Code:
    mkdir -p ~/bin/
    curl http://android.git.kernel.org/repo > ~/bin/repo
    chmod +x ~/bin/repo
    2nd step: building Android from sources
    Then we need the android-sources: You will find many different versions of the Android software on github.com e.g. https://github.com/CyanogenMod/android_frameworks_base -> you can see (upper right corner) that there are more than > 250 forks from this project!

    To initialize your local repository, use a command like this:
    Code:
    mkdir -p ~/android/SGM/
    cd ~/android/SGM/
    repo init -u git://github.com/voku/sm_android.git -b froyo
    PS: you can edit the sources in this file: .repo/manifest/default.xml

    Download (sync) the sources:
    Code:
    repo sync -j15
    Prepare for build:
    Code:
    . build/envsetup.sh
    lunch spica-eng
    vendor/spica/get-google-files -v mdpi
    Optionally for gapps,3D libs from Intercept, live wallpapers:
    Code:
    export SPICA_WITH_GOOGLE=1
    export SPICA_WITH_3D=1
    export SPICA_WITH_LIVEWALLPAPERS=1
    export SPICA_WITH_DEV=0
    Build:
    Code:
    mka otapackage -j8
    ...

    bug-fixes / updates can be found here:
    - https://android-review.googlesource.com/
    - http://review.cyanogenmod.com/
    - https://www.codeaurora.org/gitweb/quic/la/?o=age
    - http://218.211.38.204/?o=age
    - https://github.com/android
    - https://github.com/cyanogenmod
    - ...


    How to fork a project on github.com

    How to submit (push) changes to your own fork

    How to submit changes from your own fork to another fork

    How to create or improve a localization
    Last edited by voku1987; 04-07-2012 at 05:11 PM.

  2. [translate]    #2
    Senior Member
    Join Date
    Jul 2010
    Location
    india
    Posts
    834

    Default

    Gr8

    Sent from my GT-I5700 using Tapatalk

  3. [translate]    #3
    Senior Member
    Join Date
    Aug 2010
    Location
    /efs
    Posts
    246

    Default

    Fantastic voku, thanks for sharing

  4. [translate]    #4
    Senior Member
    Join Date
    Aug 2010
    Location
    Barakaldo, Spain
    Posts
    1,204

    Default

    Thanks!
    CyanogenMod-7.2-NIGHTLY-Spica-alpha7 + OC'd kernel

  5. [translate]    #5
    Senior Member
    Join Date
    Oct 2010
    Location
    Switzerland
    Posts
    137

    Default

    Thx voku for sharing this

    Just to add: if you are on latest ubuntu you may get repo error (unknown command) if it happens:

    Open up your bashrc (gedit ~/.bashrc) and add to the end line:

    PATH=~/bin:$PATH

    Save the file.

    Source it:

    source ~/.bashrc

    Try again and it works, if not, restart your terminal and try again
    Using now - Samsung Galaxy SII - i9100
    Switching between: Miui 1.9.9 Beta by bMarko / Cognition 1.5.1 / Lite'ning 6.1 (depends on my mood)
    Semi-RETIRED - Galaxy Spica i5700 with CM 7. (still have it)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •