r8s: decommonize sensorhub

This commit is contained in:
borbelyvince
2024-08-19 17:54:04 +02:00
parent fdce5bb0f5
commit 52ed2ad9e8
2 changed files with 7 additions and 0 deletions

View File

@@ -19,6 +19,10 @@ function blob_fixup() {
xxd -r -p "${2}".hex > "${2}"
rm "${2}".hex
;;
vendor/lib*/sensors.*.so)
"${PATCHELF}" --replace-needed libutils.so libutils-v32.so "${2}"
sed -i 's/_ZN7android6Thread3runEPKcim/_ZN7utils326Thread3runEPKcim/g' "${2}"
;;
vendor/firmware/wlan/qcom_cfg.ini)
sed -i 's/swlan0/wlan1/g' "${2}"
sed -i 's/gChannelBondingMode24GHz=0/gChannelBondingMode24GHz=1/g' "${2}"

View File

@@ -66,6 +66,9 @@ vendor/etc/nfc/sec_s3nrn4v_hwreg.bin
vendor/etc/nfc/sec_s3nrn4v_swreg.bin
vendor/firmware/nfc/sec_s3nrn4v_firmware.bin
# Sensors
-vendor/lib64/sensors.sensorhub.so
# Teegris Firmware
vendor/tee/00000000-0000-0000-0000-000000534b4d
vendor/tee/00000000-0000-0000-0000-0000534b504d