Difference between revisions of "OS: Android - Build CyanogenMod"

From OnnoWiki
Jump to navigation Jump to search
Line 25: Line 25:
  
 
  cd ~/android/sdk/adt-bundle/sdk/platform-tools
 
  cd ~/android/sdk/adt-bundle/sdk/platform-tools
 +
adb
 +
fastboot
  
 +
 +
sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev \
 +
libesd0-dev libwxgtk2.8-dev squashfs-tools build-essential zip curl \
 +
libncurses5-dev zlib1g-dev pngcrush schedtool libxml2 libxml2-utils \
 +
xsltproc g++-multilib lib32z1-dev lib32ncurses5-dev \
 +
lib32readline-gplv2-dev gcc-multilib
 +
y
 +
 +
 +
mkdir -p ~/bin
 +
mkdir -p ~/android/cm-10.2
 +
 +
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
 +
chmod a+x ~/bin/repo
 +
 +
 +
 +
 +
gedit ~/.bashrc
 +
export PATH=${PATH}:~/bin
 +
export PATH=${PATH}:~/android/sdk/adt-bundle/sdk/tools
 +
export PATH=${PATH}:~/android/sdk/adt-bundle/sdk/platform-tools
 +
 +
 +
 +
cd ~/android/cm-10.2
 +
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2
 +
repo sync
  
  

Revision as of 16:22, 2 September 2013

sudo apt-get purge openjdk*


sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java6-installer
y


sudo apt-get install ia32-libs
y


Download

http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20130729.zip

Extrak di

cd ~/android/sdk
cd ~/android/sdk/adt-bundle/sdk/tools
./android sdk


cd ~/android/sdk/adt-bundle/sdk/platform-tools
adb
fastboot


sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev \
libesd0-dev libwxgtk2.8-dev squashfs-tools build-essential zip curl \
libncurses5-dev zlib1g-dev pngcrush schedtool libxml2 libxml2-utils \
xsltproc g++-multilib lib32z1-dev lib32ncurses5-dev \
lib32readline-gplv2-dev gcc-multilib
y


mkdir -p ~/bin
mkdir -p ~/android/cm-10.2
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo



gedit ~/.bashrc
export PATH=${PATH}:~/bin
export PATH=${PATH}:~/android/sdk/adt-bundle/sdk/tools
export PATH=${PATH}:~/android/sdk/adt-bundle/sdk/platform-tools


cd ~/android/cm-10.2
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2
repo sync


Referensi

Pranala Menarik