yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] nikhil18:
Update new version 42

synced with cm stock kernel

removed cpuquiet

msm_hotplug is the default hotplug

re add hotplug boost and wakeup boost

add tunables to disable some important kernel wakelocks

removed cpu boost from smartmax because an enhanced version of cpu input boost is added

but smartmax_eps has its own boost for now

and reboots with dyinteractive should be hopefully fixed now
[ONE Android Development] xxhyekal:
thank you for the update!
[ONE Android Development] Floydfire:
After a flash on int3ns3 darkobas it get stuck at bootlogo with new version 42 caf

Inviato dal mio A0001 utilizzando Tapatalk
[ONE Android Development] Setting.Out:
Darkobas is coloros ...
[ONE Android Development] Floydfire:
The int3nse version uses the sultanxda hal for the camera, not coloros

Inviato dal mio A0001 utilizzando Tapatalk
[ONE Android Development] nikhil18:
fixed now flash
[ONE Android Development] Setting.Out:
True, sorry I skipped over and read just Darkobas..

Are the other versions fixed too?.. Tested Color version on jgcaap and had a loop at 1+ logo (dirty, reflashed original boot.img, and clean install)..

Sorry for a late reply, but setting back up took some time.. ;)
[ONE Android Development] Floydfire:
I think other fixed too, booted without problems and using now

Inviato dal mio A0001 utilizzando Tapatalk
[ONE Android Development] Setting.Out:
Cool, booted.. (Though I had crossed my fingers this time.. Lol)
[ONE Android Development] Revan427:
Thanks for the update bro! Everything seems working wonderfully!

However; I haz a Q concerning that wakelock tunable.

I found it turned on by default in synapse (provided screenshot of tunable)

Should it be on? Could you perhaps tell us something more about this feature? What does it do for starters..
[ONE Android Development] nikhil18:
It should be on by default and if you turn it off you won't have that wakelock between you can find more wakelocks in kernel adiutor and its not good to keep 1000mah USB charge because even usb 3.0 supports a max of 900mah at 5v

Guys if you find the new kernel laggy you can increase the boost frequency to any higher frequency
[ONE Android Development] Jason Jiang:
darkobas 0714-0 with snap camera,use normal v42,the camera works but is upside down:(
[ONE Android Development] SirSoviet:
Camera app ≠ Camera HAL. Darkobas still uses ColorOS HAL, but switched back to the original app.
[ONE Android Development] Jason Jiang:
Thanks bro,got it,just flashed the v42 color cam,it won't upside down anymore.:)
[ONE Android Development] derekk75j:
I'm on CyanogenOs, camera doesn't work (kernel v42 and v42 color). I switched to stock kernel
[ONE Android Development] usvimal:
Use the CM version. It already says CAF in the title
[ONE Android Development] derekk75j:
I'm not sure what CAF means :(
[ONE Android Development] NickosD:
Use the cm version which it is in another thread.

CAF stands for code Aurora forum. If a rom is caf, will be mentioned somewhere in the thread and only caf kernels are compatible. If it's not mentioned, then it's obviously cm rom and only cm versions of kernel are compatible.
[ONE Android Development] KuranKaname:
Any recommendation for a good CAF rom to use with this kernel? Looking for good SOT
[ONE Android Development] :
Darkobas
[ONE Android Development] KuranKaname:
Does this kernel work on it?
[ONE Android Development] :
Yes make sure to use the color os one
[ONE Android Development] meph02:
Darkobas + Lignting work very fine.

I just modify Governor to Interactive,
[ONE Android Development] NickosD:
Can you explain each wakelock? I want to know if it will be safe for me to turn something off.
[ONE Android Development] Revan427:
Which kernel auditor version works best with latest version guys?

Provided singularity one from the download tab, or the latest one?
[ONE Android Development] Renosh:
Really great performance with stock settings and GPU UC @ 200 MHz on Sultan 07/17 build.

Awesome kernel [MENTION=4633983]nikhil18[/MENTION]

Battery life is also looking promising. Thanks for your work
[ONE Android Development] nikhil18:
Just turn off the wakelocks that are troubling the battery and if you find any side effect then you need to find the cause of the wakelocks or change your rom
[ONE Android Development] tejaskadaskar:
Please can you suggest me some settings for Darkobas on 22/7 build to Have excellent battery life.. I am using synapse.. Thank You.

---------- Post added at 06:51 PM ---------- Previous post was at 06:49 PM ----------

Please can you suggest me some settings for Darkobas on 22/7 build to Have excellent battery life.. I am using synapse.. Thank You.
[ONE Android Development] Revan427:
Yeah ok.. But can you be a bit more clear about the wakelock toggles? What happens for example when we disable all of them?

Are they Important?
[ONE Android Development] nikhil18:
Then won't destroy your battery life but some things may not work for eg if you disable the wlan related wakelocks WiFi can have problems or it may not work

Bluesleep wakelock is related to Bluetooth activity

msm_hsic_host wakelock is explained here

https://m.reddit.com/r/nexus4/comments/199bd3/a_great_explanation_of_the_msm_hsic_host_wakelock/

You can try undervolting,reducing the the max frequency etc
[ONE Android Development] chrcol:
I have had a few self reboots when phone sleeping and also one hard lock which the phone turned off, I dont know if this is a gerneric issue with kernel or just bad config, so I adjusted now to intelli cpu governor and will report back if stable.
[ONE Android Development] JeanEatsWorld:
+1

Smartmax and Alucard hotplug.

sorry in don't have a logcat.
[ONE Android Development] chrcol:
still getting phone reboots. Will try to diagnose more.
[ONE Android Development] NickosD:
Thx for the info.
[ONE Android Development] Raj joshi:
Is this kernel flashable on COS 13.1?
[ONE Android Development] LPW00:
This is a dumb question. Cos=cm based

cm=\= Caf based so no Caf Kernel...

Use cm lightning kernel
[ONE Android Development] callidus_ex_de_latebros:
Watchdog issues causing reboots here as well.
[ONE Android Development] nikhil18:
Get me the last kmsg please whoever is having reboots
[ONE Android Development] callidus_ex_de_latebros:
Attached.
[ONE Android Development] joefso:
[MENTION=4633983]nikhil18[/MENTION]

I have been trying to find out more about darkobas and his tweaks for the kernel that makes it so battery efficient. This seeming you halped him merge his sultan version with yours. The rom I am trying to replicate it on is aosparadox, they are not so different and I know you know thi alreadys.....

From what I have seen the governor tuneable are pretty much the same as on private and yours. Can you explain more about what he has done with his rom that make it so efficient battery wise?
[ONE Android Development] nikhil18:
Bro I just helped him in porting sultans camera drivers to stock cm kernel before which he was using sultans 3.4.0 kernel so I haven't done anything that would improve the battery on darkobas and it's all Markos secret arts of dark magic that makes the battery efficient
[ONE Android Development] joefso:
for sake of clarity if no cpu hotpug is selected will it resort to mpdecision ? I can not find it in the list of options and what is so far discussed does not really give me clarity
[ONE Android Development] nikhil18:
No it won't resort to mpdecision 1 or all 4 cores may be working
[ONE Android Development] NickosD:
You have to choose a hotplug. Only if you are using zzmoove you shouldn't, it has its own one...
[ONE Android Development] Stylo King:
Hmm.. So quiet in here..
[ONE Android Development] forid200:
It's the downfall of the custom kernel era. :P
[ONE Android Development] svnhvn:
Suddenly felt déjà vu.
[ONE Android Development] JeanEatsWorld:
We are just all waiting quietly for the next update that fixes a couple of issues.. just quiet but still here.. [emoji6]
[ONE Android Development] callidus_ex_de_latebros:
Another KMSG if that helps.
[ONE Android Development] Stylo King:
More like downfall of OPO era lol :p

I feel for you bro..

:laugh::laugh::cool:
[ONE Android Development] nikhil18:
what issue are you facing
[ONE Android Development] callidus_ex_de_latebros:
Random reboots.
[ONE Android Development] NickosD:
Logs?
[ONE Android Development] callidus_ex_de_latebros:
Posted two different ones above.
[ONE Android Development] nikhil18:
synced with cm stock kernel

removed many patches to solve random reboots and start fresh

increased torch and flash brightness by 2.5x was already there in sultans kernel but not for color os blobs

added backlight dimmer for maximum min brightness our screen can handle without using auto brightness

added overclocking

Back to intellithermal
[ONE Android Development] dudas89:
Much appreciated! :D
[ONE Android Development] ashutoshmn:
[MENTION=4633983]nikhil18[/MENTION]

bro on latest build v43, you have removed wakelock section?
[ONE Android Development] nikhil18:
will add it in next version was any wakelock troubling you and did it block the wakelock ?
[ONE Android Development] ashutoshmn:
yeah it did block all the wakrlocks on the kernel level
[ONE Android Development] Arno_Nymus:
Is this Kernel compatible with latest AOSPA (6.0.2)?

And if not - do you know ANY custom kernel wich is?
[ONE Android Development] NickosD:
This isn't, the cm version should be. Test and report to that thread. The worst thing that it could happen is to restore the boot partition, or the entire nandroid. Depends on your twrp version...
[ONE Android Development] kalapapa:
If not then try the color version as pa now uses color is camera blobs
[ONE Android Development] NickosD:
Didn't knew that.

Then try the color version and report here.
[ONE Android Development] Revan427:
Anyone else experiencing reboots with dyninteractive?

Don't seem to have 'em on smartmax...

Dyninteractive is just such a great governor with both performance and battlife.

PS: your 43 version feels a lot faster than your 42 version!
[ONE Android Development] NickosD:
No, and actually both the dev and me, and some others use it. Maybe too much uv?
[ONE Android Development] kalapapa:
[MENTION=4633983]nikhil18[/MENTION]

This new version just flies with darkobas ROM

You did an amazing job and it still gives good battery life

Thank you for all your hard work
[ONE Android Development] Revan427:
Thx for thinking with me, but only minor UV here. I know what voltages my device is capable of and I also experienced forced hardreboots without UV.

I'll try once more after today; then my phone will have been online on smartmax for 64 hours or so. Just to make sure it is the governor.

Go Go Lighting Kernel Rangers!
[ONE Android Development] Arno_Nymus:
Thanks a lot for your help!

I tried the Color Version and everything seems to work flawlessly.

Except the camera. ????

Any ideas?
[ONE Android Development] kalapapa:
Hmmm then I guess try the cm version

I was almost certain that PA changed to color OS camera blobs but I guess they haven't yet
[ONE Android Development] Revan427:
Somehow I have forgotten the answer to this: does dyninteractive have its own input boost driver or should I enable it my self??
[ONE Android Development] Arno_Nymus:
Tried all possible versions... None of them seems to work. (Just Camera related)
[ONE Android Development] kalapapa:
Wait until pa moves to color os blobs then
[ONE Android Development] myshakugan:
Misquote. Deleted.
[ONE Android Development] Stylo King:
Anyone wants a new Stylo King Profile??
[ONE Android Development] parvesh:
Yes Sir Please :D
[ONE Android Development] aqilsoomro:
Yes dear please.
[ONE Android Development] nikhil18:
I have removed boost from smartmax so you need to use the main input boost,cm and caf kernels are the same
[ONE Android Development] Crazy-Silver:
Yes yes yes
[ONE Android Development] pamposmouskos:
Super YES!
[ONE Android Development] lensman123:
Yes please ;)
[ONE Android Development] Stylo King:
Noooooooo XD, I got it ?

I'm on it!
[ONE Android Development] Crazy-Silver:
If you need a tester I'm here.
[ONE Android Development] RoundBagel:
tester? me too
[ONE Android Development] Bladehawkz:
[MENTION=4633983]nikhil18[/MENTION] , any chance of the implementation of the maple I/o scheduler?

Edit: I added a pull request to the lighting-color branch, in the same format as adding the Tripndroid and other schedulers. Hope it's fine, but check over it incase I'm stupid and missed something.
[ONE Android Development] sabbeer:
whats the difference between "color" & "new" edition of each builds?
[ONE Android Development] dudas89:
It is for those who use Color OS camera app. If you don't, just download the normal (non Color) version.
[ONE Android Development] sabbeer:
which one is good for battery? or it just the color os camera.
[ONE Android Development] dudas89:
They are exactly the same. If you use ColorOS camera app, download Color version. I don't use it, so I just download the normal one.
[ONE Android Development] Renosh:
You mean color OS blobs, has nothing to do with a camera app. Only 3 have them (Jgcaap, Darkobas and Omni) though Omni kernel is different so the color version won't work well
[ONE Android Development] sabbeer:
which cpu governor gives the best battery backup. i can sacrifice the performance.
[ONE Android Development] Bladehawkz:
Powersave. Unfortunately, you'll have trouble even unlocking your phone without lag.
[ONE Android Development] sabbeer:
ya way too slow.
[ONE Android Development] Revan427:
Conservative, and limit to 1,5Ghz.
[ONE Android Development] ashutoshmn:
[MENTION=4633983]nikhil18[/MENTION], bro running jgcaap's build with v43; in coloros cam, if I change to beautify mode with rear camera, the viewfinder turns upside down as well as mirrored, though the image captured is normal. For front cam no such behaviour in beautify mode.
[ONE Android Development] nikhil18:
See if the stock kernel has the same problem
[ONE Android Development] :
V43 non-color-os completely breaks my audio through auxilary output in both of my cars. Rolled back to v41 and it works completely fine. I thought maybe viper4android was the problem but it did the same thing even with stock audio driver. Tried 4 different ROMs: Darkobas and exodus with all partitions ext4, along with Slim6 unofficial and a custom fork of SlimLP (my daily driver ROM) both with /data and /cache as f2fs.
[ONE Android Development] nikhil18:
Stock kernel?
[ONE Android Development] Bladehawkz:
Has there been any relevant tests from devs shown whether the in between frequencies of the above three can/can't be used?

From the speed/pvs tables, we can clearly see that there are frequencies in between of the standard frequency step sizes of 76800, so interested in why these aren't enabled (should provide smoother scaling of governors instead of random jumps of frequency in the middle).

< 1728000000 920000 501 >,

< 1804800000 935000 529 >,

< 1881600000 950000 558 >,

< 1958400000 965000 588 >,

< 2035200000 980000 617 >,

< 2112000000 995000 649 >,

< 2150400000 1010000 682 >,

< 2188800000 1010000 682 >,

< 2265600000 1025000 716 >,
[ONE Android Development] nikhil18:
I actually removed a big commit which changes the way frequencies can be enabled so I need to edit the table will add it in next version
[ONE Android Development] :
Stock kernel on all of these ROMs worked perfectly fine
[ONE Android Development] nikhil18:
Can you get the dmesg for that install synapse and export dmesg from tools section you will find it in logs folder
[ONE Android Development] FloorFox:
Can't connect to camera on resurrection remix m latest version. Tried both v43 versions. Anyone with same issue?
[ONE Android Development] xlollomanx:
Resurrection Remix use cm source not caf. Try cm version.

Sent from my Oneplus One
[ONE Android Development] FloorFox:
But it worked for other cm13 roms
[ONE Android Development] NickosD:
You have to use cm version for rr
[ONE Android Development] iRhyiku:
Try Resurrection Remix CAF if you want to use this kernel. Or use the CM kernel version
[ONE Android Development] nikhil18:
Update new version 44

Changelog

wakelock disable options

maple io schedular(experimental)

advanced interactive,impulse,yankactive,barry-allen governor tunning for balanced performance

and more here https://github.com/nikhil18/lightning-kernel-bacon/commits/lightning-color[/B]
[ONE Android Development] ReznikAkime:
Does this also fix the line-out detection issue present in 43? I'd check the change log for more details, but it comes up with a 404.
[ONE Android Development] Starsream88:
Thanks for the new update.

Is 1958Mhz the top frequency by default on this new update ?

Envoyé de mon A0001 en utilisant Tapatalk
[ONE Android Development] nikhil18:
Bro I need kmesg when you connect the phone because you are the only one facing this problem thanks
[ONE Android Development] nikhil18:
Oh yes I forgot about the under clock but you can over clock to 2.8
[ONE Android Development] ReznikAkime:
Hm, there was someone else who had the problem too but they went back to 41. But I'll do what I can to help out. Gimme a day or two.
[ONE Android Development] Bladehawkz:
Would suggest against using maple for now. Seems to have weird problems with checking the display settings (phone seems to freeze in screen off state). Some other nexus 6p kernel on XDA also seemed to have the same problem when they tried the maple io scheduler.

[MENTION=4633983]nikhil18[/MENTION] Might wanna remove all the references to display settings, I honestly don't think increasing expire times during screen off does much anyways, when the phone should be going to deep sleep. The I/o scheduler itself seems good enough (I get nice and smooth ui performance), implementing all the extra display off stuff seems not worth the effort. Maybe when frap129 fixes the issues, but he's working on a nougat kernel for now.
[ONE Android Development] nikhil18:
OK will disable maple for now
[ONE Android Development] ashutoshmn:
bro for some reasons, I couln't reply in time. Regarding the issue, it is still present with stock kernel as well, seems like I need to talk to jgcaap about it. Thanks for your time and awesome work bro, I can see v44 is up, can't wait to try it, thanks for adding wakelock section again.

Cheers bro, keep up the good work! :good: :D
[ONE Android Development] billbuds:
This is work on cm12.1 sultan ??
[ONE Android Development] Setting.Out:
Tried maple last night, all was good then the ui froze, but no reboot.. Could see any error in my logs.. Was running fine until I had lots of apps running in the background.. Hopefully this will get resolved, as the general performance seemed good.. :)
[ONE Android Development] pankspoo:
Can't able to download the file

Edit: srry forget to check mirror link

[MENTION=4633983]nikhil18[/MENTION] have u disabled multicore power saving option in current kernel?

I am not getting it in singularity kernel auditer mod. Its a vest way to save battery i was getting 7 hr SOT when it was on in caf RRM
[ONE Android Development] nikhil18:
oh ****t i will enable it and update asap
[ONE Android Development] maxed4901:
Tried earlier and ROM went into a boot loop. Any reported versions working with COS13.1.2? Thanks in advance
[ONE Android Development] billbuds:
This kernel work on cm12.1 sultan ??
[ONE Android Development] NickosD:
It should. Try and report.
[ONE Android Development] Bladehawkz:
http://xdaforums.com/oneplus-one/orig-development/cm-lightning-kernel-v1-t3273308

Try this one.
[ONE Android Development] Traace:
404 Not Found for v44

Mirror please :)
[ONE Android Development] nikhil18:
ok mirror added
[ONE Android Development] pankspoo:
[MENTION=4633983]nikhil18[/MENTION] i want to say that v 43 is best kernel yet. On v44 i had some performance drop(lag) on the same setup like v43. I am on 1958 freq. Disabled all boost. Hotplug mp decision. Undervolting up to 40. Any idea?

Again caf RRM uses sultan camera before changing rom picture quality was good but on yours kernel image quality is not so good. Is u r kernel not support sultans camera blobs. Any way to improve camera clarity.

Till going back to v43 awesome
[ONE Android Development] Bladehawkz:
Any specific time on when it's lagging? Nothing should have been changed except maybe when the display is turned on, based on the commits.
[ONE Android Development] pankspoo:
At the end of the day. I got best battery life phone lived whole day after charging with 6.30 hr sot at 10% battery remaining but then it started lagging so i have to reboot it but still the same problem.
[ONE Android Development] o0vampire0o:
Hi. I have a bug with this kernel. When android do "app optimize" the cpu go in overheat and the phone do a reset. In kernel adiutor at the thermal page the "core control" button is disabled. In the standard version of this kernel the "core control" is enabled and all is fine
[ONE Android Development] nikhil18:
Update new version 45

added workqueue patches

updated maple governor may fix the issues

updated alucard hotplug and governor

updated nightmare governor

changed to franco thermal

added sweep2sleep thanks to lord boeffla

renable multicore powersaving

Add optimized SHA-256/224 better performance

usb-gadget: support USB keyboard
[ONE Android Development] BohArie:
Is this kernel working on cm13??
[ONE Android Development] plantator:
this is for CAF roms go to CM lightning kernel
[ONE Android Development] o0vampire0o:
Overheat bug is gone. Thx for the fix.

Edit. What's the difference between "state notifier mode" and FB?
[ONE Android Development] HannibalLecter:
found the answer
[ONE Android Development] Revan427:
I should keep the sliders of wakelock options in kernel auditor enabled not disabled am I right?

B.T.W. up until now it feels like a fast kernel! Thanks for your hard works Nikhil!

May we flash your kernels many more times!
[ONE Android Development] Bladehawkz:
hey, im one of the people porting the maple scheduler. unfortunately this update i've changed how a few expire dates were calculated and i need feedback! previously they were:

Async read:200

Async write: 500

Sync read:100

Sync write:350

They were changed because the HZ value of the nexus 6p is different from our oneplus one. I want you guys to test the best values, so lower it until you feel no difference in snappiness. Keep in mind lower values mean more snappy, but higher overheads and lower overall throughput.

Edit: No need. Our values should provide the same values as those on the nexus 6p. HZ refers to clock tick rate, since our HZ is set at 1000, 666/1000 is the same as nexus 6p's 200/300 etc.
[ONE Android Development] nikhil18:
Stock kernel uses fb notifier and mine uses a better one state notifier there Job is to handle kernel drivers and tell when the screen goes off or on

Kept them enable if you are not troubled by the wakelock or disable it
[ONE Android Development] divyesh43:
i flashed v44--->bootloop

flashed sultan rom again---->bootloop

flashed v43 again---->bootloop

wiped cache-->bootloop

after app optimise finishes--->bootloop

please help :((
[ONE Android Development] BohArie:
i cant overclock my devices.. if i change the value, it keeps changing back to original value.. how to fix this..
[ONE Android Development] nikhil18:
First let the ROM boot with stock kernel then reboot and flash without wiping cache

Use kernel adiutor mod or synapse and thermal throttling can change max frequency if the device is hot
[ONE Android Development] divyesh43:
i did that already

flashed stock cm13 sultan ROM----> after app optimses it reboots and stuck into bootloop forever :(
[ONE Android Development] Setting.Out:
Had a soft reboot.. Was just opening an app..
[ONE Android Development] nikhil18:
But here its showing you restarted your phone to go into recovery and no errors detected and if you have a reboot again just upload the last_kmsg that's sufficient
[ONE Android Development] Setting.Out:
The last time I entered recovery was to flash your kernel...
[ONE Android Development] anbinhv:
Sorry for Off topic. Which Rom you are current on?
[ONE Android Development] Setting.Out:
Jgcaap...

BTW, performance is excellent..