mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-25 07:29:24 -05:00
Small changes
- Include TalkBack - Fixup hosts inclusion, due to path mismatch - 14.1: bump patch level to match the picked ASB - 14.1: m7-common: deblobber fix Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
b589976f7b
commit
e84111aaa8
@ -19,9 +19,11 @@ PRODUCT_PACKAGES += \
|
|||||||
SimpleGallery \
|
SimpleGallery \
|
||||||
VanillaMusic
|
VanillaMusic
|
||||||
|
|
||||||
|
# Extras
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
TalkBack
|
||||||
|
|
||||||
# Notes
|
# Notes
|
||||||
# - Available (via PrebuiltApps submodule): K9Mail, OpenKeychain, Orbot, Shelter, TalkBack
|
# - Available (via PrebuiltApps submodule): eSpeakNG, OpenKeychain, Shelter
|
||||||
# - Camera Choices: None (Camera2/Snap), OpenCamera
|
# - Camera Choices: None (Camera2/Snap), OpenCamera
|
||||||
# - Gallery Choices: None (AOSP/Lineage), SimpleGallery
|
# - Gallery Choices: None (AOSP/Lineage), SimpleGallery
|
||||||
# - OpenKeychain inclusion is undecided yet
|
|
||||||
# - Orbot/TorBrowser will most likely never be included due to various reasons
|
|
||||||
|
@ -725,7 +725,7 @@ deblobDevice() {
|
|||||||
fi;
|
fi;
|
||||||
rm -rf ifaa org.ifaa.android.manager; #Remove AliPay
|
rm -rf ifaa org.ifaa.android.manager; #Remove AliPay
|
||||||
if [ "$DOS_DEBLOBBER_REMOVE_IPA" = true ]; then rm -rf data-ipa-cfg-mgr; fi; #Remove IPA
|
if [ "$DOS_DEBLOBBER_REMOVE_IPA" = true ]; then rm -rf data-ipa-cfg-mgr; fi; #Remove IPA
|
||||||
rm -rf libshimwvm libshims/wvm_shim.cpp; #Remove Google Widevine compatibility module
|
rm -rf libshim_wvm libshimwvm libshims/wvm_shim.cpp; #Remove Google Widevine compatibility module
|
||||||
rm -rf board/qcom-wipower.mk product/qcom-wipower.mk; #Remove WiPower makefiles
|
rm -rf board/qcom-wipower.mk product/qcom-wipower.mk; #Remove WiPower makefiles
|
||||||
#awk -i inplace '!/'$ipcSec'/' configs/sec_config &>/dev/null || true; #Remove all IPC security exceptions from sec_config
|
#awk -i inplace '!/'$ipcSec'/' configs/sec_config &>/dev/null || true; #Remove all IPC security exceptions from sec_config
|
||||||
awk -i inplace '!/'$blobs'/' ./*proprietary*.txt &>/dev/null || true; #Remove all blob references from blob manifest
|
awk -i inplace '!/'$blobs'/' ./*proprietary*.txt &>/dev/null || true; #Remove all blob references from blob manifest
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
#
|
#
|
||||||
#Download some (non-executable) out-of-tree files for use later on
|
#Download some (non-executable) out-of-tree files for use later on
|
||||||
cd "$DOS_TMP_DIR";
|
cd "$DOS_TMP_DIR";
|
||||||
if [ "$DOS_HOSTS_BLOCKING" = true ]; then $DOS_TOR_WRAPPER wget "$DOS_HOSTS_BLOCKING_LIST" -N; fi;
|
if [ "$DOS_HOSTS_BLOCKING" = true ]; then $DOS_TOR_WRAPPER wget "$DOS_HOSTS_BLOCKING_LIST" -N -O "$DOS_HOSTS_FILE"; fi;
|
||||||
cd "$DOS_BUILD_BASE";
|
cd "$DOS_BUILD_BASE";
|
||||||
#
|
#
|
||||||
#END OF PREPRATION
|
#END OF PREPRATION
|
||||||
|
@ -106,10 +106,6 @@ patchWorkspace() {
|
|||||||
source "$DOS_SCRIPTS_COMMON/Deblob.sh";
|
source "$DOS_SCRIPTS_COMMON/Deblob.sh";
|
||||||
source "$DOS_SCRIPTS_COMMON/Patch_CVE.sh";
|
source "$DOS_SCRIPTS_COMMON/Patch_CVE.sh";
|
||||||
source build/envsetup.sh;
|
source build/envsetup.sh;
|
||||||
|
|
||||||
#Deblobbing fixes
|
|
||||||
##setup-makefiles doesn't execute properly for some devices, running it twice seems to fix whatever is wrong
|
|
||||||
cd device/asus/Z00T && ./setup-makefiles.sh && cd "$DOS_BUILD_BASE";
|
|
||||||
}
|
}
|
||||||
export -f patchWorkspace;
|
export -f patchWorkspace;
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
#
|
#
|
||||||
#Download some (non-executable) out-of-tree files for use later on
|
#Download some (non-executable) out-of-tree files for use later on
|
||||||
cd "$DOS_TMP_DIR";
|
cd "$DOS_TMP_DIR";
|
||||||
if [ "$DOS_HOSTS_BLOCKING" = true ]; then $DOS_TOR_WRAPPER wget "$DOS_HOSTS_BLOCKING_LIST" -N; fi;
|
if [ "$DOS_HOSTS_BLOCKING" = true ]; then $DOS_TOR_WRAPPER wget "$DOS_HOSTS_BLOCKING_LIST" -N -O "$DOS_HOSTS_FILE"; fi;
|
||||||
cd "$DOS_BUILD_BASE";
|
cd "$DOS_BUILD_BASE";
|
||||||
#
|
#
|
||||||
#END OF PREPRATION
|
#END OF PREPRATION
|
||||||
@ -69,6 +69,7 @@ patch -p1 < "$DOS_PATCHES/android_build/0001-OTA_Keys.patch"; #Add correct keys
|
|||||||
sed -i '50i$(my_res_package): PRIVATE_AAPT_FLAGS += --auto-add-overlay' core/aapt2.mk; #Enable auto-add-overlay for packages, this allows the vendor overlay to easily work across all branches.
|
sed -i '50i$(my_res_package): PRIVATE_AAPT_FLAGS += --auto-add-overlay' core/aapt2.mk; #Enable auto-add-overlay for packages, this allows the vendor overlay to easily work across all branches.
|
||||||
sed -i '296iLOCAL_AAPT_FLAGS += --auto-add-overlay' core/package_internal.mk;
|
sed -i '296iLOCAL_AAPT_FLAGS += --auto-add-overlay' core/package_internal.mk;
|
||||||
sed -i 's/messaging/Silence/' target/product/aosp_base_telephony.mk; #Replace the Messaging app with Silence
|
sed -i 's/messaging/Silence/' target/product/aosp_base_telephony.mk; #Replace the Messaging app with Silence
|
||||||
|
sed -i 's/2021-06-05/2021-08-05/' core/version_defaults.mk; #Bump Security String to 2021-08-05 #n-asb-2021-08 #XXX
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
if enterAndClear "device/qcom/sepolicy"; then
|
if enterAndClear "device/qcom/sepolicy"; then
|
||||||
@ -293,6 +294,7 @@ fi;
|
|||||||
if enter "vendor/divested"; then
|
if enter "vendor/divested"; then
|
||||||
if [ "$DOS_MICROG_INCLUDED" = "FULL" ]; then echo "PRODUCT_PACKAGES += GmsCore GsfProxy FakeStore" >> packages.mk; fi; #Include microG
|
if [ "$DOS_MICROG_INCLUDED" = "FULL" ]; then echo "PRODUCT_PACKAGES += GmsCore GsfProxy FakeStore" >> packages.mk; fi; #Include microG
|
||||||
if [ "$DOS_HOSTS_BLOCKING" = false ]; then echo "PRODUCT_PACKAGES += $DOS_HOSTS_BLOCKING_APP" >> packages.mk; fi; #Include blocker app
|
if [ "$DOS_HOSTS_BLOCKING" = false ]; then echo "PRODUCT_PACKAGES += $DOS_HOSTS_BLOCKING_APP" >> packages.mk; fi; #Include blocker app
|
||||||
|
sed -i 's/TalkBack/TalkBackLegacy/' packages.mk;
|
||||||
fi;
|
fi;
|
||||||
#
|
#
|
||||||
#END OF ROM CHANGES
|
#END OF ROM CHANGES
|
||||||
@ -315,6 +317,10 @@ cp "$DOS_PATCHES/android_device_asus_grouper/lineage-proprietary-files.txt" line
|
|||||||
echo "allow gpsd system_data_file:dir write;" >> sepolicy/gpsd.te;
|
echo "allow gpsd system_data_file:dir write;" >> sepolicy/gpsd.te;
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
if enterAndClear "device/htc/m7-common"; then
|
||||||
|
sed -i '38,$d' libshims/Android.mk; #Remove a breaking DRM shim
|
||||||
|
fi;
|
||||||
|
|
||||||
if enterAndClear "device/lge/g4-common"; then
|
if enterAndClear "device/lge/g4-common"; then
|
||||||
sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.te;
|
sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.te;
|
||||||
fi;
|
fi;
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
#
|
#
|
||||||
#Download some (non-executable) out-of-tree files for use later on
|
#Download some (non-executable) out-of-tree files for use later on
|
||||||
cd "$DOS_TMP_DIR";
|
cd "$DOS_TMP_DIR";
|
||||||
if [ "$DOS_HOSTS_BLOCKING" = true ]; then $DOS_TOR_WRAPPER wget "$DOS_HOSTS_BLOCKING_LIST" -N; fi;
|
if [ "$DOS_HOSTS_BLOCKING" = true ]; then $DOS_TOR_WRAPPER wget "$DOS_HOSTS_BLOCKING_LIST" -N -O "$DOS_HOSTS_FILE"; fi;
|
||||||
cd "$DOS_BUILD_BASE";
|
cd "$DOS_BUILD_BASE";
|
||||||
#
|
#
|
||||||
#END OF PREPRATION
|
#END OF PREPRATION
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
#
|
#
|
||||||
#Download some (non-executable) out-of-tree files for use later on
|
#Download some (non-executable) out-of-tree files for use later on
|
||||||
cd "$DOS_TMP_DIR";
|
cd "$DOS_TMP_DIR";
|
||||||
if [ "$DOS_HOSTS_BLOCKING" = true ]; then $DOS_TOR_WRAPPER wget "$DOS_HOSTS_BLOCKING_LIST" -N; fi;
|
if [ "$DOS_HOSTS_BLOCKING" = true ]; then $DOS_TOR_WRAPPER wget "$DOS_HOSTS_BLOCKING_LIST" -N -O "$DOS_HOSTS_FILE"; fi;
|
||||||
cd "$DOS_BUILD_BASE";
|
cd "$DOS_BUILD_BASE";
|
||||||
#
|
#
|
||||||
#END OF PREPRATION
|
#END OF PREPRATION
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
#
|
#
|
||||||
#Download some (non-executable) out-of-tree files for use later on
|
#Download some (non-executable) out-of-tree files for use later on
|
||||||
cd "$DOS_TMP_DIR";
|
cd "$DOS_TMP_DIR";
|
||||||
if [ "$DOS_HOSTS_BLOCKING" = true ]; then $DOS_TOR_WRAPPER wget "$DOS_HOSTS_BLOCKING_LIST" -N; fi;
|
if [ "$DOS_HOSTS_BLOCKING" = true ]; then $DOS_TOR_WRAPPER wget "$DOS_HOSTS_BLOCKING_LIST" -N -O "$DOS_HOSTS_FILE"; fi;
|
||||||
cd "$DOS_BUILD_BASE";
|
cd "$DOS_BUILD_BASE";
|
||||||
#
|
#
|
||||||
#END OF PREPRATION
|
#END OF PREPRATION
|
||||||
|
@ -127,6 +127,7 @@ patchWorkspace() {
|
|||||||
|
|
||||||
#source build/envsetup.sh;
|
#source build/envsetup.sh;
|
||||||
#repopick -i 314020; #systemui crash fix
|
#repopick -i 314020; #systemui crash fix
|
||||||
|
#repopick -it eleven-firewall;
|
||||||
|
|
||||||
source "$DOS_SCRIPTS/Patch.sh";
|
source "$DOS_SCRIPTS/Patch.sh";
|
||||||
source "$DOS_SCRIPTS_COMMON/Copy_Keys.sh";
|
source "$DOS_SCRIPTS_COMMON/Copy_Keys.sh";
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
#
|
#
|
||||||
#Download some (non-executable) out-of-tree files for use later on
|
#Download some (non-executable) out-of-tree files for use later on
|
||||||
cd "$DOS_TMP_DIR";
|
cd "$DOS_TMP_DIR";
|
||||||
if [ "$DOS_HOSTS_BLOCKING" = true ]; then $DOS_TOR_WRAPPER wget "$DOS_HOSTS_BLOCKING_LIST" -N; fi;
|
if [ "$DOS_HOSTS_BLOCKING" = true ]; then $DOS_TOR_WRAPPER wget "$DOS_HOSTS_BLOCKING_LIST" -N -O "$DOS_HOSTS_FILE"; fi;
|
||||||
cd "$DOS_BUILD_BASE";
|
cd "$DOS_BUILD_BASE";
|
||||||
#
|
#
|
||||||
#END OF PREPRATION
|
#END OF PREPRATION
|
||||||
|
Loading…
Reference in New Issue
Block a user