diff --git a/Patches/LineageOS-14.1/android_device_motorola_clark/0001-Build_Fix.patch b/Patches/LineageOS-14.1/android_device_motorola_clark/0001-Build_Fix.patch deleted file mode 100644 index 3a900f4f..00000000 --- a/Patches/LineageOS-14.1/android_device_motorola_clark/0001-Build_Fix.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 6fdf689f450e577750212ac5f0d3ffce50965651 Mon Sep 17 00:00:00 2001 -From: Tad -Date: Thu, 17 Nov 2016 15:39:23 -0500 -Subject: [PATCH] Fix build failure - -Change-Id: I94282a3df32daa97992c17476b0eb3e8f21e2499 ---- - overlay/frameworks/base/core/res/res/values/config.xml | 6 ------ - 1 file changed, 6 deletions(-) - -diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml -index e0358e2..0b0549b 100644 ---- a/overlay/frameworks/base/core/res/res/values/config.xml -+++ b/overlay/frameworks/base/core/res/res/values/config.xml -@@ -421,9 +421,6 @@ - format is UMTS|LTE|... --> - GSM | WCDMA | LTE | CDMA | EVDO - -- -- com.qualcomm.location -- - - "lte:2097152,4194304,8388608,262144,524288,1048576" - "lte_ca:2097152,4194304,8388608,262144,524288,1048576" -@@ -442,9 +439,6 @@ - rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max --> - 524288,2097152,4194304,262144,524288,1048576 - -- -- true -- - - true - --- -2.9.3 - diff --git a/Patches/LineageOS-14.1/android_device_motorola_clark/0002-Remove_Sprint_DM.patch b/Patches/LineageOS-14.1/android_device_motorola_clark/0002-Remove_Sprint_DM.patch deleted file mode 100644 index bc7a1243..00000000 --- a/Patches/LineageOS-14.1/android_device_motorola_clark/0002-Remove_Sprint_DM.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 269eca0bb61728b592134368ce12917e8ed3ba72 Mon Sep 17 00:00:00 2001 -From: Tad -Date: Tue, 17 Jan 2017 18:14:28 -0500 -Subject: [PATCH] Remove Sprint Blobs - -Change-Id: Ie2a25519742b16a90afd44a22de34b1246d58756 ---- - proprietary-files.txt | 18 ------------------ - 1 file changed, 18 deletions(-) - -diff --git a/proprietary-files.txt b/proprietary-files.txt -index ddde463..3675ce9 100644 ---- a/proprietary-files.txt -+++ b/proprietary-files.txt -@@ -290,24 +290,6 @@ lib64/libqti-iop.so - vendor/lib/libqti-iop-client.so - vendor/lib64/libqti-iop-client.so - --# DM/Sprint ---app/DMConfigUpdate/DMConfigUpdate.apk ---app/HiddenMenu/HiddenMenu.apk --etc/permissions/com.android.omadm.service.xml --etc/sysconfig/whitelist_com.android.omadm.service.xml --lib/libdmengine.so --lib/libdmjavaplugin.so ---priv-app/CQATest/CQATest.apk ---priv-app/ConnMO/ConnMO.apk ---priv-app/DCMO/DCMO.apk ---priv-app/DMService/DMService.apk --lib/libdmengine.so:priv-app/DMService/lib/arm/libdmengine.so --lib/libdmjavaplugin.so:priv-app/DMService/lib/arm/libdmjavaplugin.so ---priv-app/DiagMon/DiagMon.apk ---priv-app/GCS/GCS.apk:priv-app/GCS/GCS.apk:PRESIGNED ---priv-app/LifetimeData/LifetimeData.apk ---priv-app/SprintDM/SprintDM.apk -- - # DRM - # TZBSP - bin/qseecomd --- -2.9.3 - diff --git a/Patches/LineageOS-14.1/android_kernel_motorola_msm8992/0004-Enable_Overclock.patch b/Patches/LineageOS-14.1/android_kernel_motorola_msm8992/0004-Enable_Overclock.patch deleted file mode 100644 index 17b6cdd1..00000000 --- a/Patches/LineageOS-14.1/android_kernel_motorola_msm8992/0004-Enable_Overclock.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 87a5b2ff5c53d13f937bdcb20ab462e4aaa61e3b Mon Sep 17 00:00:00 2001 -From: Tad -Date: Fri, 18 Nov 2016 12:38:14 -0500 -Subject: [PATCH] Enable overclock by default - -Change-Id: Idc640d7f58271892ae91678de847d9d1fcc4b281 ---- - drivers/cpufreq/qcom-cpufreq.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/drivers/cpufreq/qcom-cpufreq.c b/drivers/cpufreq/qcom-cpufreq.c -index dd3a589..4cc8680 100644 ---- a/drivers/cpufreq/qcom-cpufreq.c -+++ b/drivers/cpufreq/qcom-cpufreq.c -@@ -31,7 +31,7 @@ - - static DEFINE_MUTEX(l2bw_lock); - --static unsigned long arg_cpu_max_a53 = 1440000; -+static unsigned long arg_cpu_max_a53 = 1632000; - - static int __init cpufreq_read_cpu_max_a53(char *cpu_max_a53) - { -@@ -48,7 +48,7 @@ static int __init cpufreq_read_cpu_max_a53(char *cpu_max_a53) - } - __setup("cpu_max_a53=", cpufreq_read_cpu_max_a53); - --static unsigned long arg_cpu_max_a57 = 1824000; -+static unsigned long arg_cpu_max_a57 = 2016000; - - static int __init cpufreq_read_cpu_max_a57(char *cpu_max_a57) - { --- -2.9.3 - diff --git a/Patches/LineageOS-14.1/android_kernel_oneplus_msm8974/0002-Enable_Diag.patch b/Patches/LineageOS-14.1/android_kernel_oneplus_msm8974/0002-Enable_Diag.patch deleted file mode 100644 index 53c5d08c..00000000 --- a/Patches/LineageOS-14.1/android_kernel_oneplus_msm8974/0002-Enable_Diag.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 94d13624a7710818698d5787a7bcd7f8a272762b Mon Sep 17 00:00:00 2001 -From: Tad -Date: Sat, 17 Oct 2015 20:50:31 -0400 -Subject: [PATCH] Update defconfig - ---- - arch/arm/configs/cyanogenmod_bacon_defconfig | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/arch/arm/configs/cyanogenmod_bacon_defconfig b/arch/arm/configs/cyanogenmod_bacon_defconfig -index 33ceebd..8cb1936 100644 ---- a/arch/arm/configs/cyanogenmod_bacon_defconfig -+++ b/arch/arm/configs/cyanogenmod_bacon_defconfig -@@ -591,3 +591,6 @@ CONFIG_CRYPTO_TWOFISH=y - CONFIG_CRYPTO_DEV_QCRYPTO=y - CONFIG_CRYPTO_DEV_QCE=y - CONFIG_CRYPTO_DEV_QCEDEV=y -+ -+CONFIG_DIAG_CHAR=y -+CONFIG_DIAG_OVER_USB=y --- -2.10.2 - diff --git a/Patches/LineageOS-14.1/android_packages_apps_FDroid/0002.patch b/Patches/LineageOS-14.1/android_packages_apps_FDroid/0002.patch deleted file mode 100644 index 4ab6aa25..00000000 --- a/Patches/LineageOS-14.1/android_packages_apps_FDroid/0002.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 11419a198fb864d5479c9ce3f1ffdc63114020c0 Mon Sep 17 00:00:00 2001 -From: Daniel Micay -Date: Fri, 4 Mar 2016 08:53:19 -0500 -Subject: [PATCH] remove privileged extension settings - ---- - .../java/org/fdroid/fdroid/views/fragments/PreferencesFragment.java | 4 +++- - app/src/main/res/xml/preferences.xml | 2 ++ - 2 files changed, 5 insertions(+), 1 deletion(-) - -diff --git a/app/src/main/java/org/fdroid/fdroid/views/fragments/PreferencesFragment.java b/app/src/main/java/org/fdroid/fdroid/views/fragments/PreferencesFragment.java -index 4304b87..b94ca31 100644 ---- a/app/src/main/java/org/fdroid/fdroid/views/fragments/PreferencesFragment.java -+++ b/app/src/main/java/org/fdroid/fdroid/views/fragments/PreferencesFragment.java -@@ -41,7 +41,7 @@ - Preferences.PREF_LANGUAGE, - Preferences.PREF_KEEP_CACHE_TIME, - Preferences.PREF_EXPERT, -- Preferences.PREF_PRIVILEGED_INSTALLER, -+ //Preferences.PREF_PRIVILEGED_INSTALLER, - Preferences.PREF_ENABLE_PROXY, - Preferences.PREF_PROXY_HOST, - Preferences.PREF_PROXY_PORT, -@@ -259,8 +259,10 @@ public void onResume() { - - currentKeepCacheTime = Preferences.get().getKeepCacheTime(); - -+ /* - initPrivilegedInstallerPreference(); - initUpdatePrivilegedExtensionPreference(); -+ */ - // this pref's default is dynamically set based on whether Orbot is installed - boolean useTor = Preferences.get().isTorEnabled(); - useTorCheckPref.setDefaultValue(useTor); -diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml -index aa80594..573e443 100644 ---- a/app/src/main/res/xml/preferences.xml -+++ b/app/src/main/res/xml/preferences.xml -@@ -91,6 +91,7 @@ - android:summary="@string/unstable_updates_summary" - android:defaultValue="false" - android:dependency="expert" /> -+ - - diff --git a/Patches/LineageOS-14.1/android_packages_apps_FDroid/0004.patch b/Patches/LineageOS-14.1/android_packages_apps_FDroid/0004.patch deleted file mode 100644 index 73471f4f..00000000 --- a/Patches/LineageOS-14.1/android_packages_apps_FDroid/0004.patch +++ /dev/null @@ -1,22 +0,0 @@ -From c58e3bb0f5ee76b82c4249cd7b4432b7fb711add Mon Sep 17 00:00:00 2001 -From: Daniel Micay -Date: Tue, 6 Dec 2016 17:11:48 -0500 -Subject: [PATCH] use build tools 25.0.1 - ---- - app/build.gradle | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/app/build.gradle b/app/build.gradle -index 7ae8ca4..a81160d 100644 ---- a/app/build.gradle -+++ b/app/build.gradle -@@ -146,7 +146,7 @@ if (!hasProperty('sourceDeps')) { - - android { - compileSdkVersion 24 -- buildToolsVersion '25.0.0' -+ buildToolsVersion '25.0.1' - useLibrary 'org.apache.http.legacy' - - buildTypes { diff --git a/Patches/LineageOS-14.1/android_vendor_cm/0002-Monochromium.patch b/Patches/LineageOS-14.1/android_vendor_cm/0002-Monochromium.patch deleted file mode 100644 index f95b6484..00000000 --- a/Patches/LineageOS-14.1/android_vendor_cm/0002-Monochromium.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 99c3d764e8d8f374d327735d729d7ece1c760c9e Mon Sep 17 00:00:00 2001 -From: Tad -Date: Sun, 18 Dec 2016 18:14:40 -0500 -Subject: [PATCH] Add Chromium webview support - -Change-Id: I58c429c88d224af0e7c55ddd27eda85a8448379e ---- - .../common/frameworks/base/core/res/res/xml/config_webview_packages.xml | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/overlay/common/frameworks/base/core/res/res/xml/config_webview_packages.xml b/overlay/common/frameworks/base/core/res/res/xml/config_webview_packages.xml -index e05f4aa..fe6f40b 100644 ---- a/overlay/common/frameworks/base/core/res/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dnYEkAQpeu/QmrLiycm+OFbL1qHJIB7OuI/PQBUtcaNSiJSCVgtwtEbZWWIdsynqG/Nf4aGOndXegSQNRH54M05sRHLoeRycPrY7xQlEwGikNFR76+5UdwFBQI3Gn22g6puJnVukQm/wXQ+ajoiS4QclrNlixoDQsZ4STLH4+Wju2wIWKFFArIhVEIlbamq+p6BghuzH3aIz/Fy0YTQKi7SA+0fuNeCaqlSm5pYSt6p5CH89y1Fr+wFc5r3iLRnUwRcy08ESC7bZJnxV3d/YQ5valTxBbzku/dQbXVj/xg69H8l8M - - -+ -+ - - - --- -2.9.3 - diff --git a/Patches/LineageOS-14.1/cm_platform_sdk/0001-Provision.patch b/Patches/LineageOS-14.1/cm_platform_sdk/0001-Provision.patch deleted file mode 100644 index 0efff4de..00000000 --- a/Patches/LineageOS-14.1/cm_platform_sdk/0001-Provision.patch +++ /dev/null @@ -1,39 +0,0 @@ -From dc758da1d79c1717610564e6cb9258a2dc4a755f Mon Sep 17 00:00:00 2001 -From: Tad -Date: Wed, 25 Jan 2017 04:09:31 -0500 -Subject: [PATCH] Provision - -Change-Id: I67ffa548835499c063cc9e6349b06ddcc3e48494 ---- - .../src/org/cyanogenmod/cmsettings/CMDatabaseHelper.java | 8 ++------ - 1 file changed, 2 insertions(+), 6 deletions(-) - -diff --git a/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMDatabaseHelper.java b/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMDatabaseHelper.java -index 9b46847..606d2b9 100644 ---- a/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMDatabaseHelper.java -+++ b/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMDatabaseHelper.java -@@ -193,9 +193,7 @@ public class CMDatabaseHelper extends SQLiteOpenHelper{ - try { - stmt = db.compileStatement("INSERT INTO secure(name,value)" - + " VALUES(?,?);"); -- final String provisionedFlag = Settings.Global.getString( -- mContext.getContentResolver(), Settings.Global.DEVICE_PROVISIONED); -- loadSetting(stmt, CMSettings.Secure.CM_SETUP_WIZARD_COMPLETED, provisionedFlag); -+ loadSetting(stmt, CMSettings.Secure.CM_SETUP_WIZARD_COMPLETED, "1"); - db.setTransactionSuccessful(); - } finally { - if (stmt != null) stmt.close(); -@@ -378,9 +376,7 @@ public class CMDatabaseHelper extends SQLiteOpenHelper{ - CMSettings.Secure.ENABLED_EVENT_LIVE_LOCKS_KEY, - R.string.def_enabled_event_lls_components); - -- final String provisionedFlag = Settings.Global.getString(mContext.getContentResolver(), -- Settings.Global.DEVICE_PROVISIONED); -- loadSetting(stmt, CMSettings.Secure.CM_SETUP_WIZARD_COMPLETED, provisionedFlag); -+ loadSetting(stmt, CMSettings.Secure.CM_SETUP_WIZARD_COMPLETED, "1"); - } finally { - if (stmt != null) stmt.close(); - } --- -2.9.3 - diff --git a/Scripts/LAOS-14.1_Deblob.sh b/Scripts/LAOS-14.1_Deblob.sh index 216ace12..d65f5c8f 100644 --- a/Scripts/LAOS-14.1_Deblob.sh +++ b/Scripts/LAOS-14.1_Deblob.sh @@ -84,7 +84,7 @@ deblob() { #Verizon blobs=$blobs"|com.verizon.apn.xml|com.verizon.embms.xml|com.verizon.provider.xml|VerizonUnifiedSettings.jar|VZWAPNLib.apk|VZWAPNService.apk|VZWAVS.apk|VzwLcSilent.apk|vzw_msdc_api.apk|VzwOmaTrigger.apk|vzw_sso_permissions.xml|com.vzw.vzwapnlib.xml"; - #Voice recognition + #Voice Recognition blobs=$blobs"|aonvr1.bin|aonvr2.bin|audiomonitor|HotwordEnrollment.apk|libadpcmdec.so|liblistenhardware.so|liblistenjni.so|liblisten.so|liblistensoundmodel.so|librecoglib.so|libsmwrapper.so|libsupermodel.so|libtrainingcheck.so|sound_trigger.primary.msm8916.so|sound_trigger.primary.msm8996.so"; grep -vE "("$blobs")" $blobList > $blobList".new"; #Remove the bad blobs from the manifest @@ -111,7 +111,7 @@ deblob "device/google/marlin/" "device-proprietary-files.txt"; deblob "device/lge/bullhead/" "proprietary-blobs.txt"; deblob "device/lge/bullhead/" "proprietary-blobs-vendorimg.txt"; deblob "device/lge/hammerhead/" "proprietary-blobs.txt"; -#deblob "device/lge/mako/" "proprietary-blobs.txt"; #FIXME: Creates malformed makefiles for some reason +#deblob "device/lge/mako/" "proprietary-blobs.txt"; #FIXME: Creates malformed makefiles due to commit a85aa35fda31ef77b7424d0be108b0a5a2e71edf deblob "device/lge/vs985/" "proprietary-files.txt"; deblob "device/motorola/clark/" "proprietary-files.txt"; deblob "device/moto/shamu/" "device-proprietary-files.txt";