mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
Misc fixes
This commit is contained in:
parent
3ba218ec62
commit
601c03df01
@ -203,6 +203,7 @@ enterAndClear "device/amazon/hdx-common"
|
||||
echo "/dev/block/platform/msm_sdcc.1/by-name/misc /misc emmc defaults defaults" >> rootdir/etc/fstab.qcom; #Add the misc (mmcblk0p5) partition for recovery flags
|
||||
|
||||
enterAndClear "device/motorola/clark"
|
||||
git revert 6a116d3d47a23fb33a064916995cbb3b265cf32f
|
||||
patch -p1 < $patches"android_device_motorola_clark/0001-Tri_State_Torch.patch" #Tri-state torch
|
||||
|
||||
enterAndClear "device/oneplus/bacon"
|
||||
|
@ -72,7 +72,8 @@ export -f buildAll;
|
||||
|
||||
patchWorkspace() {
|
||||
source build/envsetup.sh;
|
||||
repopick 204743 204744;
|
||||
repopick 204743 204744 207991; #Cherry picks
|
||||
|
||||
source $scripts/Patch.sh;
|
||||
source $scripts/Defaults.sh;
|
||||
source $scripts/Overclock.sh;
|
||||
@ -107,6 +108,14 @@ enableDexPreOptFull() {
|
||||
}
|
||||
export -f enableDexPreOptFull;
|
||||
|
||||
compressRamdisks() {
|
||||
if [ -f BoardConfig.mk ]; then
|
||||
echo "LZMA_RAMDISK_TARGETS := boot,recovery" >> BoardConfig.mk;
|
||||
echo "Enabled ramdisk compression";
|
||||
fi;
|
||||
}
|
||||
export -f compressRamdisks;
|
||||
|
||||
enhanceLocation() {
|
||||
cd $base$1;
|
||||
#Enable GLONASS
|
||||
|
@ -57,6 +57,9 @@ echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/a
|
||||
#top dir
|
||||
cp -r $patches"Fennec_DOS-Shim" $base"packages/apps/"; #Add a shim to install Fennec DOS without actually including the large APK
|
||||
|
||||
#enterAndClear "bootable/recovery"
|
||||
#optipng -strip all res*/images/*.png;
|
||||
|
||||
enterAndClear "build/make"
|
||||
#patch -p1 < $patches"android_build/0001-Automated_Build_Signing.patch" #Automated build signing. Disclaimer: From CopperheadOS 13.0 #TODO: Rebase
|
||||
sed -i 's/messaging/Silence/' target/product/*.mk; #Replace AOSP Messaging app with Silence
|
||||
|
Loading…
Reference in New Issue
Block a user