制作android差分升级包
编译升级包,差分包 编译升级包v0 source build/envsetup.sh lunch 12 make -j16 otapackage 拷贝out/target/product/项目名/obj/PACKAGING/target_files_intermediates/目录下的zip包为version0.zip 修改项目 编译升级包v1(类似步骤1) 编译差分包 build/tools/releasetools/ota_from_target_files -i version0.zip version1.zip update.zip 手动制作升级包(以升级logo.bin为例) 找一个同项目编译的差分包update.zip作为样本 删掉除(META-INF, type.txt, scatter.txt)以外的文件 修改/META-INF/com/google/android/updater-script的内容 ui_print("switch logo..."); show_progress(0.050000, 5); ui_print("switch logo start..."); assert(package_extract_file("logo.bin", "/tmp/logo.bin"), write_raw_image("/tmp/logo.bin",