From 64e717151a492ba0796910faa722484486bc0b38 Mon Sep 17 00:00:00 2001 From: Tad Date: Wed, 1 Feb 2023 20:25:43 -0500 Subject: [PATCH] 19.1: mata: allow major upgrade Signed-off-by: Tad --- Scripts/LineageOS-19.1/Functions.sh | 3 ++- Scripts/LineageOS-19.1/Patch.sh | 1 + Scripts/WebView_Update_Repo.sh | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Scripts/LineageOS-19.1/Functions.sh b/Scripts/LineageOS-19.1/Functions.sh index 913ef58c..533d2cdb 100644 --- a/Scripts/LineageOS-19.1/Functions.sh +++ b/Scripts/LineageOS-19.1/Functions.sh @@ -74,9 +74,10 @@ patchWorkspace() { verifyAllPlatformTags; gpgVerifyGitHead "$DOS_BUILD_BASE/external/chromium-webview"; - #source build/envsetup.sh; + source build/envsetup.sh; #repopick -ift twelve-bt-sbc-hd-dualchannel; #repopick -it twelve-colors; + repopick -it 330099; #Updater: Add prop for allowing major updates sh "$DOS_SCRIPTS/Patch.sh"; sh "$DOS_SCRIPTS_COMMON/Enable_Verity.sh"; diff --git a/Scripts/LineageOS-19.1/Patch.sh b/Scripts/LineageOS-19.1/Patch.sh index 8c9f4fea..597cfe17 100644 --- a/Scripts/LineageOS-19.1/Patch.sh +++ b/Scripts/LineageOS-19.1/Patch.sh @@ -429,6 +429,7 @@ fi; # if enterAndClear "device/essential/mata"; then echo "allow permissioncontroller_app tethering_service:service_manager find;" > sepolicy/private/permissioncontroller_app.te; +echo "lineage.updater.allow_major_update=true" >> system.prop; #mata has semi-broken recovery, allow major updates via Updater fi; if enterAndClear "kernel/fairphone/sdm632"; then diff --git a/Scripts/WebView_Update_Repo.sh b/Scripts/WebView_Update_Repo.sh index 76a7cdfb..57701c25 100644 --- a/Scripts/WebView_Update_Repo.sh +++ b/Scripts/WebView_Update_Repo.sh @@ -16,7 +16,7 @@ umask 0022; set -uo pipefail; -export version="109.0.5414.118-1"; +export version="110.0.5481.61-1"; export PATH=$PATH:$HOME/Android/Sdk/build-tools/33.0.0; export webviewARM32="/mnt/dos/Repos/DivestOS_WebView/prebuilt/arm/webview.apk"; export webviewARM64="/mnt/dos/Repos/DivestOS_WebView/prebuilt/arm64/webview.apk";