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: 273305212 Test: full build and test ffu update Change-Id: Ic5069561b67e2773cd87edb31bfa3d682867b838 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
|