mirror of
https://github.com/LineageOS/android_device_xiaomi_vermeer.git
synced 2026-06-20 18:19:35 +00:00
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>
3.3 KiB
Executable File
3.3 KiB
Executable File