mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
15.1: Fixes, 14.1: Cleanup
This commit is contained in:
parent
7be3f8a556
commit
a914c813b0
@ -1,86 +0,0 @@
|
||||
The QCOM hardware KeyMaster on LineageOS 14.1 is broken
|
||||
|
||||
https://jira.lineageos.org/browse/BUGBASH-590
|
||||
https://jira.lineageos.org/browse/BUGBASH-505
|
||||
https://github.com/andOTP/andOTP/issues/16
|
||||
See https://android.stackexchange.com/questions/168168/wifi-certificate-auth-problem-on-rr-5-8-0-android-7-1-1-cyanogen-based-rom
|
||||
|
||||
12-02 10:26:50.203 3064 3064 E QCOMKeyMaster: Len returned is < 0 len = 0
|
||||
12-02 10:26:50.203 3064 3064 E Keymaster0Engine: Error -1 extracting public key
|
||||
12-02 10:26:50.206 28600 28600 W System.err: java.security.ProviderException: Failed to load generated key pair from keystore
|
||||
12-02 10:26:50.220 28600 28600 W System.err: at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.loadKeystoreKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:518)
|
||||
12-02 10:26:50.220 28600 28600 W System.err: at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.generateKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:470)
|
||||
12-02 10:26:50.220 28600 28600 W System.err: at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:699)
|
||||
12-02 10:26:50.220 28600 28600 W System.err: at org.shadowice.flocke.andotp.Utilities.KeyStoreHelper.loadOrGenerateAsymmetricKeyPair(KeyStoreHelper.java:82)
|
||||
12-02 10:26:50.220 28600 28600 W System.err: at org.shadowice.flocke.andotp.Preferences.PasswordEncryptedPreference.<init>(PasswordEncryptedPreference.java:73)
|
||||
12-02 10:26:50.220 28600 28600 W System.err: at java.lang.reflect.Constructor.newInstance0(Native Method)
|
||||
12-02 10:26:50.220 28600 28600 W System.err: at java.lang.reflect.Constructor.newInstance(Constructor.java:430)
|
||||
12-02 10:26:50.220 28600 28600 W System.err: at android.preference.GenericInflater.createItem(GenericInflater.java:385)
|
||||
12-02 10:26:50.220 28600 28600 W System.err: at android.preference.GenericInflater.createItemFromTag(GenericInflater.java:432)
|
||||
12-02 10:26:50.220 28600 28600 W System.err: at android.preference.GenericInflater.rInflate(GenericInflater.java:483)
|
||||
12-02 10:26:50.220 28600 28600 W System.err: at android.preference.GenericInflater.rInflate(GenericInflater.java:495)
|
||||
12-02 10:26:50.220 28600 28600 W System.err: at android.preference.GenericInflater.inflate(GenericInflater.java:327)
|
||||
12-02 10:26:50.220 28600 28600 W System.err: at android.preference.GenericInflater.inflate(GenericInflater.java:264)
|
||||
12-02 10:26:50.220 28600 28600 W System.err: at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:280)
|
||||
12-02 10:26:50.220 28600 28600 W System.err: at android.preference.PreferenceManager.setDefaultValues(PreferenceManager.java:609)
|
||||
12-02 10:26:50.220 28600 28600 W System.err: at android.preference.PreferenceManager.setDefaultValues(PreferenceManager.java:568)
|
||||
12-02 10:26:50.220 28600 28600 W System.err: at org.shadowice.flocke.andotp.Activities.MainActivity.onCreate(MainActivity.java:288)
|
||||
12-02 10:26:50.220 28600 28600 W System.err: at android.app.Activity.performCreate(Activity.java:6684)
|
||||
12-02 10:26:50.220 28600 28600 W System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
|
||||
12-02 10:26:50.221 28600 28600 W System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2637)
|
||||
12-02 10:26:50.221 28600 28600 W System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2751)
|
||||
12-02 10:26:50.221 28600 28600 W System.err: at android.app.ActivityThread.-wrap12(ActivityThread.java)
|
||||
12-02 10:26:50.221 28600 28600 W System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1496)
|
||||
12-02 10:26:50.221 28600 28600 W System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
|
||||
12-02 10:26:50.221 28600 28600 W System.err: at android.os.Looper.loop(Looper.java:154)
|
||||
12-02 10:26:50.221 28600 28600 W System.err: at android.app.ActivityThread.main(ActivityThread.java:6186)
|
||||
12-02 10:26:50.221 28600 28600 W System.err: at java.lang.reflect.Method.invoke(Native Method)
|
||||
12-02 10:26:50.221 28600 28600 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
|
||||
12-02 10:26:50.221 28600 28600 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
|
||||
12-02 10:26:50.221 28600 28600 W System.err: Caused by: java.security.UnrecoverableKeyException: Failed to obtain X.509 form of public key
|
||||
12-02 10:26:50.221 28600 28600 W System.err: at android.security.keystore.AndroidKeyStoreProvider.loadAndroidKeyStorePublicKeyFromKeystore(AndroidKeyStoreProvider.java:230)
|
||||
12-02 10:26:50.221 28600 28600 W System.err: at android.security.keystore.AndroidKeyStoreProvider.loadAndroidKeyStoreKeyPairFromKeystore(AndroidKeyStoreProvider.java:259)
|
||||
12-02 10:26:50.221 28600 28600 W System.err: at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.loadKeystoreKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:509)
|
||||
12-02 10:26:50.221 28600 28600 W System.err: ... 28 more
|
||||
12-02 10:26:50.221 28600 28600 W System.err: Caused by: android.security.KeyStoreException: Unknown error
|
||||
12-02 10:26:50.221 28600 28600 W System.err: at android.security.KeyStore.getKeyStoreException(KeyStore.java:676)
|
||||
12-02 10:26:50.221 28600 28600 W System.err: at android.security.keystore.AndroidKeyStoreProvider.loadAndroidKeyStorePublicKeyFromKeystore(AndroidKeyStoreProvider.java:231)
|
||||
12-02 10:26:50.221 28600 28600 W System.err: ... 30 more
|
||||
12-02 10:26:50.271 28600 28600 W System.err: java.io.FileNotFoundException: /data/user/0/org.shadowice.flocke.andotp/files/secrets.dat (No such file or directory)
|
||||
12-02 10:26:50.272 28600 28600 W System.err: at java.io.FileInputStream.open(Native Method)
|
||||
12-02 10:26:50.272 28600 28600 W System.err: at java.io.FileInputStream.<init>(FileInputStream.java:146)
|
||||
12-02 10:26:50.272 28600 28600 W System.err: at org.shadowice.flocke.andotp.Utilities.FileHelper.readFileToBytes(FileHelper.java:78)
|
||||
12-02 10:26:50.272 28600 28600 W System.err: at org.shadowice.flocke.andotp.Utilities.DatabaseHelper.loadDatabase(DatabaseHelper.java:63)
|
||||
12-02 10:26:50.272 28600 28600 W System.err: at org.shadowice.flocke.andotp.Activities.MainActivity.onCreate(MainActivity.java:327)
|
||||
12-02 10:26:50.272 28600 28600 W System.err: at android.app.Activity.performCreate(Activity.java:6684)
|
||||
12-02 10:26:50.272 28600 28600 W System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
|
||||
12-02 10:26:50.272 28600 28600 W System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2637)
|
||||
12-02 10:26:50.272 28600 28600 W System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2751)
|
||||
12-02 10:26:50.272 28600 28600 W System.err: at android.app.ActivityThread.-wrap12(ActivityThread.java)
|
||||
12-02 10:26:50.272 28600 28600 W System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1496)
|
||||
12-02 10:26:50.272 28600 28600 W System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
|
||||
12-02 10:26:50.272 28600 28600 W System.err: at android.os.Looper.loop(Looper.java:154)
|
||||
12-02 10:26:50.272 28600 28600 W System.err: at android.app.ActivityThread.main(ActivityThread.java:6186)
|
||||
12-02 10:26:50.272 28600 28600 W System.err: at java.lang.reflect.Method.invoke(Native Method)
|
||||
12-02 10:26:50.272 28600 28600 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
|
||||
12-02 10:26:50.272 28600 28600 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: java.io.FileNotFoundException: /data/user/0/org.shadowice.flocke.andotp/files/secrets.dat (No such file or directory)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: at java.io.FileInputStream.open(Native Method)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: at java.io.FileInputStream.<init>(FileInputStream.java:146)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: at org.shadowice.flocke.andotp.Utilities.FileHelper.readFileToBytes(FileHelper.java:78)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: at org.shadowice.flocke.andotp.Utilities.DatabaseHelper.loadDatabase(DatabaseHelper.java:63)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: at org.shadowice.flocke.andotp.View.EntriesCardAdapter.loadEntries(EntriesCardAdapter.java:113)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: at org.shadowice.flocke.andotp.View.EntriesCardAdapter.<init>(EntriesCardAdapter.java:81)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: at org.shadowice.flocke.andotp.Activities.MainActivity.onCreate(MainActivity.java:333)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: at android.app.Activity.performCreate(Activity.java:6684)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2637)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2751)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: at android.app.ActivityThread.-wrap12(ActivityThread.java)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1496)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: at android.os.Looper.loop(Looper.java:154)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: at android.app.ActivityThread.main(ActivityThread.java:6186)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: at java.lang.reflect.Method.invoke(Native Method)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
|
||||
12-02 10:26:50.273 28600 28600 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
|
@ -1,280 +0,0 @@
|
||||
From 74c64c5ec0f3ade9f3938b9e8634f85c77daeb42 Mon Sep 17 00:00:00 2001
|
||||
From: Tectas <adrian.stoeckl@gmail.com>
|
||||
Date: Thu, 23 Oct 2014 15:41:10 +0200
|
||||
Subject: [PATCH] arch/arm/boot/dts: Overclocking up 2.7 Ghz
|
||||
|
||||
---
|
||||
arch/arm/boot/dts/msm8974-regulator.dtsi | 8 +--
|
||||
arch/arm/boot/dts/msm8974.dtsi | 6 +-
|
||||
arch/arm/boot/dts/msm8974pro.dtsi | 96 ++++++++++++++++++++++++++------
|
||||
3 files changed, 89 insertions(+), 21 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/msm8974-regulator.dtsi b/arch/arm/boot/dts/msm8974-regulator.dtsi
|
||||
index d5e8530a96f..9e29db34874 100644
|
||||
--- a/arch/arm/boot/dts/msm8974-regulator.dtsi
|
||||
+++ b/arch/arm/boot/dts/msm8974-regulator.dtsi
|
||||
@@ -475,7 +475,7 @@
|
||||
<0xf908a800 0x1000>; /* APCS_ALIAS0_KPSS_MDD */
|
||||
reg-names = "acs", "mdd";
|
||||
regulator-min-microvolt = <500000>;
|
||||
- regulator-max-microvolt = <1100000>;
|
||||
+ regulator-max-microvolt = <1180000>;
|
||||
qcom,headroom-voltage = <150000>;
|
||||
qcom,retention-voltage = <675000>;
|
||||
qcom,ldo-default-voltage = <750000>;
|
||||
@@ -491,7 +491,7 @@
|
||||
<0xf909a800 0x1000>; /* APCS_ALIAS1_KPSS_MDD */
|
||||
reg-names = "acs", "mdd";
|
||||
regulator-min-microvolt = <500000>;
|
||||
- regulator-max-microvolt = <1100000>;
|
||||
+ regulator-max-microvolt = <1180000>;
|
||||
qcom,headroom-voltage = <150000>;
|
||||
qcom,retention-voltage = <675000>;
|
||||
qcom,ldo-default-voltage = <750000>;
|
||||
@@ -507,7 +507,7 @@
|
||||
<0xf90aa800 0x1000>; /* APCS_ALIAS2_KPSS_MDD */
|
||||
reg-names = "acs", "mdd";
|
||||
regulator-min-microvolt = <500000>;
|
||||
- regulator-max-microvolt = <1100000>;
|
||||
+ regulator-max-microvolt = <1180000>;
|
||||
qcom,headroom-voltage = <150000>;
|
||||
qcom,retention-voltage = <675000>;
|
||||
qcom,ldo-default-voltage = <750000>;
|
||||
@@ -523,7 +523,7 @@
|
||||
<0xf90ba800 0x1000>; /* APCS_ALIAS3_KPSS_MDD */
|
||||
reg-names = "acs", "mdd";
|
||||
regulator-min-microvolt = <500000>;
|
||||
- regulator-max-microvolt = <1100000>;
|
||||
+ regulator-max-microvolt = <1180000>;
|
||||
qcom,headroom-voltage = <150000>;
|
||||
qcom,retention-voltage = <675000>;
|
||||
qcom,ldo-default-voltage = <750000>;
|
||||
diff --git a/arch/arm/boot/dts/msm8974.dtsi b/arch/arm/boot/dts/msm8974.dtsi
|
||||
index 495117ff6e4..fc19c18e716 100644
|
||||
--- a/arch/arm/boot/dts/msm8974.dtsi
|
||||
+++ b/arch/arm/boot/dts/msm8974.dtsi
|
||||
@@ -1582,7 +1582,11 @@
|
||||
< 1728000 1651200 6103 >,
|
||||
< 1958400 1728000 7102 >,
|
||||
< 2265600 1728000 7102 >,
|
||||
- < 2457600 1728000 7102 >;
|
||||
+ < 2457600 1728000 7102 >,
|
||||
+ < 2534400 1728000 7102 >,
|
||||
+ < 2611200 1728000 7102 >,
|
||||
+ < 2688000 1728000 7102 >,
|
||||
+ < 2764800 1728000 7102 >;
|
||||
};
|
||||
|
||||
usb3: qcom,ssusb@f9200000 {
|
||||
diff --git a/arch/arm/boot/dts/msm8974pro.dtsi b/arch/arm/boot/dts/msm8974pro.dtsi
|
||||
index 3d03d9d2ee6..b01788d0020 100644
|
||||
--- a/arch/arm/boot/dts/msm8974pro.dtsi
|
||||
+++ b/arch/arm/boot/dts/msm8974pro.dtsi
|
||||
@@ -1036,7 +1036,11 @@
|
||||
< 2265600000 1085000 716 >,
|
||||
< 2342400000 1100000 751 >,
|
||||
< 2419200000 1115000 786 >,
|
||||
- < 2457600000 1120000 802 >;
|
||||
+ < 2457600000 1120000 802 >,
|
||||
+ < 2534400000 1135000 837 >,
|
||||
+ < 2611200000 1150000 872 >,
|
||||
+ < 2688000000 1165000 907 >,
|
||||
+ < 2764800000 1180000 942 >;
|
||||
|
||||
qcom,speed3-pvs1-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1070,7 +1074,11 @@
|
||||
< 2265600000 1075000 716 >,
|
||||
< 2342400000 1090000 751 >,
|
||||
< 2419200000 1105000 786 >,
|
||||
- < 2457600000 1110000 802 >;
|
||||
+ < 2457600000 1110000 802 >,
|
||||
+ < 2534400000 1125000 837 >,
|
||||
+ < 2611200000 1140000 872 >,
|
||||
+ < 2688000000 1155000 907 >,
|
||||
+ < 2764800000 1170000 942 >;
|
||||
|
||||
qcom,speed3-pvs2-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1104,7 +1112,11 @@
|
||||
< 2265600000 1065000 716 >,
|
||||
< 2342400000 1080000 751 >,
|
||||
< 2419200000 1095000 786 >,
|
||||
- < 2457600000 1100000 802 >;
|
||||
+ < 2457600000 1100000 802 >,
|
||||
+ < 2534400000 1115000 837 >,
|
||||
+ < 2611200000 1130000 872 >,
|
||||
+ < 2688000000 1145000 907 >,
|
||||
+ < 2764800000 1160000 942 >;
|
||||
|
||||
qcom,speed3-pvs3-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1138,7 +1150,11 @@
|
||||
< 2265600000 1055000 716 >,
|
||||
< 2342400000 1070000 751 >,
|
||||
< 2419200000 1085000 786 >,
|
||||
- < 2457600000 1090000 802 >;
|
||||
+ < 2457600000 1090000 802 >,
|
||||
+ < 2534400000 1105000 837 >,
|
||||
+ < 2611200000 1120000 872 >,
|
||||
+ < 2688000000 1135000 907 >,
|
||||
+ < 2764800000 1150000 942 >;
|
||||
|
||||
qcom,speed3-pvs4-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1172,7 +1188,11 @@
|
||||
< 2265600000 1045000 716 >,
|
||||
< 2342400000 1060000 751 >,
|
||||
< 2419200000 1075000 786 >,
|
||||
- < 2457600000 1080000 802 >;
|
||||
+ < 2457600000 1080000 802 >,
|
||||
+ < 2534400000 1095000 837 >,
|
||||
+ < 2611200000 1110000 872 >,
|
||||
+ < 2688000000 1125000 907 >,
|
||||
+ < 2764800000 1140000 942 >;
|
||||
|
||||
qcom,speed3-pvs5-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1206,7 +1226,11 @@
|
||||
< 2265600000 1035000 716 >,
|
||||
< 2342400000 1050000 751 >,
|
||||
< 2419200000 1065000 786 >,
|
||||
- < 2457600000 1070000 802 >;
|
||||
+ < 2457600000 1070000 802 >,
|
||||
+ < 2534400000 1085000 837 >,
|
||||
+ < 2611200000 1100000 872 >,
|
||||
+ < 2688000000 1115000 907 >,
|
||||
+ < 2764800000 1130000 942 >;
|
||||
|
||||
qcom,speed3-pvs6-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1240,7 +1264,11 @@
|
||||
< 2265600000 1025000 716 >,
|
||||
< 2342400000 1040000 751 >,
|
||||
< 2419200000 1055000 786 >,
|
||||
- < 2457600000 1060000 802 >;
|
||||
+ < 2457600000 1060000 802 >,
|
||||
+ < 2534400000 1075000 837 >,
|
||||
+ < 2611200000 1090000 872 >,
|
||||
+ < 2688000000 1105000 907 >,
|
||||
+ < 2764800000 1120000 942 >;
|
||||
|
||||
qcom,speed3-pvs7-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1274,7 +1302,11 @@
|
||||
< 2265600000 1015000 716 >,
|
||||
< 2342400000 1030000 751 >,
|
||||
< 2419200000 1045000 786 >,
|
||||
- < 2457600000 1050000 802 >;
|
||||
+ < 2457600000 1050000 802 >,
|
||||
+ < 2534400000 1065000 837 >,
|
||||
+ < 2611200000 1080000 872 >,
|
||||
+ < 2688000000 1095000 907 >,
|
||||
+ < 2764800000 1110000 942 >;
|
||||
|
||||
qcom,speed3-pvs8-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1308,7 +1340,11 @@
|
||||
< 2265600000 1005000 716 >,
|
||||
< 2342400000 1020000 751 >,
|
||||
< 2419200000 1035000 786 >,
|
||||
- < 2457600000 1040000 802 >;
|
||||
+ < 2457600000 1040000 802 >,
|
||||
+ < 2534400000 1055000 837 >,
|
||||
+ < 2611200000 1070000 872 >,
|
||||
+ < 2688000000 1085000 907 >,
|
||||
+ < 2764800000 1100000 942 >;
|
||||
|
||||
qcom,speed3-pvs9-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1342,7 +1378,11 @@
|
||||
< 2265600000 995000 716 >,
|
||||
< 2342400000 1010000 751 >,
|
||||
< 2419200000 1025000 786 >,
|
||||
- < 2457600000 1030000 802 >;
|
||||
+ < 2457600000 1030000 802 >,
|
||||
+ < 2534400000 1045000 837 >,
|
||||
+ < 2611200000 1060000 872 >,
|
||||
+ < 2688000000 1075000 907 >,
|
||||
+ < 2764800000 1090000 942 >;
|
||||
|
||||
qcom,speed3-pvs10-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1376,7 +1416,11 @@
|
||||
< 2265600000 985000 716 >,
|
||||
< 2342400000 1000000 751 >,
|
||||
< 2419200000 1015000 786 >,
|
||||
- < 2457600000 1020000 802 >;
|
||||
+ < 2457600000 1020000 802 >,
|
||||
+ < 2534400000 1035000 837 >,
|
||||
+ < 2611200000 1050000 872 >,
|
||||
+ < 2688000000 1065000 907 >,
|
||||
+ < 2764800000 1080000 942 >;
|
||||
|
||||
qcom,speed3-pvs11-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1410,7 +1454,11 @@
|
||||
< 2265600000 975000 716 >,
|
||||
< 2342400000 990000 751 >,
|
||||
< 2419200000 1005000 786 >,
|
||||
- < 2457600000 1010000 802 >;
|
||||
+ < 2457600000 1010000 802 >,
|
||||
+ < 2534400000 1025000 837 >,
|
||||
+ < 2611200000 1040000 872 >,
|
||||
+ < 2688000000 1055000 907 >,
|
||||
+ < 2764800000 1070000 942 >;
|
||||
|
||||
qcom,speed3-pvs12-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1444,7 +1492,11 @@
|
||||
< 2265600000 965000 716 >,
|
||||
< 2342400000 980000 751 >,
|
||||
< 2419200000 995000 786 >,
|
||||
- < 2457600000 1000000 802 >;
|
||||
+ < 2457600000 1000000 802 >,
|
||||
+ < 2534400000 1015000 837 >,
|
||||
+ < 2611200000 1030000 872 >,
|
||||
+ < 2688000000 1045000 907 >,
|
||||
+ < 2764800000 1060000 942 >;
|
||||
|
||||
qcom,speed3-pvs13-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1478,7 +1530,11 @@
|
||||
< 2265600000 955000 716 >,
|
||||
< 2342400000 970000 751 >,
|
||||
< 2419200000 985000 786 >,
|
||||
- < 2457600000 990000 802 >;
|
||||
+ < 2457600000 990000 802 >,
|
||||
+ < 2534400000 1005000 837 >,
|
||||
+ < 2611200000 1020000 872 >,
|
||||
+ < 2688000000 1035000 907 >,
|
||||
+ < 2764800000 1050000 942 >;
|
||||
|
||||
qcom,speed3-pvs14-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1512,7 +1568,11 @@
|
||||
< 2265600000 945000 716 >,
|
||||
< 2342400000 960000 751 >,
|
||||
< 2419200000 975000 786 >,
|
||||
- < 2457600000 980000 802 >;
|
||||
+ < 2457600000 980000 802 >,
|
||||
+ < 2534400000 995000 837 >,
|
||||
+ < 2611200000 1010000 872 >,
|
||||
+ < 2688000000 1025000 907 >,
|
||||
+ < 2764800000 1040000 942 >;
|
||||
|
||||
qcom,speed3-pvs15-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1546,7 +1606,11 @@
|
||||
< 2265600000 935000 716 >,
|
||||
< 2342400000 950000 751 >,
|
||||
< 2419200000 965000 786 >,
|
||||
- < 2457600000 970000 802 >;
|
||||
+ < 2457600000 970000 802 >,
|
||||
+ < 2534400000 985000 837 >,
|
||||
+ < 2611200000 1000000 872 >,
|
||||
+ < 2688000000 1015000 907 >,
|
||||
+ < 2764800000 1030000 942 >;
|
||||
};
|
||||
|
||||
i2c@f9928000 { /* BLSP-1 QUP-6 */
|
@ -1,82 +0,0 @@
|
||||
From 2d16761887d7fb80da131b5cf38e32bcc94a3011 Mon Sep 17 00:00:00 2001
|
||||
From: Tectas <adrian.stoeckl@gmail.com>
|
||||
Date: Mon, 17 Nov 2014 21:21:08 +0100
|
||||
Subject: [PATCH] arch/arm/boot/dts: Raise max microvolt at cpu for pm8941 and
|
||||
pma8084
|
||||
|
||||
---
|
||||
arch/arm/boot/dts/msm8974pro-pm8941.dtsi | 8 ++++----
|
||||
arch/arm/boot/dts/msm8974pro-pma8084-regulator.dtsi | 8 ++++----
|
||||
2 files changed, 8 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/msm8974pro-pm8941.dtsi b/arch/arm/boot/dts/msm8974pro-pm8941.dtsi
|
||||
index b5020789bbb..2c5dd3d4416 100644
|
||||
--- a/arch/arm/boot/dts/msm8974pro-pm8941.dtsi
|
||||
+++ b/arch/arm/boot/dts/msm8974pro-pm8941.dtsi
|
||||
@@ -39,22 +39,22 @@
|
||||
};
|
||||
|
||||
&krait0_vreg {
|
||||
- regulator-max-microvolt = <1120000>;
|
||||
+ regulator-max-microvolt = <1180000>;
|
||||
qcom,ldo-delta-voltage = <12500>;
|
||||
};
|
||||
|
||||
&krait1_vreg {
|
||||
- regulator-max-microvolt = <1120000>;
|
||||
+ regulator-max-microvolt = <1180000>;
|
||||
qcom,ldo-delta-voltage = <12500>;
|
||||
};
|
||||
|
||||
&krait2_vreg {
|
||||
- regulator-max-microvolt = <1120000>;
|
||||
+ regulator-max-microvolt = <1180000>;
|
||||
qcom,ldo-delta-voltage = <12500>;
|
||||
};
|
||||
|
||||
&krait3_vreg {
|
||||
- regulator-max-microvolt = <1120000>;
|
||||
+ regulator-max-microvolt = <1180000>;
|
||||
qcom,ldo-delta-voltage = <12500>;
|
||||
};
|
||||
|
||||
diff --git a/arch/arm/boot/dts/msm8974pro-pma8084-regulator.dtsi b/arch/arm/boot/dts/msm8974pro-pma8084-regulator.dtsi
|
||||
index 433d466a3ee..8674dee3096 100644
|
||||
--- a/arch/arm/boot/dts/msm8974pro-pma8084-regulator.dtsi
|
||||
+++ b/arch/arm/boot/dts/msm8974pro-pma8084-regulator.dtsi
|
||||
@@ -492,7 +492,7 @@
|
||||
<0xf908a800 0x1000>; /* APCS_ALIAS0_KPSS_MDD */
|
||||
reg-names = "acs", "mdd";
|
||||
regulator-min-microvolt = <500000>;
|
||||
- regulator-max-microvolt = <1120000>;
|
||||
+ regulator-max-microvolt = <1180000>;
|
||||
qcom,headroom-voltage = <150000>;
|
||||
qcom,retention-voltage = <675000>;
|
||||
qcom,ldo-default-voltage = <750000>;
|
||||
@@ -508,7 +508,7 @@
|
||||
<0xf909a800 0x1000>; /* APCS_ALIAS1_KPSS_MDD */
|
||||
reg-names = "acs", "mdd";
|
||||
regulator-min-microvolt = <500000>;
|
||||
- regulator-max-microvolt = <1120000>;
|
||||
+ regulator-max-microvolt = <1180000>;
|
||||
qcom,headroom-voltage = <150000>;
|
||||
qcom,retention-voltage = <675000>;
|
||||
qcom,ldo-default-voltage = <750000>;
|
||||
@@ -524,7 +524,7 @@
|
||||
<0xf90aa800 0x1000>; /* APCS_ALIAS2_KPSS_MDD */
|
||||
reg-names = "acs", "mdd";
|
||||
regulator-min-microvolt = <500000>;
|
||||
- regulator-max-microvolt = <1120000>;
|
||||
+ regulator-max-microvolt = <1180000>;
|
||||
qcom,headroom-voltage = <150000>;
|
||||
qcom,retention-voltage = <675000>;
|
||||
qcom,ldo-default-voltage = <750000>;
|
||||
@@ -540,7 +540,7 @@
|
||||
<0xf90ba800 0x1000>; /* APCS_ALIAS3_KPSS_MDD */
|
||||
reg-names = "acs", "mdd";
|
||||
regulator-min-microvolt = <500000>;
|
||||
- regulator-max-microvolt = <1120000>;
|
||||
+ regulator-max-microvolt = <1180000>;
|
||||
qcom,headroom-voltage = <150000>;
|
||||
qcom,retention-voltage = <675000>;
|
||||
qcom,ldo-default-voltage = <750000>;
|
@ -1,38 +0,0 @@
|
||||
From 74a364df2dfe05460cffd081ac3bab672faf346c Mon Sep 17 00:00:00 2001
|
||||
From: Tectas <adrian.stoeckl@gmail.com>
|
||||
Date: Thu, 20 Nov 2014 21:28:16 +0100
|
||||
Subject: [PATCH] arch/arm/boot/dts: Add more frequencies for UC
|
||||
|
||||
---
|
||||
arch/arm/boot/dts/msm8974.dtsi | 8 ++++++++
|
||||
1 file changed, 8 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/msm8974.dtsi b/arch/arm/boot/dts/msm8974.dtsi
|
||||
index fc19c18e716..83ead25e266 100644
|
||||
--- a/arch/arm/boot/dts/msm8974.dtsi
|
||||
+++ b/arch/arm/boot/dts/msm8974.dtsi
|
||||
@@ -1569,6 +1569,7 @@
|
||||
compatible = "qcom,msm-cpufreq";
|
||||
qcom,cpufreq-table =
|
||||
< 300000 300000 572 >,
|
||||
+ < 345600 300000 572 >,
|
||||
< 422400 422400 1144 >,
|
||||
< 652800 499200 1525 >,
|
||||
< 729600 576000 2342 >,
|
||||
@@ -1579,9 +1580,16 @@
|
||||
< 1267200 1267200 4684 >,
|
||||
< 1497600 1497600 4684 >,
|
||||
< 1574400 1574400 6103 >,
|
||||
+ < 1651200 1574400 6103 >,
|
||||
< 1728000 1651200 6103 >,
|
||||
+ < 1804800 1651200 6103 >,
|
||||
< 1958400 1728000 7102 >,
|
||||
+ < 2035200 1728000 7102 >,
|
||||
+ < 2112000 1728000 7102 >,
|
||||
+ < 2188800 1728000 7102 >,
|
||||
< 2265600 1728000 7102 >,
|
||||
+ < 2342400 1728000 7102 >,
|
||||
+ < 2419200 1728000 7102 >,
|
||||
< 2457600 1728000 7102 >,
|
||||
< 2534400 1728000 7102 >,
|
||||
< 2611200 1728000 7102 >,
|
@ -1,39 +0,0 @@
|
||||
From 52b1a7fd2f9379f703d0d9f368faba1e993c37b8 Mon Sep 17 00:00:00 2001
|
||||
From: Tectas <adrian.stoeckl@gmail.com>
|
||||
Date: Wed, 26 Nov 2014 09:36:19 +0100
|
||||
Subject: [PATCH] arch/arm/boot/dts: Remove some UC steps for better
|
||||
performance
|
||||
|
||||
---
|
||||
arch/arm/boot/dts/msm8974.dtsi | 5 -----
|
||||
1 file changed, 5 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/msm8974.dtsi b/arch/arm/boot/dts/msm8974.dtsi
|
||||
index 83ead25e266..de83da943dd 100644
|
||||
--- a/arch/arm/boot/dts/msm8974.dtsi
|
||||
+++ b/arch/arm/boot/dts/msm8974.dtsi
|
||||
@@ -1569,7 +1569,6 @@
|
||||
compatible = "qcom,msm-cpufreq";
|
||||
qcom,cpufreq-table =
|
||||
< 300000 300000 572 >,
|
||||
- < 345600 300000 572 >,
|
||||
< 422400 422400 1144 >,
|
||||
< 652800 499200 1525 >,
|
||||
< 729600 576000 2342 >,
|
||||
@@ -1580,16 +1579,12 @@
|
||||
< 1267200 1267200 4684 >,
|
||||
< 1497600 1497600 4684 >,
|
||||
< 1574400 1574400 6103 >,
|
||||
- < 1651200 1574400 6103 >,
|
||||
< 1728000 1651200 6103 >,
|
||||
< 1804800 1651200 6103 >,
|
||||
< 1958400 1728000 7102 >,
|
||||
- < 2035200 1728000 7102 >,
|
||||
< 2112000 1728000 7102 >,
|
||||
< 2188800 1728000 7102 >,
|
||||
- < 2265600 1728000 7102 >,
|
||||
< 2342400 1728000 7102 >,
|
||||
- < 2419200 1728000 7102 >,
|
||||
< 2457600 1728000 7102 >,
|
||||
< 2534400 1728000 7102 >,
|
||||
< 2611200 1728000 7102 >,
|
@ -54,7 +54,7 @@
|
||||
launcher:x="4"
|
||||
launcher:y="0" >
|
||||
<favorite
|
||||
launcher:packageName="org.cyanogenmod.snap"
|
||||
launcher:packageName="org.lineageos.snap"
|
||||
launcher:className="com.android.camera.CameraLauncher" />
|
||||
<favorite
|
||||
launcher:packageName="com.android.camera2"
|
||||
|
@ -54,7 +54,7 @@
|
||||
launcher:x="4"
|
||||
launcher:y="0" >
|
||||
<favorite
|
||||
launcher:packageName="org.cyanogenmod.snap"
|
||||
launcher:packageName="org.lineageos.snap"
|
||||
launcher:className="com.android.camera.CameraLauncher" />
|
||||
<favorite
|
||||
launcher:packageName="com.android.camera2"
|
||||
|
@ -54,7 +54,7 @@
|
||||
launcher:x="5"
|
||||
launcher:y="0" >
|
||||
<favorite
|
||||
launcher:packageName="org.cyanogenmod.snap"
|
||||
launcher:packageName="org.lineageos.snap"
|
||||
launcher:className="com.android.camera.CameraLauncher" />
|
||||
<favorite
|
||||
launcher:packageName="com.android.camera2"
|
||||
|
@ -1,35 +0,0 @@
|
||||
#!/bin/bash
|
||||
cd $base"kernel/lge/g3"
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/0010-Accelerated_AES/3.4/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2014-9781/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-6640/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3857/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3892/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-8406/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-9576/3.4/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0610/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0611/3.4/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0786/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-1000111/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11090/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11473/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13215/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13246/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-17558/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-8246/3.4/0002.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.p31"
|
||||
cd $base
|
@ -16,7 +16,7 @@
|
||||
#along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
patchAllKernels() {
|
||||
startPatcher "kernel_amazon_hdx-common kernel_asus_msm8916 kernel_fairphone_msm8974 kernel_htc_msm8994 kernel_lge_g3 kernel_lge_hammerhead kernel_lge_msm8992 kernel_lge_msm8996 kernel_motorola_msm8916 kernel_motorola_msm8992 kernel_nextbit_msm8992 kernel_samsung_jf kernel_samsung_msm8974 kernel_samsung_smdk4412 kernel_samsung_universal8890";
|
||||
startPatcher "kernel_amazon_hdx-common kernel_asus_msm8916 kernel_fairphone_msm8974 kernel_htc_msm8994 kernel_lge_hammerhead kernel_lge_msm8992 kernel_lge_msm8996 kernel_motorola_msm8916 kernel_motorola_msm8992 kernel_nextbit_msm8992 kernel_samsung_jf kernel_samsung_msm8974 kernel_samsung_smdk4412 kernel_samsung_universal8890";
|
||||
}
|
||||
export -f patchAllKernels;
|
||||
|
||||
@ -33,10 +33,8 @@ export -f buildDevice;
|
||||
buildAll() {
|
||||
#Select devices are userdebug due to SELinux policy issues
|
||||
#TODO: Add victara, griffin, athene, us997, us996, pme, t0lte, hlte
|
||||
brunch lineage_d852-userdebug;
|
||||
brunch lineage_thor-userdebug;
|
||||
brunch lineage_clark-user;
|
||||
brunch lineage_d855-userdebug;
|
||||
brunch lineage_ether-user;
|
||||
brunch lineage_FP2-user;
|
||||
# brunch lineage_h815-user; - (UPSTREAM) drivers/input/touchscreen/DS5/RefCode_CustomerImplementation.c:147:1: warning: the frame size of 2064 bytes is larger than 2048 bytes
|
||||
|
@ -25,12 +25,6 @@ patch -p1 < $patches"android_kernel_amazon_hdx-common/0002-Overclock.patch"
|
||||
patch -p1 < $patches"android_kernel_amazon_hdx-common/0003-Overclock.patch"
|
||||
patch -p1 < $patches"android_kernel_amazon_hdx-common/0004-Overclock.patch"
|
||||
|
||||
enter "kernel/lge/g3"
|
||||
patch -p1 < $patches"android_kernel_lge_g3/0001-Overclock.patch" #2.45Ghz -> 2.76Ghz =+1.24Ghz
|
||||
patch -p1 < $patches"android_kernel_lge_g3/0002-Overclock.patch"
|
||||
patch -p1 < $patches"android_kernel_lge_g3/0003-Overclock.patch"
|
||||
patch -p1 < $patches"android_kernel_lge_g3/0004-Overclock.patch"
|
||||
|
||||
enter "kernel/lge/hammerhead"
|
||||
patch -p1 < $patches"android_kernel_lge_hammerhead/0001-Overclock.patch" #2.26Ghz -> 2.95Ghz =+2.76Ghz XXX: Untested!
|
||||
|
||||
|
@ -54,8 +54,11 @@ export -f buildAll;
|
||||
|
||||
patchWorkspace() {
|
||||
source build/envsetup.sh;
|
||||
repopick 205021 206123 209030 211095; #Cherry picks
|
||||
repopick 206123 211095; #cherry picks
|
||||
repopick 209030; #fix contacts being deleted
|
||||
repopick 209188; #g3-common cherry picks
|
||||
repopick 211404 211405 211406 211407 211408 211409; #d852 cherry picks
|
||||
repopick 205021; #d855 cherry picks
|
||||
#repopick -t calendar-o;
|
||||
|
||||
source $scripts/Patch.sh;
|
||||
|
@ -180,8 +180,12 @@ sed -i 's/config_enableRecoveryUpdater">false/config_enableRecoveryUpdater">true
|
||||
#
|
||||
#START OF DEVICE CHANGES
|
||||
#
|
||||
enterAndClear "device/lge/g3-common"
|
||||
echo "allow wcnss_service block_device:dir search;" >> sepolicy/wcnss_service.te; #fix incorrect Wi-Fi MAC address
|
||||
|
||||
enterAndClear "device/lge/mako"
|
||||
cp $patches"android_device_lge_mako/proprietary-blobs.txt" proprietary-blobs.txt; #update that? nah
|
||||
echo "/dev/block/platform/msm_sdcc\.1/by-name/misc u:object_r:misc_block_device:s0" >> sepolicy/file_contexts; #fix uncrypt denial
|
||||
|
||||
enterAndClear "device/oppo/msm8974-common"
|
||||
sed -i "s/TZ.BF.2.0-2.0.0134/TZ.BF.2.0-2.0.0134|TZ.BF.2.0-2.0.0137/" board-info.txt; #Suport new TZ firmware https://review.lineageos.org/#/c/178999/
|
||||
|
Loading…
Reference in New Issue
Block a user