源码中生成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
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 刷升级包
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
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
$ 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