diff --git a/config/common.mk b/config/common.mk index 4a64ce7bf13c2def51a72f5d5e91ac7e2e727f1d..39d8bf60c4cc383c2919a307280b027283af5a04 100644 --- a/config/common.mk +++ b/config/common.mk @@ -244,7 +244,7 @@ endif DEVICE_PACKAGE_OVERLAYS += vendor/lineage/overlay/common PRODUCT_VERSION_MAJOR = 0 -PRODUCT_VERSION_MINOR = 5 +PRODUCT_VERSION_MINOR = 6 PRODUCT_VERSION_MAINTENANCE := 0 ifeq ($(TARGET_VENDOR_SHOW_MAINTENANCE_VERSION),true) diff --git a/prebuilt/common/bin/backuptool.sh b/prebuilt/common/bin/backuptool.sh index fa5ff731260381a95a94a03d4f0afa25044dfa80..c93d46ee124880df77b65327790698c17a302e8b 100755 --- a/prebuilt/common/bin/backuptool.sh +++ b/prebuilt/common/bin/backuptool.sh @@ -5,7 +5,7 @@ export C=/tmp/backupdir export S=/system -export V=0.5 +export V=8.1 export ADDOND_VERSION=1 @@ -48,7 +48,7 @@ check_prereq() { if [ ! -r /system/build.prop ]; then return 0 fi -if ! grep -q "^ro.lineage.version=$V.*" /system/build.prop; then +if ! grep -q "^ro.build.version.release=$V.*" /system/build.prop; then echo "Not backing up files from incompatible version: $V" return 0 fi diff --git a/prebuilt/common/bin/backuptool_ab.sh b/prebuilt/common/bin/backuptool_ab.sh index c738e446ae301bee64a56d975e972bf992a9f085..099b11f63f303f879bb36a750120b80dd70183d3 100755 --- a/prebuilt/common/bin/backuptool_ab.sh +++ b/prebuilt/common/bin/backuptool_ab.sh @@ -5,7 +5,7 @@ export S=/system export C=/postinstall/tmp/backupdir -export V=0.5 +export V=8.1 export ADDOND_VERSION=2