yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] mittimus:
Have tried latest beta with Temasek 2.x; it was really smooth and clean, battery life was nice but after a few hours of deep sleep i noticed that the battery drain is so huge..Dunno why, battery statistics says that "Various" drains about 18-19%..
[ONE Original Android Development] andip71:
Not kernel related.

This is not a real battery drain, it is something new currently in CM12.

See here:

http://xdaforums.com/showpost.php?p=57388984&postcount=1980

Andi
[ONE Original Android Development] Aavion:
it's just a miscalculation.. old battery stats only showed the calculated battery drain per app.

in cm12, "Various" shows only the difference between calculated and real drain. it's nothing new draining battery, it's just showing now :)

Gesendet von meinem Schinken. ?
[ONE Original Android Development] andip71:
New versions !!!

Hi all,

new kernels available for you, for all three variants (cm12, cm11, cm11s).

Please do not forget to make sure, you updated Boeffla-Config to 2.1.57 in order to use the new features (just start the app and let it update automatically...)

CM12 - Version 3.0-alpha5

15.12.2014

Swipe2Wake added (slide horizontally on touchscreen from left to right or right to left), needs to be enabled in Boeffla-Config (version 2.1.57 or higher required) - Demo video

Swipe2Sleep added (3 gestures: swipe sensor buttons from left to right, or from right to left; gesture from right up diagonal to bottom down on touch screen), needs to be enabled individually inBoeffla-Config (version 2.1.57 or higher required) - Demo video

Color control driver, you need Boeffla-Config 2.1.57 or higher (credits to savoca)

Reverted touchscreen firmware of alpha4 again, as it was having no effect for OnePlus One (only Oppo phones)

Updated with latest 14 CM kernel commits for CM12 until 15.12.14 (6fbbb6e)

Ramdisk updated to inofficial CM12 build of 14.12.14 by daleski75

CM11 and CM11s - Version 2.0-beta13

15.12.2014

Swipe2Wake added (slide horizontally on touchscreen from left to right or right to left), needs to be enabled in Boeffla-Config (version 2.1.57 or higher required) - Demo video

Swipe2Sleep added (3 gestures: swipe sensor buttons from left to right, or from right to left; gesture from right up diagonal to bottom down on touch screen), needs to be enabled individually in Boeffla-Config (version 2.1.57 or higher required) - Demo video

Color control driver for RGB (credits to savoca), you need Boeffla-Config 2.1.57 or higher

Reverted touchscreen firmware of alpha4 again, as it was having no effect for OnePlus One (only Oppo phones)

Enjoy

Andi
[ONE Original Android Development] gianton:
Awesome update! Working great with zzmoove optimal governor and 2 cores on, no audio stuttering whatsoever! Tested with Google Play Music, Spotify and TuneIn radio.

Thanks again mate. :good:
[ONE Original Android Development] andip71:
Sounds good. Which version do you use? cm12, cm11s, cm11?

Andi
[ONE Original Android Development] gianton:
CM12 on Temasek v2.5.2 latest build. If I leave it at default there are some stuttering but with 2 cores on I get none.
[ONE Original Android Development] Aavion:
alpha 6 is super! :)

love the color control.. i wish there was some kind of gamma fine tuning for color and grayscale, to get a true 2.2 gamma feeling.. but 2.16 is close enough :)

Gesendet von meinem Schinken. ?
[ONE Original Android Development] spanish33:
Thanks for sweep to sleep functionality. I noticed after I sweep to sleep and then sweep to wake I am taken to home screen instead of the app I was in before I put the phone to sleep.

Is this by design? I thought it was the "kill app back button" option in cm12 that was doing this so I unchecked this option but it still occurred.

Loving the new functions of the kernel.

Thanks
[ONE Original Android Development] andip71:
You probably use the sweep gesture with the touch keys, right? Because if you swipe over them, you hit of course the home touch key too, which brings you back to the home screen.

I cannot avoid that unfortunately.

Andi
[ONE Original Android Development] spanish33:
Ah thank you such a simple answer! Yes you are correct I am using the touch keys.
[ONE Original Android Development] andip71:
yes, I mean... depending on what rom you use, you could remap the key to not act as a home screen anymore. But is this what you want? Probably not.

I am a user that exits every app with the back key anyway, so for me the gesture works fine as I am on the home screen already when I swipe it off.

But for you, this gesture might not be the best one.

Good thing is: I can add more gestures as required, so we can work together on some nice new ones even :)

Andi
[ONE Original Android Development] spanish33:
Thanks never thought about remapping home key option.

Glad the possibilities exist for some more cool gestures.

Again great work.
[ONE Original Android Development] inzaghi75:
[MENTION=947981]Lord Boeffla[/MENTION]

Which governor do you recommend? I'm using your kernel with daleskis build.
[ONE Original Android Development] andip71:
I am currently on interactive, but would encourage you to try a few of them (mainly zzmoove and intelliactive) to see how they work for you in terms of performance and battery.

Andi
[ONE Original Android Development] daleski75:
Curiosity is getting to me I might flash your kernel + app in a second.
[ONE Original Android Development] andip71:
Sure, why not :)

Let me know if you need anything from me.

Andi
[ONE Original Android Development] daleski75:
All done but left it at stock settings for the min to see how it pans out now just need to stop flashing my phone once/twice a day to see how the battery life is.

And it's nice to see no tweaks to the white balance in the default settings I can swear when I had a quick look at AK's that the whites looked a lot warmer than before on the stock kernel.
[ONE Original Android Development] andip71:
Yes, indeed I am not tweaking the color calibration at all by default. I do like the stock colors, but now everyone can tweak the colors as needed by adjusting RGB and gamma values.

Andi
[ONE Original Android Development] magnamentis:
good move, you'll see hehe...

yep, curiosity is a strong and mostly good fuel to develop, you'll not regret, i'm sure, there are only 2 kernels+app combos with this level of long term quality, while the other one is for the N5 & HTC One
[ONE Original Android Development] suaverc118:
Im sorry for asking this but I am unsure how to set charge rates or how to get them to stock. Thanks.
[ONE Original Android Development] andip71:
Set them to zero, then they are using the stock charging logic.

Otherwise, feel free to configure the charge rates you like.

But bear in mind, if you go too high, like 2000 or so for AC charging, this might not be good long-term for your battery.

And also bear in mind, the USB 2.0 specification is only up to 500 mA, so everything more could potentially damage your USB source (PC, Notebook etc.), although not likely. I use 900 mA on my PC without issues.

Andi
[ONE Original Android Development] gondsman:
The latest version works very well, I used the occasion to move to lollipop, going great so far! :)
[ONE Original Android Development] suaverc118:
That really helped. Thanks. Running it on new blisspop
[ONE Original Android Development] Hana88:
Hi [MENTION=947981]Lord Boeffla[/MENTION] , with the new beta 13 i have some wake up delay...

Not happen everytime, but sometimes...

I have this settings in governor:

governor:zzmove

governor profile: zz move optimal

I/O: zen

And i'm on a cm11s stock

it never happen with beta 12...

It's something to do with the new unlock modes?
[ONE Original Android Development] molonad:
thank you

hi thanx for adding these great features - screen settings and swipe2wake - you are awesome. Is there any chance that you can add some colour settings - or example hue or saturation like it was when these settings were allowed in stock cm11s ?? thank you.

And question for you people - what colour settings and gamma you preffer ? - i woud like to try it . thank you
[ONE Original Android Development] andip71:
Interesting. I do not have it here on cm11s stock. I can say that for sure as my main phone always runs stock.

However, I have currently interactive scheduler, hotplug profile default, no frequency changes, no unvervolting and deadline scheduler.

Maybe you can play around and see if it changes things.

I would doubt, the new functionalities would lead to wake up delays honestly. At least in theory nothing really would explain that.

Andi
[ONE Original Android Development] andip71:
Honestly, I have currently no plans to include even more display control.

Reason is - I did this implementation primarily because people wanted to have it + it was easy to cherry-pick.

But I will personally never ever use it, so I do not think in the next future, I would even include more that I do not use.

Thanks for understanding

Andi
[ONE Original Android Development] Hana88:
It's possible to you to try my setting and see if there is this wake up lag?

Thank you and sorry if i'm pedantic :D
[ONE Original Android Development] andip71:
Will try tomorrow, yes. But also try to switch governor for a test. Zzmoove has a screen-off freq limit, maybe that causes it... (at least sounds a bit logical).

Andi
[ONE Original Android Development] Hana88:
i can confirm it's a zzmove problem

with interactive and standar i don't have this problem...

Another thing... if you want to try this delay, make a call and when the proximity sensor go on, away the head from the phone, you will see a huge delay (like the old galaxy s3, when samsung update that phone for the first time on android 4.3, if you remember :P )

i think i'm going back to beta 12, because i love the performance of zzmove and no lag on the games...

i hope it will fix in a future beta...
[ONE Original Android Development] lchiocca:
Hi andy,

Just wanted to notify you of a glitch in the color adjustment feature. I haven't looked at what the code is doing, so I don't know where the bug lies. The really minor visual issue is that when adjusting the colors, not all the notification bar gets the applied color adjustment (usually the clock and the battery). Here's how to reproduce it:

1) reboot the OPO (really, the bug only happens after a reboot)

2) enter pin/pattern

3) start boeffla-config

3.1) restart boeffla-config if settings were not jet applied ;)

4) go right into the color control and adjust the e.g. red value to a low value. While sliding the value, the notification bar is only partially modified.

5) wait a hour or so (Can't seem to find the "trigger"-point when the glitch stops occuring)

6) do the same thing as in (4)... glitch doesn't occur any more

My system: OPO 11s with boeffla beta13

Cheers

Loris
[ONE Original Android Development] andip71:
Hi, and this makes me really... hm... "surprised".

Because zzmoove or anything with governors did not change between beta12 and beta13 at all. So I cannot understand why it would behave differently.

Let's see what "Mr zzmoove" can say, if he has ideas etc.

Interesting, because the only partial coloring of parts of the screen where there are no redraws is a known glitch. The framebuffer needs to be redrawn again, which in the app I can control, but not for the notification bar.

However on my side, it takes only a few seconds before the notification bar gets redrawn correctly. Also every screen off/on for me finally adjusts everything correctly.

Any chance you have removed the clock from your notification bar?

Andi
[ONE Original Android Development] lchiocca:
Andy, forgot to mention that after a couple of seconds (usually 10 seconds or so) every works perfectly again. It's just during those couple of seconds that the notification bar is a bit glitchy. But really not a big issue at all. Just wanted to notify.

Just as a side note on one of your previous comments about you will never be using the color adjustment: Did you know that our circadian cycle (sleep cycle) is regulated based on the amount of blue light our eyes pick up? Applying a blue filter during the night helps reduce the likelyhood of staying awake after you look at your phone during the night (https://www.youtube.com/watch?v=7oNLOQgUQ6A). You might try it - helps when you have to get up at night when the kids wake you up ;)
[ONE Original Android Development] andip71:
No, honestly I did not know. I suspected somehow, as "warmer" lights (more red tones) make me sleepy more than "cool", blueish lights.

But learned again something from you, thanks a lot :)

And thanks to god, our kids are out of the house already, the last one left 3 months ago to study. So, we are having our freedom back. Ok, apart from our cat which is getting old and weird during night hours too :eek:

Andi
[ONE Original Android Development] ZaneZam:
if u mean a new zzmoove beta hmmm that might be difficult because i cannot reproduce such an issue with zzmoove (running on two devices since weeks) and using most of the time optimal (governor+hotplug) setting.

currently testing battery plus and no issues so far. maybe it's again a "in combination with zzmoove.."-thing. will keep an eye on it i'm anyway going to tune profiles during christmas holidays if there

is any issue i will definitely see it then ;)

indeed, i would have written it the same way :)
[ONE Original Android Development] acidburn94:
These are mine results with your amazing kernel andi... And euphoria OS!:)
[ONE Original Android Development] karthik1der:
You were the reason I held on to the Galaxy S3 for so long.

I was on the fence about buying the OPO but as soon as I saw your kernel in this forum, it was an insta-buy for me :D

Thanks a lot man. Gonna try it out.
[ONE Original Android Development] Hana88:
You say that you use this settings for about some weeks, but did you try with the new boeffla kernel? He using a new type of unlock, i'm pretty sure that this new feature have some conflict with your governor. Try it and you will see.

Download beta 13 amd new app
[ONE Original Android Development] kurtextrem:
I'm using ZZ Battery Plus and Optimized Hotplug as well in the latest kernel. I've enabled swipe2unlock. No issues here. Oh... I'm using the Sabermod version of the kernel though, from my point of view smoother than linaro (no idea about battery) :)
[ONE Original Android Development] abhibnl:
Hi Andi, the new swipe festures are working great. However, i'm not able to figure out how to use "Swipe Screen Gesture To Sleep". How to use it? I'm using the other 3 but i'm not able to figure out this one. What screen gesture would it need?

Sent from OnePlus One Powered by Boeffla
[ONE Original Android Development] ZaneZam:
u must know that i'm always use the latest version build from sources (as i'm pre-testing for the lord and for the linaro/sabermod builds) therefore all features even before u get it guys :)

i only can say i have no such issues atm but can imagine that the strict sleep settings of zzmoove (which should give us more battery saving when not using the device) and the new driver which

is active when not using the device might in some way not work well together and/or in combination with something else. as said will have an eye on it try to reproduce and if i'm able

will finally tune that. ;)
[ONE Original Android Development] andip71:
Have you looked at the video I attached last time to the change log?

In this video, all 4 gestures are shown live in action.

Andi
[ONE Original Android Development] abhibnl:
Yup i did saw but i guess i need to watch it again. Will try and let you know. :good:

Edit: Also the swipe screen to wake gesture also doesn't work sometimes. (I would say 1 out of 10-15 times) Not a big issue but still.
[ONE Original Android Development] DanteGR:
Beta 13 is working flawlessly on Slimsaber LP latest, with zzmoove optimal governor and all else default. Excellent stuff from LB and ZZ. Keep it coming guys.

Swiftkeyed from my OPO A0001
[ONE Original Android Development] lchiocca:
Jolly good day Andi

I just found a smaller bug in the boeffla config app (version 2.1.58)... I had a couple of FC, but those are not the issue. I have two profiles: one "night" and one "active" profile. My night-profile has the color controls to adjust the blue to the minimum. Changing from one profile to the other (and back) correctly applies the color correction, but the app doesn't show the correct values on the sliders (they always go back to full white).

Cheers

Loris
[ONE Original Android Development] andip71:
Good finding. Confirmed. Will look into that today afternoon.

Edit: Found and fixed. Wanna pre-test the app quickly?

Andi
[ONE Original Android Development] lchiocca:
No worries... i'll wait for the next app update. Thanks for the quick fix and turn-around!
[ONE Original Android Development] andip71:
App update is out :)

Andi
[ONE Original Android Development] lchiocca:
Hmmm.... I can see that you put the files on http://boeffla.df-kunde.de/bc/ but when I use the in-app "Check for new app version..." it doesn't pick it up.... strange

Edit: works now ;)
[ONE Original Android Development] andip71:
Caching. Have you tried again?

Andi
[ONE Original Android Development] lchiocca:
Got the in-app update... I love those small little moments when I'm actually faster than any quad-core CPU :)

Edit: it bug is now erradicated *yeah*
[ONE Original Android Development] andip71:
Humans are still ahead of technology. And this is for good !!!

Thanks for confirming, it was a stupid "in-a-hurry" bug, 10 seconds too less thinking... sh**t happens :)

Andi
[ONE Original Android Development] BonzenPaule:
Wow impressive results! Did you greenify or deactivate Google Play Services?
[ONE Original Android Development] farazcrx27:
No matter on what kernel i am on, games always are not smooth on interactive in cm11s. I think this is a bug in 44s
[ONE Original Android Development] fjsferreira:
[MENTION=3878718]lord_[/MENTION]boeffla, can you cherry pick these 3 commits from dec 17?

http://review.cyanogenmod.org/#/q/s...yanogenMod/android_kernel_oneplus_msm8974,n,z

Thank you!
[ONE Original Android Development] andip71:
Those are merged in the cm12 repo officially, was seeing that today in the morning.

I am currently upgrading my build environment, after that I will put them in together with intelliminmax governor and give you a new alpha out, yes.

That was what I planned already this morning.

Thanks

Andi
[ONE Original Android Development] Floydfire:
Steve Kondik have merged the synaptic driver that you reverted some time ago because useless on our phone, what it mean? I'm pretty confused...
[ONE Original Android Development] andip71:
Ok, once again:

The kernel sources from which we build the OnePlus One kernel are also used for other devices (OPPO).

And the synaptic driver patch you are referring to is used for the OPPOs touch driver, but not for the OnePlus one.

The files that are changed by this patch are even not used at all during a compile for the OnePlus => they are not used by our touchpad hardware => no need to have them in.

The firmware for out touchscreen is stored in different files in the kernel sources.

All clear now?

Andi
[ONE Original Android Development] Floydfire:
Yes it was clear from the beginning when you last explained, my thoughts is why keep these two different device in a branch called android_kernel_oneplus_msm8974 which I think, (I had some studying in development but I'm not this good) is the kernel source for oneplus?! It doesn't make sense to me to use the kernel source of oneplus for another device, is not better to have another branch for the oppo? It can ease the work, I'm thinking without a knowledge on android development only asking for curiosity... Sorry if I bother you, feel free to not reply and delete my question if is too much ot
[ONE Original Android Development] andip71:
Well, the devices are in general VERY similar.

So they decided to keep the code in one repo and work with different kernel config (defconfigs).

This is a very valid way too.

Andi
[ONE Original Android Development] andip71:
New CM12 alpha !!!

Hi all,

after CM team commited some stuff to the kernel repo, new alpha version for CM12:

Version 3.0-alpha7

18.12.2014

IntelliMM governor added

Internal su updated to version 2.40

Updated with latest 3 CM kernel commits for CM12 until 16.12.14 (ab581faf)

Ramdisk updated to inofficial CM12 build of 18.12.14 by daleski75

Enjoy

Andi
[ONE Original Android Development] Floydfire:
I thought now that maybe also is for not use too much space? Thanks for you reply :) it's good to know something new..
[ONE Original Android Development] andip71:
Done, alpha7 is there for you.

Andi
[ONE Original Android Development] gondsman:
Is it normal that in the config app the preset for medium undervolt has a lower voltage for 1190 MHz than 1036 MHz? Is it because they use different body voltage?
[ONE Original Android Development] andip71:
Hi,

I was about to answer, this can happen like that. Based on base voltage and the fact, the light, medium and heavy UV patterns are having some natural "jumps".

HOWEVER: You still spotted a nice bug, as on the OnePlus the voltage table is reverted compared to all my previous devices. So the deltas are not correctly applied for these three profiles.

Very good finding, will be sorted in all upcoming kernel builds of course.

Thanks

Andi
[ONE Original Android Development] Ubimo:
I did't find the answer to my questions three pages back, so here it is:

May I use this kernel on the Resurrection ROM since this ROM is based on CM12?
[ONE Original Android Development] gianton:
Yes you can, you have to flash the Alpha 7 kernel for CM12 ROMs.
[ONE Original Android Development] acidburn94:
No i didint:):)
[ONE Original Android Development] pogi1100:
Andi, tried out the recent beta and the swipe2wake is awesome. Is there any way to use the swipe2sleep on the nav bar instead? I'm not a fan of the physical soft buttons and use the navigation bar instead.

Cheers.
[ONE Original Android Development] andip71:
The gesture engine is very flexible, so yes... this would be possible. Takes me only 5 minutes to configure it for a new kernel version...

I am just thinking if that is good, to swipe over the nav bar? What do the others say to that proposal?

Andi
[ONE Original Android Development] DanteGR:
For those who actually use the Nav bar it would be a great feature no doubt. It works flawlessly on my M8 and use it all the time.

Swiftkeyed from my OPO A0001
[ONE Original Android Development] lchiocca:
I personally like the "hardware" buttons on the OnePlusOne. But the only reason I'm not using the swipe2lock feature is because it actually triggers the three button. I haven't checked what the code does, but let me see if I got this right. The entire screen (the display+physical buttons) are actually touch sensitive and have the same sensitivity. I can see this, since a "touch boost" is also applied when touching the left side of physical menu button (but not the menu button itself). That basically means the "hardware" buttons are actually a map of coordinates that trigger a soft-key event.

At this stage, I'm getting really keen of seeing even more things you can do with that physical button section :). For example:

1) The swipe2lock could be enhanced to see if the swipe occured "outside" of the mapped button ranges and NOT trigger a key event

2) An even better solution (personally speaking ;)) might be to "pinch2lock" (maybe even a unpinch2wake)

3) An even betterer ;) solution would be to make it configurable what each possible gesture would do :)

I'm thinking of even more possiblities but those would involve a rom that supports it :(
[ONE Original Android Development] andip71:
All nice ideas. Let's see which of them I can materialize over the next months.

It is all quite a lot of work which includes some design challenges.

Not sure when I find that time, but let's see.

Thanks for the many inputs, much appreciated!

Andi