如何建设后源$ C $ C安装Android [英] How to install Android after building source code
问题描述
我编译源$ C $ C指的是 http://source.android.com /source/building-running.html 并易于下载的二进制文件为我的Nexus4克小号。我没下建成后:
I compiled source code referring to http://source.android.com/source/building-running.html and downloaded apt binaries for my Nexus 4g s .I did following after building:
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot erase userdata
fastboot erase cache
现在,我看不到我的手机什么。可能是什么问题?是不是我建适合我的设备的来源?但是,我是pretty的肯定,我已经下载了正确的信号源$ C $ c和二进制文件。
Now, I cannot see anything on my phone. What could be wrong? Wasn't the source I built suitable for my device? But, I am pretty sure I have downloaded correct source code and binaries.
推荐答案
要拯救你的设备后面,使用快速启动到出厂映像闪回。
To rescue your device back, use fast boot to flash the factory image back.
要检查你为什么有这个问题,请检查:
To check why you have this issue, please check:
- 如果您没有看到重启后的任何东西,你的boot.img文件(包括内核)是不正确
- 如果你只看到开机动画,但它会永远持续下去,你的system.img不正确
您应该:
- 确保您下载正确的源$ C $ c和切换到正确的分支
- 确保你是午餐,然后选择正确的产品 使用正确的生成配置
- 的AOSP不包含一切,你必须下载或从旧系统中拔出来获得专有二进制文件。
- Make sure you have download the correct source code and switch to the correct branch
- Make sure you are using the correct build configuration by lunch and select correct product
- The AOSP does not contains everything, you have to download or pull out from your old system to get the proprietary binaries.
这篇关于如何建设后源$ C $ C安装Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!