Recovery command 升级命令脚本

文件位置/cache/recovery/command
实例:
--update_package=CACHE:recovery/sec_csc.zip
--carry_out=csc_home
--wipe_data
--wipe_cache

命令讲解
--wipe_data
格式化userdata分区

--wipe_cache
格式化cache分区

--update_package=CACHE:recovery/sec_csc.zip
自动更新升级包sec_csc.zip,位置在/cache/recovery/sec_csc.zip

如果更新(即卡刷)sdcard里的update.zip可写为
--updata_package=SDCARD:updata.zip

“boot-recovery”:标示recovery正在进行,或指示bootloader应该进入recovery mode
“update-hboot/radio”:指示bootloader更新firmware

/cache/recovery/command: recovery命令,由主系统写入。所有命令如下:
--send_intent=anystring - write the text out to recovery.intent
--update_package=root:path - verify install an OTA package file
--wipe_data - erase user data (and cache), then reboot
--wipe_cache - wipe cache (but not user data), then reboot
/cache/recovery/log:recovery过程日志,由主系统读出
/cache/recovery/intent:recovery输出的intent

转自:http://blog.sina.com.cn/s/blog_547f85a70101o66o.html
  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值