r8q: Use blobbed Gatekeeper HAL

* Samsung added a function called isMdfppGatekeeper() for registering HAL as default or mdfpp. AOSP gatekeeper doesn't support that kind of approach and we need to register gatekeeper-qti as default. Use blobbed gatekeeper until a proper gatekeeper mdfpp bringup.

* This affects all Samsung SM8250 platform.

Signed-off-by: ata-kaner <ata_kaner@outlook.com>
This commit is contained in:
ata-kaner
2024-01-07 14:02:30 +03:00
parent 30c4d4c1ed
commit 798311fabf
4 changed files with 23 additions and 0 deletions
+13
View File
@@ -207,3 +207,16 @@ cc_prebuilt_binary {
relative_install_path: "hw", relative_install_path: "hw",
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_binary {
name: "android.hardware.gatekeeper@1.0-service",
owner: "samsung",
srcs: ["proprietary/vendor/bin/hw/android.hardware.gatekeeper@1.0-service"],
check_elf_files: false,
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
soc_specific: true,
}
Binary file not shown.
@@ -0,0 +1,8 @@
service vendor.gatekeeper-1-0 /vendor/bin/hw/android.hardware.gatekeeper@1.0-service
interface android.hardware.gatekeeper@1.0::IGatekeeper mdfpp
class hal
user system
group system 5678
on post-fs-data
mkdir /data/vendor/gatekeeper 0770 system system
+2
View File
@@ -95,6 +95,7 @@ PRODUCT_COPY_FILES += \
vendor/samsung/r8q/proprietary/vendor/etc/init/android.hardware.bluetooth@1.0-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.bluetooth@1.0-service-qti.rc \ vendor/samsung/r8q/proprietary/vendor/etc/init/android.hardware.bluetooth@1.0-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.bluetooth@1.0-service-qti.rc \
vendor/samsung/r8q/proprietary/vendor/etc/init/android.hardware.drm@1.3-service.clearkey.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.3-service.clearkey.rc \ vendor/samsung/r8q/proprietary/vendor/etc/init/android.hardware.drm@1.3-service.clearkey.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.3-service.clearkey.rc \
vendor/samsung/r8q/proprietary/vendor/etc/init/android.hardware.drm@1.3-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.3-service.widevine.rc \ vendor/samsung/r8q/proprietary/vendor/etc/init/android.hardware.drm@1.3-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.3-service.widevine.rc \
vendor/samsung/r8q/proprietary/vendor/etc/init/android.hardware.gatekeeper@1.0-service-mdfpp.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gatekeeper@1.0-service-mdfpp.rc \
vendor/samsung/r8q/proprietary/vendor/etc/init/android.hardware.gatekeeper@1.0-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gatekeeper@1.0-service-qti.rc \ vendor/samsung/r8q/proprietary/vendor/etc/init/android.hardware.gatekeeper@1.0-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gatekeeper@1.0-service-qti.rc \
vendor/samsung/r8q/proprietary/vendor/etc/init/android.hardware.gnss@2.1-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gnss@2.1-service-qti.rc \ vendor/samsung/r8q/proprietary/vendor/etc/init/android.hardware.gnss@2.1-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gnss@2.1-service-qti.rc \
vendor/samsung/r8q/proprietary/vendor/etc/init/android.hardware.health@2.1-service-samsung.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.health@2.1-service-samsung.rc \ vendor/samsung/r8q/proprietary/vendor/etc/init/android.hardware.health@2.1-service-samsung.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.health@2.1-service-samsung.rc \
@@ -1465,6 +1466,7 @@ PRODUCT_PACKAGES += \
HotwordEnrollmentOKGoogleEx3HEXAGON \ HotwordEnrollmentOKGoogleEx3HEXAGON \
HotwordEnrollmentXGoogleEx3HEXAGON \ HotwordEnrollmentXGoogleEx3HEXAGON \
com.android.hotwordenrollment.common.util \ com.android.hotwordenrollment.common.util \
android.hardware.gatekeeper@1.0-service \
android.hardware.gnss@2.1-service-qti \ android.hardware.gnss@2.1-service-qti \
android.hardware.health@2.1-samsung \ android.hardware.health@2.1-samsung \
android.hardware.keymaster@4.0-strongbox-service-qti \ android.hardware.keymaster@4.0-strongbox-service-qti \