diff --git a/Patches/LineageOS-14.1/android_vendor_cm/bootanimation/bootanimation.tar b/Patches/LineageOS-14.1/android_vendor_cm/bootanimation/bootanimation.tar deleted file mode 100644 index 12049944..00000000 Binary files a/Patches/LineageOS-14.1/android_vendor_cm/bootanimation/bootanimation.tar and /dev/null differ diff --git a/Patches/LineageOS-14.1/android_vendor_cm/bootanimation/desc.txt b/Patches/LineageOS-14.1/android_vendor_cm/bootanimation/desc.txt deleted file mode 100644 index f9298837..00000000 --- a/Patches/LineageOS-14.1/android_vendor_cm/bootanimation/desc.txt +++ /dev/null @@ -1,10 +0,0 @@ -p 1 0 part0 -p 1 0 part0 -p 1 0 part0 -p 1 0 part0 -p 1 0 part0 -p 1 0 part0 -p 1 0 part0 -p 1 0 part0 -p 1 0 part0 -p 1 0 part0 diff --git a/Scripts/LAOS-14.1_Patches.sh b/Scripts/LAOS-14.1_Patches.sh index 1f2df841..0baf1c9a 100755 --- a/Scripts/LAOS-14.1_Patches.sh +++ b/Scripts/LAOS-14.1_Patches.sh @@ -187,8 +187,6 @@ awk -i inplace '!/50-cm.sh/' config/common.mk; #Make sure our hosts is always us patch -p1 < $patches"android_vendor_cm/0001-SCE.patch" #Include our extras such as MicroG and F-Droid cp $patches"android_vendor_cm/sce.mk" config/sce.mk cp $patches"android_vendor_cm/config.xml" overlay/common/vendor/cmsdk/cm/res/res/values/config.xml; #Per app performance profiles -cp $patches"android_vendor_cm/bootanimation/bootanimation.tar" bootanimation/bootanimation.tar -cp $patches"android_vendor_cm/bootanimation/desc.txt" bootanimation/desc.txt sed -i 's/CM_BUILDTYPE := UNOFFICIAL/CM_BUILDTYPE := dos/' config/common.mk; #Change buildtype sed -i 's/messaging/Silence/' config/telephony.mk; #Replace AOSP Messaging app with Silence #sed -i 's/mka bacon/mka bacon target-files-package dist/' build/envsetup.sh; #Create target-files for incrementals diff --git a/Scripts/Rebrand-14.1.sh b/Scripts/Rebrand-14.1.sh index f6507391..f7c11094 100644 --- a/Scripts/Rebrand-14.1.sh +++ b/Scripts/Rebrand-14.1.sh @@ -5,13 +5,15 @@ base="/mnt/Drive-1/Development/Other/Android_ROMs/Build/LineageOS-14.1/" +echo "Rebranding..." + cd $base"packages/apps/Settings" sed -i '/.*cmlicense_title/s/LineageOS/DivestOS/' res/values*/cm_strings.xml sed -i '/.*cmupdate_settings_title/s/LineageOS/DivestOS/' res/values*/cm_strings.xml sed -i '/.*mod_version/s/LineageOS/DivestOS/' res/values*/cm_strings.xml cd $base"packages/apps/SetupWizard" -sed -i 's|http://lineageos.org/legal|https://divestos.xyz/pages/legal/pp.html|' com/cyanogenmod/setupwizard/LineageSettingsActivity.java; +sed -i 's|http://lineageos.org/legal|https://divestos.xyz/pages/legal/pp.html|' src/com/cyanogenmod/setupwizard/LineageSettingsActivity.java; sed -i '/.*setup_services/s/LineageOS/DivestOS/' res/values*/strings.xml sed -i '/.*services_explanation/s/LineageOS/DivestOS/' res/values*/strings.xml @@ -19,6 +21,9 @@ cd $base"packages/apps/Updater" sed -i 's|>LineageOS|>DivestOS|' res/values*/strings.xml cd $base"vendor/cm" -sed -i 's|http://lineageos.org/legal|https://divestos.xyz/pages/legal/tos.html|' config/common.mk; +sed -i 's|http://lineageos.org/legal|https://divestos.xyz/pages/about.html|' config/common.mk; #sed -i '/.*ZIPFILE=/s/lineage/divestos/' build/envsetup.sh #TODO: Boot animation + +cd $base +echo "Rebranding complete!"