beyondx: Use custom fence implementation for camera HAL

* This device does not properly close fences causing FD leaks.

Change-Id: Id589b3122921e03e677fb0cd1233d67e26430456
This commit is contained in:
Tim Zimmermann
2025-04-04 06:36:38 +02:00
committed by 0xsharkboy
parent 302a78e214
commit 7b60d65b33
2 changed files with 4 additions and 2 deletions

View File

@@ -27,7 +27,9 @@ blob_fixups: blob_fixups_user_type = {
): blob_fixup()
.binary_regex_replace(b'ro.factory.factory_binary', b'ro.vendor.factory_binary\x00'),
'vendor/lib64/libexynoscamera3.so': blob_fixup()
.sig_replace('8B 02 20 36', '1F 20 03 D5'),
.sig_replace('8B 02 20 36', '1F 20 03 D5')
.add_needed('libshim_camera.so')
.binary_regex_replace(b'_ZN7android5Fence', b'_ZN7exynos55Fence'),
(
'vendor/lib/sensors.bio.so',
'vendor/lib/sensors.sensorhub.so',

View File

@@ -26,7 +26,7 @@ vendor/firmware/bcm4375B1_semco_sem.hcd
## Camera - from beyondx - G977BXXSBGVA9
vendor/lib64/hw/camera.exynos9820.so|70b3b988b1150ce19c2c85b17c5975135b26fae5
vendor/lib64/libexynoscamera3.so|607a78931c82a84ff73987150368b76a491248dc|607a78931c82a84ff73987150368b76a491248dc
vendor/lib64/libexynoscamera3.so|b014e244d39d7dc6e9cb9d355200af980a81fb6f|b014e244d39d7dc6e9cb9d355200af980a81fb6f
## Camera dependencies
vendor/lib64/libTOFProc_interface.so