Loading flash-scripts/linux/fp4_lock_critical.sh +2 −2 Original line number Diff line number Diff line Loading @@ -34,11 +34,11 @@ then echo "Lock Critical fails!" exit 101 fi sleep 10s sleep 10 echo "Critical locked!" #Then we wait that it left this state while [ "$($FASTBOOT_PATH devices | grep -q fastboot; echo $?)" = 0 ] do sleep 1s sleep 1 done flash-scripts/linux/fp4_oem-unlock-critical.sh +2 −2 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ echo "fastboot path: $FASTBOOT_PATH" if [ "$($FASTBOOT_PATH oem device-info 2>&1 | grep -q "critical unlocked: true"; echo $?)" = 0 ] then sleep 10s sleep 10 echo "Device already critically unlocked!" else if [ "$($FASTBOOT_PATH flashing unlock_critical; echo $?)" = 1 ] Loading @@ -37,6 +37,6 @@ else echo "Crtical unlock fails!" exit 10 fi sleep 10s sleep 10 echo "Critical unlocked!" fi flash-scripts/linux/fp4_oem-unlock.sh +2 −2 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ echo "fastboot path: $FASTBOOT_PATH" if [ "$($FASTBOOT_PATH getvar unlocked 2>&1 | grep -q yes; echo $?)" = 0 ] then sleep 10s sleep 10 echo "Device already unlocked" else if [ "$($FASTBOOT_PATH flashing unlock; echo $?)" = 1 ] Loading @@ -37,6 +37,6 @@ else echo "OEM-unlock fails" exit 10 fi sleep 10s sleep 10 echo "OEM unlocked" fi Loading
flash-scripts/linux/fp4_lock_critical.sh +2 −2 Original line number Diff line number Diff line Loading @@ -34,11 +34,11 @@ then echo "Lock Critical fails!" exit 101 fi sleep 10s sleep 10 echo "Critical locked!" #Then we wait that it left this state while [ "$($FASTBOOT_PATH devices | grep -q fastboot; echo $?)" = 0 ] do sleep 1s sleep 1 done
flash-scripts/linux/fp4_oem-unlock-critical.sh +2 −2 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ echo "fastboot path: $FASTBOOT_PATH" if [ "$($FASTBOOT_PATH oem device-info 2>&1 | grep -q "critical unlocked: true"; echo $?)" = 0 ] then sleep 10s sleep 10 echo "Device already critically unlocked!" else if [ "$($FASTBOOT_PATH flashing unlock_critical; echo $?)" = 1 ] Loading @@ -37,6 +37,6 @@ else echo "Crtical unlock fails!" exit 10 fi sleep 10s sleep 10 echo "Critical unlocked!" fi
flash-scripts/linux/fp4_oem-unlock.sh +2 −2 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ echo "fastboot path: $FASTBOOT_PATH" if [ "$($FASTBOOT_PATH getvar unlocked 2>&1 | grep -q yes; echo $?)" = 0 ] then sleep 10s sleep 10 echo "Device already unlocked" else if [ "$($FASTBOOT_PATH flashing unlock; echo $?)" = 1 ] Loading @@ -37,6 +37,6 @@ else echo "OEM-unlock fails" exit 10 fi sleep 10s sleep 10 echo "OEM unlocked" fi