mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-01-12 16:09:36 -05:00
parent
78cb11acd7
commit
e1e6d55cc6
@ -155,29 +155,34 @@ patchWorkspaceReal() {
|
||||
umask 0022;
|
||||
cd "$DOS_BUILD_BASE/$1";
|
||||
if grep -sq "android-13\.0\.0_r0\.127" ".repo/manifests/snippets/pixel.xml"; then
|
||||
touch DOS_PATCHED_FLAG;
|
||||
if [ "$DOS_MALWARE_SCAN_ENABLED" = true ]; then scanForMalware false "$DOS_PREBUILT_APPS $DOS_BUILD_BASE/build $DOS_BUILD_BASE/device $DOS_BUILD_BASE/vendor/lineage"; fi;
|
||||
verifyAllPlatformTags;
|
||||
gpgVerifyGitHead "$DOS_BUILD_BASE/external/chromium-webview";
|
||||
if [ "$(git -C 'kernel/google/gs201/private/google-modules/gpu' describe --exact-match HEAD)" = "android-13.0.0_r0.127" ]; then
|
||||
touch DOS_PATCHED_FLAG;
|
||||
if [ "$DOS_MALWARE_SCAN_ENABLED" = true ]; then scanForMalware false "$DOS_PREBUILT_APPS $DOS_BUILD_BASE/build $DOS_BUILD_BASE/device $DOS_BUILD_BASE/vendor/lineage"; fi;
|
||||
verifyAllPlatformTags;
|
||||
gpgVerifyGitHead "$DOS_BUILD_BASE/external/chromium-webview";
|
||||
|
||||
source build/envsetup.sh;
|
||||
repopick -i 361248; #Launcher3: Allow toggling monochrome icons for all apps
|
||||
repopick -it T_asb_2024-04;
|
||||
source build/envsetup.sh;
|
||||
repopick -i 361248; #Launcher3: Allow toggling monochrome icons for all apps
|
||||
repopick -it T_asb_2024-04;
|
||||
|
||||
sh "$DOS_SCRIPTS/Patch.sh";
|
||||
sh "$DOS_SCRIPTS_COMMON/Enable_Verity.sh";
|
||||
sh "$DOS_SCRIPTS_COMMON/Copy_Keys.sh";
|
||||
sh "$DOS_SCRIPTS_COMMON/Defaults.sh";
|
||||
sh "$DOS_SCRIPTS/Rebrand.sh";
|
||||
sh "$DOS_SCRIPTS_COMMON/Optimize.sh";
|
||||
sh "$DOS_SCRIPTS_COMMON/Deblob.sh";
|
||||
sh "$DOS_SCRIPTS_COMMON/Patch_CVE.sh";
|
||||
sh "$DOS_SCRIPTS_COMMON/Post.sh";
|
||||
source build/envsetup.sh;
|
||||
sh "$DOS_SCRIPTS/Patch.sh";
|
||||
sh "$DOS_SCRIPTS_COMMON/Enable_Verity.sh";
|
||||
sh "$DOS_SCRIPTS_COMMON/Copy_Keys.sh";
|
||||
sh "$DOS_SCRIPTS_COMMON/Defaults.sh";
|
||||
sh "$DOS_SCRIPTS/Rebrand.sh";
|
||||
sh "$DOS_SCRIPTS_COMMON/Optimize.sh";
|
||||
sh "$DOS_SCRIPTS_COMMON/Deblob.sh";
|
||||
sh "$DOS_SCRIPTS_COMMON/Patch_CVE.sh";
|
||||
sh "$DOS_SCRIPTS_COMMON/Post.sh";
|
||||
source build/envsetup.sh;
|
||||
|
||||
#Deblobbing fixes
|
||||
##setup-makefiles doesn't execute properly for some devices, running it twice seems to fix whatever is wrong
|
||||
#none yet
|
||||
#Deblobbing fixes
|
||||
##setup-makefiles doesn't execute properly for some devices, running it twice seems to fix whatever is wrong
|
||||
#none yet
|
||||
else
|
||||
echo -e "\e[0;33mWARNING: CHECKOUT INCORRECT, NOT PATCHING!\e[0m";
|
||||
echo "Please apply Patches/LineageOS-20.0/android/0001-tensor.patch to .repo/manifests and sync";
|
||||
fi;
|
||||
else
|
||||
echo -e "\e[0;33mWARNING: MANIFEST INCORRECT, NOT PATCHING!\e[0m";
|
||||
echo "Please apply Patches/LineageOS-20.0/android/0001-tensor.patch to .repo/manifests and sync";
|
||||
|
Loading…
Reference in New Issue
Block a user