From 627007e18e009ee6da696aff9a7ceb3129da348d Mon Sep 17 00:00:00 2001 From: Tad Date: Tue, 4 Jul 2017 05:03:50 -0400 Subject: [PATCH] zram tweaks --- Scripts/LAOS-14.1_Patches.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Scripts/LAOS-14.1_Patches.sh b/Scripts/LAOS-14.1_Patches.sh index 74d8d642..b2a23dc7 100755 --- a/Scripts/LAOS-14.1_Patches.sh +++ b/Scripts/LAOS-14.1_Patches.sh @@ -54,12 +54,9 @@ enableGlonass() { echo "Enabled GLONASS"; } -addZram() { - echo "#/dev/block/zram0 none swap defaults zramsize=536870912,zramstreams=4,notrim" $1; -} - enableZram() { sed -i 's|#/dev/block/zram0|/dev/block/zram0|' fstab.* rootdir/fstab.* rootdir/etc/fstab.* || true; + echo "Enabled zram"; } # #END OF PREPRATION @@ -204,6 +201,9 @@ patch -p1 < $patches"android_device_lge_mako/0002-Fix_TZ_Path.patch" #Fix setup- #enter "kernel/lge/mako" #patch -p1 < $patches"android_kernel_lge_mako/0001-OverUnderClock.patch" #384Mhz -> 81Mhz, 1.51Ghz -> 1.94Ghz =+1.72Ghz XXX: Causes *excessively* long boot times, thermal throttling? +enter "device/nextbit/ether" +enableZram + enter "kernel/lge/hammerhead" patch -p1 < $patches"android_kernel_lge_hammerhead/0001-OverUnderClock.patch" #2.26Ghz -> 2.95Ghz =+2.76Ghz