fastboot: Revert to Android 11 method of checking lock status

Now that we're setting system-wide properties for SafetyNet, which
includes ro.boot.verifiedbootstate=green, fastbootd always detects the
bootloader as being locked. Revert to the Android 11 method of reading
directly from the kernel cmdline to work arround the issue.

Change-Id: I57f6d48acddb29748778053edf354d7bd8994bd7
Signed-off-by: rezaadi0105 <rezaadipangestu5@gmail.com>
1 file changed