mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-01-11 23:49:34 -05:00
16.0: drop support for all devices tested working on 17.1
This commit is contained in:
parent
caeb3d5199
commit
d87ae7d12c
@ -101,14 +101,6 @@
|
||||
<project path="device/asus/zenfone3" name="LineageOS/android_device_asus_zenfone3" remote="github" />
|
||||
<project path="kernel/asus/msm8953" name="LineageOS/android_kernel_asus_msm8953" remote="github" />
|
||||
|
||||
<!-- Essential PH-1 (mata) -->
|
||||
<project path="device/essential/mata" name="LineageOS/android_device_essential_mata" remote="github" />
|
||||
<project path="kernel/essential/msm8998" name="LineageOS/android_kernel_essential_msm8998" remote="github" />
|
||||
|
||||
<!-- Fairphone 2 (FP2) -->
|
||||
<project path="device/fairphone/FP2" name="LineageOS/android_device_fairphone_FP2" remote="github" />
|
||||
<project path="kernel/fairphone/msm8974" name="LineageOS/android_kernel_fairphone_msm8974" remote="github" />
|
||||
|
||||
<!-- Fairphone 3 (FP3) -->
|
||||
<project path="device/fairphone/FP3" name="LineageOS/android_device_fairphone_FP3" remote="github" />
|
||||
<project path="kernel/fairphone/sdm632" name="LineageOS/android_kernel_fairphone_sdm632" remote="github" />
|
||||
@ -122,18 +114,6 @@
|
||||
<project path="kernel/google/yellowstone" name="LineageOS/android_kernel_google_yellowstone" remote="github" />
|
||||
<project path="hardware/nvidia/libstagefrighthw" name="LineageOS/android_hardware_nvidia_libstagefrighthw" remote="github" />
|
||||
|
||||
<!-- Google Pixel (marlin/sailfish) -->
|
||||
<project path="device/google/marlin" name="LineageOS/android_device_google_marlin" remote="github" />
|
||||
<project path="device/google/sailfish" name="LineageOS/android_device_google_sailfish" remote="github" />
|
||||
<project path="kernel/google/marlin" name="LineageOS/android_kernel_google_marlin" remote="github" />
|
||||
|
||||
<!-- Google Pixel 2 (taimen/walleye) -->
|
||||
<project path="device/google/taimen" name="LineageOS/android_device_google_taimen" remote="github" />
|
||||
<project path="device/google/muskie" name="LineageOS/android_device_google_muskie" remote="github" />
|
||||
<project path="device/google/walleye" name="LineageOS/android_device_google_walleye" remote="github" />
|
||||
<project path="device/google/wahoo" name="LineageOS/android_device_google_wahoo" remote="github" />
|
||||
<project path="kernel/google/wahoo" name="LineageOS/android_kernel_google_wahoo" remote="github" />
|
||||
|
||||
<!-- Google Pixel 3 (crosshatch/blueline) -->
|
||||
<project path="device/google/crosshatch" name="LineageOS/android_device_google_crosshatch" remote="github" />
|
||||
<project path="device/google/blueline" name="LineageOS/android_device_google_blueline" remote="github" />
|
||||
@ -144,23 +124,11 @@
|
||||
<project path="device/google/sargo" name="LineageOS/android_device_google_sargo" remote="github" />
|
||||
<project path="kernel/google/bonito" name="LineageOS/android_kernel_google_bonito" remote="github" />
|
||||
|
||||
<!-- HTC One (m8) -->
|
||||
<project path="device/htc/m8" name="LineageOS/android_device_htc_m8" remote="github" />
|
||||
<project path="device/htc/m8-common" name="LineageOS/android_device_htc_m8-common" remote="github" />
|
||||
<project path="device/htc/msm8974-common" name="LineageOS/android_device_htc_msm8974-common" remote="github" />
|
||||
<project path="kernel/htc/msm8974" name="LineageOS/android_kernel_htc_msm8974" remote="github" />
|
||||
|
||||
<!-- LG G2 (d802) -->
|
||||
<project path="device/lge/g2-common" name="LineageOS/android_device_lge_g2-common" remote="github" />
|
||||
<project path="device/lge/d802" name="LineageOS/android_device_lge_d802" remote="github" />
|
||||
<project path="kernel/lge/msm8974" name="LineageOS/android_kernel_lge_msm8974" remote="github" />
|
||||
|
||||
<!-- LG G3 (d855) -->
|
||||
<project path="device/lge/g3-common" name="LineageOS/android_device_lge_g3-common" remote="github" />
|
||||
<project path="device/lge/d852" name="LineageOS/android_device_lge_d852" remote="github" />
|
||||
<project path="device/lge/d855" name="LineageOS/android_device_lge_d855" remote="github" />
|
||||
<project path="kernel/lge/g3" name="LineageOS/android_kernel_lge_g3" remote="github" />
|
||||
|
||||
<!-- Moto X 2014 (victara) -->
|
||||
<project path="device/motorola/victara" name="LineageOS/android_device_motorola_victara" remote="github" />
|
||||
<project path="kernel/motorola/msm8974" name="LineageOS/android_kernel_motorola_msm8974" remote="github" />
|
||||
@ -173,31 +141,14 @@
|
||||
<project path="device/nextbit/ether" name="LineageOS/android_device_nextbit_ether" remote="github" />
|
||||
<project path="kernel/nextbit/msm8992" name="LineageOS/android_kernel_nextbit_msm8992" remote="github" />
|
||||
|
||||
<!-- Nexus 7 [2013] (flo) -->
|
||||
<project path="device/asus/flo" name="LineageOS/android_device_asus_flo" remote="github" />
|
||||
|
||||
<!-- Nexus 4 (mako) -->
|
||||
<project path="device/lge/mako" name="voron00/android_device_lge_mako" remote="github" />
|
||||
<project path="kernel/lge/mako" name="voron00/android_kernel_lge_mako" remote="github" />
|
||||
|
||||
<!-- Nexus 5 (hammerhead) -->
|
||||
<project path="device/lge/hammerhead" name="LineageOS/android_device_lge_hammerhead" remote="github" />
|
||||
<project path="kernel/lge/hammerhead" name="LineageOS/android_kernel_lge_hammerhead" remote="github" />
|
||||
|
||||
<!-- Nexus 6 (shamu) -->
|
||||
<project path="device/moto/shamu" name="LineageOS/android_device_moto_shamu" remote="github" />
|
||||
<project path="kernel/moto/shamu" name="LineageOS/android_kernel_moto_shamu" remote="github" />
|
||||
|
||||
<!-- Nexus Player (fugu) -->
|
||||
<project path="device/asus/fugu" name="LineageOS/android_device_asus_fugu" remote="github" />
|
||||
<project path="kernel/asus/fugu" name="LineageOS/android_kernel_asus_fugu" remote="github" />
|
||||
|
||||
<!-- OnePlus One (bacon) -->
|
||||
<project path="device/oppo/common" name="LineageOS/android_device_oppo_common" remote="github" />
|
||||
<project path="device/oneplus/bacon" name="LineageOS/android_device_oneplus_bacon" remote="github" />
|
||||
<project path="device/oppo/msm8974-common" name="LineageOS/android_device_oppo_msm8974-common" remote="github" />
|
||||
<project path="kernel/oppo/msm8974" name="LineageOS/android_kernel_oppo_msm8974" remote="github" />
|
||||
|
||||
<!-- OnePlus 2 (oneplus2) -->
|
||||
<project path="device/oneplus/oneplus2" name="LineageOS/android_device_oneplus_oneplus2" remote="github" />
|
||||
<project path="kernel/oneplus/msm8994" name="LineageOS/android_kernel_oneplus_msm8994" remote="github" />
|
||||
@ -241,17 +192,6 @@
|
||||
<project path="device/samsung/i9100" name="LineageOS/android_device_samsung_i9100" remote="github" />
|
||||
<project path="device/samsung/galaxys2-common" name="LineageOS/android_device_samsung_galaxys2-common" remote="github" />
|
||||
|
||||
<!-- Samsung Galaxy S4 (jfltexx) -->
|
||||
<project path="device/samsung/jfltexx" name="LineageOS/android_device_samsung_jfltexx" remote="github" />
|
||||
<project path="device/samsung/jf-common" name="LineageOS/android_device_samsung_jf-common" remote="github" />
|
||||
<project path="kernel/samsung/jf" name="LineageOS/android_kernel_samsung_jf" remote="github" />
|
||||
|
||||
<!-- Samsung Galaxy S5 (klte) -->
|
||||
<project path="device/samsung/klte" name="LineageOS/android_device_samsung_klte" remote="github" />
|
||||
<project path="device/samsung/klte-common" name="LineageOS/android_device_samsung_klte-common" remote="github" />
|
||||
<project path="device/samsung/msm8974-common" name="LineageOS/android_device_samsung_msm8974-common" remote="github" />
|
||||
<project path="kernel/samsung/msm8974" name="LineageOS/android_kernel_samsung_msm8974" remote="github" />
|
||||
|
||||
<!-- Wileyfox Storm (kipper) -->
|
||||
<project path="device/wileyfox/kipper" name="LineageOS/android_device_wileyfox_kipper" remote="github" />
|
||||
<project path="device/cyanogen/msm8916-common" name="LineageOS/android_device_cyanogen_msm8916-common" remote="github" />
|
||||
|
@ -18,7 +18,7 @@
|
||||
#Last verified: 2018-04-27
|
||||
|
||||
patchAllKernels() {
|
||||
startPatcher "kernel_asus_fugu kernel_asus_msm8953 kernel_cyanogen_msm8916 kernel_cyanogen_msm8974 kernel_essential_msm8998 kernel_fairphone_msm8974 kernel_fairphone_sdm632 kernel_fxtec_msm8998 kernel_google_bonito kernel_google_crosshatch kernel_google_marlin kernel_google_msm kernel_google_wahoo kernel_google_yellowstone kernel_htc_msm8974 kernel_lge_g3 kernel_lge_hammerhead kernel_lge_mako kernel_lge_msm8974 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_oneplus_sm8150 kernel_oppo_msm8974 kernel_razer_msm8998 kernel_samsung_jf kernel_samsung_msm8974 kernel_samsung_smdk4412 kernel_xiaomi_sdm845 kernel_yandex_sdm660 kernel_zuk_msm8996";
|
||||
startPatcher "kernel_asus_fugu kernel_asus_msm8953 kernel_cyanogen_msm8916 kernel_cyanogen_msm8974 kernel_fairphone_sdm632 kernel_fxtec_msm8998 kernel_google_bonito kernel_google_crosshatch kernel_google_msm kernel_google_wahoo kernel_google_yellowstone kernel_lge_hammerhead kernel_lge_msm8974 kernel_motorola_msm8974 kernel_motorola_msm8996 kernel_nextbit_msm8992 kernel_oneplus_msm8994 kernel_oneplus_msm8996 kernel_oneplus_msm8998 kernel_oneplus_sdm845 kernel_oneplus_sm8150 kernel_razer_msm8998 kernel_samsung_smdk4412 kernel_xiaomi_sdm845 kernel_yandex_sdm660 kernel_zuk_msm8996";
|
||||
}
|
||||
export -f patchAllKernels;
|
||||
|
||||
@ -59,8 +59,6 @@ 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;
|
||||
#SDS4P
|
||||
#buildDevice flo; #broken encryption
|
||||
#SD800
|
||||
buildDevice hammerhead; #broken sepolicy?
|
||||
#SD801
|
||||
@ -74,7 +72,6 @@ buildAll() {
|
||||
#Intel
|
||||
buildDevice fugu; #broken - ninja: error: 'libpcre2.so' missing and no known rule to make it
|
||||
|
||||
buildDevice mako; #Last version without repartitioning required
|
||||
buildDevice cheeseburger verity; #needs manual patching - vendor common makefile #17.1 isn't booting
|
||||
buildDevice dumpling verity;
|
||||
buildDevice yellowstone; #broken sepolicy?
|
||||
@ -86,15 +83,7 @@ buildAll() {
|
||||
#SD800
|
||||
buildDevice d802;
|
||||
#SD801
|
||||
buildDevice bacon;
|
||||
buildDevice d852;
|
||||
buildDevice d855;
|
||||
buildDevice FP2;
|
||||
buildDevice klte;
|
||||
buildDevice m8;
|
||||
buildDevice victara;
|
||||
#SD805
|
||||
buildDevice shamu verity;
|
||||
#SD808
|
||||
buildDevice ether;
|
||||
#SD810
|
||||
@ -103,16 +92,10 @@ buildAll() {
|
||||
buildDevice oneplus3 verity;
|
||||
buildDevice griffin;
|
||||
buildDevice z2_plus verity;
|
||||
#SD821
|
||||
buildDevice marlin verity;
|
||||
buildDevice sailfish verity;
|
||||
#SD632
|
||||
buildDevice FP3 avb;
|
||||
#SD835
|
||||
buildDevice cheryl verity;
|
||||
buildDevice mata verity;
|
||||
buildDevice taimen avb;
|
||||
buildDevice walleye avb;
|
||||
#SD845
|
||||
buildDevice beryllium;
|
||||
buildDevice crosshatch avb;
|
||||
|
@ -231,10 +231,6 @@ echo "PRODUCT_PACKAGES += vendor.lineage.trust@1.0-service" >> packages.mk; #All
|
||||
#
|
||||
#START OF DEVICE CHANGES
|
||||
#
|
||||
enterAndClear "device/asus/flo";
|
||||
compressRamdisks;
|
||||
echo "/dev/block/platform/msm_sdcc\.1/by-name/misc u:object_r:misc_block_device:s0" >> sepolicy/file_contexts;
|
||||
|
||||
enterAndClear "device/asus/zenfone3";
|
||||
rm -rf libhidl; #breaks other devices
|
||||
|
||||
@ -250,42 +246,17 @@ enableVerity; #Resurrect dm-verity
|
||||
enterAndClear "device/google/crosshatch";
|
||||
enableVerity; #Resurrect dm-verity
|
||||
|
||||
enterAndClear "device/google/marlin";
|
||||
git revert --no-edit eeb92c0f094f58b1bdfbaa775d239948f81e915b 8c729e4b016a5b35159992413a22c289ecf2c44c; #remove some carrier blobs
|
||||
patch -p1 < "$DOS_PATCHES/android_device_google_marlin/0001-Fix_MediaProvider_Deadlock.patch"; #Fix MediaProvider using 100% CPU (due to broken ppoll on functionfs?)
|
||||
|
||||
enterAndClear "device/google/wahoo";
|
||||
patch -p1 < "$DOS_PATCHES/android_device_google_wahoo/232948.patch"; #liblight: close fd
|
||||
|
||||
enterAndClear "device/lge/g2-common";
|
||||
sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.te;
|
||||
|
||||
enterAndClear "device/lge/g3-common";
|
||||
patch -p1 < "$DOS_PATCHES/android_device_lge_g3-common/254249.patch"; #g3-common: Add NFC HAL to proprietary-files
|
||||
sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.te;
|
||||
sed -i '1itypeattribute wcnss_service misc_block_device_exception;' sepolicy/wcnss_service.te;
|
||||
|
||||
enterAndClear "device/lge/d852";
|
||||
git revert --no-edit dbebbce20b2b303fe13f7078ef54154f9dd5d9e2; #fix nfc path
|
||||
|
||||
enterAndClear "device/lge/d855";
|
||||
git revert --no-edit 9a5739e66d0a44347881807c0cc44d7c318c02b8; #fix nfc path
|
||||
|
||||
enterAndClear "device/lge/hammerhead";
|
||||
git am $DOS_PATCHES/android_device_lge_hammerhead/*.patch; #hh-p-sepolicy
|
||||
rm -rf bdAddrLoader; #duplicate with mako
|
||||
echo "SELINUX_IGNORE_NEVERALLOWS := true" >> BoardConfig.mk; #qcom-legacy sepolicy
|
||||
|
||||
enterAndClear "device/lge/mako";
|
||||
#git revert ; #restore releasetools #TODO
|
||||
smallerSystem;
|
||||
sed -i 's/1333788672/880803840/' BoardConfig.mk; #don't touch partitions! DOS -user fits with 40M free
|
||||
awk -i inplace '!/TARGET_RELEASETOOLS_EXTENSIONS/' BoardConfig.mk;
|
||||
echo "pmf=0" >> wifi/wpa_supplicant_overlay.conf; #Wi-Fi chipset doesn't support PMF
|
||||
|
||||
#enterAndClear "device/moto/shamu";
|
||||
#git revert --no-edit 05fb49518049440f90423341ff25d4f75f10bc0c; #restore releasetools #TODO
|
||||
|
||||
enterAndClear "device/oneplus/oneplus2";
|
||||
sed -i 's|etc/permissions/qti_libpermissions.xml|vendor/etc/permissions/qti_libpermissions.xml|' proprietary-files.txt;
|
||||
|
||||
@ -296,18 +267,9 @@ awk -i inplace '!/TARGET_RELEASETOOLS_EXTENSIONS/' BoardConfigCommon.mk; #disabl
|
||||
enterAndClear "device/oneplus/sm8150-common";
|
||||
enableVerity; #Resurrect dm-verity
|
||||
|
||||
enterAndClear "device/oppo/common";
|
||||
awk -i inplace '!/TARGET_RELEASETOOLS_EXTENSIONS/' BoardConfigCommon.mk; #disable releasetools to fix delta ota generation
|
||||
|
||||
enterAndClear "device/oppo/msm8974-common";
|
||||
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/
|
||||
|
||||
enterAndClear "device/zuk/msm8996-common";
|
||||
awk -i inplace '!/WfdCommon/' msm8996.mk; #fix breakage
|
||||
|
||||
enterAndClear "kernel/google/marlin";
|
||||
git revert --no-edit 568f99db3c9a590912f533fa734c46cf7a25dcbd; #Resurrect dm-verity
|
||||
|
||||
enterAndClear "kernel/google/wahoo";
|
||||
sed -i 's/asm(SET_PSTATE_UAO(1));/asm(SET_PSTATE_UAO(1)); return 0;/' arch/arm64/mm/fault.c; #fix build with CONFIG_ARM64_UAO
|
||||
|
||||
@ -330,7 +292,6 @@ removeBuildFingerprints;
|
||||
sed -i "s/CONFIG_STRICT_MEMORY_RWX=y/# CONFIG_STRICT_MEMORY_RWX is not set/" kernel/asus/msm8953/arch/arm64/configs/*_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
|
||||
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_DEBUG_RODATA=y/# CONFIG_DEBUG_RODATA is not set/" kernel/lge/mako/arch/arm/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_STRICT_MEMORY_RWX=y/# CONFIG_STRICT_MEMORY_RWX is not set/" kernel/oneplus/msm8996/arch/arm64/configs/lineageos_*_defconfig; #Breaks on compile
|
||||
|
Loading…
Reference in New Issue
Block a user