注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

讀萬卷書,行萬里路

开心快乐的方式有很多种,寻找自己的快乐方式

 
 
 

日志

 
 

How to build Oxygen/DevNull from source  

2011-09-23 08:30:41|  分类: 我的安卓 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
原帖网址:http://forum.oxygen.im/viewtopic.php?id=688
===================================

Step 1:
Follow the Official Guide to initialize a build environment

Step 2:
Get the repo tool by following the steps on "Installing Repo" in the Downloading the Source Tree-Guide (or as attachment in the 2nd post)

Step 3:
Initializing a Repo client
Create an empty directory to hold your working files:

$ mkdir WORKING_DIRECTORY $ cd WORKING_DIRECTORY

Run repo init to bring down the latest version of Repo with all its most recent bug fixes. You must specify a URL for the manifest, which specifies where the various repositories included in the Android source will be placed within your working directory.
This is for getting Oxygen:

$ repo init -u git://github.com/oxygen-rom/android_manifest.git -b gingerbread

This is for getting DevNull:

$ repo init -u git://github.com/devnull-project/android_manifest.git -b gingerbread

Get the files

$ repo sync

load the build environment variables

$ . build/envsetup.sh including vendor/devnull/vendorsetup.sh $ lunch  You're building on Linux  Lunch menu... pick a combo:      1. generic-eng      2. simulator      3. devnull_bravo-user      4. devnull_bravoc-user      5. devnull_crespo-user      6. devnull_crespo4g-user      7. devnull_galaxys2-eng      8. devnull_passion-user  Which would you like? [generic-eng] CHOOSE_YOUR_TARGET

If you build for the Nexus S, you have to extract some files:

$ cd  device/samsung/crespo $ ./extract-files.sh $ cd ../../../

Now you can build Oxygen:

$ make

To create a flashable zip file you have to do

$ make devnull

(no it's not a type, as of now it's correct, maybe some day it will changed but currently it's correct)

  评论这张
 
阅读(289)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017