[Moto G 2015 Original Android Development] incognito369:
I have read many of you previous posts and know that it works fine for you and that you have run at least 2 of the ROMs that I have tried. There is no need for personal attack just because someone's experience differs from yours.

Please read my previous posts more carefully, I have done a full clean install but will clarify with more detail so their is no confusion.

-I formatted system, cache, dalvik cache, data, and internal.

Tried both:

-flash ROM and kernel did initial boot and installed only ka to test.

And

-flash ROM did initial boot, install ka to test CPU scaling, reboot to twrp and install kernel, reboot to system and run ka to test.

Even without running ka to test it is obvious during bootup when the CPU isn't scaling to higher frequencies properly because bootup takes longer and the boot animation is choppy. It is especially noticeable on initial bootup when it has to build art cache.

Could you suggest another kernel tuner to try. Also do recommend another ROM I should try.

I could care less about synthetic benchmark scores. What matters to me is real world usage of the phone and when in takes seconds longer to do most things and things are laggy it is blatantly obvious without running benchmarks.

I don't doubt that this great kernel works fine for most.

While writing this post I was thinking about the log I had attached to the first post. Before I took logs or started posting I had a hunch based on the fact that few have this problem. I speculated that due to CPU binning that some chips might have a lower Max voltage but thought it was unlikely.

After looking at my log again I decided to compare the source code of two kernels, firekernel and agni.

part of my log again:

[ 1302.901722,0] cpr_apc_set: apc_corner: set: vdd_apc = 1385000 uV: rc=-22
[ 1302.964986,0] 8916_s2: requested voltage range [1385000, 1385000] does not fit within constraints: [1000000, 1375000]

from firekernel github source code file: arch/arm/boot/dts/qcom/msm8916-regulator.dtsi (cpu freq issue on my phone)

@@ -17,8 +17,8 @@
compatible = "qcom,spm-regulator";
regulator-name = "8916_s2";
reg = <0x1700 0x100>;
-	regulator-min-microvolt = <1050000>;
-	regulator-max-microvolt = <1350000>;
+	regulator-min-microvolt = <1000000>;
+	regulator-max-microvolt = <1385000>;
};
};
};
@@ -48,10 +48,10 @@
regulator-name = "apc_corner";
qcom,cpr-fuse-corners = <3>;
regulator-min-microvolt = <1>;
-	regulator-max-microvolt = <9>;
+	regulator-max-microvolt = <16>;

-	qcom,cpr-voltage-ceiling = <1050000 1150000 1350000>;
-	qcom,cpr-voltage-floor = <1050000 1050000 1162500>;
+	qcom,cpr-voltage-ceiling = <1000000 1150000 1385000>;
+	qcom,cpr-voltage-floor = <1000000 1050000 1275000>;
vdd-apc-supply = <&pm8916_s2>;

qcom,vdd-mx-corner-map = <4 5 7>;
@@ -83,9 +83,9 @@
<27 36 6 0>,
<27 18 6 0>,
<27 0 6 0>;
-	qcom,cpr-init-voltage-ref = <1050000 1150000 1350000>;
+	qcom,cpr-init-voltage-ref = <1000000 1150000 1385000>;
qcom,cpr-init-voltage-step = <10000>;
-	qcom,cpr-corner-map = <1 1 2 2 3 3 3 3 3>;
+	qcom,cpr-corner-map = <1 1 2 2 3 3 3 3 3 3 3 3 3 3 3 3>;
qcom,cpr-corner-frequency-map =
<1 200000000>,
<2 400000000>,
@@ -95,13 +95,20 @@
<6 1094400000>,
<7 1152000000>,
<8 1209600000>,
-	<9 1363200000>;
+	<9 1248000000>,
+	<10 1363200000>,
+	<11 1401600000>,
+	<12 1497600000>,
+	<13 1593600000>,
+	<14 1689600000>,
+	<15 1785600000>,
+	<16 1881600000>;
qcom,speed-bin-fuse-sel = <1 34 3 0>;
qcom,pvs-version-fuse-sel = <0 55 2 0>;
qcom,cpr-speed-bin-max-corners =
-	<0 0 2 4 8>,
+	<0 0 2 4 16>,
<0 1 2 4 7>,
-	<2 0 2 4 9>;
+	<2 0 2 4 16>;
qcom,cpr-quot-adjust-scaling-factor-max = <650>;
qcom,cpr-enable;
};

from AGNi_pureMOTO github source code file: arch/arm/boot/dts/qcom/msm8916-regulator.dtsi (cpu freq scales fine)

@@ -18,7 +18,7 @@
regulator-name = "8916_s2";
reg = <0x1700 0x100>;
regulator-min-microvolt = <1000000>;
-	regulator-max-microvolt = <1350000>;
+	regulator-max-microvolt = <1375000>;
};
};
};
@@ -48,10 +48,10 @@
regulator-name = "apc_corner";
qcom,cpr-fuse-corners = <3>;
regulator-min-microvolt = <1>;
-	regulator-max-microvolt = <10>;
+	regulator-max-microvolt = <15>;

-	qcom,cpr-voltage-ceiling = <1050000 1100000 1300000>;
-	qcom,cpr-voltage-floor = <1000000 1000000 1080000>;
+	qcom,cpr-voltage-ceiling = <1000000 1150000 1375000>;
+	qcom,cpr-voltage-floor = <1000000 1150000 1275000>;
vdd-apc-supply = <&pm8916_s2>;

qcom,vdd-mx-corner-map = <4 5 7>;
@@ -83,9 +83,9 @@
<27 36 6 0>,
<27 18 6 0>,
<27 0 6 0>;
-	qcom,cpr-init-voltage-ref = <1020000 1080000 1270000>;
+	qcom,cpr-init-voltage-ref = <1000000 1150000 1375000>;
qcom,cpr-init-voltage-step = <10000>;
-	qcom,cpr-corner-map = <1 1 2 2 3 3 3 3 3 3>;
+	qcom,cpr-corner-map = <1 1 2 2 3 3 3 3 3 3 3 3 3 3 3>;
qcom,cpr-corner-frequency-map =
<1 200000000>,
<2 400000000>,
@@ -95,14 +95,19 @@
<6 1094400000>,
<7 1152000000>,
<8 1209600000>,
-	<9 1363200000>,
- <10 1401600000>;
+	<9 1248000000>,
+	<10 1363200000>,
+ <11 1401600000>,
+	<12 1497600000>,
+	<13 1593600000>,
+	<14 1689600000>,
+	<15 1785600000>;
qcom,speed-bin-fuse-sel = <1 34 3 0>;
qcom,pvs-version-fuse-sel = <0 55 2 0>;
qcom,cpr-speed-bin-max-corners =
-	<0 0 2 4 10>,
+	<0 0 2 4 15>,
<0 1 2 4 7>,
-	<2 0 2 4 10>;
+	<2 0 2 4 15>;
qcom,cpr-quot-adjust-scaling-factor-max = <650>;
qcom,cpr-enable;
};

There might be more differences in the commits relating to overclocking, but based on my log, voltages is what I focused on. I am no kernel developer but based on these files and my log, for some reason my device only likes a regulator-max-microvolt of 1375000 and has issues with a higher voltage like 1385000 and based on the voltage tables limits the frequency accordingly.

I would like to test any kernel that i was having issues with with the max voltages set lo a lower value of 1375000 if someone would be so kind as to accommodate me. I can provide logs as well.

thank you