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)
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:
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:
...
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
Bookmarks