mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-01-12 07:59:36 -05:00
Small tweaks
This commit is contained in:
parent
24379944ab
commit
d6dca6e66d
@ -1 +1 @@
|
|||||||
Subproject commit 37e78ed7be2092d647c6d20b03fc71f5e9657549
|
Subproject commit 27e322a2c3e616663d0d04f27bbda6854488b4a0
|
@ -241,7 +241,7 @@ echo "Deblobbing...";
|
|||||||
makes=$makes"|android.hardware.telephony.euicc.*";
|
makes=$makes"|android.hardware.telephony.euicc.*";
|
||||||
|
|
||||||
#Google Camera
|
#Google Camera
|
||||||
blobs=$blobs"|com.google.android.camera.*";
|
#blobs=$blobs"|com.google.android.camera.*"; #XXX: breaks cameara on Pixel 2?
|
||||||
|
|
||||||
#Google Setup Wizard
|
#Google Setup Wizard
|
||||||
blobs=$blobs"|DreamlinerPrebuilt.apk|DreamlinerUpdater.apk";
|
blobs=$blobs"|DreamlinerPrebuilt.apk|DreamlinerUpdater.apk";
|
||||||
@ -400,7 +400,7 @@ echo "Deblobbing...";
|
|||||||
blobs=$blobs"|libdme_main.so|libwbxmlparser.so|libprovlib.so";
|
blobs=$blobs"|libdme_main.so|libwbxmlparser.so|libprovlib.so";
|
||||||
blobs=$blobs"|dm_agent|dm_agent_binder";
|
blobs=$blobs"|dm_agent|dm_agent_binder";
|
||||||
blobs=$blobs"|npsmobex"; #Samsung?
|
blobs=$blobs"|npsmobex"; #Samsung?
|
||||||
blobs=$blobs"|ConnMO.apk|OmaDmclient.apk|USCCDM.apk|com.android.omadm.service.xml|DCMO.apk|DiagMon.apk|DMConfigUpdate.apk|DMConfigUpdateLight.apk|DMService.apk|libdmengine.so|libdmjavaplugin.so|SprintDM.apk|SDM.apk|whitelist_com.android.omadm.service.xml|com.android.sdm.plugins.connmo.xml|com.android.sdm.plugins.sprintdm.xml|com.google.omadm.trigger.xml|com.android.sdm.plugins.diagmon.xml|com.android.sdm.plugins.dcmo.xml"; #Sprint
|
blobs=$blobs"|ConnMO.apk|OmaDmclient.apk|USCCDM.apk|com.android.omadm.service.xml|DCMO.apk|DiagMon.apk|DMConfigUpdate.apk|DMConfigUpdateLight.apk|DMService.apk|libdmengine.so|libdmjavaplugin.so|SprintDM.apk|SDM.apk|whitelist_com.android.omadm.service.xml|com.android.sdm.plugins.connmo.xml|com.android.sdm.plugins.sprintdm.xml|com.google.omadm.trigger.xml|com.android.sdm.plugins.diagmon.xml|com.android.sdm.plugins.dcmo.xml|com.android.sdm.plugins.usccdm.xml"; #Sprint
|
||||||
|
|
||||||
#OpenMobileAPI [SIM Alliance]
|
#OpenMobileAPI [SIM Alliance]
|
||||||
#https://github.com/seek-for-android/platform_packages_apps_SmartCardService
|
#https://github.com/seek-for-android/platform_packages_apps_SmartCardService
|
||||||
|
@ -116,7 +116,7 @@ generateBootAnimationMask() {
|
|||||||
local text=$1;
|
local text=$1;
|
||||||
local font=$2
|
local font=$2
|
||||||
local output=$3;
|
local output=$3;
|
||||||
convert -background black -fill transparent -font "$font" -gravity center -size 512x128 label:"$text\n"$(date +%Y.%m) "$output";
|
convert -background black -fill transparent -font "$font" -gravity center -size 512x128 label:"$text" "$output";
|
||||||
optipng "$output";
|
optipng "$output";
|
||||||
}
|
}
|
||||||
export -f generateBootAnimationMask;
|
export -f generateBootAnimationMask;
|
||||||
|
@ -69,8 +69,10 @@ enterAndClear "device/qcom/sepolicy";
|
|||||||
patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy/248649.patch"; #msm_irqbalance: Allow read for stats and interrupts
|
patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy/248649.patch"; #msm_irqbalance: Allow read for stats and interrupts
|
||||||
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
|
||||||
|
|
||||||
|
if [ "$(type -t DOS_WEBVIEW_CHERRYPICK)" = "alias" ] ; then
|
||||||
enterAndClear "external/chromium-webview";
|
enterAndClear "external/chromium-webview";
|
||||||
git pull "https://github.com/LineageOS/android_external_chromium-webview" refs/changes/60/312860/1; #update webview
|
DOS_WEBVIEW_CHERRYPICK; #update webview
|
||||||
|
fi;
|
||||||
|
|
||||||
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)
|
||||||
|
@ -70,8 +70,10 @@ git revert --no-edit c9b0d95630b82cd0ad1a0fc633c6d59c2cb8aad7 37422f7df389f3ae5a
|
|||||||
enterAndClear "device/qcom/sepolicy";
|
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
|
||||||
|
|
||||||
|
if [ "$(type -t DOS_WEBVIEW_CHERRYPICK)" = "alias" ] ; then
|
||||||
enterAndClear "external/chromium-webview";
|
enterAndClear "external/chromium-webview";
|
||||||
git pull "https://github.com/LineageOS/android_external_chromium-webview" refs/changes/60/312860/1; #update webview
|
DOS_WEBVIEW_CHERRYPICK; #update webview
|
||||||
|
fi;
|
||||||
|
|
||||||
enterAndClear "external/svox";
|
enterAndClear "external/svox";
|
||||||
git revert --no-edit 1419d63b4889a26d22443fd8df1f9073bf229d3d; #Add back Makefiles
|
git revert --no-edit 1419d63b4889a26d22443fd8df1f9073bf229d3d; #Add back Makefiles
|
||||||
|
@ -72,8 +72,10 @@ enterAndClear "device/qcom/sepolicy-legacy";
|
|||||||
patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy-legacy/0001-Camera_Fix.patch"; #Fix camera on -user builds XXX: REMOVE THIS TRASH
|
patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy-legacy/0001-Camera_Fix.patch"; #Fix camera on -user builds XXX: REMOVE THIS TRASH
|
||||||
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
|
||||||
|
|
||||||
|
if [ "$(type -t DOS_WEBVIEW_CHERRYPICK)" = "alias" ] ; then
|
||||||
enterAndClear "external/chromium-webview";
|
enterAndClear "external/chromium-webview";
|
||||||
git pull "https://github.com/LineageOS/android_external_chromium-webview" refs/changes/60/312860/1; #update webview
|
DOS_WEBVIEW_CHERRYPICK; #update webview
|
||||||
|
fi;
|
||||||
|
|
||||||
enterAndClear "external/svox";
|
enterAndClear "external/svox";
|
||||||
git revert --no-edit 1419d63b4889a26d22443fd8df1f9073bf229d3d; #Add back Makefiles
|
git revert --no-edit 1419d63b4889a26d22443fd8df1f9073bf229d3d; #Add back Makefiles
|
||||||
|
@ -69,8 +69,10 @@ enterAndClear "device/qcom/sepolicy-legacy";
|
|||||||
patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy-legacy/0001-Camera_Fix.patch"; #Fix camera on -user builds XXX: REMOVE THIS TRASH
|
patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy-legacy/0001-Camera_Fix.patch"; #Fix camera on -user builds XXX: REMOVE THIS TRASH
|
||||||
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
|
||||||
|
|
||||||
|
if [ "$(type -t DOS_WEBVIEW_CHERRYPICK)" = "alias" ] ; then
|
||||||
enterAndClear "external/chromium-webview";
|
enterAndClear "external/chromium-webview";
|
||||||
git pull "https://github.com/LineageOS/android_external_chromium-webview" refs/changes/60/312860/1; #update webview
|
DOS_WEBVIEW_CHERRYPICK; #update webview
|
||||||
|
fi;
|
||||||
|
|
||||||
enterAndClear "external/svox";
|
enterAndClear "external/svox";
|
||||||
git revert --no-edit 1419d63b4889a26d22443fd8df1f9073bf229d3d; #Add back Makefiles
|
git revert --no-edit 1419d63b4889a26d22443fd8df1f9073bf229d3d; #Add back Makefiles
|
||||||
|
@ -64,8 +64,10 @@ enterAndClear "device/qcom/sepolicy-legacy";
|
|||||||
patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy-legacy/0001-Camera_Fix.patch"; #Fix camera on -user builds XXX: REMOVE THIS TRASH
|
patch -p1 < "$DOS_PATCHES/android_device_qcom_sepolicy-legacy/0001-Camera_Fix.patch"; #Fix camera on -user builds XXX: REMOVE THIS TRASH
|
||||||
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
|
||||||
|
|
||||||
|
if [ "$(type -t DOS_WEBVIEW_CHERRYPICK)" = "alias" ] ; then
|
||||||
enterAndClear "external/chromium-webview";
|
enterAndClear "external/chromium-webview";
|
||||||
git pull "https://github.com/LineageOS/android_external_chromium-webview" refs/changes/60/312860/1; #update webview
|
DOS_WEBVIEW_CHERRYPICK; #update webview
|
||||||
|
fi;
|
||||||
|
|
||||||
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;
|
||||||
|
@ -61,9 +61,10 @@ export DOS_MICROG_INCLUDED="NLP"; #Determines inclusion of microG. Options: NLP,
|
|||||||
export DOS_NON_COMMERCIAL_USE_PATCHES=false; #Set true to allow inclusion of non-commercial use patches XXX: Unused, see 1dc9247
|
export DOS_NON_COMMERCIAL_USE_PATCHES=false; #Set true to allow inclusion of non-commercial use patches XXX: Unused, see 1dc9247
|
||||||
export DOS_OPTIMIZE_IMAGES=false; #Set true to apply lossless optimizations to image resources
|
export DOS_OPTIMIZE_IMAGES=false; #Set true to apply lossless optimizations to image resources
|
||||||
export DOS_STRONG_ENCRYPTION_ENABLED=false; #Set true to enable AES 256-bit FDE encryption on 14.1+15.1 XXX: THIS WILL **DESTROY** EXISTING INSTALLS!
|
export DOS_STRONG_ENCRYPTION_ENABLED=false; #Set true to enable AES 256-bit FDE encryption on 14.1+15.1 XXX: THIS WILL **DESTROY** EXISTING INSTALLS!
|
||||||
|
alias DOS_WEBVIEW_CHERRYPICK='git pull "https://github.com/LineageOS/android_external_chromium-webview" refs/changes/60/312860/2';
|
||||||
|
|
||||||
#Servers
|
#Servers
|
||||||
export DOS_DEFAULT_DNS_PRESET="Cloudflare-BL"; #Sets default DNS. Options: See changeDefaultDNS() in Scripts/Common/Functions.sh
|
export DOS_DEFAULT_DNS_PRESET="Quad9"; #Sets default DNS. Options: See changeDefaultDNS() in Scripts/Common/Functions.sh
|
||||||
export DOS_GPS_NTP_SERVER="2.android.pool.ntp.org"; #Options: Any NTP pool
|
export DOS_GPS_NTP_SERVER="2.android.pool.ntp.org"; #Options: Any NTP pool
|
||||||
export DOS_GPS_SUPL_HOST="supl.google.com"; #Options: supl.{google,vodafone,sonyericsson}.com
|
export DOS_GPS_SUPL_HOST="supl.google.com"; #Options: supl.{google,vodafone,sonyericsson}.com
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user