Files
android_device_xiaomi_vermeer/proprietary-files.txt
Fiqri Ardyansyah 5771900958 vermeer: Enable elf checks for some camera libs
Reference from https://review.lineageos.org/c/LineageOS/android_tools_extract-utils/+/411165

Now we can clean the version of the symbol on the blob, this allows
the elf to be checked again on some camera libraries. The libalLDC.so,
libalhLDC.so, libMiVideoFilter.so and libTrueSight.so blobs in the camera library that
previously depended on libnativewindow have now been freed by clearing
the symbol version AHardwareBuffer_* which looks like this:

strings libalLDC.so | grep AHardwareBuffer_
AHardwareBuffer_allocate
AHardwareBuffer_describe
AHardwareBuffer_lock
AHardwareBuffer_release
AHardwareBuffer_unlock

strings libalhLDC.so | grep AHardwareBuffer_
AHardwareBuffer_allocate
AHardwareBuffer_describe
AHardwareBuffer_lock
AHardwareBuffer_release
AHardwareBuffer_unlock

strings libTrueSight.so | grep AHardwareBuffer_
AHardwareBuffer_allocate
AHardwareBuffer_describe
AHardwareBuffer_isSupported
AHardwareBuffer_lock
AHardwareBuffer_release
AHardwareBuffer_unlock
AHardwareBuffer_lockPlanes

strings libMiVideoFilter.so | grep AHardwareBuffer_
AHardwareBuffer_allocate
AHardwareBuffer_describe
AHardwareBuffer_lockPlanes
AHardwareBuffer_release
AHardwareBuffer_unlock

strings libmorpho_ubwc.so | grep AHardwareBuffer_
AHardwareBuffer_describe

WenHao2130: For socrates' libTrueSight.so, it also needs .clear_symbol_version('AHardwareBuffer_isSupported')

Change-Id: I16619cf32c4486c7600ef32ab928fb2d8c5cd5e5
Signed-off-by: Fiqri Ardyansyah <fiqri191002@gmail.com>
2025-10-12 21:25:34 -05:00

64 KiB