sm7250-common: Patch fingerprint blobs to different prop
libgf_ud_hal.so looks for vendor.boot.verifiedbootstate to be set to the phones true state in our case, for an unlocked phone, it must be orange (green = locked with factory rom, orange = unlocked no checking, yellow = locked with user key) Change it to look for vendor.boot.fingerprintbstate which we set to orange without having to mess with anything safetynet related. Co-authored-by: Matt Filetto <matt.filetto@gmail.com>
This commit is contained in:
committed by
KakatkarAkshay
parent
1df183455b
commit
ca5e9e9676
@@ -63,6 +63,9 @@ function blob_fixup() {
|
||||
system_ext/lib64/libwfdnative.so)
|
||||
sed -i "s/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/" "${2}"
|
||||
;;
|
||||
vendor/lib64/libgf_ud_hal.so|vendor/lib64/libgf_g6_ud_hal.so)
|
||||
sed -i "s|vendor.boot.verifiedbootstate|vendor.boot.fingerprintbstate|g" "${2}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user