mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
Many Changes
- Remove more projects via manifests - Fix FDroidPrivExt inclusion - 14.1: Remove Jelly - Remove leftovers from LG G2
This commit is contained in:
parent
800bd2f985
commit
2d8bab800c
@ -11,6 +11,23 @@
|
||||
<remove-project name="device/sample" />
|
||||
<remove-project name="LineageOS/android_external_ant-wireless_ant_native" />
|
||||
<remove-project name="LineageOS/android_external_ant-wireless_ant_service" />
|
||||
<remove-project name="LineageOS/android_external_bash" />
|
||||
<remove-project name="LineageOS/android_external_htop" />
|
||||
<remove-project name="LineageOS/android_external_libncurses" />
|
||||
<remove-project name="LineageOS/android_external_nano" />
|
||||
<remove-project name="LineageOS/android_external_openssh" />
|
||||
<remove-project name="LineageOS/android_external_powertop" />
|
||||
<remove-project name="LineageOS/android_external_rsync" />
|
||||
<remove-project name="LineageOS/android_external_unrar" />
|
||||
<remove-project name="LineageOS/android_external_vim" />
|
||||
<!-- Untested
|
||||
<remove-project name="LineageOS/android_external_libtar" />
|
||||
<remove-project name="LineageOS/android_external_ntfs-3g" />
|
||||
<remove-project name="LineageOS/android_external_p7zip" />
|
||||
<remove-project name="LineageOS/android_external_pigz" />
|
||||
<remove-project name="LineageOS/android_external_unzip" />
|
||||
<remove-project name="LineageOS/android_external_yaffs2" />
|
||||
<remove-project name="LineageOS/android_external_zip" />-->
|
||||
<remove-project name="LineageOS/android_hardware_intel_common_libmix" />
|
||||
<remove-project name="LineageOS/android_hardware_intel_common_libva" />
|
||||
<remove-project name="LineageOS/android_hardware_intel_common_libwsbm" />
|
||||
@ -68,22 +85,6 @@
|
||||
<remove-project name="platform/prebuilts/go/darwin-x86" />
|
||||
<remove-project name="platform/prebuilts/ninja/darwin-x86" />
|
||||
<remove-project name="platform/prebuilts/python/darwin-x86/2.7.5" />
|
||||
<remove-project name="LineageOS/android_external_unrar" />
|
||||
<!-- Untested
|
||||
<remove-project name="LineageOS/android_external_bash" />
|
||||
<remove-project name="LineageOS/android_external_htop" />
|
||||
<remove-project name="LineageOS/android_external_libncurses" />
|
||||
<remove-project name="LineageOS/android_external_libtar" />
|
||||
<remove-project name="LineageOS/android_external_nano" />
|
||||
<remove-project name="LineageOS/android_external_ntfs-3g" />
|
||||
<remove-project name="LineageOS/android_external_openssh" />
|
||||
<remove-project name="LineageOS/android_external_p7zip" />
|
||||
<remove-project name="LineageOS/android_external_pigz" />
|
||||
<remove-project name="LineageOS/android_external_rsync" />
|
||||
<remove-project name="LineageOS/android_external_unzip" />
|
||||
<remove-project name="LineageOS/android_external_vim" />
|
||||
<remove-project name="LineageOS/android_external_yaffs2" />
|
||||
<remove-project name="LineageOS/android_external_zip" />-->
|
||||
<!-- END OF UNNECESSARY REPO REMOVAL -->
|
||||
|
||||
<!-- START OF ADDITIONAL REPOS -->
|
||||
|
@ -11,7 +11,23 @@
|
||||
<remove-project name="device/sample" />
|
||||
<remove-project name="LineageOS/android_external_ant-wireless_ant_native" />
|
||||
<remove-project name="LineageOS/android_external_ant-wireless_ant_service" />
|
||||
<remove-project name="LineageOS/android_external_bash" />
|
||||
<remove-project name="LineageOS/android_external_htop" />
|
||||
<remove-project name="LineageOS/android_external_libncurses" />
|
||||
<remove-project name="LineageOS/android_external_nano" />
|
||||
<remove-project name="LineageOS/android_external_openssh" />
|
||||
<remove-project name="LineageOS/android_external_powertop" />
|
||||
<remove-project name="LineageOS/android_external_rsync" />
|
||||
<remove-project name="LineageOS/android_external_unrar" />
|
||||
<remove-project name="LineageOS/android_external_vim" />
|
||||
<!-- Untested
|
||||
<remove-project name="LineageOS/android_external_libtar" />
|
||||
<remove-project name="LineageOS/android_external_ntfs-3g" />
|
||||
<remove-project name="LineageOS/android_external_p7zip" />
|
||||
<remove-project name="LineageOS/android_external_pigz" />
|
||||
<remove-project name="LineageOS/android_external_unzip" />
|
||||
<remove-project name="LineageOS/android_external_yaffs2" />
|
||||
<remove-project name="LineageOS/android_external_zip" />-->
|
||||
<remove-project name="LineageOS/android_packages_apps_Jelly" />
|
||||
<remove-project name="LineageOS/android_packages_apps_LockClock" />
|
||||
<remove-project name="LineageOS/android_packages_apps_ManagedProvisioning" />
|
||||
@ -53,21 +69,6 @@
|
||||
<remove-project name="platform/prebuilts/gdb/darwin-x86" />
|
||||
<remove-project name="platform/prebuilts/go/darwin-x86" />
|
||||
<remove-project name="platform/prebuilts/python/darwin-x86/2.7.5" />
|
||||
<!-- Untested
|
||||
<remove-project name="LineageOS/android_external_bash" />
|
||||
<remove-project name="LineageOS/android_external_htop" />
|
||||
<remove-project name="LineageOS/android_external_libncurses" />
|
||||
<remove-project name="LineageOS/android_external_libtar" />
|
||||
<remove-project name="LineageOS/android_external_nano" />
|
||||
<remove-project name="LineageOS/android_external_ntfs-3g" />
|
||||
<remove-project name="LineageOS/android_external_openssh" />
|
||||
<remove-project name="LineageOS/android_external_p7zip" />
|
||||
<remove-project name="LineageOS/android_external_pigz" />
|
||||
<remove-project name="LineageOS/android_external_rsync" />
|
||||
<remove-project name="LineageOS/android_external_unzip" />
|
||||
<remove-project name="LineageOS/android_external_vim" />
|
||||
<remove-project name="LineageOS/android_external_yaffs2" />
|
||||
<remove-project name="LineageOS/android_external_zip" />-->
|
||||
<!-- END OF UNNECESSARY REPO REMOVAL -->
|
||||
|
||||
<!-- START OF ADDITIONAL REPOS -->
|
||||
|
@ -13,7 +13,7 @@ PRODUCT_PACKAGES += \
|
||||
# F-Droid
|
||||
PRODUCT_PACKAGES += \
|
||||
F-Droid \
|
||||
FDroidPrivilegedExtension
|
||||
F-DroidPrivilegedExtension
|
||||
|
||||
# Others
|
||||
PRODUCT_PACKAGES += \
|
||||
|
@ -13,7 +13,7 @@ PRODUCT_PACKAGES += \
|
||||
# F-Droid
|
||||
PRODUCT_PACKAGES += \
|
||||
F-Droid \
|
||||
FDroidPrivilegedExtension
|
||||
F-DroidPrivilegedExtension
|
||||
|
||||
# Others
|
||||
PRODUCT_PACKAGES += \
|
||||
|
@ -1,27 +0,0 @@
|
||||
#!/bin/bash
|
||||
cd $base"kernel/lge/msm8974"
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-8939/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-0806/prima/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-0806/prima/0006.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-0806/prima/0007.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-0806/prima/0010.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-6751/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0648/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11473/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16525/^4.13/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16526/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16532/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16533/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16535/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16537/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16650/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0005.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0006.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-7487/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch
|
||||
editKernelLocalversion "-dos.p23"
|
||||
cd $base
|
@ -36,13 +36,6 @@ sed -i '/string\/rooted/!b;n;s/defaultValue="true"/defaultValue="false"/' app/sr
|
||||
sed -i 's|DEFAULT_HIDE_ANTI_FEATURE_APPS = false;|DEFAULT_HIDE_ANTI_FEATURE_APPS = true;|' app/src/main/java/org/fdroid/fdroid/Preferences.java; #Hide anti-feature apps
|
||||
sed -i '/string\/hide_anti_feature_apps/!b;n;s/defaultValue="false"/defaultValue="true"/' app/src/main/res/xml/preferences.xml;
|
||||
|
||||
enter "packages/apps/Jelly"
|
||||
sed -i 's|default_suggestion_provider">GOOGLE|default_suggestion_provider">NONE|' app/src/main/res/values/strings.xml; #Disable search suggestions
|
||||
sed -i 's|KEY_LOCATION, true|KEY_LOCATION, false|' app/src/main/java/org/lineageos/jelly/utils/PrefsUtils.java; #Disable location
|
||||
sed -i 's|KEY_DO_NOT_TRACK, false|KEY_DO_NOT_TRACK, true|' app/src/main/java/org/lineageos/jelly/utils/PrefsUtils.java; #Enable do not track
|
||||
sed -i 's|KEY_SAVE_FORM_DATA, true|KEY_SAVE_FORM_DATA, false|' app/src/main/java/org/lineageos/jelly/utils/PrefsUtils.java; #Disable form data saving
|
||||
sed -i 's|KEY_REMOVE_IDENTIFYING_HEADERS, false|KEY_REMOVE_IDENTIFYING_HEADERS, true|' app/src/main/java/org/lineageos/jelly/utils/PrefsUtils.java; #Remove certain headers
|
||||
|
||||
enter "packages/apps/Nfc"
|
||||
sed -i 's/static final boolean NFC_ON_DEFAULT = true;/static final boolean NFC_ON_DEFAULT = false;/' src/com/android/nfc/NfcService.java; #Disable NFC
|
||||
sed -i 's/static final boolean NDEF_PUSH_ON_DEFAULT = true;/static final boolean NDEF_PUSH_ON_DEFAULT = false;/' src/com/android/nfc/NfcService.java; #Disable NDEF Push
|
||||
|
Loading…
Reference in New Issue
Block a user