|
【Android】
OTA升级失败,日志如下,求正确的方法
发表于 2020-1-11 22:08:03
浏览:12554
|
回复:3
打印
只看该作者
[复制链接]
楼主
sys.usb.config=adb
sys.usbt.configfs=1
Supported APIy: 3
pe=1400 audit(1358502107.950:8): avc: denied { getattr } for pid=192 comm="recovery" path="/dev/__properties__/u:object_r:secureboot_prop:s0" dev="tmpfs" ino=684 scontext=u:r:recovery:s0 tcontext=u:ob1
[ 4.451635] audit: type=1400 audit(1358502107.950:9): avc: denied { open } for pid=192 comm="recovery" path="/dev/__properties__/u:object_r:pppoe_prop:s0" dev="tmpfs" ino=685 scontext=u:r:recovery:1
[ 4.451668] audit: type=1400 audit(1358502107.950:10): avc: denied { getattr } for pid=192 comm="recovery" path="/dev/__properties__/u:ocharge_status 3, charged 0, status 0, capacity 50
bject_r:pppoe_prop:s0" dev="tmpfs" ino=685 scontext=u:r:recovery:s0 tcontext=u:object_r:pppoe_prop:s0 tclass=file permissive=1
[ 4.578488] fusb302 4-0022: PD disabled
[ 5.172531] iep dpi mode inactivity
charge_status 3, charged 0, status 0, capacity 50
charge_status 3, charged 0, status 0, capacity 50
charge_status 3, charged 0, status 0, capacity 50
charge_status 3, charged 0, status 0, capacity 50
charge_status 3, charged 0, status 0, capacity 50
charge_status 3, charged 0, status 0, capacity 50
[ 11.572390] random: nonblocking pool is initialized
charge_status 3, charged 0, status 0, capacity 50
charge_status 3, charged 0, status 0, capacity 50
[ 12.896817] read descriptors
[ 12.896942] read strings
[ 13.275520] android_work: did not send uevent (0 0 (null))
[ 13.425096] android_work: sent uevent USB_STATE=CONNECTED
[ 13.428694] configfs-gadget gadget: high-speed config #1: b
[ 13.429021] android_work: sent uevent USB_STATE=CONFIGURED
charge_status 3, charged 0, status 0, capacity 50
charge_status 3, charged 0, status 0, capacity 50
I:InternalSD_ROOT: /mnt/internal_sd
I:ExternalSD_ROOT: /mnt/external_sd
read cmdline
tid in led pthread: 536474547280.
E:setup_install_mounts, expect /mnt/external_sd
E:setup_install_mounts, expect /backup
Finding update package...
I:Update location: @/cache/recovery/block.map
Opening update package...
sysutil: mmapped 1 ranges
I:read key e=3 hash=32
I:1 key(s) loaded from /res/keys
Verifying update package...
I:comment is 1573 bytes; signature 1555 bytes from end
I:signature (offset: 0x3a71af, length: 1549): 3082060906092a864886f70d010702a08205fa308205f6020101310f300d06096086480165030402010500300b06092a864886f70d010701a08203ff308203fb308202e3a00302010202090092a52e
I:whole-file signature verified against RSA key 0
Update package verification took 0.1 s (result 0).
Installing update...
E:Failed to parse build number in post-build-incremental=eng.wangjian.20200111.211616.
E:Failed to parse build number in pre-build-incremental=eng.wangjian.20200111.204328.
sysutil: mmapped 1 ranges
bootmode = emmc
must free fstab, before use it.
3td device /sy[s t e15m.
14934] fs_mgr:g eWtaDrenviincge:P autnh: get volume path /dev/block/platform/fe330000.sdhci/by-name/ksystem
nown flag resize
[ 15.322873] EXT4-fs (mmcblk1p11): mounted filesystem with ordered data mode. Opts: max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc
Source: Android/rk3399_firefly/rk3399_firefly:7.1.2/NHG47K/wangji01112043:userdebug/test-keys
Target: Android/rk3399_firefly/rk3399_firefly:7.1.2/NHG47K/wangji01112116:userdebug/test-keys
Verifying current system...
bootmode = emmc
transformPath in: boot
get volume path /dev/block/platform/fe330000.sdhci/by-name/system
transformPath out: /dev/block/platform/fe330000.sdhci/by-name/boot
contents of partition "/dev/block/platform/fe330000.sdhci/by-name/boot" didn't match MTD:boot:21987328:a2ddd8c0d8201e9d86a3f562931213e8b0d33a18:21987328:891ad80cb2a8b0a48eab1b121c5482bc272e1614
file "MTD:boot:21987328:a2ddd8c0d8201e9d86a3f562931213e8b0d33a18:21987328:891ad80cb2a8b0a48eab1b121c5482bc272e1614" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: E3005: "MTD:boot:21987328:a2ddd8c0d8201e9d86a3f562931213e8b0d33a18:21987328:891ad80cb2a8b0a48eab1b121c5482bc272e1614" has unexpected contents.
E:Error in @/cache/recovery/block.map
(Status 7)
I:@/cache/recovery/block.map
0
time_total: 1
retry: 0
error: 3005
uncrypt_time: 0
Installation aborted.
I:Saving locale "en_US"
[ 16.267534] fs_mgr: Warning: unknown flag resize
stopping led thread, close led and exit
join led thread success!
编译固件方法:
cd ~/RK3399-Industry
make otapackage -j12
./build/tools/releasetools/ota_from_target_files -i ./ota/rk3399_firefly/old.zip ./ota/rk3399_firefly/new.zip ./ota/rk3399_firefly/update.zip
然后将update.zip push 到 /sdcard/
然后机器重启后会弹出ota升级提示点击install 按钮,升级失败,信息如上,请问关于RK3399_firefly ota升级方法的文档在哪儿?急需。
|
|