如何在源码中生成fastboot images 和 recovery image

源码中生成fastboot images和recovery image

fastboot images package:
 
fastboot 生成的升级包包含:
boot.img         – contains the kernel and initrd 
recovery.img     – contains files used for rebuilding/updating the system 
system.img       – contains the Android platform/apps of the specified Android version 
userdata.img     – yaffs2 or ext4 image for userdata partition
 
源码中生成命令:
$ make updatepackage (output will be out/target/product/<your product>/xxx-img-xxx.zip)  源码中创建升级包
                      and all MTD partitions can be downloaded at once as following 

$ fastboot update out/target/product/<your product>/xxx-img-xxx.zip                      刷升级包
 
recovery image package:
 
recovery 生成的恢复包包含:
boot.img 
recovery.img 
system files 
radio (only for phone application) or bootloader images
 
源码操作步骤:
1. run make 
$ make otapackage  (output will be out/target/product/<your product>/xxx-ota-xxx.zip) 
or 
$ make dist        (output will be out/dist/xxx-ota-xxx.zip) 
2. Copy zip file to SD card 
3. This file should be renamed as “update.zip” to be used for updating system  
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值