land: Don't remove FP firmwares

This commit is contained in:
karthick111 2017-08-01 12:35:28 +02:00 committed by Darshan Manjrekar
parent 80c72f9454
commit 86cc6c3707
2 changed files with 0 additions and 4 deletions

View file

@ -10,8 +10,6 @@ done
if [ "$board_id" = "S88537AC1" ]; || [ "$board_id" = "S88537EC1"]; then
# Redmi 3S Don't have FP
rm /firmware/image/fpc*
rm /firmware/image/goodix*
rm /system/bin/fingerprintd
rm /system/bin/gx_fpcmd
rm /system/bin/gx_fpd

View file

@ -21,9 +21,7 @@ def FullOTA_InstallEnd(info):
ReplaceDeviceConfig(info)
def ReplaceDeviceConfig(info):
info.script.Mount("/firmware")
info.script.Mount("/system")
info.script.AppendExtra('ui_print("Checking FP support");')
info.script.AppendExtra('run_program("/sbin/sh", "/tmp/install/bin/check_features.sh");')
info.script.Unmount("/firmware")
info.script.Unmount("/system")