Chinaunix首页 | 论坛 | 博客
  • 博客访问: 900086
  • 博文数量: 322
  • 博客积分: 6688
  • 博客等级: 准将
  • 技术积分: 3626
  • 用 户 组: 普通用户
  • 注册时间: 2010-09-19 11:26
文章分类

全部博文(322)

文章存档

2013年(5)

2012年(66)

2011年(87)

2010年(164)

分类: LINUX

2011-03-04 10:39:20

CYANOGENMOD 7 FOR SAMSUNG GALAXY S PHONES


PREPARE YOUR BUILD SYSTEM:
sudo add-apt-repository ppa:sun-java-community-team/sun-java6
sudo apt-get update
sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g++-4.3-multilib

CREATE DIRECTORIES:
mkdir -p ~/bin 
mkdir -p ~/android/system 
cd ~/android/system 

INSTALL REPO:
curl  > ~/bin/repo 
chmod a+x ~/bin/repo
sudo reboot now

INIT REPO:
repo init -u git://github.com/teamhacksung/android.git -b gingerbread
repo sync -j40

DOWNLOAD ROMMANAGER AND GAPPS:
cd vendor/cyanogen 
./get-rommanager
./get-google-files

BUILD THE KERNEL:
cd ~/android/system/kernel/samsung/2.6.35
./build.sh DEVICE
  • DEVICE can be: captivate, galaxys, galaxysb, vibrant
Example: ./build.sh galaxys

BUILD CYANOGENMOD:
cd ~/android/system 
. build/envsetup.sh 
lunch cyanogen_DEVICE-eng
  • DEVICE can be: captivate, galaxys, vibrant
make -j`grep 'processor' /proc/cpuinfo | wc -l` otapackage 
阅读(781) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~