Spacewar: Rename bootloader unlock property for fingerprint blob
* Since the kernel cmdline "androidboot.flash.locked" is not set, the default behavior of the fingerprint is assumed that the bootloader is locked, which will make the fingerprint unusable. For this reason, we should do a hack to spoof a property that gives the fingerprint a "correct" unlocked state. Signed-off-by: Kujou Yuko <i@779.moe> Change-Id: Idd4f5a2f8f32e1ae897d958fdffa102236ca8b8c
This commit is contained in:
@@ -58,6 +58,9 @@ function blob_fixup() {
|
||||
system_ext/lib/libwfdnative.so | system_ext/lib64/libwfdnative.so)
|
||||
"${PATCHELF}" --remove-needed "android.hidl.base@1.0.so" "${2}"
|
||||
;;
|
||||
vendor/lib64/libgf_hal.so)
|
||||
sed -i "s|ro.boot.flash.locked|ro.bootloader.locked|g" "${2}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
@@ -87,6 +87,9 @@ vendor.gralloc.disable_ubwc=0
|
||||
persist.vendor.dpm.idletimer.mode=default
|
||||
persist.vendor.dpmhalservice.enable=1
|
||||
|
||||
# Fingerprint
|
||||
ro.bootloader.locked=0
|
||||
|
||||
# FRP
|
||||
ro.frp.pst=/dev/block/bootdevice/by-name/frp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user