【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)             分类:

Android 系统开发(5)                       【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)                       【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

版权声明:本文为博主原创文章,未经博主允许不得转载。

 

目录(?)[+]

  1. 一 CyanogenMod 开发基础
    1. CyanogenMod 开发相关资料推荐
      1. 1 官方资料
      2. 2 国内 CyanogenMod 相关 高质量 博客 网站 文章
  2. 二 安装 CyanogenMod 官方提供的 Mi4 Recovery 和 ROM
    1. 基带版本号 必须满足的硬性条件
    2. 使用 fastboot 安装 Recovery
      1. 1 安装 Recovery 流程
      2. 2 fastboot 错误处理
      3. 3 注意事项
    3. 使用 Recovery 安装 CyanogenMod ROM 镜像
      1. 1 安装 CyanogenMod ROM 流程
      2. 2 拷贝 ROM 到 SD 卡中的说明
  3. 三 CyanogenMod 编译所需软硬件准备
    1. 硬件需求 与 操作系统
      1. 1 编译的硬件需求
      2. 2 操作系统需求
    2. Ubuntu 1404 系统上 CyanogenMod 源码下载编译所需依赖库安装
      1. 1 安装 Android SDK
      2. 2 32 位 和 64 位都需要的软件包
      3. 3 64 位需要的软件包
    3. Ubuntu 1510 系统上 CyanogenMod 源码下载编译所需依赖库安装
    4. Ubuntu 1604 系统上 CyanogenMod 源码下载编译所需依赖库安装
    5. CyanogenMod 版本 编译对应的 Java 版本
    6. Ubuntu 1604 及 后续 Ubuntu 版本的 JDK 选择
  4. 四 CyanogenMod 130 Android 源码下载
    1. 创建相关目录
      1. 1 创建目录步骤
      2. 2 创建过程的终端输出
    2. 获取 repo 脚本
      1. 1 获取 repo 脚本步骤
      2. 2 获取 repo 脚本的终端输出
    3. 配置 repo 环境变量
    4. 初始化 CyanogenMod 源码仓库
      1. 1 初始化 CyanogenMod 源码仓库步骤
      2. 2 初始化过程中的出错处理
      3. 3 初始化 CyanogenMod 源码仓库的整个终端命令行输出
    5. 使用 repo 正式下载 Android 源码
      1. 1 源码下载 repo 命令简介
      2. 2 源码下载命令 及 下载结果
      3. 3 repo sync 下载过程的终端输出
    6. 获取预置的应用 编译 CM11 及 11 以下的版本时执行 本次编译的是 CM13 不用执行该步骤
      1. 1 获取预置应用
      2. 2 获取预置应用产生的结果
    7. 下载 小米4 手机设备相关 源码
      1. 1 设置环境变量
      2. 2 下载设备相关源码
      3. 3 出错处理
  5. 五 提取 Mi 4 设备专有文件 Extract Propertietary Blobs
    1. 提取专有文件 Extract Propertietary Blobs 标准操作 100出错
      1. 1 标准流程
      2. 2 adb 错误出错处理
      3. 3 remote object  does not exist 错误出错处理
      4. 4 相关注意事项
    2. 文件需求详细说明
      1. 1 需要提取的文件清单 只是清单 不能使用该清单直接提取
      2. 2 CyanogenMod 130 系统中能找到的文件 及正确文件位置 该脚本用于 CM 130 操作系统直接提取文件
      3. 3 MIUI 中单独提取的 4 个文件
      4. 4 对于需要修改路径的 17 个文件特殊说明
      5. 5 无法找到的文件
    3. 直接从 ROM 中提取 可不看 我没有使用这种方法 提供参考
  6. 六 CyanogenMod 130 Android 源码编译
    1. 开启缓存 开始编译
      1. 1 设置环境变量
      2. 2 开始编译
      3. 3 编译缓存简介
      4. 4 保持 ccache 独立性简介
    2. 常见编译错误
      1. 1 编译不执行错误
      2. 2 命令无法找到错误
      3. 3 编译内存不足
      4. 4 没有 Manifest 文件错误
      5. 5 JDK 版本错误
      6. 6 文件路径错误 No rule to make target vendorxiaomicancroproprietaryappqcrilmsgtunnelapk
      7. 7 文件路径错误 No rule to make target vendorxiaomicancroproprietaryappshutdownlistenerapk
      8. 8 没有文件错误  No rule to make target vendorxiaomicancroproprietaryappcomqualcommlocationapk
  7. 四 安装 ROM
 

作者 : 韩曙亮

转载请注明出处 : http://blog.csdn.net/shulianghan/article/details/51592930

手机的两种模式 : 在下面有详细的图片示例;

-- Recovery 模式 : 音量键增加 + 电源键, 长按上述组合键, 看到 "MI" 的 LOGO 后即进入 Recovery 模式;

-- Fastboot 模式 : 音量键减小 + 电源键, 长按上述组合键, 看到 "FASTBOOT" 后, 即 进入 FASTBOOT 模式;

一. CyanogenMod 开发基础

1. CyanogenMod 开发相关资料推荐

(1) 官方资料

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;

-- 小米4 CyanogenMod Recovery 和 ROM 下载地址 : http://download.cyanogenmod.org/?device=cancro;

-- CyanogenMod Recovery 简介地址https://wiki.cyanogenmod.org/w/All_About_Recovery_Images;

-- 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/;

-- Sdata2img 工具 (将 ROM 中的 img 转化成文件): https://github.com/xpirt/sdat2img;

(2) 国内 CyanogenMod 相关 高质量 博客 网站 文章

国内相关博客 :

-- 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;

-- Android 第三方ROM CyanogenMod 源码下载,编译,刷机: http://blog.csdn.net/androiddevelop/article/details/8661120;

-- 为小米4与小米3 Mi3 Mi4编译Cyanogenmod 12.1与13.0 (CM12与CM13) 的步骤以及错误解决 : http://blog.csdn.net/sy373466062/article/details/51554341;

-- Android 源码部分编译 : http://bbs.csdn.net/topics/390128647;

二. 安装 CyanogenMod 官方提供的 Mi4 Recovery 和 ROM

CyanogenMod 官方提供的教程 : https://wiki.cyanogenmod.org/w/Install_CM_for_cancro;

手机的两种模式 :

-- Recovery 模式 : 音量键增加 + 电源键, 关机状态下 长按上述组合键, 看到 "MI" 的 LOGO 后即进入 Recovery 模式;

-- Fastboot 模式 : 音量键减小 + 电源键, 关机状态下 长按上述组合键, 看到 "FASTBOOT" 后, 即 进入 FASTBOOT 模式;

-- TeamWin Recovery 图片 :

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机) 【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

-- CyanogenMod Recovery 模式图片 :

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

-- Fastboot 模式图片 :

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

1. 基带版本号 必须满足的硬性条件

基带版本号条件 :

-- 条件需求 : 安装 CM 13.0 的 ROM 系统, 必须满足 基带版本号为 MPSS.DI.4.0.xxxxx ;

-- 基带版本号升级 : 如果基带版本号是 MPSS.DI.3.0.xxxxx, 访问 http://bit.ly/cancroCMBaseband 网站学习如何升级基带版本 ;

-- 查看基带版本号方法 : 设置 -> 关于手机 -> 基带版本号;

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

2. 使用 fastboot 安装 Recovery

推荐文章 :

-- Recovery 简介地址 : https://wiki.cyanogenmod.org/w/All_About_Recovery_Images;

(1) 安装 Recovery 流程

安装 Recovery 流程 :

-- 1. 工具软件 : 确保电脑上已经安装并能运行 adb 和 fastboot 工具;

-- 2. 下载 Recovery : 可以到 https://dl.twrp.me/cancro/twrp-3.0.2-0-cancro.img 页面下载 Recovery 镜像, 或者从 下载一个最新的 Recovery 镜像到你的手机中;

-- 3. 连接手机 : 通过 USB 将小米4 手机连接到电脑上;

-- 4. 执行路径 : 确保 fastboot 在 PATH 环境变量中, 或者让 fastboot 和 Recovery 在同一目录中;

-- 5. 手机进入 fastboot 模式 : 在 PC 中打开 cmd (Windows) 或者 terminal (Linux & MAC) 终端, 方法一 : 通过执行 adb reboot bootloader 命令, 重启设备进入 fastboot 模式, 该命令可能返回 reboot bootloader is disabled 错误; 方法二 : 小米4 关机后, 按下音量键- + 电源键, 进入 fastboot 模式;

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

-- 6. PC 识别手机 : 一旦设备进入 fastboot 模式, 在 PC 端通过使用 fastboot devices 命令查看 PC 是否已经识别了手机;

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

-- 7. 开始烧写 : 通过执行 fastboot flash recovery your_recovery_image.img 命令, 将 Recovery 烧写到你的设备中, 其中的 your_recovery_image.img 是 下载的 Recovery 镜像文件名称;

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

-- 8. 验证过程及一些注意事项 : 一旦烧写过程执行成功, 重启手机进入 Recovery 验证是否安装成功;

-- Recovery 模式 : 音量键增加 + 电源键, 关机状态下 长按上述组合键, 看到 "MI" 的 LOGO 后即进入 Recovery 模式;

(2) fastboot 错误处理

使用 fastboot devices 命令错误排查 :

-- 1. 没有序列号 : 如果你没有看到设备序列号, 反而看到 "<waiting for device>" 信息, fastboot 没有配置好, 查看 fastboot 文档并配置, https://wiki.cyanogenmod.org/w/Doc:_fastboot_intro;

-- 2. 权限相关错误 : 如果看到 no permissions fastboot 错误, 确保 UDEV 规则被正确设置了, 设置指导页面 https://wiki.cyanogenmod.org/w/UDEV;

(3) 注意事项

注意事项 :

-- 1. 进入 Recovery 方式 : 进入 Recovery 方式 关机 后 按下 音量增加 + 电源键;

-- 2. Recovery 被覆盖 : 注意 一些 ROM 再启动时 会覆盖 Recovery, 如果你不想马上进入 Recovery 去安装 CyanogenMod 系统, 要明确的知道这个操作会刷掉 Recovery 让手机又变成砖机;

3. 使用 Recovery 安装 CyanogenMod ROM 镜像

推荐文章 :

-- Recovery 简介地址 : https://wiki.cyanogenmod.org/w/All_About_Recovery_Images;

(1) 安装 CyanogenMod ROM 流程

安装 ROM 流程 :

-- 1. adb 安装 : 确保电脑上的 adb 工具可以正常使用, 做安卓的就不多说了;

-- 2. 下载 ROM : 到 http://download.cyanogenmod.org/?device=cancro 页面下载你想要安装的 ROM 镜像;

-- 3. 将 ROM 放到 SD 卡中 : 使用 adb push filename.zip /sdcard/ 命令, 将下载的 zip 压缩包放置到 sd 卡的根目录;

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

-- 4. 进入 Recovery 模式 : 如果还没有进入 Recovery 模式, 重启进入 Recovery 模式 (音量键- + 电源键);

-- 5. 选择 Recovery 选项 : 在 TeamWin 的 Recovery 中, 通过指定的按钮操作菜单选项;

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

-- 6. 创建备份 (可选步骤) : 选择 Recovery 中的 "Backup" 选项, 将现在的 ROM 备份一下, 以免 ROM 安装失败导致砖机, 下面是备份过程;

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机) 【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

-- 7. 擦除 ROM : 选择菜单中的  "Wipe" 选项擦除 ROM, 然后选择 "Factory Reset" 恢复出厂设置;

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

-- 8. 开始安装 : 选择 "Install" 选项, 进入安装步骤;

-- 9. 选择 sd 卡 rom : 在 /sdcard 中选择 CyanogenMod 的 zip 包;

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

-- 10. 根据提示安装 : 根据屏幕上的提示, 安装 ROM 包;

-- 11. 安装其它包 (可选步骤) : 如果你希望安装其它安装包, 在安装完 CyanogenMod ROM 包之后, 然后在这个基础上安装随后的其它包;

-- 12. 完成安装 : 一旦安装完成, 返回主菜单, 选择 "Reboot" 选项, 然后选择 "System", 设备会重启并进入 CyanogenMod 系统;

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

(2) 拷贝 ROM 到 SD 卡中的说明

拷贝 ROM 到 SD 卡的途径说明 :

-- 命令不是必须的 : 拷贝 zip 包到 SD 卡中, 可以使用其它途径, 不是必须使用 adb push filename.zip /sdcard/ 命令将 zip 包拷贝到 SD 卡中;

-- 使用命令好处 : 使用命令安装的方法在所有的 Android 设备 以及 在正常模式 和  Recovery 模式都可以使用;

三. CyanogenMod 编译所需软硬件准备

相关链接推荐 :

-- Android 官方的 源码编译依赖库安装地址 (访问需代理) : http://source.android.com/source/initializing.html;

-- CyanogenMod 源码编译依赖库安装地址 : https://wiki.cyanogenmod.org/w/Build_for_cancro#Install_the_Build_Packages;

1. 硬件需求 与 操作系统

(1) 编译的硬件需求

硬件需求 :

-- 手机需求 : 小米3 (Mi 3) 或 小米4 (Mi 4) 手机;

-- 电脑需求 : 最新的电脑 (Linux, MAC OS, Windows), 有 8G 及以上的 RAM 内存 (内存越少, 编译时间越长), 100G 以上的硬盘 (越多越好, 如果为多个设备编译 或者 打开 ccache 需要更多硬盘), 使用 SSD 固态硬盘 会加速编译过程;

-- USB 接口 : 兼容 USB 接口的 Mi 3 或 Mi 4 手机, 一般是 micro USB 接口, 就是最常用的 USB 接口;

-- 网络需求 : 能够连接网络, 有足够带宽;

-- 知识需求 : 熟悉基础的 Android 操作和术语, 如果你曾经在其它手机上安装 ROM, 并熟悉 Recovery, 是非常有帮助的; 知道基本的 shell 命令行概念也是非常有用的;

(2) 操作系统需求

操作系统需求 : 如果你不熟悉 Linux, 这是一个很棒的机会去学习它;

-- 使用虚拟机 : 到 https://wiki.cyanogenmod.org/w/Doc:_using_virtual_machines 界面下载一个虚拟机, 如 VirtualBox , 安装一个 Ubuntu 14.04 版本;

-- Ubuntu 版本 : 64 位的都可以编译通过, 但是 推荐使用 Ubuntu 14.04, 15.10, 16.04 等最新的版本;

-- 关于 32 位系统 : CyanogenMod 6 以及之前的系统可以使用 32 位 Ubuntu 进行编译, 对于 CyanogenMod 10.1 可以设置 BUILD_HOST_32bit=1 环境使用 32 位 Ubuntu 编译, 但是 CyanogenMod 10.2 之后的版本必须使用 64位 Ubuntu 进行编译, 32 位便无法使用了;

2. Ubuntu 14.04 系统上 CyanogenMod 源码下载编译所需依赖库安装

Ubuntu 14.04 系统安装 CyanogenMod 编译依赖库 :

-- 1. 32 和 64 位系统必须安装的软件库 : 使用命令 sudo 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 安装上述依赖库;

-- 2. 64 位系统安装的软件库 : 使用命令 sudo apt-get install g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev 命令安装上述依赖库;

(1) 安装 Android SDK

安装 SDK :

-- SDK 需求 : 如果之前没有安装 adb 和 fastboot 工具, 先安装一个 Android SDK, 之前说的 adb 和 fastboot 就在 SDK 的 platform-tools 目录中;

(2) 32 位 和 64 位都需要的软件包

安装 32 64 位都需要的软件包 :

-- 编译需要的软件包 :

  1. 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
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
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

-- 安装上述软件包 : 使用 sudo 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 命令安装这些软件包;

-- 安装成功 : 该命令行是安装完成后, 在执行一次安装命令, 返回所有软件包安装成功的信息, 安装过程几千行命令行输出, 就不贴了.

  1. 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
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. bison is already the newest version.
  6. build-essential is already the newest version.
  7. flex is already the newest version.
  8. gperf is already the newest version.
  9. libesd0-dev is already the newest version.
  10. libncurses5-dev is already the newest version.
  11. xsltproc is already the newest version.
  12. zip is already the newest version.
  13. zlib1g-dev is already the newest version.
  14. liblz4-tool is already the newest version.
  15. libwxgtk2.8-dev is already the newest version.
  16. lzop is already the newest version.
  17. maven is already the newest version.
  18. pngcrush is already the newest version.
  19. schedtool is already the newest version.
  20. git is already the newest version.
  21. gnupg is already the newest version.
  22. libsdl1.2-dev is already the newest version.
  23. libxml2 is already the newest version.
  24. libxml2 set to manually installed.
  25. libxml2-utils is already the newest version.
  26. openjdk-7-jdk is already the newest version.
  27. squashfs-tools is already the newest version.
  28. curl is already the newest version.
  29. 0 upgraded, 0 newly installed, 0 to remove and 349 not upgraded.
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
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;

-- 源列表示例 : 反正我用的这个源列表, 东西全部下载下来了;

  1. # deb cdrom:[Ubuntu 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty main restricted
  2. # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
  3. # newer versions of the distribution.
  4. deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
  5. deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
  6. ## Major bug fix updates produced after the final release of the
  7. ## distribution.
  8. deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
  9. deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
  10. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
  11. ## team. Also, please note that software in universe WILL NOT receive any
  12. ## review or updates from the Ubuntu security team.
  13. deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
  14. deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
  15. deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
  16. deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
  17. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
  18. ## team, and may not be under a free licence. Please satisfy yourself as to
  19. ## your rights to use the software. Also, please note that software in
  20. ## multiverse WILL NOT receive any review or updates from the Ubuntu
  21. ## security team.
  22. deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
  23. deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
  24. deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
  25. deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
  26. ## N.B. software from this repository may not have been tested as
  27. ## extensively as that contained in the main release, although it includes
  28. ## newer versions of some applications which may provide useful features.
  29. ## Also, please note that software in backports WILL NOT receive any review
  30. ## or updates from the Ubuntu security team.
  31. deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
  32. deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
  33. deb http://security.ubuntu.com/ubuntu trusty-security main restricted
  34. deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
  35. deb http://security.ubuntu.com/ubuntu trusty-security universe
  36. deb-src http://security.ubuntu.com/ubuntu trusty-security universe
  37. deb http://security.ubuntu.com/ubuntu trusty-security multiverse
  38. deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
  39. ## Uncomment the following two lines to add software from Canonical's
  40. ## 'partner' repository.
  41. ## This software is not part of Ubuntu, but is offered by Canonical and the
  42. ## respective vendors as a service to Ubuntu users.
  43. # deb http://archive.canonical.com/ubuntu trusty partner
  44. # deb-src http://archive.canonical.com/ubuntu trusty partner
  45. ## This software is not part of Ubuntu, but is offered by third-party
  46. ## developers who want to ship their latest software.
  47. deb http://extras.ubuntu.com/ubuntu trusty main
  48. deb-src http://extras.ubuntu.com/ubuntu trusty main
  49. deb http://us.archive.ubuntu.com/ubuntu/ trusty-proposed restricted multiverse main universe
  50. ## zhongkeda
  51. deb http://mirrors.ustc.edu.cn/ubuntu/ precise-updates main restricted
  52. deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise-updates main restricted
  53. deb http://mirrors.ustc.edu.cn/ubuntu/ precise universe
  54. deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise universe
  55. deb http://mirrors.ustc.edu.cn/ubuntu/ precise-updates universe
  56. deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise-updates universe
  57. deb http://mirrors.ustc.edu.cn/ubuntu/ precise multiverse
  58. deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise multiverse
  59. deb http://mirrors.ustc.edu.cn/ubuntu/ precise-updates multiverse
  60. deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise-updates multiverse
  61. deb http://mirrors.ustc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
  62. deb-src http://mirrors.ustc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
  63. ## souhu
  64. deb http://mirrors.sohu.com/ubuntu/ precise-updates main restricted
  65. deb-src http://mirrors.sohu.com/ubuntu/ precise-updates main restricted
  66. deb http://mirrors.sohu.com/ubuntu/ precise universe
  67. deb-src http://mirrors.sohu.com/ubuntu/ precise universe
  68. deb http://mirrors.sohu.com/ubuntu/ precise-updates universe
  69. deb-src http://mirrors.sohu.com/ubuntu/ precise-updates universe
  70. deb http://mirrors.sohu.com/ubuntu/ precise multiverse
  71. deb-src http://mirrors.sohu.com/ubuntu/ precise multiverse
  72. deb http://mirrors.sohu.com/ubuntu/ precise-updates multiverse
  73. deb-src http://mirrors.sohu.com/ubuntu/ precise-updates multiverse
  74. deb http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse
  75. deb-src http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse
  76. ## wangyi
  77. deb http://mirrors.163.com/ubuntu/ precise-updates main restricted
  78. deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted
  79. deb http://mirrors.163.com/ubuntu/ precise universe
  80. deb-src http://mirrors.163.com/ubuntu/ precise universe
  81. deb http://mirrors.163.com/ubuntu/ precise-updates universe
  82. deb-src http://mirrors.163.com/ubuntu/ precise-updates universe
  83. deb http://mirrors.163.com/ubuntu/ precise multiverse
  84. deb-src http://mirrors.163.com/ubuntu/ precise multiverse
  85. deb http://mirrors.163.com/ubuntu/ precise-updates multiverse
  86. deb-src http://mirrors.163.com/ubuntu/ precise-updates multiverse
  87. deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
  88. deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
# 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

(3) 64 位需要的软件包

64 位机器需要的软件包 :

-- 软件包列表 :

  1. g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev

-- 安装命令 : sudo apt-get install g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev ;

-- 安装成功 : 该命令行是安装完成后, 在执行一次安装命令, 返回所有软件包安装成功的信息, 安装过程几千行命令行输出, 就不贴了.

  1. root@ubuntu:~# apt-get install g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. g++-multilib is already the newest version.
  6. gcc-multilib is already the newest version.
  7. lib32ncurses5-dev is already the newest version.
  8. lib32readline-gplv2-dev is already the newest version.
  9. lib32z1-dev is already the newest version.
  10. 0 upgraded, 0 newly installed, 0 to remove and 349 not upgraded.
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
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.

3. Ubuntu 15.10 系统上 CyanogenMod 源码下载编译所需依赖库安装

Ubuntu 15.10 系统安装 CyanogenMod 编译依赖库 : 本次编译使用的是 Ubuntu 14.04 这里没有真实安装;

-- 1. 32 和 64 位系统必须安装的软件库 : 使用命令 sudo 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 安装上述依赖库;

-- 2. 64 位系统安装的软件库 : 使用命令 sudo apt-get install g++-multilib gcc-multilib lib32ncurses5-dev lib32readline6-dev lib32z1-dev 命令安装上述依赖库;

4. Ubuntu 16.04 系统上 CyanogenMod 源码下载编译所需依赖库安装

Ubuntu 16.04 系统安装 CyanogenMod 编译依赖库 : 本次编译使用的是 Ubuntu 14.04 这里没有真实安装;

-- 1. 32 和 64 位系统必须安装的软件库 : 使用命令 sudo apt-get install bison build-essential curl flex git gnupg gperf libesd0-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop maven openjdk-8-jdk pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev 安装上述依赖库;

-- 2. 64 位系统安装的软件库 : 使用命令 sudo apt-get install g++-multilib gcc-multilib lib32ncurses5-dev lib32readline6-dev lib32z1-dev 安装上述依赖库;

5. CyanogenMod 版本 编译对应的 Java 版本

CyanogenMod 与 JDK 对应关系 :

-- 1. CyanogenMod 7 - 9 : Sun/Oracle Java SE 1.6; -- 2. CyanogenMod 10.1 : Sun/Oracle Java SE 1.6 or 1.7; -- 3. CyanogenMod 10.2 - 11.0 : Sun/Oracle Java SE 1.6 or 1.7 (OpenJDK 1.7 也可以使用, 但是编译系统时会出现警告); -- 4. CyanogenMod 12.0 - 13.0 : OpenJDK 1.7;

6. Ubuntu 16.04 及 后续 Ubuntu 版本的 JDK 选择

Ubuntu 16.04 新版本 JDK 选择 :

-- 出现的问题 : OpenJDK 1.7 被从 Ubuntu 官方源中删除了, 只能有下面两种解决方案;

-- 1. 下载 OpenJDK 1.7 并安装 : 下载地址 https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa;

-- 2. 打开 实验的 OpenJDK 1.8 的 CyanogenMod 13 支持 : 支持方式, 编辑 $HOME/.bashrc 文件, 添加 export EXPERIMENTAL_USE_JAVA8=true ;

四. CyanogenMod 13.0 Android 源码下载

1. 创建相关目录

(1) 创建目录步骤

创建相关目录 :

-- 1. 创建 bin 目录 : 使用 mkdir -p ~/bin 命令;

-- 2. 创建 android/system 目录 : 使用 mkdir -p ~/android/system 命令;

(2) 创建过程的终端输出

创建过程的终端输出 :

-- 创建过程 :

  1. octopus@octopus:~$ mkdir -p ~/bin
  2. octopus@octopus:~$ ls
  3. bin  develop  examples.desktop  jdk-8u25-linux-i586.tar.gz  vmware_tools  公共的  模板  视频  图片  文档  下载  音乐  桌面
  4. octopus@octopus:~$ mkdir -p ~/android/system
  5. octopus@octopus:~$ ls
  6. android  bin  develop  examples.desktop  jdk-8u25-linux-i586.tar.gz  vmware_tools  公共的  模板  视频  图片  文档  下载  音乐  桌面
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
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 公共的 模板 视频 图片 文档 下载 音乐 桌面

2. 获取 repo 脚本

(1) 获取 repo 脚本步骤

设置 repo 脚本 : 下载 repo 脚本, 并使 repo 脚本可执行 (赋予执行权限).

-- 1. 获取 repo 脚本 : 使用 curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo 命令;

-- 2. 为 repo 脚本添加执行权限 : 使用 chmod a+x ~/bin/repo 命令;

(2) 获取 repo 脚本的终端输出

获取 repo 脚本过程输出 :

-- 执行过程 :

  1. octopus@octopus:~$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
  2. % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  3. Dload  Upload   Total   Spent    Left  Speed
  4. 100 26223  100 26223    0     0   6671      0  0:00:03  0:00:03 --:--:--  6674
  5. octopus@octopus:~$ chmod a+x ~/bin/repo
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
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

3. 配置 repo 环境变量

配置 bin 目录到环境变量中 : 在 Ubuntu 14.04 LTS 中, Ubuntu 默认已经将 bin 目录添加到了 PATH 路径中, 如果没有, 请自行添加;

-- 配置方法 : 在 ~/.profile 中配置, 执行 sudo gedit .profile 命令, 即可打开该文件, 注意加上 sudo 权限.

-- 配置内容 :

  1. # set PATH so it includes user's private bin if it exists
  2. if [ -d "$HOME/bin" ] ; then
  3. PATH="$HOME/bin:$PATH"
  4. fi
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi

4. 初始化 CyanogenMod 源码仓库

(1) 初始化 CyanogenMod 源码仓库步骤

初始化 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" ;

  1. octopus@octopus:~/android/system$ git config --global user.email "octopus_truth@163.com"
  2. octopus@octopus:~/android/system$ git config --global user.name "Shuliang Han"
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
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 网站的资源了;

-- 3.进入 ~/android/system 目录 : 执行 repo init -u https://github.com/CyanogenMod/android.git -b cm-13.0 命令, 进入该目录, 一定要在该目录执行 初始化步骤, 否则在哪个目录执行初始化命令, 源码就下载到哪里;

-- 4. 初始化命令 : 执行 命令;

-- 执行完毕标识 : 出现以下内容说明执行成功;

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

(2) 初始化过程中的出错处理

初始化 CyanogenMod 源码仓库期间出现的错误处理 :

-- 出现错误 1 : 没有安装 python 脚本执行的环境;

  1. octopus@octopus:~/android/system$ repo init -u https://github.com/CyanogenMod/android.git -b cm-13.0
  2. 程序“repo”尚未安装。 您可以使用以下命令安装:
  3. sudo apt-get install phablet-tools
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
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: 一些资源被中国防火墙屏蔽;

  1. <span style="font-family: Courier New;">fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
  2. fatal: error [Errno 101] Network is unreachable
  3. </span>
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error [Errno 101] Network is unreachable

-- 处理错误 2 : 长城防火墙把 Google 所有的先关网站都屏蔽了, 日了泰迪了, 没办法 开 VPN 解决, 一年 几百块钱的 VPN 钱就不要省了;

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

-- 出现错误 3 : 没有设置 git 的绑定邮箱 和 用户名;

  1. Traceback (most recent call last):
  2. File "/home/octopus/android/system/.repo/repo/main.py", line 531, in <module>
  3. _Main(sys.argv[1:])
  4. File "/home/octopus/android/system/.repo/repo/main.py", line 507, in _Main
  5. result = repo._Run(argv) or 0
  6. File "/home/octopus/android/system/.repo/repo/main.py", line 180, in _Run
  7. result = cmd.Execute(copts, cargs)
  8. File "/home/octopus/android/system/.repo/repo/subcmds/init.py", line 395, in Execute
  9. self._ConfigureUser()
  10. File "/home/octopus/android/system/.repo/repo/subcmds/init.py", line 289, in _ConfigureUser
  11. name  = self._Prompt('Your Name', mp.UserName)
  12. File "/home/octopus/android/system/.repo/repo/project.py", line 703, in UserName
  13. self._LoadUserIdentity()
  14. File "/home/octopus/android/system/.repo/repo/project.py", line 716, in _LoadUserIdentity
  15. u = self.bare_git.var('GIT_COMMITTER_IDENT')
  16. File "/home/octopus/android/system/.repo/repo/project.py", line 2650, in runner
  17. p.stderr))
  18. error.GitError: manifests var:
  19. *** Please tell me who you are.
  20. Run
  21. git config --global user.email "you@example.com"
  22. git config --global user.name "Your Name"
  23. to set your account's default identity.
  24. Omit --global to set the identity only in this repository.
  25. fatal: unable to auto-detect email address (got 'octopus@octopus.(none)')
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
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 :

  1. octopus@octopus:~/android/system$ git config --global user.email "octopus_truth@163.com"
  2. octopus@octopus:~/android/system$ git config --global user.name "Shuliang Han"
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
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) 初始化 CyanogenMod 源码仓库的整个终端命令行输出

完整的执行过程 - 终端输出 :

  1. gpg: 钥匙环‘/home/octopus/.repoconfig/gnupg/secring.gpg’已建立
  2. gpg: 钥匙环‘/home/octopus/.repoconfig/gnupg/pubring.gpg’已建立
  3. gpg: /home/octopus/.repoconfig/gnupg/trustdb.gpg:建立了信任度数据库
  4. gpg: 密钥 920F5C65:公钥“Repo Maintainer <repo@android.kernel.org>”已导入
  5. gpg: 密钥 692B382C:公钥“Conley Owens <cco3@android.com>”已导入
  6. gpg: 合计被处理的数量:2
  7. gpg:               已导入:2  (RSA: 1)
  8. Get https://gerrit.googlesource.com/git-repo/clone.bundle
  9. ... A new repo command ( 1.22) is available.
  10. ... You should upgrade soon:
  11. cp /home/octopus/android/system/.repo/repo/repo /usr/bin/repo
  12. Get https://github.com/CyanogenMod/android.git
  13. % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  14. Dload  Upload   Total   Spent    Left  Speed
  15. 0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
  16. curl: (22) The requested URL returned error: 404 Not Found
  17. Server does not provide clone.bundle; ignoring.
  18. remote: Counting objects: 3845, done.
  19. remote: Total 3845 (delta 0), reused 0 (delta 0), pack-reused 3845
  20. 接收对象中: 100% (3845/3845), 1.26 MiB | 58.00 KiB/s, done.
  21. 处理 delta 中: 100% (1311/1311), done.
  22. 来自 https://github.com/CyanogenMod/android
  23. * [新分支]          cm-10.1    -> origin/cm-10.1
  24. * [新分支]          cm-10.2    -> origin/cm-10.2
  25. * [新分支]          cm-11.0    -> origin/cm-11.0
  26. * [新分支]          cm-12.0    -> origin/cm-12.0
  27. * [新分支]          cm-12.1    -> origin/cm-12.1
  28. * [新分支]          cm-13.0    -> origin/cm-13.0
  29. * [新分支]          cm-7.0.0   -> origin/cm-7.0.0
  30. * [新分支]          cm-7.0.1   -> origin/cm-7.0.1
  31. * [新分支]          cm-7.0.2.1 -> origin/cm-7.0.2.1
  32. * [新分支]          cm-7.0.3   -> origin/cm-7.0.3
  33. * [新分支]          cm-9.1.0   -> origin/cm-9.1.0
  34. * [新分支]          eclair     -> origin/eclair
  35. * [新分支]          froyo      -> origin/froyo
  36. * [新分支]          froyo-stable -> origin/froyo-stable
  37. * [新分支]          gb-release-7.2 -> origin/gb-release-7.2
  38. * [新分支]          gingerbread -> origin/gingerbread
  39. * [新分支]          gingerbread-release -> origin/gingerbread-release
  40. * [新分支]          ics        -> origin/ics
  41. * [新分支]          ics-release -> origin/ics-release
  42. * [新分支]          jellybean  -> origin/jellybean
  43. * [新分支]          jellybean-stable -> origin/jellybean-stable
  44. * [新分支]          mr1.1-staging -> origin/mr1.1-staging
  45. * [新分支]          shipping/cm-11.0 -> origin/shipping/cm-11.0
  46. * [新分支]          stable/cm-10.2 -> origin/stable/cm-10.2
  47. * [新分支]          stable/cm-11.0 -> origin/stable/cm-11.0
  48. * [新分支]          stable/cm-11.0-XNF8Y -> origin/stable/cm-11.0-XNF8Y
  49. * [新分支]          stable/cm-11.0-XNF9X -> origin/stable/cm-11.0-XNF9X
  50. * [新分支]          stable/cm-11.0-XNG2S -> origin/stable/cm-11.0-XNG2S
  51. * [新分支]          stable/cm-11.0-XNG3C -> origin/stable/cm-11.0-XNG3C
  52. * [新分支]          stable/cm-12.0-YNG1I -> origin/stable/cm-12.0-YNG1I
  53. * [新分支]          stable/cm-12.0-YNG1T -> origin/stable/cm-12.0-YNG1T
  54. * [新分支]          stable/cm-12.0-YNG1TA -> origin/stable/cm-12.0-YNG1TA
  55. * [新分支]          stable/cm-12.0-YNG3C -> origin/stable/cm-12.0-YNG3C
  56. * [新分支]          stable/cm-12.0-YNG4N -> origin/stable/cm-12.0-YNG4N
  57. * [新分支]          stable/cm-12.1-YOG3C -> origin/stable/cm-12.1-YOG3C
  58. * [新分支]          stable/cm-12.1-YOG4P -> origin/stable/cm-12.1-YOG4P
  59. * [新分支]          stable/cm-12.1-YOG7D -> origin/stable/cm-12.1-YOG7D
  60. * [新分支]          stable/cm-13.0-ZNH0E -> origin/stable/cm-13.0-ZNH0E
  61. * [新分支]          stable/cm-13.0-ZNH2K -> origin/stable/cm-13.0-ZNH2K
  62. * [新分支]          staging/cm-12.0-caf -> origin/staging/cm-12.0-caf
  63. * [新分支]          staging/cm-12.1 -> origin/staging/cm-12.1
  64. * [新分支]          staging/cm-13.0+r22 -> origin/staging/cm-13.0+r22
  65. * [新分支]          themes-exp -> origin/themes-exp
  66. * [新tag]           cm-10.1-M1 -> cm-10.1-M1
  67. * [新tag]           cm-10.1-M2 -> cm-10.1-M2
  68. * [新tag]           cm-10.1-M3 -> cm-10.1-M3
  69. * [新tag]           cm-10.1.0  -> cm-10.1.0
  70. * [新tag]           cm-10.1.0-RC1 -> cm-10.1.0-RC1
  71. * [新tag]           cm-10.1.0-RC2 -> cm-10.1.0-RC2
  72. * [新tag]           cm-10.1.0-RC3 -> cm-10.1.0-RC3
  73. * [新tag]           cm-10.1.0-RC4 -> cm-10.1.0-RC4
  74. * [新tag]           cm-10.1.0-RC5 -> cm-10.1.0-RC5
  75. * [新tag]           cm-10.1.1  -> cm-10.1.1
  76. * [新tag]           cm-10.1.2  -> cm-10.1.2
  77. * [新tag]           cm-10.1.3  -> cm-10.1.3
  78. * [新tag]           cm-10.1.3-RC1 -> cm-10.1.3-RC1
  79. * [新tag]           cm-10.1.3-RC2 -> cm-10.1.3-RC2
  80. * [新tag]           cm-10.2-M1 -> cm-10.2-M1
  81. * [新tag]           cm-10.2.0  -> cm-10.2.0
  82. * [新tag]           cm-10.2.1  -> cm-10.2.1
  83. * [新tag]           cm-10.2.1.1 -> cm-10.2.1.1
  84. * [新tag]           cm-11.0-XNPH05Q-bacon-5229c4ef56 -> cm-11.0-XNPH05Q-bacon-5229c4ef56
  85. * [新tag]           cm-11.0-XNPH05Q-tomato-9828f8e9cc -> cm-11.0-XNPH05Q-tomato-9828f8e9cc
  86. * [新tag]           cm-11.0-XNPH22R-bacon-03d77315ea -> cm-11.0-XNPH22R-bacon-03d77315ea
  87. * [新tag]           cm-11.0-XNPH25R-bacon-d22b777afa -> cm-11.0-XNPH25R-bacon-d22b777afa
  88. * [新tag]           cm-11.0-XNPH30O-bacon-4f280f505a -> cm-11.0-XNPH30O-bacon-4f280f505a
  89. * [新tag]           cm-11.0-XNPH33R-bacon-3628510d76 -> cm-11.0-XNPH33R-bacon-3628510d76
  90. * [新tag]           cm-11.0-XNPH44S-bacon-5fa8c79c0b -> cm-11.0-XNPH44S-bacon-5fa8c79c0b
  91. * [新tag]           cm-5.0.6   -> cm-5.0.6
  92. * [新tag]           cm-5.0.7   -> cm-5.0.7
  93. * [新tag]           cm-5.0.7-ds -> cm-5.0.7-ds
  94. * [新tag]           cm-6.0.0   -> cm-6.0.0
  95. * [新tag]           cm-6.0.0-rc1 -> cm-6.0.0-rc1
  96. * [新tag]           cm-7.0.0   -> cm-7.0.0
  97. * [新tag]           cm-7.0.1   -> cm-7.0.1
  98. * [新tag]           cm-7.0.2.1 -> cm-7.0.2.1
  99. * [新tag]           cm-7.0.3   -> cm-7.0.3
  100. * [新tag]           cm-7.1.0   -> cm-7.1.0
  101. ... A new repo command ( 1.22) is available.
  102. ... You should upgrade soon:
  103. cp /home/octopus/android/system/.repo/repo/repo /usr/bin/repo
  104. Your identity is: Shuliang Han <octopus_truth@163.com>
  105. If you want to change this, please re-run 'repo init' with --config-name
  106. Testing colorized output (for 'repo diff', 'repo status'):
  107. black    red      green    yellow   blue     magenta   cyan     white
  108. bold     dim      ul       reverse
  109. Enable color display in this user account (y/N)? y
  110. repo has been initialized in /home/octopus/android/system
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
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

5. 使用 repo 正式下载 Android 源码

(1) 源码下载 repo 命令简介

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 上获取更新最新的源代码, 你可以每隔几天执行一次该命令, 保持机器上的源代码是最新的;

(2) 源码下载命令 及 下载结果

下载 CyanogenMod 源码 :

-- 执行命令 : repo sync -j4, 正式下载源码;

-- 注意 : 下载一定要开 VPN, 没有 VPN 绝逼下载不下来, 好多资料都被中国屏蔽了.

-- 文件目录 :

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

-- 文件大小 : 该步骤下载了 12.9G 的源码;

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

(3) repo sync 下载过程的终端输出

repo sync 下载过程 - 终端输出 :

  1. octopus@octopus:~/android/system$ repo sync -j4
  2. ... A new repo command ( 1.22) is available.
  3. ... You should upgrade soon:
  4. cp /home/octopus/android/system/.repo/repo/repo /usr/bin/repo
  5. Fetching project CyanogenMod/android_frameworks_support
  6. Fetching project CyanogenMod/android_packages_apps_CMUpdater
  7. Fetching project platform/external/mockwebserver
  8. Fetching project platform/external/jsoncpp
  9. Fetching projects:   0% (1/519)  Fetching project CyanogenMod/android_hardware_ti_omap4xxx
  10. Fetching project platform/external/libvncserver
  11. Fetching project CyanogenMod/android_external_libvpx
  12. Fetching project CyanogenMod/android_packages_apps_PackageInstaller
  13. Fetching project CyanogenMod/android_packages_apps_Eleven
  14. Fetching projects:   1% (6/519)  Fetching project CyanogenMod/android_packages_screensavers_WebView
  15. Fetching project CyanogenMod/android_external_ffmpeg
  16. Fetching project platform/external/squashfs-tools
  17. Fetching project CyanogenMod/android_packages_services_Telecomm
  18. Fetching project CyanogenMod/android_external_libtruezip
  19. Fetching projects:   2% (11/519)  Fetching project platform/hardware/intel/audio_media
  20. Fetching project platform/external/fonttools
  21. Fetching project platform/external/aac
  22. Fetching project CyanogenMod/android_external_toybox
  23. Fetching project platform/external/jmonkeyengine
  24. Fetching projects:   3% (16/519)  Fetching project CyanogenMod/android_hardware_ti_wlan
  25. Fetching project platform/external/ipsec-tools
  26. Fetching project CyanogenMod/android_frameworks_webview
  27. Fetching project platform/external/google-fonts/cutive-mono
  28. Fetching project CyanogenMod/android_external_gmock
  29. Fetching projects:   4% (21/519)  Fetching project CyanogenMod/android_frameworks_opt_calendar
  30. Fetching project CyanogenMod/android_packages_providers_TelephonyProvider
  31. Fetching project platform/external/zxing
  32. Fetching project platform/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8
  33. Fetching project platform/external/drm_gralloc
  34. Fetching projects:   5% (26/519)  Fetching project platform/external/jemalloc
  35. Fetching project platform/external/google-fonts/dancing-script
  36. Fetching project platform/external/libmtp
  37. Fetching project platform/external/lldb
  38. Fetching project platform/external/libcxxabi
  39. Fetching project CyanogenMod/android_frameworks_compile_slang
  40. Fetching projects:   6% (32/519)  Fetching project platform/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8
  41. Fetching project platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9
  42. Fetching project platform/external/naver-fonts
  43. Fetching project CyanogenMod/android_external_nist-sip
  44. Fetching project CyanogenMod/android_external_libusb
  45. Fetching projects:   7% (37/519)  Fetching project CyanogenMod/android_hardware_intel_common_libwsbm
  46. Fetching project platform/packages/apps/OneTimeInitializer
  47. Fetching project device/generic/mini-emulator-mips
  48. Fetching project platform/external/apache-xml
  49. Fetching project CyanogenMod/android_packages_apps_CellBroadcastReceiver
  50. Fetching projects:   8% (42/519)  Fetching project platform/external/nist-pkits
  51. Fetching project CyanogenMod/android_packages_providers_PartnerBookmarksProvider
  52. Fetching project platform/external/jmdns
  53. Fetching project platform/external/kernel-headers
  54. Fetching project CyanogenMod/android_external_f2fs-tools
  55. Fetching projects:   9% (47/519)  Fetching project platform/external/ksoap2
  56. Fetching project CyanogenMod/android_hardware_libhardware
  57. Fetching project platform/external/chromium-webview
  58. Fetching project CyanogenMod/android_external_sonivox
  59. Fetching project CyanogenMod/android_external_libusbx
  60. Fetching projects:  10% (52/519)  Fetching project platform/external/jsmn
  61. Fetching project CyanogenMod/android_packages_apps_AudioFX
  62. Fetching project device/generic/mini-emulator-arm64
  63. Fetching project CyanogenMod/android_hardware_qcom_keymaster
  64. Fetching project CyanogenMod/android_packages_providers_ThemesProvider
  65. Fetching project CyanogenMod/android_frameworks_base
  66. Fetching projects:  11% (58/519)  Fetching project CyanogenMod/android_frameworks_opt_net_voip
  67. Fetching project platform/prebuilts/libs/libedit
  68. Fetching project CyanogenMod/android_external_android-mock
  69. Fetching project CyanogenMod/android_external_tinyxml2
  70. Fetching project platform/frameworks/opt/inputconnectioncommon
  71. Fetching projects:  12% (63/519)  Fetching project platform/external/selinux
  72. Fetching project CyanogenMod/android_hardware_qcom_media
  73. Fetching project platform/external/mdnsresponder
  74. Fetching project CyanogenMod/android_external_wpa_supplicant_8
  75. Fetching project platform/external/safe-iop
  76. Fetching projects:  13% (68/519)  Fetching project CyanogenMod/android_packages_apps_Bluetooth
  77. Fetching project CyanogenMod/android_hardware_qcom_media
  78. Fetching project CyanogenMod/android_packages_providers_UserDictionaryProvider
  79. Fetching project platform/hardware/ti/omap4-aah
  80. Fetching project platform/external/giflib
  81. Fetching project platform/external/openfst
  82. Fetching projects:  14% (73/519)  Fetching project CyanogenMod/android_hardware_qcom_media
  83. Fetching project CyanogenMod/android_external_lzma
  84. Fetching project platform/external/libyuv
  85. Fetching project CyanogenMod/android_packages_wallpapers_Basic
  86. Fetching project CyanogenMod/android_device_google_atv
  87. Fetching project CyanogenMod/android_packages_wallpapers_HoloSpiral
  88. Fetching projects:  15% (78/519)  Fetching project platform/external/drm_hwcomposer
  89. Fetching project CyanogenMod/android_external_gson
  90. Fetching project CyanogenMod/android_packages_apps_TvSettings
  91. Fetching project CyanogenMod/android_hardware_qcom_media
  92. Fetching project CyanogenMod/android_hardware_invensense
  93. Fetching project CyanogenMod/android_packages_apps_LockClock
  94. remote: Counting objects: 7, done.
  95. remote: Compressing objects: 100% (6/6), done.
  96. remote: Total 7 (delta 0), reused 0 (delta 0), pack-reused 0
  97. Fetching project CyanogenMod/android_frameworks_opt_photoviewer
  98. Fetching projects:  16% (84/519)  Fetching project CyanogenMod/android_frameworks_opt_colorpicker
  99. 来自 https://github.com/CyanogenMod/android_frameworks_base
  100. 2d7713a..58ae12f  cm-13.0    -> github/cm-13.0
  101. Fetching project CyanogenMod/android_external_jarjar
  102. Fetching project platform/frameworks/data-binding
  103. Fetching project CyanogenMod/android_packages_services_LiveLockScreenService
  104. Fetching project CyanogenMod/android_frameworks_opt_datetimepicker
  105. Fetching projects:  17% (89/519)  Fetching project CyanogenMod/android_system_qcom
  106. Fetching project CyanogenMod/AndroidAsync
  107. Fetching project CyanogenMod/android_bionic
  108. Fetching project CyanogenMod/android_system_core
  109. Fetching project CyanogenMod/android_packages_wallpapers_NoiseField
  110. Fetching projects:  18% (94/519)  Fetching project CyanogenMod/android_hardware_qcom_media
  111. Fetching project platform/external/libexif
  112. Fetching project platform/external/webrtc
  113. Fetching project CyanogenMod/android_external_ant-wireless_ant_service
  114. Fetching project CyanogenMod/android_frameworks_rs
  115. Fetching project CyanogenMod/android_external_tinyalsa
  116. Fetching projects:  19% (99/519)  Fetching project CyanogenMod/android_packages_apps_ManagedProvisioning
  117. Fetching project CyanogenMod/android_external_pdfium
  118. Fetching project CyanogenMod/android_hardware_qcom_media
  119. Fetching project CyanogenMod/android_external_pcre
  120. Fetching project CyanogenMod/android_packages_apps_FMRadio
  121. Fetching project CyanogenMod/android_external_dhcpcd
  122. Fetching projects:  20% (104/519)  Fetching project CyanogenMod/android_system_bt
  123. Fetching project platform/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8
  124. Fetching project platform/external/zopfli
  125. Fetching project device/generic/mini-emulator-x86_64
  126. Fetching project platform/external/sfntly
  127. Fetching projects:  21% (109/519)  Fetching project CyanogenMod/android_frameworks_volley
  128. Fetching project platform/hardware/intel/common/utils
  129. Fetching project CyanogenMod/android_hardware_cyanogen
  130. Fetching project CyanogenMod/android_external_doclava
  131. Fetching project CyanogenMod/android_external_ant-wireless_antradio-library
  132. Fetching project platform/external/fio
  133. Fetching projects:  22% (115/519)  Fetching project CyanogenMod/android_system_extras
  134. Fetching project platform/external/xmlwriter
  135. Fetching project CyanogenMod/android_external_vogar
  136. Fetching project platform/external/jsilver
  137. Fetching project platform/external/marisa-trie
  138. Fetching projects:  23% (120/519)  Fetching project CyanogenMod/android_frameworks_opt_bluetooth
  139. Fetching project CyanogenMod/android_external_elfutils
  140. Fetching project platform/external/jetty
  141. Fetching project platform/external/jdiff
  142. Fetching project platform/external/blktrace
  143. Fetching projects:  24% (125/519)  Fetching project CyanogenMod/android_external_libxml2
  144. Fetching project platform/prebuilts/gradle-plugin
  145. Fetching project CyanogenMod/android_external_ntfs-3g
  146. Fetching project platform/external/compiler-rt
  147. Fetching project CyanogenMod/android_hardware_qcom_media
  148. Fetching project CyanogenMod/android_frameworks_opt_net_wifi
  149. Fetching projects:  25% (130/519)  Fetching project CyanogenMod/android_packages_apps_Stk
  150. Fetching project CyanogenMod/android_packages_wallpapers_PhaseBeam
  151. Fetching project CyanogenMod/android_hardware_qcom_audio
  152. Fetching project CyanogenMod/android_external_android-visualizer
  153. Fetching project CyanogenMod/android_external_lzo
  154. Fetching projects:  26% (135/519)  Fetching project platform/external/cblas
  155. Fetching project CyanogenMod/android_hardware_intel_img_psb_headers
  156. Fetching project CyanogenMod/android_external_nano
  157. Fetching project CyanogenMod/android_packages_wallpapers_LivePicker
  158. Fetching project platform/external/deqp
  159. Fetching project CyanogenMod/android_system_netd
  160. Fetching projects:  27% (141/519)  Fetching project platform/external/libgsm
  161. Fetching project platform/external/neven
  162. Fetching project device/sample
  163. Fetching project CyanogenMod/android_external_libavc
  164. Fetching project platform/external/google-tv-pairing-protocol
  165. Fetching projects:  28% (146/519)  Fetching project CyanogenMod/android_external_mksh
  166. Fetching project platform/external/javasqlite
  167. Fetching project CyanogenMod/android_external_jpeg
  168. Fetching project CyanogenMod/android_frameworks_opt_net_ethernet
  169. Fetching project CyanogenMod/android_hardware_qcom_media
  170. Fetching project CyanogenMod/android_external_unrar
  171. Fetching projects:  29% (151/519)  Fetching project CyanogenMod/android_external_ant-wireless_ant_native
  172. Fetching project CyanogenMod/android_packages_apps_Provision
  173. Fetching project platform/external/expat
  174. Fetching project platform/external/androidplot
  175. Fetching project platform/external/apache-commons-math
  176. Fetching projects:  30% (156/519)  Fetching project CyanogenMod/android_frameworks_minikin
  177. Fetching project CyanogenMod/android_system_vold
  178. Fetching project CyanogenMod/android_external_pigz
  179. Fetching project CyanogenMod/android_frameworks_wilhelm
  180. Fetching project platform/prebuilts/clang/darwin-x86/host/3.6
  181. Fetching projects:  31% (161/519)  Fetching project CyanogenMod/android_external_powertop
  182. Fetching project CyanogenMod/android_external_rsync
  183. Fetching project platform/external/donuts
  184. Fetching project CyanogenMod/android_packages_screensavers_PhotoTable
  185. Fetching project CyanogenMod/android_hardware_qcom_audio
  186. Fetching project device/generic/x86
  187. Fetching project platform/external/chromium-libpac
  188. Fetching projects:  32% (167/519)  Fetching project platform/external/libmpeg2
  189. Fetching project CyanogenMod/android_external_libnfc-nxp
  190. Fetching project platform/hardware/intel/common/wrs_omxil_core
  191. Fetching project device/generic/x86_64
  192. Fetching project CyanogenMod/android_packages_apps_Gello
  193. Fetching projects:  33% (172/519)  Fetching project CyanogenMod/android_external_vim
  194. Fetching project CyanogenMod/android_packages_apps_Nfc
  195. Fetching project CyanogenMod/android_abi_cpp
  196. Fetching project CyanogenMod/android_external_yaffs2
  197. Fetching project CyanogenMod/android_device_generic_mips
  198. Fetching projects:  34% (177/519)  Fetching project platform/external/vixl
  199. Fetching project platform/external/messageformat
  200. Fetching project platform/external/bsdiff
  201. Fetching project platform/prebuilts/sdk
  202. Fetching project CyanogenMod/android_external_google
  203. Fetching projects:  35% (182/519)  Fetching project CyanogenMod/android_hardware_qcom_fm
  204. Fetching project platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9
  205. Fetching project CyanogenMod/android_external_libncurses
  206. Fetching project CyanogenMod/android_hardware_ti_wpan
  207. Fetching project CyanogenMod/android_hardware_qcom_audio
  208. Fetching project device/generic/mini-emulator-x86
  209. Fetching projects:  36% (187/519)  Fetching project CyanogenMod/android_dalvik
  210. Fetching project CyanogenMod/android_external_iproute2
  211. Fetching project platform/external/google-breakpad
  212. Fetching project CyanogenMod/android_packages_apps_CarrierConfig
  213. Fetching project CyanogenMod/android_frameworks_multidex
  214. Fetching project CyanogenMod/android_hardware_broadcom_wlan
  215. Fetching projects:  37% (193/519)  Fetching project CyanogenMod/android_device_generic_common
  216. Fetching project CyanogenMod/android_frameworks_opt_emoji
  217. Fetching project CyanogenMod/android_art
  218. Fetching project platform/external/javassist
  219. Fetching project CyanogenMod/android_external_fuse
  220. Fetching projects:  38% (198/519)  Fetching project CyanogenMod/android_external_libnfnetlink
  221. Fetching project CyanogenMod/android_frameworks_av
  222. Fetching project platform/external/liblzf
  223. Fetching project CyanogenMod/android_frameworks_opt_hardware
  224. Fetching project platform/external/opencv
  225. Fetching projects:  39% (203/519)  Fetching project platform/hardware/qcom/msm8994
  226. Fetching project platform/external/glide
  227. Fetching project CyanogenMod/android_external_ebtables
  228. Fetching project platform/ndk
  229. Fetching project platform/external/replicaisland
  230. Fetching projects:  40% (208/519)  Fetching project CyanogenMod/android_hardware_qcom_display
  231. Fetching project platform/hardware/intel/bootstub
  232. Fetching project CyanogenMod/android_hardware_qcom_audio
  233. Fetching project CyanogenMod/android_frameworks_native
  234. Fetching project CyanogenMod/android_hardware_intel_img_psb_video
  235. Fetching project platform/external/google-fonts/carrois-gothic-sc
  236. Fetching projects:  41% (213/519)  Fetching project platform/external/owasp/sanitizer
  237. Fetching project platform/external/regex-re2
  238. Fetching project platform/external/tagsoup
  239. Fetching project CyanogenMod/android_packages_providers_DataUsageProvider
  240. Fetching project platform/external/timezonepicker-support
  241. Fetching projects:  42% (218/519)  Fetching project CyanogenMod/android_device_generic_arm64
  242. Fetching project CyanogenMod/android_external_gptfdisk
  243. Fetching project platform/external/libunwind
  244. Fetching project CyanogenMod/android_hardware_intel_common_libmix
  245. Fetching project CyanogenMod/android_packages_apps_SoundRecorder
  246. Fetching project platform/hardware/marvell/bt
  247. Fetching projects:  43% (224/519)  Fetching project CyanogenMod/android_packages_services_Telephony
  248. Fetching project CyanogenMod/android_frameworks_opt_inputmethodcommon
  249. Fetching project platform/external/sonic
  250. Fetching project CyanogenMod/android_external_bouncycastle
  251. Fetching project platform/hardware/qcom/msm8960
  252. Fetching projects:  44% (229/519)  Fetching project CyanogenMod/android_packages_apps_Email
  253. Fetching project CyanogenMod/android_packages_services_Mms
  254. Fetching project CyanogenMod/android_packages_apps_Contacts
  255. Fetching project platform/external/robolectric
  256. Fetching project CyanogenMod/android_hardware_qcom_audio
  257. Fetching project CyanogenMod/android_libnativehelper
  258. Fetching projects:  45% (234/519)  Fetching project CyanogenMod/android_hardware_qcom_camera
  259. Fetching project CyanogenMod/android_system_keymaster
  260. Fetching project CyanogenMod/android_packages_providers_TvProvider
  261. Fetching project CyanogenMod/android_device_generic_armv7-a-neon
  262. Fetching project CyanogenMod/android_hardware_broadcom_libbt
  263. Fetching projects:  46% (239/519)  Fetching project CyanogenMod/android_packages_apps_BasicSmsReceiver
  264. Fetching project platform/external/llvm
  265. Fetching project platform/external/tinyxml
  266. Fetching project CyanogenMod/android_packages_apps_SpeechRecorder
  267. Fetching project platform/external/antlr
  268. Fetching projects:  47% (244/519)  Fetching project CyanogenMod/android_packages_apps_Browser
  269. Fetching project CyanogenMod/android_external_android-clat
  270. Fetching project CyanogenMod/android_hardware_qcom_display
  271. Fetching project CyanogenMod/android_prebuilts_cmsdk
  272. Fetching project CyanogenMod/android_packages_apps_Exchange
  273. Fetching project CyanogenMod/android_frameworks_opt_net_ims
  274. Fetching project CyanogenMod/android_frameworks_ml
  275. Fetching projects:  48% (250/519)  Fetching project platform/external/hamcrest
  276. Fetching project platform/external/markdown
  277. Fetching project platform/hardware/qcom/msm8x74
  278. Fetching project CyanogenMod/android_hardware_qcom_audioFetching project CyanogenMod/external_android_support-prebuilt
  279. Fetching project platform/external/tremolo
  280. Fetching projects:  49% (255/519)  Fetching project CyanogenMod/android_hardware_qcom_bt
  281. Fetching project platform/external/freetype
  282. Fetching project platform/external/fdlibm
  283. Fetching project platform/external/mesa3d
  284. Fetching project CyanogenMod/android_external_guava
  285. Fetching projects:  50% (260/519)  Fetching project CyanogenMod/android_packages_experimental
  286. Fetching project CyanogenMod/android_external_connectivity
  287. Fetching project platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9
  288. Fetching project platform/system/gatekeeper
  289. Fetching project CyanogenMod/android_external_libvterm
  290. Fetching projects:  51% (265/519)  Fetching project CyanogenMod/android_vendor_qcom_opensource_dataservices
  291. Fetching project CyanogenMod/android_device_generic_goldfish
  292. Fetching project CyanogenMod/android_external_zlib
  293. Fetching project CyanogenMod/android_hardware_qcom_display
  294. Fetching project platform/external/gtest
  295. Fetching project CyanogenMod/android_external_e2fsprogs
  296. Fetching projects:  52% (270/519)  Fetching project CyanogenMod/android_packages_apps_Terminal
  297. Fetching project platform/sdk
  298. Fetching project CyanogenMod/android_external_flac
  299. Fetching project CyanogenMod/android_packages_apps_DeskClock
  300. Fetching project platform/external/esd
  301. Fetching project CyanogenMod/android_external_skia
  302. Fetching projects:  53% (276/519)  Fetching project CyanogenMod/android_packages_apps_ThemeChooser
  303. Fetching project CyanogenMod/android_hardware_qcom_bt
  304. Fetching project CyanogenMod/android_external_libselinux
  305. Fetching project CyanogenMod/android_packages_apps_Profiles
  306. Fetching project CyanogenMod/android_packages_apps_Snap
  307. Fetching project CyanogenMod/android_hardware_qcom_audio
  308. Fetching project CyanogenMod/android_packages_providers_CallLogProvider
  309. Fetching projects:  54% (281/519)  Fetching project platform/hardware/qcom/msm8x84
  310. Fetching project platform/external/objenesis
  311. Fetching project platform/external/svox
  312. Fetching project platform/external/ceres-solver
  313. remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
  314. Fetching project platform/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9
  315. Fetching projects:  55% (286/519)  Fetching project platform/hardware/ti/omap3
  316. Fetching project CyanogenMod/android_packages_apps_Screencast
  317. Fetching project CyanogenMod/android_development
  318. Fetching project CyanogenMod/android_external_p7zip
  319. Fetching project CyanogenMod/android_hardware_libhardware_legacy
  320. Fetching projects:  56% (291/519)  Fetching project platform/external/protobuf
  321. Fetching project CyanogenMod/android_hardware_intel_common_libva
  322. Fetching project CyanogenMod/android_hardware_qcom_display
  323. Fetching project platform/external/smali
  324. Fetching project platform/hardware/mediatek
  325. Fetching project CyanogenMod/android_packages_apps_SmartCardService
  326. Fetching projects:  57% (296/519)  Fetching project platform/prebuilts/qemu-kernel
  327. Fetching project platform/external/eyes-free
  328. Fetching project CyanogenMod/android_packages_inputmethods_LatinIME
  329. Fetching project CyanogenMod/android_external_unzip
  330. Fetching project CyanogenMod/android_external_bash
  331. Fetching project platform/external/v8
  332. Fetching projects:  58% (302/519)  Fetching project platform/external/emma
  333. Fetching project CyanogenMod/android_packages_apps_HTMLViewer
  334. Fetching project CyanogenMod/android_external_bzip2
  335. Fetching project platform/external/xmp_toolkit
  336. Fetching project CyanogenMod/android_hardware_qcom_audio
  337. Fetching project platform/external/libhevc
  338. Fetching projects:  59% (307/519)  Fetching project CyanogenMod/android_hardware_qcom_wlan
  339. Fetching project CyanogenMod/android_build
  340. Fetching project CyanogenMod/android_packages_apps_YahooWeatherProvider
  341. Fetching project platform/external/slf4j
  342. Fetching project CyanogenMod/android_external_sepolicy
  343. Fetching projects:  60% (312/519)  Fetching project platform/external/nfacct
  344. Fetching project platform/prebuilts/misc
  345. Fetching project platform/prebuilts/python/darwin-x86/2.7.5
  346. Fetching project platform/prebuilts/eclipse
  347. Fetching project CyanogenMod/android_packages_providers_CalendarProvider
  348. Fetching projects:  61% (317/519)  Fetching project platform/external/google-fonts/coming-soon
  349. Fetching project CyanogenMod/android_packages_apps_CertInstaller
  350. Fetching project platform/external/lld
  351. Fetching project CyanogenMod/android_vendor_cm
  352. Fetching project CyanogenMod/android_packages_providers_DownloadProvider
  353. Fetching projects:  62% (322/519)  Fetching project CyanogenMod/android_external_strace
  354. Fetching project platform/prebuilts/android-emulator
  355. Fetching project platform/external/libutf
  356. Fetching project platform/external/dexmaker
  357. Fetching project platform/prebuilts/devtools
  358. Fetching projects:  63% (327/519)  Fetching project CyanogenMod/android_hardware_qcom_display
  359. Fetching project CyanogenMod/android_packages_apps_Trebuchet
  360. Fetching project platform/external/crcalc
  361. Fetching project CyanogenMod/android_packages_apps_OpenWeatherMapProvider
  362. Fetching project platform/external/mockito
  363. Fetching project platform/developers/build
  364. Fetching project CyanogenMod/android_packages_wallpapers_MagicSmoke
  365. Fetching projects:  64% (333/519)  Fetching project CyanogenMod/android_packages_apps_PhoneCommon
  366. Fetching project CyanogenMod/android_frameworks_opt_setupwizard
  367. Fetching project platform/external/roboto-fonts
  368. Fetching project CyanogenMod/ion
  369. Fetching project CyanogenMod/android_hardware_samsung_slsi_exynos5
  370. Fetching projects:  65% (338/519)  Fetching project platform/external/libphonenumber
  371. Fetching project CyanogenMod/android_external_protobuf-c
  372. Fetching project CyanogenMod/android_packages_apps_CMFileManager
  373. Fetching project CyanogenMod/android_external_okhttp
  374. Fetching project CyanogenMod/android_frameworks_opt_chips
  375. Fetching projects:  66% (343/519)  Fetching project CyanogenMod/android_packages_apps_WundergroundWeatherProvider
  376. Fetching project CyanogenMod/android_packages_apps_Gallery2
  377. Fetching project platform/external/netcat
  378. Fetching project platform/docs/source.android.com
  379. Fetching project platform/external/parameter-framework
  380. Fetching projects:  67% (348/519)  Fetching project CyanogenMod/android_bootable_recovery
  381. Fetching project platform/prebuilts/clang/linux-x86/host/3.6
  382. Fetching project CyanogenMod/android_packages_apps_Settings
  383. Fetching project CyanogenMod/android_external_dnsmasq
  384. Fetching project CyanogenMod/android_hardware_qcom_displayFetching project CyanogenMod/android_packages_apps_ExactCalculator
  385. Fetching projects:  68% (353/519)  Fetching project platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8
  386. Fetching project CyanogenMod/android_external_linux-tools-perf
  387. Fetching project platform/external/noto-fonts
  388. Fetching project platform/external/libopus
  389. Fetching project platform/developers/samples/android
  390. Fetching project CyanogenMod/android_hardware_qcom_wlan
  391. Fetching project platform/external/srtp
  392. Fetching projects:  69% (359/519)  Fetching project platform/prebuilts/python/linux-x86/2.7.5
  393. Fetching project CyanogenMod/android_hardware_qcom_gps
  394. Fetching project CyanogenMod/android_external_mm-dash
  395. Fetching project CyanogenMod/android_frameworks_opt_telephony
  396. Fetching project platform/external/eclipse-basebuilder
  397. Fetching projects:  70% (364/519)  Fetching project CyanogenMod/android_packages_providers_ContactsProvider
  398. Fetching project platform/external/junit
  399. Fetching project CyanogenMod/android_hardware_intel_img_hwcomposer
  400. Fetching project CyanogenMod/android_packages_wallpapers_Galaxy4
  401. Fetching project platform/prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.9
  402. Fetching projects:  71% (369/519)  Fetching project CyanogenMod/android_hardware_ti_omap4
  403. Fetching project platform/external/ppp
  404. Fetching project CyanogenMod/android_frameworks_ex
  405. Fetching project CyanogenMod/android_packages_wallpapers_PhotoPhase
  406. Fetching project device/google/accessory/demokit
  407. Fetching projects:  72% (374/519)  Fetching project CyanogenMod/android_external_lz4
  408. Fetching project platform/external/valgrind
  409. Fetching project CyanogenMod/android_external_jsr305
  410. Fetching project CyanogenMod/android_external_boringssl
  411. Fetching project CyanogenMod/android_external_apache-http
  412. Fetching projects:  73% (379/519)  Fetching project platform/external/nanopb-c
  413. Fetching project CyanogenMod/android_external_fsck_msdos
  414. Fetching project CyanogenMod/android_external_libnfc-nci
  415. Fetching project CyanogenMod/android_frameworks_compile_libbcc
  416. Fetching project platform/external/libedit
  417. Fetching project platform/external/mockftpserver
  418. Fetching projects:  74% (385/519)  Fetching project CyanogenMod/android_packages_apps_CMBugreport
  419. Fetching project CyanogenMod/android_hardware_intel_common_omx-components
  420. Fetching project platform/external/libcap-ng
  421. Fetching project CyanogenMod/android_packages_apps_SetupWizard
  422. Fetching project CyanogenMod/android_packages_apps_Camera2
  423. Fetching projects:  75% (390/519)  Fetching project CyanogenMod/android_hardware_qcom_display
  424. Fetching project platform/external/oauth
  425. Fetching project CyanogenMod/android_system_extras_su
  426. Fetching project CyanogenMod/android_external_htop
  427. Fetching project CyanogenMod/android_device_common
  428. Fetching project platform/prebuilts/ndk
  429. Fetching projects:  76% (395/519)  Fetching project CyanogenMod/android_packages_providers_WeatherProvider
  430. Fetching project platform/external/libogg
  431. Fetching project CyanogenMod/android_packages_apps_ContactsCommon
  432. Fetching project platform/external/libusb-compat
  433. Fetching project platform/hardware/intel/sensors
  434. Fetching projects:  77% (400/519)  Fetching project CyanogenMod/android_packages_apps_UnifiedEmail
  435. Fetching project device/google/accessory/arduino
  436. Fetching project CyanogenMod/android_frameworks_opt_timezonepicker
  437. Fetching project platform/external/bison
  438. Fetching project CyanogenMod/android_external_iptables
  439. Fetching projects:  78% (405/519)  Fetching project CyanogenMod/android_vendor_qcom_opensource_time-services
  440. Fetching project CyanogenMod/android_external_brctl
  441. Fetching project CyanogenMod/android_packages_providers_BookmarkProvider
  442. Fetching project platform/external/eclipse-windowbuilder
  443. Fetching project CyanogenMod/android_external_libnetfilter_conntrack
  444. Fetching project CyanogenMod/android_system_media
  445. Fetching projects:  79% (411/519)  Fetching project CyanogenMod/android_external_tinycompress
  446. Fetching project CyanogenMod/android_external_openssh
  447. Fetching project CyanogenMod/android_packages_apps_KeyChain
  448. Fetching project CyanogenMod/android_external_cyanogen_UICommon
  449. Fetching project CyanogenMod/android_external_libtar
  450. Fetching projects:  80% (416/519)  Fetching project CyanogenMod/android_packages_providers_MediaProvider
  451. Fetching project platform/external/chromium-trace
  452. Fetching project platform/pdk
  453. Fetching project CyanogenMod/android_device_qcom_sepolicy
  454. Fetching project platform/external/scrypt
  455. Fetching projects:  81% (421/519)  Fetching project platform/external/cmockery
  456. Fetching project CyanogenMod/android_frameworks_opt_bitmap
  457. Fetching project platform/external/harfbuzz_ng
  458. Fetching project CyanogenMod/android_hardware_qcom_display
  459. Fetching project platform/external/jhead
  460. Fetching project platform/external/ltrace
  461. Fetching projects:  82% (426/519)  Fetching project CyanogenMod/android_frameworks_compile_mclinker
  462. Fetching project platform/external/libcxx
  463. Fetching project CyanogenMod/cm_platform_sdk
  464. Fetching project platform/platform_testing
  465. Fetching project platform/external/embunit
  466. Fetching projects:  83% (431/519)  Fetching project CyanogenMod/android_external_sqlite
  467. Fetching project platform/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9
  468. Fetching project platform/external/netperf
  469. Fetching project CyanogenMod/android_external_spongycastle
  470. Fetching project platform/external/droiddriver
  471. Fetching projects:  84% (436/519)  Fetching project CyanogenMod/android_external_ant-glob
  472. Fetching project CyanogenMod/android_packages_apps_Calendar
  473. Fetching project device/generic/mini-emulator-armv7-a-neon
  474. Fetching project CyanogenMod/android_packages_apps_CMWallpapers
  475. Fetching project platform/hardware/intel/common/bd_prov
  476. Fetching project platform/external/nanohttpd
  477. Fetching projects:  85% (442/519)  Fetching project platform/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8
  478. Fetching project platform/hardware/qcom/msm8x26
  479. Fetching project CyanogenMod/android_external_libphonenumbergoogle
  480. Fetching project CyanogenMod/android_vendor_qcom_opensource_dpm
  481. Fetching project device/generic/qemu
  482. Fetching projects:  86% (447/519)  Fetching project CyanogenMod/android_frameworks_opt_vcard
  483. Fetching project platform/external/conscrypt
  484. Fetching project platform/external/mp4parser
  485. Fetching project platform/hardware/intel/common/libstagefrighthw
  486. Fetching project CyanogenMod/android_libcore
  487. Fetching projects:  87% (452/519)  Fetching project CyanogenMod/android_packages_apps_Tag
  488. Fetching project CyanogenMod/android_packages_apps_Messaging
  489. Fetching project CyanogenMod/android_external_stagefright-plugins
  490. Fetching project CyanogenMod/android_hardware_akm
  491. Fetching project CyanogenMod/android_packages_screensavers_Basic
  492. Fetching projects:  88% (457/519)  Fetching project platform/prebuilts/maven_repo/android
  493. Fetching project CyanogenMod/android_packages_apps_BluetoothExt
  494. Fetching project platform/hardware/qcom/msm8x27
  495. Fetching project platform/external/littlemock
  496. Fetching project platform/prebuilts/tools
  497. Fetching projects:  89% (462/519)  Fetching project CyanogenMod/android_packages_apps_Dialer
  498. Fetching project platform/external/eigen
  499. Fetching project platform/external/libdrm
  500. Fetching project platform/external/apache-harmony
  501. Fetching project CyanogenMod/android_external_zip
  502. Fetching project platform/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1
  503. Fetching projects:  90% (468/519)  Fetching project CyanogenMod/android
  504. Fetching project platform/external/easymock
  505. Fetching project CyanogenMod/android_external_curl
  506. Fetching project CyanogenMod/android_system_security
  507. Fetching project CyanogenMod/android_external_json-c
  508. Fetching projects:  91% (473/519)  Fetching project platform/external/libvorbis
  509. Fetching project CyanogenMod/android_hardware_ril
  510. Fetching project CyanogenMod/android_external_tcpdump
  511. Fetching project platform/cts
  512. Fetching project platform/external/proguard
  513. Fetching projects:  92% (478/519)  Fetching project CyanogenMod/android_packages_apps_InCallUI
  514. Fetching project platform/external/libpcap
  515. Fetching project CyanogenMod/android_external_speex
  516. Fetching project platform/external/hyphenation-patterns
  517. Fetching project CyanogenMod/android_external_icu
  518. Fetching projects:  93% (483/519)  Fetching project platform/external/vboot_reference
  519. Fetching project platform/external/iputils
  520. Fetching project platform/external/clang
  521. Fetching project CyanogenMod/android_external_libxslt
  522. Fetching project platform/external/webp
  523. Fetching projects:  94% (488/519)  Fetching project platform/external/mtpd
  524. Fetching project CyanogenMod/android_external_exfat
  525. Fetching project platform/external/libnl
  526. Fetching project CyanogenMod/android_external_libpng
  527. Fetching projects:  97% (504/519)  Fetching project CyanogenMod/android_hardware_ril
  528. Fetching projects: 100% (519/519), done.
  529. Checking out files: 100% (1396/1396), done.ut files:   0% (8/1396)
  530. Checking out files:  59% (5779/9711)
  531. Checking out files: 100% (9711/9711), done.
  532. Checking out files: 100% (5699/5699), done.
  533. Checking out files: 100% (4313/4313), done.
  534. Checking out files:  44% (5164/11736)   ng out files:   4% (548/11736)
  535. Checking out files: 100% (11736/11736), done.
  536. Checking out files: 100% (2438/2438), done.out files:  46% (1144/2438)
  537. Syncing work tree:   9% (47/519)
  538. Checking out files: 100% (2101/2101), done.out files:  27% (574/2101)
  539. Checking out files: 100% (10613/10613), done.
  540. Checking out files: 100% (2067/2067), done.out files:   1% (29/2067)
  541. Checking out files: 100% (5640/5640), done.out files:  36% (2072/5640)
  542. Checking out files: 100% (2328/2328), done.out files:  19% (460/2328)
  543. Checking out files: 100% (7397/7397), done. out files:  31% (2351/7397)
  544. Checking out files: 100% (17133/17133), done.ut files:   9% (1635/17133)
  545. Checking out files: 100% (179/179), done.ng out files:  12% (23/179)
  546. Checking out files: 100% (383/383), done.ng out files:  38% (148/383)
  547. Checking out files: 100% (1195/1195), done.
  548. Checking out files: 100% (766/766), done.ng out files:  30% (231/766)
  549. Checking out files: 100% (723/723), done.ng out files:   3% (27/723)
  550. Checking out files: 100% (3505/3505), done. out files:  31% (1118/3505)
  551. Checking out files: 100% (4367/4367), done. out files:  13% (610/4367)
  552. Checking out files: 100% (1054/1054), done.
  553. Checking out files: 100% (28042/28042), done.ut files:   2% (588/28042)
  554. Checking out files: 100% (1066/1066), done. out files:  34% (368/1066)
  555. Checking out files: 100% (8945/8945), done. out files:   5% (529/8945)
  556. Checking out files: 100% (173/173), done.ng out files:  32% (56/173)
  557. Checking out files: 100% (2186/2186), done.
  558. Checking out files: 100% (2658/2658), done. out files:   6% (160/2658)
  559. Checking out files: 100% (1451/1451), done.
  560. Checking out files: 100% (3416/3416), done. out files:   0% (22/3416)
  561. Checking out files: 100% (64/64), done.king out files:  10% (7/64)
  562. Checking out files: 100% (68/68), done.king out files:   2% (2/68)
  563. Checking out files: 100% (96/96), done.
  564. Checking out files: 100% (742/742), done.
  565. Checking out files: 100% (127/127), done.ng out files:  34% (44/127)
  566. Checking out files: 100% (205/205), done.
  567. Checking out files: 100% (269/269), done.
  568. Checking out files: 100% (128/128), done.ng out files:  23% (30/128)
  569. Checking out files: 100% (209/209), done.
  570. Checking out files: 100% (3202/3202), done.
  571. Checking out files: 100% (3539/3539), done.
  572. Checking out files: 100% (4198/4198), done. out files:   6% (268/4198)
  573. Checking out files: 100% (270/270), done.
  574. Checking out files: 100% (10253/10253), done.
  575. Checking out files: 100% (2050/2050), done.
  576. Checking out files: 100% (956/956), done.
  577. Checking out files: 100% (72214/72214), done.ut files:   6% (4606/72214)
  578. Checking out files: 100% (4865/4865), done.
  579. Checking out files: 100% (3552/3552), done.
  580. Checking out files: 100% (52/52), done.
  581. Checking out files: 100% (1180/1180), done.
  582. Checking out files: 100% (3826/3826), done. out files:   2% (95/3826)
  583. Checking out files: 100% (850/850), done.
  584. Checking out files: 100% (221/221), done.ng out files:  42% (93/221)
  585. Syncing work tree: 100% (519/519), done.
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
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 project CyanogenMod/android_external_exfat
Fetching project platform/external/libnl
Fetching project CyanogenMod/android_external_libpng
Fetching projects: 97% (504/519) Fetching project CyanogenMod/android_hardware_ril
Fetching projects: 100% (519/519), done.
Checking out files: 100% (1396/1396), done.ut files: 0% (8/1396)
Checking out files: 59% (5779/9711)
Checking out files: 100% (9711/9711), done.
Checking out files: 100% (5699/5699), done.
Checking out files: 100% (4313/4313), done.
Checking out files: 44% (5164/11736) ng out files: 4% (548/11736)
Checking out files: 100% (11736/11736), done.
Checking out files: 100% (2438/2438), done.out files: 46% (1144/2438) Syncing work tree: 9% (47/519)
Checking out files: 100% (2101/2101), done.out files: 27% (574/2101)
Checking out files: 100% (10613/10613), done.
Checking out files: 100% (2067/2067), done.out files: 1% (29/2067)
Checking out files: 100% (5640/5640), done.out files: 36% (2072/5640)
Checking out files: 100% (2328/2328), done.out files: 19% (460/2328)
Checking out files: 100% (7397/7397), done. out files: 31% (2351/7397)
Checking out files: 100% (17133/17133), done.ut files: 9% (1635/17133)
Checking out files: 100% (179/179), done.ng out files: 12% (23/179)
Checking out files: 100% (383/383), done.ng out files: 38% (148/383)
Checking out files: 100% (1195/1195), done.
Checking out files: 100% (766/766), done.ng out files: 30% (231/766)
Checking out files: 100% (723/723), done.ng out files: 3% (27/723)
Checking out files: 100% (3505/3505), done. out files: 31% (1118/3505)
Checking out files: 100% (4367/4367), done. out files: 13% (610/4367)
Checking out files: 100% (1054/1054), done.
Checking out files: 100% (28042/28042), done.ut files: 2% (588/28042)
Checking out files: 100% (1066/1066), done. out files: 34% (368/1066)
Checking out files: 100% (8945/8945), done. out files: 5% (529/8945)
Checking out files: 100% (173/173), done.ng out files: 32% (56/173)
Checking out files: 100% (2186/2186), done.
Checking out files: 100% (2658/2658), done. out files: 6% (160/2658)
Checking out files: 100% (1451/1451), done.
Checking out files: 100% (3416/3416), done. out files: 0% (22/3416)
Checking out files: 100% (64/64), done.king out files: 10% (7/64)
Checking out files: 100% (68/68), done.king out files: 2% (2/68)
Checking out files: 100% (96/96), done.
Checking out files: 100% (742/742), done.
Checking out files: 100% (127/127), done.ng out files: 34% (44/127)
Checking out files: 100% (205/205), done.
Checking out files: 100% (269/269), done.
Checking out files: 100% (128/128), done.ng out files: 23% (30/128)
Checking out files: 100% (209/209), done.
Checking out files: 100% (3202/3202), done.
Checking out files: 100% (3539/3539), done.
Checking out files: 100% (4198/4198), done. out files: 6% (268/4198)
Checking out files: 100% (270/270), done.
Checking out files: 100% (10253/10253), done.
Checking out files: 100% (2050/2050), done.
Checking out files: 100% (956/956), done.
Checking out files: 100% (72214/72214), done.ut files: 6% (4606/72214)
Checking out files: 100% (4865/4865), done.
Checking out files: 100% (3552/3552), done.
Checking out files: 100% (52/52), done.
Checking out files: 100% (1180/1180), done.
Checking out files: 100% (3826/3826), done. out files: 2% (95/3826)
Checking out files: 100% (850/850), done.
Checking out files: 100% (221/221), done.ng out files: 42% (93/221)
Syncing work tree: 100% (519/519), done.

作者 : 韩曙亮

转载请注明出处 : http://blog.csdn.net/shulianghan/article/details/51592930

6. 获取预置的应用 (编译 CM11 及 11 以下的版本时执行 本次编译的是 CM13 不用执行该步骤)

(1) 获取预置应用

获取预置应用 :

-- 进入指定目录 : 执行 cd ~/android/system/vendor/cm 命令, 进入 ~/android/system/vendor/cm 目录;

-- 在该目录获取相关应用 : 执行 ./get-prebuilts  命令即可, 注意 是在 ~/android/system/vendor/cm 目录中执行该命令 ;

(2) 获取预置应用产生的结果

执行结果 :

-- 命令行回应 : 执行 get-prebuilts 命令不会得到任何确认, 只是有另外一个提示;

-- 下载安装预置应用 : 执行该命令会下载一些预置应用, 并将它们安装到源代码中;

-- 只执行一次 : 该命令只需要执行一次, 执行完后, 以后编译就不用下载这些应用了;

7. 下载 小米4 手机设备相关 源码

(1) 设置环境变量

设置环境变量 :

-- 进入源码根目录 : 进入 ~/android/system 目录, 使用 cd ~/android/system 命令, 进入 CyanogenMod 源码根目录;

-- 环境变量命令 : 执行 source build/envsetup.sh 命令, 设置环境变量;

-- 设置过程 (终端输出内容) :

  1. octopus@octopus:~/android/system$ source build/envsetup.sh
  2. including device/generic/mini-emulator-arm64/vendorsetup.sh
  3. including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
  4. including device/generic/mini-emulator-mips/vendorsetup.sh
  5. including device/generic/mini-emulator-x86_64/vendorsetup.sh
  6. including device/generic/mini-emulator-x86/vendorsetup.sh
  7. including vendor/cm/vendorsetup.sh
  8. including sdk/bash_completion/adb.bash
  9. including vendor/cm/bash_completion/git.bash
  10. including vendor/cm/bash_completion/repo.bash
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
octopus@octopus:~/android/system$ source build/envsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash

(2) 下载设备相关源码

下载设备相关源码 :

-- 步骤作用 : 该步骤下载 小米4 手机的 设备的特定配置 和 内核源码;

-- 创建 LocalManifest 文件 : 使用一个可选择的 命令 breakfast 去创建你的 LocalManifest 配置文件;

-- 源码定位 : 为了执行该操作, 你需要在 CyanogenMod 的 GitHub 地址 (https://github.com/CyanogenMod) 中找到你的设备源码位置, 并且在你本地的 LocalManifest 中列举出所有的 定义在 cm.dependencies 中的 代码仓库;

-- 了解更多命令细节 : 如果你想要知道更多关于 source build/envsetup.sh 命令的细节, 或者简单的了解下 breakfast, brunch, launch 命令, 你可以到 Evsetup Help (https://wiki.cyanogenmod.org/w/Envsetup_help) 页面;

-- 便捷命令 croot : 每次进入源代码的根目录, 都要执行 cd ~/android/system 命令, 比较麻烦; 可以使用 croot 命令替代, 执行 croot 命令相当于先执行 source build/envsetup.sh 命令, 再执行 ~/android/system 命令;

-- 终端输出过程 :

  1. octopus@octopus:~/android/system$ breakfast cancro
  2. including vendor/cm/vendorsetup.sh
  3. build/core/envsetup.mk:90: *** Unable to determine HOST_ARCH from uname -sm: Linux i686!。 停止。
  4. Device cancro not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
  5. Found repository: android_device_xiaomi_cancro
  6. Default revision: cm-13.0
  7. Checking branch info
  8. Checking if device/xiaomi/cancro is fetched from android_device_xiaomi_cancro
  9. Adding dependency: CyanogenMod/android_device_xiaomi_cancro -> device/xiaomi/cancro
  10. Using default branch for android_device_xiaomi_cancro
  11. Syncing repository to retrieve project.
  12. ... A new repo command ( 1.22) is available.
  13. ... You should upgrade soon:
  14. cp /home/octopus/android/system/.repo/repo/repo /usr/bin/repo
  15. Fetching project repo
  16. Fetching project CyanogenMod/android_device_xiaomi_cancro
  17. % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  18. Dload  Upload   Total   Spent    Left  Speed
  19. 0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  20. curl: (22) The requested URL returned error: 404 Not Found
  21. Server does not provide clone.bundle; ignoring.
  22. Fetching projects:  50% (1/2)  remote: Counting objects: 1387, done.
  23. remote: Compressing objects: 100% (52/52), done.
  24. remote: Total 1387 (delta 12), reused 0 (delta 0), pack-reused 1332
  25. 接收对象中: 100% (1387/1387), 5.76 MiB | 94.00 KiB/s, done.
  26. 处理 delta 中: 100% (573/573), done.
  27. 来自 https://github.com/CyanogenMod/android_device_xiaomi_cancro
  28. * [新分支]          cm-13.0    -> github/cm-13.0
  29. Fetching projects: 100% (2/2), done.
  30. Repository synced!
  31. Looking for dependencies
  32. Adding dependencies to manifest
  33. Checking if device/qcom/common is fetched from android_device_qcom_common
  34. Adding dependency: CyanogenMod/android_device_qcom_common -> device/qcom/common
  35. Using default branch for android_device_qcom_common
  36. Checking if kernel/xiaomi/cancro is fetched from android_kernel_xiaomi_cancro
  37. Adding dependency: CyanogenMod/android_kernel_xiaomi_cancro -> kernel/xiaomi/cancro
  38. Using default branch for android_kernel_xiaomi_cancro
  39. Syncing dependencies
  40. ... A new repo command ( 1.22) is available.
  41. ... You should upgrade soon:
  42. cp /home/octopus/android/system/.repo/repo/repo /usr/bin/repo
  43. Fetching project CyanogenMod/android_device_qcom_common
  44. Fetching project CyanogenMod/android_kernel_xiaomi_cancro
  45. % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  46. Dload  Upload   Total   Spent    Left  Speed
  47. 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  48. Dload  Upload   Total   Spent    Left  Speed
  49. 0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  50. curl: (22) The requested URL returned error: 404 Not Found
  51. Server does not provide clone.bundle; ignoring.
  52. 0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
  53. curl: (22) The requested URL returned error: 404 Not Found
  54. Server does not provide clone.bundle; ignoring.
  55. remote: Counting objects: 661, done.
  56. remote: Total 661 (delta 0), reused 0 (delta 0), pack-reused 661
  57. 接收对象中: 100% (661/661), 197.33 KiB | 79.00 KiB/s, done.
  58. 处理 delta 中: 100% (440/440), done.
  59. 来自 https://github.com/CyanogenMod/android_device_qcom_common
  60. * [新分支]          cm-13.0    -> github/cm-13.0
  61. * [新tag]           cm-11.0-XNPH05Q-bacon-5229c4ef56 -> cm-11.0-XNPH05Q-bacon-5229c4ef56
  62. * [新tag]           cm-11.0-XNPH05Q-tomato-9828f8e9cc -> cm-11.0-XNPH05Q-tomato-9828f8e9cc
  63. * [新tag]           cm-11.0-XNPH22R-bacon-03d77315ea -> cm-11.0-XNPH22R-bacon-03d77315ea
  64. * [新tag]           cm-11.0-XNPH25R-bacon-d22b777afa -> cm-11.0-XNPH25R-bacon-d22b777afa
  65. * [新tag]           cm-11.0-XNPH30O-bacon-4f280f505a -> cm-11.0-XNPH30O-bacon-4f280f505a
  66. * [新tag]           cm-11.0-XNPH33R-bacon-3628510d76 -> cm-11.0-XNPH33R-bacon-3628510d76
  67. * [新tag]           cm-11.0-XNPH44S-bacon-5fa8c79c0b -> cm-11.0-XNPH44S-bacon-5fa8c79c0b
  68. Fetching projects:  50% (1/2)  remote: Counting objects: 2740102, done.
  69. remote: Compressing objects: 100% (10/10), done.
  70. remote: Total 2740102 (delta 22), reused 18 (delta 18), pack-reused 2740074
  71. 接收对象中: 100% (2740102/2740102), 593.12 MiB | 585.00 KiB/s, done.
  72. 处理 delta 中: 100% (2292044/2292044), done.
  73. 来自 https://github.com/CyanogenMod/android_kernel_xiaomi_cancro
  74. * [新分支]          cm-13.0    -> github/cm-13.0
  75. Fetching projects: 100% (2/2), done.
  76. Checking out files: 100% (42522/42522), done.
  77. Looking for dependencies
  78. Dependencies file not found, bailing out.
  79. Looking for dependencies
  80. Dependencies file not found, bailing out.
  81. Done
  82. build/core/envsetup.mk:90: *** Unable to determine HOST_ARCH from uname -sm: Linux i686!。 停止。
  83. ** Don't have a product spec for: 'cm_cancro'
  84. ** Do you have the right repo manifest?
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
octopus@octopus:~/android/system$ breakfast cancro
including vendor/cm/vendorsetup.sh
build/core/envsetup.mk:90: *** Unable to determine HOST_ARCH from uname -sm: Linux i686!。 停止。
Device cancro not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_xiaomi_cancro
Default revision: cm-13.0
Checking branch info
Checking if device/xiaomi/cancro is fetched from android_device_xiaomi_cancro
Adding dependency: CyanogenMod/android_device_xiaomi_cancro -> device/xiaomi/cancro
Using default branch for android_device_xiaomi_cancro
Syncing repository to retrieve project. ... 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 repo
Fetching project CyanogenMod/android_device_xiaomi_cancro
% 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:01 --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
Fetching projects: 50% (1/2) remote: Counting objects: 1387, done.
remote: Compressing objects: 100% (52/52), done.
remote: Total 1387 (delta 12), reused 0 (delta 0), pack-reused 1332
接收对象中: 100% (1387/1387), 5.76 MiB | 94.00 KiB/s, done.
处理 delta 中: 100% (573/573), done.
来自 https://github.com/CyanogenMod/android_device_xiaomi_cancro
* [新分支] cm-13.0 -> github/cm-13.0
Fetching projects: 100% (2/2), done. Repository synced!
Looking for dependencies
Adding dependencies to manifest
Checking if device/qcom/common is fetched from android_device_qcom_common
Adding dependency: CyanogenMod/android_device_qcom_common -> device/qcom/common
Using default branch for android_device_qcom_common
Checking if kernel/xiaomi/cancro is fetched from android_kernel_xiaomi_cancro
Adding dependency: CyanogenMod/android_kernel_xiaomi_cancro -> kernel/xiaomi/cancro
Using default branch for android_kernel_xiaomi_cancro
Syncing dependencies ... 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_device_qcom_common
Fetching project CyanogenMod/android_kernel_xiaomi_cancro
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % 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:01 --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
remote: Counting objects: 661, done.
remote: Total 661 (delta 0), reused 0 (delta 0), pack-reused 661
接收对象中: 100% (661/661), 197.33 KiB | 79.00 KiB/s, done.
处理 delta 中: 100% (440/440), done.
来自 https://github.com/CyanogenMod/android_device_qcom_common
* [新分支] cm-13.0 -> github/cm-13.0
* [新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
Fetching projects: 50% (1/2) remote: Counting objects: 2740102, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 2740102 (delta 22), reused 18 (delta 18), pack-reused 2740074
接收对象中: 100% (2740102/2740102), 593.12 MiB | 585.00 KiB/s, done.
处理 delta 中: 100% (2292044/2292044), done.
来自 https://github.com/CyanogenMod/android_kernel_xiaomi_cancro
* [新分支] cm-13.0 -> github/cm-13.0
Fetching projects: 100% (2/2), done.
Checking out files: 100% (42522/42522), done. Looking for dependencies
Dependencies file not found, bailing out.
Looking for dependencies
Dependencies file not found, bailing out.
Done
build/core/envsetup.mk:90: *** Unable to determine HOST_ARCH from uname -sm: Linux i686!。 停止。 ** Don't have a product spec for: 'cm_cancro'
** Do you have the right repo manifest?

(3) 出错处理

出现了 Makefile 或者其它相关错误 :

-- 人员复杂原因 : 不同的维护人员设置它们设备的继承规则不同;

-- 供应商名称目录 : 一些需要一个以 手机供应商名称 当做目录, 并在 breakfast 命令快执行成功时, 将源码下载到该目录中;

-- 相关错误解决方案 : 如果你收到一些错误, 关于 供应商目录中的 Makefile 文件错误, 那么跳过执行下一个步骤 Extract proprietary blobs (提取专有文件), 错误提示如下 :

  1. build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/xiaomi/cancro/cm.mk]]: "vendor/xiaomi/cancro/cancro-vendor.mk" does not exist.  Stop.
  2. ** Don't have a product spec for: 'cm_cancro'
  3. ** Do you have the right repo manifest?
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/xiaomi/cancro/cm.mk]]: "vendor/xiaomi/cancro/cancro-vendor.mk" does not exist.  Stop.

** Don't have a product spec for: 'cm_cancro'
** Do you have the right repo manifest?

-- 成功部分预测 : breakfast 开始的部, 获取源码树过程部分应该执行成功, 并且提取设备专有文件的脚本应该可用;

-- 先提取设备文件 : 完成提取 设备专有文件 步骤之后, 再执行 breakfast cancro 命令, 就能执行成功;

五. 提取 Mi 4 设备专有文件 (Extract Propertietary Blobs)

设备专有文件简介 :

-- 文件列表 : 在 ~/android/system/device/xiaomi/cancro/device-proprietary-files.txt 文件列表中列出了 505 个文件及其路径;

-- 文件不全 : 找不全所有的 505 个文件;

-- CyanogenMod 13.0 系统中的文件 : CM 13 系统中有 496 个文件能找到;

-- MIUI 7 系统中的文件 : MIUI 7 中能找到 4 个与上面不同的文件;

-- 找不到的文件 : 有 5 个文件找不到, 没有这 5 个文件编译也能通过;

-- 路径问题 : 不是所有的路径都是正确的, 有 17 个文件 (CM 中有 13 个, MIUI 中有 4 个) 的路径写错了, 需要手动更正过来;

1. 提取专有文件 (Extract Propertietary Blobs) 标准操作 (100%出错)

(1) 标准流程

提取属性文件过程 : 这个过程要是能完整的执行下来, 没有任何错误, 那就出了老鬼了, 肯定会出错;

-- 手机 USB 连接电脑 :首先确保你的 小米 4 手机通过 USB 接口 连接上了电脑;

-- 进入指定目录 : 进入 ~/android/system/device/xiaomi/cancro 目录, 使用 cd ~/android/system/device/xiaomi/cancro 命令;

-- 提取专有文件 : 运行 ./extract-files.sh 命令;

-- 提取过程操作 : 专有文件从 小米 4 设备中复制出来, 然后被移动到了 ~/android/system/vendor/xiaomi 目录;

  1. root@ubuntu:~/android/system/device/xiaomi/cancro# ./extract-files.sh
  2. 161 KB/s (26297 bytes in 0.158s)
  3. 3721 KB/s (1462439 bytes in 0.383s)
  4. 20 KB/s (899 bytes in 0.043s)
  5. 3 KB/s (159 bytes in 0.042s)
  6. 3 KB/s (159 bytes in 0.043s)
  7. 2382 KB/s (270358 bytes in 0.110s)
  8. 3772 KB/s (786432 bytes in 0.203s)
  9. 4153 KB/s (3125684 bytes in 0.734s)
  10. 16 KB/s (732 bytes in 0.044s)
  11. 800 KB/s (41508 bytes in 0.050s)
  12. 185 KB/s (9220 bytes in 0.048s)
  13. 1 KB/s (56 bytes in 0.047s)
  14. 7 KB/s (372 bytes in 0.051s)
  15. 0 KB/s (32 bytes in 0.044s)
  16. 48 KB/s (2212 bytes in 0.044s)
  17. 3762 KB/s (957200 bytes in 0.248s)
  18. 261 KB/s (12760 bytes in 0.047s)
  19. 8 KB/s (412 bytes in 0.048s)
  20. 1092 KB/s (61440 bytes in 0.054s)
  21. 348 KB/s (16384 bytes in 0.045s)
  22. 316 KB/s (16384 bytes in 0.050s)
  23. 332 KB/s (16128 bytes in 0.047s)
  24. 4 KB/s (212 bytes in 0.046s)
  25. 4 KB/s (200 bytes in 0.047s)
  26. 2631 KB/s (970896 bytes in 0.360s)
  27. 4 KB/s (360 bytes in 0.070s)
  28. 106 KB/s (5472 bytes in 0.050s)
  29. 362 KB/s (17830 bytes in 0.048s)
  30. remote object '/system/etc/lut.dat' does not exist
  31. root@ubuntu:~/android/system/device/xiaomi/cancro#
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
root@ubuntu:~/android/system/device/xiaomi/cancro# ./extract-files.sh
161 KB/s (26297 bytes in 0.158s)
3721 KB/s (1462439 bytes in 0.383s)
20 KB/s (899 bytes in 0.043s)
3 KB/s (159 bytes in 0.042s)
3 KB/s (159 bytes in 0.043s)
2382 KB/s (270358 bytes in 0.110s)
3772 KB/s (786432 bytes in 0.203s)
4153 KB/s (3125684 bytes in 0.734s)
16 KB/s (732 bytes in 0.044s)
800 KB/s (41508 bytes in 0.050s)
185 KB/s (9220 bytes in 0.048s)
1 KB/s (56 bytes in 0.047s)
7 KB/s (372 bytes in 0.051s)
0 KB/s (32 bytes in 0.044s)
48 KB/s (2212 bytes in 0.044s)
3762 KB/s (957200 bytes in 0.248s)
261 KB/s (12760 bytes in 0.047s)
8 KB/s (412 bytes in 0.048s)
1092 KB/s (61440 bytes in 0.054s)
348 KB/s (16384 bytes in 0.045s)
316 KB/s (16384 bytes in 0.050s)
332 KB/s (16128 bytes in 0.047s)
4 KB/s (212 bytes in 0.046s)
4 KB/s (200 bytes in 0.047s)
2631 KB/s (970896 bytes in 0.360s)
4 KB/s (360 bytes in 0.070s)
106 KB/s (5472 bytes in 0.050s)
362 KB/s (17830 bytes in 0.048s)
remote object '/system/etc/lut.dat' does not exist
root@ubuntu:~/android/system/device/xiaomi/cancro#

(2) adb 错误出错处理

如果出现了 以下错误 :

-- 1. 无法获取文件 : adb being unable to pull the files;

-- 2. 没有配置环境变量 :  adb may not be in the path of execution;

-- 解决方案 : 出现了上述问题, 到 adb 页面 (https://wiki.cyanogenmod.org/w/Doc:_adb_intro), 寻找相关问题答案;

(3) remote object '' does not exist 错误出错处理

提取文件时没有对应文件错误 :

-- 小米 4 的 6.0 版本操作系统 (MIUI) 没有 相应文件, 出现以下错误 :

  1. root@ubuntu:~/android/system/device/xiaomi/cancro# ./extract-files.sh
  2. remote object '/system/etc/sdm_200_HOG3x3_Grid3x3_bin5_noproj_zero_reduced.bin.pca' does not exist
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
root@ubuntu:~/android/system/device/xiaomi/cancro# ./extract-files.sh
remote object '/system/etc/sdm_200_HOG3x3_Grid3x3_bin5_noproj_zero_reduced.bin.pca' does not exist

-- CM 13.0 版本操作系统出现以下错误 :

  1. root@ubuntu:~/android/system/device/xiaomi/cancro# ./extract-files.sh
  2. remote object '/system/etc/lut.dat' does not exist
  3. root@ubuntu:~/android/system/device/xiaomi/cancro#
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
root@ubuntu:~/android/system/device/xiaomi/cancro# ./extract-files.sh
remote object '/system/etc/lut.dat' does not exist
root@ubuntu:~/android/system/device/xiaomi/cancro#

-- 错误原因 : 不管是 MIUI7 还是 CyanogenMod 13.0 都不包含所有的文件, 这里需要分别从不同的系统中提取文件;

-- 错误处理方法 : MIUI 中没有上述文件, 因此需要先把 CyanogenMod 系统刷到小米4上, 再进行文件提取;

(4) 相关注意事项

相关注意事项 :

-- 设备准备 : 设备已经准备好运行一个 Android 编译版本, 该版本时 CyanogenMod 源码的一个分支, 并且该 编译时针对 extract-files.sh 脚本提取出的文件.

-- 重要性 : 使用 extract-files.sh 脚本从设备中提取到 ~/android/system/vendor/xiaomi 中的专有文件很重要;

-- 生成 Makefile 作用 : 在提取 专有文件 的同时, 会生成 Makefile 文件, 确保文件最终都拷贝到了设备中;

-- 缺少专有文件的后果 : 如果没有这些文件, CyanogenMod 源码可能会编译通过, 但是你可能会丢失一些重要的功能, 如 图形库 等;

2. 文件需求详细说明

(1) 需要提取的文件清单 (只是清单 不能使用该清单直接提取)

文件清单 : 提取的文件清单在  ~/android/system/device/xiaomi/cancro 目录中的 device-proprietary-files.txt 文件中列出;

-- 文件路径说明 : 这里的 etc/sdm_200_HOG3x3_Grid3x3_bin5_noproj_zero_reduced.bin.pca 文件指的是 手机系统里面的 /system/etc/sdm_200_HOG3x3_Grid3x3_bin5_noproj_zero_reduced.bin.pca 文件, 要在所有的前面加上一个 /system/, 找文件的时候也是去 /system/ 中去找;

-- 总共需要 505 个文件, 清单如下 :

  1. etc/sdm_200_HOG3x3_Grid3x3_bin5_noproj_zero_reduced.bin.pca
  2. etc/android_model_faceg.dat
  3. etc/permissions/android.hardware.consumerir.xml
  4. etc/permissions/qcrilhook.xml
  5. etc/permissions/qcnvitems.xml
  6. etc/android_model_facea.dat
  7. etc/firmware/wcnss.b08
  8. etc/firmware/wcnss.b06
  9. etc/firmware/wcnss.mdt
  10. etc/firmware/wcnss.b09
  11. etc/firmware/a330_pm4.fw
  12. etc/firmware/wcnss.b07
  13. etc/firmware/wcnss.b00
  14. etc/firmware/venus.b04
  15. etc/firmware/a330_pfp.fw
  16. etc/firmware/venus.b02
  17. etc/firmware/wcnss.b02
  18. etc/firmware/venus.mdt
  19. etc/firmware/wcnss.b04
  20. etc/firmware/cpp_firmware_v1_2_0.fw
  21. etc/firmware/cpp_firmware_v1_1_6.fw
  22. etc/firmware/cpp_firmware_v1_1_1.fw
  23. etc/firmware/venus.b00
  24. etc/firmware/venus.b01
  25. etc/firmware/venus.mbn
  26. etc/firmware/wcnss.b01
  27. etc/firmware/venus.b03
  28. etc/sensor_def_qcomdev.conf
  29. etc/lut.dat
  30. etc/data/dsi_config.xml
  31. etc/data/netmgr_config.xml
  32. etc/data/qmi_config.xml
  33. etc/sdm_200_HOG3x3_Grid3x3_bin5_noproj_zero_reduced.bin
  34. priv-app/qcrilmsgtunnel.apk
  35. lib/libdrmfs.so
  36. lib/libdrmdiag.so
  37. lib/libqomx_core.so
  38. lib/libchromatix_imx226_liveshot.so
  39. lib/hw/activity_recognition.msm8974.so
  40. lib/hw/gps.msm8974.so
  41. lib/hw/camera.msm8974.so
  42. lib/hw/consumerir.msm8974.so
  43. lib/libchromatix_imx214_liveshot.so
  44. lib/libqminvapi.so
  45. lib/libchromatix_imx219_liveshot.so
  46. lib/libchromatix_imx224_liveshot.so
  47. lib/libc2dcolorconvert.so
  48. lib/libchromatix_imx135_liveshot.so
  49. lib/libdrmdecrypt.so
  50. lib/libmmjpeg_interface.so
  51. lib/libloc_core.so
  52. lib/libloc_eng.so
  53. lib/libloc_ds_api.so
  54. lib/libchromatix_s5k3m2_liveshot.so
  55. lib/libgps.utils.so
  56. lib/libdrmtime.so
  57. lib/libmmcamera_interface.so
  58. lib/libDiracAPI_SHARED.so
  59. lib/libstm-log.so
  60. lib/libloc_api_v02.so
  61. lib/soundfx/libdirac.so
  62. lib/libchromatix_imx225_liveshot.so
  63. lib/librpmb.so
  64. lib/libmdmdetect.so
  65. lib/drm/libdrmwvmplugin.so
  66. lib/libQSEEComAPI.so
  67. lib/libOmxVdecHevc.so
  68. lib/libmm-omxcore.so
  69. lib/libchromatix_imx215_liveshot.so
  70. lib/libOmxVenc.so
  71. lib/libRecoFace.so
  72. lib/libssd.so
  73. framework/qti-telephony-common.jar
  74. framework/qcnvitems.jar
  75. framework/qcrilhook.jar
  76. bin/rmt_storage
  77. bin/time_daemon
  78. bin/irsc_util
  79. bin/qmuxd
  80. bin/sensors.qcom
  81. bin/hvdcp
  82. bin/radish
  83. bin/mm-qcamera-daemon
  84. bin/lowi-server
  85. bin/qseecomd
  86. bin/xtwifi-client
  87. bin/charger_monitor
  88. bin/xtwifi-inet-agent
  89. bin/btnvtool
  90. bin/wcnss_filter
  91. bin/quipc_main
  92. bin/quipc_igsn
  93. bin/mpdecision
  94. bin/fm_qsoc_patches
  95. bin/netmgrd
  96. bin/rfs_access
  97. bin/wcnss_service
  98. bin/qosmgr
  99. bin/adsprpcd
  100. vendor/lib/libadreno_utils.so
  101. vendor/lib/libmmcamera2_vpe_module.so
  102. vendor/lib/libTimeService.so
  103. vendor/lib/libchromatix_imx132_default_video.so
  104. vendor/lib/libchromatix_imx215_preview.so
  105. vendor/lib/libchromatix_s5k3l1yx_hfr_120fps.so
  106. vendor/lib/libchromatix_imx226_common.so
  107. vendor/lib/libmmcamera2_cpp_module.so
  108. vendor/lib/libchromatix_s5k3m2_video_uhd.so
  109. vendor/lib/libmmcamera_hi256.so
  110. vendor/lib/libchromatix_s5k3m2_snapshot_hdr.so
  111. vendor/lib/libmm-hdcpmgr.so
  112. vendor/lib/libchromatix_skuf_ov12830_p12v01c_zsl.so
  113. vendor/lib/libchromatix_imx225_snapshot.so
  114. vendor/lib/libfastcvopt.so
  115. vendor/lib/libmmcamera_SKUAA_ST_gc0339.so
  116. vendor/lib/libchromatix_ov5648_oty5f03_common.so
  117. vendor/lib/libmmcamera2_frame_algorithm.so
  118. vendor/lib/libquipc_os_api.so
  119. vendor/lib/libchromatix_skuf_ov12830_p12v01c_default_video.so
  120. vendor/lib/libchromatix_ov8825_liveshot_hd.so
  121. vendor/lib/libcneapiclient.so
  122. vendor/lib/libchromatix_s5k3l1yx_hfr_90fps.so
  123. vendor/lib/libchromatix_ov5648_oty5f03_snapshot.so
  124. vendor/lib/libchromatix_imx224_snapshot_w.so
  125. vendor/lib/libjpegdhw.so
  126. vendor/lib/libacdbloader.so
  127. vendor/lib/libchromatix_ov9724_preview.so
  128. vendor/lib/libFaceProc.so
  129. vendor/lib/libchromatix_imx224_hfr_120.so
  130. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_video_hd.so
  131. vendor/lib/libmm-abl.so
  132. vendor/lib/libchromatix_imx214_snapshot_w.so
  133. vendor/lib/libactuator_rohm_bu64243gwz_camcorder.so
  134. vendor/lib/libmmcamera_sunny_p12v01m_eeprom.so
  135. vendor/lib/libchromatix_s5k3l1yx_liveshot.so
  136. vendor/lib/libc2d30-a4xx.so
  137. vendor/lib/libsrsprocessing.so
  138. vendor/lib/libqct_resampler.so
  139. vendor/lib/libactuator_ov8825_camcorder.so
  140. vendor/lib/libchromatix_ov8825_preview.so
  141. vendor/lib/liboptizoom.so
  142. vendor/lib/libchromatix_ov2720_default_video.so
  143. vendor/lib/libchromatix_imx215_video_hdr_uhd.so
  144. vendor/lib/libactuator_bu6313_camcorder.so
  145. vendor/lib/libchromatix_skuf_ov12830_p12v01c_video_hd.so
  146. vendor/lib/libactuator_dw9716_camera.so
  147. vendor/lib/libchromatix_ov8825_snapshot_hd.so
  148. vendor/lib/hw/sensors.msm8974.so
  149. vendor/lib/hw/flp.default.so
  150. vendor/lib/libchromatix_skuf_ov12830_p12v01c_hfr_60fps.so
  151. vendor/lib/libmmcamera_imx135.so
  152. vendor/lib/libchromatix_imx226_snapshot_hdr.so
  153. vendor/lib/libchromatix_imx215_snapshot_w.so
  154. vendor/lib/libWVStreamControlAPI_L1.so
  155. vendor/lib/libacdbrtac.so
  156. vendor/lib/mediadrm/libdrmclearkeyplugin.so
  157. vendor/lib/mediadrm/libwvdrmengine.so
  158. vendor/lib/libmmcamera_imx219.so
  159. vendor/lib/libRSDriver_adreno.so
  160. vendor/lib/libactuator_ad5823_camera.so
  161. vendor/lib/libchromatix_ov8825_snapshot.so
  162. vendor/lib/libdiag.so
  163. vendor/lib/libactuator_iu074_camera.so
  164. vendor/lib/libchromatix_ov4688_preview.so
  165. vendor/lib/libC2D2.so
  166. vendor/lib/libchromatix_imx215_snapshot_hdr.so
  167. vendor/lib/libchromatix_ov8865_q8v18a_zsl.so
  168. vendor/lib/libchromatix_imx214_snapshot.so
  169. vendor/lib/libacdbmapper.so
  170. vendor/lib/libchromatix_ov8865_q8v18a_video_hd.so
  171. vendor/lib/libchromatix_imx134_preview.so
  172. vendor/lib/libchromatix_ov5648_oty5f03_default_video.so
  173. vendor/lib/libsmemlog.so
  174. vendor/lib/liboemcamera.so
  175. vendor/lib/libchromatix_imx134_snapshot.so
  176. vendor/lib/libchromatix_imx224_video_uhd.so
  177. vendor/lib/libchromatix_skuf_ov5648_p5v23c_common.so
  178. vendor/lib/libchromatix_imx215_video_hdr.so
  179. vendor/lib/libchromatix_imx132_preview.so
  180. vendor/lib/libqcci_legacy.so
  181. vendor/lib/libactuator_dw9716.so
  182. vendor/lib/libchromatix_imx225_common.so
  183. vendor/lib/libchromatix_skuf_ov12830_p12v01c_hfr_90fps.so
  184. vendor/lib/libchromatix_imx214_snapshot_hdr.so
  185. vendor/lib/libchromatix_imx135_hfr_60.so
  186. vendor/lib/libxtwifi_ulp_adaptor.so
  187. vendor/lib/libchromatix_ov5648_oty5f03_zsl.so
  188. vendor/lib/libchromatix_SKUAA_ST_gc0339_default_video.so
  189. vendor/lib/libchromatix_ov8865_q8v18a_liveshot.so
  190. vendor/lib/lib-dplmedia.so
  191. vendor/lib/libchromatix_ov5648_oty5f03_preview.so
  192. vendor/lib/libtime_genoff.so
  193. vendor/lib/libmmcamera_imx226.so
  194. vendor/lib/liblocationservice.so
  195. vendor/lib/libactuator_ov12830_camera.so
  196. vendor/lib/libchromatix_ov8825_hfr_60fps.so
  197. vendor/lib/libchromatix_imx224_snapshot_hdr.so
  198. vendor/lib/libmmcamera_skuf_ov12830_p12v01c.so
  199. vendor/lib/libgeofence.so
  200. vendor/lib/libasn1crtx.so
  201. vendor/lib/librs_adreno_sha1.so
  202. vendor/lib/libchromatix_skuab_shinetech_gc0339_common.so
  203. vendor/lib/libmmcamera_ubifocus_lib.so
  204. vendor/lib/libdrmdecrypt.so
  205. vendor/lib/libchromatix_ov8865_q8v18a_default_video.so
  206. vendor/lib/libmmcamera2_iface_modules.so
  207. vendor/lib/libmmcamera_ov9724.so
  208. vendor/lib/libchromatix_imx214_video_hdr.so
  209. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_snapshot.so
  210. vendor/lib/libchromatix_imx215_default_video.so
  211. vendor/lib/libactuator_ak7345.so
  212. vendor/lib/libchromatix_skuab_shinetech_gc0339_snapshot.so
  213. vendor/lib/libchromatix_ov8825_preview_hd.so
  214. vendor/lib/libchromatix_imx224_snapshot.so
  215. vendor/lib/libubifocus.so
  216. vendor/lib/libmmcamera_x5_imx214_eeprom.so
  217. vendor/lib/libmmcamera_chromaflash_lib.so
  218. vendor/lib/libchromatix_imx224_common.so
  219. vendor/lib/libchromatix_skuf_ov5648_p5v23c_default_video.so
  220. vendor/lib/liblbs_core.so
  221. vendor/lib/libchromatix_s5k3m2_video_hdr.so
  222. vendor/lib/libchromatix_imx219_common.so
  223. vendor/lib/libchromatix_skuf_ov12830_p12v01c_snapshot.so
  224. vendor/lib/libchromatix_imx226_video_hdr.so
  225. vendor/lib/libmmcamera_ov2720.so
  226. vendor/lib/libchromatix_imx226_snapshot_w.so
  227. vendor/lib/libqmi.so
  228. vendor/lib/libchromatix_imx214_video_uhd.so
  229. vendor/lib/libqmi_csvt_srvc.so
  230. vendor/lib/libchromatix_imx225_video_uhd.so
  231. vendor/lib/libchromatix_s5k3l1yx_default_video.so
  232. vendor/lib/libchromatix_ov8865_q8v18a_hfr_120fps.so
  233. vendor/lib/libCB.so
  234. vendor/lib/libchromatix_imx214_preview.so
  235. vendor/lib/libchromatix_skuab_shinetech_gc0339_default_video.so
  236. vendor/lib/libSHIMDivxDrm.so
  237. vendor/lib/libactuator_ov8825_camera.so
  238. vendor/lib/libchromatix_ov4688_zsl.so
  239. vendor/lib/libchromatix_SKUAA_ST_gc0339_common.so
  240. vendor/lib/libmmcamera2_sensor_modules.so
  241. vendor/lib/libaudioalsa.so
  242. vendor/lib/libchromatix_imx214_video_hdr_uhd.so
  243. vendor/lib/libchromatix_imx214_common.so
  244. vendor/lib/librs_adreno.so
  245. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_default_video.so
  246. vendor/lib/libchromatix_imx134_hfr_60.so
  247. vendor/lib/libulp2.so
  248. vendor/lib/libchromatix_imx224_video_hdr.so
  249. vendor/lib/libril-qc-qmi-1.so
  250. vendor/lib/libmmcamera_truly_cm7700_eeprom.so
  251. vendor/lib/libchromatix_s5k3m2_hfr_120fps.so
  252. vendor/lib/libNimsWrap.so
  253. vendor/lib/libchromatix_ov4689_preview.so
  254. vendor/lib/libbccQTI.so
  255. vendor/lib/libmmcamera_tintless_bg_pca_algo.so
  256. vendor/lib/libqomx_jpegenc.so
  257. vendor/lib/libbtnv.so
  258. vendor/lib/libchromatix_imx219_default_video.so
  259. vendor/lib/libmmcamera2_is.so
  260. vendor/lib/libFaceDeform.so
  261. vendor/lib/libactuator_ad5823.so
  262. vendor/lib/libgsl.so
  263. vendor/lib/libchromatix_skuf_ov5648_p5v23c_snapshot.so
  264. vendor/lib/libmmcamera_SKUAB_ST_s5k4e1.so
  265. vendor/lib/libdrmdecrypt.2.so
  266. vendor/lib/libmmqjpeg_codec.so
  267. vendor/lib/libchromatix_s5k3l1yx_video_hd.so
  268. vendor/lib/libactuator_rohm_bu64243gwz_camera.so
  269. vendor/lib/libchromatix_skuf_ov12830_p12v01c_hfr_120fps.so
  270. vendor/lib/libchromatix_s5k3m2_snapshot_w.so
  271. vendor/lib/libchromatix_ov8825_video_hd.so
  272. vendor/lib/libchromatix_imx135_preview.so
  273. vendor/lib/libarcsoft_beauty_shot.so
  274. vendor/lib/libmmcamera_ov4688.so
  275. vendor/lib/libactuator_bu6313_camera.so
  276. vendor/lib/libchromatix_s5k3l1yx_zsl.so
  277. vendor/lib/libsensor_test.so
  278. vendor/lib/libmmcamera2_q3a_special.so
  279. vendor/lib/libmmcamera_ov4689.so
  280. vendor/lib/libchromatix_ov4689_common.so
  281. vendor/lib/libqti-perfd-client.so
  282. vendor/lib/lib-rtpsl.so
  283. vendor/lib/libmmcamera_imx225.so
  284. vendor/lib/libchromatix_ov8825_common.so
  285. vendor/lib/libmmcamera2_stats_algorithm.so
  286. vendor/lib/libchromatix_imx134_hfr_120.so
  287. vendor/lib/lib-rtpdaemoninterface.so
  288. vendor/lib/libactuator_bu6313.so
  289. vendor/lib/libchromatix_ov4689_zsl.so
  290. vendor/lib/libOpenCL.so
  291. vendor/lib/libmmcamera_imx224.so
  292. vendor/lib/libchromatix_skuf_ov12830_p12v01c_common.so
  293. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_liveshot.so
  294. vendor/lib/libsensor_reg.so
  295. vendor/lib/libasn1crt.so
  296. vendor/lib/libmmcamera2_pproc_modules.so
  297. vendor/lib/libt2tmanager.so
  298. vendor/lib/libchromatix_imx225_preview.so
  299. vendor/lib/libchromatix_s5k3m2_preview.so
  300. vendor/lib/libactuator_iu074.so
  301. vendor/lib/libchromatix_SKUAA_ST_gc0339_preview.so
  302. vendor/lib/libchromatix_imx132_snapshot.so
  303. vendor/lib/libchromatix_ov8865_q8v18a_preview.so
  304. vendor/lib/libchromaflash.so
  305. vendor/lib/libjpegehw.so
  306. vendor/lib/libqmi_client_qmux.so
  307. vendor/lib/libfastcvadsp_stub.so
  308. vendor/lib/libc2d30-a3xx.so
  309. vendor/lib/soundfx/libqcbassboost.so
  310. vendor/lib/soundfx/libqcreverb.so
  311. vendor/lib/soundfx/libqcvirt.so
  312. vendor/lib/libchromatix_imx224_video_hdr_uhd.so
  313. vendor/lib/libmmipl.so
  314. vendor/lib/libqmi_common_so.so
  315. vendor/lib/libmm-abl-oem.so
  316. vendor/lib/libchromatix_s5k3m2_default_video.so
  317. vendor/lib/libchromatix_ov9724_default_video.so
  318. vendor/lib/libmmQSM.so
  319. vendor/lib/libchromatix_imx225_video_hdr_uhd.so
  320. vendor/lib/libactuator_ad5823_camcorder.so
  321. vendor/lib/libWVphoneAPI.so
  322. vendor/lib/libaudcal.so
  323. vendor/lib/libchromatix_imx219_snapshot.so
  324. vendor/lib/libmmcamera_skuab_shinetech_gc0339.so
  325. vendor/lib/libizat_core.so
  326. vendor/lib/libactuator_rohm_bu64243gwz.so
  327. vendor/lib/libdsutils.so
  328. vendor/lib/libchromatix_imx215_hfr_120.so
  329. vendor/lib/rfsa/adsp/libdspCV_skel.so
  330. vendor/lib/rfsa/adsp/libapps_mem_heap.so
  331. vendor/lib/rfsa/adsp/libfastcvadsp.so
  332. vendor/lib/rfsa/adsp/libfastcvadsp_skel.so
  333. vendor/lib/rfsa/adsp/libscveT2T_skel.so
  334. vendor/lib/libchromatix_imx226_hfr_120.so
  335. vendor/lib/libactuator_ak7345_camcorder.so
  336. vendor/lib/libchromatix_ov2720_liveshot.so
  337. vendor/lib/libwvdrm_L1.so
  338. vendor/lib/libactuator_lc8214_camera.so
  339. vendor/lib/libmmcamera2_wnr_module.so
  340. vendor/lib/libmmcamera_imglib.so
  341. vendor/lib/libquipc_ulp_adapter.so
  342. vendor/lib/libmmcamera_faceproc.so
  343. vendor/lib/libchromatix_ov4688_hfr.so
  344. vendor/lib/libasn1cper.so
  345. vendor/lib/libchromatix_imx214_hfr_120.so
  346. vendor/lib/libmmcamera_s5k3m2.so
  347. vendor/lib/libchromatix_ov9724_liveshot.so
  348. vendor/lib/libmmjpeg.so
  349. vendor/lib/libchromatix_imx214_default_video.so
  350. vendor/lib/libmmcamera2_stats_modules.so
  351. vendor/lib/libnetmgr.so
  352. vendor/lib/libchromatix_imx219_preview.so
  353. vendor/lib/libmmcamera_sunny_q8v18a_eeprom.so
  354. vendor/lib/libscve.so
  355. vendor/lib/libchromatix_ov8825_default_video.so
  356. vendor/lib/libchromatix_ov2720_hfr.so
  357. vendor/lib/libchromatix_ov4688_liveshot.so
  358. vendor/lib/libmmcamera2_c2d_module.so
  359. vendor/lib/libactuator_lc8214_camcorder.so
  360. vendor/lib/libchromatix_skuab_shinetech_gc0339_liveshot.so
  361. vendor/lib/libchromatix_s5k3l1yx_preview.so
  362. vendor/lib/libmmcamera_sunny_p5v23c_eeprom.so
  363. vendor/lib/libI420colorconvert.so
  364. vendor/lib/libchromatix_skuab_shinetech_gc0339_preview.so
  365. vendor/lib/libsensor_user_cal.so
  366. vendor/lib/libDivxDrm.so
  367. vendor/lib/libchromatix_ov4688_common.so
  368. vendor/lib/libc2d30.so
  369. vendor/lib/libchromatix_imx225_default_video.so
  370. vendor/lib/libqdp.so
  371. vendor/lib/libchromatix_ov8825_hfr_120fps.so
  372. vendor/lib/libchromatix_imx226_video_hdr_uhd.so
  373. vendor/lib/libHevcSwDecoder.so
  374. vendor/lib/libchromatix_ov2720_common.so
  375. vendor/lib/libchromatix_ov4689_hfr.so
  376. vendor/lib/libchromatix_ov9724_common.so
  377. vendor/lib/libmmcamera_wavelet_lib.so
  378. vendor/lib/libchromatix_imx226_default_video.so
  379. vendor/lib/libmmcamera_mt9m114.so
  380. vendor/lib/libchromatix_ov8825_hfr_90fps.so
  381. vendor/lib/libqmi_cci.so
  382. vendor/lib/libQSEEComAPI.so
  383. vendor/lib/libchromatix_imx224_preview.so
  384. vendor/lib/libchromatix_imx225_snapshot_hdr.so
  385. vendor/lib/libchromatix_skuab_shinetech_gc0339_zsl.so
  386. vendor/lib/libscve_stub.so
  387. vendor/lib/libactuator_dw9714_camera.so
  388. vendor/lib/libchromatix_imx215_snapshot.so
  389. vendor/lib/egl/eglsubAndroid.so
  390. vendor/lib/egl/libq3dtools_adreno.so
  391. vendor/lib/egl/libEGL_adreno.so
  392. vendor/lib/egl/libGLESv1_CM_adreno.so
  393. vendor/lib/egl/libGLESv2_adreno.so
  394. vendor/lib/libmmosal.so
  395. vendor/lib/libsc-a2xx.so
  396. vendor/lib/libchromatix_s5k3l1yx_hfr_60fps.so
  397. vendor/lib/libconfigdb.so
  398. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_zsl.so
  399. vendor/lib/libmmcamera_imx214.so
  400. vendor/lib/libmmcamera2_imglib_modules.so
  401. vendor/lib/libchromatix_ov8825_zsl.so
  402. vendor/lib/libchromatix_imx215_video_uhd.so
  403. vendor/lib/libactuator_ov12830_camcorder.so
  404. vendor/lib/libchromatix_ov4689_default_video.so
  405. vendor/lib/libmmcamera_ov5648_oty5f03.so
  406. vendor/lib/libsystem_health_mon.so
  407. vendor/lib/libqmi_csi.so
  408. vendor/lib/libxtadapter.so
  409. vendor/lib/libchromatix_imx226_snapshot.so
  410. vendor/lib/libmmcamera_imx134.so
  411. vendor/lib/libmmcamera2_isp_modules.so
  412. vendor/lib/libchromatix_skuf_ov12830_p12v01c_preview.so
  413. vendor/lib/libmmcamera_tintless_algo.so
  414. vendor/lib/libmmcamera_imx132.so
  415. vendor/lib/libchromatix_skuf_ov5648_p5v23c_preview.so
  416. vendor/lib/libchromatix_s5k3m2_common.so
  417. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_common.so
  418. vendor/lib/libchromatix_imx135_hfr_90.so
  419. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_hfr_90fps.so
  420. vendor/lib/libxtwifi_zpp_adaptor.so
  421. vendor/lib/libchromatix_s5k3l1yx_snapshot.so
  422. vendor/lib/libmm-color-convertor.so
  423. vendor/lib/libactuator_lc8214.so
  424. vendor/lib/libmmcamera_hdr_gb_lib.so
  425. vendor/lib/lib-rtpcommon.so
  426. vendor/lib/libchromatix_ov8865_q8v18a_snapshot.so
  427. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_hfr_60fps.so
  428. vendor/lib/libperipheral_client.so
  429. vendor/lib/libsc-a3xx.so
  430. vendor/lib/libchromatix_ov4688_default_video.so
  431. vendor/lib/libchromatix_imx135_common.so
  432. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_hfr_120fps.so
  433. vendor/lib/libchromatix_ov8825_liveshot.so
  434. vendor/lib/libmmcamera_skuf_ov5648_p5v23c.so
  435. vendor/lib/libactuator_dw9716_camcorder.so
  436. vendor/lib/libmmcamera_ov8865_q8v18a.so
  437. vendor/lib/libchromatix_s5k3m2_snapshot.so
  438. vendor/lib/libmmcamera_s5k3l1yx.so
  439. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_preview.so
  440. vendor/lib/libmmcamera_hdr_lib.so
  441. vendor/lib/libqomx_jpegdec.so
  442. vendor/lib/libchromatix_imx134_common.so
  443. vendor/lib/libchromatix_imx215_common.so
  444. vendor/lib/liboemcrypto.so
  445. vendor/lib/libmmcamera_imx215.so
  446. vendor/lib/libsensor1.so
  447. vendor/lib/libllvm-qcom.so
  448. vendor/lib/libactuator_iu074_camcorder.so
  449. vendor/lib/libchromatix_ov4689_liveshot.so
  450. vendor/lib/libchromatix_imx134_default_video.so
  451. vendor/lib/libadsprpc.so
  452. vendor/lib/libchromatix_imx225_snapshot_w.so
  453. vendor/lib/libril-qcril-hook-oem.so
  454. vendor/lib/libdsi_netctrl.so
  455. vendor/lib/libscale.so
  456. vendor/lib/libchromatix_s5k3m2_video_hdr_uhd.so
  457. vendor/lib/libchromatix_imx135_hfr_120.so
  458. vendor/lib/libadiertac.so
  459. vendor/lib/libactuator_ov8825.so
  460. vendor/lib/libchromatix_imx226_video_uhd.so
  461. vendor/lib/libactuator_dw9714.so
  462. vendor/lib/libdisp-aba.so
  463. vendor/lib/libAKM8963.so
  464. vendor/lib/libchromatix_ov8865_q8v18a_hfr_90fps.so
  465. vendor/lib/libwifiscanner.so
  466. vendor/lib/libactuator_ov12830.so
  467. vendor/lib/libchromatix_imx132_common.so
  468. vendor/lib/libwvm.so
  469. vendor/lib/libchromatix_imx226_preview.so
  470. vendor/lib/libchromatix_ov2720_preview.so
  471. vendor/lib/libchromatix_imx225_video_hdr.so
  472. vendor/lib/libqmiservices.so
  473. vendor/lib/libmmcamera_ofilm_oty5f03_eeprom.so
  474. vendor/lib/libqmi_encdec.so
  475. vendor/lib/libchromatix_imx225_hfr_120.so
  476. vendor/lib/libmmcamera_x4_s5k3m2_eeprom.so
  477. vendor/lib/libchromatix_ov8865_q8v18a_common.so
  478. vendor/lib/libxml.so
  479. vendor/lib/libchromatix_ov2720_zsl.so
  480. vendor/lib/libmmcamera_ov8825.so
  481. vendor/lib/libchromatix_imx135_default_video.so
  482. vendor/lib/libactuator_ak7345_camera.so
  483. vendor/lib/libchromatix_imx132_liveshot.so
  484. vendor/lib/lib-rtpcore.so
  485. vendor/lib/libchromatix_imx135_snapshot.so
  486. vendor/lib/libchromatix_s5k3l1yx_common.so
  487. vendor/lib/libqdi.so
  488. vendor/lib/libidl.so
  489. vendor/lib/libactuator_dw9714_camcorder.so
  490. vendor/lib/libchromatix_imx224_default_video.so
  491. vendor/lib/libmmcamera_sp1628.so
  492. vendor/lib/libchromatix_imx135_video_hd.so
  493. vendor/lib/libchromatix_ov8865_q8v18a_hfr_60fps.so
  494. vendor/firmware/keymaster/keymaster.b01
  495. vendor/firmware/keymaster/keymaster.b02
  496. vendor/firmware/keymaster/keymaster.b00
  497. vendor/firmware/keymaster/keymaster.b03
  498. vendor/firmware/keymaster/keymaster.mdt
  499. vendor/firmware/bcm2079x-b5_pre_firmware.ncd
  500. vendor/firmware/bcm2079x-b5_firmware.ncd
  501. app/shutdownlistener.apk
  502. app/fastdormancy.apk
  503. app/TimeService.apk
  504. ../sbin/e2fsck_static
  505. ../sbin/chargeonlymode
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
etc/sdm_200_HOG3x3_Grid3x3_bin5_noproj_zero_reduced.bin.pca
etc/android_model_faceg.dat
etc/permissions/android.hardware.consumerir.xml
etc/permissions/qcrilhook.xml
etc/permissions/qcnvitems.xml
etc/android_model_facea.dat
etc/firmware/wcnss.b08
etc/firmware/wcnss.b06
etc/firmware/wcnss.mdt
etc/firmware/wcnss.b09
etc/firmware/a330_pm4.fw
etc/firmware/wcnss.b07
etc/firmware/wcnss.b00
etc/firmware/venus.b04
etc/firmware/a330_pfp.fw
etc/firmware/venus.b02
etc/firmware/wcnss.b02
etc/firmware/venus.mdt
etc/firmware/wcnss.b04
etc/firmware/cpp_firmware_v1_2_0.fw
etc/firmware/cpp_firmware_v1_1_6.fw
etc/firmware/cpp_firmware_v1_1_1.fw
etc/firmware/venus.b00
etc/firmware/venus.b01
etc/firmware/venus.mbn
etc/firmware/wcnss.b01
etc/firmware/venus.b03
etc/sensor_def_qcomdev.conf
etc/lut.dat
etc/data/dsi_config.xml
etc/data/netmgr_config.xml
etc/data/qmi_config.xml
etc/sdm_200_HOG3x3_Grid3x3_bin5_noproj_zero_reduced.bin
priv-app/qcrilmsgtunnel.apk
lib/libdrmfs.so
lib/libdrmdiag.so
lib/libqomx_core.so
lib/libchromatix_imx226_liveshot.so
lib/hw/activity_recognition.msm8974.so
lib/hw/gps.msm8974.so
lib/hw/camera.msm8974.so
lib/hw/consumerir.msm8974.so
lib/libchromatix_imx214_liveshot.so
lib/libqminvapi.so
lib/libchromatix_imx219_liveshot.so
lib/libchromatix_imx224_liveshot.so
lib/libc2dcolorconvert.so
lib/libchromatix_imx135_liveshot.so
lib/libdrmdecrypt.so
lib/libmmjpeg_interface.so
lib/libloc_core.so
lib/libloc_eng.so
lib/libloc_ds_api.so
lib/libchromatix_s5k3m2_liveshot.so
lib/libgps.utils.so
lib/libdrmtime.so
lib/libmmcamera_interface.so
lib/libDiracAPI_SHARED.so
lib/libstm-log.so
lib/libloc_api_v02.so
lib/soundfx/libdirac.so
lib/libchromatix_imx225_liveshot.so
lib/librpmb.so
lib/libmdmdetect.so
lib/drm/libdrmwvmplugin.so
lib/libQSEEComAPI.so
lib/libOmxVdecHevc.so
lib/libmm-omxcore.so
lib/libchromatix_imx215_liveshot.so
lib/libOmxVenc.so
lib/libRecoFace.so
lib/libssd.so
framework/qti-telephony-common.jar
framework/qcnvitems.jar
framework/qcrilhook.jar
bin/rmt_storage
bin/time_daemon
bin/irsc_util
bin/qmuxd
bin/sensors.qcom
bin/hvdcp
bin/radish
bin/mm-qcamera-daemon
bin/lowi-server
bin/qseecomd
bin/xtwifi-client
bin/charger_monitor
bin/xtwifi-inet-agent
bin/btnvtool
bin/wcnss_filter
bin/quipc_main
bin/quipc_igsn
bin/mpdecision
bin/fm_qsoc_patches
bin/netmgrd
bin/rfs_access
bin/wcnss_service
bin/qosmgr
bin/adsprpcd
vendor/lib/libadreno_utils.so
vendor/lib/libmmcamera2_vpe_module.so
vendor/lib/libTimeService.so
vendor/lib/libchromatix_imx132_default_video.so
vendor/lib/libchromatix_imx215_preview.so
vendor/lib/libchromatix_s5k3l1yx_hfr_120fps.so
vendor/lib/libchromatix_imx226_common.so
vendor/lib/libmmcamera2_cpp_module.so
vendor/lib/libchromatix_s5k3m2_video_uhd.so
vendor/lib/libmmcamera_hi256.so
vendor/lib/libchromatix_s5k3m2_snapshot_hdr.so
vendor/lib/libmm-hdcpmgr.so
vendor/lib/libchromatix_skuf_ov12830_p12v01c_zsl.so
vendor/lib/libchromatix_imx225_snapshot.so
vendor/lib/libfastcvopt.so
vendor/lib/libmmcamera_SKUAA_ST_gc0339.so
vendor/lib/libchromatix_ov5648_oty5f03_common.so
vendor/lib/libmmcamera2_frame_algorithm.so
vendor/lib/libquipc_os_api.so
vendor/lib/libchromatix_skuf_ov12830_p12v01c_default_video.so
vendor/lib/libchromatix_ov8825_liveshot_hd.so
vendor/lib/libcneapiclient.so
vendor/lib/libchromatix_s5k3l1yx_hfr_90fps.so
vendor/lib/libchromatix_ov5648_oty5f03_snapshot.so
vendor/lib/libchromatix_imx224_snapshot_w.so
vendor/lib/libjpegdhw.so
vendor/lib/libacdbloader.so
vendor/lib/libchromatix_ov9724_preview.so
vendor/lib/libFaceProc.so
vendor/lib/libchromatix_imx224_hfr_120.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_video_hd.so
vendor/lib/libmm-abl.so
vendor/lib/libchromatix_imx214_snapshot_w.so
vendor/lib/libactuator_rohm_bu64243gwz_camcorder.so
vendor/lib/libmmcamera_sunny_p12v01m_eeprom.so
vendor/lib/libchromatix_s5k3l1yx_liveshot.so
vendor/lib/libc2d30-a4xx.so
vendor/lib/libsrsprocessing.so
vendor/lib/libqct_resampler.so
vendor/lib/libactuator_ov8825_camcorder.so
vendor/lib/libchromatix_ov8825_preview.so
vendor/lib/liboptizoom.so
vendor/lib/libchromatix_ov2720_default_video.so
vendor/lib/libchromatix_imx215_video_hdr_uhd.so
vendor/lib/libactuator_bu6313_camcorder.so
vendor/lib/libchromatix_skuf_ov12830_p12v01c_video_hd.so
vendor/lib/libactuator_dw9716_camera.so
vendor/lib/libchromatix_ov8825_snapshot_hd.so
vendor/lib/hw/sensors.msm8974.so
vendor/lib/hw/flp.default.so
vendor/lib/libchromatix_skuf_ov12830_p12v01c_hfr_60fps.so
vendor/lib/libmmcamera_imx135.so
vendor/lib/libchromatix_imx226_snapshot_hdr.so
vendor/lib/libchromatix_imx215_snapshot_w.so
vendor/lib/libWVStreamControlAPI_L1.so
vendor/lib/libacdbrtac.so
vendor/lib/mediadrm/libdrmclearkeyplugin.so
vendor/lib/mediadrm/libwvdrmengine.so
vendor/lib/libmmcamera_imx219.so
vendor/lib/libRSDriver_adreno.so
vendor/lib/libactuator_ad5823_camera.so
vendor/lib/libchromatix_ov8825_snapshot.so
vendor/lib/libdiag.so
vendor/lib/libactuator_iu074_camera.so
vendor/lib/libchromatix_ov4688_preview.so
vendor/lib/libC2D2.so
vendor/lib/libchromatix_imx215_snapshot_hdr.so
vendor/lib/libchromatix_ov8865_q8v18a_zsl.so
vendor/lib/libchromatix_imx214_snapshot.so
vendor/lib/libacdbmapper.so
vendor/lib/libchromatix_ov8865_q8v18a_video_hd.so
vendor/lib/libchromatix_imx134_preview.so
vendor/lib/libchromatix_ov5648_oty5f03_default_video.so
vendor/lib/libsmemlog.so
vendor/lib/liboemcamera.so
vendor/lib/libchromatix_imx134_snapshot.so
vendor/lib/libchromatix_imx224_video_uhd.so
vendor/lib/libchromatix_skuf_ov5648_p5v23c_common.so
vendor/lib/libchromatix_imx215_video_hdr.so
vendor/lib/libchromatix_imx132_preview.so
vendor/lib/libqcci_legacy.so
vendor/lib/libactuator_dw9716.so
vendor/lib/libchromatix_imx225_common.so
vendor/lib/libchromatix_skuf_ov12830_p12v01c_hfr_90fps.so
vendor/lib/libchromatix_imx214_snapshot_hdr.so
vendor/lib/libchromatix_imx135_hfr_60.so
vendor/lib/libxtwifi_ulp_adaptor.so
vendor/lib/libchromatix_ov5648_oty5f03_zsl.so
vendor/lib/libchromatix_SKUAA_ST_gc0339_default_video.so
vendor/lib/libchromatix_ov8865_q8v18a_liveshot.so
vendor/lib/lib-dplmedia.so
vendor/lib/libchromatix_ov5648_oty5f03_preview.so
vendor/lib/libtime_genoff.so
vendor/lib/libmmcamera_imx226.so
vendor/lib/liblocationservice.so
vendor/lib/libactuator_ov12830_camera.so
vendor/lib/libchromatix_ov8825_hfr_60fps.so
vendor/lib/libchromatix_imx224_snapshot_hdr.so
vendor/lib/libmmcamera_skuf_ov12830_p12v01c.so
vendor/lib/libgeofence.so
vendor/lib/libasn1crtx.so
vendor/lib/librs_adreno_sha1.so
vendor/lib/libchromatix_skuab_shinetech_gc0339_common.so
vendor/lib/libmmcamera_ubifocus_lib.so
vendor/lib/libdrmdecrypt.so
vendor/lib/libchromatix_ov8865_q8v18a_default_video.so
vendor/lib/libmmcamera2_iface_modules.so
vendor/lib/libmmcamera_ov9724.so
vendor/lib/libchromatix_imx214_video_hdr.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_snapshot.so
vendor/lib/libchromatix_imx215_default_video.so
vendor/lib/libactuator_ak7345.so
vendor/lib/libchromatix_skuab_shinetech_gc0339_snapshot.so
vendor/lib/libchromatix_ov8825_preview_hd.so
vendor/lib/libchromatix_imx224_snapshot.so
vendor/lib/libubifocus.so
vendor/lib/libmmcamera_x5_imx214_eeprom.so
vendor/lib/libmmcamera_chromaflash_lib.so
vendor/lib/libchromatix_imx224_common.so
vendor/lib/libchromatix_skuf_ov5648_p5v23c_default_video.so
vendor/lib/liblbs_core.so
vendor/lib/libchromatix_s5k3m2_video_hdr.so
vendor/lib/libchromatix_imx219_common.so
vendor/lib/libchromatix_skuf_ov12830_p12v01c_snapshot.so
vendor/lib/libchromatix_imx226_video_hdr.so
vendor/lib/libmmcamera_ov2720.so
vendor/lib/libchromatix_imx226_snapshot_w.so
vendor/lib/libqmi.so
vendor/lib/libchromatix_imx214_video_uhd.so
vendor/lib/libqmi_csvt_srvc.so
vendor/lib/libchromatix_imx225_video_uhd.so
vendor/lib/libchromatix_s5k3l1yx_default_video.so
vendor/lib/libchromatix_ov8865_q8v18a_hfr_120fps.so
vendor/lib/libCB.so
vendor/lib/libchromatix_imx214_preview.so
vendor/lib/libchromatix_skuab_shinetech_gc0339_default_video.so
vendor/lib/libSHIMDivxDrm.so
vendor/lib/libactuator_ov8825_camera.so
vendor/lib/libchromatix_ov4688_zsl.so
vendor/lib/libchromatix_SKUAA_ST_gc0339_common.so
vendor/lib/libmmcamera2_sensor_modules.so
vendor/lib/libaudioalsa.so
vendor/lib/libchromatix_imx214_video_hdr_uhd.so
vendor/lib/libchromatix_imx214_common.so
vendor/lib/librs_adreno.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_default_video.so
vendor/lib/libchromatix_imx134_hfr_60.so
vendor/lib/libulp2.so
vendor/lib/libchromatix_imx224_video_hdr.so
vendor/lib/libril-qc-qmi-1.so
vendor/lib/libmmcamera_truly_cm7700_eeprom.so
vendor/lib/libchromatix_s5k3m2_hfr_120fps.so
vendor/lib/libNimsWrap.so
vendor/lib/libchromatix_ov4689_preview.so
vendor/lib/libbccQTI.so
vendor/lib/libmmcamera_tintless_bg_pca_algo.so
vendor/lib/libqomx_jpegenc.so
vendor/lib/libbtnv.so
vendor/lib/libchromatix_imx219_default_video.so
vendor/lib/libmmcamera2_is.so
vendor/lib/libFaceDeform.so
vendor/lib/libactuator_ad5823.so
vendor/lib/libgsl.so
vendor/lib/libchromatix_skuf_ov5648_p5v23c_snapshot.so
vendor/lib/libmmcamera_SKUAB_ST_s5k4e1.so
vendor/lib/libdrmdecrypt.2.so
vendor/lib/libmmqjpeg_codec.so
vendor/lib/libchromatix_s5k3l1yx_video_hd.so
vendor/lib/libactuator_rohm_bu64243gwz_camera.so
vendor/lib/libchromatix_skuf_ov12830_p12v01c_hfr_120fps.so
vendor/lib/libchromatix_s5k3m2_snapshot_w.so
vendor/lib/libchromatix_ov8825_video_hd.so
vendor/lib/libchromatix_imx135_preview.so
vendor/lib/libarcsoft_beauty_shot.so
vendor/lib/libmmcamera_ov4688.so
vendor/lib/libactuator_bu6313_camera.so
vendor/lib/libchromatix_s5k3l1yx_zsl.so
vendor/lib/libsensor_test.so
vendor/lib/libmmcamera2_q3a_special.so
vendor/lib/libmmcamera_ov4689.so
vendor/lib/libchromatix_ov4689_common.so
vendor/lib/libqti-perfd-client.so
vendor/lib/lib-rtpsl.so
vendor/lib/libmmcamera_imx225.so
vendor/lib/libchromatix_ov8825_common.so
vendor/lib/libmmcamera2_stats_algorithm.so
vendor/lib/libchromatix_imx134_hfr_120.so
vendor/lib/lib-rtpdaemoninterface.so
vendor/lib/libactuator_bu6313.so
vendor/lib/libchromatix_ov4689_zsl.so
vendor/lib/libOpenCL.so
vendor/lib/libmmcamera_imx224.so
vendor/lib/libchromatix_skuf_ov12830_p12v01c_common.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_liveshot.so
vendor/lib/libsensor_reg.so
vendor/lib/libasn1crt.so
vendor/lib/libmmcamera2_pproc_modules.so
vendor/lib/libt2tmanager.so
vendor/lib/libchromatix_imx225_preview.so
vendor/lib/libchromatix_s5k3m2_preview.so
vendor/lib/libactuator_iu074.so
vendor/lib/libchromatix_SKUAA_ST_gc0339_preview.so
vendor/lib/libchromatix_imx132_snapshot.so
vendor/lib/libchromatix_ov8865_q8v18a_preview.so
vendor/lib/libchromaflash.so
vendor/lib/libjpegehw.so
vendor/lib/libqmi_client_qmux.so
vendor/lib/libfastcvadsp_stub.so
vendor/lib/libc2d30-a3xx.so
vendor/lib/soundfx/libqcbassboost.so
vendor/lib/soundfx/libqcreverb.so
vendor/lib/soundfx/libqcvirt.so
vendor/lib/libchromatix_imx224_video_hdr_uhd.so
vendor/lib/libmmipl.so
vendor/lib/libqmi_common_so.so
vendor/lib/libmm-abl-oem.so
vendor/lib/libchromatix_s5k3m2_default_video.so
vendor/lib/libchromatix_ov9724_default_video.so
vendor/lib/libmmQSM.so
vendor/lib/libchromatix_imx225_video_hdr_uhd.so
vendor/lib/libactuator_ad5823_camcorder.so
vendor/lib/libWVphoneAPI.so
vendor/lib/libaudcal.so
vendor/lib/libchromatix_imx219_snapshot.so
vendor/lib/libmmcamera_skuab_shinetech_gc0339.so
vendor/lib/libizat_core.so
vendor/lib/libactuator_rohm_bu64243gwz.so
vendor/lib/libdsutils.so
vendor/lib/libchromatix_imx215_hfr_120.so
vendor/lib/rfsa/adsp/libdspCV_skel.so
vendor/lib/rfsa/adsp/libapps_mem_heap.so
vendor/lib/rfsa/adsp/libfastcvadsp.so
vendor/lib/rfsa/adsp/libfastcvadsp_skel.so
vendor/lib/rfsa/adsp/libscveT2T_skel.so
vendor/lib/libchromatix_imx226_hfr_120.so
vendor/lib/libactuator_ak7345_camcorder.so
vendor/lib/libchromatix_ov2720_liveshot.so
vendor/lib/libwvdrm_L1.so
vendor/lib/libactuator_lc8214_camera.so
vendor/lib/libmmcamera2_wnr_module.so
vendor/lib/libmmcamera_imglib.so
vendor/lib/libquipc_ulp_adapter.so
vendor/lib/libmmcamera_faceproc.so
vendor/lib/libchromatix_ov4688_hfr.so
vendor/lib/libasn1cper.so
vendor/lib/libchromatix_imx214_hfr_120.so
vendor/lib/libmmcamera_s5k3m2.so
vendor/lib/libchromatix_ov9724_liveshot.so
vendor/lib/libmmjpeg.so
vendor/lib/libchromatix_imx214_default_video.so
vendor/lib/libmmcamera2_stats_modules.so
vendor/lib/libnetmgr.so
vendor/lib/libchromatix_imx219_preview.so
vendor/lib/libmmcamera_sunny_q8v18a_eeprom.so
vendor/lib/libscve.so
vendor/lib/libchromatix_ov8825_default_video.so
vendor/lib/libchromatix_ov2720_hfr.so
vendor/lib/libchromatix_ov4688_liveshot.so
vendor/lib/libmmcamera2_c2d_module.so
vendor/lib/libactuator_lc8214_camcorder.so
vendor/lib/libchromatix_skuab_shinetech_gc0339_liveshot.so
vendor/lib/libchromatix_s5k3l1yx_preview.so
vendor/lib/libmmcamera_sunny_p5v23c_eeprom.so
vendor/lib/libI420colorconvert.so
vendor/lib/libchromatix_skuab_shinetech_gc0339_preview.so
vendor/lib/libsensor_user_cal.so
vendor/lib/libDivxDrm.so
vendor/lib/libchromatix_ov4688_common.so
vendor/lib/libc2d30.so
vendor/lib/libchromatix_imx225_default_video.so
vendor/lib/libqdp.so
vendor/lib/libchromatix_ov8825_hfr_120fps.so
vendor/lib/libchromatix_imx226_video_hdr_uhd.so
vendor/lib/libHevcSwDecoder.so
vendor/lib/libchromatix_ov2720_common.so
vendor/lib/libchromatix_ov4689_hfr.so
vendor/lib/libchromatix_ov9724_common.so
vendor/lib/libmmcamera_wavelet_lib.so
vendor/lib/libchromatix_imx226_default_video.so
vendor/lib/libmmcamera_mt9m114.so
vendor/lib/libchromatix_ov8825_hfr_90fps.so
vendor/lib/libqmi_cci.so
vendor/lib/libQSEEComAPI.so
vendor/lib/libchromatix_imx224_preview.so
vendor/lib/libchromatix_imx225_snapshot_hdr.so
vendor/lib/libchromatix_skuab_shinetech_gc0339_zsl.so
vendor/lib/libscve_stub.so
vendor/lib/libactuator_dw9714_camera.so
vendor/lib/libchromatix_imx215_snapshot.so
vendor/lib/egl/eglsubAndroid.so
vendor/lib/egl/libq3dtools_adreno.so
vendor/lib/egl/libEGL_adreno.so
vendor/lib/egl/libGLESv1_CM_adreno.so
vendor/lib/egl/libGLESv2_adreno.so
vendor/lib/libmmosal.so
vendor/lib/libsc-a2xx.so
vendor/lib/libchromatix_s5k3l1yx_hfr_60fps.so
vendor/lib/libconfigdb.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_zsl.so
vendor/lib/libmmcamera_imx214.so
vendor/lib/libmmcamera2_imglib_modules.so
vendor/lib/libchromatix_ov8825_zsl.so
vendor/lib/libchromatix_imx215_video_uhd.so
vendor/lib/libactuator_ov12830_camcorder.so
vendor/lib/libchromatix_ov4689_default_video.so
vendor/lib/libmmcamera_ov5648_oty5f03.so
vendor/lib/libsystem_health_mon.so
vendor/lib/libqmi_csi.so
vendor/lib/libxtadapter.so
vendor/lib/libchromatix_imx226_snapshot.so
vendor/lib/libmmcamera_imx134.so
vendor/lib/libmmcamera2_isp_modules.so
vendor/lib/libchromatix_skuf_ov12830_p12v01c_preview.so
vendor/lib/libmmcamera_tintless_algo.so
vendor/lib/libmmcamera_imx132.so
vendor/lib/libchromatix_skuf_ov5648_p5v23c_preview.so
vendor/lib/libchromatix_s5k3m2_common.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_common.so
vendor/lib/libchromatix_imx135_hfr_90.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_hfr_90fps.so
vendor/lib/libxtwifi_zpp_adaptor.so
vendor/lib/libchromatix_s5k3l1yx_snapshot.so
vendor/lib/libmm-color-convertor.so
vendor/lib/libactuator_lc8214.so
vendor/lib/libmmcamera_hdr_gb_lib.so
vendor/lib/lib-rtpcommon.so
vendor/lib/libchromatix_ov8865_q8v18a_snapshot.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_hfr_60fps.so
vendor/lib/libperipheral_client.so
vendor/lib/libsc-a3xx.so
vendor/lib/libchromatix_ov4688_default_video.so
vendor/lib/libchromatix_imx135_common.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_hfr_120fps.so
vendor/lib/libchromatix_ov8825_liveshot.so
vendor/lib/libmmcamera_skuf_ov5648_p5v23c.so
vendor/lib/libactuator_dw9716_camcorder.so
vendor/lib/libmmcamera_ov8865_q8v18a.so
vendor/lib/libchromatix_s5k3m2_snapshot.so
vendor/lib/libmmcamera_s5k3l1yx.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_preview.so
vendor/lib/libmmcamera_hdr_lib.so
vendor/lib/libqomx_jpegdec.so
vendor/lib/libchromatix_imx134_common.so
vendor/lib/libchromatix_imx215_common.so
vendor/lib/liboemcrypto.so
vendor/lib/libmmcamera_imx215.so
vendor/lib/libsensor1.so
vendor/lib/libllvm-qcom.so
vendor/lib/libactuator_iu074_camcorder.so
vendor/lib/libchromatix_ov4689_liveshot.so
vendor/lib/libchromatix_imx134_default_video.so
vendor/lib/libadsprpc.so
vendor/lib/libchromatix_imx225_snapshot_w.so
vendor/lib/libril-qcril-hook-oem.so
vendor/lib/libdsi_netctrl.so
vendor/lib/libscale.so
vendor/lib/libchromatix_s5k3m2_video_hdr_uhd.so
vendor/lib/libchromatix_imx135_hfr_120.so
vendor/lib/libadiertac.so
vendor/lib/libactuator_ov8825.so
vendor/lib/libchromatix_imx226_video_uhd.so
vendor/lib/libactuator_dw9714.so
vendor/lib/libdisp-aba.so
vendor/lib/libAKM8963.so
vendor/lib/libchromatix_ov8865_q8v18a_hfr_90fps.so
vendor/lib/libwifiscanner.so
vendor/lib/libactuator_ov12830.so
vendor/lib/libchromatix_imx132_common.so
vendor/lib/libwvm.so
vendor/lib/libchromatix_imx226_preview.so
vendor/lib/libchromatix_ov2720_preview.so
vendor/lib/libchromatix_imx225_video_hdr.so
vendor/lib/libqmiservices.so
vendor/lib/libmmcamera_ofilm_oty5f03_eeprom.so
vendor/lib/libqmi_encdec.so
vendor/lib/libchromatix_imx225_hfr_120.so
vendor/lib/libmmcamera_x4_s5k3m2_eeprom.so
vendor/lib/libchromatix_ov8865_q8v18a_common.so
vendor/lib/libxml.so
vendor/lib/libchromatix_ov2720_zsl.so
vendor/lib/libmmcamera_ov8825.so
vendor/lib/libchromatix_imx135_default_video.so
vendor/lib/libactuator_ak7345_camera.so
vendor/lib/libchromatix_imx132_liveshot.so
vendor/lib/lib-rtpcore.so
vendor/lib/libchromatix_imx135_snapshot.so
vendor/lib/libchromatix_s5k3l1yx_common.so
vendor/lib/libqdi.so
vendor/lib/libidl.so
vendor/lib/libactuator_dw9714_camcorder.so
vendor/lib/libchromatix_imx224_default_video.so
vendor/lib/libmmcamera_sp1628.so
vendor/lib/libchromatix_imx135_video_hd.so
vendor/lib/libchromatix_ov8865_q8v18a_hfr_60fps.so
vendor/firmware/keymaster/keymaster.b01
vendor/firmware/keymaster/keymaster.b02
vendor/firmware/keymaster/keymaster.b00
vendor/firmware/keymaster/keymaster.b03
vendor/firmware/keymaster/keymaster.mdt
vendor/firmware/bcm2079x-b5_pre_firmware.ncd
vendor/firmware/bcm2079x-b5_firmware.ncd
app/shutdownlistener.apk
app/fastdormancy.apk
app/TimeService.apk
../sbin/e2fsck_static
../sbin/chargeonlymode

(2) CyanogenMod 13.0 系统中能找到的文件 (及正确文件位置 该脚本用于 CM 13.0 操作系统直接提取文件)

CyanogenMod 13.0 系统中能找到的文件 : CM 13.0 系统中有 496 个文件, 其中 9 个设备文件找不到, 13 个文件的路径已经修改为正确的路径

-- 开启 root 模式 : 使用 adb root 命令, 获取 adb shell 中的 root 权限, 可以获取到绝大多数文件;

-- 注意路径错误问题 : 脚本中的前 13 个路径不正确, 该脚本下载完之后, 需要手动修改文件的路径;

-- 修改路径原理 (举个栗子) 很重要 : 脚本中原来的路径是 app/shutdownlistener.apk 即指向手机中的 /system/app/shutdownlistener.apk, 使用该路径是 pull 不下来的, 但是手机中实际的该文件的路径是 /system/app/shutdownlistener/shutdownlistener.apk, 使用该实际路径可以 pull 下来, 但是放到了 ~/android/system/vendor/xiaomi/cancro/proprietary/app/shutdownlistener/shutdownlistener.apk 中, 这样编译通不过, 编译脚本会到 ~/android/system/vendor/xiaomi/cancro/proprietary/app/ 目录中去找 shutdownlistener.apk 文件, 因此我们要将 shutdownlistener.apk 文件拷贝到 ~/android/system/vendor/xiaomi/cancro/proprietary/app/ 目录中;

-- 路径修改记录 : 脚本路径 -> 手机文件所在的真实路径;

  1. CyanogenMod :
  2. app/shutdownlistener.apk -> app/shutdownlistener/shutdownlistener.apk
  3. app/TimeService.apk -> app/TimeService/TimeService.apk
  4. priv-app/qcrilmsgtunnel.apk -> priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk
  5. lib/hw/camera.msm8974.so -> ./vendor/lib/hw/camera.msm8974.so
  6. lib/libdrmdecrypt.so -> ./vendor/lib/libdrmdecrypt.so
  7. lib/libDiracAPI_SHARED.so -> ./vendor/lib/libDiracAPI_SHARED.so
  8. lib/soundfx/libdirac.so -> ./vendor/lib/soundfx/libdirac.so
  9. vendor/lib/rfsa/adsp/libdspCV_skel.so -> ./lib/rfsa/adsp/libdspCV_skel.so
  10. vendor/lib/rfsa/adsp/libapps_mem_heap.so -> ./lib/rfsa/adsp/libapps_mem_heap.so
  11. vendor/lib/rfsa/adsp/libfastcvadsp.so -> ./lib/rfsa/adsp/libfastcvadsp.so
  12. vendor/lib/rfsa/adsp/libfastcvadsp_skel.so -> ./lib/rfsa/adsp/libfastcvadsp_skel.so
  13. vendor/lib/rfsa/adsp/libscveT2T_skel.so -> ./lib/rfsa/adsp/libscveT2T_skel.so
  14. vendor/lib/libQSEEComAPI.so -> ./lib/libQSEEComAPI.so
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
CyanogenMod :
app/shutdownlistener.apk -> app/shutdownlistener/shutdownlistener.apk
app/TimeService.apk -> app/TimeService/TimeService.apk
priv-app/qcrilmsgtunnel.apk -> priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk lib/hw/camera.msm8974.so -> ./vendor/lib/hw/camera.msm8974.so
lib/libdrmdecrypt.so -> ./vendor/lib/libdrmdecrypt.so
lib/libDiracAPI_SHARED.so -> ./vendor/lib/libDiracAPI_SHARED.so
lib/soundfx/libdirac.so -> ./vendor/lib/soundfx/libdirac.so vendor/lib/rfsa/adsp/libdspCV_skel.so -> ./lib/rfsa/adsp/libdspCV_skel.so
vendor/lib/rfsa/adsp/libapps_mem_heap.so -> ./lib/rfsa/adsp/libapps_mem_heap.so
vendor/lib/rfsa/adsp/libfastcvadsp.so -> ./lib/rfsa/adsp/libfastcvadsp.so
vendor/lib/rfsa/adsp/libfastcvadsp_skel.so -> ./lib/rfsa/adsp/libfastcvadsp_skel.so
vendor/lib/rfsa/adsp/libscveT2T_skel.so -> ./lib/rfsa/adsp/libscveT2T_skel.so
vendor/lib/libQSEEComAPI.so -> ./lib/libQSEEComAPI.so

-- 提取文件清单 :

  1. app/shutdownlistener/shutdownlistener.apk
  2. app/TimeService/TimeService.apk
  3. priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk
  4. vendor/lib/hw/camera.msm8974.so
  5. vendor/lib/libdrmdecrypt.so
  6. vendor/lib/libDiracAPI_SHARED.so
  7. vendor/lib/soundfx/libdirac.so
  8. lib/rfsa/adsp/libdspCV_skel.so
  9. lib/rfsa/adsp/libapps_mem_heap.so
  10. lib/rfsa/adsp/libfastcvadsp.so
  11. lib/rfsa/adsp/libfastcvadsp_skel.so
  12. lib/rfsa/adsp/libscveT2T_skel.so
  13. lib/libQSEEComAPI.so
  14. ../sbin/e2fsck_static
  15. ../sbin/chargeonlymode
  16. bin/rmt_storage
  17. bin/time_daemon
  18. bin/sensors.qcom
  19. bin/hvdcp
  20. bin/mm-qcamera-daemon
  21. bin/lowi-server
  22. bin/qseecomd
  23. bin/xtwifi-client
  24. bin/charger_monitor
  25. bin/xtwifi-inet-agent
  26. bin/btnvtool
  27. bin/wcnss_filter
  28. bin/quipc_main
  29. bin/quipc_igsn
  30. bin/mpdecision
  31. bin/fm_qsoc_patches
  32. bin/netmgrd
  33. bin/rfs_access
  34. bin/wcnss_service
  35. bin/qosmgr
  36. bin/adsprpcd
  37. etc/sdm_200_HOG3x3_Grid3x3_bin5_noproj_zero_reduced.bin.pca
  38. etc/android_model_faceg.dat
  39. etc/permissions/android.hardware.consumerir.xml
  40. etc/permissions/qcrilhook.xml
  41. etc/permissions/qcnvitems.xml
  42. etc/android_model_facea.dat
  43. etc/firmware/wcnss.b08
  44. etc/firmware/wcnss.b06
  45. etc/firmware/wcnss.mdt
  46. etc/firmware/wcnss.b09
  47. etc/firmware/a330_pm4.fw
  48. etc/firmware/wcnss.b07
  49. etc/firmware/wcnss.b00
  50. etc/firmware/venus.b04
  51. etc/firmware/a330_pfp.fw
  52. etc/firmware/venus.b02
  53. etc/firmware/wcnss.b02
  54. etc/firmware/venus.mdt
  55. etc/firmware/wcnss.b04
  56. etc/firmware/cpp_firmware_v1_2_0.fw
  57. etc/firmware/cpp_firmware_v1_1_6.fw
  58. etc/firmware/cpp_firmware_v1_1_1.fw
  59. etc/firmware/venus.b00
  60. etc/firmware/venus.b01
  61. etc/firmware/venus.mbn
  62. etc/firmware/wcnss.b01
  63. etc/firmware/venus.b03
  64. etc/sensor_def_qcomdev.conf
  65. etc/data/dsi_config.xml
  66. etc/data/netmgr_config.xml
  67. etc/data/qmi_config.xml
  68. etc/sdm_200_HOG3x3_Grid3x3_bin5_noproj_zero_reduced.bin
  69. lib/libdrmfs.so
  70. lib/libdrmdiag.so
  71. lib/libqomx_core.so
  72. lib/libchromatix_imx226_liveshot.so
  73. lib/hw/activity_recognition.msm8974.so
  74. lib/hw/gps.msm8974.so
  75. lib/hw/consumerir.msm8974.so
  76. lib/libchromatix_imx214_liveshot.so
  77. lib/libqminvapi.so
  78. lib/libchromatix_imx219_liveshot.so
  79. lib/libchromatix_imx224_liveshot.so
  80. lib/libc2dcolorconvert.so
  81. lib/libchromatix_imx135_liveshot.so
  82. lib/libmmjpeg_interface.so
  83. lib/libloc_core.so
  84. lib/libloc_eng.so
  85. lib/libloc_ds_api.so
  86. lib/libchromatix_s5k3m2_liveshot.so
  87. lib/libgps.utils.so
  88. lib/libdrmtime.so
  89. lib/libmmcamera_interface.so
  90. lib/libstm-log.so
  91. lib/libloc_api_v02.so
  92. lib/libchromatix_imx225_liveshot.so
  93. lib/librpmb.so
  94. lib/libmdmdetect.so
  95. lib/drm/libdrmwvmplugin.so
  96. lib/libQSEEComAPI.so
  97. lib/libchromatix_imx215_liveshot.so
  98. lib/libOmxVenc.so
  99. lib/libRecoFace.so
  100. lib/libssd.so
  101. framework/qti-telephony-common.jar
  102. framework/qcnvitems.jar
  103. framework/qcrilhook.jar
  104. bin/irsc_util
  105. bin/qmuxd
  106. bin/radish
  107. vendor/lib/libadreno_utils.so
  108. vendor/lib/libmmcamera2_vpe_module.so
  109. vendor/lib/libTimeService.so
  110. vendor/lib/libchromatix_imx132_default_video.so
  111. vendor/lib/libchromatix_imx215_preview.so
  112. vendor/lib/libchromatix_s5k3l1yx_hfr_120fps.so
  113. vendor/lib/libchromatix_imx226_common.so
  114. vendor/lib/libmmcamera2_cpp_module.so
  115. vendor/lib/libchromatix_s5k3m2_video_uhd.so
  116. vendor/lib/libmmcamera_hi256.so
  117. vendor/lib/libchromatix_s5k3m2_snapshot_hdr.so
  118. vendor/lib/libmm-hdcpmgr.so
  119. vendor/lib/libchromatix_skuf_ov12830_p12v01c_zsl.so
  120. vendor/lib/libchromatix_imx225_snapshot.so
  121. vendor/lib/libfastcvopt.so
  122. vendor/lib/libmmcamera_SKUAA_ST_gc0339.so
  123. vendor/lib/libchromatix_ov5648_oty5f03_common.so
  124. vendor/lib/libmmcamera2_frame_algorithm.so
  125. vendor/lib/libquipc_os_api.so
  126. vendor/lib/libchromatix_skuf_ov12830_p12v01c_default_video.so
  127. vendor/lib/libchromatix_ov8825_liveshot_hd.so
  128. vendor/lib/libcneapiclient.so
  129. vendor/lib/libchromatix_s5k3l1yx_hfr_90fps.so
  130. vendor/lib/libchromatix_ov5648_oty5f03_snapshot.so
  131. vendor/lib/libchromatix_imx224_snapshot_w.so
  132. vendor/lib/libjpegdhw.so
  133. vendor/lib/libacdbloader.so
  134. vendor/lib/libchromatix_ov9724_preview.so
  135. vendor/lib/libFaceProc.so
  136. vendor/lib/libchromatix_imx224_hfr_120.so
  137. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_video_hd.so
  138. vendor/lib/libmm-abl.so
  139. vendor/lib/libchromatix_imx214_snapshot_w.so
  140. vendor/lib/libactuator_rohm_bu64243gwz_camcorder.so
  141. vendor/lib/libmmcamera_sunny_p12v01m_eeprom.so
  142. vendor/lib/libchromatix_s5k3l1yx_liveshot.so
  143. vendor/lib/libc2d30-a4xx.so
  144. vendor/lib/libsrsprocessing.so
  145. vendor/lib/libqct_resampler.so
  146. vendor/lib/libactuator_ov8825_camcorder.so
  147. vendor/lib/libchromatix_ov8825_preview.so
  148. vendor/lib/libchromatix_ov2720_default_video.so
  149. vendor/lib/libchromatix_imx215_video_hdr_uhd.so
  150. vendor/lib/libactuator_bu6313_camcorder.so
  151. vendor/lib/libchromatix_skuf_ov12830_p12v01c_video_hd.so
  152. vendor/lib/libactuator_dw9716_camera.so
  153. vendor/lib/libchromatix_ov8825_snapshot_hd.so
  154. vendor/lib/hw/sensors.msm8974.so
  155. vendor/lib/hw/flp.default.so
  156. vendor/lib/libchromatix_skuf_ov12830_p12v01c_hfr_60fps.so
  157. vendor/lib/libmmcamera_imx135.so
  158. vendor/lib/libchromatix_imx226_snapshot_hdr.so
  159. vendor/lib/libchromatix_imx215_snapshot_w.so
  160. vendor/lib/libWVStreamControlAPI_L1.so
  161. vendor/lib/libacdbrtac.so
  162. vendor/lib/mediadrm/libdrmclearkeyplugin.so
  163. vendor/lib/mediadrm/libwvdrmengine.so
  164. vendor/lib/libmmcamera_imx219.so
  165. vendor/lib/libRSDriver_adreno.so
  166. vendor/lib/libactuator_ad5823_camera.so
  167. vendor/lib/libchromatix_ov8825_snapshot.so
  168. vendor/lib/libdiag.so
  169. vendor/lib/libactuator_iu074_camera.so
  170. vendor/lib/libchromatix_ov4688_preview.so
  171. vendor/lib/libC2D2.so
  172. vendor/lib/libchromatix_imx215_snapshot_hdr.so
  173. vendor/lib/libchromatix_ov8865_q8v18a_zsl.so
  174. vendor/lib/libchromatix_imx214_snapshot.so
  175. vendor/lib/libacdbmapper.so
  176. vendor/lib/libchromatix_ov8865_q8v18a_video_hd.so
  177. vendor/lib/libchromatix_imx134_preview.so
  178. vendor/lib/libchromatix_ov5648_oty5f03_default_video.so
  179. vendor/lib/libsmemlog.so
  180. vendor/lib/liboemcamera.so
  181. vendor/lib/libchromatix_imx134_snapshot.so
  182. vendor/lib/libchromatix_imx224_video_uhd.so
  183. vendor/lib/libchromatix_skuf_ov5648_p5v23c_common.so
  184. vendor/lib/libchromatix_imx215_video_hdr.so
  185. vendor/lib/libchromatix_imx132_preview.so
  186. vendor/lib/libqcci_legacy.so
  187. vendor/lib/libactuator_dw9716.so
  188. vendor/lib/libchromatix_imx225_common.so
  189. vendor/lib/libchromatix_skuf_ov12830_p12v01c_hfr_90fps.so
  190. vendor/lib/libchromatix_imx214_snapshot_hdr.so
  191. vendor/lib/libchromatix_imx135_hfr_60.so
  192. vendor/lib/libxtwifi_ulp_adaptor.so
  193. vendor/lib/libchromatix_ov5648_oty5f03_zsl.so
  194. vendor/lib/libchromatix_SKUAA_ST_gc0339_default_video.so
  195. vendor/lib/libchromatix_ov8865_q8v18a_liveshot.so
  196. vendor/lib/lib-dplmedia.so
  197. vendor/lib/libchromatix_ov5648_oty5f03_preview.so
  198. vendor/lib/libtime_genoff.so
  199. vendor/lib/libmmcamera_imx226.so
  200. vendor/lib/liblocationservice.so
  201. vendor/lib/libactuator_ov12830_camera.so
  202. vendor/lib/libchromatix_ov8825_hfr_60fps.so
  203. vendor/lib/libchromatix_imx224_snapshot_hdr.so
  204. vendor/lib/libmmcamera_skuf_ov12830_p12v01c.so
  205. vendor/lib/libgeofence.so
  206. vendor/lib/libasn1crtx.so
  207. vendor/lib/librs_adreno_sha1.so
  208. vendor/lib/libchromatix_skuab_shinetech_gc0339_common.so
  209. vendor/lib/libmmcamera_ubifocus_lib.so
  210. vendor/lib/libdrmdecrypt.so
  211. vendor/lib/libchromatix_ov8865_q8v18a_default_video.so
  212. vendor/lib/libmmcamera2_iface_modules.so
  213. vendor/lib/libmmcamera_ov9724.so
  214. vendor/lib/libchromatix_imx214_video_hdr.so
  215. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_snapshot.so
  216. vendor/lib/libchromatix_imx215_default_video.so
  217. vendor/lib/libactuator_ak7345.so
  218. vendor/lib/libchromatix_skuab_shinetech_gc0339_snapshot.so
  219. vendor/lib/libchromatix_ov8825_preview_hd.so
  220. vendor/lib/libchromatix_imx224_snapshot.so
  221. vendor/lib/libmmcamera_x5_imx214_eeprom.so
  222. vendor/lib/libmmcamera_chromaflash_lib.so
  223. vendor/lib/libchromatix_imx224_common.so
  224. vendor/lib/libchromatix_skuf_ov5648_p5v23c_default_video.so
  225. vendor/lib/liblbs_core.so
  226. vendor/lib/libchromatix_s5k3m2_video_hdr.so
  227. vendor/lib/libchromatix_imx219_common.so
  228. vendor/lib/libchromatix_skuf_ov12830_p12v01c_snapshot.so
  229. vendor/lib/libchromatix_imx226_video_hdr.so
  230. vendor/lib/libmmcamera_ov2720.so
  231. vendor/lib/libchromatix_imx226_snapshot_w.so
  232. vendor/lib/libqmi.so
  233. vendor/lib/libchromatix_imx214_video_uhd.so
  234. vendor/lib/libqmi_csvt_srvc.so
  235. vendor/lib/libchromatix_imx225_video_uhd.so
  236. vendor/lib/libchromatix_s5k3l1yx_default_video.so
  237. vendor/lib/libchromatix_ov8865_q8v18a_hfr_120fps.so
  238. vendor/lib/libCB.so
  239. vendor/lib/libchromatix_imx214_preview.so
  240. vendor/lib/libchromatix_skuab_shinetech_gc0339_default_video.so
  241. vendor/lib/libSHIMDivxDrm.so
  242. vendor/lib/libactuator_ov8825_camera.so
  243. vendor/lib/libchromatix_ov4688_zsl.so
  244. vendor/lib/libchromatix_SKUAA_ST_gc0339_common.so
  245. vendor/lib/libmmcamera2_sensor_modules.so
  246. vendor/lib/libaudioalsa.so
  247. vendor/lib/libchromatix_imx214_video_hdr_uhd.so
  248. vendor/lib/libchromatix_imx214_common.so
  249. vendor/lib/librs_adreno.so
  250. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_default_video.so
  251. vendor/lib/libchromatix_imx134_hfr_60.so
  252. vendor/lib/libulp2.so
  253. vendor/lib/libchromatix_imx224_video_hdr.so
  254. vendor/lib/libril-qc-qmi-1.so
  255. vendor/lib/libmmcamera_truly_cm7700_eeprom.so
  256. vendor/lib/libchromatix_s5k3m2_hfr_120fps.so
  257. vendor/lib/libNimsWrap.so
  258. vendor/lib/libchromatix_ov4689_preview.so
  259. vendor/lib/libbccQTI.so
  260. vendor/lib/libmmcamera_tintless_bg_pca_algo.so
  261. vendor/lib/libqomx_jpegenc.so
  262. vendor/lib/libbtnv.so
  263. vendor/lib/libchromatix_imx219_default_video.so
  264. vendor/lib/libmmcamera2_is.so
  265. vendor/lib/libactuator_ad5823.so
  266. vendor/lib/libgsl.so
  267. vendor/lib/libchromatix_skuf_ov5648_p5v23c_snapshot.so
  268. vendor/lib/libmmcamera_SKUAB_ST_s5k4e1.so
  269. vendor/lib/libmmqjpeg_codec.so
  270. vendor/lib/libchromatix_s5k3l1yx_video_hd.so
  271. vendor/lib/libactuator_rohm_bu64243gwz_camera.so
  272. vendor/lib/libchromatix_skuf_ov12830_p12v01c_hfr_120fps.so
  273. vendor/lib/libchromatix_s5k3m2_snapshot_w.so
  274. vendor/lib/libchromatix_ov8825_video_hd.so
  275. vendor/lib/libchromatix_imx135_preview.so
  276. vendor/lib/libarcsoft_beauty_shot.so
  277. vendor/lib/libmmcamera_ov4688.so
  278. vendor/lib/libactuator_bu6313_camera.so
  279. vendor/lib/libchromatix_s5k3l1yx_zsl.so
  280. vendor/lib/libsensor_test.so
  281. vendor/lib/libmmcamera2_q3a_special.so
  282. vendor/lib/libmmcamera_ov4689.so
  283. vendor/lib/libchromatix_ov4689_common.so
  284. vendor/lib/libqti-perfd-client.so
  285. vendor/lib/lib-rtpsl.so
  286. vendor/lib/libmmcamera_imx225.so
  287. vendor/lib/libchromatix_ov8825_common.so
  288. vendor/lib/libmmcamera2_stats_algorithm.so
  289. vendor/lib/libchromatix_imx134_hfr_120.so
  290. vendor/lib/lib-rtpdaemoninterface.so
  291. vendor/lib/libactuator_bu6313.so
  292. vendor/lib/libchromatix_ov4689_zsl.so
  293. vendor/lib/libOpenCL.so
  294. vendor/lib/libmmcamera_imx224.so
  295. vendor/lib/libchromatix_skuf_ov12830_p12v01c_common.so
  296. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_liveshot.so
  297. vendor/lib/libsensor_reg.so
  298. vendor/lib/libasn1crt.so
  299. vendor/lib/libmmcamera2_pproc_modules.so
  300. vendor/lib/libt2tmanager.so
  301. vendor/lib/libchromatix_imx225_preview.so
  302. vendor/lib/libchromatix_s5k3m2_preview.so
  303. vendor/lib/libactuator_iu074.so
  304. vendor/lib/libchromatix_SKUAA_ST_gc0339_preview.so
  305. vendor/lib/libchromatix_imx132_snapshot.so
  306. vendor/lib/libchromatix_ov8865_q8v18a_preview.so
  307. vendor/lib/libchromaflash.so
  308. vendor/lib/libjpegehw.so
  309. vendor/lib/libqmi_client_qmux.so
  310. vendor/lib/libfastcvadsp_stub.so
  311. vendor/lib/libc2d30-a3xx.so
  312. vendor/lib/soundfx/libqcbassboost.so
  313. vendor/lib/soundfx/libqcreverb.so
  314. vendor/lib/soundfx/libqcvirt.so
  315. vendor/lib/libchromatix_imx224_video_hdr_uhd.so
  316. vendor/lib/libmmipl.so
  317. vendor/lib/libqmi_common_so.so
  318. vendor/lib/libmm-abl-oem.so
  319. vendor/lib/libchromatix_s5k3m2_default_video.so
  320. vendor/lib/libchromatix_ov9724_default_video.so
  321. vendor/lib/libmmQSM.so
  322. vendor/lib/libchromatix_imx225_video_hdr_uhd.so
  323. vendor/lib/libactuator_ad5823_camcorder.so
  324. vendor/lib/libWVphoneAPI.so
  325. vendor/lib/libaudcal.so
  326. vendor/lib/libchromatix_imx219_snapshot.so
  327. vendor/lib/libmmcamera_skuab_shinetech_gc0339.so
  328. vendor/lib/libizat_core.so
  329. vendor/lib/libactuator_rohm_bu64243gwz.so
  330. vendor/lib/libdsutils.so
  331. vendor/lib/libchromatix_imx215_hfr_120.so
  332. vendor/lib/libchromatix_imx226_hfr_120.so
  333. vendor/lib/libactuator_ak7345_camcorder.so
  334. vendor/lib/libchromatix_ov2720_liveshot.so
  335. vendor/lib/libwvdrm_L1.so
  336. vendor/lib/libactuator_lc8214_camera.so
  337. vendor/lib/libmmcamera2_wnr_module.so
  338. vendor/lib/libmmcamera_imglib.so
  339. vendor/lib/libquipc_ulp_adapter.so
  340. vendor/lib/libmmcamera_faceproc.so
  341. vendor/lib/libchromatix_ov4688_hfr.so
  342. vendor/lib/libasn1cper.so
  343. vendor/lib/libchromatix_imx214_hfr_120.so
  344. vendor/lib/libmmcamera_s5k3m2.so
  345. vendor/lib/libchromatix_ov9724_liveshot.so
  346. vendor/lib/libmmjpeg.so
  347. vendor/lib/libchromatix_imx214_default_video.so
  348. vendor/lib/libmmcamera2_stats_modules.so
  349. vendor/lib/libnetmgr.so
  350. vendor/lib/libchromatix_imx219_preview.so
  351. vendor/lib/libmmcamera_sunny_q8v18a_eeprom.so
  352. vendor/lib/libscve.so
  353. vendor/lib/libchromatix_ov8825_default_video.so
  354. vendor/lib/libchromatix_ov2720_hfr.so
  355. vendor/lib/libchromatix_ov4688_liveshot.so
  356. vendor/lib/libmmcamera2_c2d_module.so
  357. vendor/lib/libactuator_lc8214_camcorder.so
  358. vendor/lib/libchromatix_skuab_shinetech_gc0339_liveshot.so
  359. vendor/lib/libchromatix_s5k3l1yx_preview.so
  360. vendor/lib/libmmcamera_sunny_p5v23c_eeprom.so
  361. vendor/lib/libI420colorconvert.so
  362. vendor/lib/libchromatix_skuab_shinetech_gc0339_preview.so
  363. vendor/lib/libsensor_user_cal.so
  364. vendor/lib/libDivxDrm.so
  365. vendor/lib/libchromatix_ov4688_common.so
  366. vendor/lib/libchromatix_imx225_default_video.so
  367. vendor/lib/libqdp.so
  368. vendor/lib/libchromatix_ov8825_hfr_120fps.so
  369. vendor/lib/libchromatix_imx226_video_hdr_uhd.so
  370. vendor/lib/libHevcSwDecoder.so
  371. vendor/lib/libchromatix_ov2720_common.so
  372. vendor/lib/libchromatix_ov4689_hfr.so
  373. vendor/lib/libchromatix_ov9724_common.so
  374. vendor/lib/libmmcamera_wavelet_lib.so
  375. vendor/lib/libchromatix_imx226_default_video.so
  376. vendor/lib/libmmcamera_mt9m114.so
  377. vendor/lib/libchromatix_ov8825_hfr_90fps.so
  378. vendor/lib/libqmi_cci.so
  379. vendor/lib/libchromatix_imx224_preview.so
  380. vendor/lib/libchromatix_imx225_snapshot_hdr.so
  381. vendor/lib/libchromatix_skuab_shinetech_gc0339_zsl.so
  382. vendor/lib/libscve_stub.so
  383. vendor/lib/libactuator_dw9714_camera.so
  384. vendor/lib/libchromatix_imx215_snapshot.so
  385. vendor/lib/egl/eglsubAndroid.so
  386. vendor/lib/egl/libq3dtools_adreno.so
  387. vendor/lib/egl/libEGL_adreno.so
  388. vendor/lib/egl/libGLESv1_CM_adreno.so
  389. vendor/lib/egl/libGLESv2_adreno.so
  390. vendor/lib/libmmosal.so
  391. vendor/lib/libsc-a2xx.so
  392. vendor/lib/libchromatix_s5k3l1yx_hfr_60fps.so
  393. vendor/lib/libconfigdb.so
  394. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_zsl.so
  395. vendor/lib/libmmcamera_imx214.so
  396. vendor/lib/libmmcamera2_imglib_modules.so
  397. vendor/lib/libchromatix_ov8825_zsl.so
  398. vendor/lib/libchromatix_imx215_video_uhd.so
  399. vendor/lib/libactuator_ov12830_camcorder.so
  400. vendor/lib/libchromatix_ov4689_default_video.so
  401. vendor/lib/libmmcamera_ov5648_oty5f03.so
  402. vendor/lib/libsystem_health_mon.so
  403. vendor/lib/libqmi_csi.so
  404. vendor/lib/libxtadapter.so
  405. vendor/lib/libchromatix_imx226_snapshot.so
  406. vendor/lib/libmmcamera_imx134.so
  407. vendor/lib/libmmcamera2_isp_modules.so
  408. vendor/lib/libchromatix_skuf_ov12830_p12v01c_preview.so
  409. vendor/lib/libmmcamera_tintless_algo.so
  410. vendor/lib/libmmcamera_imx132.so
  411. vendor/lib/libchromatix_skuf_ov5648_p5v23c_preview.so
  412. vendor/lib/libchromatix_s5k3m2_common.so
  413. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_common.so
  414. vendor/lib/libchromatix_imx135_hfr_90.so
  415. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_hfr_90fps.so
  416. vendor/lib/libxtwifi_zpp_adaptor.so
  417. vendor/lib/libchromatix_s5k3l1yx_snapshot.so
  418. vendor/lib/libmm-color-convertor.so
  419. vendor/lib/libactuator_lc8214.so
  420. vendor/lib/libmmcamera_hdr_gb_lib.so
  421. vendor/lib/lib-rtpcommon.so
  422. vendor/lib/libchromatix_ov8865_q8v18a_snapshot.so
  423. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_hfr_60fps.so
  424. vendor/lib/libperipheral_client.so
  425. vendor/lib/libsc-a3xx.so
  426. vendor/lib/libchromatix_ov4688_default_video.so
  427. vendor/lib/libchromatix_imx135_common.so
  428. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_hfr_120fps.so
  429. vendor/lib/libchromatix_ov8825_liveshot.so
  430. vendor/lib/libmmcamera_skuf_ov5648_p5v23c.so
  431. vendor/lib/libactuator_dw9716_camcorder.so
  432. vendor/lib/libmmcamera_ov8865_q8v18a.so
  433. vendor/lib/libchromatix_s5k3m2_snapshot.so
  434. vendor/lib/libmmcamera_s5k3l1yx.so
  435. vendor/lib/libchromatix_SKUAB_ST_s5k4e1_preview.so
  436. vendor/lib/libmmcamera_hdr_lib.so
  437. vendor/lib/libqomx_jpegdec.so
  438. vendor/lib/libchromatix_imx134_common.so
  439. vendor/lib/libchromatix_imx215_common.so
  440. vendor/lib/liboemcrypto.so
  441. vendor/lib/libmmcamera_imx215.so
  442. vendor/lib/libsensor1.so
  443. vendor/lib/libllvm-qcom.so
  444. vendor/lib/libactuator_iu074_camcorder.so
  445. vendor/lib/libchromatix_ov4689_liveshot.so
  446. vendor/lib/libchromatix_imx134_default_video.so
  447. vendor/lib/libadsprpc.so
  448. vendor/lib/libchromatix_imx225_snapshot_w.so
  449. vendor/lib/libril-qcril-hook-oem.so
  450. vendor/lib/libdsi_netctrl.so
  451. vendor/lib/libscale.so
  452. vendor/lib/libchromatix_s5k3m2_video_hdr_uhd.so
  453. vendor/lib/libchromatix_imx135_hfr_120.so
  454. vendor/lib/libadiertac.so
  455. vendor/lib/libactuator_ov8825.so
  456. vendor/lib/libchromatix_imx226_video_uhd.so
  457. vendor/lib/libactuator_dw9714.so
  458. vendor/lib/libdisp-aba.so
  459. vendor/lib/libAKM8963.so
  460. vendor/lib/libchromatix_ov8865_q8v18a_hfr_90fps.so
  461. vendor/lib/libwifiscanner.so
  462. vendor/lib/libactuator_ov12830.so
  463. vendor/lib/libchromatix_imx132_common.so
  464. vendor/lib/libwvm.so
  465. vendor/lib/libchromatix_imx226_preview.so
  466. vendor/lib/libchromatix_ov2720_preview.so
  467. vendor/lib/libchromatix_imx225_video_hdr.so
  468. vendor/lib/libqmiservices.so
  469. vendor/lib/libmmcamera_ofilm_oty5f03_eeprom.so
  470. vendor/lib/libqmi_encdec.so
  471. vendor/lib/libchromatix_imx225_hfr_120.so
  472. vendor/lib/libmmcamera_x4_s5k3m2_eeprom.so
  473. vendor/lib/libchromatix_ov8865_q8v18a_common.so
  474. vendor/lib/libxml.so
  475. vendor/lib/libchromatix_ov2720_zsl.so
  476. vendor/lib/libmmcamera_ov8825.so
  477. vendor/lib/libchromatix_imx135_default_video.so
  478. vendor/lib/libactuator_ak7345_camera.so
  479. vendor/lib/libchromatix_imx132_liveshot.so
  480. vendor/lib/lib-rtpcore.so
  481. vendor/lib/libchromatix_imx135_snapshot.so
  482. vendor/lib/libchromatix_s5k3l1yx_common.so
  483. vendor/lib/libqdi.so
  484. vendor/lib/libidl.so
  485. vendor/lib/libactuator_dw9714_camcorder.so
  486. vendor/lib/libchromatix_imx224_default_video.so
  487. vendor/lib/libmmcamera_sp1628.so
  488. vendor/lib/libchromatix_imx135_video_hd.so
  489. vendor/lib/libchromatix_ov8865_q8v18a_hfr_60fps.so
  490. vendor/firmware/keymaster/keymaster.b01
  491. vendor/firmware/keymaster/keymaster.b02
  492. vendor/firmware/keymaster/keymaster.b00
  493. vendor/firmware/keymaster/keymaster.b03
  494. vendor/firmware/keymaster/keymaster.mdt
  495. vendor/firmware/bcm2079x-b5_pre_firmware.ncd
  496. vendor/firmware/bcm2079x-b5_firmware.ncd
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
app/shutdownlistener/shutdownlistener.apk
app/TimeService/TimeService.apk
priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk vendor/lib/hw/camera.msm8974.so
vendor/lib/libdrmdecrypt.so
vendor/lib/libDiracAPI_SHARED.so
vendor/lib/soundfx/libdirac.so lib/rfsa/adsp/libdspCV_skel.so
lib/rfsa/adsp/libapps_mem_heap.so
lib/rfsa/adsp/libfastcvadsp.so
lib/rfsa/adsp/libfastcvadsp_skel.so
lib/rfsa/adsp/libscveT2T_skel.so
lib/libQSEEComAPI.so ../sbin/e2fsck_static
../sbin/chargeonlymode
bin/rmt_storage
bin/time_daemon
bin/sensors.qcom
bin/hvdcp
bin/mm-qcamera-daemon
bin/lowi-server
bin/qseecomd
bin/xtwifi-client
bin/charger_monitor
bin/xtwifi-inet-agent
bin/btnvtool
bin/wcnss_filter
bin/quipc_main
bin/quipc_igsn
bin/mpdecision
bin/fm_qsoc_patches
bin/netmgrd
bin/rfs_access
bin/wcnss_service
bin/qosmgr
bin/adsprpcd
etc/sdm_200_HOG3x3_Grid3x3_bin5_noproj_zero_reduced.bin.pca
etc/android_model_faceg.dat
etc/permissions/android.hardware.consumerir.xml
etc/permissions/qcrilhook.xml
etc/permissions/qcnvitems.xml
etc/android_model_facea.dat
etc/firmware/wcnss.b08
etc/firmware/wcnss.b06
etc/firmware/wcnss.mdt
etc/firmware/wcnss.b09
etc/firmware/a330_pm4.fw
etc/firmware/wcnss.b07
etc/firmware/wcnss.b00
etc/firmware/venus.b04
etc/firmware/a330_pfp.fw
etc/firmware/venus.b02
etc/firmware/wcnss.b02
etc/firmware/venus.mdt
etc/firmware/wcnss.b04
etc/firmware/cpp_firmware_v1_2_0.fw
etc/firmware/cpp_firmware_v1_1_6.fw
etc/firmware/cpp_firmware_v1_1_1.fw
etc/firmware/venus.b00
etc/firmware/venus.b01
etc/firmware/venus.mbn
etc/firmware/wcnss.b01
etc/firmware/venus.b03
etc/sensor_def_qcomdev.conf
etc/data/dsi_config.xml
etc/data/netmgr_config.xml
etc/data/qmi_config.xml
etc/sdm_200_HOG3x3_Grid3x3_bin5_noproj_zero_reduced.bin
lib/libdrmfs.so
lib/libdrmdiag.so
lib/libqomx_core.so
lib/libchromatix_imx226_liveshot.so
lib/hw/activity_recognition.msm8974.so
lib/hw/gps.msm8974.so
lib/hw/consumerir.msm8974.so
lib/libchromatix_imx214_liveshot.so
lib/libqminvapi.so
lib/libchromatix_imx219_liveshot.so
lib/libchromatix_imx224_liveshot.so
lib/libc2dcolorconvert.so
lib/libchromatix_imx135_liveshot.so
lib/libmmjpeg_interface.so
lib/libloc_core.so
lib/libloc_eng.so
lib/libloc_ds_api.so
lib/libchromatix_s5k3m2_liveshot.so
lib/libgps.utils.so
lib/libdrmtime.so
lib/libmmcamera_interface.so
lib/libstm-log.so
lib/libloc_api_v02.so
lib/libchromatix_imx225_liveshot.so
lib/librpmb.so
lib/libmdmdetect.so
lib/drm/libdrmwvmplugin.so
lib/libQSEEComAPI.so
lib/libchromatix_imx215_liveshot.so
lib/libOmxVenc.so
lib/libRecoFace.so
lib/libssd.so
framework/qti-telephony-common.jar
framework/qcnvitems.jar
framework/qcrilhook.jar
bin/irsc_util
bin/qmuxd
bin/radish
vendor/lib/libadreno_utils.so
vendor/lib/libmmcamera2_vpe_module.so
vendor/lib/libTimeService.so
vendor/lib/libchromatix_imx132_default_video.so
vendor/lib/libchromatix_imx215_preview.so
vendor/lib/libchromatix_s5k3l1yx_hfr_120fps.so
vendor/lib/libchromatix_imx226_common.so
vendor/lib/libmmcamera2_cpp_module.so
vendor/lib/libchromatix_s5k3m2_video_uhd.so
vendor/lib/libmmcamera_hi256.so
vendor/lib/libchromatix_s5k3m2_snapshot_hdr.so
vendor/lib/libmm-hdcpmgr.so
vendor/lib/libchromatix_skuf_ov12830_p12v01c_zsl.so
vendor/lib/libchromatix_imx225_snapshot.so
vendor/lib/libfastcvopt.so
vendor/lib/libmmcamera_SKUAA_ST_gc0339.so
vendor/lib/libchromatix_ov5648_oty5f03_common.so
vendor/lib/libmmcamera2_frame_algorithm.so
vendor/lib/libquipc_os_api.so
vendor/lib/libchromatix_skuf_ov12830_p12v01c_default_video.so
vendor/lib/libchromatix_ov8825_liveshot_hd.so
vendor/lib/libcneapiclient.so
vendor/lib/libchromatix_s5k3l1yx_hfr_90fps.so
vendor/lib/libchromatix_ov5648_oty5f03_snapshot.so
vendor/lib/libchromatix_imx224_snapshot_w.so
vendor/lib/libjpegdhw.so
vendor/lib/libacdbloader.so
vendor/lib/libchromatix_ov9724_preview.so
vendor/lib/libFaceProc.so
vendor/lib/libchromatix_imx224_hfr_120.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_video_hd.so
vendor/lib/libmm-abl.so
vendor/lib/libchromatix_imx214_snapshot_w.so
vendor/lib/libactuator_rohm_bu64243gwz_camcorder.so
vendor/lib/libmmcamera_sunny_p12v01m_eeprom.so
vendor/lib/libchromatix_s5k3l1yx_liveshot.so
vendor/lib/libc2d30-a4xx.so
vendor/lib/libsrsprocessing.so
vendor/lib/libqct_resampler.so
vendor/lib/libactuator_ov8825_camcorder.so
vendor/lib/libchromatix_ov8825_preview.so
vendor/lib/libchromatix_ov2720_default_video.so
vendor/lib/libchromatix_imx215_video_hdr_uhd.so
vendor/lib/libactuator_bu6313_camcorder.so
vendor/lib/libchromatix_skuf_ov12830_p12v01c_video_hd.so
vendor/lib/libactuator_dw9716_camera.so
vendor/lib/libchromatix_ov8825_snapshot_hd.so
vendor/lib/hw/sensors.msm8974.so
vendor/lib/hw/flp.default.so
vendor/lib/libchromatix_skuf_ov12830_p12v01c_hfr_60fps.so
vendor/lib/libmmcamera_imx135.so
vendor/lib/libchromatix_imx226_snapshot_hdr.so
vendor/lib/libchromatix_imx215_snapshot_w.so
vendor/lib/libWVStreamControlAPI_L1.so
vendor/lib/libacdbrtac.so
vendor/lib/mediadrm/libdrmclearkeyplugin.so
vendor/lib/mediadrm/libwvdrmengine.so
vendor/lib/libmmcamera_imx219.so
vendor/lib/libRSDriver_adreno.so
vendor/lib/libactuator_ad5823_camera.so
vendor/lib/libchromatix_ov8825_snapshot.so
vendor/lib/libdiag.so
vendor/lib/libactuator_iu074_camera.so
vendor/lib/libchromatix_ov4688_preview.so
vendor/lib/libC2D2.so
vendor/lib/libchromatix_imx215_snapshot_hdr.so
vendor/lib/libchromatix_ov8865_q8v18a_zsl.so
vendor/lib/libchromatix_imx214_snapshot.so
vendor/lib/libacdbmapper.so
vendor/lib/libchromatix_ov8865_q8v18a_video_hd.so
vendor/lib/libchromatix_imx134_preview.so
vendor/lib/libchromatix_ov5648_oty5f03_default_video.so
vendor/lib/libsmemlog.so
vendor/lib/liboemcamera.so
vendor/lib/libchromatix_imx134_snapshot.so
vendor/lib/libchromatix_imx224_video_uhd.so
vendor/lib/libchromatix_skuf_ov5648_p5v23c_common.so
vendor/lib/libchromatix_imx215_video_hdr.so
vendor/lib/libchromatix_imx132_preview.so
vendor/lib/libqcci_legacy.so
vendor/lib/libactuator_dw9716.so
vendor/lib/libchromatix_imx225_common.so
vendor/lib/libchromatix_skuf_ov12830_p12v01c_hfr_90fps.so
vendor/lib/libchromatix_imx214_snapshot_hdr.so
vendor/lib/libchromatix_imx135_hfr_60.so
vendor/lib/libxtwifi_ulp_adaptor.so
vendor/lib/libchromatix_ov5648_oty5f03_zsl.so
vendor/lib/libchromatix_SKUAA_ST_gc0339_default_video.so
vendor/lib/libchromatix_ov8865_q8v18a_liveshot.so
vendor/lib/lib-dplmedia.so
vendor/lib/libchromatix_ov5648_oty5f03_preview.so
vendor/lib/libtime_genoff.so
vendor/lib/libmmcamera_imx226.so
vendor/lib/liblocationservice.so
vendor/lib/libactuator_ov12830_camera.so
vendor/lib/libchromatix_ov8825_hfr_60fps.so
vendor/lib/libchromatix_imx224_snapshot_hdr.so
vendor/lib/libmmcamera_skuf_ov12830_p12v01c.so
vendor/lib/libgeofence.so
vendor/lib/libasn1crtx.so
vendor/lib/librs_adreno_sha1.so
vendor/lib/libchromatix_skuab_shinetech_gc0339_common.so
vendor/lib/libmmcamera_ubifocus_lib.so
vendor/lib/libdrmdecrypt.so
vendor/lib/libchromatix_ov8865_q8v18a_default_video.so
vendor/lib/libmmcamera2_iface_modules.so
vendor/lib/libmmcamera_ov9724.so
vendor/lib/libchromatix_imx214_video_hdr.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_snapshot.so
vendor/lib/libchromatix_imx215_default_video.so
vendor/lib/libactuator_ak7345.so
vendor/lib/libchromatix_skuab_shinetech_gc0339_snapshot.so
vendor/lib/libchromatix_ov8825_preview_hd.so
vendor/lib/libchromatix_imx224_snapshot.so
vendor/lib/libmmcamera_x5_imx214_eeprom.so
vendor/lib/libmmcamera_chromaflash_lib.so
vendor/lib/libchromatix_imx224_common.so
vendor/lib/libchromatix_skuf_ov5648_p5v23c_default_video.so
vendor/lib/liblbs_core.so
vendor/lib/libchromatix_s5k3m2_video_hdr.so
vendor/lib/libchromatix_imx219_common.so
vendor/lib/libchromatix_skuf_ov12830_p12v01c_snapshot.so
vendor/lib/libchromatix_imx226_video_hdr.so
vendor/lib/libmmcamera_ov2720.so
vendor/lib/libchromatix_imx226_snapshot_w.so
vendor/lib/libqmi.so
vendor/lib/libchromatix_imx214_video_uhd.so
vendor/lib/libqmi_csvt_srvc.so
vendor/lib/libchromatix_imx225_video_uhd.so
vendor/lib/libchromatix_s5k3l1yx_default_video.so
vendor/lib/libchromatix_ov8865_q8v18a_hfr_120fps.so
vendor/lib/libCB.so
vendor/lib/libchromatix_imx214_preview.so
vendor/lib/libchromatix_skuab_shinetech_gc0339_default_video.so
vendor/lib/libSHIMDivxDrm.so
vendor/lib/libactuator_ov8825_camera.so
vendor/lib/libchromatix_ov4688_zsl.so
vendor/lib/libchromatix_SKUAA_ST_gc0339_common.so
vendor/lib/libmmcamera2_sensor_modules.so
vendor/lib/libaudioalsa.so
vendor/lib/libchromatix_imx214_video_hdr_uhd.so
vendor/lib/libchromatix_imx214_common.so
vendor/lib/librs_adreno.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_default_video.so
vendor/lib/libchromatix_imx134_hfr_60.so
vendor/lib/libulp2.so
vendor/lib/libchromatix_imx224_video_hdr.so
vendor/lib/libril-qc-qmi-1.so
vendor/lib/libmmcamera_truly_cm7700_eeprom.so
vendor/lib/libchromatix_s5k3m2_hfr_120fps.so
vendor/lib/libNimsWrap.so
vendor/lib/libchromatix_ov4689_preview.so
vendor/lib/libbccQTI.so
vendor/lib/libmmcamera_tintless_bg_pca_algo.so
vendor/lib/libqomx_jpegenc.so
vendor/lib/libbtnv.so
vendor/lib/libchromatix_imx219_default_video.so
vendor/lib/libmmcamera2_is.so
vendor/lib/libactuator_ad5823.so
vendor/lib/libgsl.so
vendor/lib/libchromatix_skuf_ov5648_p5v23c_snapshot.so
vendor/lib/libmmcamera_SKUAB_ST_s5k4e1.so
vendor/lib/libmmqjpeg_codec.so
vendor/lib/libchromatix_s5k3l1yx_video_hd.so
vendor/lib/libactuator_rohm_bu64243gwz_camera.so
vendor/lib/libchromatix_skuf_ov12830_p12v01c_hfr_120fps.so
vendor/lib/libchromatix_s5k3m2_snapshot_w.so
vendor/lib/libchromatix_ov8825_video_hd.so
vendor/lib/libchromatix_imx135_preview.so
vendor/lib/libarcsoft_beauty_shot.so
vendor/lib/libmmcamera_ov4688.so
vendor/lib/libactuator_bu6313_camera.so
vendor/lib/libchromatix_s5k3l1yx_zsl.so
vendor/lib/libsensor_test.so
vendor/lib/libmmcamera2_q3a_special.so
vendor/lib/libmmcamera_ov4689.so
vendor/lib/libchromatix_ov4689_common.so
vendor/lib/libqti-perfd-client.so
vendor/lib/lib-rtpsl.so
vendor/lib/libmmcamera_imx225.so
vendor/lib/libchromatix_ov8825_common.so
vendor/lib/libmmcamera2_stats_algorithm.so
vendor/lib/libchromatix_imx134_hfr_120.so
vendor/lib/lib-rtpdaemoninterface.so
vendor/lib/libactuator_bu6313.so
vendor/lib/libchromatix_ov4689_zsl.so
vendor/lib/libOpenCL.so
vendor/lib/libmmcamera_imx224.so
vendor/lib/libchromatix_skuf_ov12830_p12v01c_common.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_liveshot.so
vendor/lib/libsensor_reg.so
vendor/lib/libasn1crt.so
vendor/lib/libmmcamera2_pproc_modules.so
vendor/lib/libt2tmanager.so
vendor/lib/libchromatix_imx225_preview.so
vendor/lib/libchromatix_s5k3m2_preview.so
vendor/lib/libactuator_iu074.so
vendor/lib/libchromatix_SKUAA_ST_gc0339_preview.so
vendor/lib/libchromatix_imx132_snapshot.so
vendor/lib/libchromatix_ov8865_q8v18a_preview.so
vendor/lib/libchromaflash.so
vendor/lib/libjpegehw.so
vendor/lib/libqmi_client_qmux.so
vendor/lib/libfastcvadsp_stub.so
vendor/lib/libc2d30-a3xx.so
vendor/lib/soundfx/libqcbassboost.so
vendor/lib/soundfx/libqcreverb.so
vendor/lib/soundfx/libqcvirt.so
vendor/lib/libchromatix_imx224_video_hdr_uhd.so
vendor/lib/libmmipl.so
vendor/lib/libqmi_common_so.so
vendor/lib/libmm-abl-oem.so
vendor/lib/libchromatix_s5k3m2_default_video.so
vendor/lib/libchromatix_ov9724_default_video.so
vendor/lib/libmmQSM.so
vendor/lib/libchromatix_imx225_video_hdr_uhd.so
vendor/lib/libactuator_ad5823_camcorder.so
vendor/lib/libWVphoneAPI.so
vendor/lib/libaudcal.so
vendor/lib/libchromatix_imx219_snapshot.so
vendor/lib/libmmcamera_skuab_shinetech_gc0339.so
vendor/lib/libizat_core.so
vendor/lib/libactuator_rohm_bu64243gwz.so
vendor/lib/libdsutils.so
vendor/lib/libchromatix_imx215_hfr_120.so
vendor/lib/libchromatix_imx226_hfr_120.so
vendor/lib/libactuator_ak7345_camcorder.so
vendor/lib/libchromatix_ov2720_liveshot.so
vendor/lib/libwvdrm_L1.so
vendor/lib/libactuator_lc8214_camera.so
vendor/lib/libmmcamera2_wnr_module.so
vendor/lib/libmmcamera_imglib.so
vendor/lib/libquipc_ulp_adapter.so
vendor/lib/libmmcamera_faceproc.so
vendor/lib/libchromatix_ov4688_hfr.so
vendor/lib/libasn1cper.so
vendor/lib/libchromatix_imx214_hfr_120.so
vendor/lib/libmmcamera_s5k3m2.so
vendor/lib/libchromatix_ov9724_liveshot.so
vendor/lib/libmmjpeg.so
vendor/lib/libchromatix_imx214_default_video.so
vendor/lib/libmmcamera2_stats_modules.so
vendor/lib/libnetmgr.so
vendor/lib/libchromatix_imx219_preview.so
vendor/lib/libmmcamera_sunny_q8v18a_eeprom.so
vendor/lib/libscve.so
vendor/lib/libchromatix_ov8825_default_video.so
vendor/lib/libchromatix_ov2720_hfr.so
vendor/lib/libchromatix_ov4688_liveshot.so
vendor/lib/libmmcamera2_c2d_module.so
vendor/lib/libactuator_lc8214_camcorder.so
vendor/lib/libchromatix_skuab_shinetech_gc0339_liveshot.so
vendor/lib/libchromatix_s5k3l1yx_preview.so
vendor/lib/libmmcamera_sunny_p5v23c_eeprom.so
vendor/lib/libI420colorconvert.so
vendor/lib/libchromatix_skuab_shinetech_gc0339_preview.so
vendor/lib/libsensor_user_cal.so
vendor/lib/libDivxDrm.so
vendor/lib/libchromatix_ov4688_common.so
vendor/lib/libchromatix_imx225_default_video.so
vendor/lib/libqdp.so
vendor/lib/libchromatix_ov8825_hfr_120fps.so
vendor/lib/libchromatix_imx226_video_hdr_uhd.so
vendor/lib/libHevcSwDecoder.so
vendor/lib/libchromatix_ov2720_common.so
vendor/lib/libchromatix_ov4689_hfr.so
vendor/lib/libchromatix_ov9724_common.so
vendor/lib/libmmcamera_wavelet_lib.so
vendor/lib/libchromatix_imx226_default_video.so
vendor/lib/libmmcamera_mt9m114.so
vendor/lib/libchromatix_ov8825_hfr_90fps.so
vendor/lib/libqmi_cci.so
vendor/lib/libchromatix_imx224_preview.so
vendor/lib/libchromatix_imx225_snapshot_hdr.so
vendor/lib/libchromatix_skuab_shinetech_gc0339_zsl.so
vendor/lib/libscve_stub.so
vendor/lib/libactuator_dw9714_camera.so
vendor/lib/libchromatix_imx215_snapshot.so
vendor/lib/egl/eglsubAndroid.so
vendor/lib/egl/libq3dtools_adreno.so
vendor/lib/egl/libEGL_adreno.so
vendor/lib/egl/libGLESv1_CM_adreno.so
vendor/lib/egl/libGLESv2_adreno.so
vendor/lib/libmmosal.so
vendor/lib/libsc-a2xx.so
vendor/lib/libchromatix_s5k3l1yx_hfr_60fps.so
vendor/lib/libconfigdb.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_zsl.so
vendor/lib/libmmcamera_imx214.so
vendor/lib/libmmcamera2_imglib_modules.so
vendor/lib/libchromatix_ov8825_zsl.so
vendor/lib/libchromatix_imx215_video_uhd.so
vendor/lib/libactuator_ov12830_camcorder.so
vendor/lib/libchromatix_ov4689_default_video.so
vendor/lib/libmmcamera_ov5648_oty5f03.so
vendor/lib/libsystem_health_mon.so
vendor/lib/libqmi_csi.so
vendor/lib/libxtadapter.so
vendor/lib/libchromatix_imx226_snapshot.so
vendor/lib/libmmcamera_imx134.so
vendor/lib/libmmcamera2_isp_modules.so
vendor/lib/libchromatix_skuf_ov12830_p12v01c_preview.so
vendor/lib/libmmcamera_tintless_algo.so
vendor/lib/libmmcamera_imx132.so
vendor/lib/libchromatix_skuf_ov5648_p5v23c_preview.so
vendor/lib/libchromatix_s5k3m2_common.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_common.so
vendor/lib/libchromatix_imx135_hfr_90.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_hfr_90fps.so
vendor/lib/libxtwifi_zpp_adaptor.so
vendor/lib/libchromatix_s5k3l1yx_snapshot.so
vendor/lib/libmm-color-convertor.so
vendor/lib/libactuator_lc8214.so
vendor/lib/libmmcamera_hdr_gb_lib.so
vendor/lib/lib-rtpcommon.so
vendor/lib/libchromatix_ov8865_q8v18a_snapshot.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_hfr_60fps.so
vendor/lib/libperipheral_client.so
vendor/lib/libsc-a3xx.so
vendor/lib/libchromatix_ov4688_default_video.so
vendor/lib/libchromatix_imx135_common.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_hfr_120fps.so
vendor/lib/libchromatix_ov8825_liveshot.so
vendor/lib/libmmcamera_skuf_ov5648_p5v23c.so
vendor/lib/libactuator_dw9716_camcorder.so
vendor/lib/libmmcamera_ov8865_q8v18a.so
vendor/lib/libchromatix_s5k3m2_snapshot.so
vendor/lib/libmmcamera_s5k3l1yx.so
vendor/lib/libchromatix_SKUAB_ST_s5k4e1_preview.so
vendor/lib/libmmcamera_hdr_lib.so
vendor/lib/libqomx_jpegdec.so
vendor/lib/libchromatix_imx134_common.so
vendor/lib/libchromatix_imx215_common.so
vendor/lib/liboemcrypto.so
vendor/lib/libmmcamera_imx215.so
vendor/lib/libsensor1.so
vendor/lib/libllvm-qcom.so
vendor/lib/libactuator_iu074_camcorder.so
vendor/lib/libchromatix_ov4689_liveshot.so
vendor/lib/libchromatix_imx134_default_video.so
vendor/lib/libadsprpc.so
vendor/lib/libchromatix_imx225_snapshot_w.so
vendor/lib/libril-qcril-hook-oem.so
vendor/lib/libdsi_netctrl.so
vendor/lib/libscale.so
vendor/lib/libchromatix_s5k3m2_video_hdr_uhd.so
vendor/lib/libchromatix_imx135_hfr_120.so
vendor/lib/libadiertac.so
vendor/lib/libactuator_ov8825.so
vendor/lib/libchromatix_imx226_video_uhd.so
vendor/lib/libactuator_dw9714.so
vendor/lib/libdisp-aba.so
vendor/lib/libAKM8963.so
vendor/lib/libchromatix_ov8865_q8v18a_hfr_90fps.so
vendor/lib/libwifiscanner.so
vendor/lib/libactuator_ov12830.so
vendor/lib/libchromatix_imx132_common.so
vendor/lib/libwvm.so
vendor/lib/libchromatix_imx226_preview.so
vendor/lib/libchromatix_ov2720_preview.so
vendor/lib/libchromatix_imx225_video_hdr.so
vendor/lib/libqmiservices.so
vendor/lib/libmmcamera_ofilm_oty5f03_eeprom.so
vendor/lib/libqmi_encdec.so
vendor/lib/libchromatix_imx225_hfr_120.so
vendor/lib/libmmcamera_x4_s5k3m2_eeprom.so
vendor/lib/libchromatix_ov8865_q8v18a_common.so
vendor/lib/libxml.so
vendor/lib/libchromatix_ov2720_zsl.so
vendor/lib/libmmcamera_ov8825.so
vendor/lib/libchromatix_imx135_default_video.so
vendor/lib/libactuator_ak7345_camera.so
vendor/lib/libchromatix_imx132_liveshot.so
vendor/lib/lib-rtpcore.so
vendor/lib/libchromatix_imx135_snapshot.so
vendor/lib/libchromatix_s5k3l1yx_common.so
vendor/lib/libqdi.so
vendor/lib/libidl.so
vendor/lib/libactuator_dw9714_camcorder.so
vendor/lib/libchromatix_imx224_default_video.so
vendor/lib/libmmcamera_sp1628.so
vendor/lib/libchromatix_imx135_video_hd.so
vendor/lib/libchromatix_ov8865_q8v18a_hfr_60fps.so
vendor/firmware/keymaster/keymaster.b01
vendor/firmware/keymaster/keymaster.b02
vendor/firmware/keymaster/keymaster.b00
vendor/firmware/keymaster/keymaster.b03
vendor/firmware/keymaster/keymaster.mdt
vendor/firmware/bcm2079x-b5_pre_firmware.ncd
vendor/firmware/bcm2079x-b5_firmware.ncd

(3) MIUI 中单独提取的 4 个文件

MIUI 7 系统提取的文件 : 首先刷上 MIUI7 系统;

-- 需要提取的文件路径 : 格式 编译路径 -> 真实路径地址;

  1. MIUI :
  2. app/fastdormancy.apk -> /system/app/fastdormancy/fastdormancy.apk
  3. lib/libOmxVdecHevc.so -> /system/lib/libOmxVdecHevc.so
  4. lib/libmm-omxcore.so -> /system/lib/libmm-omxcore.so
  5. vendor/lib/libubifocus.so -> /system/vendor/lib/libubifocus.so
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
MIUI :
app/fastdormancy.apk -> /system/app/fastdormancy/fastdormancy.apk
lib/libOmxVdecHevc.so -> /system/lib/libOmxVdecHevc.so
lib/libmm-omxcore.so -> /system/lib/libmm-omxcore.so
vendor/lib/libubifocus.so -> /system/vendor/lib/libubifocus.so

-- 提取文件方法 : 这里就不使用脚本提取了, 直接使用 adb pull 命令提取指定文件, 提取文件后, 拷贝到指定的目录, 下面是详细的路径和过程;

-- 1. 提取 fastdormancy.apk 文件 : 使用 adb pull /system/app/fastdormancy/fastdormancy.apk 命令, 获取该文件, 然后拷贝到 ~/android/system/vendor/xiaomi/cancro/proprietary/app 目录中;

-- 2. 提取 libOmxVdecHevc.so 文件 : 使用 adb pull /system/lib/libOmxVdecHevc.so 命令, 获取该文件, 然后拷贝到 ~/android/system/vendor/xiaomi/cancro/proprietary/lib 目录中;

-- 3. 提取 libmm-omxcore.so 文件 : 使用 adb pull /system/lib/libmm-omxcore.so 命令, 获取该文件, 然后拷贝到 ~/android/system/vendor/xiaomi/cancro/proprietary/lib 目录中;

-- 4. 提取 libubifocus.so 文件 : 使用 adb pull /system/vendor/lib/libubifocus.so 命令, 获取该文件, 然后拷贝到 ~/android/system/vendor/xiaomi/cancro/proprietary/vendor/lib 目录中;

(4) 对于需要修改路径的 17 个文件特殊说明

路径修改特殊说明 :

-- 注意路径错误问题 : 脚本中的前 13 个路径不正确, 该脚本下载完之后, 需要手动修改文件的路径;

-- 修改路径原理 (举个栗子) 很重要 : 脚本中原来的路径是 app/shutdownlistener.apk 即指向手机中的 /system/app/shutdownlistener.apk, 使用该路径是 pull 不下来的, 但是手机中实际的该文件的路径是 /system/app/shutdownlistener/shutdownlistener.apk, 使用该实际路径可以 pull 下来, 但是放到了 ~/android/system/vendor/xiaomi/cancro/proprietary/app/shutdownlistener/shutdownlistener.apk 中, 这样编译通不过, 编译脚本会到 ~/android/system/vendor/xiaomi/cancro/proprietary/app/ 目录中去找 shutdownlistener.apk 文件, 因此我们要将 shutdownlistener.apk 文件拷贝到 ~/android/system/vendor/xiaomi/cancro/proprietary/app/ 目录中;

-- 修改过路径的文件列表  :

  1. CyanogenMod :
  2. app/shutdownlistener.apk -> app/shutdownlistener/shutdownlistener.apk
  3. app/TimeService.apk -> app/TimeService/TimeService.apk
  4. priv-app/qcrilmsgtunnel.apk -> priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk
  5. lib/hw/camera.msm8974.so -> ./vendor/lib/hw/camera.msm8974.so
  6. lib/libdrmdecrypt.so -> ./vendor/lib/libdrmdecrypt.so
  7. lib/libDiracAPI_SHARED.so -> ./vendor/lib/libDiracAPI_SHARED.so
  8. lib/soundfx/libdirac.so -> ./vendor/lib/soundfx/libdirac.so
  9. vendor/lib/rfsa/adsp/libdspCV_skel.so -> ./lib/rfsa/adsp/libdspCV_skel.so
  10. vendor/lib/rfsa/adsp/libapps_mem_heap.so -> ./lib/rfsa/adsp/libapps_mem_heap.so
  11. vendor/lib/rfsa/adsp/libfastcvadsp.so -> ./lib/rfsa/adsp/libfastcvadsp.so
  12. vendor/lib/rfsa/adsp/libfastcvadsp_skel.so -> ./lib/rfsa/adsp/libfastcvadsp_skel.so
  13. vendor/lib/rfsa/adsp/libscveT2T_skel.so -> ./lib/rfsa/adsp/libscveT2T_skel.so
  14. vendor/lib/libQSEEComAPI.so -> ./lib/libQSEEComAPI.so
  15. MIUI :
  16. app/fastdormancy.apk -> /system/app/fastdormancy/fastdormancy.apk
  17. lib/libOmxVdecHevc.so -> /system/lib/libOmxVdecHevc.so
  18. lib/libmm-omxcore.so -> /system/lib/libmm-omxcore.so
  19. vendor/lib/libubifocus.so -> /system/vendor/lib/libubifocus.so
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
CyanogenMod :
app/shutdownlistener.apk -> app/shutdownlistener/shutdownlistener.apk
app/TimeService.apk -> app/TimeService/TimeService.apk
priv-app/qcrilmsgtunnel.apk -> priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk lib/hw/camera.msm8974.so -> ./vendor/lib/hw/camera.msm8974.so
lib/libdrmdecrypt.so -> ./vendor/lib/libdrmdecrypt.so
lib/libDiracAPI_SHARED.so -> ./vendor/lib/libDiracAPI_SHARED.so
lib/soundfx/libdirac.so -> ./vendor/lib/soundfx/libdirac.so vendor/lib/rfsa/adsp/libdspCV_skel.so -> ./lib/rfsa/adsp/libdspCV_skel.so
vendor/lib/rfsa/adsp/libapps_mem_heap.so -> ./lib/rfsa/adsp/libapps_mem_heap.so
vendor/lib/rfsa/adsp/libfastcvadsp.so -> ./lib/rfsa/adsp/libfastcvadsp.so
vendor/lib/rfsa/adsp/libfastcvadsp_skel.so -> ./lib/rfsa/adsp/libfastcvadsp_skel.so
vendor/lib/rfsa/adsp/libscveT2T_skel.so -> ./lib/rfsa/adsp/libscveT2T_skel.so
vendor/lib/libQSEEComAPI.so -> ./lib/libQSEEComAPI.so MIUI :
app/fastdormancy.apk -> /system/app/fastdormancy/fastdormancy.apk
lib/libOmxVdecHevc.so -> /system/lib/libOmxVdecHevc.so
lib/libmm-omxcore.so -> /system/lib/libmm-omxcore.so
vendor/lib/libubifocus.so -> /system/vendor/lib/libubifocus.so

-- 说明 : 设备列表中 有 17 个文件的路径是错误的, 我们从设备复制到 ~/android/system/vender/ 是按照原路径复制的, 但是编译系统不认, 必须将文件手动复制到错误的路径;

(5) 无法找到的文件

以下 5 个文件不管在 CM 上 还是在 MIUI 上都无法找到 :

  1. vendor/lib/libFaceDeform.so
  2. vendor/lib/libdrmdecrypt.2.so
  3. vendor/lib/libc2d30.so
  4. etc/lut.dat
  5. vendor/lib/liboptizoom.so
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
vendor/lib/libFaceDeform.so
vendor/lib/libdrmdecrypt.2.so
vendor/lib/libc2d30.so
etc/lut.dat
vendor/lib/liboptizoom.so

3. 直接从 ROM 中提取 (可不看, 我没有使用这种方法, 提供参考)

直接从 ROM 提取流程参考 :

-- 1.将数据转为 img :

  1. root@ubuntu:~/android_back/rom# ./sdat2img.py system.transfer.list system.new.dat system.img
  2. Copying 32770 blocks into position 0...
  3. Copying 2 blocks into position 32809...
  4. Copying 32212 blocks into position 33323...
  5. Copying 2 blocks into position 65536...
  6. Copying 32253 blocks into position 66050...
  7. Copying 2 blocks into position 98304...
  8. Copying 2 blocks into position 98345...
  9. Copying 32212 blocks into position 98859...
  10. Copying 2 blocks into position 131072...
  11. Copying 28176 blocks into position 131586...
  12. Skipping command zero
  13. Skipping command erase
  14. Done! Output image: /root/android_back/rom/system.img
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
root@ubuntu:~/android_back/rom# ./sdat2img.py system.transfer.list system.new.dat system.img
Copying 32770 blocks into position 0...
Copying 2 blocks into position 32809...
Copying 32212 blocks into position 33323...
Copying 2 blocks into position 65536...
Copying 32253 blocks into position 66050...
Copying 2 blocks into position 98304...
Copying 2 blocks into position 98345...
Copying 32212 blocks into position 98859...
Copying 2 blocks into position 131072...
Copying 28176 blocks into position 131586...
Skipping command zero
Skipping command erase Done! Output image: /root/android_back/rom/system.img

-- 2. 创建 system 目录 : 执行 mkdir system 命令;

-- 3. 将 img 挂载到 system 目录中 : 执行 sudo mount -t ext4 system.img system 命令;

-- 4. 可以查看 system 中的文件 :

  1. root@ubuntu:~/android_back/rom/system# ls
  2. addon.d  app  bin  build.prop  etc  fonts  framework  lib  lost+found  media  priv-app  recovery-from-boot.p  tts  usr  vendor  xbin
  3. root@ubuntu:~/android_back/rom/system#
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
root@ubuntu:~/android_back/rom/system# ls
addon.d app bin build.prop etc fonts framework lib lost+found media priv-app recovery-from-boot.p tts usr vendor xbin
root@ubuntu:~/android_back/rom/system#

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

六. CyanogenMod 13.0 Android 源码编译

1. 开启缓存 开始编译

(1) 设置环境变量

开始编译加速 :

-- 添加缓存环境变量 : 你可以在 ~/.bashrc 环境变量文件中 添加  export USE_CCACHE=1 环境变量,  加速随后的编译过程;

-- 分配缓存磁盘大小 : 为 ccache 指定磁盘中的一部分大小, 用于缓存, 使用 prebuilts/misc/linux-x86/ccache/ccache -M 50G 命令;

-- 命令执行位置 : 注意在 Android 源码根目录执行 prebuilts/misc/linux-x86/ccache/ccache -M 50G 命令;

  1. root@ubuntu:~/android/system# prebuilts/misc/linux-x86/ccache/ccache -M 50G
  2. Set cache size limit to 50.0 Gbytes
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
root@ubuntu:~/android/system# prebuilts/misc/linux-x86/ccache/ccache -M 50G
Set cache size limit to 50.0 Gbytes

(2) 开始编译

执行下面两条命令开始编译 :

-- 1. 初始化环境 : 执行 croot 命令, 该命令作用是先初始化环境变量, 后进入 ~/android/system 目录;

-- 2. 开始编译 : 执行 brunch cancro 命令, 开始编译源码;

-- 3. 编译完成 : 中间太费劲了, 许多波折, 花了好几天用来研究, 终于还是编译通过了, 截个图纪念下;

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

-- 编译成功后的输出 :

  1. using prebuilt boot.img from BOOTABLE_IMAGES...
  2. boot size (10211328) is 62.33% of limit (16384000)
  3. running:  openssl pkcs8 -in build/target/product/security/testkey.pk8 -inform DER -nocrypt
  4. running:  java -Xmx2048m -jar /root/android/system/out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmp2PeuRT /root/android/system/out/target/product/cancro/cm_cancro-ota-89a867549b.zip
  5. done.
  6. Package Complete: /root/android/system/out/target/product/cancro/cm-13.0-20160613-UNOFFICIAL-cancro.zip
  7. make: Leaving directory `/root/android/system'
  8. #### make completed successfully (02:44:37 (hh:mm:ss)) ####
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
using prebuilt boot.img from BOOTABLE_IMAGES...
boot size (10211328) is 62.33% of limit (16384000)
running: openssl pkcs8 -in build/target/product/security/testkey.pk8 -inform DER -nocrypt
running: java -Xmx2048m -jar /root/android/system/out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmp2PeuRT /root/android/system/out/target/product/cancro/cm_cancro-ota-89a867549b.zip
done.
Package Complete: /root/android/system/out/target/product/cancro/cm-13.0-20160613-UNOFFICIAL-cancro.zip
make: Leaving directory `/root/android/system' #### make completed successfully (02:44:37 (hh:mm:ss)) ####

(3) 编译缓存简介

编译缓存简介 :

-- 单位对应 : 50G 对应着 50GB 的缓存;

-- 一次执行有效 : 该命令只要运行一次即可, 该设置会被保存到本地磁盘, 不用重复设置;

-- 效果明显 : 25G ~ 100G 范围内的任何缓存值都会很明显的加速编译过程, 如传统的 1hr 编译时间可以被减少到 20 分钟;

-- 单台设备编译推荐 : 如果只为一台设备编译, 20 ~ 50G 即可;

-- 多台设备编译推荐 : 如果为 多种 设备编译, 并且这些设备不共享内核源码, 需要设置 75 ~ 100GB 的缓存;

-- 注意缓存控件时效 : 该配置的缓存控件会被永久的占用, 这个需要被考虑进去;

-- 更多关于 ccache 的知识点 : http://source.android.com/source/initializing.html#setting-up-ccache;

(4) 保持 ccache 独立性简介

保存 ccache 独立性 :

-- 保持 ccache 独立性需求 : 如果你是一个非常活跃的开发者, 不只是在 Android 工程方面工作, 你可能想要保持 Android ccache 的独立性;

-- 原因 : 因为该 ccache 很大, 可能会影响其它工程的 ccache;

-- 通过环境变量设置缓存信息 : 从 CM12.1 开始, 可以通过环境变量指定 CyanogenMod 的 ccache 的位置和大小, 语法如下 :

  1. export ANDROID_CCACHE_DIR="$HOME/android/.ccache"
  2. export ANDROID_CCACHE_SIZE="50G"
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
export ANDROID_CCACHE_DIR="$HOME/android/.ccache"
export ANDROID_CCACHE_SIZE="50G"

2. 常见编译错误

(1) 编译不执行错误

编译无法执行错误 :

-- 1. 编译不执行 :  如果编译没有开始 执行 lunch 命令, 从菜单列表中选择一个设备;

-- 2. 编译不执行 : 如果上面的操作无效, 执行 breakfast 命令, 从列表中选择;

-- 3. 执行完上面的操作后, 执行 make cancro 命令, 应该有效果;

(2) 命令无法找到错误

命令无法找到 错误 :

-- 命令未找到错误 : 如果执行 croot, brunch, 或者 lunch 命令行报出 command not found 错误;

-- 解决方案 : 确保你在 ~/android/system 目录中执行了 source build/envsetup.sh 命令;

(3) 编译内存不足

内存不足错误排除 :

-- 出现没有足够内存相关错误, 如下 :

  1. ERROR: signapk.jar failed: return code 1make: *** [out/target/product/cancro/cm_cancro-ota-eng.root.zip] Error 1
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
ERROR: signapk.jar failed: return code 1make: *** [out/target/product/cancro/cm_cancro-ota-eng.root.zip] Error 1

-- 1. 需要修改的文件 : 找到 ~/android/system/build/tools/releasetools/common.py 文件;

-- 2. 需要修改的内容 : 找到 -Xmx2048m 内容, 将其修改为 -Xmx1024m 或者 -Xmx512m;

-- 3. 再次尝试编译 : 执行 brunch cancro 命令, 再次尝试编译过程;

-- 虚拟机内存不足 : 如果没有任何报错就中断了, 可能是你编译用的虚拟机内存不足, 重新为虚拟机分配内存即可;

(4) 没有 Manifest 文件错误

没有 Manifest 文件错误 :

-- 错误信息 :

  1. oot@ubuntu:~/android/system# brunch cancro
  2. including vendor/cm/vendorsetup.sh
  3. build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/xiaomi/cancro/cm.mk]]: "vendor/xiaomi/cancro/cancro-vendor.mk" does not exist.  Stop.
  4. Device cancro not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
  5. Found repository: android_device_xiaomi_cancro
  6. Default revision: cm-13.0
  7. Checking branch info
  8. Checking if device/xiaomi/cancro is fetched from android_device_xiaomi_cancro
  9. CyanogenMod/android_device_xiaomi_cancro already fetched to device/xiaomi/cancro
  10. Syncing repository to retrieve project.
  11. Fetching project CyanogenMod/android_device_xiaomi_cancro
  12. Fetching projects: 100% (1/1), done.
  13. Repository synced!
  14. Looking for dependencies
  15. Done
  16. build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/xiaomi/cancro/cm.mk]]: "vendor/xiaomi/cancro/cancro-vendor.mk" does not exist.  Stop.
  17. ** Don't have a product spec for: 'cm_cancro'
  18. ** Do you have the right repo manifest?
  19. No such item in brunch menu. Try 'breakfast'
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
oot@ubuntu:~/android/system# brunch cancro
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/xiaomi/cancro/cm.mk]]: "vendor/xiaomi/cancro/cancro-vendor.mk" does not exist. Stop.
Device cancro not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_xiaomi_cancro
Default revision: cm-13.0
Checking branch info
Checking if device/xiaomi/cancro is fetched from android_device_xiaomi_cancro
CyanogenMod/android_device_xiaomi_cancro already fetched to device/xiaomi/cancro
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_xiaomi_cancro
Fetching projects: 100% (1/1), done. Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/xiaomi/cancro/cm.mk]]: "vendor/xiaomi/cancro/cancro-vendor.mk" does not exist. Stop. ** Don't have a product spec for: 'cm_cancro'
** Do you have the right repo manifest? No such item in brunch menu. Try 'breakfast'

-- 错误原因 : 这是因为没有提取手机中的配置文件, 就是那 505 个文件, 实际提取 500 个文件就能编译通过;

-- 处理方案 : 执行提取手机专有文件步骤, 在 ~/android/system/device/xiaomi/cancro 目录中执行 ./extract-files.sh 命令, 如果该命令通过没有错误, 那么编译就会通过, 注意修改文件路径问题, 需要用我修改完的 脚本从 CyanogenMod 13.0 系统中提取 (需要提前刷 CM13系统), 然后手动从 MIUI7 中提取那 4 个文件, 将文件路径修改完毕即可完成文件提取过程, 此时编译就没问题了;

(5) JDK 版本错误

JDK 版本错误 :

-- 编译错误 : jdk 版本错误;

  1. You are attempting to build with the incorrect version
  2. of java.
  3. Your version is: java version "1.8.0_91" Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode).
  4. The required version is: "1.7.x"
  5. Please follow the machine setup instructions at
  6. https://source.android.com/source/initializing.html
  7. ************************************************************
  8. make: Entering directory `/root/android/system'
  9. build/core/main.mk:181: *** stop.  Stop.
  10. make: Leaving directory `/root/android/system'
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
You are attempting to build with the incorrect version
of java. Your version is: java version "1.8.0_91" Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode).
The required version is: "1.7.x" Please follow the machine setup instructions at
https://source.android.com/source/initializing.html
************************************************************
make: Entering directory `/root/android/system'
build/core/main.mk:181: *** stop. Stop.
make: Leaving directory `/root/android/system'

-- 重新配置 java 环境变量 : 因为之前已经安装了 open-jdk-7, 只是环境变量没有配置, 配置 /etc/profile 环境变量;

  1. #export JAVA_HOME=/opt/jdk1.8.0_91
  2. export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
  3. export GROOVY_HOME=/opt/groovy-2.4.6
  4. export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$CLASSPATH
  5. export ANDROID_SDK_HOME=/root/Work/android-sdk-linux
  6. export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$GROOVY_HOME/bin:$ANDROID_SDK_HOME/tools:$ANDROID_SDK_HOME/platform-tools:$PATH
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
#export JAVA_HOME=/opt/jdk1.8.0_91
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
export GROOVY_HOME=/opt/groovy-2.4.6
export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$CLASSPATH
export ANDROID_SDK_HOME=/root/Work/android-sdk-linux
export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$GROOVY_HOME/bin:$ANDROID_SDK_HOME/tools:$ANDROID_SDK_HOME/platform-tools:$PATH

(6) 文件路径错误 No rule to make target `vendor/xiaomi/cancro/proprietary/app/qcrilmsgtunnel.apk'

文件路径错误 :

-- 错误信息 :

  1. make: *** No rule to make target `vendor/xiaomi/cancro/proprietary/app/qcrilmsgtunnel.apk', needed by `/root/android/system/out/target/product/cancro/obj/APPS/qcrilmsgtunnel_intermediates/package.apk'.  Stop.
  2. make: *** Waiting for unfinished jobs....
  3. Note: Some input files use or override a deprecated API.
  4. Note: Recompile with -Xlint:deprecation for details.
  5. Note: Some input files use unchecked or unsafe operations.
  6. Note: Recompile with -Xlint:unchecked for details.
  7. Download: /root/android/system/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-17.apk
  8. Download: /root/android/system/out/target/common/obj/JAVA_LIBRARIES/ambientsdk_intermediates/com.cyngn.ambient.ambientsdk-1.5.11.aar
  9. make: Leaving directory `/root/android/system'
  10. #### make failed to build some targets (15:44 (mm:ss)) ####
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
make: *** No rule to make target `vendor/xiaomi/cancro/proprietary/app/qcrilmsgtunnel.apk', needed by `/root/android/system/out/target/product/cancro/obj/APPS/qcrilmsgtunnel_intermediates/package.apk'.  Stop.
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Download: /root/android/system/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-17.apk
Download: /root/android/system/out/target/common/obj/JAVA_LIBRARIES/ambientsdk_intermediates/com.cyngn.ambient.ambientsdk-1.5.11.aar
make: Leaving directory `/root/android/system' #### make failed to build some targets (15:44 (mm:ss)) ####

-- 错误原因 : 由于文件路径不正确, 将文件拷贝到对应位置即可, 将从设备中获取的 ~/android/system/vendor/xiaomi/cancro/proprietary/app/qcrilmsgtunnel/qcrilmsgtunnel.apk 拷贝到 ~/android/system/vendor/xiaomi/cancro/proprietary/app/ 目录中, 修改错误路径;

-- -- 修改路径原理 (举个栗子) 很重要 : 脚本中原来的路径是 app/shutdownlistener.apk 即指向手机中的 /system/app/shutdownlistener.apk, 使用该路径是 pull 不下来的, 但是手机中实际的该文件的路径是 /system/app/shutdownlistener/shutdownlistener.apk, 使用该实际路径可以 pull 下来, 但是放到了 ~/android/system/vendor/xiaomi/cancro/proprietary/app/shutdownlistener/shutdownlistener.apk 中, 这样编译通不过, 编译脚本会到 ~/android/system/vendor/xiaomi/cancro/proprietary/app/ 目录中去找 shutdownlistener.apk 文件, 因此我们要将 shutdownlistener.apk 文件拷贝到 ~/android/system/vendor/xiaomi/cancro/proprietary/app/ 目录中;

 
 

(7) 文件路径错误 No rule to make target `vendor/xiaomi/cancro/proprietary/app/shutdownlistener.apk'

 
 

文件路径错误 :

-- 错误信息 :

  1. make: *** No rule to make target `vendor/xiaomi/cancro/proprietary/app/shutdownlistener.apk', needed by `/root/android/system/out/target/product/cancro/obj/APPS/shutdownlistener_intermediates/package.apk'.  Stop.
  2. make: *** Waiting for unfinished jobs....
  3. target Unpacked: libgiftranscode (/root/android/system/out/target/product/cancro/obj/SHARED_LIBRARIES/libgiftranscode_intermediates/PACKED/libgiftranscode.so)
  4. make: Leaving directory `/root/android/system'
  5. #### make failed to build some targets (01:02 (mm:ss)) ####
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
make: *** No rule to make target `vendor/xiaomi/cancro/proprietary/app/shutdownlistener.apk', needed by `/root/android/system/out/target/product/cancro/obj/APPS/shutdownlistener_intermediates/package.apk'.  Stop.
make: *** Waiting for unfinished jobs....
target Unpacked: libgiftranscode (/root/android/system/out/target/product/cancro/obj/SHARED_LIBRARIES/libgiftranscode_intermediates/PACKED/libgiftranscode.so)
make: Leaving directory `/root/android/system' #### make failed to build some targets (01:02 (mm:ss)) ####

-- 错误原因 : 由于文件路径不正确, 将文件拷贝到对应位置即可, 将从设备中获取的 ~/android/system/vendor/xiaomi/cancro/proprietary/app/shutdownlistener/shutdownlistener.apk 拷贝到 ~/android/system/vendor/xiaomi/cancro/proprietary/app/ 目录中, 修改错误路径;

-- -- 修改路径原理 (举个栗子) 很重要 : 脚本中原来的路径是 app/shutdownlistener.apk 即指向手机中的 /system/app/shutdownlistener.apk, 使用该路径是 pull 不下来的, 但是手机中实际的该文件的路径是 /system/app/shutdownlistener/shutdownlistener.apk, 使用该实际路径可以 pull 下来, 但是放到了 ~/android/system/vendor/xiaomi/cancro/proprietary/app/shutdownlistener/shutdownlistener.apk 中, 这样编译通不过, 编译脚本会到 ~/android/system/vendor/xiaomi/cancro/proprietary/app/ 目录中去找 shutdownlistener.apk 文件, 因此我们要将 shutdownlistener.apk 文件拷贝到 ~/android/system/vendor/xiaomi/cancro/proprietary/app/ 目录中;

(8) 没有文件错误  No rule to make target `vendor/xiaomi/cancro/proprietary/app/com.qualcomm.location.apk'

没有文件错误 :

-- 错误信息 :

  1. make: *** No rule to make target `vendor/xiaomi/cancro/proprietary/app/com.qualcomm.location.apk', needed by `/root/android/system/out/target/product/cancro/obj/APPS/com.qualcomm.location_intermediates/package.apk'.  Stop.
  2. make: *** Waiting for unfinished jobs....
  3. Notice file: packages/apps/Trebuchet/NOTICE -- /root/android/system/out/target/product/cancro/obj/NOTICE_FILES/src//system/priv-app/Trebuchet/Trebuchet.apk.txt
  4. make: Leaving directory `/root/android/system'
  5. #### make failed to build some targets (01:39 (mm:ss)) ####
【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)
make: *** No rule to make target `vendor/xiaomi/cancro/proprietary/app/com.qualcomm.location.apk', needed by `/root/android/system/out/target/product/cancro/obj/APPS/com.qualcomm.location_intermediates/package.apk'.  Stop.
make: *** Waiting for unfinished jobs....
Notice file: packages/apps/Trebuchet/NOTICE -- /root/android/system/out/target/product/cancro/obj/NOTICE_FILES/src//system/priv-app/Trebuchet/Trebuchet.apk.txt
make: Leaving directory `/root/android/system' #### make failed to build some targets (01:39 (mm:ss)) ####

-- 错误原因 : 根本就没有获取该 apk, CM 中没有该文件, MIUI 系统中有该文件 从 MIUI 中 pull 出来放入 ~/android/system/vendor/xiaomi/cancro/proprietary/app/ 目录中;

四. 安装 ROM

安装 ROM 流程 :

-- 1. 查看 ROM : 编译完成后 ROM 生成在 /android/system/out/target/product/cancro/cm-13.0-20160613-UNOFFICIAL-cancro.zip 位置;

-- 2. 进入 fastboot 模式 : 手机关机, 按下 音量键- + 电源键 进入 fastboot 模式;

-- 3. 命令行查看 fastboot 模式 : 执行 fastboot devices 查看该模式;

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

-- 4. 烧写 Recovery : 命令行执行 fastboot flash recovery twrp-3.0.2-0-cancro.img 命令;

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

-- 5. 将 ROM 放在 sd 卡根目录 : 重启手机, 命令行执行 adb push cm-13.0-20160613-UNOFFICIAL-cancro.zip /sdcard/ 命令, 将 ROM 拷贝到 SD 卡根目录;

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

-- 6. 进入 Recovery 模式 : 关机, 按下 音量键+ + 电源键, 进入 Recovery 模式;

-- 7. 擦除数据 : 选择菜单中的  "Wipe" 选项擦除 ROM, 然后选择 "Factory Reset" 恢复出厂设置;

-- 8. 安装 ROM : 选择 Install, 从 SD 卡中选择 ROM 包安装;

相关下载链接 :

-- 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) 可编译源码下载地址 : ;

作者 : 韩曙亮

转载请注明出处 : http://blog.csdn.net/shulianghan/article/details/51592930

上一篇:js对象的相关操作方法


下一篇:3个著名加密算法(MD5、RSA、DES)的解析