mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: Make tree neater and cleanup not-needed scripts
Change-Id: I3436854c1adfad1b88c2388dfecd50b4b41fc716 Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
e9fae61c3d
commit
b867da60fc
12 changed files with 13 additions and 518 deletions
|
|
@ -58,11 +58,7 @@ TARGET_KERNEL_CLANG_COMPILE := true
|
|||
TARGET_KEYMASTER_VARIANT := samsung
|
||||
|
||||
# HIDL
|
||||
DEVICE_MANIFEST_FILE := $(COMMON_PATH)/manifest.xml
|
||||
DEVICE_MATRIX_FILE := $(COMMON_PATH)/compatibility_matrix.xml
|
||||
|
||||
ODM_MANIFEST_SKUS += NFC
|
||||
ODM_MANIFEST_NFC_FILES := $(COMMON_PATH)/manifest_nfc.xml
|
||||
include device/samsung/universal7885-common/vintf/manifest.mk
|
||||
|
||||
# LMKD stats logging
|
||||
TARGET_LMKD_STATS_LOG := true
|
||||
|
|
@ -75,9 +71,7 @@ BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
|||
BOARD_FLASH_BLOCK_SIZE := 131072
|
||||
|
||||
# Properties
|
||||
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
|
||||
TARGET_PRODUCT_PROP += $(COMMON_PATH)/product.prop
|
||||
TARGET_VENDOR_PROP += $(COMMON_PATH)/vendor.prop
|
||||
include device/samsung/universal7885-common/props/props.mk
|
||||
|
||||
# Recovery
|
||||
BOARD_HAS_DOWNLOAD_MODE := true
|
||||
|
|
|
|||
|
|
@ -1,101 +0,0 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2017-2020 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
# Load extract_utils and do some sanity checks
|
||||
MY_DIR="${BASH_SOURCE%/*}"
|
||||
if [[ ! -d ${MY_DIR} ]]; then MY_DIR="${PWD}"; fi
|
||||
|
||||
LINEAGE_ROOT="${MY_DIR}"/../../..
|
||||
|
||||
HELPER="${LINEAGE_ROOT}/tools/extract-utils/extract_utils.sh"
|
||||
if [ ! -f "${HELPER}" ]; then
|
||||
echo "Unable to find helper script at ${HELPER}"
|
||||
exit 1
|
||||
fi
|
||||
source "${HELPER}"
|
||||
|
||||
function blob_fixup {
|
||||
case "$1" in
|
||||
vendor/lib*/libhifills.so)
|
||||
grep -q libunwindstack.so "$2" || "$PATCHELF" --add-needed "libunwindstack.so" "$2"
|
||||
;;
|
||||
vendor/lib*/hw/camera.exynos7884B.so)
|
||||
"$PATCHELF" --replace-needed "libcamera_client.so" "libcamera_metadata_helper.so" "$2"
|
||||
"$PATCHELF" --replace-needed "libgui.so" "libgui_vendor.so" "$2"
|
||||
;;
|
||||
vendor/lib*/libexynoscamera.so | vendor/lib*/libexynoscamera3.so)
|
||||
"$PATCHELF" --remove-needed "libcamera_client.so" "$2"
|
||||
"$PATCHELF" --remove-needed "libgui.so" "$2"
|
||||
;;
|
||||
vendor/lib*/libsensorlistener.so)
|
||||
grep -q libshim_sensorndkbridge.so "$2" || "$PATCHELF" --add-needed "libshim_sensorndkbridge.so" "$2"
|
||||
;;
|
||||
vendor/lib*/libwrappergps.so | vendor/lib/hw/audio.primary.exynos7884B.so)
|
||||
"$PATCHELF" --replace-needed "libvndsecril-client.so" "libsecril-client.so" "$2"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# Default to sanitizing the vendor folder before extraction
|
||||
CLEAN_VENDOR=true
|
||||
|
||||
ONLY_COMMON=
|
||||
ONLY_TARGET=
|
||||
SECTION=
|
||||
KANG=
|
||||
|
||||
while [ "${#}" -gt 0 ]; do
|
||||
case "${1}" in
|
||||
--only-common)
|
||||
ONLY_COMMON=true
|
||||
;;
|
||||
--only-target)
|
||||
ONLY_TARGET=true
|
||||
;;
|
||||
-n | --no-cleanup)
|
||||
CLEAN_VENDOR=false
|
||||
;;
|
||||
-k | --kang)
|
||||
KANG="--kang"
|
||||
;;
|
||||
-s | --section)
|
||||
SECTION="${2}"
|
||||
shift
|
||||
CLEAN_VENDOR=false
|
||||
;;
|
||||
*)
|
||||
SRC="${1}"
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
if [ -z "${SRC}" ]; then
|
||||
SRC="adb"
|
||||
fi
|
||||
|
||||
# Initialize the helper for common device
|
||||
if [ -z "${ONLY_TARGET}" ]; then
|
||||
# Initialize the helper for common device
|
||||
setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${LINEAGE_ROOT}" true "${CLEAN_VENDOR}"
|
||||
|
||||
extract "${MY_DIR}/proprietary-files.txt" "${SRC}" \
|
||||
"${KANG}" --section "${SECTION}"
|
||||
fi
|
||||
|
||||
if [ -z "${ONLY_COMMON}" ] && [ -s "${MY_DIR}/../${DEVICE}/proprietary-files.txt" ]; then
|
||||
# Reinitialize the helper for device
|
||||
source "${MY_DIR}/../${DEVICE}/extract-files.sh"
|
||||
setup_vendor "${DEVICE}" "${VENDOR}" "${LINEAGE_ROOT}" false "${CLEAN_VENDOR}"
|
||||
|
||||
extract "${MY_DIR}/../${DEVICE}/proprietary-files.txt" "${SRC}" \
|
||||
"${KANG}" --section "${SECTION}"
|
||||
fi
|
||||
|
||||
"${MY_DIR}/setup-makefiles.sh"
|
||||
|
|
@ -1,280 +0,0 @@
|
|||
vendor/bin/secril_config_svc|645539748afd362867ebdcce702b73b1ee7480c6
|
||||
vendor/bin/tzdaemon|bc70c6205b80224535f635c045969306ff28e1f7
|
||||
vendor/bin/wlbtd|6a6180373575df2075854c219a416ee8d81e8fbf
|
||||
vendor/bin/hw/rild|2982c9628c9f8f82ff579cdb1273baed47112dfc
|
||||
vendor/bin/hw/vendor.samsung.hardware.gnss@2.0-service|263d05050295e94f863d3b74b7edc6c8061c90fd
|
||||
vendor/bin/hw/android.hardware.drm@1.3-service.widevine|7f160beb999f8b03680c0cb23fd99f4e33c89b87
|
||||
vendor/bin/hw/macloader|29999f82d73ab0b8dd8a1c11fdb18d8e26fd3123
|
||||
vendor/bin/cbd|3501bc4a474ad9cf970fba283591dc7a10e60413
|
||||
vendor/bin/tzts_daemon|f9c0f5a025fb7b9dc2d03eeb12f99de614a9401a
|
||||
vendor/bin/main_abox|f77a5bce68f59847352ebe5110414cceebb859ce
|
||||
vendor/lib64/libsynaFpSensorTestNwd.so|222bb90c3860684a3c86bb85c8e2cf7c457a0939
|
||||
vendor/lib64/libsecnativefeature.so|beba21a227a43849d565982c7c3850bdc52552b9
|
||||
vendor/lib64/libteecl.so|4f51b22a44a033ae89962b4c7d5ce7c3a7580473
|
||||
vendor/lib64/libqfp_sensortest.so|f94316965541a920defe2660964d026d02792819
|
||||
vendor/lib64/camera.device@3.3-impl.so|d28104c2df085152e5ddcba920e26eaf2232525b
|
||||
vendor/lib64/libuniplugin.so|26e65dbf6d7b45f905d3f74d091873d20a7b0291
|
||||
vendor/lib64/egl/libGLES_mali.so|53f913b5e7246e52a578fe98aa813cb49ac81d83
|
||||
vendor/lib64/libvideobeauty_interface.so|0f069a9c9b32f97c6d17a7b5dd645cd70d3df06b
|
||||
vendor/lib64/camera.device@3.4-impl.so|f8aa45767f22fd2b46bb0f2398d8bb63f6515d05
|
||||
vendor/lib64/libion_exynos.so|bff127f0d989e6c756dd8cff40847ee5b7560447
|
||||
vendor/lib64/libsemnativecarrierfeature.so|ca44453cf7cca968606b56936be7de0d214d74be
|
||||
vendor/lib64/libsec-ril-dsds.so|8ee2a761e63449308b64d3c9de476b64a2336e7d
|
||||
vendor/lib64/libOpenCv.camera.samsung.so|1906b02445a477647c2bf4d4dcf80146108094b2
|
||||
vendor/lib64/libacryl.so|dfda4265c48bd1ab089706f20b3e63bf20466628
|
||||
vendor/lib64/vendor.samsung.hardware.radio.bridge@2.0.so|be8b1643c70fcb9c31e062bfc7ac771097770b05
|
||||
vendor/lib64/libexynosv4l2.so|fb66b93ad867a47d48da44a804d6c4514cbb5713
|
||||
vendor/lib64/vendor.samsung.hardware.gnss@2.0.so|34dbbb9affc7cb8291c6482b62a697bde3718fb3
|
||||
vendor/lib64/libwifi-hal.so|dbef589d442244aac836ff016e0295636c118497
|
||||
vendor/lib64/soundfx/libaudioeffectoffload.so|0c23ee9a4ab2d80ba1c497e6fcaea5f07d37e0ae
|
||||
vendor/lib64/libril.so|ae21d2979f849435331f7e5c224dd1ce61615eba
|
||||
vendor/lib64/libwrappergps.so|3262651e5de60f561a96627cda21fb1bc5dcd0a5
|
||||
vendor/lib64/libsecaudioinfo.so|2d968d4e7530fe4b88c0f1fd9f56e69ecf314e2c
|
||||
vendor/lib64/libSEF.quram.so|4a7c961f8af30fb753df86911e23288b65ccd34c
|
||||
vendor/lib64/libbauthserver.so|03bd01c286ed4125d932be2effa2b44baf2a4d1b
|
||||
vendor/lib64/libstagefrighthw.so|77e8fd893451073dbd2b722eb01c31a0dbb7ce7b
|
||||
vendor/lib64/libvndsecril-client.so|d36cfdb2cd60897c5c91214b31b6c27c163f7cf7
|
||||
vendor/lib64/librilutils.so|c929ab09b9335b404cb6aab859d5cc20a986d2ca
|
||||
vendor/lib64/omx/libOMX.Exynos.WMV.Decoder.so|11c0b4d218232600f9da01ef414482665c0aa548
|
||||
vendor/lib64/omx/libOMX.Exynos.VP8.Encoder.so|f549a425f180547ecc0096354f96d6e3f834dc0f
|
||||
vendor/lib64/omx/libOMX.Exynos.AVC.Encoder.so|a73b07d6be51dbf282467215b3b3abf3ca27c8a2
|
||||
vendor/lib64/omx/libOMX.Exynos.VP8.Decoder.so|bc98ec19fa14d72d36ed48cbaff6c8a0c893cba5
|
||||
vendor/lib64/omx/libOMX.Exynos.HEVC.Decoder.so|ddf717d2fa2d7b850c8a4abaec79da7f54808314
|
||||
vendor/lib64/omx/libOMX.Exynos.AVC.Decoder.so|8c9c42d49e3525c60c7133a72b390eb52b5bd0db
|
||||
vendor/lib64/omx/libOMX.Exynos.HEVC.Encoder.so|d38acc7449b092ab7439e87f10c517f232f517f4
|
||||
vendor/lib64/omx/libOMX.Exynos.MPEG4.Decoder.so|b361e7774e67a2a6991ce6638d812ac874b7c081
|
||||
vendor/lib64/omx/libOMX.Exynos.MPEG4.Encoder.so|6b24738e07cbeb8b11371345555048a2efd1309f
|
||||
vendor/lib64/omx/libOMX.Exynos.VP9.Decoder.so|b43b7233c0e985bb664d8a2ee9da8e4ac037745f
|
||||
vendor/lib64/libsaiv_BeautySolutionVideo.so|7622f3bbb782d0331ea1d08b674a95ce90072335
|
||||
vendor/lib64/libgf_in_system_lib.so|a9e47104a79e077a2ca7952640a542f94f55f07e
|
||||
vendor/lib64/hw/gralloc.exynos7884B.so|0b83bdc755a74bd86be350b2a76284394f634c2f
|
||||
vendor/lib64/hw/vendor.samsung.hardware.gnss@2.0-impl.so|2a3befe0ff19d2072ae0285721deeddfc0ae0108
|
||||
vendor/lib64/hw/thermal.universal7884B.so|15805b0508cbd2ad84738d25646006274a9c6bcc
|
||||
vendor/lib64/hw/gatekeeper.exynos7884B.so|8e06f868026fdf180cd92413f3ec770a12693bb0
|
||||
vendor/lib64/hw/memtrack.exynos7884B.so|f878ca8f195196a4d08718fec0726d6c73a99725
|
||||
vendor/lib64/hw/android.hardware.gnss@2.0-impl.so|25179da16924011cfa48e5b4d9df7a444b2adfc3
|
||||
vendor/lib64/vendor.samsung.hardware.radio.channel@2.0.so|8cc8d203c16e7239820eecc53de23bcf69da8cdd
|
||||
vendor/lib64/libiwt.so|fede22da0152e0ed397d157f332e8ab0355445cb
|
||||
vendor/lib64/libvkmanager_vendor.so|2db77d40a8f4d6cbfb42f38cc2919ed21fc83633
|
||||
vendor/lib64/vendor.samsung.hardware.radio@2.0.so|feab767661ded387449bd8c08d0d76e43d40c6f9
|
||||
vendor/lib64/libyasalgo.so|77e40408200c062f528083cb99ce36dc78aa8040
|
||||
vendor/lib64/camera.device@3.5-impl.so|3041aae04f0519efd4f11dfa983de44c6c96019e
|
||||
vendor/lib64/libsec-ril.so|fe3f2b536f0be4a3853978c6c0ef94e7d0e28da0
|
||||
vendor/lib64/libExynosOMX_Core.so|e3a3c32c91caca5421386ef36f4da3d27e994c81
|
||||
vendor/lib64/libGrallocWrapper.so|4a8a89ac339f23f14fcb22e0188f22299cb9c618
|
||||
vendor/lib64/vendor.samsung.hardware.radio@2.1.so|809c63ba36b1223e2f976b5a52adaf03f31ca948
|
||||
vendor/lib64/libcsc.so|2ead8b8b2b13ddba80d6035e12129e10461d5847
|
||||
vendor/lib64/libexynosgscaler.so|dd93cddf7102a75ad7e0fcb935d6a6bc32bdac2b
|
||||
vendor/lib64/libepicoperator.so|5c18db29128c59a48c7e2c37dbe2096d4059797e
|
||||
vendor/lib64/libexynosutils.so|cb42b6ded8fb488c74a6b40c428de36778e96d63
|
||||
vendor/lib64/libbauthtzcommon.so|a6541d20bb14c5c1e4de2d40970a5dfa92e2379b
|
||||
vendor/lib64/libgiantmscl.so|e1b2f202f14605c8a4dd39d09bce1654f9ebb58b
|
||||
vendor/lib64/libreference-ril.so|88d198da07ea1a67245beb1da4c48da9d627ef32
|
||||
vendor/lib64/libkeymaster_helper.so|8c5db62b4b89753246e7f1043f4a5baca5de1435
|
||||
vendor/lib64/libkeymaster_helper_vendor.so|c0783e27fdc41543a529b53c699c7e5aa1232091
|
||||
vendor/lib64/libexynosdisplay.so|f77a168c9fdfc6f55a9a8e4ac83ef80c0aca83bc
|
||||
vendor/lib64/libexynosgraphicbuffer.so|2580755e3d276c158c1f08deeeae2eec7467a58c
|
||||
vendor/lib64/camera.device@1.0-impl.so|a7a3d7f98e6e91d35cbc6e6ea3d54437aa9dab93
|
||||
vendor/lib64/camera.device@3.2-impl.so|9d975ebf79fd3a6b995a2e6a08927c21b2b67177
|
||||
vendor/lib64/libExynosHWCService.so|415ef33aa77b5cb9ad15b424ab3e0a4b3f300b83
|
||||
vendor/lib64/libuuid.so|edc9a3c38bb26e6582d0f392d8a484e80504c396
|
||||
vendor/lib64/libsecril-client.so|97469e0a74dc8aaddcf0e3a1f80a5c38c720b3c5
|
||||
vendor/lib64/libfloatingfeature.so|e895dd52dfed4c32aef15a5555519063c658e11d
|
||||
vendor/lib64/libskeymaster4device.so|b403a24eff0f12c09dadc3ac7bb9c423fc56e674
|
||||
vendor/lib64/libegis_fp_normal_sensor_test.so|1669383a4c88f0fcdd9cf32bc1208e7e3dd480db
|
||||
vendor/lib64/libuniapi.so|ca97c75a69bbc1dd43c2c3a8bd49f574c472dbb0
|
||||
vendor/lib64/libengmode_client.so|0d68cbca06ee8a7bbf702a101532825d0a9a8e83
|
||||
vendor/lib64/libExynosOMX_Resourcemanager.so|1f3ad84cd1ced36c1363f19aa88169642014eac1
|
||||
vendor/lib64/libexynosscaler.so|e9b22d145e4f419fd88a4ed52d263c3a9c22f370
|
||||
vendor/tee/00000000-0000-0000-0000-474154454b45|059414984221a16839cf0bf340895339cab095eb
|
||||
vendor/tee/driver/00000000-0000-0000-0000-564c544b4456|e2f206fc21f4944a5525003c364fca207454e095
|
||||
vendor/tee/driver/00000000-0000-0000-0000-00535453540b|07be55b89afb2a4ad71e331aa405b488adb174cb
|
||||
vendor/tee/driver/00000000-0000-0000-0000-4d53546d7374|be2ac776b897b446849efa80e25475a8a743b2b5
|
||||
vendor/tee/driver/18d9f073-18a5-4ade-9def-875e07f7f293_|5600b10163d01fa92548106fad6a0aba8fb05496
|
||||
vendor/tee/00000000-0000-0000-0000-00535453540c|e5af53f5b4e5d9d5de4fd1ba83bdf5b156400f14
|
||||
vendor/tee/00000000-0000-0000-0000-505256544545|d10a591de6ce39d674d61410d46eb0b11559e5a3
|
||||
vendor/tee/00000000-0000-0000-0000-46494e474502|df52836a8ca57822961bb0f836c0ea0f340bb70c
|
||||
vendor/tee/00000000-0000-0000-0000-00000000dead|673ad52eff4240c4fa74a6e31f694aae70e3ea7c
|
||||
vendor/tee/00000000-0000-0000-0000-657365636f6d|c3c357127d3402587b7cf162f9117051b4bd1c09
|
||||
vendor/tee/00000000-0000-0000-0000-4b45594d5354_vendor|21985da107e198706f989f831092b5bdac7c57ab
|
||||
vendor/tee/00000000-0000-0000-0000-4b45594d5354|c159e72f6adbba2c69c9710f17828f857fff3489
|
||||
vendor/tee/00000000-0000-0000-0000-000000534b4d|75588027f20d79263d0edc0de58939163fa1438e
|
||||
vendor/tee/00000000-0000-0000-0000-0053545354ab|4f3ce1ac7940b6ef48f3e8aa48d820bf14821ff1
|
||||
vendor/tee/00000000-0000-0000-0000-446e6c6f6164|d66b1cebbcdd0f230cc471c4d6be403873474f00
|
||||
vendor/tee/ffffffff-0000-0000-0000-000000000030|62edb7fadb07af1b0b09436fbaec7a79472179f0
|
||||
vendor/tee/00000000-0000-0000-0000-000046495645|d5817b5663e1610c77065c7faf6f1f65b91563e0
|
||||
vendor/tee/00000000-0000-0000-0000-6d73745f5441|8f37c7aad4942ff8e7663ee1203ced2381016d7c
|
||||
vendor/tee/00000000-0000-0000-0000-535355504341|e48f8e3f760e815e0c09a87db1d63e6042a46f8f
|
||||
vendor/tee/00000000-0000-0000-0000-000000000046|ef0f73902c2f9178f05e5d636bde192d658885dd
|
||||
vendor/tee/00000000-0000-0000-0000-0050524f4341|a60457db8a33b184b501562b12a1888c5065bb31
|
||||
vendor/tee/00000000-0000-0000-0000-000000010081|c63a81792804da1ef2d9b56d235e993cbe8e640d
|
||||
vendor/tee/00000000-0000-0000-0000-564c544b5052|6e19a34af0fb83e47c36f88d9ecb634ef61d2d35
|
||||
vendor/tee/00000000-0000-0000-0000-000000020081|7c52fddde828d5726090abe5751b7639316932be
|
||||
vendor/tee/tui/resolution_common/ID00000100|ffd6846bf39d3e851ad2a2d235f3e8589d57e9e9
|
||||
vendor/tee/00000000-0000-0000-0000-00575644524d|f35aee116f9bc8a1815160a7243fda5b4acfd383
|
||||
vendor/tee/00000000-0000-0000-0000-46494e474552|1f7d3906ef9a5daca08a4d7ffe0cebc6beb6c03c
|
||||
vendor/lib/libsynaFpSensorTestNwd.so|01cd79878db0fe9f2b717e7600f8ee3b90b5dd79
|
||||
vendor/lib/libsecnativefeature.so|268dfdbb80196ac0d16abcce9109f87518753361
|
||||
vendor/lib/libteecl.so|b7da8a5ac02dd6e2ff44c26f5c5fd02713bbbd35
|
||||
vendor/lib/libqfp_sensortest.so|de5a39664e936743ac3d364b53018c70fa7a4a35
|
||||
vendor/lib/libstagefright_soft_ac4dec.so|14dd7b352f0179652b37998954ac037694199e6c
|
||||
vendor/lib/camera.device@3.3-impl.so|86a5b67e123bfc3e1b8b0f24a6a3a40b426bfabd
|
||||
vendor/lib/libuniplugin.so|ef07393de4af7a8084826f207ea92aa65323b864
|
||||
vendor/lib/egl/libGLES_mali.so|e896a3569f8bea7b9a90ce1f1e950a1b867ba231
|
||||
vendor/lib/libvideobeauty_interface.so|a380edd387f6fbcb23dd55d701961dc81f85d7ba
|
||||
vendor/lib/camera.device@3.4-impl.so|dd7984779fb2e75dde6b86c4b8c91af72ef2f84b
|
||||
vendor/lib/lib_soundaliveresampler.so|3f1a5ed5a2d59a46cb1e2440c570d36020def219
|
||||
vendor/lib/libion_exynos.so|f28943bc24020fb65dd495e21f733630fff57c38
|
||||
vendor/lib/libsemnativecarrierfeature.so|ac27187c27eba2b96eaa4812b8e9b60193ca18d6
|
||||
vendor/lib/libsec-ril-dsds.so|d8cf4a3d3d42b3666a3774139b9491508b9ef6bb
|
||||
vendor/lib/libstagefright_omx_vendor.so|1d0c23c92483d8575b7b596b13fa457f8de3baa2
|
||||
vendor/lib/libOpenCv.camera.samsung.so|ffcf7a2bc58cf9b005f40ca63b2461d55bd1ad15
|
||||
vendor/lib/libacryl.so|670ea9bcd91883864ef719042ef5c07c38ac77a6
|
||||
vendor/lib/vendor.samsung.hardware.radio.bridge@2.0.so|c130cf05828ee1e415cf5823f2a67e023508f710
|
||||
vendor/lib/libaudio_soundtrigger.so|e0bf2c2ffd797026282b7795bf5eecc7b4829c5e
|
||||
vendor/lib/libexynosv4l2.so|57d0db2e3507a38afab238cfee0e44ec003426ef
|
||||
vendor/lib/lib_SoundAlive_SRC384_ver320.so|34c0464fb91daaf0eb5107c36c364f40f1b5659c
|
||||
vendor/lib/soundfx/libaudioeffectoffload.so|b9b1091e7f0d5afbf35ba2f00bd866c349695bc8
|
||||
vendor/lib/libstagefright_soft_ddpdec.so|27d0893160e589c0f5dcf52c1f172279e463341a
|
||||
vendor/lib/libril.so|d60c374b2fae7302d5e2ea469d01ff100bb7dd0a
|
||||
vendor/lib/libwrappergps.so|0e5e05f75188a28bd1416cca7125dcacd3cbd50b
|
||||
vendor/lib/libsecaudioinfo.so|686ecf145244f5952fa1ecac54d0e0500db1141e
|
||||
vendor/lib/libSEF.quram.so|44ea6a14dda2023bca0feaacc96274321edc57b7
|
||||
vendor/lib/libbauthserver.so|e09a7c665e5e00da056a216fbae6521e94084dab
|
||||
vendor/lib/libstagefrighthw.so|fdc3d585f9f84e2448397cdd434c59c25490b748
|
||||
vendor/lib/libvndsecril-client.so|74725fe1b779826e1c28b6bba553e34b753a65e5
|
||||
vendor/lib/librilutils.so|6af19cf1ab9ec150213d61552870277a6f49096b
|
||||
vendor/lib/vndk/libtinyalsa.so|6691de8373dd8a4a7861ac61dae943d64e53755c
|
||||
vendor/lib/vndk/libaudioroute.so|52981c66f5437a52ab3a36a16954b91eabb538e1
|
||||
vendor/lib/omx/libOMX.Exynos.WMV.Decoder.so|b5e365b58f9d8633bc981b4022d69c3e3394bdc7
|
||||
vendor/lib/omx/libOMX.Exynos.VP8.Encoder.so|5127521fbf6f9b44cc73d5ef50cf86bd51a25c97
|
||||
vendor/lib/omx/libOMX.Exynos.AVC.Encoder.so|28e49b18fdd6616bec326246559489907986e2c2
|
||||
vendor/lib/omx/libOMX.Exynos.VP8.Decoder.so|62129fc7cd6f8e8fd971a35c7edd180d16846b24
|
||||
vendor/lib/omx/libOMX.Exynos.HEVC.Decoder.so|410d5998ac8012bd504de5bd071bd5981dc1fce6
|
||||
vendor/lib/omx/libOMX.Exynos.AVC.Decoder.so|c2f68d83abd5d23cbf0ec089f9875acef2602c7b
|
||||
vendor/lib/omx/libOMX.Exynos.HEVC.Encoder.so|39dc40ebd1e9757842a5ced8f1a29144435dde47
|
||||
vendor/lib/omx/libOMX.Exynos.MPEG4.Decoder.so|c98eefe4888927488d6052517a6f918e0c96ec3c
|
||||
vendor/lib/omx/libOMX.Exynos.MPEG4.Encoder.so|33033f22258991454fd30a00fc08b11cfafe508c
|
||||
vendor/lib/omx/libOMX.Exynos.VP9.Decoder.so|b221bae6e636607a59781c61edd8d9c30995764b
|
||||
vendor/lib/libsaiv_BeautySolutionVideo.so|5d13701617e75f2f88017006fdc9220592dd39ab
|
||||
vendor/lib/libgf_in_system_lib.so|d299491d883439e3e6f8ca04157e7d64aea02990
|
||||
vendor/lib/hw/gralloc.exynos7884B.so|613816cbacd7aac851f8d1051a0ff83a8a51aaa5
|
||||
vendor/lib/hw/thermal.universal7884B.so|681203038730312ad0e9291eb977eff7d2faa3fb
|
||||
vendor/lib/hw/gatekeeper.exynos7884B.so|c0c53010a92e1ed4452e16feb2a0762d3c5ccc36
|
||||
vendor/lib/hw/audio.primary.exynos7884B.so|fd0f046af7a60758367089309da115ea1fb600f0
|
||||
vendor/lib/hw/memtrack.exynos7884B.so|448840bdda1522dcce7e175ae3b6c6843c3a89eb
|
||||
vendor/lib/vendor.samsung.hardware.radio@2.0.so|1c976df4082e7829578a9cb48c040706e1753a6d
|
||||
vendor/lib/libyasalgo.so|b538d18107f66865f780ab8112c4c1ebdda791e2
|
||||
vendor/lib/libsamsungDiamondVoice.so|75118e7ff1c7af7c66cce08fe51e11e7bd27a16b
|
||||
vendor/lib/camera.device@3.5-impl.so|a5b7e2287f75e018126c3d3dff40d4d4a18d7318
|
||||
vendor/lib/lib_SamsungRec_07001.so|e22a13e8bba018df0d683ef6dcf6df170866ec41
|
||||
vendor/lib/libExynosOMX_Core.so|5db9c4a101528c4d93833c7d88999dca2094186a
|
||||
vendor/lib/libGrallocWrapper.so|4eff4bbab8c50d0279d8d9145c6973857a16ce0e
|
||||
vendor/lib/vendor.samsung.hardware.radio@2.1.so|6ce633e09b82f54aabd789ca23a5f1833a232f68
|
||||
vendor/lib/libcsc.so|ffc3403a865ad2828ba3e3da7ee64316abf23c17
|
||||
vendor/lib/libexynosgscaler.so|4c58aa4bc570a6618807e107f31a2a12dbe90fa1
|
||||
vendor/lib/liboemcrypto.so|63264b3c2eca0d91f6306e5e0ba85dba783998a7
|
||||
vendor/lib/libepicoperator.so|a9912ea0fd4c9fe8127bea96522a5f73a1d3f96a
|
||||
vendor/lib/libexynosutils.so|a90530792e1770ece7fa44f93e93718b793e684e
|
||||
vendor/lib/libbauthtzcommon.so|841b005c9d29bc44fcf14d1af81c20f73e157381
|
||||
vendor/lib/libgiantmscl.so|a3b02136ed3ff97fff67d08d02803409de0ad913
|
||||
vendor/lib/libreference-ril.so|46374a18b4a2cff2bbcd7eb4706421ac404dd924
|
||||
vendor/lib/libaudio-ril.so|2fee16ec35bcaccac0092b27b5ea434617877c3f
|
||||
vendor/lib/librecordalive.so|4e4eb2a92154db8a4ec00c1035ba9547fceeb9b1
|
||||
vendor/lib/mediadrm/libwvdrmengine.so|090f8ecdc922d7f76ab4587cc148ebbb34e370a5
|
||||
vendor/lib/libexynosdisplay.so|224a137117771815a50f4477b49c4cf4da6b1837
|
||||
vendor/lib/libexynosgraphicbuffer.so|7bcd71bf6e2c59bbde4c19e8a78324332c61b2a1
|
||||
vendor/lib/camera.device@1.0-impl.so|35cacdde2a0c79afb6e35fa68c0070633cff2820
|
||||
vendor/lib/camera.device@3.2-impl.so|0662132e7b157d3c8f0541444a075bc5b5b9171c
|
||||
vendor/lib/libExynosHWCService.so|50a1b9595633329e4c0624e397e1b216d0456559
|
||||
vendor/lib/libuuid.so|32633d310ca716b035ad5eddaaa409f47e4c9cff
|
||||
vendor/lib/libsecril-client.so|b73a89d335b5891d7243d5ded2c98a76a7da3191
|
||||
vendor/lib/libfloatingfeature.so|eff6cbf9617b06ae65718282320c5d4fb4cb84cc
|
||||
vendor/lib/libegis_fp_normal_sensor_test.so|139eab53d3e411795fc449b7de4cf9045d642a8c
|
||||
vendor/lib/libwvhidl.so|f62ed1a2b6ed2bc208835becb220a8c416b8ce3e
|
||||
vendor/lib/libuniapi.so|2aac5e80d3dddc7eccfe1a84a17e999c1c5634f5
|
||||
vendor/lib/libExynosOMX_Resourcemanager.so|fc477c89df01bd2de82e02b745b0fa48f050ac2c
|
||||
vendor/lib/libSamsungPostProcessConvertor.so|1638f0eec080ae8bca2c0d4a2c45f08c7a42aa5b
|
||||
vendor/lib/libexynosscaler.so|04b195fa937d1eb1b01996f5148359e4b16d6d90
|
||||
vendor/etc/floating_feature.xml|6b821b0b91539aaacc7ee56dd57cdb6c18432203
|
||||
vendor/etc/audio_policy_volumes.xml|dba1df5abb53cc156e24978a236c314312f8537a
|
||||
vendor/etc/plmn_delta_hktw.bin|97a5a4747e8c32d463d8f26254257309b8a03a63
|
||||
vendor/etc/audio_board_info.xml|c817a4dd30ae71b243c80ab1d51155b88cbd40a4
|
||||
vendor/etc/default_volume_tables.xml|35722acb2dd36ed2a3850a66849c94b904813aa0
|
||||
vendor/etc/media_codecs.xml|634e94c4786ecfebb3affa7044fcc0893df71d69
|
||||
vendor/etc/mixer_gains.xml|2e25dade3eb8e73ded33bdd4f55cffc28b29652c
|
||||
vendor/etc/mixer_paths.xml|351bbab561a0b6ae58c258465ed7419143e5b594
|
||||
vendor/etc/plmn_se13.bin|ca726d522e75b6ef9f65734a8ed087ab749ca6a9
|
||||
vendor/etc/plmn_delta_usagsm.bin|9a25ec9e9da16ed2f8a9db07f037fe08283b24e5
|
||||
vendor/etc/init/wifi_slsi.rc|1ab7cb95a77da6edda9e8c5f0d975eab51309b11
|
||||
vendor/etc/init/vendor.samsung.hardware.gnss@2.0-service.rc|3325fd400492a99047c6ed563cf6eae6d945aab5
|
||||
vendor/etc/init/init.vendor.rilchip.rc|83d57882dfaefaaa21c5dd636bafd655dfaf0b10
|
||||
vendor/etc/init/init.gps.rc|38779e7fe083965a227842b745de0267d4f5cefd
|
||||
vendor/etc/init/android.hardware.drm@1.3-service.widevine.rc|c35e1a6f9a6faff19064a81e07c4be82ceaf4bb5
|
||||
vendor/etc/init/init.vendor.onebinary.rc|b3fab964774039b1f2f6eabf821556919b26369f
|
||||
vendor/etc/init/teegris_v3.rc|2768325441464d51605f3e91679c01c431b0db6f
|
||||
vendor/etc/init/init.vendor.rilcommon.rc|5a669667301c678eb825abb41531ae1e19897886
|
||||
vendor/etc/media_codecs_performance.xml|0a5a14b8f6a9aee52698d5dcc277ecd29e11e1b8
|
||||
vendor/etc/nfc/sec_s3nrn82_rfreg.bin|e682e20386e9cb52322bd555deb38a5d0bb22fc4
|
||||
vendor/etc/media_profiles_V1_0.xml|0cd9fcc4e19468356a2e2eec7f9d4032c6d20423
|
||||
vendor/etc/plmn_delta_attaio.bin|751a1c7105f1c03fc196689c2a71e2c69aa14e1f
|
||||
vendor/etc/gnss/ca.pem|27f518dca7a09414e6e284885555f0c3da72ee2c
|
||||
vendor/etc/gnss/gps.cfg|1d41e7e70aaa25b121b8b32a71feb9f1f6cd10ed
|
||||
vendor/etc/wifi/mx140_t.bin|cd7b4f254bbb74d2c9d8f6762005b15daae69c4a
|
||||
vendor/etc/wifi/hydra_config.sdb|85920bc39b4680870a6271fdae2c4aa397f3680b
|
||||
vendor/etc/wifi/mx140_wlan_t.hcf|4350dedd9facd87222c7faa1b48fe82e13c261c5
|
||||
vendor/etc/wifi/platform.txt|ec106eb7e0ac91f498fbc452ca6d5c18f1130bbe
|
||||
vendor/etc/wifi/mx140/debug/wlan/mib_out.xml|ad40dfcadb18942b516a864838ccbc83acdf734b
|
||||
vendor/etc/wifi/mx140/debug/wlan/symbols.dbg|30956d136603ae1772b8e372c2df5c5f48d91cc1
|
||||
vendor/etc/wifi/mx140/debug/wlan/xide_mib.dbg|9e33aa6f81c9c0771f48e8baafaac306cfa9dae9
|
||||
vendor/etc/wifi/mx140/debug/wlan/id.txt|675bd4b1087f683d4f6f6d5144e677dd6ca055a3
|
||||
vendor/etc/wifi/mx140/debug/wlan/unicli.dbg|2375ca82dc0ede7a02aba39fef8a9a43a2dc576c
|
||||
vendor/etc/wifi/mx140/debug/wlan/unitab.dbg|5e440b3604fa650d4fa7df5e75d1ed3883f5abea
|
||||
vendor/etc/wifi/mx140/debug/wlan/hip_signals.xml|368e88e076db2023dee3e581494231fc898d633e
|
||||
vendor/etc/wifi/mx140/debug/wlan/univif.dbg|313079490a1c9206d912c845703246a85c912cdb
|
||||
vendor/etc/wifi/mx140/debug/common/log-strings.bin|b83993c06dcf610986adcdb799a6d4b2f29657a7
|
||||
vendor/etc/wifi/mx140/debug/hardware/moredump/wlan_sys_registers.xml|5c4d35b7546f062ff8b9828e163b9406ce506c70
|
||||
vendor/etc/wifi/mx140/debug/hardware/moredump/mailbox16.xml|130996cc8b8ccd8d1b4eeca936154c52fd42d24c
|
||||
vendor/etc/wifi/mx140/debug/hardware/moredump/moredump.bin|af7b328fe384d0e88609092d35f3a8981c2771d5
|
||||
vendor/etc/wifi/mx140/debug/hardware/moredump/moredump.xml|8b2b838f0b25099eaab32146479b1464ca0db07a
|
||||
vendor/etc/wifi/mx140/debug/hardware/moredump/cortexR4.xml|8909a1fc9a0d738dfa725fdef710a3d65c5b1070
|
||||
vendor/etc/wifi/mx140/debug/hardware/moredump/mailbox8.xml|b45694da2dc7c6bcac0c4dce7dc5aeb9b51de5af
|
||||
vendor/etc/wifi/mx140/debug/hardware/moredump/mailbox4.xml|193b7a122ec89ec9d37972bfda96409fa910c56e
|
||||
vendor/etc/wifi/mx140/debug/hardware/moredump/cortexM4.xml|ada82c9ac8cc80f29bdaeb228b871215b6895a68
|
||||
vendor/etc/wifi/mx140/debug/hardware/moredump/rf_chip_registers.xml|0213ef555a3826b8d272d587ab067519ac4c10be
|
||||
vendor/etc/wifi/mx140/debug/hardware/moredump/pl192vic.xml|a60a385c357d0bd9d1054cc43d32ad92d449f7bc
|
||||
vendor/etc/wifi/mx140/debug/hardware/moredump/bt_registers.xml|ff9b8f6671fb439d393c85a68c2a9256f23ebc88
|
||||
vendor/etc/wifi/mx140_t_wlan_t.hcf|7b06c6263a663babe3b2a3b8c0a4297228bcf320
|
||||
vendor/etc/wifi/mx140_wlan.hcf|4d5f7d0578b595f9125b930b5d61cc3bf07221f0
|
||||
vendor/etc/wifi/indoorchannel.info|1e41adb7b78e36bc764413b50aac665eabe31ad4
|
||||
vendor/etc/wifi/mx140.bin|1a8a5b406794558155bdaa56ea3618dc8736481f
|
||||
vendor/etc/wifi/mx140_t_wlan.hcf|09ad6207aac41ea56d680caae678f7d2fb4cdf62
|
||||
vendor/etc/wifi/mx140_t/debug/wlan/mib_out.xml|89923b5c106ed0c38a4ad24e631542fa0ee1630d
|
||||
vendor/etc/wifi/mx140_t/debug/wlan/symbols.dbg|b3f539cbe3d345821e4910d24f484b5195e67ece
|
||||
vendor/etc/wifi/mx140_t/debug/wlan/xide_mib.dbg|9e33aa6f81c9c0771f48e8baafaac306cfa9dae9
|
||||
vendor/etc/wifi/mx140_t/debug/wlan/id.txt|a7b8330beffc17da433f0b4f1d888007e20de547
|
||||
vendor/etc/wifi/mx140_t/debug/wlan/unicli.dbg|de3dfcc85caf2789d0d4865ed66774f6cc9e1305
|
||||
vendor/etc/wifi/mx140_t/debug/wlan/unitab.dbg|5e440b3604fa650d4fa7df5e75d1ed3883f5abea
|
||||
vendor/etc/wifi/mx140_t/debug/wlan/hip_signals.xml|5d27721d1189e8c52f86449cd463dd2e81ba631a
|
||||
vendor/etc/wifi/mx140_t/debug/wlan/univif.dbg|313079490a1c9206d912c845703246a85c912cdb
|
||||
vendor/etc/wifi/mx140_t/debug/common/log-strings.bin|d3dca22260520b3e07ce44a5a77913e10022ebf7
|
||||
vendor/etc/wifi/mx140_t/debug/hardware/moredump/wlan_sys_registers.xml|5c4d35b7546f062ff8b9828e163b9406ce506c70
|
||||
vendor/etc/wifi/mx140_t/debug/hardware/moredump/mailbox16.xml|130996cc8b8ccd8d1b4eeca936154c52fd42d24c
|
||||
vendor/etc/wifi/mx140_t/debug/hardware/moredump/moredump.bin|af7b328fe384d0e88609092d35f3a8981c2771d5
|
||||
vendor/etc/wifi/mx140_t/debug/hardware/moredump/moredump.xml|8b2b838f0b25099eaab32146479b1464ca0db07a
|
||||
vendor/etc/wifi/mx140_t/debug/hardware/moredump/cortexR4.xml|8909a1fc9a0d738dfa725fdef710a3d65c5b1070
|
||||
vendor/etc/wifi/mx140_t/debug/hardware/moredump/mailbox8.xml|b45694da2dc7c6bcac0c4dce7dc5aeb9b51de5af
|
||||
vendor/etc/wifi/mx140_t/debug/hardware/moredump/mailbox4.xml|193b7a122ec89ec9d37972bfda96409fa910c56e
|
||||
vendor/etc/wifi/mx140_t/debug/hardware/moredump/cortexM4.xml|ada82c9ac8cc80f29bdaeb228b871215b6895a68
|
||||
vendor/etc/wifi/mx140_t/debug/hardware/moredump/rf_chip_registers.xml|0213ef555a3826b8d272d587ab067519ac4c10be
|
||||
vendor/etc/wifi/mx140_t/debug/hardware/moredump/pl192vic.xml|a60a385c357d0bd9d1054cc43d32ad92d449f7bc
|
||||
vendor/etc/wifi/mx140_t/debug/hardware/moredump/bt_registers.xml|ff9b8f6671fb439d393c85a68c2a9256f23ebc88
|
||||
vendor/etc/wifi/mx|da39a3ee5e6b4b0d3255bfef95601890afd80709
|
||||
vendor/etc/wifi/mx140_bt.hcf|310a413419d1303de0d46f03f964aaee72f2bec8
|
||||
vendor/etc/yas_set.cfg|1427e822f24b0b0f97242a26f190a0f936c12e09
|
||||
vendor/etc/plmn_delta.bin|6a826cb6a8a1d460403ab2ebccf4f0d7be546ce6
|
||||
vendor/firmware/calliope_dram.bin|7cd47a5c02c8b6360fe663030691e0d202d723a9
|
||||
vendor/firmware/Tfa9896.cnt|7d93c715c4c3dc7b452310fae69cd3b3afa5d77f
|
||||
vendor/firmware/calliope_sram.bin|5f0e5201b98ff3ba233f3f1a0cf1f3de43490055
|
||||
vendor/firmware/AP_AUDIO_SLSI.bin|8c21db324a48eee0e182c2d1e38ef9d8ec80179b
|
||||
vendor/firmware/APBargeIn_AUDIO_SLSI.bin|f17a63e2827f60c7d6da1ecbf93d6db6d1d6af6a
|
||||
5
universal7885-common/props/props.mk
Normal file
5
universal7885-common/props/props.mk
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
PROPS_PATH := device/samsung/universal7885-common/props
|
||||
|
||||
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
|
||||
TARGET_PRODUCT_PROP += $(PROPS_PATH)/product.prop
|
||||
TARGET_VENDOR_PROP += $(PROPS_PATH)/vendor.prop
|
||||
|
|
@ -2,9 +2,6 @@
|
|||
# Disable invocation of oem_lock
|
||||
ro.frp.pst=/dev/block/persistent
|
||||
|
||||
# fastbootd
|
||||
ro.fastbootd.available=true
|
||||
|
||||
## OMX
|
||||
# Set csc support in OMX
|
||||
# If not set or set to 0, OMX will only use BT.601 colorspace.
|
||||
|
|
@ -20,9 +17,6 @@ vendor.sec.rild.libpath2=/vendor/lib64/libsec-ril-dsds.so
|
|||
# LTE, GSM and WCDMA
|
||||
ro.telephony.default_network=9,9
|
||||
|
||||
# Samsung Specific Properties
|
||||
ro.product_ship=true
|
||||
|
||||
## Surfaceflinger
|
||||
debug.sf.disable_backpressure=1
|
||||
ro.surface_flinger.max_frame_buffer_acquired_buffers=3
|
||||
|
|
@ -1,50 +0,0 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2017-2020 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
INITIAL_COPYRIGHT_YEAR=2018
|
||||
|
||||
# Load extract_utils and do some sanity checks
|
||||
MY_DIR="${BASH_SOURCE%/*}"
|
||||
if [[ ! -d ${MY_DIR} ]]; then MY_DIR="${PWD}"; fi
|
||||
|
||||
LINEAGE_ROOT="${MY_DIR}/../../.."
|
||||
|
||||
HELPER="${LINEAGE_ROOT}/tools/extract-utils/extract_utils.sh"
|
||||
if [ ! -f "${HELPER}" ]; then
|
||||
echo "Unable to find helper script at ${HELPER}"
|
||||
exit 1
|
||||
fi
|
||||
source "${HELPER}"
|
||||
|
||||
# Initialize the helper for common
|
||||
setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${LINEAGE_ROOT}" true
|
||||
|
||||
# Copyright headers and guards
|
||||
write_headers "m20lte"
|
||||
|
||||
# The standard common blobs
|
||||
write_makefiles "${MY_DIR}/proprietary-files.txt" true
|
||||
|
||||
# Finish
|
||||
write_footers
|
||||
|
||||
if [ -s "${MY_DIR}/../${DEVICE}/proprietary-files.txt" ]; then
|
||||
# Reinitialize the helper for device
|
||||
INITIAL_COPYRIGHT_YEAR="$DEVICE_BRINGUP_YEAR"
|
||||
setup_vendor "${DEVICE}" "${VENDOR}" "${LINEAGE_ROOT}" false
|
||||
|
||||
# Copyright headers and guards
|
||||
write_headers
|
||||
|
||||
# The standard device blobs
|
||||
write_makefiles "${MY_DIR}/../${DEVICE}/proprietary-files.txt" true
|
||||
|
||||
# Finish
|
||||
write_footers
|
||||
fi
|
||||
|
|
@ -1,73 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
#
|
||||
# Copyright (C) 2016 The CyanogenMod Project
|
||||
# Copyright (C) 2017-2020 The LineageOS Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
import os
|
||||
import sys
|
||||
from hashlib import sha1
|
||||
|
||||
device = 'universal7885-common'
|
||||
vendor = 'samsung'
|
||||
|
||||
with open('proprietary-files.txt', 'r') as f:
|
||||
lines = f.read().splitlines()
|
||||
vendorPath = '../../../vendor/' + vendor + '/' + device + '/proprietary'
|
||||
needSHA1 = False
|
||||
|
||||
|
||||
def cleanup():
|
||||
for index, line in enumerate(lines):
|
||||
# Skip empty or commented lines
|
||||
if len(line) == 0 or line[0] == '#' or '|' not in line:
|
||||
continue
|
||||
|
||||
# Drop SHA1 hash, if existing
|
||||
lines[index] = line.split('|')[0]
|
||||
|
||||
|
||||
def update():
|
||||
for index, line in enumerate(lines):
|
||||
# Skip empty lines
|
||||
if len(line) == 0:
|
||||
continue
|
||||
|
||||
# Check if we need to set SHA1 hash for the next files
|
||||
if line[0] == '#':
|
||||
needSHA1 = (' - from' in line)
|
||||
continue
|
||||
|
||||
if True:
|
||||
# Remove existing SHA1 hash
|
||||
line = line.split('|')[0]
|
||||
|
||||
filePath = line.split(';')[0].split(':')[-1]
|
||||
if filePath[0] == '-':
|
||||
filePath = filePath[1:]
|
||||
|
||||
with open(os.path.join(vendorPath, filePath), 'rb') as f:
|
||||
hash = sha1(f.read()).hexdigest()
|
||||
|
||||
lines[index] = '%s|%s' % (line, hash)
|
||||
|
||||
|
||||
if len(sys.argv) == 2 and sys.argv[1] == '-c':
|
||||
cleanup()
|
||||
else:
|
||||
update()
|
||||
|
||||
with open('proprietary-files.txt', 'w') as file:
|
||||
file.write('\n'.join(lines) + '\n')
|
||||
6
universal7885-common/vintf/manifest.mk
Normal file
6
universal7885-common/vintf/manifest.mk
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
MANIFEST_PATH := device/samsung/universal7885-common/vintf
|
||||
|
||||
DEVICE_MANIFEST_FILE := $(MANIFEST_PATH)/manifest.xml
|
||||
DEVICE_MATRIX_FILE := $(MANIFEST_PATH)/compatibility_matrix.xml
|
||||
ODM_MANIFEST_SKUS += NFC
|
||||
ODM_MANIFEST_NFC_FILES := $(MANIFEST_PATH)/manifest_nfc.xml
|
||||
Loading…
Reference in a new issue