diff options
author | Yifan Hong <elsk@google.com> | 2021-02-22 15:00:15 -0800 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2021-03-17 15:38:06 -0700 |
commit | e71fe2441ad62793b15812a34f7b863dccefabdc (patch) | |
tree | bfc61e0977cceb2cbf7cd3b5833293fe9f0a8f78 /libutils/Unicode_test.cpp | |
parent | 6d7da63014a8d451b02246180712d61fb7508ff9 (diff) |
fastboot driver: repack vendor boot ramdisk
When a user issues `fastboot flash vendor_boot:foo ramdisk.img`, the fastboot driver
fetches the vendor_boot image from the device,
determines if `foo` is a valid vendor ramdisk fragment,
repacks a new vendor boot image, then
flash the vendor boot image back.
This requires vendor boot header V4.
As a convinent alias, `fastboot flash vendor_boot:default ramdisk.img`
flashes the whole vendor ramdisk image. This works on vendor boot header
V3 & 4.
Fixes: 173654501
Test: pass
Change-Id: I42b2483a736ea8aa9fd9372b960502a642934cdc
Diffstat (limited to 'libutils/Unicode_test.cpp')
0 files changed, 0 insertions, 0 deletions