mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_rosemary
synced 2026-01-27 13:35:09 +00:00
Revert "rosemary: Link sensor libraries against stock libsensorndkbridge"
This reverts commit dd798d4d97071edb204d8d95d98183cd9172cf3b. Change-Id: I520764cf7781dc8cf4717cb7218534861cf5f98e
This commit is contained in:
@@ -55,9 +55,6 @@ fi
|
||||
|
||||
function blob_fixup {
|
||||
case "$1" in
|
||||
vendor/bin/mnld)
|
||||
"${PATCHELF}" --replace-needed "libsensorndkbridge.so" "libsensorndkbridge-hidl.so" "$2"
|
||||
;;
|
||||
vendor/bin/mtk_agpsd)
|
||||
"${PATCHELF}" --replace-needed "libcrypto.so" "libcrypto-v32.so" "${2}"
|
||||
"${PATCHELF}" --replace-needed "libssl.so" "libssl-v32.so" "${2}"
|
||||
@@ -87,18 +84,9 @@ function blob_fixup {
|
||||
"${PATCHELF_0_8}" --remove-needed "libhidlbase.so" "${2}"
|
||||
sed -i "s/libhidltransport.so/libhidlbase-v32.so\x00/" "${2}"
|
||||
;;
|
||||
vendor/lib*/libaalservice.so)
|
||||
"${PATCHELF}" --replace-needed "libsensorndkbridge.so" "libsensorndkbridge-hidl.so" "$2"
|
||||
;;
|
||||
vendor/lib*/libcam.utils.sensorprovider.so)
|
||||
"${PATCHELF}" --replace-needed "libsensorndkbridge.so" "libsensorndkbridge-hidl.so" "$2"
|
||||
;;
|
||||
vendor/lib64/libgf_hal.so)
|
||||
sed -i 's/\xff\xc3\x01\xd1\xfd\x7b\x06\xa9/\x00\x00\x80\xd2\xc0\x03\x5f\xd6/g' "${2}"
|
||||
;;
|
||||
vendor/lib*/librgbwlightsensor.so)
|
||||
"${PATCHELF}" --replace-needed "libsensorndkbridge.so" "libsensorndkbridge-hidl.so" "$2"
|
||||
;;
|
||||
vendor/lib64/hw/fingerprint.fpc.default.so)
|
||||
sed -i 's/\xff\x43\x01\xd1\xfd\x7b\x02\xa9/\xc0\x03\x5f\xd6\xfd\x7b\x02\xa9/g' "${2}"
|
||||
;;
|
||||
|
||||
@@ -2552,7 +2552,6 @@ vendor/etc/elliptic_sensor.xml
|
||||
vendor/lib/libakm.so
|
||||
vendor/lib/libhwm.so
|
||||
vendor/lib/librgbwlightsensor.so
|
||||
vendor/lib/libsensorndkbridge.so:vendor/lib/libsensorndkbridge-hidl.so
|
||||
vendor/lib64/hw/android.hardware.sensors@2.X-subhal-mediatek.so
|
||||
vendor/lib64/hw/sensors.elliptic.so
|
||||
vendor/lib64/hw/sensors.mt6785.so
|
||||
@@ -2560,7 +2559,6 @@ vendor/lib64/libakm.so
|
||||
vendor/lib64/libhwm.so
|
||||
vendor/lib64/libksensor.so
|
||||
vendor/lib64/librgbwlightsensor.so
|
||||
vendor/lib64/libsensorndkbridge.so:vendor/lib64/libsensorndkbridge-hidl.so
|
||||
vendor/lib64/libsensor_custom.so
|
||||
|
||||
# Soter
|
||||
|
||||
Reference in New Issue
Block a user