yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] spinkick:
To be safe you can flash to stock then flash to the lean if you want to try it out.
[Nexus 6  Original Android Development] Imoseyon:
My flashable zip and boot image includes ramdisk, so you can flash leankernel over any custom kernels out there. You may need to clean out some old settings left by franco app or other kernel tweaking apps.
[Nexus 6  Original Android Development] BRKotucs:
Awesome! Thanks a lot guys.. Will report back.
[Nexus 6  Original Android Development] beyeond:
[MENTION=3357040]Imoseyon[/MENTION] I haven't had the wake issue yet on the new release. It's still too early to tell but if it doesn't happen again for the rest of the night I'd say the issue is fixed.
[Nexus 6  Original Android Development] sn0warmy:
So happy to say that I've now been using v1.10.1 for over 24 hours and it's been absolutely flawless. It's the first version of any custom kernel I've used (including franco, elemental, faux, and lean kernel) that didn't have either stuttering/lag issues, issues with half the screen not turning on, or battery drain problems.

This version has been 100% perfect for me and I can't thank you enough [MENTION=3357040]Imoseyon[/MENTION]!

[MENTION=4770693]Krunk83[/MENTION]

[MENTION=710997]funcrusher[/MENTION]
[Nexus 6  Original Android Development] Krunk83:
I'd stick with it if I could figure out how to decrease the vibration. Franco's version is great too.
[Nexus 6  Original Android Development] knitler:
I think trickstermod lets you change it.
[Nexus 6  Original Android Development] Imoseyon:
lkconfig also configures vibration strength!
[Nexus 6  Original Android Development] rignfool:
Speaking of lkconfig...

2 requests... A turn off mpdecision and 4 cores on choice...

And max frequency setting

I started running this without mpdecision... And its awesome on battery... But on reboot only 2 cores come online

Sent from my Nexus 6
[Nexus 6  Original Android Development] bigant262:
Anyone have a guide or anything that explains OC/UC and turning mpdecision on or off? I see a lot of people saying they get awesome battery life, and the majority seem to tweak some things, I usually end up with about 3hrs of screen on time when I hit about 20% battery and trying to figure out if tweaking the kernel would help me at all.
[Nexus 6  Original Android Development] Imoseyon:
You mean only two cores come online and then the other cores never come online? that should not happen...

As for lkconfig including mpdecision tweaks, I've been thinking about that for a long time. One one hand, leankernel is designed to be a drop in replacement for stock (meaning it's meant to run with stock mpdecision), on the other hand I'd like to make things super easy for users who want to tweak mpdecision... Maybe :)

Read the FAQ (2nd post) first? - if you have more questions after that I (or other folks here) can help you.

Also keep in mind that screen on time is not the same for everyone. I can turn up brightness all the way and have terrible screen on time regardless of tweaks. :)
[Nexus 6  Original Android Development] eep2378:
I was on Franco for a bit too. Now back on lean. You won't be disappointed [emoji2]
[Nexus 6  Original Android Development] Krunk83:
Worked flawlessly.

Nexus 6
[Nexus 6  Original Android Development] bigant262:
Thanks! So if I read correctly, turning off cpu boost is essentially turning off mpdecision?
[Nexus 6  Original Android Development] Imoseyon:
That kinda depends on what you want to do. If defeating mpdecision is your ultimate goal (for whatever reason), you want to either 1) turn off mpdecision or 2) flash nofreq mpdecision, *plus* turn off cpu boost.

I know this can get kinda confusing - that's why I usually just tell people to leave mpdecision and cpuboost alone. :cool:
[Nexus 6  Original Android Development] Cheater912:
Where can I donate? On Tapatalk so I can't see most links.
[Nexus 6  Original Android Development] PeenX2:
I can't get those RGB settings to stick in lkconfig. Once display turns off, it reverts back to 255 255 255. I've tried changing all the display settings (eg; Adaptive, Ambient display). Can anyone replicate this or is just me? Running Liquid Smooth and the newest lean kernel.
[Nexus 6  Original Android Development] resynx:
Go to web view? Imoseyon has a donate link under his avatar.
[Nexus 6  Original Android Development] Cy_n_ic:
No issue here. LiquidSmooth 1-15
[Nexus 6  Original Android Development] PeenX2:
Interesting, thanks for checking :confused:

---------- Post added at 09:14 AM ---------- Previous post was at 09:09 AM ----------

After some more investigation, it seems to be sticking now. Once the screen would go off, it would revert back to 255 255 255. I could confirm by doing option "0" and it would be back. Then I would change it back, and display would noticeably change back again.

Rebooted and it's staying now. As always, 1-800-REBOOT.

---------- Post added at 09:18 AM ---------- Previous post was at 09:14 AM ----------

And now it's back to 255 255 255 on it...time for bed, more investigation tomorrow :laugh:
[Nexus 6  Original Android Development] mugendon:
Not the greatest idea if someone uses an unencrypted device and boots between kernel flashes ^^ Maybe you should add a warning in this post ;)
[Nexus 6  Original Android Development] spinkick:
Yeah :) I guess I should say flash the stock or stock unencrypted kernel first.
[Nexus 6  Original Android Development] r80ies:
I had wake issue once in 1.10.1. I'm running stock too. It happened when it was charging too and hasn't happened since.
[Nexus 6  Original Android Development] old_fart:
I'll take it out of my pocket and i'll see that its "ON" and i'll think "what the hell" ! . For me, i'm not sure if the display is waking it up, probably not, because i turned screen gestures "OFF" a while back ( to keep it from coming "ON" in my pocket . . . ) . so, then the logic says it's the ( way too sensitive ) "power on" button on the side. This is a hardware issue ? ? ?
[Nexus 6  Original Android Development] Imoseyon:
There's no need to flash stock kernel before flashing leanKernel folks! I just modified the OP to make this explicit in the flashing instructions.

[MENTION=2904154]PeenX2[/MENTION], I could not reproduce your issue at all. My guess is that you got an app that's trying to control your screen color or a ROM issue...
[Nexus 6  Original Android Development] rignfool:
Upon further testing... With Trickster MOD...

It appears that however many cores are online when you turn mpdecision off... Is how many stay... Forever

Sent from my Nexus 6
[Nexus 6  Original Android Development] BRKotucs:
First battery cycle after flashing your kernel yesterday.

From 100% down to 5%

20 Hours with 5 hours of SOT

That's totally awesome for me... I'm sure it'll get better after a few more cycles.
[Nexus 6  Original Android Development] Imoseyon:
Ah yeah hotplugging cores is one of the reasons why I recommend flashing the nofreq mpdecision, rather than disabling it completely. I am thinking about adding a "core control" script in a future leankernel release, which will allow you to configure mpdecision, online cores, etc. Stay tuned...
[Nexus 6  Original Android Development] PeenX2:
Thanks for looking on RGB settings. I have a fresh clean install of Liquid Smooth and your kernel so I'm guessing for some reason LS is doing it somehow. No big deal really. I did cure my msm_hsic_host and sensor wakelock finally. Even getting deep sleep while charging now. Chasing down the sensor issue I turned on adaptive and ambient display and it seemed to stop the msm wakelock that I've been figting with every ROM, Kernel and fresh install. Two birds, one stone.
[Nexus 6  Original Android Development] garyd9:
That might not be a good thing... I always figured there was a reason why these devices stayed awake while charging...
[Nexus 6  Original Android Development] PeenX2:
Yeah was pretty surprised that I saw it doing that while charging, considering I was just trying to get it deep sleep while off charger. But will keep an I on it, maybe it was just a fluke.
[Nexus 6  Original Android Development] suku_patel_22:
[MENTION=3357040]Imoseyon[/MENTION] Any luck with the sensor_ind wakelock that you were trying to debug?

Sent from my Nexus 6
[Nexus 6  Original Android Development] Imoseyon:
Nah it's not activated by kernel so I didn't really look into it. AFAICT, it's in /lib/hw/sensors.msm8084.so (ROM).
[Nexus 6  Original Android Development] suku_patel_22:
Sigh!! Need to wait for Google to fix it then.. 5.1 where are you??

Sent from my Nexus 6
[Nexus 6  Original Android Development] Remoteconcern:
Guys, thoughts on mpdecision vs nofreq mpdecision? Anyone tried without the touch boost who noticed any decrease in smoothness or battery life benefits?
[Nexus 6  Original Android Development] rignfool:
I have been running this kernel without mpdecision at all... The ucoc version so I can have 223200 for a min and I run 1728000 for a max and have no lag or stutters...

I also disable cpuboost and run 883 for screen off

Sent from my Nexus 6
[Nexus 6  Original Android Development] Damon13:
I have been running LK V1.10.1 and so far it has been smooth even with the power aware scheduling mode. I would like to enhance my device even further by disabling CPU-Boost, will this affect my device as to cause lag or cause erratic behaviors? Thanks in advanced for any tips.
[Nexus 6  Original Android Development] twatts723:
Maybe I'm bias from owning a note 3 for the last 10 months, but I've come back to simple ass lk twice already, from two heavyweight kernels I might add, and find it is so easy for daily use just to set it and leave it alone. And the battery life is noticeably better immediately. Cheers, Imoseyon. You figured the kernel thing out lol
[Nexus 6  Original Android Development] r1ndr3w:
Running clean install of Liquid and RGB settings set through lkconfig are sticking.
[Nexus 6  Original Android Development] doitright:
There is the potential for bad things to happen if it deep sleeps while charging. The charging circuitry is software controlled, which means that if the CPUs stay off full time while it is charging, it could do things like keep the charge dumping in at full strength. This can get particularly dangerous when you deal with things like quickcharge2, which runs the voltage right up to 12 while in extra-fast-charge mode.

The good news is that there are generally enough alarms going off (I mean the kind that wake up the CPU, not the kind that wake YOU up) to give the charge code a chance to run and control the charging, even without the charge wakelock. It is better in principle though to keep the CPU online.

The dangerous part comes in if you are in "offline charging" mode. In this mode, the device will *appear* to be off, but in reality, the kernel is alive, and init starts a special charger mode. In this mode, there are generally NO alarms running, or other wakelocks to keep the CPUs alive. I am not certain if mpdecision runs in this mode or not. If it DOES, then it could shut off all your cores without any alarms, thus it can start into quick-charge-2 at 12volts, stay there, and fry your battery.

Edit: Now that I think about it, that may be what murdered my HTC Vision. It was doing deep sleep while charging. Eventually something cooked in its charging or battery monitoring circuit, so it lost its ability to measure the charge level. I.e., you can't trust the battery meter.
[Nexus 6  Original Android Development] BRKotucs:
Is anyone here using Lean on Paranoid Android?
[Nexus 6  Original Android Development] magnum870:
Heck yes. My two favorite things :)
[Nexus 6  Original Android Development] PeenX2:
Yeah I found out it was Trickster. Even though I never set anything for RGB settings, I had it applying Kernel changes on boot and that was enough.
[Nexus 6  Original Android Development] Imoseyon:
v1.11 is up: https://github.com/imoseyon/leanKernel-shamu/wiki/Lollipop-ChangeLog

One notable change is the new core control feature (within lkconfig): this script makes it easy for folks to circumvent mpdecision (no need to flash custom mpdecision anymore). Advanced users only.
[Nexus 6  Original Android Development] Lozone:
I am and its running perfectly.
[Nexus 6  Original Android Development] PeenX2:
Thanks for the info, doing some research on this right now and not really finding any good info on deep sleep while charging. What control this, the ROM or Kernel? Seems like it's abnormal to deep sleep while charging, and don't really feel like risking my battery (AKA whole phone). Or is there a hidden setting somewhere in the Kernel or a ROM to turn this off?
[Nexus 6  Original Android Development] BRKotucs:
Thanks guys...

Running smooth here as well.
[Nexus 6  Original Android Development] Damon13:
Hello I am interested in trying this ROM, where can i download this ROM and also do i need to flash Gapps and SU. thanks
[Nexus 6  Original Android Development] BRKotucs:
Have a read here!! https://plus.google.com/107979589566958860409/posts/5xv4E1asja3
[Nexus 6  Original Android Development] Fauert:
I think you are in a wrong thread man, if you look around, AND in OP, you would see, this is a KERNEL thread..... ☺ :thumbup:
[Nexus 6  Original Android Development] PhilDX:
donated - this kernel is officially awesome, thanks!
[Nexus 6  Original Android Development] bradld:
was the no-freq mpdecision flashable zip more like option 1 or 2 of the new core control?

Thanks!
[Nexus 6  Original Android Development] Imoseyon:
good question! Option #1 is what you guys are used to (replaces the previous method of nofreq mpd + no cpuboost). Option #2 is something entirely new. :)
[Nexus 6  Original Android Development] old_fart:
( entirely new . . . ) Please ! . . . tell us more !
[Nexus 6  Original Android Development] Smallsmx3:
Just booted up PA an hour ago with LK and had a delayed screen wake up. It seems PA and Frank have something in common that doesn't play nice with LK
[Nexus 6  Original Android Development] old_fart:
I'm on euphoria rom and I've had 'wakeup weirdness' off and on since the introduction of the cyanogenmod 'theme manager'. I believe its worse ( for me ) with anything other than default theme and nova launcher. And I think it acts up after a long / deep sleep. So its like crappy code was hooked into happy code. . I just did a total wipe / reset / reload. Let's see what happens now !
[Nexus 6  Original Android Development] Remoteconcern:
I'm on stock and every so once in a while I get the delayed wakeup that looks like a SOD but eventually responds. Think it's probably stock lollipop problem although there may be things that make it worse or better.
[Nexus 6  Original Android Development] Imoseyon:
I wish I can reproduce this. I'm on stock lollipop and I've never seen this behavior myself. When this happens it would be great if someone can grab dmesg output immediately afterwards. I do think this is a ROM issue and not kernel though.

I realize the description in the core control script may not be entirely obvious - I may add a few more words so the options are explained better in the future.

Mpdecision mainly does two things: 1) hotplugging of cores (brings cores online and offline), and 2) scale frequency of cores in userspace. Setting #2 in the core control script will keep all 4 cores online at all times (instead of the usual 2), and at the same time prevent mpdecision from scaling frequency. This means mpdecision more or less becomes useless so option #2 disables it completely.
[Nexus 6  Original Android Development] Smallsmx3:
Nope. I have issues on Roms without theme manager, unless I have leftovers floating around on my sdcard

---------- Post added at 06:39 PM ---------- Previous post was at 06:30 PM ----------

It has to be a ROM issue. [MENTION=3357040]Imoseyon[/MENTION] what ROM do you run?
[Nexus 6  Original Android Development] bradld:
Does this mean option 2 will have slight worse battery life with all cores on?
[Nexus 6  Original Android Development] Imoseyon:
I use stock. Do you guys happen to have ambient display turned off?

Theoretically yes.
[Nexus 6  Original Android Development] Smallsmx3:
It has to be a ROM issue. [MENTION=3357040]Imoseyon[/MENTION] what ROM do you run?

I always have it on
[Nexus 6  Original Android Development] beyeond:
always off for me

Edit: have only had it happen twice in last 3 days
[Nexus 6  Original Android Development] PhilDX:
fyi - in case any of you guys who use sleep to wake have an issue with the phone waking during calls (face wake), it looks like flar2 posted an app to fix it here:

http://xdaforums.com/showthread.php?p=58561610

haven't tested this personally since nobody ever calls me :(
[Nexus 6  Original Android Development] Cy_n_ic:
These things make phone calls!?!?
[Nexus 6  Original Android Development] old_fart:
Ya, since the first day I got it. I keep it dim. I only turn up brightness when I want to show someone else something ( photo ! ) on the phone.

.

ya, its a toy first, a photo taker, a music play, . . . . then finally its a phone.
[Nexus 6  Original Android Development] New Rising:
[MENTION=3357040]Imoseyon[/MENTION], have you ever had the split screen issue using stock with your kernel?
[Nexus 6  Original Android Development] Imoseyon:
Nice, that should work on leanKernel as well, as majority of the s2w code is from flar2.

Are you talking about bottom half being black in landscape mode sometimes? I thought that was due to screen density change?
[Nexus 6  Original Android Development] New Rising:
Are you talking about bottom half being black in landscape mode sometimes? I thought that was due to screen density change?[/QUOTE]

No sometimes when I'm in an app like xda or anything really, half of the screen freezes and the other half kind of slowly scrolls. I never mess with dpi and always leave it stock. So you've never had that problem?
[Nexus 6  Original Android Development] Imoseyon:
No sometimes when I'm in an app like xda or anything really, half of the screen freezes and the other half kind of slowly scrolls. I never mess with dpi and always leave it stock. So you've never had that problem?[/QUOTE]

Nope I've never seen that before.
[Nexus 6  Original Android Development] tom.lockhart:
This might be a noob question, but would lkconfig changes stick through a flash. i.e. I'm flashing from 1.9 - 1.11.

Thanks in advance.
[Nexus 6  Original Android Development] Imoseyon:
yup
[Nexus 6  Original Android Development] tom.lockhart:
You da man!
[Nexus 6  Original Android Development] rignfool:
[MENTION=3357040]Imoseyon[/MENTION]

Any reason you removed cpu_boost control from lkconfig?

I had to use root explorer to force CPU_boost off in sysfs?

Also...

I was hoping to use Tasker to set up interactivex... But I can't find the sysfs directory for it...

Also...

The new lkconfig option does not support the ucoc build

Sent from my Nexus 6
[Nexus 6  Original Android Development] mclisme:
I was still in 1.9 as I'd been busy lately so I flashed 1.11 directly and... the single most annoying thing: the unlock stutter is history! :good: Can't believe people hadn't noticed this, unless you don't leave your phone to rest for say more than 5 min. the stutter would be there when you unlocked it. Thanks so much, it was so shameful unlocking the phone and have it stuttering like a 4y.o. device. Now If I only wasn't so lazy and did some reading on the new cpu mod options and get some more out of my battery life :p I only mess around with the easy stuff (dt2w, vibration control, RGB) and I feel I am not exploiting this awesome kernel as much as I could.
[Nexus 6  Original Android Development] mugendon:
I think you messed up ambient display and adaptive display :)

Btw. what happened to the faux sound issues? Some guys reported sound problems after it was integrated with 1.10. Is it removed again or are there any fixes for that? Couldn't find hints about it in the changelogs.

(Still on 1.7 because of regression paranoia ;))
[Nexus 6  Original Android Development] Smallsmx3:
So I disabled sweep 2 wake to see if I have any wake up issues since it was causing issues with turning the screen on during a phone call.
[Nexus 6  Original Android Development] Franzie3:
is DreamManagerService the ambient display wake?
[Nexus 6  Original Android Development] Imoseyon:
1) I moved cpu-boost control into the core control section. You probably want "Setting 1" which turns of cpu-boost.

2) Should be in /sys/devices/system/cpu/cpufreq

3) hmmm that shouldn't be the case. What happens exactly?

I haven't honestly looked into it because there weren't any other reports. I only use the speakers when playing games or playing white noise while I sleep, and I haven't noticed any difference.
[Nexus 6  Original Android Development] rignfool:
1) I would like all 4 cores on with cpu_boost off

3) it does not respect the 223200 min frequency

Sent from my Nexus 6
[Nexus 6  Original Android Development] Imoseyon:
Ah I *almost* made that the third option. :D I'll add it to a future release.

As for the ocuc, i'll take a look. Doesn't seem to make sense though - are you sure this started with v1.11?
[Nexus 6  Original Android Development] rignfool:
OK... We have a communication error... My bad

I mean that you lkconfig adjustment sets min frequency to 300 and not 223

Sent from my Nexus 6
[Nexus 6  Original Android Development] ballaz:
Flar2 has an app that fixes the wake issue during phone calls. Check in the app section.
[Nexus 6  Original Android Development] Imoseyon:
Ah ha! That was an oversight on my part. Will fix that in the next release. Thanks for the report.
[Nexus 6  Original Android Development] rignfool:
Thanks...

BTW:

You should edit the OP... It says leankernel isn't for everyone... I personally think that is a misstatement...

;)

Sent from my Nexus 6
[Nexus 6  Original Android Development] Krunk83:
Been running this kernel since coming from a stuttery Franco. Gotta say this kernel is amazingly smooth and battery efficient. Thanks!

Nexus 6
[Nexus 6  Original Android Development] madAdam6LOVE:
Has this kernel helped anyone on rooted stock ROM minimize random reboots?
[Nexus 6  Original Android Development] ScumDroid:
You're getting RR's on stock? Thats really odd, maybe check for a rogue app, Ive left my nexus 6 stock since i got it and not had one freeze up or RR in almost 2 months.
[Nexus 6  Original Android Development] old_fart:
Is this the AT&T thing ? I read that they did random reboot. I am on t-mobile and have had zero, sorry . . .
[Nexus 6  Original Android Development] Imoseyon:
There are actually numerous enhancements in leanKernel to prevent kernel panics (which leads to reboots). But I agree that stock kernel panics were probably rare.
[Nexus 6  Original Android Development] madAdam6LOVE:
Will freeze possible suspects and see if I can identify a rogue.

I'm on Verizon with a Play Store N6. Symptoms are frequent Gmail freezes and occasional RRs (the latest while on phone).

Thanks, I'll clean up mods, cache and apps and see if I can't isolate the problem on stock.
[Nexus 6  Original Android Development] Smallsmx3:
I saw that. Some of us are having psuedo SODs and have no idea why. So far I haven't had one today since I disabled s2w last night
[Nexus 6  Original Android Development] doitright:
Kernel.
[Nexus 6  Original Android Development] ScumDroid:
Let us know if you find anything. And this is a stellar kernel. Im using it unencrypted and it works amazingly.
[Nexus 6  Original Android Development] jdavis7882:
Getting UI FC on Feb 3rd build of banks SimpleAOSP but don't know how to pull a log. Confirmed its kernel after reflashing ROM w stock kernel. This is after clean flash. Thoughts or advice?
[Nexus 6  Original Android Development] Cy_n_ic:
System ui fc's? Thats more likely a rom issue. Roms with customizable nav bar and cm themes are the biggest cause of this lately. Reflashing the rom likely reset something you fiddled with that caused it.
[Nexus 6  Original Android Development] jdavis7882:
Yeah I noticed they put theme engine in the latest build that sucks I don't want to give up lean so I have to find a new ROM! Thanks for the input