标签:
.
作者 : 韩曙亮
转载请注明出处 :
相关下载链接 :
-- CyanogenMod 13 (小米 4 配套 Android 6.0 源码) 百度网盘下载地址 (需要有一定的 Android系统 嵌入式 linux 基础 才能编译通过) :
-- Ubuntu 14.04 LTS 虚拟机 + CM13 源码 百度网盘下载地址 (适合没有任何基础的小白下载) : , 直接安装 VMWare Workstation 12 版本, 然后导入该虚拟机, 虚拟机里面所有的配置都已经配置好, 包括 jdk, 环境变量, 源码编译所需全部包, 傻瓜式的编译环境, 导入 VM 虚拟机即可获取完整的 Android 系统开发环境;
-- 编译好的 官方 ROM 和 Recovery 下载 :
-- 定制的 小米4 ROM 下载 :
-- CyanogenMod 13.0 (Android 6.0) 可编译源码下载地址 : ;
博客总结 :
编译步骤简化版本总结 :
-- 1.
-- 2.
.
CyanogenMod 官方资料 :
-- 硬件 : 小米4;
-- 小米4 的 CyanogenMod 源码编译教程 : https://wiki.cyanogenmod.org/w/Build_for_cancro#Install_the_Build_Packages, 主要介绍了 CyanogenMod 小米4 手机源码的下载编译过程, 本文部分内容是从此翻译过来的;
-- CyanogenMod Mi4 设备界面链接 : http://download.cyanogenmod.org/?device=cancro, 小米4 手机对应的 CyanogenMod 镜像下载界面, 包括 ROM 和 Recovery;
-- CyanogenMode Mi4 WIki 资料 : https://wiki.cyanogenmod.org/w/Cancro_Info;
-- CM Mi4 系统源码 : https://github.com/cyanogenmod/android_device_xiaomi_cancro;
-- CM Mi4 内核源码 : https://github.com/cyanogenmod/android_kernel_xiaomi_cancro;
-- 小米 4 编译源码 安装 ROM 详细教程 : https://wiki.cyanogenmod.org/w/Install_CM_for_cancro;
-- CM 编译开发 : https://wiki.cyanogenmod.org/w/Development;
-- 小米 ROM 下载主页 : http://rom.xiaomi.cn/;
-- ROM 之家 : http://www.romzj.com/;
-- ROM 之家 小米4 官网 : http://www.romzj.com/list/xiaomi_m4w_order_2_60.htm;
-- 刷机精灵 : http://www.shuame.com/;
国内相关博客 :
-- CyanogenMod 源码下载和编译 : http://blog.csdn.net/andie_guo/article/details/16879443;
-- CyanogenMod 中文站 (估计是个冒牌山寨货) : http://www.androm.cn/;
-- CyanogenMod 12.1 编译教程 : http://www.oneplusbbs.com/thread-572886-1-1.html;
-- CyanogenMod ROM 编译尝试 : http://aswang.iteye.com/blog/1089841;
-- CyanogenMod 源码下载和编译 : http://www.cnblogs.com/qianxudetianxia/archive/2011/09/27/2193590.html;
-- Android 源码下载 : http://www.cnblogs.com/qianxudetianxia/archive/2011/05/29/2060636.html;
-- CM 9 源码下载和编译 : http://www.cnblogs.com/qianxudetianxia/archive/2012/05/27/2512447.html;
-- Ubuntu 虚拟机上进行 adb 调试 : http://www.linuxidc.com/Linux/2014-01/94931.htm;
-- Ubuntu 虚拟机 USB 设备挂载失败解决方案 (百度经验) : http://jingyan.baidu.com/article/c35dbcb0eec9418916fcbc3f.html;
-- Ubuntu 虚拟机使用 adb 调试 : http://blog.csdn.net/tangcheng_ok/article/details/6278567;
.
.
.
编译工作内容 :
-- 主要工作 : 从小米3 或 小米4 手机开始, 解锁 bootloader, 下载需要的工具, 以及 最新的 CyanogenMod 源码 (该源码是基于 Google 的 Android 操作系统二次开发的).
-- 编译内容 : 编译源码生成 CyanogenMod 和 CyanogenMod Recovery 镜像, 将二者烧写到手机中;
关于 Android 源码编译的知识需求 :
--
安装 jdk
.
CyanogenMod 官方提供的教程 : https://wiki.cyanogenmod.org/w/Install_CM_for_cancro;
.
.
.
.
.
.
.
安装 32 64 位都需要的软件包 :
-- 编译需要的软件包 :
bison build-essential curl flex git gnupg gperf libesd0-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop maven openjdk-7-jdk pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev
-- 安装上述软件包 : 使用 apt-get install bison build-essential curl flex git gnupg gperf libesd0-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop maven openjdk-7-jdk pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev 命令安装这些软件包;
-- 安装成功 : 该命令行是安装完成后, 在执行一次安装命令, 返回所有软件包安装成功的信息, 安装过程几千行命令行输出, 就不贴了.
root@ubuntu:~# apt-get install bison build-essential curl flex git gnupg gperf libesd0-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop maven openjdk-7-jdk pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev Reading package lists... Done Building dependency tree Reading state information... Done bison is already the newest version. build-essential is already the newest version. flex is already the newest version. gperf is already the newest version. libesd0-dev is already the newest version. libncurses5-dev is already the newest version. xsltproc is already the newest version. zip is already the newest version. zlib1g-dev is already the newest version. liblz4-tool is already the newest version. libwxgtk2.8-dev is already the newest version. lzop is already the newest version. maven is already the newest version. pngcrush is already the newest version. schedtool is already the newest version. git is already the newest version. gnupg is already the newest version. libsdl1.2-dev is already the newest version. libxml2 is already the newest version. libxml2 set to manually installed. libxml2-utils is already the newest version. openjdk-7-jdk is already the newest version. squashfs-tools is already the newest version. curl is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 349 not upgraded.
-- 出现 404 错误 : 如果安装出现 404 Not Found 等错误, 更新 apt 下载源即可;
-- 更新源列表方法 : 编辑 /etc/apt/sources.list 文件, 然后添加源列表, 更新源列表 sudo apt-get update;
-- 参考博客 : http://zhoushijun.iteye.com/blog/1942475/;
-- 14.04 源列表官方 WIKI : http://wiki.ubuntu.org.cn/%E6%A8%A1%E6%9D%BF:14.04source;
-- 其它源列表 官方 WIKI : http://wiki.ubuntu.org.cn/%E6%BA%90%E5%88%97%E8%A1%A8;
-- 源列表示例 : 反正我用的这个源列表, 东西全部下载下来了;
# deb cdrom:[Ubuntu 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu/ trusty universe deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu trusty-security main restricted deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted deb http://security.ubuntu.com/ubuntu trusty-security universe deb-src http://security.ubuntu.com/ubuntu trusty-security universe deb http://security.ubuntu.com/ubuntu trusty-security multiverse deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse ## Uncomment the following two lines to add software from Canonical‘s ## ‘partner‘ repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu trusty partner # deb-src http://archive.canonical.com/ubuntu trusty partner ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu trusty main deb-src http://extras.ubuntu.com/ubuntu trusty main deb http://us.archive.ubuntu.com/ubuntu/ trusty-proposed restricted multiverse main universe ## zhongkeda deb http://mirrors.ustc.edu.cn/ubuntu/ precise-updates main restricted deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise-updates main restricted deb http://mirrors.ustc.edu.cn/ubuntu/ precise universe deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise universe deb http://mirrors.ustc.edu.cn/ubuntu/ precise-updates universe deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise-updates universe deb http://mirrors.ustc.edu.cn/ubuntu/ precise multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise multiverse deb http://mirrors.ustc.edu.cn/ubuntu/ precise-updates multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise-updates multiverse deb http://mirrors.ustc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse ## souhu deb http://mirrors.sohu.com/ubuntu/ precise-updates main restricted deb-src http://mirrors.sohu.com/ubuntu/ precise-updates main restricted deb http://mirrors.sohu.com/ubuntu/ precise universe deb-src http://mirrors.sohu.com/ubuntu/ precise universe deb http://mirrors.sohu.com/ubuntu/ precise-updates universe deb-src http://mirrors.sohu.com/ubuntu/ precise-updates universe deb http://mirrors.sohu.com/ubuntu/ precise multiverse deb-src http://mirrors.sohu.com/ubuntu/ precise multiverse deb http://mirrors.sohu.com/ubuntu/ precise-updates multiverse deb-src http://mirrors.sohu.com/ubuntu/ precise-updates multiverse deb http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse ## wangyi deb http://mirrors.163.com/ubuntu/ precise-updates main restricted deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted deb http://mirrors.163.com/ubuntu/ precise universe deb-src http://mirrors.163.com/ubuntu/ precise universe deb http://mirrors.163.com/ubuntu/ precise-updates universe deb-src http://mirrors.163.com/ubuntu/ precise-updates universe deb http://mirrors.163.com/ubuntu/ precise multiverse deb-src http://mirrors.163.com/ubuntu/ precise multiverse deb http://mirrors.163.com/ubuntu/ precise-updates multiverse deb-src http://mirrors.163.com/ubuntu/ precise-updates multiverse deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
64 位机器需要的软件包 :
-- 软件包列表 :
g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev
-- 安装命令 : apt-get install g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev ;
-- 安装成功 : 该命令行是安装完成后, 在执行一次安装命令, 返回所有软件包安装成功的信息, 安装过程几千行命令行输出, 就不贴了.
root@ubuntu:~# apt-get install g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev Reading package lists... Done Building dependency tree Reading state information... Done g++-multilib is already the newest version. gcc-multilib is already the newest version. lib32ncurses5-dev is already the newest version. lib32readline-gplv2-dev is already the newest version. lib32z1-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 349 not upgraded.
.
.
.
创建相关目录 :
-- 1. 创建 bin 目录 : 使用 mkdir -p ~/bin 命令;
-- 2. 创建 android/system 目录 : 使用 mkdir -p ~/android/system 命令;
创建过程的终端输出 :
-- 创建过程 :
octopus@octopus:~$ mkdir -p ~/bin octopus@octopus:~$ ls bin develop examples.desktop jdk-8u25-linux-i586.tar.gz vmware_tools 公共的 模板 视频 图片 文档 下载 音乐 桌面 octopus@octopus:~$ mkdir -p ~/android/system octopus@octopus:~$ ls android bin develop examples.desktop jdk-8u25-linux-i586.tar.gz vmware_tools 公共的 模板 视频 图片 文档 下载 音乐 桌面
设置 repo 脚本 : 下载 repo 脚本, 并使 repo 脚本可执行 (赋予执行权限).
-- 1. 获取 repo 脚本 : 使用 curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo 命令;
-- 2. 为 repo 脚本添加执行权限 : 使用 chmod a+x ~/bin/repo 命令;
获取 repo 脚本过程输出 :
-- 执行过程 :
octopus@octopus:~$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 26223 100 26223 0 0 6671 0 0:00:03 0:00:03 --:--:-- 6674 octopus@octopus:~$ chmod a+x ~/bin/repo
配置 bin 目录到环境变量中 : 在 Ubuntu 14.04 LTS 中, Ubuntu 默认已经将 bin 目录添加到了 PATH 路径中, 如果没有, 请自行添加;
-- 配置方法 : 在 ~/.profile 中配置, 执行 sudo gedit .profile 命令, 即可打开该文件, 注意加上 sudo 权限.
-- 配置内容 :
# set PATH so it includes user‘s private bin if it exists if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi
初始化 CyanogenMod 源码仓库流程 :
-- 1.安装 phablet-tools 工具包 : 执行 repo 命令前需要先安装 phablet-tools 工具包 , 安装命令 sudo apt-get install phablet-tools ;
-- 2.为 Git 设置 邮箱 和 用户 : 设置邮箱 git config --global user.email "octopus_truth@163.com" , 设置用户 git config --global user.name "Shuliang Han" ;
octopus@octopus:~/android/system$ git config --global user.email "octopus_truth@163.com" octopus@octopus:~/android/system$ git config --global user.name "Shuliang Han"
-- 3. 连接 VPN 代理 : 可以再 Windows 上连接代理, 虚拟机就可以访问 GoogleSource 网站的资源了;
-- 4.进入 ~/android/system 目录 : 执行 repo init -u https://github.com/CyanogenMod/android.git -b cm-13.0 命令, 进入该目录, 一定要在该目录执行 初始化步骤, 否则在哪个目录执行初始化命令, 源码就下载到哪里;
-- 5. 初始化命令 : 执行 命令;
-- 执行完毕标识 : 出现以下内容说明执行成功;
初始化 CyanogenMod 源码仓库期间出现的错误处理 :
-- 出现错误 1 : 没有安装 python 脚本执行的环境;
octopus@octopus:~/android/system$ repo init -u https://github.com/CyanogenMod/android.git -b cm-13.0 程序“repo”尚未安装。 您可以使用以下命令安装: sudo apt-get install phablet-tools
-- 错误处理 1 : 安装 , 执行 sudo apt-get install phablet-tools 命令, 安装 repo;
-- 出现错误 2 : 一些资源被中国防火墙屏蔽;
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error [Errno 101] Network is unreachable
-- 处理错误 2 : 长城防火墙把 Google 所有的先关网站都屏蔽了, 日了泰迪了, 没办法 开 VPN 解决, 一年 几百块钱的 VPN 钱就不要省了;
-- 出现错误 3 : 没有设置 git 的绑定邮箱 和 用户名;
Traceback (most recent call last): File "/home/octopus/android/system/.repo/repo/main.py", line 531, in <module> _Main(sys.argv[1:]) File "/home/octopus/android/system/.repo/repo/main.py", line 507, in _Main result = repo._Run(argv) or 0 File "/home/octopus/android/system/.repo/repo/main.py", line 180, in _Run result = cmd.Execute(copts, cargs) File "/home/octopus/android/system/.repo/repo/subcmds/init.py", line 395, in Execute self._ConfigureUser() File "/home/octopus/android/system/.repo/repo/subcmds/init.py", line 289, in _ConfigureUser name = self._Prompt(‘Your Name‘, mp.UserName) File "/home/octopus/android/system/.repo/repo/project.py", line 703, in UserName self._LoadUserIdentity() File "/home/octopus/android/system/.repo/repo/project.py", line 716, in _LoadUserIdentity u = self.bare_git.var(‘GIT_COMMITTER_IDENT‘) File "/home/octopus/android/system/.repo/repo/project.py", line 2650, in runner p.stderr)) error.GitError: manifests var: *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account‘s default identity. Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address (got ‘octopus@octopus.(none)‘)
-- 错误处理 3 :
octopus@octopus:~/android/system$ git config --global user.email "octopus_truth@163.com" octopus@octopus:~/android/system$ git config --global user.name "Shuliang Han"
完整的执行过程 - 终端输出 :
gpg: 钥匙环‘/home/octopus/.repoconfig/gnupg/secring.gpg’已建立 gpg: 钥匙环‘/home/octopus/.repoconfig/gnupg/pubring.gpg’已建立 gpg: /home/octopus/.repoconfig/gnupg/trustdb.gpg:建立了信任度数据库 gpg: 密钥 920F5C65:公钥“Repo Maintainer <repo@android.kernel.org>”已导入 gpg: 密钥 692B382C:公钥“Conley Owens <cco3@android.com>”已导入 gpg: 合计被处理的数量:2 gpg: 已导入:2 (RSA: 1) Get https://gerrit.googlesource.com/git-repo/clone.bundle ... A new repo command ( 1.22) is available. ... You should upgrade soon: cp /home/octopus/android/system/.repo/repo/repo /usr/bin/repo Get https://github.com/CyanogenMod/android.git % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ignoring. remote: Counting objects: 3845, done. remote: Total 3845 (delta 0), reused 0 (delta 0), pack-reused 3845 接收对象中: 100% (3845/3845), 1.26 MiB | 58.00 KiB/s, done. 处理 delta 中: 100% (1311/1311), done. 来自 https://github.com/CyanogenMod/android * [新分支] cm-10.1 -> origin/cm-10.1 * [新分支] cm-10.2 -> origin/cm-10.2 * [新分支] cm-11.0 -> origin/cm-11.0 * [新分支] cm-12.0 -> origin/cm-12.0 * [新分支] cm-12.1 -> origin/cm-12.1 * [新分支] cm-13.0 -> origin/cm-13.0 * [新分支] cm-7.0.0 -> origin/cm-7.0.0 * [新分支] cm-7.0.1 -> origin/cm-7.0.1 * [新分支] cm-7.0.2.1 -> origin/cm-7.0.2.1 * [新分支] cm-7.0.3 -> origin/cm-7.0.3 * [新分支] cm-9.1.0 -> origin/cm-9.1.0 * [新分支] eclair -> origin/eclair * [新分支] froyo -> origin/froyo * [新分支] froyo-stable -> origin/froyo-stable * [新分支] gb-release-7.2 -> origin/gb-release-7.2 * [新分支] gingerbread -> origin/gingerbread * [新分支] gingerbread-release -> origin/gingerbread-release * [新分支] ics -> origin/ics * [新分支] ics-release -> origin/ics-release * [新分支] jellybean -> origin/jellybean * [新分支] jellybean-stable -> origin/jellybean-stable * [新分支] mr1.1-staging -> origin/mr1.1-staging * [新分支] shipping/cm-11.0 -> origin/shipping/cm-11.0 * [新分支] stable/cm-10.2 -> origin/stable/cm-10.2 * [新分支] stable/cm-11.0 -> origin/stable/cm-11.0 * [新分支] stable/cm-11.0-XNF8Y -> origin/stable/cm-11.0-XNF8Y * [新分支] stable/cm-11.0-XNF9X -> origin/stable/cm-11.0-XNF9X * [新分支] stable/cm-11.0-XNG2S -> origin/stable/cm-11.0-XNG2S * [新分支] stable/cm-11.0-XNG3C -> origin/stable/cm-11.0-XNG3C * [新分支] stable/cm-12.0-YNG1I -> origin/stable/cm-12.0-YNG1I * [新分支] stable/cm-12.0-YNG1T -> origin/stable/cm-12.0-YNG1T * [新分支] stable/cm-12.0-YNG1TA -> origin/stable/cm-12.0-YNG1TA * [新分支] stable/cm-12.0-YNG3C -> origin/stable/cm-12.0-YNG3C * [新分支] stable/cm-12.0-YNG4N -> origin/stable/cm-12.0-YNG4N * [新分支] stable/cm-12.1-YOG3C -> origin/stable/cm-12.1-YOG3C * [新分支] stable/cm-12.1-YOG4P -> origin/stable/cm-12.1-YOG4P * [新分支] stable/cm-12.1-YOG7D -> origin/stable/cm-12.1-YOG7D * [新分支] stable/cm-13.0-ZNH0E -> origin/stable/cm-13.0-ZNH0E * [新分支] stable/cm-13.0-ZNH2K -> origin/stable/cm-13.0-ZNH2K * [新分支] staging/cm-12.0-caf -> origin/staging/cm-12.0-caf * [新分支] staging/cm-12.1 -> origin/staging/cm-12.1 * [新分支] staging/cm-13.0+r22 -> origin/staging/cm-13.0+r22 * [新分支] themes-exp -> origin/themes-exp * [新tag] cm-10.1-M1 -> cm-10.1-M1 * [新tag] cm-10.1-M2 -> cm-10.1-M2 * [新tag] cm-10.1-M3 -> cm-10.1-M3 * [新tag] cm-10.1.0 -> cm-10.1.0 * [新tag] cm-10.1.0-RC1 -> cm-10.1.0-RC1 * [新tag] cm-10.1.0-RC2 -> cm-10.1.0-RC2 * [新tag] cm-10.1.0-RC3 -> cm-10.1.0-RC3 * [新tag] cm-10.1.0-RC4 -> cm-10.1.0-RC4 * [新tag] cm-10.1.0-RC5 -> cm-10.1.0-RC5 * [新tag] cm-10.1.1 -> cm-10.1.1 * [新tag] cm-10.1.2 -> cm-10.1.2 * [新tag] cm-10.1.3 -> cm-10.1.3 * [新tag] cm-10.1.3-RC1 -> cm-10.1.3-RC1 * [新tag] cm-10.1.3-RC2 -> cm-10.1.3-RC2 * [新tag] cm-10.2-M1 -> cm-10.2-M1 * [新tag] cm-10.2.0 -> cm-10.2.0 * [新tag] cm-10.2.1 -> cm-10.2.1 * [新tag] cm-10.2.1.1 -> cm-10.2.1.1 * [新tag] cm-11.0-XNPH05Q-bacon-5229c4ef56 -> cm-11.0-XNPH05Q-bacon-5229c4ef56 * [新tag] cm-11.0-XNPH05Q-tomato-9828f8e9cc -> cm-11.0-XNPH05Q-tomato-9828f8e9cc * [新tag] cm-11.0-XNPH22R-bacon-03d77315ea -> cm-11.0-XNPH22R-bacon-03d77315ea * [新tag] cm-11.0-XNPH25R-bacon-d22b777afa -> cm-11.0-XNPH25R-bacon-d22b777afa * [新tag] cm-11.0-XNPH30O-bacon-4f280f505a -> cm-11.0-XNPH30O-bacon-4f280f505a * [新tag] cm-11.0-XNPH33R-bacon-3628510d76 -> cm-11.0-XNPH33R-bacon-3628510d76 * [新tag] cm-11.0-XNPH44S-bacon-5fa8c79c0b -> cm-11.0-XNPH44S-bacon-5fa8c79c0b * [新tag] cm-5.0.6 -> cm-5.0.6 * [新tag] cm-5.0.7 -> cm-5.0.7 * [新tag] cm-5.0.7-ds -> cm-5.0.7-ds * [新tag] cm-6.0.0 -> cm-6.0.0 * [新tag] cm-6.0.0-rc1 -> cm-6.0.0-rc1 * [新tag] cm-7.0.0 -> cm-7.0.0 * [新tag] cm-7.0.1 -> cm-7.0.1 * [新tag] cm-7.0.2.1 -> cm-7.0.2.1 * [新tag] cm-7.0.3 -> cm-7.0.3 * [新tag] cm-7.1.0 -> cm-7.1.0 ... A new repo command ( 1.22) is available. ... You should upgrade soon: cp /home/octopus/android/system/.repo/repo/repo /usr/bin/repo Your identity is: Shuliang Han <octopus_truth@163.com> If you want to change this, please re-run ‘repo init‘ with --config-name Testing colorized output (for ‘repo diff‘, ‘repo status‘): black red green yellow blue magenta cyan white bold dim ul reverse Enable color display in this user account (y/N)? y repo has been initialized in /home/octopus/android/system
repo 命令简介 :
-- 下载命令 : 使用 repo sync 命令执行下载, 启动源码下载进程, 源码下载到指定的 ~/android/system 目录中;
-- 推荐配置 : CM Manifest 中包含了一个默认配置, 强烈推荐使用该配置, 不要加任何可选的命令选项;
-- 线程选项 : 默认 -j 4 -c 选项, -j 4 选项意味着同时建立了 4 个线程 或 连接; 如果下载总是出现问题, 可以减少线程数, 参数改为 -j 3 或者 -j 2;
-- 分支选项 : -c 选项, 代表 repo 只下载当前一个分支的完整源码, 并不把整个源码树所有分支完整的下载下来;
-- 下载时长 : 我用的 4M 独享带宽的 VPN, 下了大概 一天一夜, 该过程下载 12.9 G 的 android 源码, 这个时间是最长的, 如果带宽不足的话, 可能会花费更长时间.
-- repo sync 命令更新代码 : repo sync 命令还可以用于从 CyanogenMod 和 Google 上获取更新最新的源代码, 你可以每隔几天执行一次该命令, 保持机器上的源代码是最新的;
下载 CyanogenMod 源码 :
-- 执行命令 : repo sync -j4, 正式下载源码;
-- 注意 : 下载一定要开 VPN, 没有 VPN 绝逼下载不下来, 好多资料都被中国屏蔽了.
-- 文件目录 :
-- 文件大小 : 该步骤下载了 12.9G 的源码;
repo sync 下载过程 - 终端输出 :
octopus@octopus:~/android/system$ repo sync -j4 ... A new repo command ( 1.22) is available. ... You should upgrade soon: cp /home/octopus/android/system/.repo/repo/repo /usr/bin/repo Fetching project CyanogenMod/android_frameworks_support Fetching project CyanogenMod/android_packages_apps_CMUpdater Fetching project platform/external/mockwebserver Fetching project platform/external/jsoncpp Fetching projects: 0% (1/519) Fetching project CyanogenMod/android_hardware_ti_omap4xxx Fetching project platform/external/libvncserver Fetching project CyanogenMod/android_external_libvpx Fetching project CyanogenMod/android_packages_apps_PackageInstaller Fetching project CyanogenMod/android_packages_apps_Eleven Fetching projects: 1% (6/519) Fetching project CyanogenMod/android_packages_screensavers_WebView Fetching project CyanogenMod/android_external_ffmpeg Fetching project platform/external/squashfs-tools Fetching project CyanogenMod/android_packages_services_Telecomm Fetching project CyanogenMod/android_external_libtruezip Fetching projects: 2% (11/519) Fetching project platform/hardware/intel/audio_media Fetching project platform/external/fonttools Fetching project platform/external/aac Fetching project CyanogenMod/android_external_toybox Fetching project platform/external/jmonkeyengine Fetching projects: 3% (16/519) Fetching project CyanogenMod/android_hardware_ti_wlan Fetching project platform/external/ipsec-tools Fetching project CyanogenMod/android_frameworks_webview Fetching project platform/external/google-fonts/cutive-mono Fetching project CyanogenMod/android_external_gmock Fetching projects: 4% (21/519) Fetching project CyanogenMod/android_frameworks_opt_calendar Fetching project CyanogenMod/android_packages_providers_TelephonyProvider Fetching project platform/external/zxing Fetching project platform/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8 Fetching project platform/external/drm_gralloc Fetching projects: 5% (26/519) Fetching project platform/external/jemalloc Fetching project platform/external/google-fonts/dancing-script Fetching project platform/external/libmtp Fetching project platform/external/lldb Fetching project platform/external/libcxxabi Fetching project CyanogenMod/android_frameworks_compile_slang Fetching projects: 6% (32/519) Fetching project platform/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8 Fetching project platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9 Fetching project platform/external/naver-fonts Fetching project CyanogenMod/android_external_nist-sip Fetching project CyanogenMod/android_external_libusb Fetching projects: 7% (37/519) Fetching project CyanogenMod/android_hardware_intel_common_libwsbm Fetching project platform/packages/apps/OneTimeInitializer Fetching project device/generic/mini-emulator-mips Fetching project platform/external/apache-xml Fetching project CyanogenMod/android_packages_apps_CellBroadcastReceiver Fetching projects: 8% (42/519) Fetching project platform/external/nist-pkits Fetching project CyanogenMod/android_packages_providers_PartnerBookmarksProvider Fetching project platform/external/jmdns Fetching project platform/external/kernel-headers Fetching project CyanogenMod/android_external_f2fs-tools Fetching projects: 9% (47/519) Fetching project platform/external/ksoap2 Fetching project CyanogenMod/android_hardware_libhardware Fetching project platform/external/chromium-webview Fetching project CyanogenMod/android_external_sonivox Fetching project CyanogenMod/android_external_libusbx Fetching projects: 10% (52/519) Fetching project platform/external/jsmn Fetching project CyanogenMod/android_packages_apps_AudioFX Fetching project device/generic/mini-emulator-arm64 Fetching project CyanogenMod/android_hardware_qcom_keymaster Fetching project CyanogenMod/android_packages_providers_ThemesProvider Fetching project CyanogenMod/android_frameworks_base Fetching projects: 11% (58/519) Fetching project CyanogenMod/android_frameworks_opt_net_voip Fetching project platform/prebuilts/libs/libedit Fetching project CyanogenMod/android_external_android-mock Fetching project CyanogenMod/android_external_tinyxml2 Fetching project platform/frameworks/opt/inputconnectioncommon Fetching projects: 12% (63/519) Fetching project platform/external/selinux Fetching project CyanogenMod/android_hardware_qcom_media Fetching project platform/external/mdnsresponder Fetching project CyanogenMod/android_external_wpa_supplicant_8 Fetching project platform/external/safe-iop Fetching projects: 13% (68/519) Fetching project CyanogenMod/android_packages_apps_Bluetooth Fetching project CyanogenMod/android_hardware_qcom_media Fetching project CyanogenMod/android_packages_providers_UserDictionaryProvider Fetching project platform/hardware/ti/omap4-aah Fetching project platform/external/giflib Fetching project platform/external/openfst Fetching projects: 14% (73/519) Fetching project CyanogenMod/android_hardware_qcom_media Fetching project CyanogenMod/android_external_lzma Fetching project platform/external/libyuv Fetching project CyanogenMod/android_packages_wallpapers_Basic Fetching project CyanogenMod/android_device_google_atv Fetching project CyanogenMod/android_packages_wallpapers_HoloSpiral Fetching projects: 15% (78/519) Fetching project platform/external/drm_hwcomposer Fetching project CyanogenMod/android_external_gson Fetching project CyanogenMod/android_packages_apps_TvSettings Fetching project CyanogenMod/android_hardware_qcom_media Fetching project CyanogenMod/android_hardware_invensense Fetching project CyanogenMod/android_packages_apps_LockClock remote: Counting objects: 7, done. remote: Compressing objects: 100% (6/6), done. remote: Total 7 (delta 0), reused 0 (delta 0), pack-reused 0 Fetching project CyanogenMod/android_frameworks_opt_photoviewer Fetching projects: 16% (84/519) Fetching project CyanogenMod/android_frameworks_opt_colorpicker 来自 https://github.com/CyanogenMod/android_frameworks_base 2d7713a..58ae12f cm-13.0 -> github/cm-13.0 Fetching project CyanogenMod/android_external_jarjar Fetching project platform/frameworks/data-binding Fetching project CyanogenMod/android_packages_services_LiveLockScreenService Fetching project CyanogenMod/android_frameworks_opt_datetimepicker Fetching projects: 17% (89/519) Fetching project CyanogenMod/android_system_qcom Fetching project CyanogenMod/AndroidAsync Fetching project CyanogenMod/android_bionic Fetching project CyanogenMod/android_system_core Fetching project CyanogenMod/android_packages_wallpapers_NoiseField Fetching projects: 18% (94/519) Fetching project CyanogenMod/android_hardware_qcom_media Fetching project platform/external/libexif Fetching project platform/external/webrtc Fetching project CyanogenMod/android_external_ant-wireless_ant_service Fetching project CyanogenMod/android_frameworks_rs Fetching project CyanogenMod/android_external_tinyalsa Fetching projects: 19% (99/519) Fetching project CyanogenMod/android_packages_apps_ManagedProvisioning Fetching project CyanogenMod/android_external_pdfium Fetching project CyanogenMod/android_hardware_qcom_media Fetching project CyanogenMod/android_external_pcre Fetching project CyanogenMod/android_packages_apps_FMRadio Fetching project CyanogenMod/android_external_dhcpcd Fetching projects: 20% (104/519) Fetching project CyanogenMod/android_system_bt Fetching project platform/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8 Fetching project platform/external/zopfli Fetching project device/generic/mini-emulator-x86_64 Fetching project platform/external/sfntly Fetching projects: 21% (109/519) Fetching project CyanogenMod/android_frameworks_volley Fetching project platform/hardware/intel/common/utils Fetching project CyanogenMod/android_hardware_cyanogen Fetching project CyanogenMod/android_external_doclava Fetching project CyanogenMod/android_external_ant-wireless_antradio-library Fetching project platform/external/fio Fetching projects: 22% (115/519) Fetching project CyanogenMod/android_system_extras Fetching project platform/external/xmlwriter Fetching project CyanogenMod/android_external_vogar Fetching project platform/external/jsilver Fetching project platform/external/marisa-trie Fetching projects: 23% (120/519) Fetching project CyanogenMod/android_frameworks_opt_bluetooth Fetching project CyanogenMod/android_external_elfutils Fetching project platform/external/jetty Fetching project platform/external/jdiff Fetching project platform/external/blktrace Fetching projects: 24% (125/519) Fetching project CyanogenMod/android_external_libxml2 Fetching project platform/prebuilts/gradle-plugin Fetching project CyanogenMod/android_external_ntfs-3g Fetching project platform/external/compiler-rt Fetching project CyanogenMod/android_hardware_qcom_media Fetching project CyanogenMod/android_frameworks_opt_net_wifi Fetching projects: 25% (130/519) Fetching project CyanogenMod/android_packages_apps_Stk Fetching project CyanogenMod/android_packages_wallpapers_PhaseBeam Fetching project CyanogenMod/android_hardware_qcom_audio Fetching project CyanogenMod/android_external_android-visualizer Fetching project CyanogenMod/android_external_lzo Fetching projects: 26% (135/519) Fetching project platform/external/cblas Fetching project CyanogenMod/android_hardware_intel_img_psb_headers Fetching project CyanogenMod/android_external_nano Fetching project CyanogenMod/android_packages_wallpapers_LivePicker Fetching project platform/external/deqp Fetching project CyanogenMod/android_system_netd Fetching projects: 27% (141/519) Fetching project platform/external/libgsm Fetching project platform/external/neven Fetching project device/sample Fetching project CyanogenMod/android_external_libavc Fetching project platform/external/google-tv-pairing-protocol Fetching projects: 28% (146/519) Fetching project CyanogenMod/android_external_mksh Fetching project platform/external/javasqlite Fetching project CyanogenMod/android_external_jpeg Fetching project CyanogenMod/android_frameworks_opt_net_ethernet Fetching project CyanogenMod/android_hardware_qcom_media Fetching project CyanogenMod/android_external_unrar Fetching projects: 29% (151/519) Fetching project CyanogenMod/android_external_ant-wireless_ant_native Fetching project CyanogenMod/android_packages_apps_Provision Fetching project platform/external/expat Fetching project platform/external/androidplot Fetching project platform/external/apache-commons-math Fetching projects: 30% (156/519) Fetching project CyanogenMod/android_frameworks_minikin Fetching project CyanogenMod/android_system_vold Fetching project CyanogenMod/android_external_pigz Fetching project CyanogenMod/android_frameworks_wilhelm Fetching project platform/prebuilts/clang/darwin-x86/host/3.6 Fetching projects: 31% (161/519) Fetching project CyanogenMod/android_external_powertop Fetching project CyanogenMod/android_external_rsync Fetching project platform/external/donuts Fetching project CyanogenMod/android_packages_screensavers_PhotoTable Fetching project CyanogenMod/android_hardware_qcom_audio Fetching project device/generic/x86 Fetching project platform/external/chromium-libpac Fetching projects: 32% (167/519) Fetching project platform/external/libmpeg2 Fetching project CyanogenMod/android_external_libnfc-nxp Fetching project platform/hardware/intel/common/wrs_omxil_core Fetching project device/generic/x86_64 Fetching project CyanogenMod/android_packages_apps_Gello Fetching projects: 33% (172/519) Fetching project CyanogenMod/android_external_vim Fetching project CyanogenMod/android_packages_apps_Nfc Fetching project CyanogenMod/android_abi_cpp Fetching project CyanogenMod/android_external_yaffs2 Fetching project CyanogenMod/android_device_generic_mips Fetching projects: 34% (177/519) Fetching project platform/external/vixl Fetching project platform/external/messageformat Fetching project platform/external/bsdiff Fetching project platform/prebuilts/sdk Fetching project CyanogenMod/android_external_google Fetching projects: 35% (182/519) Fetching project CyanogenMod/android_hardware_qcom_fm Fetching project platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 Fetching project CyanogenMod/android_external_libncurses Fetching project CyanogenMod/android_hardware_ti_wpan Fetching project CyanogenMod/android_hardware_qcom_audio Fetching project device/generic/mini-emulator-x86 Fetching projects: 36% (187/519) Fetching project CyanogenMod/android_dalvik Fetching project CyanogenMod/android_external_iproute2 Fetching project platform/external/google-breakpad Fetching project CyanogenMod/android_packages_apps_CarrierConfig Fetching project CyanogenMod/android_frameworks_multidex Fetching project CyanogenMod/android_hardware_broadcom_wlan Fetching projects: 37% (193/519) Fetching project CyanogenMod/android_device_generic_common Fetching project CyanogenMod/android_frameworks_opt_emoji Fetching project CyanogenMod/android_art Fetching project platform/external/javassist Fetching project CyanogenMod/android_external_fuse Fetching projects: 38% (198/519) Fetching project CyanogenMod/android_external_libnfnetlink Fetching project CyanogenMod/android_frameworks_av Fetching project platform/external/liblzf Fetching project CyanogenMod/android_frameworks_opt_hardware Fetching project platform/external/opencv Fetching projects: 39% (203/519) Fetching project platform/hardware/qcom/msm8994 Fetching project platform/external/glide Fetching project CyanogenMod/android_external_ebtables Fetching project platform/ndk Fetching project platform/external/replicaisland Fetching projects: 40% (208/519) Fetching project CyanogenMod/android_hardware_qcom_display Fetching project platform/hardware/intel/bootstub Fetching project CyanogenMod/android_hardware_qcom_audio Fetching project CyanogenMod/android_frameworks_native Fetching project CyanogenMod/android_hardware_intel_img_psb_video Fetching project platform/external/google-fonts/carrois-gothic-sc Fetching projects: 41% (213/519) Fetching project platform/external/owasp/sanitizer Fetching project platform/external/regex-re2 Fetching project platform/external/tagsoup Fetching project CyanogenMod/android_packages_providers_DataUsageProvider Fetching project platform/external/timezonepicker-support Fetching projects: 42% (218/519) Fetching project CyanogenMod/android_device_generic_arm64 Fetching project CyanogenMod/android_external_gptfdisk Fetching project platform/external/libunwind Fetching project CyanogenMod/android_hardware_intel_common_libmix Fetching project CyanogenMod/android_packages_apps_SoundRecorder Fetching project platform/hardware/marvell/bt Fetching projects: 43% (224/519) Fetching project CyanogenMod/android_packages_services_Telephony Fetching project CyanogenMod/android_frameworks_opt_inputmethodcommon Fetching project platform/external/sonic Fetching project CyanogenMod/android_external_bouncycastle Fetching project platform/hardware/qcom/msm8960 Fetching projects: 44% (229/519) Fetching project CyanogenMod/android_packages_apps_Email Fetching project CyanogenMod/android_packages_services_Mms Fetching project CyanogenMod/android_packages_apps_Contacts Fetching project platform/external/robolectric Fetching project CyanogenMod/android_hardware_qcom_audio Fetching project CyanogenMod/android_libnativehelper Fetching projects: 45% (234/519) Fetching project CyanogenMod/android_hardware_qcom_camera Fetching project CyanogenMod/android_system_keymaster Fetching project CyanogenMod/android_packages_providers_TvProvider Fetching project CyanogenMod/android_device_generic_armv7-a-neon Fetching project CyanogenMod/android_hardware_broadcom_libbt Fetching projects: 46% (239/519) Fetching project CyanogenMod/android_packages_apps_BasicSmsReceiver Fetching project platform/external/llvm Fetching project platform/external/tinyxml Fetching project CyanogenMod/android_packages_apps_SpeechRecorder Fetching project platform/external/antlr Fetching projects: 47% (244/519) Fetching project CyanogenMod/android_packages_apps_Browser Fetching project CyanogenMod/android_external_android-clat Fetching project CyanogenMod/android_hardware_qcom_display Fetching project CyanogenMod/android_prebuilts_cmsdk Fetching project CyanogenMod/android_packages_apps_Exchange Fetching project CyanogenMod/android_frameworks_opt_net_ims Fetching project CyanogenMod/android_frameworks_ml Fetching projects: 48% (250/519) Fetching project platform/external/hamcrest Fetching project platform/external/markdown Fetching project platform/hardware/qcom/msm8x74 Fetching project CyanogenMod/android_hardware_qcom_audioFetching project CyanogenMod/external_android_support-prebuilt Fetching project platform/external/tremolo Fetching projects: 49% (255/519) Fetching project CyanogenMod/android_hardware_qcom_bt Fetching project platform/external/freetype Fetching project platform/external/fdlibm Fetching project platform/external/mesa3d Fetching project CyanogenMod/android_external_guava Fetching projects: 50% (260/519) Fetching project CyanogenMod/android_packages_experimental Fetching project CyanogenMod/android_external_connectivity Fetching project platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9 Fetching project platform/system/gatekeeper Fetching project CyanogenMod/android_external_libvterm Fetching projects: 51% (265/519) Fetching project CyanogenMod/android_vendor_qcom_opensource_dataservices Fetching project CyanogenMod/android_device_generic_goldfish Fetching project CyanogenMod/android_external_zlib Fetching project CyanogenMod/android_hardware_qcom_display Fetching project platform/external/gtest Fetching project CyanogenMod/android_external_e2fsprogs Fetching projects: 52% (270/519) Fetching project CyanogenMod/android_packages_apps_Terminal Fetching project platform/sdk Fetching project CyanogenMod/android_external_flac Fetching project CyanogenMod/android_packages_apps_DeskClock Fetching project platform/external/esd Fetching project CyanogenMod/android_external_skia Fetching projects: 53% (276/519) Fetching project CyanogenMod/android_packages_apps_ThemeChooser Fetching project CyanogenMod/android_hardware_qcom_bt Fetching project CyanogenMod/android_external_libselinux Fetching project CyanogenMod/android_packages_apps_Profiles Fetching project CyanogenMod/android_packages_apps_Snap Fetching project CyanogenMod/android_hardware_qcom_audio Fetching project CyanogenMod/android_packages_providers_CallLogProvider Fetching projects: 54% (281/519) Fetching project platform/hardware/qcom/msm8x84 Fetching project platform/external/objenesis Fetching project platform/external/svox Fetching project platform/external/ceres-solver remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 Fetching project platform/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9 Fetching projects: 55% (286/519) Fetching project platform/hardware/ti/omap3 Fetching project CyanogenMod/android_packages_apps_Screencast Fetching project CyanogenMod/android_development Fetching project CyanogenMod/android_external_p7zip Fetching project CyanogenMod/android_hardware_libhardware_legacy Fetching projects: 56% (291/519) Fetching project platform/external/protobuf Fetching project CyanogenMod/android_hardware_intel_common_libva Fetching project CyanogenMod/android_hardware_qcom_display Fetching project platform/external/smali Fetching project platform/hardware/mediatek Fetching project CyanogenMod/android_packages_apps_SmartCardService Fetching projects: 57% (296/519) Fetching project platform/prebuilts/qemu-kernel Fetching project platform/external/eyes-free Fetching project CyanogenMod/android_packages_inputmethods_LatinIME Fetching project CyanogenMod/android_external_unzip Fetching project CyanogenMod/android_external_bash Fetching project platform/external/v8 Fetching projects: 58% (302/519) Fetching project platform/external/emma Fetching project CyanogenMod/android_packages_apps_HTMLViewer Fetching project CyanogenMod/android_external_bzip2 Fetching project platform/external/xmp_toolkit Fetching project CyanogenMod/android_hardware_qcom_audio Fetching project platform/external/libhevc Fetching projects: 59% (307/519) Fetching project CyanogenMod/android_hardware_qcom_wlan Fetching project CyanogenMod/android_build Fetching project CyanogenMod/android_packages_apps_YahooWeatherProvider Fetching project platform/external/slf4j Fetching project CyanogenMod/android_external_sepolicy Fetching projects: 60% (312/519) Fetching project platform/external/nfacct Fetching project platform/prebuilts/misc Fetching project platform/prebuilts/python/darwin-x86/2.7.5 Fetching project platform/prebuilts/eclipse Fetching project CyanogenMod/android_packages_providers_CalendarProvider Fetching projects: 61% (317/519) Fetching project platform/external/google-fonts/coming-soon Fetching project CyanogenMod/android_packages_apps_CertInstaller Fetching project platform/external/lld Fetching project CyanogenMod/android_vendor_cm Fetching project CyanogenMod/android_packages_providers_DownloadProvider Fetching projects: 62% (322/519) Fetching project CyanogenMod/android_external_strace Fetching project platform/prebuilts/android-emulator Fetching project platform/external/libutf Fetching project platform/external/dexmaker Fetching project platform/prebuilts/devtools Fetching projects: 63% (327/519) Fetching project CyanogenMod/android_hardware_qcom_display Fetching project CyanogenMod/android_packages_apps_Trebuchet Fetching project platform/external/crcalc Fetching project CyanogenMod/android_packages_apps_OpenWeatherMapProvider Fetching project platform/external/mockito Fetching project platform/developers/build Fetching project CyanogenMod/android_packages_wallpapers_MagicSmoke Fetching projects: 64% (333/519) Fetching project CyanogenMod/android_packages_apps_PhoneCommon Fetching project CyanogenMod/android_frameworks_opt_setupwizard Fetching project platform/external/roboto-fonts Fetching project CyanogenMod/ion Fetching project CyanogenMod/android_hardware_samsung_slsi_exynos5 Fetching projects: 65% (338/519) Fetching project platform/external/libphonenumber Fetching project CyanogenMod/android_external_protobuf-c Fetching project CyanogenMod/android_packages_apps_CMFileManager Fetching project CyanogenMod/android_external_okhttp Fetching project CyanogenMod/android_frameworks_opt_chips Fetching projects: 66% (343/519) Fetching project CyanogenMod/android_packages_apps_WundergroundWeatherProvider Fetching project CyanogenMod/android_packages_apps_Gallery2 Fetching project platform/external/netcat Fetching project platform/docs/source.android.com Fetching project platform/external/parameter-framework Fetching projects: 67% (348/519) Fetching project CyanogenMod/android_bootable_recovery Fetching project platform/prebuilts/clang/linux-x86/host/3.6 Fetching project CyanogenMod/android_packages_apps_Settings Fetching project CyanogenMod/android_external_dnsmasq Fetching project CyanogenMod/android_hardware_qcom_displayFetching project CyanogenMod/android_packages_apps_ExactCalculator Fetching projects: 68% (353/519) Fetching project platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8 Fetching project CyanogenMod/android_external_linux-tools-perf Fetching project platform/external/noto-fonts Fetching project platform/external/libopus Fetching project platform/developers/samples/android Fetching project CyanogenMod/android_hardware_qcom_wlan Fetching project platform/external/srtp Fetching projects: 69% (359/519) Fetching project platform/prebuilts/python/linux-x86/2.7.5 Fetching project CyanogenMod/android_hardware_qcom_gps Fetching project CyanogenMod/android_external_mm-dash Fetching project CyanogenMod/android_frameworks_opt_telephony Fetching project platform/external/eclipse-basebuilder Fetching projects: 70% (364/519) Fetching project CyanogenMod/android_packages_providers_ContactsProvider Fetching project platform/external/junit Fetching project CyanogenMod/android_hardware_intel_img_hwcomposer Fetching project CyanogenMod/android_packages_wallpapers_Galaxy4 Fetching project platform/prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.9 Fetching projects: 71% (369/519) Fetching project CyanogenMod/android_hardware_ti_omap4 Fetching project platform/external/ppp Fetching project CyanogenMod/android_frameworks_ex Fetching project CyanogenMod/android_packages_wallpapers_PhotoPhase Fetching project device/google/accessory/demokit Fetching projects: 72% (374/519) Fetching project CyanogenMod/android_external_lz4 Fetching project platform/external/valgrind Fetching project CyanogenMod/android_external_jsr305 Fetching project CyanogenMod/android_external_boringssl Fetching project CyanogenMod/android_external_apache-http Fetching projects: 73% (379/519) Fetching project platform/external/nanopb-c Fetching project CyanogenMod/android_external_fsck_msdos Fetching project CyanogenMod/android_external_libnfc-nci Fetching project CyanogenMod/android_frameworks_compile_libbcc Fetching project platform/external/libedit Fetching project platform/external/mockftpserver Fetching projects: 74% (385/519) Fetching project CyanogenMod/android_packages_apps_CMBugreport Fetching project CyanogenMod/android_hardware_intel_common_omx-components Fetching project platform/external/libcap-ng Fetching project CyanogenMod/android_packages_apps_SetupWizard Fetching project CyanogenMod/android_packages_apps_Camera2 Fetching projects: 75% (390/519) Fetching project CyanogenMod/android_hardware_qcom_display Fetching project platform/external/oauth Fetching project CyanogenMod/android_system_extras_su Fetching project CyanogenMod/android_external_htop Fetching project CyanogenMod/android_device_common Fetching project platform/prebuilts/ndk Fetching projects: 76% (395/519) Fetching project CyanogenMod/android_packages_providers_WeatherProvider Fetching project platform/external/libogg Fetching project CyanogenMod/android_packages_apps_ContactsCommon Fetching project platform/external/libusb-compat Fetching project platform/hardware/intel/sensors Fetching projects: 77% (400/519) Fetching project CyanogenMod/android_packages_apps_UnifiedEmail Fetching project device/google/accessory/arduino Fetching project CyanogenMod/android_frameworks_opt_timezonepicker Fetching project platform/external/bison Fetching project CyanogenMod/android_external_iptables Fetching projects: 78% (405/519) Fetching project CyanogenMod/android_vendor_qcom_opensource_time-services Fetching project CyanogenMod/android_external_brctl Fetching project CyanogenMod/android_packages_providers_BookmarkProvider Fetching project platform/external/eclipse-windowbuilder Fetching project CyanogenMod/android_external_libnetfilter_conntrack Fetching project CyanogenMod/android_system_media Fetching projects: 79% (411/519) Fetching project CyanogenMod/android_external_tinycompress Fetching project CyanogenMod/android_external_openssh Fetching project CyanogenMod/android_packages_apps_KeyChain Fetching project CyanogenMod/android_external_cyanogen_UICommon Fetching project CyanogenMod/android_external_libtar Fetching projects: 80% (416/519) Fetching project CyanogenMod/android_packages_providers_MediaProvider Fetching project platform/external/chromium-trace Fetching project platform/pdk Fetching project CyanogenMod/android_device_qcom_sepolicy Fetching project platform/external/scrypt Fetching projects: 81% (421/519) Fetching project platform/external/cmockery Fetching project CyanogenMod/android_frameworks_opt_bitmap Fetching project platform/external/harfbuzz_ng Fetching project CyanogenMod/android_hardware_qcom_display Fetching project platform/external/jhead Fetching project platform/external/ltrace Fetching projects: 82% (426/519) Fetching project CyanogenMod/android_frameworks_compile_mclinker Fetching project platform/external/libcxx Fetching project CyanogenMod/cm_platform_sdk Fetching project platform/platform_testing Fetching project platform/external/embunit Fetching projects: 83% (431/519) Fetching project CyanogenMod/android_external_sqlite Fetching project platform/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9 Fetching project platform/external/netperf Fetching project CyanogenMod/android_external_spongycastle Fetching project platform/external/droiddriver Fetching projects: 84% (436/519) Fetching project CyanogenMod/android_external_ant-glob Fetching project CyanogenMod/android_packages_apps_Calendar Fetching project device/generic/mini-emulator-armv7-a-neon Fetching project CyanogenMod/android_packages_apps_CMWallpapers Fetching project platform/hardware/intel/common/bd_prov Fetching project platform/external/nanohttpd Fetching projects: 85% (442/519) Fetching project platform/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 Fetching project platform/hardware/qcom/msm8x26 Fetching project CyanogenMod/android_external_libphonenumbergoogle Fetching project CyanogenMod/android_vendor_qcom_opensource_dpm Fetching project device/generic/qemu Fetching projects: 86% (447/519) Fetching project CyanogenMod/android_frameworks_opt_vcard Fetching project platform/external/conscrypt Fetching project platform/external/mp4parser Fetching project platform/hardware/intel/common/libstagefrighthw Fetching project CyanogenMod/android_libcore Fetching projects: 87% (452/519) Fetching project CyanogenMod/android_packages_apps_Tag Fetching project CyanogenMod/android_packages_apps_Messaging Fetching project CyanogenMod/android_external_stagefright-plugins Fetching project CyanogenMod/android_hardware_akm Fetching project CyanogenMod/android_packages_screensavers_Basic Fetching projects: 88% (457/519) Fetching project platform/prebuilts/maven_repo/android Fetching project CyanogenMod/android_packages_apps_BluetoothExt Fetching project platform/hardware/qcom/msm8x27 Fetching project platform/external/littlemock Fetching project platform/prebuilts/tools Fetching projects: 89% (462/519) Fetching project CyanogenMod/android_packages_apps_Dialer Fetching project platform/external/eigen Fetching project platform/external/libdrm Fetching project platform/external/apache-harmony Fetching project CyanogenMod/android_external_zip Fetching project platform/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1 Fetching projects: 90% (468/519) Fetching project CyanogenMod/android Fetching project platform/external/easymock Fetching project CyanogenMod/android_external_curl Fetching project CyanogenMod/android_system_security Fetching project CyanogenMod/android_external_json-c Fetching projects: 91% (473/519) Fetching project platform/external/libvorbis Fetching project CyanogenMod/android_hardware_ril Fetching project CyanogenMod/android_external_tcpdump Fetching project platform/cts Fetching project platform/external/proguard Fetching projects: 92% (478/519) Fetching project CyanogenMod/android_packages_apps_InCallUI Fetching project platform/external/libpcap Fetching project CyanogenMod/android_external_speex Fetching project platform/external/hyphenation-patterns Fetching project CyanogenMod/android_external_icu Fetching projects: 93% (483/519) Fetching project platform/external/vboot_reference Fetching project platform/external/iputils Fetching project platform/external/clang Fetching project CyanogenMod/android_external_libxslt Fetching project platform/external/webp Fetching projects: 94% (488/519) Fetching project platform/external/mtpd Fetching【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 并在小米4手机烧写 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
标签:
原文地址:http://blog.csdn.net/shulianghan/article/details/51591202