yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] andip71:
CM12.1 kernel maintenance update

Good morning,

before I disappear again for the rest of this week, I merged all the recent CM commits into a new version of the CM12.1 Boeffla Kernel.

And yes, they also contain the F2FS commits which CM officially merged now. I am not a fan of F2FS, as you know (see OP), but if CM makes it official I will of course put them in as well.

Version

4.2-beta2

07.09.2015

Updated with latest official CM kernel commits as of 06.09.15 (incl. F2FS commits)

Ramdisk updated to official CM12.1 version of 07.09.15

Enjoy

Andi
[ONE Original Android Development] andip71:
Guys,

third week in a row I have to go on a business trip (at least this time I stay in my home country).

Hence, I will be gone again in an hour for the next 3 days, basically returning back Thursday night CET.

So, I will try to follow the threads and read. But do not expect any work (kernels, app) from my side during the next 3-4 days.

Sorry

Andi
[ONE Original Android Development] suaverc118:
Take care and safe travels.
[ONE Original Android Development] jdogzilla:
So correct me if I am reading this incorrectly, your kernel now supports F2FS? So if my /system partition is F2FS, I can use your kernel now?
[ONE Original Android Development] andip71:
Probably that means it. I will never try as I don't like f2fs.

But as much as cm stock kernel now supports it, the much will do Boeffla.

Try it, let us know ?
[ONE Original Android Development] therohanchawla:
Sorry!! My bad.......
[ONE Original Android Development] magnamentis:
not sure in which thread that it was where someone wanted to toggle dt2w with tasker under any condition (profile) of choice: i posted in the blissbacon thread but could as have been here or cm12.1 thread. however here come the working shell scripts which have to be run as root:

switch dt2w off = echo 0 >proc/touchpanel/double_tap_enable

switch dt2w on = echo 1 >proc/touchpanel/double_tap_enable

be aware that swipe2sleep commands are not in that directory, neither is the swipe2wake command. sleep commands are in sys/android_touch instead of proc/touchpanel while i did not explicitly look for the swipe2wake command because i don't use it :)
[ONE Original Android Development] fards:
Cm don't support /system as f2fs with the latest commits.

Not really a lot of point with a read only file system
[ONE Original Android Development] ashutoshmn:
[MENTION=947981]Lord Boeffla[/MENTION]

Are you somewhere in future planning on building kernel for CAF based ROMs? Or can I flash your normal kernel on CAF ROM?

Also, here's a suggestion you might consider adding in your kernel:

1. Minimum CPU freq to 268mhz

2. More CPU jump states/steps. Eg. Currently CPU jumps from 300Mhz to 424Mhz and so on. It can be like this: 268Mhz to 300Mhz to say 350Mhz then 400Mhz and so on.

Edit:

Could you add this function to your kernel:

Beginning from CM 12 to CM 12.1, all the builds are inflicted with

adaptive brightness turned on by default, which is very annoying and

no option to turn it off in the ROM itself.

What it does is that when you move from a lighter to a darker background or

vice versa, the brightness of the screen fluctuates (dims/brightens).

To disable this, one can run following code on terminal emulator:

su -c "echo 0 > /sys/class/graphics/fb0/cabc"

And one has to run this code every time a Reboot is done.

So, can you add this option into your kernel that it turns off the adaptive

brightness automatically at startup of ROM after a reboot (during when Boeffla Config completes/applies

the boot settings).

Thanks!
[ONE Original Android Development] andip71:
F2FS (sorry to say my opinion again) is anyways pointless on such a powerful device as the OnePlus. I see ext4 is more than enough here, a normal user will not feel any difference.

And ext4 is supported by all roms, all kernels, everytime, everywhere. So it is the safest bet we can have. Experimenting with file systems that might not be that robust is where I will never compromise myself. Data integrity is one of the most important things.

Andi
[ONE Original Android Development] magnamentis:
search and read, all answered, here is an example after 10 seconds of search: http://xdaforums.com/showthread.php?p=61839139&highlight=caf#post61839139
[ONE Original Android Development] andip71:
Hi,

no, I will not provide a CAF kernel. I have no capacity anymore for more kernel variants. I am still one single person and not a company, so having 8 active kernels are too much already.

268MHz step: I had this already in about 10 months ago. It was not good, so I removed it again and will not bring it back (search in this thread to read why I removed it again). And it was also not having any effect on battery.

More frequency steps: In my experience they have no advantage. No battery saving at all, also no smother user experience. So I don't see the point why wasting much time in doing that.

Sorry for the negative answers, but I am always honest.

Thanks

Andi
[ONE Original Android Development] ashutoshmn:
No Problem, I completely understand.

What about the Adaptive Brightness Thing?

I edited my last post after your reply so probably you didn't see it:

[IMG="arrow"]http://i1156.photobucket.com/albums/p573/dhamatpharma/arrow-down-01-128_zpslz7rzdqv.png[/IMG]

---------- Post added at 09:43 PM ---------- Previous post was at 09:40 PM ----------

There is something caller HSR/HFR video recording that can be enabled in CAF ROMs through snapdragon cam, of course because snapdragon has released the source, the advantage? You can now record smooth 60fps videos with sound.
[ONE Original Android Development] fards:
You're not going to find me disagreeing with you on that! :)

Personally find ext4 to be a solid and reliable fs on every machine I have. Can't believe everyone is so desperate for a Samsung derived hacky filesystem. ?
[ONE Original Android Development] OmegaBlaze:
[MENTION=947981]Lord Boeffla[/MENTION] I see you have the OP2 on your twitter! What are your thoughts on it so far? Will we be able to overclock or raise the CPU frequencies without fear of overheating, or are we screwed because its just a buggy chip? (You're one of the main reasons I pulled the trigger on buying it to be honest.)
[ONE Original Android Development] andip71:
Adaptive brightness thing - have to think about it when I have time.

My next priority is a first kernel for op2.

Which can take some more weeks as I am not much at home currently.
[ONE Original Android Development] andip71:
First thoughts: hardware good, software not very good (OxygenOs). I hope for cm some day.

Overclocking without overheating = no. It is already on the edge now and thermal throttling kicks in regularly.

But you don't feel it as such, the device has strong computing power.

Chip is not buggy. It was designed to behave as it does. As said, it is very powerful and even if throttled you never feel that.

Let's see what we can achieve and improve with custom kernels.

Andi
[ONE Original Android Development] OmegaBlaze:
I already know you have something in the works via optimizations! I personally like Oxygen. Its very snappy. However, the battery life is trash.

CM12.1 is available for the OP2 if I remember correctly.
[ONE Original Android Development] andip71:
It is available unofficially with still some stuff broken.

Too early for me ☺

Andi
[ONE Original Android Development] jokermithun:
COS stands for CyanogenOS ,is it right???

1+1
[ONE Original Android Development] ZaneZam:
yes
[ONE Original Android Development] jokermithun:
got detail info on kernel homepage

1+1
[ONE Original Android Development] cloudx720:
Great to be back on your kernel Andy :) got my oneplus one at a very good price! ???

---------- Post added at 07:27 AM ---------- Previous post was at 07:18 AM ----------

CyanogenOS is great [emoji4] dunno if its available for the oneplus two tho.
[ONE Original Android Development] ZaneZam:
COS is not available on the One plus two as the cooperation of cm and one plus has ended. Oxygen replaces COS on that device so oxygen is the new "stock" system on the op2. ;)
[ONE Original Android Development] cloudx720:
Oh :( wondering if I will still get updates for my oneplus one, or maybe I should flash official CyanogenMod? [emoji29] [emoji2]
[ONE Original Android Development] andip71:
Contract with CM on OnePlus One platform ends by the end of this year when I am not completely wrong.

So there will be maintenance and updates still for some time.

After the contract has officially ended, I would indeed advice to switch to CM12.1 instead.

Andi
[ONE Original Android Development] cloudx720:
Strange just been testing latest cm12.1 nightly with 4.2 beta 2 cm12.1 kernel and it crashed for me while using power preset. But on stock official cyanogenOS with 4.0 beta 3 cos12.1 power and even power extreme presets antutu flies thru and I get the best scores I have ever seen on a smartphone lol! [emoji15]? Not one single crash.
[ONE Original Android Development] ZaneZam:
2 different roms 2 different situations [emoji6]
[ONE Original Android Development] andip71:
And overclocking sometimes works, sometimes not.

Overclocking is as much a gamble than undervolting. Many parameters influence that.

That's the reality :D

Andi
[ONE Original Android Development] Renosh:
[MENTION=947981]Lord Boeffla[/MENTION]

On COS 12.1 Instagram videos stutter on latest beta. Haven't noticed any issues anywhere else though. Stock CM kernel the videos play smoothly. Please check it out when you can. Thanks
[ONE Original Android Development] andip71:
Not using Instagram myself, so cannot check it.

But set minimum GPU frequency to 200 (as in stock).

Andi
[ONE Original Android Development] cloudx720:
tbh latest nightly wasn't playing well at all lol back on cyanogenOS, my gaming experience is off the charts! [emoji2] absolutely love this phone hehe
[ONE Original Android Development] OmegaBlaze:
Anyone have a solution for this problem?
[ONE Original Android Development] andip71:
Radio consuming battery is not a topic for a kernel thread.

However when you are lucky, someone answers something helpful.

Andi
[ONE Original Android Development] magnamentis:
yes, install xposed framework and use the module with the name: MobileActiveRadio Fix, works like a charm back to 0.2%/h from previously 0.8%/h. if you do that you can as well us amplify and greenify special features to get down to 0.2%/h idle drain. i use it on 4 devices with the same results ( +/- 1%/h ) and get a stable battery drain level. SOT makes no sense to measure since the use patterns differ way too much but FYI i get: 8+h on the nexus 6, 5+ hours on the nexus 5 and 7+ hours on the OPO with this kernel of course. but be aware that under LP it turned from an easy to handle convenient mod into a sophisticated and demanding *****. it's now and ART to use it, while ART ist the reason, hence a bit of fun. LOL

PS: sorry andi i know you hate xposed but still it does a good job for me and one never hears complaints from me if it brakes something :)

ohhh. BTW if one could put such huge images into containers

that's where the image should be LOL

that would be helpful.
[ONE Original Android Development] andip71:
Not an issue. I do not need to use it + if some other issues coming up, I will just not provide support.

Apart from that, we are a free world and everyone can do as he/she wants.

Andi
[ONE Original Android Development] OmegaBlaze:
Boeffla how the hell are you escaping the problem?

---------- Post added at 12:53 PM ---------- Previous post was at 12:49 PM ----------

What's your SELinux set on? I tried this module when it FIRST can out and still had major ass drainage :(

I heard setting the SELinux to Permissive makes it work, so I guess I'll try that.
[ONE Original Android Development] andip71:
I just dont have it. Or I have it and live with it.

As long as my phone lasts one full day, I am ok.

Andi
[ONE Original Android Development] Renosh:
That definitely fixed the issue. Anyone encounter the same problem in other apps follow this advice
[ONE Original Android Development] andip71:
Good to know. Maybe I should consider making 200 MHz the default again, as in stock kernel. And allow people to put it down to 27 MHz when they understand the consequences.

Will think over it.

Andi
[ONE Original Android Development] magnamentis:
forgot JK was just teasing you a bit, hence just kidding ROFL so the shot went a bit far :)

else, as usual i entirely share your viewpoints, even the fact that for devs it can be a real PIA with all the complaints that come with it, but then it's not the fault of the software, but of the (kind) of user. just watch how the quality of device threads drop with the price tag, there definitely is a connection. uppsss... getting political :) enjoy and thanks that your piece of software does not cause that kind of hassle, which is why i use it LOL :good:
[ONE Original Android Development] mmcneil:
Need a little help here; I'm running the latest version of BrokenOS and when I flash the Lord Boeffla's cm12.1 kernel, I get boot loops. AK's kernel works with no issue. Do I need some type of firmware update? Or, do I need to flash back to stock and start over? Thanks in advance
[ONE Original Android Development] cloudx720:
Is brokenOS based on cyanogenOS? if so you are flashing the wrong kernel [emoji4] you need to flash cos 12.1 version. Actually I don't think any boeffla kernel will work, as BrokenOS is not based on cm?[emoji30]
[ONE Original Android Development] andip71:
My kernels are indeed only compatible to either cos or genuine cm12.1.

If other rooms have not compatible ramdisk, they will not run with my kernels. I am not using any kernel method as others do, and will not.

Reason: too less control, and I am not a big fan of custom rims, never use any.

Andi
[ONE Original Android Development] mp3deviant721:
To elaborate on what Lord Boeffla said, you can still make it work by taking the init.eviron.rc file from Broken's ramdisk and add it Boeffla. It should work then. That is if the ROM is AOSP based.

OnePlus One | Euphoria OS x Boeffla edition™
[ONE Original Android Development] smaiarif:
Hi... am using Revolution HD rom on my s3 i9300.. please suggest me the best and suitable kernel to flash from this thread....have TWRP installed...
[ONE Original Android Development] taha198:
Buddy you are in wrong forum. This is Oneplus one.
[ONE Original Android Development] Han-Droid:
Hi Andi,

could you please check if your new oneplus2 is facing the problem in this video: https://youtu.be/-WLLPLsqDMg ?

It's very common these days and I'm facing this hardware problem too...

For quick readers: I am talking about the dysfunctional homebutton / finger-scanner due to an obvious grounding problem. Video is showing it quite well....
[ONE Original Android Development] amg83:
I just got mine today and I don't appear to have this problem. I am using a custom kernel due to the wifi bug in stock kernel. Don't know if that helps.
[ONE Original Android Development] thescorpion:
Awesome kernel , fast ,good battery ,snappy al i wnt in a kernel thanks for tgechard work m8
[ONE Original Android Development] sash89:
Hey guys,Best battery friendly governor?thanks
[ONE Original Android Development] magnamentis:
there is no best. it always depends on how many performance hits you're willing to take and what your use patterns are.

further it's allowed to make full sentences and provide some information about usage and configuration when it comes to battery life inquiries.
[ONE Original Android Development] ZaneZam:
it's the one u choose and find it "the best" for u :)

actually there is no general "the best" it all depends, and this applies also on questions

about "the best" setting. but to help u out with some decisions lord boeffla made some config presets u

can try but be aware they partially contain UV which even can have a negative effect on energy consumption

but again that depends, so at the end u always have to try ;)
[ONE Original Android Development] vicky2131:
try this

governor: smartmax_eps

io- zen

max cpu-14xx

min -default

max gpu-330

min 27

kernel logger off

touch boost off.

i get 7 to 8hrs sot on wifi
[ONE Original Android Development] andip71:
CM12.1 kernel maintenance update

Hi all,

quick maintenance release for the cm12.1 kernel.

Version

4.2-beta3

14.09.2015

Ramdisk updated to official CM12.1 version of 14.09.15

Enjoy

Andi
[ONE Original Android Development] andip71:
OP2 Kernel...

Hi all,

just some sneak peak of the OP2 kernel.

Development is VERY slow, but progressing at least.

Here the new CPU control, as we now have two individual CPUs to control (Cortex A53 and A57).

Cheers

Andi
[ONE Original Android Development] Renosh:
[MENTION=947981]Lord Boeffla[/MENTION]

Just tried out latest kernel for CM12.1 nightly and it doesn't experience the same stutter as I did while using COS 12.1 so if you were still considering changing minimum frequency at least on nightly it's ok with GPU at 27 MHz minimum.
[ONE Original Android Development] magnamentis:
about time, because IT (see attechment) is incoming, currently parked right around the corner from you LOL
[ONE Original Android Development] Droidalok:
Strange Battery Behaviour

I am running the beta 20 of kernel v4.1 on the Exodus Nightly (Sept 11). Last night I put the phone on battery saver and airplane mode to try and preserve battery overnight. I noticed a battery drain of around 50% overnight. Going into the battery stats I observed that the kernel was keeping the device awake for 10 odd hours.

I shall post a screenshot shortly from my phone of the behaviour, any idea why this might be happening? Am I doing something horribly wrong?
[ONE Original Android Development] kalapapa:
Probably a rogue app
[ONE Original Android Development] andip71:
Naaaah, for expectation management: It will take some good more time.

Everything is different on this device, due to the 2 CPU (Cortex A53 and A57) concept.

I can barely use anything I did before.

Andi
[ONE Original Android Development] andip71:
Install betterbetterystats app (this is the only one I know that works correct) and check for partial wake locks.

For sure the kernel does not keep your system awake normally, as otherwise this thread would be full of complaints.

Andi
[ONE Original Android Development] Droidalok:
Thanks Andi, I already have installed the BBS app and shall try to create the same situation tonight and observe the partial wakelocks and repost the details.

Thanks for the inputs.
[ONE Original Android Development] shivasrage:
Hi Andi

Using your kernel for a few weeks now and everything works very well.

I´m on latest Stock 12.1 and since 4.2 beta 3 there is no sound on stock cm musik apk

and also on google musik apk. but system sounds work.

So I tried to revert to stable 4.1 and sound come back.

For me its no problem to stay on the stable one .....only want to let you know this.

Excuse in advance if you allready know this or it was mentioned before.

thanks for your awsome work....:good:
[ONE Original Android Development] Renosh:
Sound works perfectly for me on 4.2 beta 3 with CM12.1 09/14 build. Not a single issue, only additional stuff I have are maxxaudio and CameraNext
[ONE Original Android Development] indesisiv:
Same with me, music works perfectly. No problems here at all.

On latest nightly (15/09)
[ONE Original Android Development] molonad:
So only older roms can have problem, so I dont know if i can use it on latest rr from 8.9.
[ONE Original Android Development] shivasrage:
Hmm strange...

Ok maybe I´ve done something wrong....sorry for the noob question but I´m new to oneplus one and CM things.

does 4.2-beta 3 match with CM 12.1 -YOG4PAS1N0..?

Or I have to use other version?

thanks
[ONE Original Android Development] molonad:
There is difference between cyanogen os 12.1 which are you using and cyanogenmod rom nightlies for which is beta 4.2 beta 3 kernel. You must download this kernel

http://boeffla.df-kunde.de/bacon/boeffla-kernel-cms/cm12.1s_download/Test/
[ONE Original Android Development] andip71:
Argh... you are not having CM12.1, you have COS12.1.

And for COS there is a dedicated kernel on the homepage.

Andi
[ONE Original Android Development] shivasrage:
Thanks a lot guy´s

I get it sorted....

CM12.1,COS,Stock,Genuine,nightlies....hmmm sorry but it´s not that easy for the beginnig...

so once more thanks and excuse for the noob questions...

have a nice day.. :)
[ONE Original Android Development] Droidalok:
So after one full day of using the device it's still the kernel that is keeping the device awake - power manager service with 191 partial wake locks. Any idea what's going wrong? It's kept the device awake for 3 hours
[ONE Original Android Development] andip71:
It is still not the kernel :)

Any screenshot or bbs dump?

Andi
[ONE Original Android Development] baxtex:
I have scrolled though this thread back and forth but not found any "recommended" settings for a good battery/performance ratio. Any recommendations? What Govenor and IO Sheduler is recommended and should Ex4 Tweaks be enabled for example? The phone is my girlfriend's and her usage behavior is mostly speaking in the phone during the day and on the evening wake it alot to check Snapchat and facebook. She also plays more "heavy" games such as Angry Birds 2 and such. I have undervolted the cpu a bit and changed the govenor to optimized.
[ONE Original Android Development] magnamentis:
it's not the kernel, the earlier you simply accept that fact brought to you by experienced users the better. what you are doing is that if an app tells you something about "kernel_wakelocks" you assume the kernel is responsible for kernel wakelock, but that is not the case in this kind of instance. it's an app that triggers an event and the kernel, of course, as the bridge between software and hardware, executes the commands according to it's proper duty, but that does not mean that it's the kernel's fault, more though that it's his job to do what he's told LOL. come back here when you're ready to accept that and best with logs and config information and you shall receive help. best via pm since this would be OT here.

BTW just don't expect too quick replies from me today since my OP2 has arrived, just has been rooted and now has to be set up and tested.
[ONE Original Android Development] cloudx720:
Don't give all the love to your op2 Andi lol, imo opo is still the better device ?
[ONE Original Android Development] andip71:
Opo is still my main phone and daily driver.

This will not change very soon.

But work on op2 is interesting, everything is very different due to big-little cpu concept.

Latest screenshot, Governor, profile and even tunables can be configured per cpu...

Huge work was required.

Andi
[ONE Original Android Development] cloudx720:
Amazing work like always Andi :)

---------- Post added at 08:09 PM ---------- Previous post was at 08:06 PM ----------

So it uses different governors for each cpu? Or did you set these? Using fiops too interesting ?
[ONE Original Android Development] andip71:
Standard is interactive for everything.

But two CPUs give the possibility to have own gov per cpu.

So I enabled it with my kernel and app.

Andi
[ONE Original Android Development] andip71:
Guys,

no promises, but I _MIGHT_ give a first alpha version of the current development status of my upcoming OnePlus TWO kernel to some brave and interested testers during tomorrow.

Reason is: I am going on a one week holiday trip by end of tomorrow (yes, also going to Munich for the Octoberfest), so it might be a good time for some people doing some pre-testing during that time when I am not around.

So, the first 5 persons responding to me with an email to support@boeffla-kernel.de about this topic will get a test release tomorrow (if I do not find a showstopper still today).

Note: It is an alpha kernel only, nothing fancy, but worth some testing.

Again - no promises, it might even not happen in worst case.

Cheers

Andi