yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] andip71:
CM12s Boeffla-Kernel

Hi all,

as you can imagine, pretty much untested (build time is 12:27 CET), but here we go.

First beta1 for the CM12s Boeffla-Kernel.

CM12s -- Version

3.0-beta1

14.04.2015

Initial release for CM12s (Version YNG1TAS0YL)

All functionalities implemented that are also in the previous CM11s kernel

SELinux is configurable via Boeffla-Config (default mode: enforcing) - just as in existing CM12.x Boeffla-kernel already

Note: There is no upgrade patch via the Boeffla-Config app (as CM11s and CM12s are not compatible). So you have to download the kernel from the homepage and flash it. From then onwards, you can use of course the app again to update.

Enjoy

Andi
[ONE Original Android Development] Clark789:
Very nice! Thx...

How did you flash the CM12s? Backup, wipe dalvik/cache and then dirty flash with TWRP?

Cheers

Clark
[ONE Original Android Development] andip71:
Nandroid, then dirty flashed this zip:

http://xdaforums.com/oneplus-one/development/update-to-cm-12s-t3081800

After that, SuperSu and my kernel again.

But I have not done that to my main OPO so far. Just on the dev one :D

Andi
[ONE Original Android Development] ZaneZam:
not seriously, what the heck? :)

well after the last days i'm actually do not wonder.

let's see what cm team does with the new wifi driver

same will be in the new boeffla kernels then as stated by lord boeffla

unsteady/stable things these days :(
[ONE Original Android Development] gondsman:
I just installed the new CM12S kernel and my screen colors are absurd, like really, REALLY washed out. I can make them look decent with the calibration options, but it's strange it is so different from stock kernel if I don't do anything.
[ONE Original Android Development] andip71:
Not the case here.

I dirty flashed CM12s over CM11s.

Did you try to reset everything in Display control settings of the rom and then do a restart?

Andi
[ONE Original Android Development] Renosh:
Disable Sunlight Enhancement and the colors will be back to normal under Display & Lights Menu
[ONE Original Android Development] gondsman:
Thanks, this did the trick! Is this a bug then? I didn't have to disable it on stock kernel.
[ONE Original Android Development] andip71:
Maybe a side effect as I did not rebase the kernel on CM12s kernel sources yet.

But this will come with beta2.

So far I had the main goal to be quick to market, so people can continue using Boeffla Kernel.

Andi
[ONE Original Android Development] Clark789:
Think Microsoft-ish: it's not a bug, it's a feature! ;)

Cheers

Clark
[ONE Original Android Development] spanish33:
Hope oxygenOS can get some love in the future.

https://github.com/OnePlusOSS/android_kernel_oneplus_one
[ONE Original Android Development] andip71:
Aaaaah, finally a code repo there.

I will look at it once CM12s is done up to a point where I am happy with.

Andi
[ONE Original Android Development] Franc38:
Do you know where I could get the stock kernel in flashable form? I tend to prefer having ways of reverting to that (if required) without having to flash the full ROM again...
[ONE Original Android Development] andip71:
:mad:

Why does nobody look at my homepage...

All stock kernels were always available for download.

The one you are looking for is here:

http://boeffla.df-kunde.de/bacon/stock-kernel/Stock.Kernel.YNG1TAS0YL.CWM.zip

Andi
[ONE Original Android Development] Franc38:
Thanks Andi.

Your page was the first place I looked! But I saw the stock kernels for CM11S not for CM12S... Maybe you've updated in the mean time, or I didn't look well enough.

Anyway, sorry for that!

---------- Post added at 04:45 PM ---------- Previous post was at 04:41 PM ----------

Yop... I posted my question at 16:32, your page shows that your upload of stock kernel finished at 16:35! ;)

Am I forgiven, then? :p

Anyway, thanks again for both your kernel and that repackaged stock one! :good:
[ONE Original Android Development] andip71:
Lol, was never mad of you. Yes, maybe the upload and your question crossed. Likely as my internet line is currently pretty busy.

Andi
[ONE Original Android Development] EasyGoingXD:
To the Lord....https://github.com/OnePlusOSS/android_kernel_oneplus_one
[ONE Original Android Development] gondsman:
Uhh, this is interesting! Is there a chance that the camera driver can be ported to the CM12 kernels? On CM12S this bug is still present: https://jira.cyanogenmod.org/browse/BACON-1309

It doesn't happen on O2OS, so maybe it is possible to port the camera driver from one to the other.
[ONE Original Android Development] laura almeida:
WIFI works fine on ZZMOOVE with zzmoove - optimal profile

I haven't tested any other Governors
[ONE Original Android Development] andip71:
Something to check and investigate.

But first I need some hours to do a complete rebase to get rid of this "sunlight enhancement" issue you reported.

Andi
[ONE Original Android Development] Franc38:
Yep, that'd be great. :good:

By the way, I confirm the sunlight enhancement problem and that disabling the option restores normal colours.
[ONE Original Android Development] andip71:
Yes, even I can confirm that.

So, it is not a perfect idea to build the CM12s kernel on top of the latest CM12 sources.

That is why I have to do a painful rebase now :(

But following my close-to-stock objective, it is anyway the right thing to do.

Andi
[ONE Original Android Development] magnamentis:
hoho... i know you're kidding, just kidding back by saying that those who never ask but just find are looking at your website hehe... thanks for the great job once in while, this is meant in general since i'm not using stock "s" roms.
[ONE Original Android Development] abhibnl:
Poor Andi! Two completely new kernel sources to rebase kernels on and on the other hand busy personal lyf. :P :P :silly:
[ONE Original Android Development] andip71:
Well you know.. step by step. We will get there over the time.

Andi
[ONE Original Android Development] GabrielSousa:
did you try to make a reboot with zzmove ?
[ONE Original Android Development] abhibnl:
Haha! I'm sure we'll get there. I'm looking forward to boeffla flavored Oxygen OS kernel. Since its' camera is way better and it's also smoother than cm12s as per the user reviews. Lack of features, i can live with that with xposed/gravity box.
[ONE Original Android Development] gondsman:
No problem, take your time! My OPO is happy enough with your newest beta. :)
[ONE Original Android Development] laura almeida:
Well WiFi doesn't work after a reboot.

But turning Airplane mode on and off seems to fix it.

No drop in WiFi after that.
[ONE Original Android Development] Orphee:
Hello,

SELinux permissive don't stick at boot on CM12S even with the option enabled in kernel settings... Only a soft reboot (after unckecking SElinux strict in main app) do the trick...

Did I miss something ?
[ONE Original Android Development] ZaneZam:
Yeah maybe the word "beta" and "quick based on cm12" sources :) we are not on original cm12s sources yet. ;)
[ONE Original Android Development] andip71:
Good. I will investigate that as well.

On CM11s kernels I did not provide this functionality at all, maybe I should also do that here. We will see.

Tomorrow earliest.
[ONE Original Android Development] andip71:
Intermediate info:

I have a first internal version of CM12s kernel beta2 running here.

Beta2 is completely rebased to exactly the same code, CM team used for CM12s.

And I can confirm already, the "sunlight enhancement" is now working as it should.

Andi
[ONE Original Android Development] suaverc118:
You are too fast. Lol
[ONE Original Android Development] andip71:
Next: SELinux switch now also working in my preview version of beta2.

By the way - this is the first time now, selinux is configurable with any of my kernels on CM..s :)

So I think, all mentioned bugs fixed in next beta. Doing some more testing, then maybe I can release it for you tomorrow.
[ONE Original Android Development] pinoymutt:
Looking forward to getting some of my battery life back - always hate having to use stock kernel :D
[ONE Original Android Development] andip71:
If you do not use sunlight enhancement or need the kernel to run in permissive, you can already use beta1.

Otherwise, beta2 will be coming soon I hope. Running will at my end so far.

Andi
[ONE Original Android Development] tracerit:
I'm on Euphoria 5.0.2

Would it be safe to flash backwards from 3.2-beta1 (Apr 9 2015) to 3.1 stable (Apr 2 2015)? I flashed the 3.2-beta1 earlier today and now i'm getting large amounts of wakelocks from event0, event2, event 3 according to WakeLock Detector. I had these event wakelocks on Kitkat and ironically got rid of them after switching to Boeffla kernel :)
[ONE Original Android Development] Franc38:
As long as you're using a kernel that works for the type of ROM you have, there's no problem I really can see in going backwards (apart from the fact that normally a more recent version has less bugs in general). At worst, if it's not up to par, you can still reflash the most recent version (if the ROM has incorporated some commits that require this or that bit included only in most recent versions of kernels, you'll see it quickly... and reflash the newest beta)
[ONE Original Android Development] Texan1:
Hi [MENTION=947981]Lord Boeffla[/MENTION], well done and thanks, will wait for Beta2 before testing but assume you have kept partial update revert as in previous kernels? I ask because I flashed CM12S and graphic issues still present unless I 'Disable HW overlays' in Developer Options as per previous builds.

Interestingly I flashed and ran OxygenOS for several days prior and no graphic issues on that build so they must have fixed it or at least built in partial update revert. I wonder why still present in CM12S and why a permanent fix has yet to be implemented?!
[ONE Original Android Development] tracerit:
flashed back to 3.1 stable and no more event wakelocks. Seems it was due to the wifi drivers that were changed.
[ONE Original Android Development] acuicultor:
Cos12 with boeffla kernel sleep like a baby, thanks lord!
[ONE Original Android Development] andip71:
CM12s kernel beta2

Hi all,

as promised already yesterday, I spent some hours on a complete rebase of the beta1 CM12s kernel to make it 100% compatible to CM12s.

So finally we go for 3.0-beta2 for CM12s now.

Version

3.0-beta2

15.04.2015

The kernel was built from scratch based on exact CM12s kernel code of branch stable/YNG1TAS0YL - this should address all small compatibility issues reported with beta 1

"Sunlight Enhancement" mode in display settings working properly now

Configurable SELinux control fixed

Enjoy

Andi
[ONE Original Android Development] andip71:
I think the new wifi drivers which CM implemented into CM12.1, and which they are about to revert soon again, are causing this.

At least this patch points to this and is mentioning sleep issues in some specific cases with the new driver:

http://review.cyanogenmod.org/#/c/94506/

Hence, I will update Cm11s, CM12 and CM12.1 kernel as well today with this driver already reverted again.

I cannot tell you why this is still in. Maybe many people are not sensitive enough to see it (like me), or it is only appearing with specific configurations and/or phone lots.

In any case, I reverted the partial updates also in my CM12s kernel, just for you :)

Andi
[ONE Original Android Development] Orphee:
Hi,

I can't connect to my home wifi with CM12S, I can't tell it is because CM12S of your kernel because I directly flashed your kernel. SELinux permissive is mandatory for me.

I'll try to flash back original CM12S Kernel to see what happens.

Thank you
[ONE Original Android Development] andip71:
Wifi drivers in beta2 are 100% identical to CM12s stock kernel.

That is all I can say.

Andi
[ONE Original Android Development] Orphee:
Ok thank you, I'll see at home tonight.

I also saw this : http://xdaforums.com/oneplus-one/themes-apps/cm12-enable-dfs-5ghz-wi-fi-channels-t3075067

Maybe it could fix my issue...
[ONE Original Android Development] andip71:
Who knows.

Worth a try. But just for heads-up: I had a look into this zip, it changes some firmware. So in order to revert back from it, you need to take a full nandroid backup first.

Andi
[ONE Original Android Development] Orphee:
I made a flashable backup of all stock CM12S files modified by this zip with ZipME app just in case.

Thank you
[ONE Original Android Development] Clark789:
Hi Master,

the new kernel runs - as always - absolutely perfect!! Flashed CM12s in the morning and directly following the 3.0b2. No issues at all!

Thx a lot for your efforts and your fast development!!

Cheers

Clark
[ONE Original Android Development] Orphee:
Thank you very much, I can confirm SElinux permissive is working at boot now :)
[ONE Original Android Development] davebugyi:
Is it possible that 3.0b2 for stock COS 12 messed up something in the settings? Since installing it, I can't access the developer settings.

Dalvik/cache wipe was done, also settings app cleared.

java.lang.Number.FormatException (Invalid int: "3)

edit: Quote unnecessary
[ONE Original Android Development] andip71:
Yes, this required really some coding again. Unexpected.

Just good I did that lately already for the S3 CM12.1 kernel. So it was relatively simple.

Nope, this is a clear issue in the rom.

Somehow, something managed to put a hyphen in a numeric field in an Android database.

But this is really nothing the kernel takes care of. The kernel does not even have a concept of data types in the layers above it.

If it was after the flash, then it was one of the very rare flashing side effects. But for sure not kernel related as many here can and would confirm.

Easiest is: Set back to your Nandroid backup you did before flashing the kernel, check if it is really working again then. And if so, flash kernel again.

Andi
[ONE Original Android Development] davebugyi:
Strange, never had an issue like this before :) Yep, nandroid restore worked, other than that 3.0b2 is working great so far!
[ONE Original Android Development] andip71:
Well, it is kinda normal.

Every flash comes with a very low risk.

I cannot count how many people for instance lost their EFS (IMEI) folder on the Samsung Galaxy S3 when flashing something.

There is no real explanation for that, but experience shows it happens.

A rom flash, a theme flash, a mod flash, kernel, modem... everything does a significant change to the system. And if only the slightest thing goes wrong, bamm.

As said, I think the rate of flash related issues are far below the 1% limit, but they exist.

Good you are back with your phone and the kernel now :)

Andi
[ONE Original Android Development] andip71:
Updates for CM11s, CM11, CM12 and CM12.1

Hi all,

following the reported issues with the new wifi drivers (http://review.cyanogenmod.org/#/c/94506), I decided to release updated stable kernels for CM11s, CM11 and CM12 now. And of course a new beta kernel for CM12.1.

Please note: I was not able to test the CM11, CM12 and CM12.1 kernels, but I am pretty sure they should run fine.

CM11s + CM11 -- Version

2.6 stable

15.04.2015

Removed wifi drivers LA.BF.1.1.1_rb1.17 again as they seem to cause deep sleep issues in certain cases (http://review.cyanogenmod.org/#/c/94506/)

CM12 -- Version

3.2 stable

15.04.2015

Update: Updated with latest 3 official CM kernel commits as of 14.04.15

Removed wifi drivers LA.BF.1.1.1_rb1.17 again as they seem to cause deep sleep issues in certain cases (http://review.cyanogenmod.org/#/c/94506/)

Ramdisk updated to version of 15.04.15

CM12.1 -- Version

4.0-beta5

15.04.2015

Update: Updated with latest 2 official CM kernel commits as of 13.04.15

Removed wifi drivers LA.BF.1.1.1_rb1.17 again as they seem to cause deep sleep issues in certain cases (http://review.cyanogenmod.org/#/c/94506/)

Ramdisk updated to version of 14.04.15

Enjoy

Andi
[ONE Original Android Development] hikhokk:
Pleaseeee I cant wait for OxygenOS support!
[ONE Original Android Development] andip71:
Super duper hard, not a quick one.

I have to literally rework each of my >100 commits, they have put so many customisations in.

Will take a while.

Andi
[ONE Original Android Development] abhibnl:
Well i was hoping like Ak and one other dev (don't remember the exact user name now), you would also say, code is a mess so no kernel support, ROFL. Finally it's good to see you'll work on it as soon as time permits.

Also, could anyone confirm one of my findings with CM12s Beta2 kernel. Somehow on ZZmove and Samrtmax, the min frequency stays 499 majority of the time rather than 300. While on Interactive and slim(using now), it ramps down to 300 without any issue. Could anyone confirm please if it's only me?
[ONE Original Android Development] kurtextrem:
Hi Lord, wanted to ask if there are any new plans for kcal support? :)
[ONE Original Android Development] andip71:
Not for the newer kcal.

The original one is in already.

Andi
[ONE Original Android Development] Texan1:
Yes it is a very strange issue that only seems to affect some. Not sure what OxygenOS did to fix it and why they did but not CM.

Either way, thank you for continuing to revert partial updates, donation coming your way! :good:

Edit - [MENTION=947981]Lord Boeffla[/MENTION] - enjoy, confirmation number: 75537392VU313252X :highfive:
[ONE Original Android Development] Giocarro:
Apologize for the silly question: is it normal that in the new CM12s kernel there are fewer governors?
[ONE Original Android Development] andip71:
Nothing is silly.

Well, what specifically are you missing?

(I currently am on Oxygen OS, so cannot look it up)

Andi
[ONE Original Android Development] gmi78:
.

you work to kernel for oxygen??:p:D:laugh:
[ONE Original Android Development] andip71:
I give it a try, yes.

Andi
[ONE Original Android Development] jcespi2005:
Nice, i'm on OxygenOS if you need a tester ;)

Thanks
[ONE Original Android Development] twowheeler:
First time flashing a kernel on my opo, decided this was the best one to start with!

So far, seems very good. One question: I made all my settings, is it okay to keep selinux ticked as strickt? Will this still make all the changes work.

Thanks for your work
[ONE Original Android Development] Han-Droid:
Sorry for going ot here but with all the goodness lollipop is bringing to us....I just hate the white background in the app drawer. It just fries my retina.... :eek:

Is there a fast solution to make things black again as in cm11s ?
[ONE Original Android Development] ZaneZam:
yes changes will stick and work, u just need to change selinux state if u have any issues with apps or mods, but u seem like a stock near user (for now, all starts with the first custom flash *gg*)

so no problems expected ;)
[ONE Original Android Development] Giocarro:
Well, yes, I'm kind of addicted to smartmax governor; I'd greatly appreciate if you could add it back when you have time.

As always thanks for your excellent work, made with German precision! ^__^
[ONE Original Android Development] andip71:
Wow, is it really missing? How can that be? Hm, will look into it tomorrow :)

Andi
[ONE Original Android Development] twowheeler:
Awesome thanks! Yes i flashed a lot on my nexus4, but decided to keep this one a bit more stock till now. Will probably stay with cm12s, but a kernel is always good. Also hope this fixes the android system usage being at the top. ANd the beauty of all this: If i mess up i can just flash the factory image again or the stock kernel

I'm on beta2, but i see smartmax right there? using it now
[ONE Original Android Development] Giocarro:
Weird: now I see smartmax governor, too! I didn't reboot or anything... well, sorry for the wrong call; happy to enjoy Boeffla kernel!
[ONE Original Android Development] Ofthecats:
Do you like their code?? Lol I'm curious of developers opinions
[ONE Original Android Development] yanner2012:
The kernel for cm12s works very very well. Thanks you for this.
[ONE Original Android Development] abhibnl:
Andi, if possibe, could you please add Impulse governor as well as it's modified Interactive with emphasis on battery life? (Silly me explaining this to a kernel master) :p :p :p
[ONE Original Android Development] andip71:
Not yet. I am missing the device tree, so I cannot get it to work at the moment.

Not sure.

Only if it does work with mpdecision + if it doesn't overwrite standard interactive governor.

After I finished my work on Oxygen, I will take a look maybe. Any reference for it in another kernel?

Andi
[ONE Original Android Development] DjDiabolik:
I have a need to little reports by some users using the 3.0 beta 2 on cm12s :)

What'sThe SL value during charging using your opo ? I'm my case whit original chargen but not the original cable the config app reports a value fixed to 500mA (on cm11s i obtain 900mA). Whit this "stock" value i obtain a veeeeerrrryyy loooong charging (about 5 hours from about 10% to complete 100%) and now i have set this value to 1000mA but it's very strange :( :

Also on cm11s i notifield longest charging whit my opo and i can't understand because.... only after set this value to 1000mA i obtain better result.....
[ONE Original Android Development] andip71:
SL = Stock logic for charging applies.

Same logic in all my kernels without any change.

Andi
[ONE Original Android Development] bloof:
I know this is not kernel related but there is a bit of discussion on this.

I flashed Calkulin's CM12S ROM, clean install. I also flashed superSU 2.46.

After a bit of playing around I had the "developer options" problem. Wipes did nothing, had to re-clean install, major pain.

What I did next in the first time into Developer Options was to disable the "Root" option. No idea if that is a fix or not, but things are working fine now.

What is strange is now after a few reboots (but no caches wipe), the "Root" option in Developer Options is gone... I noticed because Titanium Backup told me ADB was not enabled, so something somewhere changed the Developer Options menu.

EDIT: i found in superSU there is a switch got ignoring or adhering to CM root settings.
[ONE Original Android Development] abhibnl:
Render's kernel and AK has it now in his experimetal build. A lot of users were requesting for this governor so i did a lil bit of reserach that it's interactive modded by neobuddy for better battery lyf without losing performance. I just never tested it cause i use boeffla 99.9% of d tym.

Sent from OnePlus One
[ONE Original Android Development] kaneelias:
Loved the kernel on my S3.

May sound stupid but I cannot find the app on your site. Have you got a direct link please?
[ONE Original Android Development] lou2s:
http://www.boeffla-kernel.de/index.php/downloads-oneplus-one

It's in the first few lines, in blue ;)
[ONE Original Android Development] kaneelias:
Thank you
[ONE Original Android Development] TheShoxter:
I flashed the CM12s kernel beta and I lost root. I'm on Cyanogen OS 12.
[ONE Original Android Development] DrNinjaa:
Deleted
[ONE Original Android Development] yanner2012:
Not here. You can reflash supersu 2.46
[ONE Original Android Development] davebugyi:
I think the lost root issue happens only when you flash the kernel on Calkulin's Stock ROM with root enabled. No issues on other stock ROMs

And see this:
[ONE Original Android Development] Mkkt Bkkt:
Dear lord boeffla can you please make your kernel work with Color Os ? :'(
[ONE Original Android Development] abhibnl:
No kernel sources, no kernel bro.

Andi and everyone, could anyone please advise what this Sensor wakelock is? First time in 4 years of owning an Android device i'm seeing this, that too overnight when phone was idle.

Sent from OnePlus One
[ONE Original Android Development] acuicultor:
First they have to release the source code of the kernel and then devs can work on it, till then there's nothing to do. Correct me if I'm wrong.