mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-04 23:45:07 -04:00
15.1: drop support for all devices compiling on 16.0 or 17.1
This commit is contained in:
parent
aa3d0aeac5
commit
70b1007dec
4 changed files with 20 additions and 105 deletions
|
@ -18,7 +18,7 @@
|
|||
#Last verified: 2018-04-27
|
||||
|
||||
patchAllKernels() {
|
||||
startPatcher "kernel_asus_fugu kernel_asus_msm8916 kernel_cyanogen_msm8916 kernel_cyanogen_msm8974 kernel_google_dragon kernel_google_marlin kernel_google_msm kernel_google_yellowstone kernel_htc_flounder kernel_htc_msm8994 kernel_huawei_angler kernel_lge_bullhead kernel_lge_hammerhead kernel_lge_msm8974 kernel_lge_msm8996 kernel_moto_shamu kernel_motorola_msm8974 kernel_motorola_msm8996 kernel_nextbit_msm8992 kernel_oneplus_msm8994 kernel_oneplus_msm8996 kernel_oneplus_msm8998 kernel_oneplus_sdm845 kernel_samsung_smdk4412 kernel_samsung_universal9810 kernel_xiaomi_sdm845 kernel_zte_msm8996";
|
||||
startPatcher "kernel_asus_fugu kernel_asus_msm8916 kernel_google_dragon kernel_google_msm kernel_htc_flounder kernel_htc_msm8994 kernel_huawei_angler kernel_lge_bullhead kernel_lge_hammerhead kernel_lge_msm8996 kernel_moto_shamu kernel_nextbit_msm8992 kernel_oneplus_msm8994 kernel_samsung_smdk4412 kernel_zte_msm8996";
|
||||
}
|
||||
export -f patchAllKernels;
|
||||
|
||||
|
@ -59,41 +59,30 @@ buildAll() {
|
|||
cd "$DOS_BUILD_BASE";
|
||||
if [ "$DOS_MALWARE_SCAN_ENABLED" = true ]; then scanWorkspaceForMalware; fi;
|
||||
if [ "$DOS_OPTIMIZE_IMAGES" = true ]; then optimizeImagesRecursive "$DOS_BUILD_BASE"; fi;
|
||||
buildDevice bullhead verity;
|
||||
#buildDevice himaul; #broken - needs vendor bits
|
||||
#SD801
|
||||
buildDevice hammerhead; #16.0 has bluetooth issues?
|
||||
#SD805
|
||||
buildDevice shamu verity; #Last version with working IMS
|
||||
#SD808
|
||||
buildDevice angler verity;
|
||||
buildDevice bullhead verity;
|
||||
buildDevice ether; #Last version with working IMS
|
||||
#SD810
|
||||
buildDevice himaul; #broken - needs vendor bits
|
||||
buildDevice oneplus2; #Last version with working IMS + broken - needs vendor patching
|
||||
#SD615
|
||||
buildDevice Z00T; #broken - needs vendor patching
|
||||
#SD820
|
||||
buildDevice axon7; #broken - needs vendor patching
|
||||
buildDevice h870;
|
||||
buildDevice us997;
|
||||
#Exynos
|
||||
buildDeviceUserDebug i9100;
|
||||
#Intel
|
||||
buildDevice fugu;
|
||||
#Tegra
|
||||
buildDevice flounder verity;
|
||||
buildDevice dragon verity;
|
||||
|
||||
#The following are all superseded, and should only be enabled if the newer version is broken (not building/booting/etc.)
|
||||
buildDevice hammerhead; #16.0 has bluetooth issues?
|
||||
buildDevice shamu verity; #Last version with working IMS
|
||||
buildDevice oneplus2; #Last version with working IMS + broken - needs vendor patching
|
||||
buildDevice ether; #Last version with working IMS
|
||||
buildDevice fugu;
|
||||
if [ "$DOS_BUILDALL_SUPERSEDED" = true ]; then
|
||||
buildDevice crackling;
|
||||
buildDevice d802;
|
||||
buildDevice ham;
|
||||
buildDevice victara;
|
||||
buildDevice kipper;
|
||||
buildDevice oneplus3;
|
||||
buildDevice h990;
|
||||
buildDevice us996;
|
||||
buildDevice h850; #broken
|
||||
buildDevice rs988;
|
||||
buildDevice griffin;
|
||||
buildDevice beryllium;
|
||||
buildDevice enchilada avb;
|
||||
buildDeviceUserDebug i9100;
|
||||
buildDevice starlte; #broken - device/samsung/universal9810-common/audio: MODULE.TARGET.SHARED_LIBRARIES.libshim_audio_32 already defined by device/samsung/star-common/audio
|
||||
buildDevice star2lte;
|
||||
buildDevice yellowstone;
|
||||
fi;
|
||||
}
|
||||
export -f buildAll;
|
||||
|
||||
|
|
|
@ -241,9 +241,6 @@ sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.t
|
|||
enterAndClear "device/moto/shamu";
|
||||
#git revert --no-edit 05fb49518049440f90423341ff25d4f75f10bc0c; #restore releasetools #TODO
|
||||
|
||||
enterAndClear "device/oneplus/msm8998-common";
|
||||
patch -p1 < "$DOS_PATCHES_COMMON/android_device_audio/0001-No_Vorbis_Offload.patch"; #Fix Ogg Vorbis playback
|
||||
|
||||
#Make changes to all devices
|
||||
cd "$DOS_BUILD_BASE";
|
||||
if [ "$DOS_LOWRAM_ENABLED" = true ]; then find "device" -maxdepth 2 -mindepth 2 -type d -print0 | xargs -0 -n 1 -P 8 -I {} bash -c 'enableLowRam "{}"'; fi;
|
||||
|
@ -262,11 +259,7 @@ removeBuildFingerprints;
|
|||
|
||||
#Fix broken options enabled by hardenDefconfig()
|
||||
sed -i "s/CONFIG_DEBUG_RODATA=y/# CONFIG_DEBUG_RODATA is not set/" kernel/google/msm/arch/arm/configs/lineageos_*_defconfig; #Breaks on compile
|
||||
sed -i "s/CONFIG_DEBUG_RODATA=y/# CONFIG_DEBUG_RODATA is not set/" kernel/google/yellowstone/arch/arm*/configs/*_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_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_RANDOMIZE_BASE=y/# CONFIG_RANDOMIZE_BASE is not set/" kernel/samsung/universal9810/arch/arm64/configs/*_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
|
||||
|
||||
sed -i 's/YYLTYPE yylloc;/extern YYLTYPE yylloc;/' kernel/*/*/scripts/dtc/dtc-lexer.l*; #Fix builds with GCC 10
|
||||
|
|
|
@ -72,7 +72,7 @@ buildAll() {
|
|||
buildDevice dumpling verity;
|
||||
#SD845
|
||||
buildDevice beryllium;
|
||||
#Samsung
|
||||
#Exynos
|
||||
buildDeviceUserDebug i9100; #broken - many errors in hardware/samsung/exynos4
|
||||
#Intel
|
||||
buildDevice fugu; #broken - ninja: error: 'libpcre2.so' missing and no known rule to make it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue