land: Don't remove FP firmwares
This commit is contained in:
parent
80c72f9454
commit
86cc6c3707
2 changed files with 0 additions and 4 deletions
|
@ -10,8 +10,6 @@ done
|
||||||
|
|
||||||
if [ "$board_id" = "S88537AC1" ]; || [ "$board_id" = "S88537EC1"]; then
|
if [ "$board_id" = "S88537AC1" ]; || [ "$board_id" = "S88537EC1"]; then
|
||||||
# Redmi 3S Don't have FP
|
# Redmi 3S Don't have FP
|
||||||
rm /firmware/image/fpc*
|
|
||||||
rm /firmware/image/goodix*
|
|
||||||
rm /system/bin/fingerprintd
|
rm /system/bin/fingerprintd
|
||||||
rm /system/bin/gx_fpcmd
|
rm /system/bin/gx_fpcmd
|
||||||
rm /system/bin/gx_fpd
|
rm /system/bin/gx_fpd
|
||||||
|
|
|
@ -21,9 +21,7 @@ def FullOTA_InstallEnd(info):
|
||||||
ReplaceDeviceConfig(info)
|
ReplaceDeviceConfig(info)
|
||||||
|
|
||||||
def ReplaceDeviceConfig(info):
|
def ReplaceDeviceConfig(info):
|
||||||
info.script.Mount("/firmware")
|
|
||||||
info.script.Mount("/system")
|
info.script.Mount("/system")
|
||||||
info.script.AppendExtra('ui_print("Checking FP support");')
|
info.script.AppendExtra('ui_print("Checking FP support");')
|
||||||
info.script.AppendExtra('run_program("/sbin/sh", "/tmp/install/bin/check_features.sh");')
|
info.script.AppendExtra('run_program("/sbin/sh", "/tmp/install/bin/check_features.sh");')
|
||||||
info.script.Unmount("/firmware")
|
|
||||||
info.script.Unmount("/system")
|
info.script.Unmount("/system")
|
||||||
|
|
Loading…
Reference in a new issue