mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-08-02 03:16:21 -04:00
More device additions
18.1: - serranodsdd - jactivelte, jfvelte - jasmine_sprout, platina, twolip, wayne, whyred Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
30ac119aa5
commit
2856ebd8c2
10 changed files with 70 additions and 33 deletions
|
@ -58,11 +58,14 @@ buildAll() {
|
|||
#SD400
|
||||
buildDevice serrano3gxx; #unb
|
||||
buildDevice serranoltexx; #unb
|
||||
buildDevice serranodsdd; #unb
|
||||
#SD600
|
||||
buildDevice jfltexx; #TODO: jactivelte, jfvelte
|
||||
buildDevice jactivelte;
|
||||
buildDevice jfltexx;
|
||||
buildDevice jflteatt;
|
||||
buildDevice jfltespr;
|
||||
buildDevice jfltevzw;
|
||||
buildDevice jfvelte;
|
||||
#SD800
|
||||
buildDevice d800;
|
||||
buildDevice d801;
|
||||
|
@ -78,8 +81,8 @@ buildAll() {
|
|||
buildDevice ls990;
|
||||
buildDevice vs985;
|
||||
buildDevice FP2;
|
||||
buildDevice klte; #TODO: klteaio, kltechn, kltechnduo, klteduos, kltedv, kltekdi, kltekor
|
||||
buildDevice hlte; #TODO: hltechn, hltekor, hltetmo
|
||||
buildDevice klte;
|
||||
buildDevice hlte;
|
||||
buildDevice m8; #unb
|
||||
buildDevice m8d; #unb
|
||||
buildDevice victara;
|
||||
|
@ -104,6 +107,11 @@ buildAll() {
|
|||
buildDevice marlin verity;
|
||||
buildDevice sailfish verity;
|
||||
buildDevice lavender avb;
|
||||
buildDevice jasmine_sprout avb;
|
||||
buildDevice platina avb;
|
||||
buildDevice twolip avb;
|
||||
buildDevice wayne avb;
|
||||
buildDevice whyred avb;
|
||||
}
|
||||
export -f buildAll;
|
||||
|
||||
|
@ -115,11 +123,10 @@ patchWorkspaceReal() {
|
|||
verifyAllPlatformTags;
|
||||
gpgVerifyGitHead "$DOS_BUILD_BASE/external/chromium-webview";
|
||||
|
||||
source build/envsetup.sh;
|
||||
#source build/envsetup.sh;
|
||||
#repopick -it eleven-firewall;
|
||||
#repopick -i 314453; #TaskViewTouchController: Null check current animation on drag
|
||||
#repopick -i 325011; #lineage: Opt-in to shipping full recovery image by default
|
||||
repopick -it R_asb_2023-05;
|
||||
|
||||
sh "$DOS_SCRIPTS/Patch.sh";
|
||||
sh "$DOS_SCRIPTS_COMMON/Enable_Verity.sh";
|
||||
|
@ -145,7 +152,7 @@ enableDexPreOpt() {
|
|||
echo "WITH_DEXPREOPT := true" >> BoardConfig.mk;
|
||||
echo "WITH_DEXPREOPT_DEBUG_INFO := false" >> BoardConfig.mk;
|
||||
#m8*, jflte*: /system partition too small
|
||||
if [ "$1" != "device/htc/m8" ] && [ "$1" != "device/htc/m8d" ] && [ "$1" != "device/samsung/jfltexx" ] && [ "$1" != "device/samsung/jflteatt" ] && [ "$1" != "device/samsung/jfltespr" ] && [ "$1" != "device/samsung/jfltevzw" ]; then
|
||||
if [ "$1" != "device/htc/m8" ] && [ "$1" != "device/htc/m8d" ] && [ "$1" != "device/samsung/jactivelte" ] && [ "$1" != "device/samsung/jfltexx" ] && [ "$1" != "device/samsung/jflteatt" ] && [ "$1" != "device/samsung/jfltespr" ] && [ "$1" != "device/samsung/jfltevzw" ] && [ "$1" != "device/samsung/jfvelte" ]; then
|
||||
echo "WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := false" >> BoardConfig.mk;
|
||||
echo "Enabled full dexpreopt for $1";
|
||||
else
|
||||
|
|
|
@ -516,6 +516,10 @@ sed -i 's/libinit_msm8974/libinit_msm8974-oppo/' BoardConfigCommon.mk init/Andro
|
|||
sed -i "s/TZ.BF.2.0-2.0.0134/TZ.BF.2.0-2.0.0134|TZ.BF.2.0-2.0.0137/" board-info.txt; #Suport new TZ firmware https://review.lineageos.org/#/c/178999/
|
||||
fi;
|
||||
|
||||
if enterAndClear "device/samsung/jactivelte"; then
|
||||
smallerSystem;
|
||||
fi;
|
||||
|
||||
if enterAndClear "device/samsung/jfltexx"; then
|
||||
smallerSystem;
|
||||
fi;
|
||||
|
@ -532,6 +536,10 @@ if enterAndClear "device/samsung/jfltevzw"; then
|
|||
smallerSystem;
|
||||
fi;
|
||||
|
||||
if enterAndClear "device/samsung/jfvelte"; then
|
||||
smallerSystem;
|
||||
fi;
|
||||
|
||||
if enterAndClear "device/samsung/msm8974-common"; then
|
||||
echo "TARGET_RECOVERY_DENSITY := hdpi" >> BoardConfigCommon.mk;
|
||||
echo "allow hal_gnss_default ssr_device:chr_file { open read };" >> sepolicy/common/hal_gnss_default.te;
|
||||
|
@ -573,6 +581,7 @@ enableLowRam "device/samsung/msm8930-common" "msm8930-common";
|
|||
enableLowRam "device/samsung/serrano3gxx" "serrano3gxx";
|
||||
enableLowRam "device/samsung/serrano-common" "serrano-common";
|
||||
enableLowRam "device/samsung/serranoltexx" "serranoltexx";
|
||||
enableLowRam "device/samsung/serranodsdd" "serranodsdd";
|
||||
#Tweaks for <3GB RAM devices
|
||||
enableLowRam "device/asus/flox" "flox";
|
||||
enableLowRam "device/fairphone/FP2" "FP2";
|
||||
|
@ -588,10 +597,12 @@ enableLowRam "device/lge/g2-common" "g2-common";
|
|||
enableLowRam "device/lge/mako" "mako";
|
||||
enableLowRam "device/motorola/victara" "victara";
|
||||
enableLowRam "device/samsung/jf-common" "jf-common";
|
||||
enableLowRam "device/samsung/jactivelte" "jactivelte";
|
||||
enableLowRam "device/samsung/jflteatt" "jflteatt";
|
||||
enableLowRam "device/samsung/jfltespr" "jfltespr";
|
||||
enableLowRam "device/samsung/jfltevzw" "jfltevzw";
|
||||
enableLowRam "device/samsung/jfltexx" "jfltexx";
|
||||
enableLowRam "device/samsung/jfvelte" "jfvelte";
|
||||
enableLowRam "device/samsung/klte-common" "klte-common";
|
||||
enableLowRam "device/samsung/klte" "klte";
|
||||
enableLowRam "device/samsung/hlte-common" "hlte-common";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue