mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-06-19 12:04:20 -04:00
14.1: drop support for all devices compiling on 15.1 or 16.0 or 17.1
This commit is contained in:
parent
70b1007dec
commit
10b157418d
4 changed files with 18 additions and 102 deletions
|
@ -18,7 +18,7 @@
|
|||
#Last verified: 2018-04-27
|
||||
|
||||
patchAllKernels() {
|
||||
startPatcher "kernel_amazon_hdx-common kernel_asus_fugu kernel_asus_grouper kernel_asus_msm8916 kernel_cyanogen_msm8916 kernel_cyanogen_msm8974 kernel_google_dragon kernel_google_msm kernel_htc_msm8994 kernel_lge_msm8974 kernel_lge_msm8992 kernel_lge_msm8996 kernel_motorola_msm8916 kernel_motorola_msm8974 kernel_motorola_msm8992 kernel_motorola_msm8996 kernel_nextbit_msm8992 kernel_oneplus_msm8994 kernel_oneplus_msm8996 kernel_samsung_exynos5420 kernel_samsung_manta kernel_samsung_smdk4412 kernel_samsung_tuna kernel_samsung_universal8890 kernel_zte_msm8996";
|
||||
startPatcher "kernel_amazon_hdx-common kernel_asus_grouper kernel_asus_msm8916 kernel_google_msm kernel_htc_msm8994 kernel_lge_msm8992 kernel_motorola_msm8916 kernel_motorola_msm8992 kernel_samsung_exynos5420 kernel_samsung_manta kernel_samsung_smdk4412 kernel_samsung_tuna kernel_samsung_universal8890 kernel_zte_msm8996";
|
||||
}
|
||||
export -f patchAllKernels;
|
||||
|
||||
|
@ -60,46 +60,34 @@ buildAll() {
|
|||
if [ "$DOS_MALWARE_SCAN_ENABLED" = true ]; then scanWorkspaceForMalware; fi;
|
||||
if [ "$DOS_OPTIMIZE_IMAGES" = true ]; then optimizeImagesRecursive "$DOS_BUILD_BASE"; fi;
|
||||
#Select devices are userdebug due to SELinux policy issues
|
||||
#SD801
|
||||
buildDeviceUserDebug thor; #broken encryption
|
||||
#SD808
|
||||
buildDevice clark; #Last version with working IMS
|
||||
buildDevice h815;
|
||||
#SD410
|
||||
buildDevice osprey;
|
||||
#SD810
|
||||
buildDevice himaul;
|
||||
#SD615
|
||||
buildDevice Z00T;
|
||||
#SD820
|
||||
buildDevice axon7;
|
||||
#Exynos
|
||||
buildDevice manta;
|
||||
buildDevice n7100; #broken sepolicy
|
||||
buildDeviceUserDebug i9100;
|
||||
buildDeviceUserDebug i9300;
|
||||
buildDevice i9305;
|
||||
buildDevice n5110;
|
||||
buildDevice v1awifi;
|
||||
buildDevice herolte;
|
||||
#OMAP
|
||||
buildDevice maguro;
|
||||
buildDevice toro;
|
||||
buildDevice toroplus;
|
||||
#Tegra
|
||||
buildDevice grouper; #needs manual patching - one-repo vendor blob patch
|
||||
|
||||
#The following are all superseded, and should only be enabled if the newer version is broken (not building/booting/etc.)
|
||||
buildDevice osprey;
|
||||
buildDevice himaul;
|
||||
buildDevice Z00T;
|
||||
buildDevice clark; #Last version with working IMS
|
||||
buildDeviceUserDebug i9100;
|
||||
if [ "$DOS_BUILDALL_SUPERSEDED" = true ]; then
|
||||
buildDevice crackling;
|
||||
buildDevice d802;
|
||||
buildDevice ham;
|
||||
buildDevice victara; #needs manual patching - fwb xml: fused: dangling tag
|
||||
buildDevice oneplus2;
|
||||
buildDevice ether;
|
||||
buildDevice kipper;
|
||||
buildDevice axon7;
|
||||
buildDevice oneplus3;
|
||||
buildDevice griffin;
|
||||
buildDevice h850;
|
||||
buildDevice rs988;
|
||||
buildDevice h990;
|
||||
buildDevice us996;
|
||||
buildDevice h870;
|
||||
buildDevice us997;
|
||||
buildDevice dragon verity;
|
||||
buildDevice fugu;
|
||||
fi;
|
||||
}
|
||||
export -f buildAll;
|
||||
|
||||
|
|
|
@ -259,16 +259,9 @@ rm proprietary-blobs.txt;
|
|||
cp "$DOS_PATCHES/android_device_asus_grouper/lineage-proprietary-files.txt" lineage-proprietary-files.txt;
|
||||
echo "allow gpsd system_data_file:dir write;" >> sepolicy/gpsd.te;
|
||||
|
||||
enterAndClear "device/lge/g2-common";
|
||||
sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.te;
|
||||
|
||||
enterAndClear "device/lge/g4-common";
|
||||
sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.te;
|
||||
|
||||
enterAndClear "device/lge/msm8996-common";
|
||||
sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.te;
|
||||
|
||||
|
||||
enterAndClear "device/motorola/clark";
|
||||
sed -i 's/0xA04D/0xA04D|0xA052/' board-info.txt; #Allow installing on Nougat bootloader, assume the user is running the correct modem
|
||||
rm board-info.txt; #Never restrict installation
|
||||
|
@ -319,11 +312,7 @@ removeBuildFingerprints;
|
|||
sed -i "s/# CONFIG_KPROBES is not set/CONFIG_KPROBES=y/" kernel/amazon/hdx-common/arch/arm/configs/*hdx*_defconfig; #Breaks on compile
|
||||
sed -i "s/CONFIG_DEBUG_RODATA=y/# CONFIG_DEBUG_RODATA is not set/" kernel/google/msm/arch/arm/configs/lineageos_*_defconfig; #Breaks on compile
|
||||
awk -i inplace '!/STACKPROTECTOR/' kernel/lge/msm8992/arch/arm64/configs/lineageos_*_defconfig; #Breaks on compile
|
||||
sed -i "s/CONFIG_STRICT_MEMORY_RWX=y/# CONFIG_STRICT_MEMORY_RWX is not set/" kernel/lge/msm8996/arch/arm64/configs/lineageos_*_defconfig; #Breaks on compile
|
||||
sed -i "s/CONFIG_DEBUG_RODATA=y/# CONFIG_DEBUG_RODATA is not set/" kernel/motorola/msm8974/arch/arm/configs/lineageos_*_defconfig; #Breaks on compile
|
||||
sed -i "s/CONFIG_ARM_SMMU=y/# CONFIG_ARM_SMMU is not set/" kernel/motorola/msm8992/arch/arm64/configs/*defconfig; #Breaks on compile
|
||||
sed -i "s/CONFIG_STRICT_MEMORY_RWX=y/# CONFIG_STRICT_MEMORY_RWX is not set/" kernel/motorola/msm8996/arch/arm64/configs/*defconfig; #Breaks on compile
|
||||
sed -i "s/CONFIG_STRICT_MEMORY_RWX=y/# CONFIG_STRICT_MEMORY_RWX is not set/" kernel/oneplus/msm8996/arch/arm64/configs/lineageos_*_defconfig; #Breaks on compile
|
||||
sed -i "s/CONFIG_STRICT_MEMORY_RWX=y/# CONFIG_STRICT_MEMORY_RWX is not set/" kernel/zte/msm8996/arch/arm64/configs/lineageos_*_defconfig; #Breaks on compile
|
||||
#tuna fixes
|
||||
awk -i inplace '!/nfc_enhanced.mk/' device/samsung/toro*/lineage.mk;
|
||||
|
|
|
@ -122,8 +122,8 @@ buildAll() {
|
|||
buildDevice bonito avb;
|
||||
buildDevice sargo avb;
|
||||
#Exynos
|
||||
#buildDevice starlte; #broken vendor partition integration
|
||||
#buildDevice star2lte;
|
||||
buildDevice starlte; #broken vendor partition integration
|
||||
buildDevice star2lte;
|
||||
#Tegra
|
||||
buildDevice yellowstone; #broken
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue