yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] DerRomtester:
We are basically using the linux kernel on our device. And every number represents a development cycle with gazillion of patches pushed by open source developers like linus torvalds etc.

Why are we still using an old kernel on android ?

Because the developers at the big companies like samsung etc. are too lazy to do something like that and also it is alot of work to port a new kernel version and make it runnig on a device. It is possible and everyone is doing his own things instead of working with linux and not against it. Qualcom work with google together and push their patches there but they dont do it and i dont understand why. Most of the newer devices run a 3.10 kernel (based on qualcom sources found on their CAF git).

http://kernelnewbies.org/LinuxVersions
[ONE Original Android Development] usvimal:
Adding on, this release is very important as we have more chances of getting android n and above ported to our devices. Thanks [MENTION=4633983]nikhil18[/MENTION] and [MENTION=4898631]erorcun[/MENTION]!
[ONE Original Android Development] joefso:
imagine being stuck with marshmallow :eek:

but yeah the companies aim is financial and do not care about philosophical arguements
[ONE Original Android Development] molonad:
Great! Thank you for examplanation, iam looking forward to try this kernel! Great that there are People whose are trying to bring this new kernel to our device!
[ONE Original Android Development] imam.krismanto:
How to enable hotplug? Why not default to enabled?
[ONE Original Android Development] f41lbl0g:
Amazing explanation, but what changes can we expect to see when using this kernel? Better battery/performance? or just more security?
[ONE Original Android Development] Spider-Vice:
All of them. :) The 3.10 kernel has pretty nice battery/performance related benefits, but it's still in its infancy for our device so improvements might be very minor yet.
[ONE Original Android Development] imam.krismanto:
I got slow install application...
[ONE Original Android Development] parvesh:
Install kernel auditor from play store and enable under CPU hotplug.

No such issue here .. :)
[ONE Original Android Development] bobglaus:
[MENTION=4633983]nikhil18[/MENTION] what patches were added that fixed some of the issues such as mic and reboots and radio? i wanna try to build DU with this. if its easier to talk on hangouts its ethanbanker2428@gmail.com or email me. thanks
[ONE Original Android Development] imam.krismanto:
What your rom used? I'm on Last CM13 nightlies
[ONE Original Android Development] parvesh:
Using it with temasek v8.4
[ONE Original Android Development] NikoZBK:
Had the same problem.
[ONE Original Android Development] nikhil18:
[MENTION=4898631]erorcun[/MENTION] when i power off the phone it reboots does it happen on stock kernel
[ONE Original Android Development] erorcun:
No, doesn't happen.
[ONE Original Android Development] plantator:
For me all great , no reboots or awake with screen off, just miss vibration strenght
[ONE Original Android Development] nikhil18:
so when you power off your phone does it stay off or it reboots
[ONE Original Android Development] DerRomtester:
There are changelogs available. Read them from 3.5 until 3.10 and than you know what changes were made and what they are doing.

This is just a small part.

kernelnewbies.org/Linux_3.10
[ONE Original Android Development] tekanina:
Latest CM nightly and phone powers off normally.
[ONE Original Android Development] nikhil18:
oh then there is a problem with my rom lol
[ONE Original Android Development] plantator:
Normall screen off,zero bad behavior, and no reboots from yesterday, rom is always resurection remix, will test kernel with todays rr build
[ONE Original Android Development] f41lbl0g:
I am somehow getting this slow installing application. Even installing an apk normally or restoring through titanium backup takes much more longer than normal.
[ONE Original Android Development] nikhil18:
Try performance governor and then install an app
[ONE Original Android Development] Reed-Sternberg:
Isn't it true tho that the important features and security/bug fixes are backported to LTS kernels?
[ONE Original Android Development] smilezou:
cm-13.0-20160526-NIGHTLY-bacon couldn't perform Shutdown correctly, the phone reboot after clicked Shutdown menu.
[ONE Original Android Development] DerRomtester:
I dont know. I need to inform me first. I think Greg Kroah-Hartman does that. So we have 3.4.112. But it is a mess to upstream without introducing new bugs. Everyone is baking his own cake and i dont like that.
[ONE Original Android Development] erorcun:
Not all of them, there are bunch of commits I haven't seen in 3.4.y. Also there are new QCOM commits on 3.10 repo too. Will using 3.10 create a difference? Time will tell. (Also it runs faster on my phone btw)
[ONE Original Android Development] nikhil18:
We just need HMP now but the list of commits are long and neobuddy89 has implemented HMP on nexus 6
[ONE Original Android Development] erorcun:
No we need to make this stable before all.
[ONE Original Android Development] pankspoo:
[MENTION=4633983]nikhil18[/MENTION] camera not working on jgcaap cm 13 rom, jgcapp roms uses different camera blobs!

Plz can you made kernel to this specific rom or any other solution?

It will be great!!!!!!
[ONE Original Android Development] nikhil18:
Now I am confused any one else has this problem

Hmm ya but I haven't had any reboots while using the phone though and no has reported about a reboot yet

Ya its difficult because i just can't copy the drivers from 3.4 because there are some changes linking to other files so it will take time
[ONE Original Android Development] Miksel12:
[MENTION=4633983]nikhil18[/MENTION] Do you think zram is necessary with 3gb of ram?
[ONE Original Android Development] nikhil18:
in nexus 6 forum most of the custom kernels have zram and even cm has added it to stock kernel
[ONE Original Android Development] tekanina:
I posted yesterday about my device powering off normally using nighties, so I wanted to give RR a try after hearing about it and I flashed the 5/26 build using your kernel. Just tested and still powers off normally.

Haven't had any reboots on nightly builds or RR. Battery life with screen on isn't so great but I'm trying to tweak here and there to see if I can improve it. Any suggestions?
[ONE Original Android Development] nikhil18:
Update version 2

Changelog

synced with stock kernel

added zzmove governor

tweaked memory management alot

added zen io

added state helper hotplug

added vibration intensity control

and much more here https://github.com/nikhil18/lightning-kernel-bacon/commits/lightning_3.10_oxygen?page=14
[ONE Original Android Development] Reed-Sternberg:
HMP scheduling? If there a benefit for 801 soc? It's not a big LITTLE
[ONE Original Android Development] panchodm06:
Work with Galaxy S5 Snapdragon with CM13??

Enviado desde mi SM-G900M
[ONE Original Android Development] gyakusetsu1215:
You need to find a kernel for your specific device. You're in the one plus one forum.
[ONE Original Android Development] Hingbong:
when i am phoning,the phone reboot. is it a bug of this kernel?
[ONE Original Android Development] Miksel12:
Nice update, do we still need to select a hotplug?
[ONE Original Android Development] pankspoo:
[MENTION=4633983]nikhil18[/MENTION] sorry i am telling this to you that you forget to give credits [MENTION=4898631]erorcun[/MENTION]
[ONE Original Android Development] nikhil18:
It runs quad core mode by default and there is not lags so you can use without or with hotplug

XDA dev project dosent save the edit of normal editing otherwise I had given him the credits but it got deleted because I forgot to copy the same the in XDA dev project edit but I put credits in the second post now so no more problems
[ONE Original Android Development] Hingbong:
is reboot issue fixed?
[ONE Original Android Development] Lisko:
what do you mean with quad core mode? All cpus on all the times? Doesn't this eat battery very fast? Isn't like disabling hotplug on 3.4.x kernels? Sorry for so much questions...
[ONE Original Android Development] nikhil18:
No reboot yet for me or for any other user

4 cores use low frequencies than 2 cores because the load is distributed across all the all the cores and 3.10 has better multicore management but it depends on you what is your experience with other hotplugs if you have been using a custom kernel
[ONE Original Android Development] Lisko:
Now I'm using 3.4 kernel with intelliplug tweaked by me and I have a good balance between performance and battery life. Is in 3.10 the multicore management so better that the hotplug can be disabled with minimum battery trade-off?
[ONE Original Android Development] DerRomtester:
Google did it and Microsoft also.
[ONE Original Android Development] Lisko:
Nice nice nice (: I known it, but since in op he stated that we have to select an hotplug, I tought that maybe some optimizations were missing to be completely hotplug-free. Very happy to know this, I'll wait another couple of builds than start testing [emoji4]
[ONE Original Android Development] pankspoo:
I eagerly waited for this kernel, and recently changed rom from jgcaps to RRM just to use this kernel as jgcaps rom. Doesn't support any other kernels.

And it was a great experience on 3.10 kernel its blazing fast without any cpu boost 3.4 kernel nowhere to 3.10.

RRM is heavily tweaked with customizations my previous experience was not good with any highly customizable MM roms as all are laggy except jgcaps.

On the first attempt with this kernel i am feeling very happy and will continue uits use with RRM and will test battery also and report ( in current use it feel some faster drain)

Its really worth to use this kernel thanks [MENTION=4633983]nikhil18[/MENTION] and@erorcun and all developers for there hard work
[ONE Original Android Development] DarKAngel1234:
Longtime user of Nikhil's kernels on CAF/AOSP ROMs, specifically Darkobas, real hope the CAF Camera HAL gets recompiled to work with a 3.10 kernel.
[ONE Original Android Development] NickosD:
It includes the same features, besides the governors, like there are in the other version of the kernel?
[ONE Original Android Development] Jole7:
Yes!
[ONE Original Android Development] kanyazsombor:
Hei [MENTION=4633983]nikhil18[/MENTION], thanks for this work!

Some issues I've found:

- I can't make thermal throttling to work. It let the cpu to use any freq even though the temp is higher than the limit. Anybody else?

- input boost time by default is 2 seconds. Maybe it is a bit too much [emoji6]

Rom DU blinoff v2.3

KA mod
[ONE Original Android Development] nikhil18:
OK will fix it in the new version

Input boost needs to be 2 sec if you are using quadcore mode and if you are using any hotplug which uses 2 cores when you touch the screen then 500 is enough and if you disable CPU boost get ready for scroll lag
[ONE Original Android Development] rucioTozzy:
I use rr 0520, feel 3.10 really fast than default kernel too, thx [MENTION=4867515]Nikhil[/MENTION] and [MENTION=4898631]erorcun[/MENTION]. But I can't access OTG by 3.10, could someone check it?
[ONE Original Android Development] pankspoo:
No its not working!

But if u mount in recovery its working only in recovery mode
[ONE Original Android Development] House_Maniac:
Downloading also one suggestion will be to add a small app which notifies about lightning kernel updates just a suggestion.
[ONE Original Android Development] DerRomtester:
Of course it is working im the recovery because the recovery has its own kernel.
[ONE Original Android Development] House_Maniac:
I tried it today,but had to revert back to v22 since my phone was rebooting without any reason this occured like 3or 4 time on ressurection remix latest build. May be someone got this issue as well?i don't use xposed just in case anyone ask.
[ONE Original Android Development] LPW00:
Is this Kernel working on RR?

I'm using boeffla Kernel at the moment what do I have to do if I want to change?

Sry for eventually dump questions and for my english
[ONE Original Android Development] KURDKiNG:
Reflash rom so it changes to stock kernel then flash 3.10 lighting
[ONE Original Android Development] DerRomtester:
This is an experimental beta kernel what do you expect? It will take some months until it gets as stable as the Linux 3.4 kernel that we are currently running.
[ONE Original Android Development] Sander9847:
Yes, also on RR and changed back from v2 to v22. Phone had random shutdowns (at least I think) cause the screen was pretty damn hot, so it might be that the screen just wouldn't turn on anymore. Had to keep pressing power button till it would show bootlogo again.

Anyway reverted to v22 for the time being, but I will for sure try v3 when it's released.
[ONE Original Android Development] House_Maniac:
Nothing actually just wanted to know if i'm the only one who is getting random reboots.
[ONE Original Android Development] ahgt4:
This kernel works with caf sultan 6.0?
[ONE Original Android Development] gyakusetsu1215:
This is for cm based roms, does not work on caf.
[ONE Original Android Development] rolarocka:
Extremely fast kernel guys, keep it up and thx

Oneplus One
[ONE Original Android Development] DarKAngel1234:
crazy stuff!!!

Not to sure why this works but it does. I was looking around for alternative to the fact Darkobas may be discontinued on the OPO. I reinstalled a old back of Broken OS 4.5 then looked around for an update found on Ken the owners google drive that I had a link to 4.7 dated 05262016. All install and up and running I knew he had switched back to CM for camera Blobs. I thought what the heck let's try this kernel out and what do you know it works. Made my usual tweak's with kernel Aduitor V10, (Hate that program, love Synapse). Really crazy that it all still works. BrokenOS is actually CAF through and through by default.
[ONE Original Android Development] f41lbl0g:
I've also been running it on Broken for a couple of days and it works perfectly, especially since he changed the camera blobs back to cm. This kernel should work on CAF roms, except the camera shouldn't work if I'm correct.
[ONE Original Android Development] DerRomtester:
Than post a log that we know what happend on technical side.
[ONE Original Android Development] nikhil18:
My battery with smartmax aicp optimized
[ONE Original Android Development] corando98:
[MENTION=5624298]Nikhil S[/MENTION]ettings pls?
[ONE Original Android Development] imam.krismanto:
aicp extra FC on me, how about you?
[ONE Original Android Development] gyakusetsu1215:
Thanks for the great work with yet another kernel. The only thing keeping it from being my daily driver is that the auxillary headphone connection in my car doesn't work. Is anyone else facing this problem? I'm on dirty unicorns synthetic, though I have the same issue with resurrection remix too. Works perfectly on V22 cm lightning.

Thanks again Nikhil for keeping the spirit of ak kernel alive.
[ONE Original Android Development] DarKAngel1234:
Which ROM is that exactly, what camera does it run?

QUOTE=nikhil18;67145337]My battery with smartmax aicp optimized[/QUOTE]
[ONE Original Android Development] nikhil18:
Its on my upcoming version with a different version of smartmax governor but it will take some time as trying to include the ramdisk changes and are you guys able to under clock the CPU because its not working for me I think because of sultans thermal which I added recently
[ONE Original Android Development] Jole7:
Add overclocking too and a newer toolchain please you know uber 7.0 is out? ZaneZam is using it already with no problems. Also why sultans thermal?? it has agreesive throthling man CM13 thermal is better.
[ONE Original Android Development] nikhil18:
Why overclocking the kernel is already very fast Uber 7.0 is still young I think 6.0 would be better have you noticed any difference and for sultans thermal you can modify it however you want I have added all the 8 throttle steps in synapse
[ONE Original Android Development] Jole7:
I asked overclocking just to be inside in case someone needs extra power. Uber 7.0 is stable and performs very fast ask ZaneZam. Ok for the thermal if i can modify it as i want to my phone never heats up Btw.
[ONE Original Android Development] DarKAngel1234:
When you say under clock, like below 300, no under voltage yes.
[ONE Original Android Development] nikhil18:
update version 3

Changelog

remade from scratch with features only no other commits will add them slowly with each version to stay stable

added sultans thermal

synced with stock kernel

added ramdisk changes suggested by erorcun

smartmax is the default governor
[ONE Original Android Development] Miksel12:
Are the changes of today merged?

---------- Post added at 11:22 PM ---------- Previous post was at 10:28 PM ----------

Doesn't boot on jgcaap.
[ONE Original Android Development] erorcun:
I've found the reason of broken shutdown. If you didn't fix it yet I will push commits in 1-2 days. [MENTION=4633983]nikhil18[/MENTION]
[ONE Original Android Development] rap_turkez:
Can't install it on CyanogenOS 13 :-/... i Can flash it but no Kernel changed...

Fixed
[ONE Original Android Development] nikhil18:
if you can tell me the reason i can fix it now or else i will wait

and guys reuploaded version 3 with latest stock kernel changes and fixed shutdown problem thanks to [MENTION=4898631]erorcun[/MENTION] and dont wipe cache if it does not boot because i have tested it on aicp rom and it boots perfectly
[ONE Original Android Development] erorcun:
Firstly this one https://github.com/CyanogenMod/andr...mmit/fbb12925916b850703409f040243e30aa69a1824

Then this one https://github.com/CyanogenMod/andr...mmit/55f4672ead2517d83c3b8584877941c3386fb55c
[ONE Original Android Development] plantator:
[MENTION=4633983]nikhil18[/MENTION] booted without problems on resurrection remix 26.05, features are great, but still is one problem that I have reported to [MENTION=4898631]erorcun[/MENTION] - after~10 secs flashlight turns off sadly
[ONE Original Android Development] nikhil18:
Turn it on again for now but its not a deal breaker
[ONE Original Android Development] plantator:
Yeah for now is useless but kernel is stable and faster then 3.4 one, thanks!
[ONE Original Android Development] dudas89:
Just tried this kernel on Exosus MM and it is all working. Even the camera! Thank you for your work and effort in your kernels.
[ONE Original Android Development] Spider-Vice:
Bootlooping on Vanilla Unicorn with f2fs cache. Did not wipe the cache.
[ONE Original Android Development] iRhyiku:
V3 gives a bootloop for me on RR (F2FS)

V2 works fine though.
[ONE Original Android Development] Hingbong:
v3 bootloop on cm13 nightly,with f2fs data and cache
[ONE Original Android Development] nikhil18:
People with bootloop can you guys copy the zimage and dtb from version 2 to version 3 and flash it thanks
[ONE Original Android Development] yanner2012:
Work fine on DU Blinoff

Inviato dal mio A0001 utilizzando Tapatalk
[ONE Original Android Development] plantator:
[MENTION=4633983]nikhil18[/MENTION] hey after some time with v3 I observed some random reboots, with stock or modified settings in synapse here are my logs:

logcat https://drive.google.com/file/d/0B-aFr2-yV8J_U2hlWXVoQjNZd2s/view?usp=sharing

dmesg https://drive.google.com/file/d/0B-aFr2-yV8J_alVLZmhmcGotUkE/view?usp=sharing
[ONE Original Android Development] nikhil18:
Bro it was because of voltages they were modified

[ 113.261510] krait: regulator: user voltage table modified!

[ 113.386068] krait: regulator: user voltage table modified!

[ 113.507794] krait: regulator: user voltage table modified!

[ 113.617094] krait: regulator: user voltage table modified!

[ 113.767105] krait: regulator: user voltage table modified!

Found this at the end and nextime please provide console ramoops from sys/fs/pstore when you have a reboot
[ONE Original Android Development] DerRomtester:
Are you undervolting?
[ONE Original Android Development] plantator:
Hm ok will try set in synapse without touching UV
[ONE Original Android Development] Miksel12:
Can you fix that for the next build?
[ONE Original Android Development] nikhil18:
Does it work and ate you on f2fs also
[ONE Original Android Development] iRhyiku:
I did this, flashed and it booted fine.

Still says v2 in about and kernel auditor though, is that because of the copy paste or did it just not flash as I didn't get any errors during the process..
[ONE Original Android Development] plantator:
[MENTION=4633983]nikhil18[/MENTION] so I setup synapse without touching uv and get restart again, restarts are always when screen off here is log that you want to post https://drive.google.com/file/d/0B-aFr2-yV8J_TXA3Z3JkR2pHT00/view?usp=drives

Is it ok?

Ofc this is not offensive messages or complaining, I just want you to help your best on kernel ;)
[ONE Original Android Development] nikhil18:
Leave don't flash it right now will update soon

OK thanks will solve it soon till then stay on version 23 which I am going to update today
[ONE Original Android Development] plantator:
What makes the problem? From funny things when I change hotplug from msm mpdecision to intelliplug reboots stops xD
[ONE Original Android Development] nikhil18:
Even I don't have any reboots because I use msm_hotplug

workqueue is not in sync will fix it soon same with stock kernel
[ONE Original Android Development] Hingbong:
waiting for new kernel:good::good::good:
[ONE Original Android Development] erorcun:
No that isn't the certain reason, I just said I will sync it soon.
[ONE Original Android Development] rolarocka:
For me this kernel is working beautifully on aicp ROM, awesome speed and battery.

Oneplus One
[ONE Original Android Development] kalpik:
What's the difference between this one and the other thread? (no, not asking about the CAF one, but the other cm13 thread)
[ONE Original Android Development] MaestroCharan:
I happened to ask nikhil18 the same question.

i.e. About the difference between his following kernels :

[CM13]Lightning Kernel 3.10.94 [UBER 5.3] V3 reuploaded again by nikhil18

and

[CM13]Lightning Kernel -O3 [UBER 5.3] V23 by nikhil18

and

[CAF]Lightning Kernel 3.4.112 [UBER 5.3] V41 and V41 color cam by nikhil18

And this is what he replied with :

"CM13 based kernels for ROMs like nightlies,resurrection remix etc which have cm camera driver.

Version 23 is based on 3.4 .

And the other one is in beta stage based on new 3.10 kernel base.

CAF kernels are for ROMs which have sultans oxygen os camera eg sultans cm13 and color os camera eg jgcaap rom and darkobas ROMs etc."

I hope this helped and answered your query. :cowboy:
[ONE Original Android Development] iRhyiku:
Has V3 been fixed with F2FS?
[ONE Original Android Development] DarKAngel1234:
I am really liking this Kernel on BrokenOS latest release, it works well with the modified camera HAL and the find7 HAL I have installed.
[ONE Original Android Development] madeferro:
No random rebots?
[ONE Original Android Development] DarKAngel1234:
No random reboots as yet, been about a day or two.
[ONE Original Android Development] Sander9847:
I've had random reboots and shut downs on v2 and v3 when I tried them with this kernel and the Styloking profile. (which I normally use on 3.4 v23). Probably some options causing the reboots then.
[ONE Original Android Development] plantator:
Change hotplug to CPU quiet, it helps me for reboots when I'm on msm mpdecision
[ONE Original Android Development] DarKAngel1234:
Don't enable CPU quiet, it is not really there, just an error with KA, use MSM Hotplug
[ONE Original Android Development] abhibnl:
Go through the thread title and you'll know the difference. it's the experimental kernel version, 3.10. All the OPO kernels, apart from this one and the base kernel by the dev, are 3.4.X This uses an advanced and more up-to-date 3.10.X branch.
[ONE Original Android Development] DerRomtester:
what should we do with that Information?
[ONE Original Android Development] plantator:
[MENTION=4633983]nikhil18[/MENTION] I think lates erorcun kernel version can be a good base for your modifications;) You planning any update, or wait for stablest version?
[ONE Original Android Development] nikhil18:
Its cooking