关于recovery的代码分析,见另一篇
该升级应用程序要和/recovery/sbin/下的recovery配套使用,
固件共有boot.img,recovery.img,system.img,
其中system.img是空的,system.img打包格式要和recovery.img匹配
使用此程序:
先把librecovery.so是添加到rootfs文件系统库中,
再把应用程序recovery_sample添加到某目录下,
然后执行recovery_sample就可以实现update功能
文档包括四部分:
l update库和应用文件
l update使用及命令
l 输入命令格式例子
l up