sm6225-common: Regenerate carriersettings before extracting them
Change-Id: I0579956bc63c8258d758f0cfc0aad5aa466fa874
This commit is contained in:
parent
a10ce26210
commit
e42d0aabfb
1 changed files with 5 additions and 0 deletions
|
@ -83,6 +83,11 @@ if [ -z "${ONLY_COMMON}" ] && [ -s "${MY_DIR}/../${DEVICE}/proprietary-files.txt
|
||||||
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}"
|
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}"
|
||||||
|
|
||||||
extract "${MY_DIR}/../${DEVICE}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}"
|
extract "${MY_DIR}/../${DEVICE}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}"
|
||||||
|
|
||||||
|
if [ -s "$EXTRACT_TMP_DIR/super_dump/product.img" ]; then
|
||||||
|
bash "${MY_DIR}/../${DEVICE}/regen-carriersettings.sh" "$EXTRACT_TMP_DIR/super_dump/product.img" "${MY_DIR}/../${DEVICE}/proprietary-files-carriersettings.txt"
|
||||||
|
fi
|
||||||
|
|
||||||
extract "${MY_DIR}/../${DEVICE}/proprietary-files-carriersettings.txt" "${SRC}" "${KANG}" --section "${SECTION}"
|
extract "${MY_DIR}/../${DEVICE}/proprietary-files-carriersettings.txt" "${SRC}" "${KANG}" --section "${SECTION}"
|
||||||
|
|
||||||
extract_carriersettings
|
extract_carriersettings
|
||||||
|
|
Loading…
Reference in a new issue