Difference between revisions of "ROM Android: Ridon"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Onnowpurbo (talk | contribs)  (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...)  | 
				Onnowpurbo (talk | contribs)   | 
				||
| Line 1: | Line 1: | ||
| + | ==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  |   mkdir ridon  | ||
Revision as of 06:15, 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)
Get repo tool
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
Build preparation
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.