魔趣论坛

 找回密码
 注册账号
通过您的新浪微博帐号登录
QQ登录
查看: 89139|回复: 132

[开发文档] MoKee Open Source - Building And Submitting Patches (English version of v1.3)

[复制链接]
  • TA的每日心情
    奋斗
    2017-5-6 22:10
  • 签到天数: 157 天

    连续签到: 1 天

    [LV.7]常住居民III

    发表于 2013-7-2 03:18:03 | 显示全部楼层 |阅读模式

    1. Introduction

    MoKee Open Source is based on the Google AOSP. We update our source code frequently to keep up with the latest development, and not forgetting to merge in special features of our own at the same time.

    A small group of people from around the world who are interested in Android launched this project on the 12th of December 2012, and is committed to make this ROM better and better. Like most contributors of open source projects (Omni, CyanogenMod, Slim AOSPA etc), we are doing all these in our free time as our passion...

    Since this project is open source, anyone interested can participate in the development (maintain new devices, contribute code etc). Newcomers are always welcomed!
    Read here for developer application: http://www.mfunz.com/en/developer-application, you can host your unofficial MoKee builds on our server!
    2. What can you do for MoKee Open Source

    MoKee Open Source is a big project. We require talents from all fields to help out:

    For example:
    1. Translators for multiligual support
    2. UI designers
    3. Interaction designers to improve how users interact with their devices
    4. Programmers to combat bugs and implement new features
    5. ROM experts to extend support for more devices
    6. Many more...
    3. Build environment
    A computer running Linux or a VM running Linux (Ubuntu 14.04 64-bit is recommended)
    4. Build environment setup

    1. Installing JDK
    1. $ sudo add-apt-repository ppa:webupd8team/java
    2. $ sudo apt-get update
    3. $ sudo apt-get install oracle-java7-installer
    复制代码

    2. Other dependencies
    1. $ sudo apt-get update && sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.8-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev openjdk-6-jre openjdk-6-jdk pngcrush schedtool libxml2 libxml2-utils xsltproc lzop libc6-dev schedtool g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline-gplv2-dev gcc-multilib
    复制代码
    5. Gerrit account

    MoKee Open Source's Gerrit server uses OpenID for registration. If you have a Google or Yahoo account or any other supported accounts, registration can done easily.

    Go to http://review.mfunz.com and click "Register" on the right corner. (You might face difficulties during login if you register using your Google account (usally in China), so use Yahoo instead or try logging in a few times)

    After registration, please login and follow the steps below:
    6. Setting up git

    *Note: You should use the same username and email address for your PC, git and gerrit account to avoid conflicts

    For example:
    Your PC username: xxx@localhost (xxx is your username)

    1. git config --global user.name <xxx>
    2. git config --global review.review.mfunz.com.username <username>
    3. git config --global user.email <yyy@yyy.com>
    复制代码
    Gerrit account name must be: xxx
    Gerrit email account must also be: yyy@yyy.com
    For example:
    7. Fetching source code
    1. $ mkdir <projectname>
    2. $ cd <projectname>
    3. $ repo init -u https://github.com/MoKee/android.git -b mkl-mr1
    4. $ repo sync
    复制代码
    8. Compiling and submitting patches

    1. Compiling
    1. $ . build/envsetup.sh
    2. $ lunch --your-device-name
    3. $ make bacon
    复制代码
    2. Starting a new branch for making changes
    1. $ repo start [branch-name] --all
    复制代码
    3. After making your changes, end your commit with a detailed message
    1. $ git add <path>
    2. $ git commit -a -m "Subject: Changes made"
    复制代码
    4. Upload to Gerrit for review
    1. $ repo upload
    复制代码
    9. Discussions

    If you face any problems during compilation, please contact QQ Groups: 285950190

    If you want to add a new device tree, please contact:
    Email: martincz.gao2012@gmail.com
    Twitter: https://twitter.com/martinczgao
    Facebook: http://www.facebook.com/martinczgao
    Google Plus: https://plus.google.com/+MokeedevTeam

    To ensure the performance and efficiency of the development team, inexperienced users will not be entertained.

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?注册账号  

    x
    回复

    使用道具 举报

  • TA的每日心情
    奋斗
    2017-6-28 20:44
  • 签到天数: 1303 天

    连续签到: 1 天

    [LV.10]以坛为家III

    发表于 2013-7-2 03:21:03 | 显示全部楼层
    {:12:}沙发支持
    回复 支持 1 反对 1

    使用道具 举报

  • TA的每日心情
    奋斗
    2017-5-6 22:10
  • 签到天数: 157 天

    连续签到: 1 天

    [LV.7]常住居民III

     楼主| 发表于 2013-7-2 03:25:11 | 显示全部楼层
    martincz 发表于 2013-7-2 03:21
    沙发支持

    谢啦!{:13:}
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2017-6-28 21:45
  • 签到天数: 591 天

    连续签到: 1 天

    [LV.9]以坛为家II

    发表于 2013-7-2 10:18:31 来自移动版 | 显示全部楼层
    前来支持。
    回复 支持 反对

    使用道具 举报

    男之韵 该用户已被删除
    发表于 2013-7-2 13:17:13 来自移动版 | 显示全部楼层
    提示: 作者被禁止或删除 内容自动屏蔽
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    郁闷
    2014-2-18 22:38
  • 签到天数: 58 天

    连续签到: 1 天

    [LV.5]常住居民I

    升级   1.4%

    发表于 2013-7-2 15:22:55 来自移动版 | 显示全部楼层
    英文不错!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    2017-5-6 22:10
  • 签到天数: 157 天

    连续签到: 1 天

    [LV.7]常住居民III

     楼主| 发表于 2013-7-2 16:19:47 | 显示全部楼层
    twsk 发表于 2013-7-2 15:22
    英文不错!

    哈哈,当然,我不是国内人。。。{:12:}
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2015-10-27 19:32
  • 签到天数: 50 天

    连续签到: 1 天

    [LV.5]常住居民I

    升级   74%

    发表于 2013-7-3 18:48:39 来自移动版 | 显示全部楼层
    Ryuinferno 发表于 2013-7-2 16:19
    哈哈,当然,我不是国内人。。。

    唔??
    回复 支持 反对

    使用道具 举报

    拾忆 该用户已被删除
    发表于 2013-7-14 21:45:03 来自移动版 | 显示全部楼层
    提示: 作者被禁止或删除 内容自动屏蔽
    回复 支持 反对

    使用道具 举报

  • TA的每日心情

    2014-4-10 10:21
  • 签到天数: 40 天

    连续签到: 4 天

    [LV.5]常住居民I

    升级   79.2%

    发表于 2013-7-17 23:11:02 | 显示全部楼层
    友情帮顶,赚点积分;;;
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 注册账号  

    本版积分规则

    手机版|魔趣论坛 |

    我们旨在提供一个良好的手机玩家技术交流、资源分享社区,如果有涉及版权的资源,请联系管理员并提供相应的版权证明,我们会进行相应处理。

    GMT+8, 2017-10-24 02:57 , Processed in 0.116801 second(s), 50 queries , Gzip On, Redis On.

    Powered by Discuz! X3.2

    © 2001-2013 Comsenz Inc.

    快速回复 返回顶部 返回列表