[ROM][Android 4.4.4/5.1] CyanogenMod11/12 by ivanich [3.4Kernel][Up-To-Date][Stable]

mcfouch

Senior Member
Apr 8, 2013
287
101
68
49
PARIS
I completely removed 2phase freq from kernel and did some tests. Disabled kernel auditor cpu settings restore then rebooted and only after that with ondemand governor cpu freq works as it should, with enabled and disabled screen when idle it stays most of the time at 192. For some reason kernel auditor applies incorrect values to the ondemand governor. Will upload new builds tommorow.

Отправлено с моего Nexus 4 через Tapatalk

---------- Post added at 12:22 AM ---------- Previous post was at 12:16 AM ----------


I've eхpierienced the same battery drain as you until I bought new battery and replaced my 2 years old batt 2 weeks ago, and now I have 2 hours onscreen time with approx 40-50 mins games and internet radio. All this with 25-28 hours uptime.

Отправлено с моего Nexus 4 через Tapatalk
I changed governor, badass instead of ondemand and now cpu1 use the 2nd phase freq of badass 918MHz. So it's not specific to ondemand 2nd phase.
 

ivanich

Senior Member
Nov 6, 2011
1,167
2,612
143
Odessa, Kyiv
I changed governor, badass instead of ondemand and now cpu1 use the 2nd phase freq of badass 918MHz. So it's not specific to ondemand 2nd phase.
Try disable ketnel auditor and reboot, it should help. Yeah, two phase governors is a mess, requires tweaking but I prefer to remove badass instead of wasting time to fix it.

Отправлено с моего Nexus 4 через Tapatalk
 
Last edited:
  • Like
Reactions: mcfouch

mcfouch

Senior Member
Apr 8, 2013
287
101
68
49
PARIS
Try disable ketnel auditor and reboot, it should help. Yeah, two phase governors is a mess, requires tweaking but I prefer to remove badass instead of wasting time to fix it.

Отправлено с моего Nexus 4 через Tapatalk
You are right Ivanich, kernel auditor is the culprit. I have removed ka + reboot and ondemand or badass work fine again on 0227 build.
I let you the decision to keep your last commits.
Two questions : which app do you advice to tune kernel ?
How about interactions between governors with touchboost feature and one in intelliplug ?

Will update cm12.1 + gapps on today builds tomorrow.
 

ivanich

Senior Member
Nov 6, 2011
1,167
2,612
143
Odessa, Kyiv
You are right Ivanich, kernel auditor is the culprit. I have removed ka + reboot and ondemand or badass work fine again on 0227 build.
I let you the decision to keep your last commits.
Two questions : which app do you advice to tune kernel ?
How about interactions between governors with touchboost feature and one in intelliplug ?

Will update cm12.1 + gapps on today builds tomorrow.
Not tried other kernel tuning apps so far.BTW, you can fill a bugreport for KA here https://github.com/Grarak/KernelAdiutor/issues
Just google about it, because it should acting identically on all devices, only number of cpu cores different.
 
  • Like
Reactions: mcfouch

ivanich

Senior Member
Nov 6, 2011
1,167
2,612
143
Odessa, Kyiv
I have same problem. The most stupid that I can't in any way close this app.
So, what I need to do with my phone?) Add something in build.prop (what?) to skip Wizard or try older Gapps.
EDIT:
After trying with different Gapps - I think it is not Gapps error, so I try to install an older version of the ROM.
EDIT:
Ok, with older ROM (26.01 or 01/26) Gapps works fine. And I have not seen Setup Wizard from Gapps (only from CyanogenMod), so I think on newest ROM (28.02 or 02/28) Setup Wizard by Gapps somehow overwrites Cyanogen's.
Upstream broke setup wizard as well
https://github.com/CyanogenMod/android_vendor_cm/commit/08843f3cff3c4914aa0971395a7d1ac1328d6882
 

mcfouch

Senior Member
Apr 8, 2013
287
101
68
49
PARIS
Ivanich, after this story with KA, I want to resume the tests of intelliplug and di it manually with sysfs.
I created an init script where I disable msm_mpdecision and enable intelliplug with :
Code:
echo 0 > /sys/kernel/msm_mpdecision/conf/enabled
echo 1 > /sys/module/intelli_plug/parameters/intelli_plug_active
But kmesg still show
Code:
[MPDEC]: Screen -> on. Activated mpdecision. | Mask=[1100]
[MPDEC]: Screen -> off. Deactivated mpdecision.
Is it normal ? or must I add this ?
Code:
echo 0 > /sys/kernel/msm_mpdecision/conf/scroff_single_core
 

0xbadc0de

Member
Aug 10, 2012
13
0
0
Hello guys! I need some help. Today i updated the CM12 from 20151107 to the 20160303 release and run into the issue. Almost all apps stopped to work properly and complaining about missing rw rights on the external SD-card. It wasn't a clean install, just an update to a recent rom(no errors). I didn't found anything here in thread about it. I'm a little confused. What should i do?
 

mcfouch

Senior Member
Apr 8, 2013
287
101
68
49
PARIS
Here are the results of my tests about Intelliplug with cm-12.1-20160303 :
Sometime, just after the screen off and pressing power on, capacitive buttons remain switched on, screen black, and phone crashed. I can't reboot even with vol-/vol+/pwr on sequence. I need to lift up the battery.
I managed to reproduce problem during an adb session.
kernel log : http://ovh.to/pu7AYCv
logcat : http://ovh.to/8mQazrT
 

ivanich

Senior Member
Nov 6, 2011
1,167
2,612
143
Odessa, Kyiv
Ivanich, after this story with KA, I want to resume the tests of intelliplug and di it manually with sysfs.
I created an init script where I disable msm_mpdecision and enable intelliplug with :
Code:
echo 0 > /sys/kernel/msm_mpdecision/conf/enabled
echo 1 > /sys/module/intelli_plug/parameters/intelli_plug_active
But kmesg still show
Code:
[MPDEC]: Screen -> on. Activated mpdecision. | Mask=[1100]
[MPDEC]: Screen -> off. Deactivated mpdecision.
Is it normal ? or must I add this ?
Code:
echo 0 > /sys/kernel/msm_mpdecision/conf/scroff_single_core
It's ok, scroff_single_core should be disabled too.

---------- Post added at 11:24 AM ---------- Previous post was at 11:24 AM ----------

Here are the results of my tests about Intelliplug with cm-12.1-20160303 :
Sometime, just after the screen off and pressing power on, capacitive buttons remain switched on, screen black, and phone crashed. I can't reboot even with vol-/vol+/pwr on sequence. I need to lift up the battery.
I managed to reproduce problem during an adb session.
kernel log : http://ovh.to/pu7AYCv
logcat : http://ovh.to/8mQazrT
Can't reproduce.
 

andy hall

Senior Member
Mar 3, 2011
959
276
83
After two days use of cn12 ; now all of google apps are stopped! like when i hadn't been flashed gapps package on cn12. why?
When you say stopped, do you mean stopped working / connecting / logging in to your account or have gone missing?
Make sure the account is still able to sync in settings.
 

Arsinn

Senior Member
Jan 16, 2016
63
6
0
When you say stopped, do you mean stopped working / connecting / logging in to your account or have gone missing?
Make sure the account is still able to sync in settings.
I mean stopped working like this :

this happens for camera ;gallery;music ;browser and....
 

wordsleft

Member
Oct 5, 2009
6
3
0
Sensation XE
HBOOT 1.29
S-OFF
patition SD as fat32+ext4+swap
=========
cm-12.1-20160308-UNOFFICIAL-pyramid.zip
TWRP-3.0.0-pyramid-r4.img → error 7 also show something like " E:/TWRP NOT LOAD"
TWRP-3.0.0-pyramid-r3.img no error succeed
=========
THANKS and waiting for update