yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] nikhil18:
update version 51

Changelog

added bluactive hotplug and blueactive governor

added sultanxdas input boost disabled by default

echo 1190400 1497600 > /sys/kernel/cpu_input_boost/ib_freqs

echo 1400 > /sys/kernel/cpu_input_boost/ib_duration_ms

echo 1 > /sys/kernel/cpu_input_boost/enabled

updated interactive,impulse governors

added state notifier mode to interactive,impulse,yankactive and bluactive to reduce highspeed frequency spikes when device is sleeping

cpufreq: interactive and impulse: Increase timer rate on suspend

fixed hotspot hopefully

now the default hotplug for the kernel is mpdecision so the rom needs to be dirty flashed if you are coming from my previous kernel

removed simple gpu algorithm cause adreno idler is better

roms with sultans kernel the users need replace init.lk.rc file in kernel zip in ramdisk folder for proper tunning for those roms thanks
[ONE Android Development] saiamrock:
Is it a additional update to your v50? Or this one gonna be v51?
[ONE Android Development] nikhil18:
its version 51 title is not changing for some odd reason
[ONE Android Development] :
Flashed V51 Color on jgcaap cm13 12/05 release (latest). When first booting up the phone reboots several times before showing the boot logo. Once it boots, everything is fine. I set my kernel settings (smartmax cpu governor, bricked hotplug and maple I/o) using kernel audiutor-mod. Once I reboot though, my phone crashes immediately after kernel audiutor mod attempts to apply the settings. Don't know if its something I'm doing or a bug.

Also for some odd reason in earlier 5.1.1 ROMs I was able to set selinux to enforcing without any problems. But now that I'm on jgcaap cm13 it bootloops the moment I set selinux to enforcing.
[ONE Android Development] Revan427:
How do you mean dirty flash because isn't the usual kernel flash already dirty?

Do you mean wiping system?

I came from v50 while on sultans rom, I overwrote the file in the zip and flashed it. Didn't wipe system or anything else.
[ONE Android Development] Revan427:
Isn't maple supposed to cause reboots?

I'm only having problems with hotplug drivers; can't seem to change and by default none appears enabled... Hotplugging also isn't active...
[ONE Android Development] moneyvirus:
[MENTION=4633983]nikhil18[/MENTION]

I have also trouble with the hotplugs i dont see the extra hotplug

Verstuurd vanaf mijn A0001 met Tapatalk
[ONE Android Development] CooperBrick:
So sultan's input boost is enabled by default?
[ONE Android Development] MrxSiN:
It seem v51 much more stuttering than v50. And I noticed that CPU quite is gone in v51

Currently running Darkobas 7.1.1
[ONE Android Development] Revan427:
Not experiencing any stuttering and I'm even - 80mv undervolted.

Also yea I'm also missing cpu quiet. I think its a very good hotplugger!

Okay I also encountered the apply on boot reboot like someone mentioned earlier. Doesn't matter which settings are applied it appears to reboot when synapse OR KA applies settings.

So it's probably a hotplug problem! :P

Flashed v50 again, and I think v52 will be awesome! Sultans touch driver felt great!
[ONE Android Development] nikhil18:
OK guys sorry for the mess I have reuploaded the builds to fix reboot problem and as for cpuquiet I removed because it was causing micro stutters so I am searching for a solution till please any other hotplug nitrogen os does not have mpdecision so switch to another hotplug or wait for a new build
[ONE Android Development] Revan427:
Awesome work Nikhil I'll try in the morning!

Do I still need to replace that file within the zip? Im on sultans rom...
[ONE Android Development] :
Tried downloading v51 Color again and it just gives me a 404 error. JavaScript is enabled in browser and tried with/without VPN. Also do I have to dirty flash jgcaaps ROM before flashing v51 color if I'm coming from v50 color?

---------- Post added at 07:26 AM ---------- Previous post was at 07:21 AM ----------

Not for me it hasn't. From my experience it works a lot better for me than zen. I remember there were issues when nikhil first implemented it, but I've read the changelogs and it seems he's updated it at least once since then. I was running it on an unofficial sultan-ized slimsaber 5.1.1 ROM for a few months and now I'm running it on jgcaaps cm13. It favors reads over writes moreso than zen, and since I use f2fs for /data and /cache it performs quite nicely
[ONE Android Development] dudas89:
Use the mirror link from the OP.
[ONE Android Development] Revan427:
I'm still facing the reboots when settings are applied on boot in synapse... I flashed the new v51 version and replaced the sultan file.

Am I doing something wrong?
[ONE Android Development] nikhil18:
are you having reboots when you switch to impulse governor and from where did you download the kernel android file host or xda
[ONE Android Development] ashutoshmn:
[MENTION=4633983]nikhil18[/MENTION]

Hey, Nikhil love your work, keep it up!

Can you please include "swipe to wake" in next update?
[ONE Android Development] nikhil18:
OK
[ONE Android Development] Revan427:
Not when manually switching to Impulse but again when settings apply on boot.

I downloaded from xda.. That is probably my mistake... I will download filehost now and try again.

Should I still replace the sultan file within the new zip?
[ONE Android Development] nikhil18:
its not your mistake so it only happens with impulse on boot or any other governor
[ONE Android Development] ashutoshmn:
Nikhil, is wcnss crash (kernel panic) issue related to our kernel?
[ONE Android Development] nikhil18:
havent touched wcnss and never had any crash
[ONE Android Development] Revan427:
Okay that's a bummer cuz Impulse is a great governor is a great governor.

Ok I'll try again with interactive because I'm really interested in trying Sultans touch inside your juggernautkernel!
[ONE Android Development] xlollomanx:
Delete. Wrong thread
[ONE Android Development] nikhil18:
version 51 reuploaded

Because sultans boost was conflicting with stock boost driver so I removed it

CPU quiet is the default hotplug now and this time no more micro lags

Added swipe to wake
[ONE Android Development] Revan427:
The hotplug is what messed up applying boot settings right?

And should Impulse be usable again?
[ONE Android Development] nikhil18:
Bro impulse is usable but I don't know why are you facing issues
[ONE Android Development] Revan427:
Dont know man even on new version phone hard reboots when synapse is applying settings on boot.

Kernel seems completely fine beside that.
[ONE Android Development] nikhil18:
What are your settings is your io schdular maple can you provide a last kmsg
[ONE Android Development] svnhvn:
Dang, this kernel + NitogenOS = silky smooth n fast.
[ONE Android Development] abdullah.ibn.umar:
Which version ?

---------- Post added at 03:51 AM ---------- Previous post was at 03:50 AM ----------

Which version ??

---------- Post added at 03:53 AM ---------- Previous post was at 03:51 AM ----------

Lionheart is recommendad governor ??
[ONE Android Development] svnhvn:
All latest.
[ONE Android Development] Revan427:
I'll try reproducing it and send kmsg, I went back to v50 again.

I think I was on maple once but I tried deadline as well I think.

BTW, you mentioned dirty flashing before. Could you be a little more specific? Because isn't the usual kernel flash already dirty?

And do I still need to replace the sultan file in your previous post?
[ONE Android Development] nikhil18:
No bro the sultan file is useless now so now you don't have any reboot when synapse applies settings ?
[ONE Android Development] Revan427:
I'll try without Sultans file.

Sorry Im such a hassle but it's just I have got so much confidence in your kernel that i was I amazed I even had reboots... :P
[ONE Android Development] Revan427:
It keeps happening on v52. Stock settings work fine but apply on boot goes wrong every time. When I revert to v50 no problem whatsoever.

Here I have last kmsg. I took it right after the forced reboot.

Should I wipe system and install rom plus kernel? I just dirty flashed like you instructed.
[ONE Android Development] nikhil18:
OK so what settings do you keep or is it any settings
[ONE Android Development] Revan427:
Moment I'll try just some minor modifications. Cpu frequency or smtn and see if it works normally
[ONE Android Development] Revan427:
Its any settings!

I only adjusted cpu frequencies and disable power efficient work queues!

Here another kmsg from right after reboot.

Perhaps synapse problem??

Otherwise kernel seems fine. I can switch governor, use maple, use extreme undervolt... Literally everything works.

It feels like it's your fastest kernel yet!
[ONE Android Development] nikhil18:
Ya it can be synapse so I need to look into it till then you can use ka mod thanks
[ONE Android Development] ashutoshmn:
bro, reboots are occurring with kernel adiutor mod as well, just after the profile is applied, system freezes. Yeah, you heard it right freezes, after which you need to force shut down by pressing power button. Switching back to v50 solves it. Out of five times it froze 4 times and 1 time it survived until screen was turned off and when tried to wake up the phone it didn't wake up (froze when screen was turned off).

And the user who has attached the logs in 2-3 Posts above, it's saying wcnss crash shutdown. Bro, remember I told you about this issue yesterday. This wcnss issues comes randomly and the solution to this problem or to be more specific, the workaround to the wcnss issue is, turn on WiFi, connect to a Hotspot, wait for about 20 seconds and turn off wifi. Now reboot.

But tell you what, wcnss crash is not limited to the latest version of this kernel, it has existed in previous versions as well, like in v50. Maybe the freezing issue is not related to wcnss, some other thing may be causing it.

Maybe it was just a speculation Nikhil, I recommend you wait for other users to give their input on latest kernel.

All in all, Nikhil this is the best, smoothest, coolest (on processor) kernel. We just need to find out what is causing the freezing after profile is applied.

Keep it up Nikhil, you are the man!
[ONE Android Development] nikhil18:
If you can test which setting in ka mod causes this reboot cause I just now made a profile and it is not rebooting
[ONE Android Development] Revan427:
Strange cuz In synapse I only adjusted cpu frequencies to 1,9ghz and that already caused the reboots...
[ONE Android Development] :
Please delete this comment, redundant post. Problem solved

---------- Post added at 02:54 AM ---------- Previous post was at 02:11 AM ----------

I am having the same exact problem on jgcaaps cm13. Not necessarily the reboots when applying settings, but when using the phone regularly. Usually when the screen is turned off and back on. This is only with v51. I went back to v50 when seems to only crash once every few days. I've been messing around with my kernel settings to try to fix it and it seems to be a lot less frequent now.
[ONE Android Development] nikhil18:
Have you ever thought of providing a log because no had ever reported reboots before this version
[ONE Android Development] mohit310:
I downloaded v51 and camera doesn't work with the kernel. I rebooted multiple times but same issue.. On tugapower n11 and jgcaap rom. Installed other cm14. 1 kernels and it works..
[ONE Android Development] :
My bad, I'll pm you a log when I get the chance.
[ONE Android Development] Jagath Pradhan:
Same problem on official cm 14.1 nightly
[ONE Android Development] nikhil18:
Flash this http://xdaforums.com/oneplus-one/orig-development/cm-lightning-kernel-v1-t3273308
[ONE Android Development] Jagath Pradhan:
Thanks mate. Now everything works.

By the way great work :good: :good:
[ONE Android Development] suvam69:
Can anyone give me amoled or warm amoled gamma values for ka mod app or kcal app?
[ONE Android Development] dudas89:
Search for AK kernel on Original Android Development. I remember he had some profiles for that on the OP.
[ONE Android Development] :
Anyone having reboots with v51 color on jgcaaps cm13 when kernel audiutor applies profile?

Edit: found out it was maple io scheduler. I haven't had any reboots since I switched to zen.
[ONE Android Development] Revan427:
You do understand how a forum works right?
[ONE Android Development] :
Why yes I do. You communicate and troubleshoot the kernel (this thread). Thought maybe someone here might have my same problem. Do you have an issue with the way I post? I would prefer not to go off topic of the thread.
[ONE Android Development] Revan427:
I was just subtly hinting you can find the answer to your question only just a couple posts back.
[ONE Android Development] :
Oh, I was just genuinely curious. If I came across as hostile I apologize. Thank you for the tip :) I'm aware of those posts but wondering if anyone's found a solution. Or what exact settings might be causing the bootloops
[ONE Android Development] nikhil18:
OK guys I found the reason for those reboots it bluplug hotplug there is some problem with it cause bluactive governor and hotplug ate only new features which I have added so I thought one of them may be the cause and I was right I will blue_plug for now and release a new version asap so sit tight and about the profiles not all the reboot try to make some with different hotplugs or stuff and see
[ONE Android Development] :
Flashing asap. Thank you nikhil for providing such a great kernel
[ONE Android Development] Mr.Makintosh:
what firmware can work Lightning Kernel color cam?
[ONE Android Development] ashutoshmn:
If by firmware you mean modem see this: click here and you can flash any firmware depending which suits you best (don't flash kitkat/hydrogen os firmware on marshmallow, you can but don't do it)

If by firmware you mean ROM, use one which has color os hals like jgcaap's cm13: here (only flash color os kernel on color os hals based ROMs)
[ONE Android Development] Richard20000321:
In the latest build of Nitrogen OS 0101, I noticed that the version of Lightning kernel is v52, and somehow I encountered some random reboot issue, why is that?
[ONE Android Development] Jole7:
Don't worry uncheck in synapse- settings apply on boot reboot phone and you'll have stock kernel settings.
[ONE Android Development] nikhil18:
even after stock settings it lags then change your governor to smartmax or any other performance governor you like
[ONE Android Development] nikhil18:
Update new version 11

CHANGELOG

Merged many updates to sound driver code. audio quality and code checks improved!

Added HIFI audio performance mode that allow to improve sound for hifi flac and wave formats.

for MP3 this mode is auto off in kernel to save power, as there is no difference.

Now you will be able to listen to music a lot longer on one charge cycle.

Merged many updates to percpu macros defines that now check many many things before allowing drivers

to use cpu, preventing crashes and optimizing cpu speed!

Merged big update to SPS,SPI,OF, drivers from 3.10.y

Merged fix for sound driver recording max allowed bit rate

Merged updates to sound voice call driver

AND IF YOU WANT TO PLAY WITH KERNEL SETTING THIS GUIDE MAY HELP YOU http://xdaforums.com/lg-g2/help/test-t3032171
[ONE Android Development] MurdererFight:
DAMN not now! I flashed v10 5 second ago ahahahah
[ONE Android Development] Tiz92:
Is this kernel compatible with VM13 Android 6.0 rom?
[ONE Android Development] DarKAngel1234:
The Latest revisions of the Kernel are for CAF based Roms only, So that would be a no. Try RESURRECTED KERNEL, also RADIOACTIVE KERNEL may work if VM13 is based on the AOSP Marshmallow.
[ONE Android Development] DarKAngel1234:
So does that mean you will be dropping development of the kernel as CAF for marshmallow?
[ONE Android Development] Brian325:
Thought I would give your kernel a run. Seems nice so far. All stock except switch to smartmax.
[ONE Android Development] nikhil18:
No no I will continue CAF kernel but it will be slow if I find some good feature then or sultan updates the kernel
[ONE Android Development] saiwala:
Support to Omni-rom with new updates - while it is not expected?

thanks
[ONE Android Development] molonad:
Please Mistr nikhil , i love your kernel, but you only support sultanxda cm and darkobas and all others aosp roms have bugs like not working GPS or WiFi, can you please do something with it? For example brokenos has Best features for now on marshmallow and they use underclocked sultanxda kernel, so it is useless without your kernel... Please help, GPS doesnt Work.
[ONE Android Development] parmafran:
I'm on broken, and lightening is working perfectly. On WiFi now, and used GPS on my way to work ;)

Think the GPS bug was on the rom side, it's fixed now.
[ONE Android Development] molonad:
hello i tried version from 20.11 and version from 23.11. and with both gps with device only mode doesnt work . only with hight accuracy by data or wifi , you can try.... iam sure about it , i did some tests
[ONE Android Development] parmafran:
Try it on the next build it works fine in device only with this kernel!
[ONE Android Development] molonad:
Where can i find it? Now iam on 23.11 and GPS only Device doesnt Work on stock kernel and on lighting also. Is there newer build?

---------- Post added at 03:17 PM ---------- Previous post was at 03:10 PM ----------

iam sure it is latest build - can you tell me what was your procedure to install broken with this kernel - and do you think it can affect that iam on multirom and broken is secondary ??
[ONE Android Development] Jole7:
Try again Darkobas it works perfectly for me with lightning on f2fs. Why brokenos what's so special about this rom?
[ONE Android Development] parmafran:
There is a newer one from this morning with gps fixes but it's on the private g+ community. I don't use multirom, I just flashed it.
[ONE Android Development] molonad:
where is that private comunnity please ? can you post me link for rom ?
[ONE Android Development] parmafran:
Can't do mate. They will ban me if I do... Have a look at the old broken page on g+ the clues are there...
[ONE Android Development] molonad:
noo , so i have to wait with broken gps ? thank you , i didnt find it
[ONE Android Development] Бахрам Байрамза:
Dear developers please build Nethunter 3.0 for Oneplus One CM13
[ONE Android Development] saiamrock:
That post should be goes to nethunter rom discussion
[ONE Android Development] abdullah.ibn.umar:
Is F2FS stable yet? Last I heard it caused all sort of data corruption, freezing, etc.

---------- Post added at 03:20 AM ---------- Previous post was at 03:17 AM ----------

U still on ext4 ??
[ONE Android Development] Richard20000321:
Just curious when will we have this update...:) Cuz I am experiencing random reboot on nitrogen os 0101 with lightning kernel v52(?) built in...So I am really looking forward to this update... :highfive:
[ONE Android Development] ashutoshmn:
never ask for ETAs, he will upload when he feels like, developers have life too.
[ONE Android Development] saiamrock:
Just saw new LK v52 is up

Thanks nikhil

Anyway, what's changed?
[ONE Android Development] nikhil18:
Changelog

removed bluplug was causing reboots

Remove 3.10 workqueue,cpuidle (will add later slowly) and CFS schedular policy patches(was not working as intended I think)

Removed process reclaim will add it later

Now the kernel is faster than ever with new tweaked settings and custom built linaro 6.2.1 tc for a15 processor

Please note disable sdcard fs from buildprop if its there(just remove the line) as it is unstable and may cause reboots)
[ONE Android Development] winstonhyypia:
Hi [MENTION=5803022]saiamrock[/MENTION],

Thanks for your work

It would be great if screenshots are available because Kernel Auditor (not the modded version, seems the developer stopped development) wouldn't import your profile.

Thanks again
[ONE Android Development] ashutoshmn:
Thanks a ton Nikhil for this update.

Can you tell what exactly is this line? (sdcard fs)
[ONE Android Development] nikhil18:
Its in system/buildprop you need to scarch for the line
[ONE Android Development] saiamrock:
Hi there

KA PS and KA mod is different, from my point of view KA mod give more freedom and more stable about tweaking kernel

In KA mod to import the profile, first u need to make profile, just save default LK tweak will do the trick, this is for make KA produce profile files, then overwrite it with shared profile from others and give the same permission

But for now please dont apply my profile on LK v52

I was facing reboot for doing so

Gonna upload new profile soon also without undervolt

Give me a day to test it
[ONE Android Development] nikhil18:
Bro send me the last kmsg of the reboot
[ONE Android Development] saiamrock:
There is no problem with your kernel

The problem is my profile since it had set about GPU ramp as v50 have it

But V52 doesn't, I tweak it again manually and everything is stable now

Gonna report if something happen

Anyway, thanks mate

This version have noticable performance bumb for me
[ONE Android Development] abdullah.ibn.umar:
Which version for battery life ??
[ONE Android Development] ashutoshmn:
Bhai [MENTION=4633983]nikhil18[/MENTION] you have done it man, such a fluid kernel, good job! No more reboots, and those using [MENTION=5803022]saiamrock[/MENTION] profile, apply kernel setting manually, if you want screenshots, they can be provided.

Just 2 things bro,

1. Why was cfq policy (powersaving/performance) in CPU section removed? Does this mean the kernel is more oriented towards performance than battery?

2. In Screen Wakeups section, sweep to wake toggle which you added in v51, is broken, it does nothing.

Keep up the good work! Cheers!
[ONE Android Development] nikhil18:
1) this feature has been removed cause I think it wasn't working properly

2)does it work on boeffla kernel because I added it from there
[ONE Android Development] saiamrock:
I cant say it is performance bias or battery bias since it can be both, just depent on how you set it up
[ONE Android Development] ashutoshmn:
haven't used boeffla so can't tell maybe someone who has used boeffla can whether "sweep to wake" function works or not.

Aa far as I remember, it was removed from v47 onwards, v45 and v46 had it and was working correctly.

Or I will try and ask it in Boeffla thread and then revert back to you.
[ONE Android Development] saiamrock:
Just double cross check it

The wake one doesnt work, sleep work

Work on first try but then somehow it broke couple minutes later
[ONE Android Development] ashutoshmn:
[MENTION=4633983]nikhil18[/MENTION] yeah bro the sweep to wake is working fine in Boeffla as told by Andi himself.
[ONE Android Development] nikhil18:
OK will look into it thanks
[ONE Android Development] nikhil18:
https://t.me/joinchat/AAAAAEF7coGn04B98J3iKg

I invite you all to the lightning kernel group no matter which kernel you are on if you need more battery or have any queries just join in thanks
[ONE Android Development] solar666:
Anyone using the newest kernel version on OMNI ROM?

Wi-Fi is not working for me, everything else is great so far.
[ONE Android Development] winstonhyypia:
I had random reboot since v50. I have no idea but it is rare (1 reboot every 2 days) so I ignored that. I am still using your profile.

Also I undervolted and using Lionheart.
[ONE Android Development] saiamrock:
strange bro, i dont face that

what is your pvs bin? and what ROM are you now? xposed or scripts?

NB:

I hope you guys read my previous post that state to not use my old profile on v51 or v52, there is some change which made it crash even rebooted if you doing so, I'm building new one

mean while

try this profile below, it's new, build with Lk v52 and has no undervolt, you can undervolt manually if you want

and please give me some feedbacks guys

have a good day ;)
[ONE Android Development] winstonhyypia:
PVS Bin 8

I used to undervolt using -75mV. But recently I read some other forum and make further adjustment. But I think it has nothing to do with undervolt. Because my phone freezes 3-5 seconds before reboot occurs. Undervolt reboot occurs instantly. I guess it is the watchdog that reboots the device.

I am using Sultan's Build 1225 with Xposed. Also it is a clean flash.