Expand the low_ram coverage

As follows
14.1 <3GB
15.1 <3GB
16.0 <3GB
17.1 <3GB
18.1 <4GB
19.1 <6GB
20.0 <6GB

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2023-07-13 18:17:44 -04:00
parent b5bb498248
commit 15de8ed2e8
No known key found for this signature in database
GPG key ID: B286E9F57A07424B
5 changed files with 72 additions and 25 deletions

View file

@ -539,12 +539,19 @@ removeUntrustedCerts || true;
#Tweaks for <2GB RAM devices
enableLowRam "device/asus/fugu";
#Tweaks for <3GB RAM devices
#enableLowRam "device/asus/deb";
#enableLowRam "device/asus/flo";
#enableLowRam "device/htc/flounder";
#enableLowRam "device/htc/flounder_lte";
#enableLowRam "device/lge/bullhead";
#enableLowRam "device/lge/hammerhead";
enableLowRam "device/asus/deb";
enableLowRam "device/asus/flo";
enableLowRam "device/htc/flounder";
enableLowRam "device/htc/flounder_lte";
enableLowRam "device/lge/bullhead";
enableLowRam "device/lge/hammerhead";
#Tweaks for 2GB/3GB RAM devices
#enableLowRam "device/asus/Z00T";
#Tweaks for <4GB RAM devices
#enableLowRam "device/huawei/angler";
#enableLowRam "device/google/dragon";
#enableLowRam "device/moto/shamu";
#enableLowRam "device/nextbit/ether";
#Fix broken options enabled by hardenDefconfig()
[[ -d kernel/google/msm ]] && sed -i "s/CONFIG_DEBUG_RODATA=y/# CONFIG_DEBUG_RODATA is not set/" kernel/google/msm/arch/arm/configs/lineageos_*_defconfig; #Breaks on compile