Limit the following devices to accept ffu upgrade:
- LifeC time < 10%
- Activated date < 1 year
Bug: 273305600
Test: run ffu process at local
Change-Id: I9cc9298eeb7cd32f02a9577efb71bda0737f284d
Signed-off-by: Leo Liou <leoliou@google.com>
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>