Difference between revisions of "ROM Android: Ridon"

From OnnoWiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
 
  libxml2-utils libc6-dev-i386 g++-multilib lib32z1-dev lib32readline-gplv2-dev \
 
  libxml2-utils libc6-dev-i386 g++-multilib lib32z1-dev lib32readline-gplv2-dev \
 
  lib32ncurses5-dev zlib1g-dev:i386
 
  lib32ncurses5-dev zlib1g-dev:i386
 
  
 
==Inisialisasi Directory==
 
==Inisialisasi Directory==
Line 21: Line 20:
 
  export RIDON=$(pwd)
 
  export RIDON=$(pwd)
  
Get repo tool
+
==Ambil Repo Tools==
  
 
  cd $RIDON
 
  cd $RIDON
Line 30: Line 29:
 
  cd $RIDON
 
  cd $RIDON
  
Setup source code
+
==Setup source code==
  
 
  cd $RIDON
 
  cd $RIDON
Line 37: Line 36:
 
  ../tools/repo init --depth 1 -u git://github.com/ridon/ridon.git -b ridon-5.0
 
  ../tools/repo init --depth 1 -u git://github.com/ridon/ridon.git -b ridon-5.0
  
Sync source code
+
==Sync source code==
  
 
  cd $RIDON
 
  cd $RIDON
Line 45: Line 44:
 
  prebuilts/misc/linux-x86/ccache/ccache -M 50G
 
  prebuilts/misc/linux-x86/ccache/ccache -M 50G
  
Build preparation
+
==Persiapan untuk Build==
  
 
  export ANDROID_JAVA_HOME=$JAVA_HOME
 
  export ANDROID_JAVA_HOME=$JAVA_HOME
Line 53: Line 52:
  
 
Then you can build for the devices listed in the menu shown on the top right of this page.
 
Then you can build for the devices listed in the menu shown on the top right of this page.
 
 
 
 
 
  
 
==Referensi==
 
==Referensi==
  
 
* https://github.com/ridon/ridon/wiki/Ridon-5.0
 
* https://github.com/ridon/ridon/wiki/Ridon-5.0

Latest revision as of 09:20, 12 May 2015

Persiapan

Baca https://github.com/ridon/ridon/wiki/Installing-Dependencies

sudo dpkg --add-architecture i386
sudo apt-get update

Install dependency

sudo apt-get install aptitude
sudo aptitude install  bison flex git-core gperf libncurses-dev build-essential \
squashfs-tools openjdk-7-jre openjdk-7-jdk pngcrush wget zip zlib1g-dev lzma \
libxml2-utils libc6-dev-i386 g++-multilib lib32z1-dev lib32readline-gplv2-dev \
lib32ncurses5-dev zlib1g-dev:i386

Inisialisasi Directory

mkdir ridon
cd ridon
export RIDON=$(pwd)

Ambil Repo Tools

cd $RIDON
mkdir tools
cd tools
wget http://commondatastorage.googleapis.com/git-repo-downloads/repo
chmod a+x repo
cd $RIDON

Setup source code

cd $RIDON
mkdir ridon-5.0
cd ridon-5.0
../tools/repo init --depth 1 -u git://github.com/ridon/ridon.git -b ridon-5.0

Sync source code

cd $RIDON
cd ridon-5.0
$RIDON/tools/repo sync
vendor/ridon/get-prebuilts
prebuilts/misc/linux-x86/ccache/ccache -M 50G

Persiapan untuk Build

export ANDROID_JAVA_HOME=$JAVA_HOME
export CCACHE=1
cd $RIDON/ridon-5.0
. build/envsetup.sh

Then you can build for the devices listed in the menu shown on the top right of this page.

Referensi