Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7e21bec authored by Bharath's avatar Bharath
Browse files

FP3: Patch up libremosaic_daemon.so

This reverts commit de54e193.

Starting Android 12, libremosaic_daemon seems to be incompatible with
libbinder available in source due to framework changes.

Hence, patch this file and introduce libbinder from VNDK v30 which
matches to that of Android 11 for which libremosaic_daemon was built.

Change-Id: Id9f8a2b7439d9cb2c6b4dcae5354eec1ea2a7829
parent 9bfdcbed
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -212,6 +212,9 @@ PRODUCT_VENDOR_PROPERTIES += \
    persist.vendor.camera.isp.clock.optmz=0 \
    persist.vendor.camera.lib2d.rotation=on

# VNDK
PRODUCT_COPY_FILES += \
    prebuilts/vndk/v30/arm/arch-arm-armv7-a-neon/shared/vndk-core/libbinder.so:$(TARGET_COPY_OUT_SYSTEM)/lib/libbinder-v30.so

# Configstore
PRODUCT_PACKAGES += \
+4 −0
Original line number Diff line number Diff line
@@ -67,6 +67,10 @@ function blob_fixup() {
    vendor/lib64/hw/fingerprint.FP3.so)
        "${PATCHELF}" --set-soname "fingerprint.FP3.so" "${2}"
        ;;

    vendor/lib/libremosaic_daemon.so)
        "${PATCHELF}" --replace-needed "libbinder.so" "libbinder-v30.so" "${2}"
        ;;
    esac
}

+1 −1
Original line number Diff line number Diff line
@@ -2644,7 +2644,7 @@ vendor/lib/libmmcamera_ppeiscore.so
vendor/lib/libmmcamera_puya_s5kgm1sp_p24c64e_eeprom.so
vendor/lib/libmmcamera_qtech_f3l8yam_eeprom.so
vendor/lib/libmmcamera_qtech_f5670bq_eeprom.so
vendor/lib/libmmcamera_quadracfa.so|587fcf95fc1863c17b2d80e837acc288e0db4a71
vendor/lib/libmmcamera_quadracfa.so
vendor/lib/libmmcamera_rohm_brcg064gwz_3_eeprom.so
vendor/lib/libmmcamera_s5k2l7.so
vendor/lib/libmmcamera_s5k2l7sx.so