diff --git a/Manifests/Manifest_LAOS-15.1.xml b/Manifests/Manifest_LAOS-15.1.xml index 22bf5c1f..7cbf87eb 100644 --- a/Manifests/Manifest_LAOS-15.1.xml +++ b/Manifests/Manifest_LAOS-15.1.xml @@ -15,6 +15,7 @@ + @@ -48,7 +49,6 @@ - diff --git a/Patches/LineageOS-15.1/android_packages_apps_LineageParts/0001-Remove_Analytics-Pre_Trust.patch b/Patches/LineageOS-15.1/android_packages_apps_LineageParts/0001-Remove_Analytics-Pre_Trust.patch new file mode 100644 index 00000000..50cbd31f --- /dev/null +++ b/Patches/LineageOS-15.1/android_packages_apps_LineageParts/0001-Remove_Analytics-Pre_Trust.patch @@ -0,0 +1,128 @@ +From 192de0fd289b2d22f4258745370fd13d68107b71 Mon Sep 17 00:00:00 2001 +From: Tad +Date: Mon, 12 Feb 2018 03:10:11 -0500 +Subject: [PATCH] Remove analytics + +Change-Id: I9d1bcd4a6afa492bfc1e7a9e6f13875fda4353d2 +--- + AndroidManifest.xml | 25 ------------------------- + proguard.flags | 1 - + res/values/config.xml | 3 --- + res/values/strings.xml | 22 ---------------------- + res/xml/parts_catalog.xml | 5 ----- + 5 files changed, 56 deletions(-) + +diff --git a/AndroidManifest.xml b/AndroidManifest.xml +index 6e2cd9b..e4a0d26 100644 +--- a/AndroidManifest.xml ++++ b/AndroidManifest.xml +@@ -207,31 +207,6 @@ + android:resource="@string/style_summary" /> + + +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- + + + +- +- https://stats.lineageos.org/api/v1/stats +- + + true + +diff --git a/res/values/strings.xml b/res/values/strings.xml +index 4f5b47b..173c133 100644 +--- a/res/values/strings.xml ++++ b/res/values/strings.xml +@@ -537,28 +537,6 @@ + Total commits: %2$s

+ Last update: %3$s]]> + +- +- +- LineageOS statistics +- Help make LineageOS better by opting into anonymous statistics reporting +- About +- Opting into LineageOS Statistics will allow non-personal data to be submitted to the +- developers of LineageOS to track unique installations across devices. The information submitted includes an unique identifier, +- which does not compromise your privacy or personal data. The data is submitted during each boot.\n\nFor an example of the data that is submitted, tap on Preview Data. +- Enable reporting +- Preview data +- View stats +- Learn more +- +- +- Unique ID +- Device +- Version +- Country +- Carrier +- Stats collection +- Allow installation metrics and device statistics to be collected +- + + Auto-rotate screen + Rotation settings +diff --git a/res/xml/parts_catalog.xml b/res/xml/parts_catalog.xml +index db18231..440e1aa 100644 +--- a/res/xml/parts_catalog.xml ++++ b/res/xml/parts_catalog.xml +@@ -74,11 +74,6 @@ + android:fragment="org.lineageos.lineageparts.statusbar.StatusBarSettings" + lineage:xmlRes="@xml/status_bar_settings" /> + +- +- + -Date: Mon, 12 Feb 2018 03:10:11 -0500 +Date: Thu, 19 Apr 2018 20:46:02 -0400 Subject: [PATCH] Remove analytics -Change-Id: I9d1bcd4a6afa492bfc1e7a9e6f13875fda4353d2 +Change-Id: Idcc15bfeda4805b305423534663429942abd1bcf --- - AndroidManifest.xml | 25 ------------------------- - proguard.flags | 1 - - res/values/config.xml | 3 --- - res/values/strings.xml | 22 ---------------------- - res/xml/parts_catalog.xml | 5 ----- - 5 files changed, 56 deletions(-) + AndroidManifest.xml | 25 ------------------------- + proguard.flags | 1 - + res/values/config.xml | 3 --- + res/values/strings.xml | 22 ---------------------- + res/xml/parts_catalog.xml | 5 ----- + res/xml/trust_preferences.xml | 2 -- + 6 files changed, 58 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml -index 6e2cd9b..e4a0d26 100644 +index 237db74..26d4a34 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml -@@ -207,31 +207,6 @@ - android:resource="@string/style_summary" /> +@@ -251,31 +251,6 @@ + android:resource="@string/expanded_desktop_settings_summary" />
- @@ -75,10 +76,10 @@ index d49bab4..e510fdf 100644 true diff --git a/res/values/strings.xml b/res/values/strings.xml -index 4f5b47b..173c133 100644 +index 0a3e654..8d744ac 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml -@@ -537,28 +537,6 @@ +@@ -535,28 +535,6 @@ Total commits: %2$s

Last update: %3$s]]> @@ -108,7 +109,7 @@ index 4f5b47b..173c133 100644 Auto-rotate screen Rotation settings diff --git a/res/xml/parts_catalog.xml b/res/xml/parts_catalog.xml -index db18231..440e1aa 100644 +index 5e2a106..d33e345 100644 --- a/res/xml/parts_catalog.xml +++ b/res/xml/parts_catalog.xml @@ -74,11 +74,6 @@ @@ -123,6 +124,18 @@ index db18231..440e1aa 100644 + +- + + -- -2.16.1 +2.17.0 diff --git a/Scripts/LineageOS-15.1/CVE_Patchers/android_kernel_lge_msm8996.sh b/Scripts/LineageOS-15.1/CVE_Patchers/android_kernel_lge_msm8996.sh index 7b773687..7f840e70 100644 --- a/Scripts/LineageOS-15.1/CVE_Patchers/android_kernel_lge_msm8996.sh +++ b/Scripts/LineageOS-15.1/CVE_Patchers/android_kernel_lge_msm8996.sh @@ -24,7 +24,6 @@ git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0043.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0045.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0046.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0050.patch -git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0011.patch git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0012.patch git apply $cvePatchesLinux/CVE-2014-9900/ANY/0001.patch git apply $cvePatchesLinux/CVE-2015-2041/^3.19/0002.patch @@ -49,25 +48,14 @@ git apply $cvePatchesLinux/CVE-2017-0610/ANY/0002.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-11031/3.18/0001.patch git apply $cvePatchesLinux/CVE-2017-11045/ANY/0001.patch -git apply $cvePatchesLinux/CVE-2017-11075/ANY/0001.patch -git apply $cvePatchesLinux/CVE-2017-11093/3.18/0001.patch git apply $cvePatchesLinux/CVE-2017-13162/3.18/0001.patch git apply $cvePatchesLinux/CVE-2017-13245/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-13246/ANY/0001.patch -git apply $cvePatchesLinux/CVE-2017-14880/3.18/0002.patch -git apply $cvePatchesLinux/CVE-2017-14891/ANY/0001.patch -git apply $cvePatchesLinux/CVE-2017-14892/ANY/0001.patch -git apply $cvePatchesLinux/CVE-2017-15826/3.18/0001.patch -git apply $cvePatchesLinux/CVE-2017-15834/ANY/0001.patch -git apply $cvePatchesLinux/CVE-2017-15846/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-15846/ANY/0002.patch -git apply $cvePatchesLinux/CVE-2017-15850/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-16650/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-16USB/ANY/0009.patch -git apply $cvePatchesLinux/CVE-2017-17769/ANY/0001.patch -git apply $cvePatchesLinux/CVE-2017-18061/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-18066/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-5669/^4.9/0001.patch git apply $cvePatchesLinux/CVE-2017-5972/ANY/0002.patch @@ -83,5 +71,5 @@ git apply $cvePatchesLinux/CVE-2016-6693/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-6696/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-0610/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch -editKernelLocalversion "-dos.p83" +editKernelLocalversion "-dos.p71" cd $base diff --git a/Scripts/LineageOS-15.1/CVE_Patchers/android_kernel_moto_shamu.sh b/Scripts/LineageOS-15.1/CVE_Patchers/android_kernel_moto_shamu.sh index 80686432..38d8d4c7 100644 --- a/Scripts/LineageOS-15.1/CVE_Patchers/android_kernel_moto_shamu.sh +++ b/Scripts/LineageOS-15.1/CVE_Patchers/android_kernel_moto_shamu.sh @@ -42,7 +42,6 @@ git apply $cvePatchesLinux/CVE-2017-11024/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-11473/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-11600/3.10/0001.patch git apply $cvePatchesLinux/CVE-2017-13245/ANY/0001.patch -git apply $cvePatchesLinux/CVE-2017-14877/3.10/0001.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-16537/^4.13/0001.patch @@ -64,5 +63,5 @@ git apply $cvePatchesLinux/CVE-2017-9242/^4.11/0001.patch git apply $cvePatchesLinux/LVT-2017-0003/3.10/0001.patch git apply $cvePatchesLinux/CVE-2016-2475/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch -editKernelLocalversion "-dos.p64" +editKernelLocalversion "-dos.p63" cd $base diff --git a/Scripts/LineageOS-15.1/Functions.sh b/Scripts/LineageOS-15.1/Functions.sh index 6f07ce5e..73f5f8d2 100644 --- a/Scripts/LineageOS-15.1/Functions.sh +++ b/Scripts/LineageOS-15.1/Functions.sh @@ -59,6 +59,7 @@ patchWorkspace() { repopick 209188; #g3-common cherry picks repopick 211404 211405 211406 211407 211408 211409; #d852 cherry picks repopick 205021; #d855 cherry picks + repopick -t trust_interface; #repopick -t calendar-o; source $scripts/Patch.sh; diff --git a/Scripts/LineageOS-15.1/Patch.sh b/Scripts/LineageOS-15.1/Patch.sh index 32c1b243..1541ce46 100755 --- a/Scripts/LineageOS-15.1/Patch.sh +++ b/Scripts/LineageOS-15.1/Patch.sh @@ -128,7 +128,6 @@ enterAndClear "packages/apps/Settings" git revert a96df110e84123fe1273bff54feca3b4ca484dcd #don't hide oem unlock sed -i 's/private int mPasswordMaxLength = 16;/private int mPasswordMaxLength = 48;/' src/com/android/settings/password/ChooseLockPassword.java; #Increase max password length sed -i 's/GSETTINGS_PROVIDER = "com.google.settings";/GSETTINGS_PROVIDER = "com.google.oQuae4av";/' src/com/android/settings/PrivacySettings.java; #MicroG doesn't support Backup, hide the options -patch -p1 < $patches"android_packages_apps_Settings/0002-Remove_Analytics.patch" #Remove analytics enterAndClear "packages/apps/SetupWizard" patch -p1 < $patches"android_packages_apps_SetupWizard/0001-Remove_Analytics.patch" #Remove analytics