Difference between revisions of "ROM Android: Ridon"

From OnnoWiki
Jump to navigation Jump to search
(New page: Preparing Read https://github.com/ridon/ridon/wiki/Installing-Dependencies Setup: Initialize work directory mkdir ridon cd ridon export RIDON=$(pwd) Get repo tool cd $RIDON mkd...)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
==Persiapan==
  
Preparing
+
Baca https://github.com/ridon/ridon/wiki/Installing-Dependencies
  
  Read https://github.com/ridon/ridon/wiki/Installing-Dependencies
+
  sudo dpkg --add-architecture i386
 +
sudo apt-get update
  
Setup:
+
==Install dependency==
Initialize work directory
+
 
 +
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
 
  mkdir ridon
Line 11: Line 20:
 
  export RIDON=$(pwd)
 
  export RIDON=$(pwd)
  
Get repo tool
+
==Ambil Repo Tools==
  
 
  cd $RIDON
 
  cd $RIDON
Line 20: Line 29:
 
  cd $RIDON
 
  cd $RIDON
  
Setup source code
+
==Setup source code==
  
 
  cd $RIDON
 
  cd $RIDON
Line 27: 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 35: 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 43: 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