Skip to content

Commit

Permalink
X00TD: Create initial proprietary-files.txt
Browse files Browse the repository at this point in the history
Change-Id: I7077963beae26add6a70332a38436ed06094b5ff
  • Loading branch information
Vivekachooz committed Aug 12, 2020
1 parent 59a59e2 commit 0cb6967
Show file tree
Hide file tree
Showing 3 changed files with 710 additions and 0 deletions.
22 changes: 22 additions & 0 deletions extract-files.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,28 @@

# If we're being sourced by the common script that we called,
# stop right here. No need to go down the rabbit hole.

function blob_fixup() {
case "${1}" in

# Fix jar path
product/etc/permissions/qti_fingerprint_interface.xml)
sed -i 's|/system/framework/|/system/product/framework/|g' "${2}"
;;

# Rename to fp service avoid conflicts
vendor/etc/init/[email protected]_asus.rc)
sed -i 's|[email protected]|[email protected]_asus|g' "${2}"
;;

# remove android.hidl.base dependency
vendor/lib/hw/camera.sdm660.so)
patchelf --remove-needed "[email protected]" "${2}"
;;

esac
}

if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
return
fi
Expand Down
Loading

0 comments on commit 0cb6967

Please sign in to comment.