mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-24 23:19:31 -05:00
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:
parent
b5bb498248
commit
15de8ed2e8
@ -644,23 +644,30 @@ enableLowRam "device/samsung/toro";
|
||||
enableLowRam "device/samsung/toroplus";
|
||||
enableLowRam "device/samsung/tuna";
|
||||
#Tweaks for <3GB RAM devices
|
||||
#enableLowRam "device/amazon/apollo";
|
||||
#enableLowRam "device/amazon/hdx-common";
|
||||
#enableLowRam "device/amazon/thor";
|
||||
#enableLowRam "device/htc/m7";
|
||||
#enableLowRam "device/htc/m7-common";
|
||||
#enableLowRam "device/htc/msm8960-common";
|
||||
#enableLowRam "device/samsung/d2att";
|
||||
#enableLowRam "device/samsung/d2-common";
|
||||
#enableLowRam "device/samsung/d2spr";
|
||||
#enableLowRam "device/samsung/d2tmo";
|
||||
#enableLowRam "device/samsung/d2vzw";
|
||||
#enableLowRam "device/samsung/i9305";
|
||||
#enableLowRam "device/samsung/kona-common";
|
||||
#enableLowRam "device/samsung/msm8960-common";
|
||||
#enableLowRam "device/samsung/n5100";
|
||||
#enableLowRam "device/samsung/n5110";
|
||||
#enableLowRam "device/samsung/n5120";
|
||||
enableLowRam "device/amazon/apollo";
|
||||
enableLowRam "device/amazon/hdx-common";
|
||||
enableLowRam "device/amazon/thor";
|
||||
enableLowRam "device/htc/m7";
|
||||
enableLowRam "device/htc/m7-common";
|
||||
enableLowRam "device/htc/msm8960-common";
|
||||
enableLowRam "device/motorola/clark";
|
||||
enableLowRam "device/samsung/d2att";
|
||||
enableLowRam "device/samsung/d2-common";
|
||||
enableLowRam "device/samsung/d2spr";
|
||||
enableLowRam "device/samsung/d2tmo";
|
||||
enableLowRam "device/samsung/d2vzw";
|
||||
enableLowRam "device/samsung/i9305";
|
||||
enableLowRam "device/samsung/kona-common";
|
||||
enableLowRam "device/samsung/msm8960-common";
|
||||
enableLowRam "device/samsung/n5100";
|
||||
enableLowRam "device/samsung/n5110";
|
||||
enableLowRam "device/samsung/n5120";
|
||||
##Tweaks for <4GB RAM devices
|
||||
#enableLowRam "device/htc/himaul";
|
||||
#enableLowRam "device/htc/himawl";
|
||||
#enableLowRam "device/lge/h811";
|
||||
#enableLowRam "device/lge/h815";
|
||||
#enableLowRam "device/samsung/v1awifi";
|
||||
|
||||
#Fixes
|
||||
#Fix broken options enabled by hardenDefconfig()
|
||||
|
@ -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
|
||||
|
@ -455,8 +455,12 @@ cd "$DOS_BUILD_BASE";
|
||||
#Tweaks for <2GB RAM devices
|
||||
#none yet
|
||||
#Tweaks for <3GB RAM devices
|
||||
#enableLowRam "device/lge/hammerhead" "hammerhead";
|
||||
#enableLowRam "device/samsung/kccat6" "kccat6";
|
||||
enableLowRam "device/lge/hammerhead" "hammerhead";
|
||||
enableLowRam "device/samsung/kccat6" "kccat6";
|
||||
#Tweaks for <4GB RAM devices
|
||||
#enableLowRam "device/samsung/lentislte" "lentislte";
|
||||
#enableLowRam "device/wileyfox/kipper" "kipper";
|
||||
#enableLowRam "device/zuk/ham" "ham";
|
||||
|
||||
#Fix broken options enabled by hardenDefconfig()
|
||||
[[ -d kernel/google/yellowstone ]] && sed -i "s/CONFIG_DEBUG_RODATA=y/# CONFIG_DEBUG_RODATA is not set/" kernel/google/yellowstone/arch/arm*/configs/*_defconfig; #Breaks on compile
|
||||
|
@ -558,7 +558,10 @@ enableLowRam "device/motorola/osprey" "osprey";
|
||||
enableLowRam "device/motorola/surnia" "surnia";
|
||||
#Tweaks for <3GB RAM devices
|
||||
enableLowRam "device/cyanogen/msm8916-common" "msm8916-common";
|
||||
enableLowRam "device/motorola/clark";
|
||||
enableLowRam "device/wileyfox/crackling" "crackling";
|
||||
#Tweaks for 3GB/4GB RAM devices
|
||||
#enableLowRam "device/oneplus/oneplus2" "oneplus2";
|
||||
|
||||
#Fix broken options enabled by hardenDefconfig()
|
||||
#none yet
|
||||
|
@ -610,6 +610,32 @@ enableLowRam "device/samsung/klte" "klte";
|
||||
enableLowRam "device/samsung/hlte-common" "hlte-common";
|
||||
enableLowRam "device/samsung/hlte" "hlte";
|
||||
enableLowRam "device/samsung/msm8974-common" "msm8974-common";
|
||||
#Tweaks for 2GB/3GB RAM devices
|
||||
enableLowRam "device/lge/d850" "d850";
|
||||
enableLowRam "device/lge/d851" "d851";
|
||||
enableLowRam "device/lge/d852" "d852";
|
||||
enableLowRam "device/lge/d855" "d855";
|
||||
#Tweaks for <4GB RAM devices
|
||||
enableLowRam "device/lge/f400" "f400";
|
||||
enableLowRam "device/lge/ls990" "ls990";
|
||||
enableLowRam "device/lge/vs985" "vs985";
|
||||
enableLowRam "device/moto/shamu" "shamu";
|
||||
enableLowRam "device/nextbit/ether" "ether";
|
||||
enableLowRam "device/oneplus/bacon" "bacon";
|
||||
#Tweaks for 3GB/4GB RAM devices
|
||||
#enableLowRam "device/zuk/z2_plus" "z2_plus";
|
||||
#Tweaks for 4GB RAM devices
|
||||
#enableLowRam "device/google/marlin" "marlin";
|
||||
#enableLowRam "device/google/marlin" "sailfish";
|
||||
#enableLowRam "device/motorola/griffin" "griffin";
|
||||
#Tweaks for 3GB/4GB/6GB RAM devices
|
||||
#enableLowRam "device/xiaomi/lavender" "lavender";
|
||||
#enableLowRam "device/xiaomi/twolip" "twolip";
|
||||
#enableLowRam "device/xiaomi/whyred" "whyred";
|
||||
#Tweaks for 4GB/6GB RAM devices
|
||||
#enableLowRam "device/xiaomi/jasmine_sprout" "jasmine_sprout";
|
||||
#enableLowRam "device/xiaomi/platina" "platina";
|
||||
#enableLowRam "device/xiaomi/wayne" "wayne";
|
||||
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user