yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] Imoseyon:
v1.16 is up.

A ton of fixes/updates from CAF and mainline Linux. Lkconfig can now configure advanced KCAL controls - the simple settings will now take advantage of [MENTION=2687578]wrinklefree[/MENTION]'s latest calibrated numbers.

Full changelog: https://github.com/imoseyon/leanKernel-shamu/wiki/Lollipop-ChangeLog
[Nexus 6  Original Android Development] SeanPlunk:
I tried both and ended up going with the 6500k settings with the contrast left at the default 32. When I dropped the contrast down to 20 the colors look too washed out. I guess I prefer the extra punch.

The cooler settings (7500k) whites looked too blue/purple-ish. I don't mind a cool display, but it was REALLY cool.

Thanks again WrinkleFree :)
[Nexus 6  Original Android Development] oak:
Thanks. Appreciate your work. Small token of my appreciation - 6RN9674169403303H.
[Nexus 6  Original Android Development] badpanda:
What's the "minimum" settings is set to 35 as default what does it do?
[Nexus 6  Original Android Development] lainemac:
1.16 is butter so far!
[Nexus 6  Original Android Development] SeanPlunk:
It sets a floor value for each color setting. That way you can't accidentally set all values to 0 and make it so you can't see anything ;)
[Nexus 6  Original Android Development] purian23:
Very smooth so far, transitions just glide through! Awesome work!!
[Nexus 6  Original Android Development] badpanda:
How do I make doubletap2wake to stick using trickstermod using this kernel? Or I'm I missing something? Any other way to properly enable this?
[Nexus 6  Original Android Development] Mistertac:
Use LKConfig.

Option 2
[Nexus 6  Original Android Development] captnemo131:
I'd recommend using option 2 on lkconfig. Then 'stock dt2w'.
[Nexus 6  Original Android Development] GPS3:
I noticed that saturation, contrast, and gamma values are different in lkconfig than wrinklefree's. Did I miss something here?

TIA
[Nexus 6  Original Android Development] Imoseyon:
They're actually the same. Wrinklefree was using savoca's app which uses values with an offset - not sure why the app was done that way as it causes confusion. Lkconfig uses the raw numbers - but they're definitely equivalent.
[Nexus 6  Original Android Development] old_fart:
Mr. Imoseyon, sir, do you know off hand if your kernel would break the blink that [MENTION=2712518]mikeyxda[/MENTION] over at : http://xdaforums.com/showpost.php?p=59019269&postcount=1 has built ? ? ? . . He is a grizzled rom/code techie who has FINALLY constructed a stable, native, blinking LED.

.

Er, your arch enemy and nemesis, [MENTION=3292224]franciscofranco[/MENTION] breaks the blink . . . . . . Would your kernel structures break the blink too ?
[Nexus 6  Original Android Development] Imoseyon:
Without knowing much about the ROM it's hard to say. My guess is that it's an SeLinux issue. Grab logcat if you can.
[Nexus 6  Original Android Development] wrongway213:
It's based on stock 5.0.1, using scrosler's base if that gives you any idea as to what MeanPop is - stock ROM, not AOSP or CM.
[Nexus 6  Original Android Development] semdoc:
:good::good::silly:

Well.. Stock was build from AOSP base... right?
[Nexus 6  Original Android Development] wrongway213:
Stock = Google factory images. I don't understand it any more than that, but no, stock is not the same as AOSP exactly in terms of a ROM base.
[Nexus 6  Original Android Development] semdoc:
Yup. Sync AOSP repos. Use vendor binaries shared by Google here: https://developers.google.com/android/nexus/drivers and build AOSP.

And you'll get exactly the same stock ROM :).

CM have more than AOSP (more part: CAF and pure CM modifications)

SlimRom: AOSP + parts added by Slim's devs etc...
[Nexus 6  Original Android Development] savoca:
[MENTION=2687578]wrinklefree[/MENTION] I love you.
[Nexus 6  Original Android Development] purian23:
This from Mike might help [MENTION=3357040]Imoseyon[/MENTION] if there's something to a workaround. I must admit the blinking LED is great. Currently using Light Flow on Stock CleanROM.
[Nexus 6  Original Android Development] old_fart:
I am confused about the kernel.

I thought I could be "clever" by flashing the zip you created a while back.

<< shamu-stock-kernel-noforce_encrypt-lrx21o_lrx22c.zip >>

But ( to get the LED blink back ) this one does not work . . .

.

To get it back, I have to dirty flash [MENTION=2712518]mikeyxda[/MENTION] 's rom.
[Nexus 6  Original Android Development] owyheendn:
What's everybody's favorite app to configure the Lean kernel settings? I'm currently using Trickster Mod, Is there a better one out there?
[Nexus 6  Original Android Development] poczynek:
Lkconfig.
[Nexus 6  Original Android Development] owyheendn:
Sorry kinda a noob when it comes to kernel stuff, where can I get Lean Kernel Config? And is it an App?
[Nexus 6  Original Android Development] jiv101:
In terminal emulator from the Play Store

Open app type Su then enter

Then type lkconfig
[Nexus 6  Original Android Development] ballaz:
No, not an app. have to use terminal emulator to control it. In my opinion, it is very straight forward. Check the 1st post in this thread on how to use.
[Nexus 6  Original Android Development] Imoseyon:
Lol deja vu. We had this conversation a while ago with light flow. Mike needs to use the symlinks which are immutable. Sorry away from computer all night.
[Nexus 6  Original Android Development] owyheendn:
How do I get my Minimum to stick to 300?? It always goes back to 1497, wouldn't it be better on the battery to have the min set as low as possible? Like when i not using my phone? Or do the max and min change when the screens off?
[Nexus 6  Original Android Development] mikeyxda:
All I need to know. Thanks! :good:

Mike
[Nexus 6  Original Android Development] old_fart:
Groan, those pesky immutable symlinks . . . Yeah ! [MENTION=2712518]mikeyxda[/MENTION] did the change and all is working. . I did have to start from a total wipe. . Thank goodness for titanium backup.
[Nexus 6  Original Android Development] BladeRider:
Hi everyone, I installed Lean Kernel and TricksterMod and I seems can't get the sweep2sleep to work. Can anyone advice me on how to make it work? Thanks
[Nexus 6  Original Android Development] siddhesh.raikar:
Have you tried activating it through lkconfig..

---------- Post added at 04:18 PM ---------- Previous post was at 04:17 PM ----------

Have you tried using lkconfig..

Sent from my Shamu
[Nexus 6  Original Android Development] BladeRider:
Yes I do. Hereby I attach the screenshot.

Still does not work. Am I missing something?
[Nexus 6  Original Android Development] eep2378:
I bumped up saturation a bit to 30 [MENTION=2687578]wrinklefree[/MENTION] D6500 settings. Looks amazing. Much respect bro.
[Nexus 6  Original Android Development] rauschkugl:
And where did you read that the kernel supports sweep2sleep? There's no such functionality in the kernel.

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  Original Android Development] BladeRider:
Based on the OP and the lkconfig.
[Nexus 6  Original Android Development] PhilDX:
you can activate it via terminal emulator:

Sweep2sleep Options:

disable = 0

sweep right = 1

sweep left = 2

sweep left or right = 3

eg: enable sweep2sleep left

echo 2 > /sys/android_touch/sweep2sleep
[Nexus 6  Original Android Development] Baby_Phil:
I'm 99% positive lean kernel doesn't support sweep2sleep.
[Nexus 6  Original Android Development] wrongway213:
It does, it's an option in lkconfig for a reason. Default is sweep from left to right.
[Nexus 6  Original Android Development] michmeister:
Yes there is. In lkconfig.

---------- Post added at 10:37 AM ---------- Previous post was at 10:37 AM ----------

I'm using it.
[Nexus 6  Original Android Development] Baby_Phil:
I've never noticed it in lkconfig
[Nexus 6  Original Android Development] wrongway213:
Option 2 wake gestures, 1 stock dt2w, 2 haptic dt2w, 3 s2w, 4 haptic dt2w and s2w both. Works flawlessly.
[Nexus 6  Original Android Development] Baby_Phil:
Yes I see that but I don't see s2s.
[Nexus 6  Original Android Development] Imoseyon:
S2s is not supported within lkconfig yet. Kernel has support though via sysfs. I thought trickster had support?
[Nexus 6  Original Android Development] wrongway213:
Ah, my apologies bro, this is what happens why I try to answer people's questions early in the morning when I'm not quite out of bed yet: I say stupid things. Appears S2W and S2S are not connected as I thought, but I do believe the S2S functionality exists within the kernel itself- if I'm not mistaken the echo command on the previous page works to enable S2S for leanKernel via Terminal Emulator, or through a tweaker app such as Trickster like Imoseyon mentioned - sorry again for the mix-up.
[Nexus 6  Original Android Development] Krunk83:
60 is a great vibrator strength on this phone. #nowyouknow

Nexus 6
[Nexus 6  Original Android Development] nobnut:
Meh. I kicked 60 for 48 whole hours. 58 is where the real money is.
[Nexus 6  Original Android Development] Baby_Phil:
No problem I learned that s2s is in the kernel so thanks.
[Nexus 6  Original Android Development] BladeRider:
Hi [MENTION=3357040]Imoseyon[/MENTION], i did try to enable the s2s feature with TrickerMod (full version), but it does not work with it either. I will submit a logcat later on.
[Nexus 6  Original Android Development] rauschkugl:
It's not in lkconfig, there's only slide to wake but not sleep.

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  Original Android Development] BladeRider:
Yes the s2s option appears in the lkconfig. you can look back my previous post where i attach the lkconfig screenshot.

http://xdaforums.com/showpost.php?p=59151873&postcount=3101
[Nexus 6  Original Android Development] wrongway213:
We figured it out in the last page or two - lkconfig controls s2w, not s2s, but leanKernel supports s2s as well.. just has to be controlled via echo commands or kernel tweaker app (what I've gathered anyway, I don't use it so don't yell at me if yours doesn't work lol)
[Nexus 6  Original Android Development] BladeRider:
Thanks for the explanation though.

I had tested with two kernel tweaker app, TricksterMod and Kernel Tweaker, but both produce the same results where s2s is not working

Don't worry i won't yell at you (LOL)
[Nexus 6  Original Android Development] wrongway213:
Would you look at that.. I'm not crazy.. I knew I had a conversation with someone saying they were using s2s on this kernel lol, check this page out, you'll see the conersation about s2s (and that I'm not totally crazy haha)

http://xdaforums.com/nexus-6/orig-d...tic-kernel-t2954316/post58825754#post58825754
[Nexus 6  Original Android Development] BladeRider:
Thanks man!

You just made my day! I tried Lean Kernel + ElementalX app and the s2w and s2s is working! Thanks for sharing the link.
[Nexus 6  Original Android Development] bikeryder007:
Sweep to sleep works perfect on this kernel using the elementalx app.
[Nexus 6  Original Android Development] Ckao:
May I ask....what did you use to calibrate or adjust the numbers...I want to do this in my Nexus 6. Thanks in advance!
[Nexus 6  Original Android Development] wrongway213:
He used an X-rite i1 Pro meter (professional calibration tool) and Calman software. Here's the post where he mentioned it when he first gave us RGB calibration http://xdaforums.com/showpost.php?p=57265483&postcount=620
[Nexus 6  Original Android Development] semdoc:
Guys, CM is preparing to merge LiveDisplay. With this change, we'll be able to adjust screen colors and all other values same as it is with other Kernel tweaker apps directly from Settings -> Display.

Great ! :good:

Do you have any issues with "incall touches"? With touches by your ears to screen while you are incall I mean...
[Nexus 6  Original Android Development] rauschkugl:
It's wake not sleep!

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  Original Android Development] semdoc:
There are 2 options: sweep2wake and sweep2sleep...
[Nexus 6  Original Android Development] BladeRider:
Care to explain what is this?

And please don't quote my reply anymore as I find it pointless explain the same thing over and over again.
[Nexus 6  Original Android Development] wrongway213:
See my posts above.. Kernel supports s2s via ElementalX wake gestures app but not via lkconfig or Trickster/kernel tweaker/etc.
[Nexus 6  Original Android Development] BladeRider:
[MENTION=3860593]semdoc[/MENTION],

you can install this app that developed by flar2

http://xdaforums.com/showpost.php?p=58544285&postcount=1891
[Nexus 6  Original Android Development] semdoc:
I'm using ElementalX (paid). So I can set sweep2sleep. I'm using sweepUPtowake and sweep2sleep bidirectional - to left & right.

Sometimes, s2s get OFF (like dt2w) after phone call. To get it activated again.. Just toggle power key ON/OFF. Then It's fully functional again.

But; incall touches are really annoying .Yesterday, my ear did great jobs - like capturing Screenshot while I was in call... Screen is active while in call.
[Nexus 6  Original Android Development] BladeRider:
I know the feel bro. :D

Anyway, hope the app helps.
[Nexus 6  Original Android Development] rauschkugl:
Lkconfig is wake and not sleep and that's what I was answering to.

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  Original Android Development] semdoc:
Works great!

:good::good:
[Nexus 6  Original Android Development] old_fart:
With new h/w, comes back a debate.

http://arstechnica.com/gadgets/2015...m-encrypting-new-lollipop-devices-by-default/

. . . lamawithonel says :

"It's not so much the software/hardware integration as the single target architecture. Linux support for the the standard ARM encryption extensions was published way back in September of 2013, but those extensions are only part of the ARMv8-A architecture. The Nexus 6 and most other Android phones still use ARMv7-A CPUs, and ARM has stated they have no plans to back-port the extensions to newer versions of those chips. Given this it makes sense for Google to leave this decision up to OEMs. Once ARMv8 is more ubiquitous, though, I would expect them to revisit the issue"
[Nexus 6  Original Android Development] PeenX2:
This may be the wrong place to post this question, but the thread for ROM I'm using is locked (PureShamu) and I'm not sure if this is a kernel thing or not. Basically, to avoid going deaf...I want to turn off volume adjustments when screen is OFF. I'm listening to music and it's so easy to hit volume up and it maxes out and it hurts! I'd rather have to turn screen back on to adjust volume. Is this something that can be changed in the kernel?
[Nexus 6  Original Android Development] purian23:
Yeah this really wouldn't be the correct place to ask. This specific kernel has faux sound built in, but it would have to be enabled as it's off by default. You could use faux sound app to control it if you have it enabled through lkconfig.

Good luck
[Nexus 6  Original Android Development] PeenX2:
I do have FauxSound enabled, and the app, but don't see an option for screen off volume adjustment anywhere.
[Nexus 6  Original Android Development] wrongway213:
Try enabling playback control.. I know at one point it disabled volume control with screen off on Pure Shamu but it was supposedly fixed to where you had to long press.. long shot but if you're in a kernel thread looking for answers I'd say you're at that point, lol. Also, something to note: you can still use the search functions in the Pure Shamu thread even though it is closed.. you can maybe find your answer that way. That's how I found what I just found about playback control - dig a little deeper in the search if playback control isn't your answer and hopefully you'll find something that works. Hope that helps.

Back to your regularly scheduled kernel programming, folks.
[Nexus 6  Original Android Development] SilkyJohnson:
I feel like v1.16 is your best yet. Outstanding "deep sleep" and idle battery drain is amazing.
[Nexus 6  Original Android Development] PeenX2:
Thanks, I tried searching that thread but didn't see anything. So I thought it might be a function of the kernel. Funny how much I know about PC's and IT (enough to get company ISO20000 certified by myself) but can't figure out how to not scorch my ears on accident :laugh:
[Nexus 6  Original Android Development] grayskul:
Is it good to use option 3 on the cpu configuration with four cores on. Does it affect battery much?
[Nexus 6  Original Android Development] __NBH__:
To be honest I don't notice much battery difference between the performance, power saving, 2 cores, 4 cores etc settings in lkconfig so I left mine on performance and setting 3, 4 cores online and battery is still great.
[Nexus 6  Original Android Development] Imoseyon:
I've had similar experiences while testing, but I've found that it's pretty hard to measure battery life when I'm flashing several test kernel builds per day. :)
[Nexus 6  Original Android Development] __NBH__:
I've had the same ROM and kernel for a few days, the only thing I notice with power saving or 2 cores is slight choppy scrolling in the calendar and Facebook, with performance and 4 cores its much smoother.
[Nexus 6  Original Android Development] elijahah:
[MENTION=3357040]Imoseyon[/MENTION] What does power saving and performance do differently?

EDIT: Never mind, heres the answer for anyone that's interested:

"Power aware scheduling will basically attempt to “pack” small tasks into the “leftmost” CPU cores (ie. starting cpu0) to keep the other cpu cores as idle as possible, instead of spreading them evenly across all online cores. Theoretically this should produce higher power efficiency, although I think the jury is still out. Also, theoretically performance should take a tiny hit (when powersaving mode is enabled) but I haven’t noticed any in my own testing. To take full advantage, you need to enable “powersaving” mode - you can do this via lkconfig."
[Nexus 6  Original Android Development] wrongway213:
So I have to ask as I have looked through your git and cannot find anything that I am able to understand - what did you possibly do to 1.16 to finally just completely kill battery drain on poor wifi connection? It's very clear to me it is something you did kernel side as my ROM has not changed and my settings in lkconfig have not changed. This is my first day here at school since 1.16 dropped. On 1.15 and prior, no matter what deep sleep topped out at 88% if COMPLETELY idle - now I am hitting 96% on the same AWFUL university wifi. I always disconnect my phone from wifi when at school our wifi is so poor - but I looked in BBS first for whatever reason today and saw 96%.. been moving classes all day, still at 95% and I've made a call or two and sent a couple texts. Whatever you did, please don't ever undo it - I haven't seen this mentioned by anyone yet and can't clearly pinpoint a commit, so I am just pointing this out a) to say thanks, this is awesome and b) to make sure whatever fixed this doesn't accidentally get reverted since no one has pointed out that it worked.
[Nexus 6  Original Android Development] Imoseyon:
There are actually several commits in v1.16 that could help in this regard. I'll try to make sure that nothing in v1.16 gets reverted. :)
[Nexus 6  Original Android Development] wrongway213:
Well whatever you did, it is awesome and I'm surprised no one else has seemed to notice - must be the only one regularly on horrendous wifi lol.. the difference is just huge man. Thanks for more awesome work.. gotta love when you find features days later, lol.
[Nexus 6  Original Android Development] worstenbrood:
Same here, i have never had such good battery life then on 1.16. Idle is epic, i also have bad wifi signal in my bedroom which caused drain overnight, but it seems to be fixed now.
[Nexus 6  Original Android Development] Damon13:
I def agree with you, 1.16 has giving me better battery life then previous versions. here in the hospital wifi is horrible and I def see a difference. Thanks Imoseyon
[Nexus 6  Original Android Development] wrongway213:
Well I suppose I wasn't the only one who noticed, haha. I left my school today in 95% deep sleep - that should not be possible on my university wifi, not even close. If I made it out at 85% wiithout even using it I was happy before... today I made a few calls and texts and still hit 95%!
[Nexus 6  Original Android Development] PhilPan:
What's the best settings you guys are using in lkconfig for battery life?
[Nexus 6  Original Android Development] wrongway213:
22. configurator - option 1 - 2 cores, disable mp-decision.

8. Power saving

3. Option 1 disable sensor_ind, options 3 and 4 both set to 4. So it should be sensor_ind N, smb135x leave alone, wlan_rx_wake and msm_hsic_host wakelock both set to 4 - I don't set higher because that kills battery drain for me and I lose no functionality.
[Nexus 6  Original Android Development] PhilPan:
Do u get zero lag on wake when pressing power button?
[Nexus 6  Original Android Development] Krunk83:
Maybe you guys could post your kernel setup so we can test them and see if we get the same battery. I get average battery at work but I have a pretty crappy signal most of the time. It's great on WiFi.

Nexus 6
[Nexus 6  Original Android Development] wrongway213:
No lag anywhere really ever on this kernel, not on my device anyway

---------- Post added at 07:35 PM ---------- Previous post was at 07:31 PM ----------

Sure thing

1. default 300 min, default max

2. Haptic dt2w

3. Sensor_ind disabled, smb135x enabled, msm_hsic_host and wlan_rx_wake both set to 4

4. Charging LED off

5. Savoca's app configures/wrinklefree values

6. Savoca's app configures/wrinkefree values

7. 127 (default)

8. Performance (default)

9. Faux Sound Yes

10. Permissive

22. Option 1 - Prevent mp-decision from scaling, 2 cores online, cpu boost off.

Hope it helps, works awesome on my device (on multiple ROMs FWIW)
[Nexus 6  Original Android Development] numerouknow:
using exactly the same settings except i setup msm_hsic_host n wlan_rx_wake to 6.

i thought ur setup is: 8. power saving according to ur 1st post i quoted

but then you've mentioned 8. performance (default) in setup details. i guess u were prolly telling the other guy what all he can do to save battery when u mentioned 8. power saving.
[Nexus 6  Original Android Development] wrongway213:
Yeah, that's exactly what I was doing, good catch. I just run default performance myself and get phenomenal battery life doing so, but he asked for power saving features in the kernel, so that's what i gave him.
[Nexus 6  Original Android Development] michmeister:
I've also noticed that my deep sleep time has increased so much on this kernel. This is by far the best kernel yet.
[Nexus 6  Original Android Development] wrongway213:
I have even noticed reboots don't seem to rapidly drain my battery so much - but that could just be a "side effect" of improved battery life everywhere else in general.. this kernel works so much behind the scenes magic I wouldn't be surprised if my phone sprouted wings and just took off flying through my room, so I honestly don't know what to think at this point - all I know is this is the best battery life I have ever seen on a device that isn't locked down like Fort Knox and thus no fun to play with.
[Nexus 6  Original Android Development] slickie88:
Since day one on this phone, regardless of kernel (I've tried them all) I've had to resort to turning off the wifi radio at home due to the poor idle battery drain when connected to my access point. I'll be turning it back on overnight to see how it goes.
[Nexus 6  Original Android Development] wrongway213:
Prepare to be a happy N6 owner.. my school wifi is so messed up sometimes speedtests won''t even complete and I hit 96% deep sleep on it today like I said man.. whatever commits were added in 1.16 did some serious adjusting in terms of idle drain..