OTA升级遇到的问题E3005E1004

更新时间:2023-06-11 19:56:54 阅读: 评论:0

OTA升级遇到的问题E3005E1004
最近OTA升级⼜遇到了新的问题
设备是urdebug版本.
hd什么意思刚刷完机测试是OK的能正常使⽤差分包进⾏升级,遇到⼀台设备测试都不⾏
没办法只能查问题,先导出了recovery的log
adb root && adb pull /cache/recovery/last_log .
查看log发现设备被disable-verity了
[    1.220055] ro.boot.veritymode=disabled
然后vbmeta的digest 也变了
subject是什么意思[    1.219441] ro.boot.vbmeta.digest=b3c71d1867f25b92a956685f0a595eb20daa041cfa65f8b5df6a68f6a2b77630
这样就导致升级失败了
[    4.160400] Failed to read "/cache/saved.file": No such file or directory
[    4.160463] Both of partition contents and backup don't have the expected checksum
[    4.160614] script aborted: E3005: "EMMC:/dev/block/bootdevice/by-name/vbmeta:8192:4a580d463d9a5bd3115312d666555ab254b55afa" or "EMMC:/dev/bloc [    4.186316] E:Error in /cache/recovery/update.zip (status 7)
condition使⽤刚刷机的设备测试 disable-verity后,进⾏差分升级就报这个错了
apologize是什么意思解决办法就是重新re-enable verity,执⾏指令
adb root && adb enable-verity
recruit什么意思重新enable-verity后测试OK了
之前失败的设备,重新enable-verity后测试还是fail
导出log 查看,关键log
[    8.625225] failed to verify blocks (expected 0533954731c5178be53fdc35d330ea3b5ee64552, rea
d 20456b1d944cc27de6efc26134c38610066cf56b)
[    8.625428] stat "/cache/recovery/2bdde8504898ccfcd2c59f20bb8c9c25f73bb524/0533954731c5178be53fdc35d330ea3b5ee64552" failed: No such file or direc [    8.625479] No stash saved for id: 0533954731c5178be53fdc35d330ea3b5ee64552存档英文
[    8.625527] partition has unexpected contents成绩英语
hottie[    8.625577] unexpected contents of source blocks in cmd:
[    8.625620] bsdiff 6814391 1571 0533954731c5178be53fdc35d330ea3b5ee64552 ec24631b7797174fd8c218e2254a6ee362c629a8 14,1,484,673,686,704,71
[    8.656754] failed to read blocks for diff
optimal[    8.656808] failed to execute command [bsdiff 6814391 1571 0533954731c5178be53fdc35d330ea3b5ee64552 ec24631b7797174fd8c218e2254a6ee362c629a [    8.657399] deleting stash 2bdde8504898ccfcd2c59f20bb8c9c25f73bb524
[    8.717799] Device was remounted R/W 1 times
[    8.718075] Last remount happened on Thu Jan  1 15:10:56 1970
[    8.718132]
[    8.718396] /dev/block/bootdevice/by-name/system image corrupted, attempting
[    8.721062] script aborted: unable to u metadata to correct errors
[    8.721120] E1004: system partition fails to recover
[    8.798387] E:Error in /cache/recovery/update.zip (status 7)
错误码E1004  partition has unexpected contents
Device was remounted R/W 1 times
武汉大学在职研究生
设备被remount过,remount后就可以修改系统⽂件,说明设备的系统⽂件被修改过了,导致不能使⽤差分升级了。
既然不能使⽤差分升级,那就试下OTA整包升级看是否可以
做了个OTA整包,测试升级OK

本文发布于:2023-06-11 19:56:54,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/90/141686.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:升级   设备   测试   遇到   差分   查看   问题   系统
相关文章
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图