mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-23 06:29:22 -05:00
11.0: More work
This commit is contained in:
parent
da5485d873
commit
72cbab9b7a
6
LICENSE
6
LICENSE
@ -5,13 +5,15 @@ Below are the license mappings for all of the files found in this repository. Al
|
|||||||
Manifests - GPLv3
|
Manifests - GPLv3
|
||||||
Misc - GPLv3
|
Misc - GPLv3
|
||||||
Patches/
|
Patches/
|
||||||
Android - Apache-2.0
|
Common/
|
||||||
LineageOS-*/
|
|
||||||
android_packages_apps_FDroid* - GPLv2
|
android_packages_apps_FDroid* - GPLv2
|
||||||
|
[Everything Else] - Apache-2.0
|
||||||
|
LineageOS-*/
|
||||||
android_kernel_* - GPLv2
|
android_kernel_* - GPLv2
|
||||||
*/Copperhead/* - Copperhead CC BY-NC-SA, Only enabled via NON_COMMERCIAL_USE_PATCHES option
|
*/Copperhead/* - Copperhead CC BY-NC-SA, Only enabled via NON_COMMERCIAL_USE_PATCHES option
|
||||||
[Everything Else] - Apache-2.0
|
[Everything Else] - Apache-2.0
|
||||||
Linux - GPLv2
|
Linux - GPLv2
|
||||||
|
Overclocks - GPLv2
|
||||||
Wallpapers - Unsplash License https://unsplash.com/license
|
Wallpapers - Unsplash License https://unsplash.com/license
|
||||||
PrebuiltApps/
|
PrebuiltApps/
|
||||||
android_vendor_FDroid_PrebuiltApps/Packages - Dependent on app
|
android_vendor_FDroid_PrebuiltApps/Packages - Dependent on app
|
||||||
|
@ -70,7 +70,7 @@ enterAndClear "external/sqlite";
|
|||||||
patch -p1 < "$DOS_PATCHES/android_external_sqlite/0001-Secure_Delete.patch"; #Enable secure_delete by default (CopperheadOS-13.0)
|
patch -p1 < "$DOS_PATCHES/android_external_sqlite/0001-Secure_Delete.patch"; #Enable secure_delete by default (CopperheadOS-13.0)
|
||||||
|
|
||||||
enterAndClear "frameworks/base";
|
enterAndClear "frameworks/base";
|
||||||
sed -i 's/com.android.mms/org.smssecure.smssecure/' core/res/res/values/config.xml; #Change default SMS app to Silence
|
#sed -i 's/com.android.mms/org.smssecure.smssecure/' core/res/res/values/config.xml; #Change default SMS app to Silence
|
||||||
sed -i 's|db_default_journal_mode">PERSIST|db_default_journal_mode">TRUNCATE|' core/res/res/values/config.xml; #Mirror SQLite secure_delete
|
sed -i 's|db_default_journal_mode">PERSIST|db_default_journal_mode">TRUNCATE|' core/res/res/values/config.xml; #Mirror SQLite secure_delete
|
||||||
if [ "$DOS_MICROG_INCLUDED" = "FULL" ]; then patch -p1 < "$DOS_PATCHES/android_frameworks_base/0001-Signature_Spoofing.patch"; fi; #Allow packages to spoof their signature (microG)
|
if [ "$DOS_MICROG_INCLUDED" = "FULL" ]; then patch -p1 < "$DOS_PATCHES/android_frameworks_base/0001-Signature_Spoofing.patch"; fi; #Allow packages to spoof their signature (microG)
|
||||||
if [ "$DOS_MICROG_INCLUDED" = "FULL" ]; then patch -p1 < "$DOS_PATCHES/android_frameworks_base/0002-Harden_Sig_Spoofing.patch"; fi; #Restrict signature spoofing to system apps signed with the platform key
|
if [ "$DOS_MICROG_INCLUDED" = "FULL" ]; then patch -p1 < "$DOS_PATCHES/android_frameworks_base/0002-Harden_Sig_Spoofing.patch"; fi; #Restrict signature spoofing to system apps signed with the platform key
|
||||||
@ -127,7 +127,7 @@ patch -p1 < "$DOS_PATCHES/android_system_core/0001-Harden_Mounts.patch"; #Harden
|
|||||||
enterAndClear "vendor/cm";
|
enterAndClear "vendor/cm";
|
||||||
rm -rf terminal;
|
rm -rf terminal;
|
||||||
awk -i inplace '!/50-cm.sh/' config/common.mk; #Make sure our hosts is always used
|
awk -i inplace '!/50-cm.sh/' config/common.mk; #Make sure our hosts is always used
|
||||||
sed -i '3iinclude vendor/cm/config/sce.mk' config/common.mk; #Include extra apps
|
#sed -i '3iinclude vendor/cm/config/sce.mk' config/common.mk; #Include extra apps
|
||||||
if [ "$DOS_DEBLOBBER_REMOVE_AUDIOFX" = true ]; then
|
if [ "$DOS_DEBLOBBER_REMOVE_AUDIOFX" = true ]; then
|
||||||
awk -i inplace '!/DSPManager/' config/common.mk;
|
awk -i inplace '!/DSPManager/' config/common.mk;
|
||||||
fi;
|
fi;
|
||||||
@ -150,11 +150,12 @@ if [ "$DOS_NON_COMMERCIAL_USE_PATCHES" = true ]; then sed -i 's/CM_BUILDTYPE :=
|
|||||||
enterAndClear "device/asus/grouper";
|
enterAndClear "device/asus/grouper";
|
||||||
mv cm.mk lineage.mk;
|
mv cm.mk lineage.mk;
|
||||||
sed -i 's/cm_/lineage_/' lineage.mk;
|
sed -i 's/cm_/lineage_/' lineage.mk;
|
||||||
|
#In proprietary/Android.mk
|
||||||
|
# Remove widevine and tf_daemon
|
||||||
|
|
||||||
enterAndClear "device/zte/nex"
|
enterAndClear "device/zte/nex"
|
||||||
sed -i 's/ro.sf.lcd_density=240/ro.sf.lcd_density=180/' system.prop;
|
sed -i 's/ro.sf.lcd_density=240/ro.sf.lcd_density=180/' system.prop;
|
||||||
echo "TARGET_DISPLAY_USE_RETIRE_FENCE := true" >> BoardConfig.mk;
|
echo "TARGET_DISPLAY_USE_RETIRE_FENCE := true" >> BoardConfig.mk;
|
||||||
#echo "TARGET_QCOM_DISPLAY_VARIANT := caf" >> BoardConfig.mk;
|
|
||||||
sed -i 's/libm libc/libm libc libutils/' charger/Android.mk;
|
sed -i 's/libm libc/libm libc libutils/' charger/Android.mk;
|
||||||
mv cm.mk lineage.mk;
|
mv cm.mk lineage.mk;
|
||||||
sed -i 's/cm_/lineage_/' lineage.mk vendorsetup.sh;
|
sed -i 's/cm_/lineage_/' lineage.mk vendorsetup.sh;
|
||||||
|
Loading…
Reference in New Issue
Block a user