This commit is contained in:
Tad 2018-06-08 14:15:50 -04:00
parent dc9ec2d8f3
commit 4912609425
4 changed files with 5 additions and 3 deletions

View File

@ -16,4 +16,3 @@ init.device.rc
on early-boot
# Update dm-verity state and set partition.*.verified properties
verity_update_state

View File

@ -210,6 +210,7 @@ hardenDefconfig() {
done
#Extras
sed -i 's/CONFIG_ARCH_MMAP_RND_BITS=8/CONFIG_ARCH_MMAP_RND_BITS=16/' $defconfigPath &>/dev/null || true;
sed -i 's/CONFIG_ARCH_MMAP_RND_BITS=18/CONFIG_ARCH_MMAP_RND_BITS=24/' $defconfigPath &>/dev/null || true;
sed -i 's/CONFIG_DEFAULT_MMAP_MIN_ADDR=4096/CONFIG_DEFAULT_MMAP_MIN_ADDR=32768/' $defconfigPath &>/dev/null || true;
sed -i 's/CONFIG_LSM_MMAP_MIN_ADDR=4096/CONFIG_DEFAULT_MMAP_MIN_ADDR=32768/' $defconfigPath &>/dev/null || true;

View File

@ -71,7 +71,8 @@ export -f buildAll;
patchWorkspace() {
if [ "$MALWARE_SCAN_ENABLED" = true ]; then scanForMalware false "$prebuiltApps $base/build $base/device $base/vendor/cm"; fi;
#source build/envsetup.sh;
source build/envsetup.sh;
repopick -t n_asb_06-2018;
source $scripts/Patch.sh;
source $scripts/Defaults.sh;

View File

@ -214,7 +214,8 @@ sed -i 's/shouldUseOptimizations(weight)/true/' cm/lib/main/java/org/cyanogenmod
#
#START OF DEVICE CHANGES
#
#enterAndClear "device/amazon/hdx-common";
enterAndClear "device/amazon/hdx-common";
sed -i 's/,encryptable=footer//' rootdir/etc/fstab.qcom; #Using footer will break the bootloader, it might work with /misc enabled
#XXX: If not used with a supported recovery, it'll be thrown into a bootloop, don't worry just 'fastboot erase misc' and reboot
#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