Kernel for LL with OC support - G 2014 General

As every MM rom is plagued with countless bugs, I don't see it very logical to stop LL development when everything related to MM isn't even working properly. What's even worse about that is that, some nice features (like OC) have emerged not a long ago, and there's no dev working anymore to bring them back to LL. Personally I refuse to use any MM rom due to the endless bugs and overall slowness.
What I'm trying to do is to build a kernel with basic custom features (faux audio, msm hotplug (or any other hotplug), intelliactive (or any other custom governor), usb keyboard, gpu OC and mainly cpu OC, which I was able to accomplish). However, using github, and all the coding stuff is really a pain. I know that I'm gonna face a lot of problems since I'm not even a dev, I just started this 3 days ago and the only knowledge I have is basically nothing. But, it'd be great if someone could help me, both for the good of the users and to speed up the development of this.
I'll be doing some research to make this go further, and, if I ever make a stable build, I'll be making a thread in the respective development section.
What I've done so far:
- Build it successfully without major errors
- Add cpu OC support (Thank you @zakee94 and @h2o64 for the commits)
To-do list:
- Fix no media playback (If someone could tell me if this is general and it's not just me, it would be nice)
- Add MSM Hotplug... or any other hotplug
- Add intelliactive governor... since I want this kernel to be perfomance-driven, this governor is so damnly good over any other gov.
- Add gpu OC and simple_ondemand as its governor.
- Add faux's sound control
- Add usb keyboard/mouse support
- Learn to use github, inb4 sorry for not posting source code
Consider me a beginner. I need your help, experienced guys.
P.S: If you try the test build, please be aware that this is a super-extremely-alpha version. It's intended only for feedbacks, so don't forget to backup your current kernel.

Related

[Request][CM10][loccera] can you add new govenors to kernel source

Now, after approx 1/2 year our 7.7 (I have an 6810 wifi only) get smooth.
Stock ROM: No IPad-killer. To slow.
First CM10 builds: also not fluid enough. (remember in the tablet is a 1,4 GHz dualcore and fast GPU!)
Now since the last works of loccera on CM10, the tablet is quite fast. I'm using PA 2.20 at the moment. But it is just a new "distribution" (in linux sence: a compilation of sources and patches (nevertheless thank you very much for the great work andoguide.fr!!!!!) and NOT new development "under the hood". - It seems, just loccera is the only one who is able to do the hard coding work; including the CM10 basis for PA 2.20 for our 6800/6810 tablets.
So my question is: if it would be possible to merge additional governors to the kernel?
- smartassV2 is really awesome in fast response and will reduce lags in GUI (and is battery friendly).
- other govenors are also quite worth to try. like "pegasusq" or "hyper" (from 9100 and all newer equinox samsung devices)
As I know from my experiences with kernels on the galaxy ace 1 and now on the S2 9100 the last smoothness just come from the governor. So now, CM10 for 6800/6810 is just one step away to get be one of the smoothest/fastes tablets. - Would be nice to make the final tuning of the kernel l!!!
I suggest, it is not too hard to include the governors patches into the kernel!?!
Code basis should be very similar to the kernels of other equinox ARM processors (a lot of samsung phones have the same kind of processor and also MALI GPU as our tablet.)
Can somebody help??
p.s.
I'm still not allowed to post in the developer section. Therefore I must do here. If other feels the same. Please refer to this request in the CM10 section of loccera! Thank you!
GNUDroid said:
Now, after approx 1/2 year our 7.7 (I have an 6810 wifi only) get smooth.
Stock ROM: No IPad-killer. To slow.
First CM10 builds: also not fluid enough. (remember in the tablet is a 1,4 GHz dualcore and fast GPU!)
Now since the last works of loccera on CM10, the tablet is quite fast. I'm using PA 2.20 at the moment. But it is just a new "distribution" (in linux sence: a compilation of sources and patches (nevertheless thank you very much for the great work andoguide.fr!!!!!) and NOT new development "under the hood". - It seems, just loccera is the only one who is able to do the hard coding work; including the CM10 basis for PA 2.20 for our 6800/6810 tablets.
So my question is: if it would be possible to merge additional governors to the kernel?
- smartassV2 is really awesome in fast response and will reduce lags in GUI (and is battery friendly).
- other govenors are also quite worth to try. like "pegasusq" or "hyper" (from 9100 and all newer equinox samsung devices)
As I know from my experiences with kernels on the galaxy ace 1 and now on the S2 9100 the last smoothness just come from the governor. So now, CM10 for 6800/6810 is just one step away to get be one of the smoothest/fastes tablets. - Would be nice to make the final tuning of the kernel l!!!
I suggest, it is not too hard to include the governors patches into the kernel!?!
Code basis should be very similar to the kernels of other equinox ARM processors (a lot of samsung phones have the same kind of processor and also MALI GPU as our tablet.)
Can somebody help??
p.s.
I'm still not allowed to post in the developer section. Therefore I must do here. If other feels the same. Please refer to this request in the CM10 section of loccera! Thank you!
Click to expand...
Click to collapse
It would also be great to see overclocking added (selection for 1600MHz in the stock performance options)

ROMs and Kernels, which are you running and why?

What's YOUR Set-Up?
Hello everyone, like most people here on XDA, I enjoy switching between ROMs and Kernels while keeping an eye out for a daily driver that I like best. If you have any other ROM/Kernel combinations that you enjoy and think others might also enjoy, please feel free to share them here and explain why it's awesome!
:laugh: :good: ​
This thread is for the Nexus 6P only
Currently I'm running:
Device: Nexus 6P - 32 GB - Aluminum (If you're curious )
ROM: Chroma (11/22) latest with SElinux Enforcing
Kernel: ElementalX (0.08) latest [SElinux Enforcing option ticked.]
Small Cluster - 1555 MHz (stock)
Large Cluster - 2054 MHz (Max)
Govenor - ElementalX
Min. CPU Frequency - 600 MHz
Max. CPU Frequency - 1824 MHz
GPU: Max = 600 MHz / Min = 180 MHz / Governor = msm-adreno-tz <------------- Anyone recommend a different governor? One for performance and the other interactive?
Color Setting Recommendations? (ElementalX App Only)
I/O Scheduler - FiOPS <----------------------- Anyone recommend a different I/O? BatterySaver/Performance/Interactive?
I'm also curious about the color fixes that Kernels purport to solve (washed out blacks? other issues?) and how to apply these fixes if someone can point me in the right direction or provide their own instructions and values for the color options (Everywhere I look just says tune to your liking but I need somewhere to start, and frankly, I don't know where to start)
I'm really enjoying this ROM/Kernel combo but I am having Battery Drain to the likes I've never seen before, which is probably my fault.
I'll attach logs from BetteryBatteryStats as well as the Battery Stats from Stock 6 or so hours after the posting of this thread (for accuracy).
Any 'Standard' or 'Conventional' logs needed to convey insightful information? for BBS or for anything else? Let me know.
Please let me know if you need any other information and perhaps how I can retrieve it for you (kinda noobish, but not extremely bad lol)
I'm certain it's a user issue but I don't know how to find and correct the issues myself, so any help would be greatly appreciated.
I'm running Chroma ROM for some of the simple customizations and its speed (I don't care about Layers [probably cuz I don't know how to use them]).
I'm running ElementalX simply for the Overclock/Underclock CPU options and the advanced color control (once I learn how to use it) but I don't care about any of the gestures, sweep2sleep,
NTFS r/w and exFAT support (no clue what this is), and Option to disable fsync (don't know what this is/does)
Lastly, what I'm looking for out of a ROM/Kernel combo is great battery life and great performance, with some fun features but definitely minimal. So if feel your setup matches these wants, and you don't mind sharing it here with me, as well as others who may be looking for a similar setup, please do so!
I, as well as most others on this forum, would also be happy to help troubleshoot any problems you may be experiencing with your ROM/Kernel combo to the best of our abilities but we cannot guarantee that we will be able to fix your phone and the responsibility of the device lies with you, the user.
Stock rooted rocks for the first 3 months until development picks up, kernel developers make enough changes and rom developers fully implement most features into their roms.
Enjoying Stock Rooted smoothness... for now!
No need to create multiple threads on exact same thing.
http://forum.xda-developers.com/nexus-6p/general/roms-kernels-running-t3257280/post64009263
Please stick to one thread.
Thanks! Thread closed.
Darth
Forum Moderator

Kernel Recommendation

Hello, i'm thinking of flashing a custom kernel to my MXP, but I don't really know which kernel should I choose cause I don't know which is better.
There are 2 kernels that which very popular around here are Squid and Ultra kernel.
I'm trying to flash a kernel which support for great gaming performance and extend the battery life a little bit, and giving less heat up my beloved phone. I've heard there's a kernel that can overclock past 1.6GHz, so I want to try (To be honest I've never overclock a modern generation phone's CPU before so I don't want to in over my head, plus I don't want to overclock it because I don't really want to because I've been out of the game for so long since I did it with my Sony X8).
I'm opening this thread hoping you guys (the Pros) can teach me, show me or recommend me about this.
Thank you
So as far as I know there are two kernels available for marshmallow. Squid's and Ultra. Squid was the first around here and has kept updating and improving. That is the one that you can overclock, as a matter of fact is overclocked as soon as you flash it. Most people use Kernel Adiutor to tweak it. Ultra kernel on the other hand expands on Squid's but it hasn't been updated in a while and some of the governors available on Ultra create crashes and bootloops. In reality the only way to go is stock (as in the one that comes with whatever ROM you flash) or squid's. Some people might disagree with me but I would suggest making your own opinion by reading through the threads. Most questions, issues and concerns are addressed within. Otherwise, good luck.

[deleted]

[deleted]
one question... how to REALLY TEST and compare a kernel?
sometimes adding and modding the phone with custom rom, kernel, greenify and other manual modded cpu governor etc...... it's almost IMPOSSIBLE to understand if the perfornance, or battery life is affected by a kernel or something else.
A person could obtain a bad battery life but the culprit could be ANYTHING.....
so IMHO the easiest way to compare a kernel is the numbers of features and OPTIONS that allows it.... something like how many governor, i/o schedulers , tcp algorithms, dt2w..... and so on... because a PERFECT kernel... could be perfect in some roms.... and worse on others.....
there are too many complications about the number of apps, which apps, to use greenify or naptime/forcedoze , and a possible incompatibility with a specific ROM with specific kernel.
after all........ maybe the simpler test is to keep the same configuration of the rom for at least 1 week, make a nandroid twrp backup, flash 1 kernel, keep it 1 week ( and see results), then restore twrp with stock kernel/rom , then flash the second one kernel, keep 1 week, then restore backup, test 3rd kernel.... and so on? making it sure NOTHING CHANGE, no greenify change... no gaggressive doze setting change....
it would be nice if other people would write here they combination of precise KERNEL + ROM used to achieve a great battery life and SOT.......
No doubt all these kernels are well tuned and devs are making them better & better every day. I always use RADON KERNEL and it works with every rom just perfect, never tried AGNI though, two days back I flashed ElementX and Franco kernel but I noticed two big cores are either going "offline" or shutting them off permanently. @franciscofranco replied those two cores were thermal throttled or something (may be....) but after RADON I didn't noticed that issue, all 6cores are back online . So for now I'm sticking with radon I'll flash FrancoKernel next week and see if thingd sorted out..
Most off all I think we kenzo users are blessed to have all these big names in development thread.
Why isn´t Lineage Os on the List (a.k.a Cyanogen Mod)
I certainly like Radon best . Save battery and not lose performance .
I don't like AGNi . Because it update too frequently sometimes and little waste battery .And that ,I don't like the AGNi Controller ,One reason :For users who use other languages, this apk is difficult to translate . But , I can't deny it is a good kernel .
About Other kernel , I did not use them for a long time . So I do not understand.
realista87 said:
one question... how to REALLY TEST and compare a kernel?
sometimes adding and modding the phone with custom rom, kernel, greenify and other manual modded cpu governor etc...... it's almost IMPOSSIBLE to understand if the perfornance, or battery life is affected by a kernel or something else.
Click to expand...
Click to collapse
Battery and performance are undeniably affected by your kernel.
For example, the battery life on Nitrogen OS kernel is amazing, and the reason for that is, reduced performance. It's not slow, it's smooth really, but it's slower than Radon's balanced configuration.
And I think your argument that a kernel can be judged by the number of features, governors and schedulers it includes is wrong, because you don't need multiple governors or schedulers to get a good experience.
At one time, you'll only be using one, and that's why the stock configuration of the kernel matters.
I think every custom kernel has their advantages and disadvantages.
All we need to do is tuning it.
For example, I use Franco kernel and I changed the input boost ms for better responsive.
Or I use nitrogen kernel and tuning the governor for better performance.
However, I choose latest ex kernel manager app to tuning the kernel. It's more friendly ui and more reliable.
And the best thing is latest version of radon/franco/exkernel/nitrogen/agni has unified fp support.

[REQUEST] Stock Kernel with KCAL?

Hi, this is a friendly request for the senior devs on this forum. I am actually a noob when it comes to kernel compilation. So I wanted to ask if anyone here has already compiled or is willing to compile the latest stock kernel (from 3.6.1) with no other features except kcal controls. Because me and other OP2 users feel that battery life is best on stock kernel but the washed out display is absolutely disgusting. Also if it's not possible just us know, thanks in advance!
ThaRealSaad said:
Hi, this is a friendly request for the senior devs on this forum. I am actually a noob when it comes to kernel compilation. So I wanted to ask if anyone here has already compiled or is willing to compile the latest stock kernel (from 3.6.1) with no other features except kcal controls. Because me and other OP2 users feel that battery life is best on stock kernel but the washed out display is absolutely disgusting. Also if it's not possible just us know, thanks in advance!
Click to expand...
Click to collapse
Did you try boeffla's kernel? gives much better battery life than stock for me (1/3 longer, in any scenario i tested it).
If you still want to have stock kernel here are the kcal commits. just set up Virtualbox Ubuntu, set up build environment , download official op kernel source (the 6.0.0 version!) and cherry-pick the commits (google it).
If the effort is not worth it, use boeffla's or stock without Kcal.
I can try to help you if you're stuck, but mind that i'm just starting with compiling stuff myself.
wertus33333 said:
Did you try boeffla's kernel? gives much better battery life than stock for me (1/3 longer, in any scenario i tested it).
If you still want to have stock kernel here are the kcal commits. just set up Virtualbox Ubuntu, set up build environment , download official op kernel source (the 6.0.0 version!) and cherry-pick the commits (google it).
If the effort is not worth it, use boeffla's or stock without Kcal.
I can try to help you if you're stuck, but mind that i'm just starting with compiling stuff myself.
Click to expand...
Click to collapse
Yeah man I have tried boeffla. Performance is okay but battery isn't as good as stock imho. Maybe my settings affected it. Can you tell me which version of boeffla you use and what settings so maybe I can replicate your results. Thanks man.
ThaRealSaad said:
Yeah man I have tried boeffla. Performance is okay but battery isn't as good as stock imho. Maybe my settings affected it. Can you tell me which version of boeffla you use and what settings so maybe I can replicate your results. Thanks man.
Click to expand...
Click to collapse
Sure, i use boeffla 2.4-beta5, interactive battery extreme governor (u can tweak max frequency on little to 1200mhz), set little cores (i use 2, you can set it to 3-4 for more performance) set big cores to min0, max0 (if you need power to play games etc. set to min0 max 1-2) GPU underclocked to 27mhz, boost disabled, governor adreno (or powersave, might gives lags)
Further i installed xposed, greenify, amplify (there is a free version, but u have to compile it by yourself--> easiest with android studio).
And i followed this thread to maximize my battery life.
Tried several rom and kernel combinations, with this setup i get a sot of 5-6h with 48h of not charging or 7-8h in less than 24h. But on Lineage 13 its even better... (trying to compile a custom oxygenos, debloated, without playstore, F2FS capable right now but not able to activate F2FS)
If you're interested in the ext4 image, tell me (its untested though).
wertus33333 said:
Sure, i use boeffla 2.4-beta5, interactive battery extreme governor (u can tweak max frequency on little to 1200mhz), set little cores (i use 2, you can set it to 3-4 for more performance) set big cores to min0, max0 (if you need power to play games etc. set to min0 max 1-2) GPU underclocked to 27mhz, boost disabled, governor adreno (or powersave, might gives lags)
Further i installed xposed, greenify, amplify (there is a free version, but u have to compile it by yourself--> easiest with android studio).
And i followed this thread to maximize my battery life.
Tried several rom and kernel combinations, with this setup i get a sot of 5-6h with 48h of not charging or 7-8h in less than 24h. But on Lineage 13 its even better... (trying to compile a custom oxygenos, debloated, without playstore, F2FS capable right now but not able to activate F2FS)
If you're interested in the ext4 image, tell me (its untested though).
Click to expand...
Click to collapse
Damn dude these settings sound a bit extreme doesn't your phone lag like hell lol. And oh hey that sounds really interesting! Is it based off 3.6.1? And what kernel have you implemented it with. Right now I'm testing HalogenOS (loving it so far) but when I feel like switching again I would love to try your build. Link me!
ThaRealSaad said:
Damn dude these settings sound a bit extreme doesn't your phone lag like hell lol. And oh hey that sounds really interesting! Is it based off 3.6.1? And what kernel have you implemented it with. Right now I'm testing HalogenOS (loving it so far) but when I feel like switching again I would love to try your build. Link me!
Click to expand...
Click to collapse
I don't even have microlags (with other kernels and this settings it lags like hell, idk why boeffla doesn't)
However, app opening speed and switching between apps is a bit slower than usual).
Idk what the official source's base is (i guess 3.5.8) as i could'nt boot it up yet. Kernel is original kernel (with F2FS activated by me), i'll change this when it boots with f2fs.
I'll send you the link when i have time

Categories

Resources