From: Jan Altensen Date: Tue, 22 Sep 2020 19:29:49 +0000 (+0400) Subject: universal8895: extract-files: remove libhidltransport/libhwbinder dependencies X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9c2bfa5a357b2bef61d100893b7c991ee3bc9eb7;p=GitHub%2Fexynos8895%2Fandroid_device_samsung_universal8895-common.git universal8895: extract-files: remove libhidltransport/libhwbinder dependencies --- diff --git a/extract-files.sh b/extract-files.sh index 11e0115..86ac682 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -75,4 +75,101 @@ sed -i -z "s/ setprop wifi.interface wlan0\n\n/ setprop wifi.interface wla # replace SSLv3_client_method with SSLv23_method sed -i "s/SSLv3_client_method/SSLv23_method\x00\x00\x00\x00\x00\x00/" $BLOB_ROOT/vendor/bin/hw/gpsd +# Remove libhidltransport dependencie +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/lib/android.hardware.bluetooth.a2dp@1.0.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/lib/android.hardware.gnss@1.0.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/lib/android.hardware.gnss@1.1.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/lib/libGrallocWrapper.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/lib/libskeymaster.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/lib/vendor.samsung.hardware.gnss@1.0.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/lib/vendor.samsung_slsi.hardware.ExynosHWCServiceTW@1.0.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/lib64/android.hardware.bluetooth.a2dp@1.0.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/lib64/android.hardware.bluetooth@1.0.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/lib64/android.hardware.gnss@1.0.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/lib64/android.hardware.gnss@1.1.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/lib64/android.hardware.nfc@1.0.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/lib64/android.hardware.nfc@1.1.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/lib64/libGrallocWrapper.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/lib64/libskeymaster.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/lib64/vendor.samsung.hardware.bluetooth@1.0.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/lib64/vendor.samsung.hardware.gnss@1.0.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/lib64/vendor.samsung.hardware.nfc@1.1.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/lib64/vendor.samsung_slsi.hardware.ExynosHWCServiceTW@1.0.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/bin/hw/android.hardware.bluetooth@1.0-service +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/bin/hw/android.hardware.drm@1.1-service.widevine +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/bin/hw/sec.android.hardware.nfc@1.1-service +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/bin/hw/vendor.samsung.hardware.gnss@1.0-service +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/bin/hw/vendor.samsung_slsi.hardware.ExynosHWCServiceTW@1.0-service +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/camera.device@1.0-impl.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/camera.device@3.2-impl.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/camera.device@3.3-impl.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/camera.device@3.4-external-impl.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/camera.device@3.4-impl.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/camera.device@3.5-external-impl.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/camera.device@3.5-impl.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/libril.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/libsec-ril-dsds.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/libsec-ril.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/libskeymaster3device.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/libstagefright_bufferqueue_helper_vendor.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/libstagefright_omx_vendor.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/libwvhidl.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/sensors.sensorhub.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/vendor.samsung.hardware.radio.bridge@2.0.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/vendor.samsung.hardware.radio.channel@2.0.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/vendor.samsung.hardware.radio@2.0.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/camera.device@1.0-impl.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/camera.device@3.2-impl.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/camera.device@3.3-impl.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/camera.device@3.4-external-impl.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/camera.device@3.4-impl.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/camera.device@3.5-external-impl.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/camera.device@3.5-impl.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/hw/android.hardware.bluetooth@1.0-impl.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/hw/android.hardware.gnss@1.1-impl.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/hw/vendor.samsung.hardware.gnss@1.0-impl.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/libril.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/libsec-ril-dsds.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/libsec-ril.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/libskeymaster3device.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/nfc_nci_sec.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/sensors.sensorhub.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/vendor.samsung.hardware.radio.bridge@2.0.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/vendor.samsung.hardware.radio.channel@2.0.so +patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/vendor.samsung.hardware.radio@2.0.so +# Remove libhwbinder dependencie +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/lib/android.hardware.bluetooth.a2dp@1.0.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/lib/android.hardware.gnss@1.0.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/lib/android.hardware.gnss@1.1.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/lib/vendor.samsung.hardware.gnss@1.0.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/lib/vendor.samsung_slsi.hardware.ExynosHWCServiceTW@1.0.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/lib64/android.hardware.bluetooth.a2dp@1.0.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/lib64/android.hardware.bluetooth@1.0.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/lib64/android.hardware.gnss@1.0.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/lib64/android.hardware.gnss@1.1.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/lib64/android.hardware.nfc@1.0.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/lib64/android.hardware.nfc@1.1.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/lib64/vendor.samsung.hardware.bluetooth@1.0.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/lib64/vendor.samsung.hardware.gnss@1.0.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/lib64/vendor.samsung.hardware.nfc@1.1.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/lib64/vendor.samsung_slsi.hardware.ExynosHWCServiceTW@1.0.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/bin/hw/android.hardware.drm@1.1-service.widevine +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/bin/hw/sec.android.hardware.nfc@1.1-service +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib/camera.device@1.0-impl.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib/libril.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib/libsec-ril-dsds.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib/libsec-ril.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib/libwvhidl.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib/vendor.samsung.hardware.radio.bridge@2.0.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib/vendor.samsung.hardware.radio.channel@2.0.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib/vendor.samsung.hardware.radio@2.0.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/camera.device@1.0-impl.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/hw/vendor.samsung.hardware.gnss@1.0-impl.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/libril.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/libsec-ril-dsds.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/libsec-ril.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/vendor.samsung.hardware.radio.bridge@2.0.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/vendor.samsung.hardware.radio.channel@2.0.so +patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/vendor.samsung.hardware.radio@2.0.so + "${MY_DIR}/setup-makefiles.sh"