sm6225-common: Regenerate carriersettings before extracting them

Change-Id: I0579956bc63c8258d758f0cfc0aad5aa466fa874
This commit is contained in:
Michael Bestas 2023-08-24 07:44:57 +03:00 committed by Michael Bestas
parent a10ce26210
commit e42d0aabfb
No known key found for this signature in database
GPG key ID: CC95044519BE6669

View file

@ -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