Restore face unlock for Pixel 4 series

We keep fingerprint reader blobs, so why not these?

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2023-09-01 20:51:15 -04:00
parent ca83e7bc40
commit 9e954ea987
No known key found for this signature in database
GPG Key ID: B286E9F57A07424B
2 changed files with 7 additions and 7 deletions

View File

@ -29,7 +29,7 @@ index ff8d96dd23f2..97027ebbca2d 100644
+ </install-in-user-type>
</config>
diff --git a/services/core/java/com/android/server/ext/PackageManagerHooks.java b/services/core/java/com/android/server/ext/PackageManagerHooks.java
index 007b65349e55..415a4d033e38 100644
index 007b65349e55..3c38b9e73049 100644
--- a/services/core/java/com/android/server/ext/PackageManagerHooks.java
+++ b/services/core/java/com/android/server/ext/PackageManagerHooks.java
@@ -6,6 +6,7 @@ import android.annotation.UserIdInt;

View File

@ -228,11 +228,11 @@ echo "Deblobbing...";
fi;
#Face Unlock [Google]
blobs=$blobs"|libfacenet.so|libfilterpack_facedetect.so|libfrsdk.so";
blobs=$blobs"|android.hardware.biometrics.face.*"; #depends on airbrush
blobs=$blobs"|manifest_face.xml";
blobs=$blobs"|libfacenet.so|libfilterpack_facedetect.so|libfrsdk.so"; #legacy
#blobs=$blobs"|android.hardware.biometrics.face.*"; #modern, depends on airbrush
#blobs=$blobs"|manifest_face.xml";
#blobs=$blobs"|firmware/faceauth";
makes=$makes"|android.hardware.biometrics.face.*";
#makes=$makes"|android.hardware.biometrics.face.*";
#GPS [Qualcomm]
#blobs=$blobs"|gpsd";
@ -895,8 +895,8 @@ deblobVendorBp() {
sed -i ':a;N;s/\n/&/3;Ta;/manifest_android.hardware.drm-service.widevine.xml/!{P;D};:b;N;s/\n/&/8;Tb;d' "$bpfile";
sed -i ':a;N;s/\n/&/3;Ta;/manifest_vendor.xiaomi.hardware.mlipay.xml/!{P;D};:b;N;s/\n/&/8;Tb;d' "$bpfile";
sed -i ':a;N;s/\n/&/3;Ta;/vendor.qti.hardware.radio.atcmdfwd@1.0.xml/!{P;D};:b;N;s/\n/&/8;Tb;d' "$bpfile";
sed -i ':a;N;s/\n/&/3;Ta;/android.hardware.biometrics.face-service.22.pixel.xml/!{P;D};:b;N;s/\n/&/8;Tb;d' "$bpfile";
sed -i ':a;N;s/\n/&/3;Ta;/manifest_face.xml/!{P;D};:b;N;s/\n/&/8;Tb;d' "$bpfile";
#sed -i ':a;N;s/\n/&/3;Ta;/android.hardware.biometrics.face-service.22.pixel.xml/!{P;D};:b;N;s/\n/&/8;Tb;d' "$bpfile";
#sed -i ':a;N;s/\n/&/3;Ta;/manifest_face.xml/!{P;D};:b;N;s/\n/&/8;Tb;d' "$bpfile";
}
export -f deblobVendorBp;
#