mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-08-23 21:25:24 -04:00
Boot animation customization!
This commit is contained in:
parent
3a3fe5aca9
commit
c44d11fb99
5 changed files with 23 additions and 5 deletions
|
@ -28,6 +28,9 @@ sed -i 's|echo "ro.build.user=$USER"|echo "ro.build.user=emy"|' tools/buildinfo.
|
|||
sed -i 's|echo "ro.build.host=`hostname`"|echo "ro.build.host=dosbm"|' tools/buildinfo.sh; #Override build host
|
||||
sed -i '/CM_TARGET_PACKAGE/s/lineage/'"$REBRAND_ZIP_PREFIX"'/' core/Makefile;
|
||||
|
||||
enter "frameworks/base";
|
||||
generateBootAnimationMask "$REBRAND_NAME" core/res/assets/images/android-logo-mask.png;
|
||||
|
||||
enter "packages/apps/Settings";
|
||||
sed -i '/.*cmlicense_title/s/LineageOS/'"$REBRAND_NAME"'/' res/values*/cm_strings.xml;
|
||||
sed -i '/.*cmupdate_settings_title/s/LineageOS/'"$REBRAND_NAME"'/' res/values*/cm_strings.xml;
|
||||
|
@ -45,7 +48,7 @@ sed -i 's|>LineageOS|>'"$REBRAND_NAME"'|' res/values*/strings.xml;
|
|||
enter "vendor/cm";
|
||||
sed -i 's|https://lineageos.org/legal|'"$REBRAND_LEGAL"'|' config/common.mk;
|
||||
sed -i '/.*ZIPPATH=/s/lineage/'"$REBRAND_ZIP_PREFIX"'/' build/envsetup.sh;
|
||||
rm -rf bootanimation #TODO: Create a boot animation
|
||||
rm -rf bootanimation;
|
||||
|
||||
cd "$base";
|
||||
echo "Rebranding complete!";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue