Fixes and remove boot anim

This commit is contained in:
Tad 2017-10-18 10:00:05 -04:00
parent 26acf27638
commit f810d0691d
4 changed files with 7 additions and 14 deletions

View File

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

View File

@ -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 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/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/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/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/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 #sed -i 's/mka bacon/mka bacon target-files-package dist/' build/envsetup.sh; #Create target-files for incrementals

View File

@ -5,13 +5,15 @@
base="/mnt/Drive-1/Development/Other/Android_ROMs/Build/LineageOS-14.1/" base="/mnt/Drive-1/Development/Other/Android_ROMs/Build/LineageOS-14.1/"
echo "Rebranding..."
cd $base"packages/apps/Settings" cd $base"packages/apps/Settings"
sed -i '/.*cmlicense_title/s/LineageOS/DivestOS/' res/values*/cm_strings.xml 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 '/.*cmupdate_settings_title/s/LineageOS/DivestOS/' res/values*/cm_strings.xml
sed -i '/.*mod_version/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" 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 '/.*setup_services/s/LineageOS/DivestOS/' res/values*/strings.xml
sed -i '/.*services_explanation/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 sed -i 's|>LineageOS|>DivestOS|' res/values*/strings.xml
cd $base"vendor/cm" 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 #sed -i '/.*ZIPFILE=/s/lineage/divestos/' build/envsetup.sh
#TODO: Boot animation #TODO: Boot animation
cd $base
echo "Rebranding complete!"