The ufs script is to work for ffu preparing. If device's ufs has an old firmware, the script will copy the valid firmware into disk and wait for ffu update on bootloader. Bug: 224464892 Test: full build and test ffu update Change-Id: I4e9c3766aa79740b8497a8914ad658b8339bd5a9 Signed-off-by: Leo Liou <leoliou@google.com>
7 lines
184 B
Text
7 lines
184 B
Text
on property:sys.boot_completed=1
|
|
# Copy ufs firmware to disk
|
|
start ufs_firmware_update
|
|
|
|
service ufs_firmware_update /vendor/bin/ufs_firmware_update.sh
|
|
disabled
|
|
oneshot
|