mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-01-12 07:59:36 -05:00
Small tweaks
- Remove some changes that have been commented for a while - Don't remove the QCOM VR repos - Adjust the default quick tiles - Don't force hardware layers for recents - Only generate deltas for update_engine devices - Cherrypick: Update WebView to 90.0.4430.66 - Adjust yylloc sed line - Add comments to 17.1 devices explaining why they aren't removed for 18.1 yet
This commit is contained in:
parent
b07a8f3058
commit
bdf990a638
@ -21,7 +21,6 @@
|
|||||||
<remove-project name="LineageOS/android_external_rsync" />
|
<remove-project name="LineageOS/android_external_rsync" />
|
||||||
<remove-project name="LineageOS/android_external_unrar" />
|
<remove-project name="LineageOS/android_external_unrar" />
|
||||||
<remove-project name="LineageOS/android_external_vim" />
|
<remove-project name="LineageOS/android_external_vim" />
|
||||||
<remove-project name="LineageOS/android_hardware_qcom_vr" />
|
|
||||||
<remove-project name="LineageOS/android_packages_apps_Jelly" />
|
<remove-project name="LineageOS/android_packages_apps_Jelly" />
|
||||||
<remove-project name="LineageOS/android_packages_apps_LockClock" />
|
<remove-project name="LineageOS/android_packages_apps_LockClock" />
|
||||||
<remove-project name="LineageOS/android_packages_apps_OpenWeatherMapProvider" />
|
<remove-project name="LineageOS/android_packages_apps_OpenWeatherMapProvider" />
|
||||||
@ -143,11 +142,6 @@
|
|||||||
<!-- ZTE Axon 7 (axon7) -->
|
<!-- ZTE Axon 7 (axon7) -->
|
||||||
<project path="device/zte/axon7" name="LineageOS/android_device_zte_axon7" remote="github" />
|
<project path="device/zte/axon7" name="LineageOS/android_device_zte_axon7" remote="github" />
|
||||||
<project path="kernel/zte/msm8996" name="LineageOS/android_kernel_zte_msm8996" remote="github" />
|
<project path="kernel/zte/msm8996" name="LineageOS/android_kernel_zte_msm8996" remote="github" />
|
||||||
|
|
||||||
<!-- NXP
|
|
||||||
<project path="vendor/nxp-nfc/opensource/frameworks" name="LineageOS/android_vendor_nxp-nfc_opensource_frameworks" remote="github" />
|
|
||||||
<project path="vendor/nxp-nfc/opensource/libnfc-nci" name="LineageOS/android_vendor_nxp-nfc_opensource_libnfc-nci" remote="github" />
|
|
||||||
<project path="vendor/nxp-nfc/opensource/Nfc" name="LineageOS/android_vendor_nxp-nfc_opensource_Nfc" remote="github" />-->
|
|
||||||
<!-- END OF DEVICE REPOS -->
|
<!-- END OF DEVICE REPOS -->
|
||||||
|
|
||||||
</manifest>
|
</manifest>
|
||||||
|
@ -20,8 +20,6 @@
|
|||||||
<remove-project name="LineageOS/android_external_rsync" />
|
<remove-project name="LineageOS/android_external_rsync" />
|
||||||
<remove-project name="LineageOS/android_external_unrar" />
|
<remove-project name="LineageOS/android_external_unrar" />
|
||||||
<remove-project name="LineageOS/android_external_vim" />
|
<remove-project name="LineageOS/android_external_vim" />
|
||||||
<remove-project name="LineageOS/android_hardware_qcom_sdm845_vr" />
|
|
||||||
<remove-project name="LineageOS/android_hardware_qcom_vr" />
|
|
||||||
<remove-project name="LineageOS/android_packages_apps_Jelly" />
|
<remove-project name="LineageOS/android_packages_apps_Jelly" />
|
||||||
<remove-project name="LineageOS/android_packages_apps_LockClock" />
|
<remove-project name="LineageOS/android_packages_apps_LockClock" />
|
||||||
<remove-project name="LineageOS/android_packages_apps_OpenWeatherMapProvider" />
|
<remove-project name="LineageOS/android_packages_apps_OpenWeatherMapProvider" />
|
||||||
@ -48,7 +46,6 @@
|
|||||||
<remove-project name="platform/external/wayland" />
|
<remove-project name="platform/external/wayland" />
|
||||||
<remove-project name="platform/external/wayland-protocols" />
|
<remove-project name="platform/external/wayland-protocols" />
|
||||||
<remove-project name="platform/frameworks/opt/car/setupwizard" />
|
<remove-project name="platform/frameworks/opt/car/setupwizard" />
|
||||||
<remove-project name="platform/hardware/qcom/sdm710/vr" />
|
|
||||||
<remove-project name="platform/prebuilts/clang/host/darwin-x86" />
|
<remove-project name="platform/prebuilts/clang/host/darwin-x86" />
|
||||||
<remove-project name="platform/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9" />
|
<remove-project name="platform/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9" />
|
||||||
<remove-project name="platform/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9" />
|
<remove-project name="platform/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9" />
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
<remove-project name="LineageOS/android_external_rsync" />
|
<remove-project name="LineageOS/android_external_rsync" />
|
||||||
<remove-project name="LineageOS/android_external_unrar" />
|
<remove-project name="LineageOS/android_external_unrar" />
|
||||||
<remove-project name="LineageOS/android_external_vim" />
|
<remove-project name="LineageOS/android_external_vim" />
|
||||||
<remove-project name="LineageOS/android_hardware_qcom_vr" />
|
|
||||||
<remove-project name="LineageOS/android_packages_apps_Jelly" />
|
<remove-project name="LineageOS/android_packages_apps_Jelly" />
|
||||||
<remove-project name="LineageOS/android_packages_apps_Stk" />
|
<remove-project name="LineageOS/android_packages_apps_Stk" />
|
||||||
<remove-project name="LineageOS/android_packages_apps_Terminal" />
|
<remove-project name="LineageOS/android_packages_apps_Terminal" />
|
||||||
@ -45,8 +44,6 @@
|
|||||||
<remove-project name="platform/external/virglrenderer" />
|
<remove-project name="platform/external/virglrenderer" />
|
||||||
<remove-project name="platform/external/wayland" />
|
<remove-project name="platform/external/wayland" />
|
||||||
<remove-project name="platform/external/wayland-protocols" />
|
<remove-project name="platform/external/wayland-protocols" />
|
||||||
<remove-project name="platform/hardware/qcom/sdm845/vr" />
|
|
||||||
<remove-project name="platform/hardware/qcom/sm8150/vr" />
|
|
||||||
<remove-project name="platform/packages/apps/SampleLocationAttribution" />
|
<remove-project name="platform/packages/apps/SampleLocationAttribution" />
|
||||||
<remove-project name="platform/prebuilts/clang/host/darwin-x86" />
|
<remove-project name="platform/prebuilts/clang/host/darwin-x86" />
|
||||||
<remove-project name="platform/prebuilts/fuchsia_sdk" />
|
<remove-project name="platform/prebuilts/fuchsia_sdk" />
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
<remove-project name="LineageOS/android_external_rsync" />
|
<remove-project name="LineageOS/android_external_rsync" />
|
||||||
<remove-project name="LineageOS/android_external_unrar" />
|
<remove-project name="LineageOS/android_external_unrar" />
|
||||||
<remove-project name="LineageOS/android_external_vim" />
|
<remove-project name="LineageOS/android_external_vim" />
|
||||||
<remove-project name="LineageOS/android_hardware_qcom_vr" />
|
|
||||||
<remove-project name="LineageOS/android_packages_apps_Jelly" />
|
<remove-project name="LineageOS/android_packages_apps_Jelly" />
|
||||||
<remove-project name="LineageOS/android_packages_apps_Stk" />
|
<remove-project name="LineageOS/android_packages_apps_Stk" />
|
||||||
<remove-project name="LineageOS/android_packages_apps_Terminal" />
|
<remove-project name="LineageOS/android_packages_apps_Terminal" />
|
||||||
@ -48,8 +47,6 @@
|
|||||||
<remove-project name="platform/external/virglrenderer" />
|
<remove-project name="platform/external/virglrenderer" />
|
||||||
<remove-project name="platform/external/wayland" />
|
<remove-project name="platform/external/wayland" />
|
||||||
<remove-project name="platform/external/wayland-protocols" />
|
<remove-project name="platform/external/wayland-protocols" />
|
||||||
<remove-project name="platform/hardware/qcom/sdm845/vr" />
|
|
||||||
<remove-project name="platform/hardware/qcom/sm8150/vr" />
|
|
||||||
<remove-project name="platform/packages/apps/SampleLocationAttribution" />
|
<remove-project name="platform/packages/apps/SampleLocationAttribution" />
|
||||||
<remove-project name="platform/prebuilts/clang/host/darwin-x86" />
|
<remove-project name="platform/prebuilts/clang/host/darwin-x86" />
|
||||||
<remove-project name="platform/prebuilts/fuchsia_sdk" />
|
<remove-project name="platform/prebuilts/fuchsia_sdk" />
|
||||||
|
@ -3,13 +3,9 @@
|
|||||||
|
|
||||||
<!-- The default tiles to display in QuickSettings -->
|
<!-- The default tiles to display in QuickSettings -->
|
||||||
<string name="quick_settings_tiles_default" translatable="false">
|
<string name="quick_settings_tiles_default" translatable="false">
|
||||||
wifi,cell,bt,dnd,flashlight,rotation,battery,profiles,location,airplane,caffeine,saver,hotspot,nfc,sync
|
wifi,cell,bt,dnd,flashlight,rotation,battery,location,airplane,caffeine,saver,hotspot,nfc,sync
|
||||||
</string>
|
</string>
|
||||||
|
|
||||||
<!-- Whether recents should use hardware layers for its taskviews. This flag can be enabled
|
|
||||||
for devices where the java drawing of round rects may be slow -->
|
|
||||||
<bool name="config_recents_use_hardware_layers">true</bool>
|
|
||||||
|
|
||||||
<!-- Whether to use cheap, less good looking shadows for recents -->
|
<!-- Whether to use cheap, less good looking shadows for recents -->
|
||||||
<bool name="config_recents_fake_shadows">true</bool>
|
<bool name="config_recents_fake_shadows">true</bool>
|
||||||
|
|
||||||
|
@ -216,6 +216,7 @@ processRelease() {
|
|||||||
|
|
||||||
#Deltas
|
#Deltas
|
||||||
if [ "$DOS_GENERATE_DELTAS" = true ]; then
|
if [ "$DOS_GENERATE_DELTAS" = true ]; then
|
||||||
|
if [[ " ${DOS_GENERATE_DELTAS_DEVICES[@]} " =~ " ${DEVICE} " ]]; then
|
||||||
for LAST_TARGET_FILES in $ARCHIVE/target_files/$DOS_BRANDING_ZIP_PREFIX-$VERSION-*-dos-$DEVICE-target_files.zip; do
|
for LAST_TARGET_FILES in $ARCHIVE/target_files/$DOS_BRANDING_ZIP_PREFIX-$VERSION-*-dos-$DEVICE-target_files.zip; do
|
||||||
if [[ -f "$LAST_TARGET_FILES.id" ]]; then
|
if [[ -f "$LAST_TARGET_FILES.id" ]]; then
|
||||||
local LAST_INCREMENTAL_ID=$(cat "$LAST_TARGET_FILES.id");
|
local LAST_INCREMENTAL_ID=$(cat "$LAST_TARGET_FILES.id");
|
||||||
@ -229,6 +230,7 @@ processRelease() {
|
|||||||
fi;
|
fi;
|
||||||
done;
|
done;
|
||||||
fi;
|
fi;
|
||||||
|
fi;
|
||||||
|
|
||||||
#Extract signed recovery
|
#Extract signed recovery
|
||||||
if [ "$hasRecoveryImg" == "0" ]; then
|
if [ "$hasRecoveryImg" == "0" ]; then
|
||||||
|
@ -70,7 +70,7 @@ patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy/248649.patch"; #msm_irqba
|
|||||||
patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy/0001-Camera_Fix.patch"; #Fix camera on user builds XXX: REMOVE THIS TRASH
|
patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy/0001-Camera_Fix.patch"; #Fix camera on user builds XXX: REMOVE THIS TRASH
|
||||||
|
|
||||||
enterAndClear "external/chromium-webview";
|
enterAndClear "external/chromium-webview";
|
||||||
git pull "https://github.com/LineageOS/android_external_chromium-webview" refs/changes/88/305088/3; #update webview
|
git pull "https://github.com/LineageOS/android_external_chromium-webview" refs/changes/57/308057/1; #update webview
|
||||||
|
|
||||||
enterAndClear "external/sqlite";
|
enterAndClear "external/sqlite";
|
||||||
patch -p1 < "$DOS_PATCHES/android_external_sqlite/0001-Secure_Delete.patch"; #Enable secure_delete by default (AndroidHardening-13.0)
|
patch -p1 < "$DOS_PATCHES/android_external_sqlite/0001-Secure_Delete.patch"; #Enable secure_delete by default (AndroidHardening-13.0)
|
||||||
@ -323,7 +323,7 @@ awk -i inplace '!/nfc_enhanced.mk/' device/samsung/toro*/lineage.mk;
|
|||||||
awk -i inplace '!/TARGET_RECOVERY_UPDATER_LIBS/' device/samsung/toro*/BoardConfig.mk;
|
awk -i inplace '!/TARGET_RECOVERY_UPDATER_LIBS/' device/samsung/toro*/BoardConfig.mk;
|
||||||
awk -i inplace '!/TARGET_RELEASETOOLS_EXTENSIONS/' device/samsung/toro*/BoardConfig.mk;
|
awk -i inplace '!/TARGET_RELEASETOOLS_EXTENSIONS/' device/samsung/toro*/BoardConfig.mk;
|
||||||
|
|
||||||
sed -i 's/YYLTYPE yylloc;/extern YYLTYPE yylloc;/' kernel/*/*/scripts/dtc/dtc-lexer.l*; #Fix builds with GCC 10
|
sed -i 's/YYLTYPE yylloc;/extern YYLTYPE yylloc;/' kernel/*/*/scripts/dtc/dtc-lexer*; #Fix builds with GCC 10
|
||||||
#
|
#
|
||||||
#END OF DEVICE CHANGES
|
#END OF DEVICE CHANGES
|
||||||
#
|
#
|
||||||
|
@ -71,7 +71,7 @@ enterAndClear "device/qcom/sepolicy";
|
|||||||
patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy/0001-Camera_Fix.patch"; #Fix camera on -user builds XXX: REMOVE THIS TRASH
|
patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy/0001-Camera_Fix.patch"; #Fix camera on -user builds XXX: REMOVE THIS TRASH
|
||||||
|
|
||||||
enterAndClear "external/chromium-webview";
|
enterAndClear "external/chromium-webview";
|
||||||
git pull "https://github.com/LineageOS/android_external_chromium-webview" refs/changes/88/305088/3; #update webview
|
git pull "https://github.com/LineageOS/android_external_chromium-webview" refs/changes/57/308057/1; #update webview
|
||||||
|
|
||||||
enterAndClear "external/svox";
|
enterAndClear "external/svox";
|
||||||
git revert --no-edit 1419d63b4889a26d22443fd8df1f9073bf229d3d; #Add back Makefiles
|
git revert --no-edit 1419d63b4889a26d22443fd8df1f9073bf229d3d; #Add back Makefiles
|
||||||
@ -259,7 +259,7 @@ sed -i "s/CONFIG_DEBUG_RODATA=y/# CONFIG_DEBUG_RODATA is not set/" kernel/google
|
|||||||
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_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_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/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
|
sed -i 's/YYLTYPE yylloc;/extern YYLTYPE yylloc;/' kernel/*/*/scripts/dtc/dtc-lexer*; #Fix builds with GCC 10
|
||||||
rm -v kernel/*/*/drivers/staging/greybus/tools/Android.mk;
|
rm -v kernel/*/*/drivers/staging/greybus/tools/Android.mk;
|
||||||
#
|
#
|
||||||
#END OF DEVICE CHANGES
|
#END OF DEVICE CHANGES
|
||||||
|
@ -61,7 +61,7 @@ buildAll() {
|
|||||||
#SD625
|
#SD625
|
||||||
buildDevice zenfone3; #broken - ninja: error: 'android.hidl.base@1.0.so', missing and no known rule to make it
|
buildDevice zenfone3; #broken - ninja: error: 'android.hidl.base@1.0.so', missing and no known rule to make it
|
||||||
#SD835
|
#SD835
|
||||||
buildDevice cheeseburger verity; #needs manual patching - vendor common makefile + 17.1 isn't booting
|
buildDevice cheeseburger verity; #needs manual patching - vendor common makefile + 17.1+ isn't booting
|
||||||
buildDevice dumpling verity;
|
buildDevice dumpling verity;
|
||||||
#SD845
|
#SD845
|
||||||
buildDevice beryllium;
|
buildDevice beryllium;
|
||||||
|
@ -73,7 +73,7 @@ patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy-legacy/0001-Camera_Fix.pa
|
|||||||
echo "SELINUX_IGNORE_NEVERALLOWS := true" >> sepolicy.mk; #necessary for -user builds of legacy devices
|
echo "SELINUX_IGNORE_NEVERALLOWS := true" >> sepolicy.mk; #necessary for -user builds of legacy devices
|
||||||
|
|
||||||
enterAndClear "external/chromium-webview";
|
enterAndClear "external/chromium-webview";
|
||||||
git pull "https://github.com/LineageOS/android_external_chromium-webview" refs/changes/88/305088/3; #update webview
|
git pull "https://github.com/LineageOS/android_external_chromium-webview" refs/changes/57/308057/1; #update webview
|
||||||
|
|
||||||
enterAndClear "external/svox";
|
enterAndClear "external/svox";
|
||||||
git revert --no-edit 1419d63b4889a26d22443fd8df1f9073bf229d3d; #Add back Makefiles
|
git revert --no-edit 1419d63b4889a26d22443fd8df1f9073bf229d3d; #Add back Makefiles
|
||||||
@ -258,7 +258,7 @@ 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_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/yellowstone/arch/arm*/configs/*_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/YYLTYPE yylloc;/extern YYLTYPE yylloc;/' kernel/*/*/scripts/dtc/dtc-lexer.l*; #Fix builds with GCC 10
|
sed -i 's/YYLTYPE yylloc;/extern YYLTYPE yylloc;/' kernel/*/*/scripts/dtc/dtc-lexer*; #Fix builds with GCC 10
|
||||||
rm -v kernel/*/*/drivers/staging/greybus/tools/Android.mk;
|
rm -v kernel/*/*/drivers/staging/greybus/tools/Android.mk;
|
||||||
#
|
#
|
||||||
#END OF DEVICE CHANGES
|
#END OF DEVICE CHANGES
|
||||||
|
@ -53,20 +53,20 @@ buildAll() {
|
|||||||
if [ "$DOS_MALWARE_SCAN_ENABLED" = true ]; then scanWorkspaceForMalware; fi;
|
if [ "$DOS_MALWARE_SCAN_ENABLED" = true ]; then scanWorkspaceForMalware; fi;
|
||||||
if [ "$DOS_OPTIMIZE_IMAGES" = true ]; then optimizeImagesRecursive "$DOS_BUILD_BASE"; fi;
|
if [ "$DOS_OPTIMIZE_IMAGES" = true ]; then optimizeImagesRecursive "$DOS_BUILD_BASE"; fi;
|
||||||
#SDS4P
|
#SDS4P
|
||||||
buildDevice mako;
|
buildDevice mako; #18.1 no cellular
|
||||||
#SD410
|
#SD410
|
||||||
buildDevice crackling;
|
buildDevice crackling;
|
||||||
#buildDevice osprey; #needs manual patching + more - mkdir proprietary/priv-app && cp -r proprietary/system/priv-app/qcrilmsgtunnel proprietary/priv-app/
|
#buildDevice osprey; #needs manual patching + more - mkdir proprietary/priv-app && cp -r proprietary/system/priv-app/qcrilmsgtunnel proprietary/priv-app/
|
||||||
#SD801
|
#SD801
|
||||||
buildDevice FP2;
|
buildDevice FP2;
|
||||||
buildDevice m8;
|
buildDevice m8; #18.1 not ready
|
||||||
#SD808
|
#SD808
|
||||||
buildDevice clark;
|
buildDevice clark;
|
||||||
#SD810
|
#SD810
|
||||||
buildDevice oneplus2;
|
buildDevice oneplus2;
|
||||||
#SD820
|
#SD820
|
||||||
buildDevice griffin;
|
buildDevice griffin;
|
||||||
buildDevice oneplus3 verity;
|
buildDevice oneplus3 verity; #18.1 not compiling
|
||||||
buildDevice z2_plus verity;
|
buildDevice z2_plus verity;
|
||||||
#SD821
|
#SD821
|
||||||
buildDevice marlin verity;
|
buildDevice marlin verity;
|
||||||
@ -86,10 +86,10 @@ buildAll() {
|
|||||||
#SD765
|
#SD765
|
||||||
buildDevice avicii avb;
|
buildDevice avicii avb;
|
||||||
#SD670
|
#SD670
|
||||||
buildDevice bonito avb;
|
buildDevice bonito avb; #18.1 not compiling
|
||||||
buildDevice sargo avb;
|
buildDevice sargo avb;
|
||||||
#Intel
|
#Intel
|
||||||
buildDevice fugu; #broken
|
buildDevice fugu;
|
||||||
#Tegra
|
#Tegra
|
||||||
buildDevice yellowstone; #broken
|
buildDevice yellowstone; #broken
|
||||||
}
|
}
|
||||||
|
@ -52,7 +52,6 @@ cp -r "$DOS_PREBUILT_APPS""android_vendor_FDroid_PrebuiltApps/." "$DOS_BUILD_BAS
|
|||||||
cp -r "$DOS_PATCHES_COMMON""android_vendor_divested/." "$DOS_BUILD_BASE""vendor/divested/"; #Add our vendor files
|
cp -r "$DOS_PATCHES_COMMON""android_vendor_divested/." "$DOS_BUILD_BASE""vendor/divested/"; #Add our vendor files
|
||||||
|
|
||||||
enterAndClear "bootable/recovery";
|
enterAndClear "bootable/recovery";
|
||||||
#git revert --no-edit 0335405715fd15b1564c3169b725f7145ebde3af; #Don't allow bypassing signature verification
|
|
||||||
patch -p1 < "$DOS_PATCHES/android_bootable_recovery/0001-No_SerialNum_Restrictions.patch"; #Abort on serial number specific packages (GrapheneOS)
|
patch -p1 < "$DOS_PATCHES/android_bootable_recovery/0001-No_SerialNum_Restrictions.patch"; #Abort on serial number specific packages (GrapheneOS)
|
||||||
|
|
||||||
enterAndClear "bionic";
|
enterAndClear "bionic";
|
||||||
@ -71,7 +70,7 @@ patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy-legacy/0001-Camera_Fix.pa
|
|||||||
echo "SELINUX_IGNORE_NEVERALLOWS := true" >> sepolicy.mk; #necessary for -user builds of legacy devices
|
echo "SELINUX_IGNORE_NEVERALLOWS := true" >> sepolicy.mk; #necessary for -user builds of legacy devices
|
||||||
|
|
||||||
enterAndClear "external/chromium-webview";
|
enterAndClear "external/chromium-webview";
|
||||||
git pull "https://github.com/LineageOS/android_external_chromium-webview" refs/changes/88/305088/3; #update webview
|
git pull "https://github.com/LineageOS/android_external_chromium-webview" refs/changes/57/308057/1; #update webview
|
||||||
|
|
||||||
enterAndClear "external/svox";
|
enterAndClear "external/svox";
|
||||||
git revert --no-edit 1419d63b4889a26d22443fd8df1f9073bf229d3d; #Add back Makefiles
|
git revert --no-edit 1419d63b4889a26d22443fd8df1f9073bf229d3d; #Add back Makefiles
|
||||||
@ -294,7 +293,7 @@ sed -i "s/CONFIG_DEBUG_RODATA=y/# CONFIG_DEBUG_RODATA is not set/" kernel/lge/ma
|
|||||||
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/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/oneplus/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
|
sed -i 's/YYLTYPE yylloc;/extern YYLTYPE yylloc;/' kernel/*/*/scripts/dtc/dtc-lexer*; #Fix builds with GCC 10
|
||||||
rm -v kernel/*/*/drivers/staging/greybus/tools/Android.mk;
|
rm -v kernel/*/*/drivers/staging/greybus/tools/Android.mk;
|
||||||
#
|
#
|
||||||
#END OF DEVICE CHANGES
|
#END OF DEVICE CHANGES
|
||||||
|
@ -63,7 +63,7 @@ buildAll() {
|
|||||||
buildDevice bacon;
|
buildDevice bacon;
|
||||||
buildDevice d852;
|
buildDevice d852;
|
||||||
buildDevice d855;
|
buildDevice d855;
|
||||||
buildDevice klte; #unb18
|
buildDevice klte;
|
||||||
#buildDevice m8; #unb18
|
#buildDevice m8; #unb18
|
||||||
buildDevice victara; #error: +out/target/product/victara/recovery.img too large (10522624 >= 10485760)
|
buildDevice victara; #error: +out/target/product/victara/recovery.img too large (10522624 >= 10485760)
|
||||||
#SD805
|
#SD805
|
||||||
@ -78,8 +78,8 @@ buildAll() {
|
|||||||
buildDevice oneplus3 verity; #broken yyloc
|
buildDevice oneplus3 verity; #broken yyloc
|
||||||
#SD835
|
#SD835
|
||||||
buildDevice cheryl verity;
|
buildDevice cheryl verity;
|
||||||
#buildDevice cheeseburger verity; #needs manual patching - vendor common makefile
|
buildDevice cheeseburger verity; #needs manual patching - vendor common makefile
|
||||||
#buildDevice dumpling verity;
|
buildDevice dumpling verity;
|
||||||
buildDevice mata verity;
|
buildDevice mata verity;
|
||||||
buildDevice taimen avb;
|
buildDevice taimen avb;
|
||||||
buildDevice walleye avb;
|
buildDevice walleye avb;
|
||||||
|
@ -52,7 +52,6 @@ cp -r "$DOS_PREBUILT_APPS""android_vendor_FDroid_PrebuiltApps/." "$DOS_BUILD_BAS
|
|||||||
cp -r "$DOS_PATCHES_COMMON""android_vendor_divested/." "$DOS_BUILD_BASE""vendor/divested/"; #Add our vendor files
|
cp -r "$DOS_PATCHES_COMMON""android_vendor_divested/." "$DOS_BUILD_BASE""vendor/divested/"; #Add our vendor files
|
||||||
|
|
||||||
enterAndClear "bootable/recovery";
|
enterAndClear "bootable/recovery";
|
||||||
#git revert --no-edit 304cbe612ccd85ef376a3fb4f7166961dc1d1afc; #Don't allow bypassing signature verification
|
|
||||||
patch -p1 < "$DOS_PATCHES/android_bootable_recovery/0001-No_SerialNum_Restrictions.patch"; #Abort on serial number specific packages (GrapheneOS)
|
patch -p1 < "$DOS_PATCHES/android_bootable_recovery/0001-No_SerialNum_Restrictions.patch"; #Abort on serial number specific packages (GrapheneOS)
|
||||||
|
|
||||||
enterAndClear "build/make";
|
enterAndClear "build/make";
|
||||||
@ -66,7 +65,7 @@ patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy-legacy/0001-Camera_Fix.pa
|
|||||||
echo "SELINUX_IGNORE_NEVERALLOWS := true" >> sepolicy.mk; #necessary for -user builds of legacy devices
|
echo "SELINUX_IGNORE_NEVERALLOWS := true" >> sepolicy.mk; #necessary for -user builds of legacy devices
|
||||||
|
|
||||||
enterAndClear "external/chromium-webview";
|
enterAndClear "external/chromium-webview";
|
||||||
git pull "https://github.com/LineageOS/android_external_chromium-webview" refs/changes/88/305088/3; #update webview
|
git pull "https://github.com/LineageOS/android_external_chromium-webview" refs/changes/57/308057/1; #update webview
|
||||||
|
|
||||||
enterAndClear "frameworks/base";
|
enterAndClear "frameworks/base";
|
||||||
hardenLocationConf services/core/java/com/android/server/location/gps_debug.conf;
|
hardenLocationConf services/core/java/com/android/server/location/gps_debug.conf;
|
||||||
@ -252,9 +251,6 @@ echo "type sensors_data_file, file_type, data_file_type, core_data_file_type;" >
|
|||||||
#enterAndClear "device/moto/shamu";
|
#enterAndClear "device/moto/shamu";
|
||||||
#git revert --no-edit 05fb49518049440f90423341ff25d4f75f10bc0c; #restore releasetools #TODO
|
#git revert --no-edit 05fb49518049440f90423341ff25d4f75f10bc0c; #restore releasetools #TODO
|
||||||
|
|
||||||
#enterAndClear "device/motorola/clark";
|
|
||||||
#echo "TARGET_RECOVERY_PERMISSIVE_OVERRIDE := true" >> BoardConfig.mk; #Allow extract_firmware.sh to function
|
|
||||||
|
|
||||||
enterAndClear "device/oneplus/msm8998-common";
|
enterAndClear "device/oneplus/msm8998-common";
|
||||||
awk -i inplace '!/TARGET_RELEASETOOLS_EXTENSIONS/' BoardConfigCommon.mk; #disable releasetools to fix delta ota generation
|
awk -i inplace '!/TARGET_RELEASETOOLS_EXTENSIONS/' BoardConfigCommon.mk; #disable releasetools to fix delta ota generation
|
||||||
awk -i inplace '!/hal_camera_default, sensors_dbg_prop/' sepolicy/vendor/hal_camera_default.te; #Remove a neverallow
|
awk -i inplace '!/hal_camera_default, sensors_dbg_prop/' sepolicy/vendor/hal_camera_default.te; #Remove a neverallow
|
||||||
|
@ -70,6 +70,7 @@ export DOS_GPS_SUPL_HOST="supl.google.com"; #Options: supl.{google,vodafone,sony
|
|||||||
#Release Processing
|
#Release Processing
|
||||||
export DOS_MALWARE_SCAN_BEFORE_SIGN=false; #Scan device files for malware before signing
|
export DOS_MALWARE_SCAN_BEFORE_SIGN=false; #Scan device files for malware before signing
|
||||||
export DOS_GENERATE_DELTAS=true; #Creates deltas from existing target_files in $DOS_BUILDS
|
export DOS_GENERATE_DELTAS=true; #Creates deltas from existing target_files in $DOS_BUILDS
|
||||||
|
export DOS_GENERATE_DELTAS_DEVICES=('Amber' 'avicii' 'blueline' 'bonito' 'cheryl' 'coral' 'crosshatch' 'enchilada' 'fajita' 'flame' 'FP3' 'guacamole' 'guacamoleb' 'marlin' 'mata' 'pro1' 'sailfish' 'sargo' 'taimen' 'walleye'); #List of devices deltas will be generated for
|
||||||
export DOS_AUTO_ARCHIVE_BUILDS=true; #Copies files to $DOS_BUILDS after signing
|
export DOS_AUTO_ARCHIVE_BUILDS=true; #Copies files to $DOS_BUILDS after signing
|
||||||
export DOS_REMOVE_AFTER=true; #Removes device OUT directory after complete to reclaim space. Requires AUTO_ARCHIVE_BUILDS=true
|
export DOS_REMOVE_AFTER=true; #Removes device OUT directory after complete to reclaim space. Requires AUTO_ARCHIVE_BUILDS=true
|
||||||
export DOS_GPG_SIGNING=true;
|
export DOS_GPG_SIGNING=true;
|
||||||
|
Loading…
Reference in New Issue
Block a user