Misc fixes

This commit is contained in:
Tad 2018-02-28 16:33:29 -05:00
parent 3ba218ec62
commit 601c03df01
3 changed files with 14 additions and 1 deletions

View File

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

View File

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

View File

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