Tiny Linux Kernel Patch Delivers Huge Speed Boost
very interesting article. Would/could this have any impact on the Android kernels we have access to? That is, can it somehow be worked into the Android OS?
Already in IntersectRavens latest kernel and wildmonk's latest beta kernels for nexus one. Check the threads
Sent from my Nexus One
Imperial.mack said:
Already in IntersectRavens latest kernel and wildmonk's latest beta kernels for nexus one. Check the threads
Sent from my Nexus One
Click to expand...
Click to collapse
Link or it didn't happen.
What advantages did it prove/show, and can it be beneficial for all Android device besides the nexus 1?
I was wondering if any of the kernels in the development section are re-based when a new Linux kernel comes out?
I've noticed that in all the HTC Forums that kernel threads will list what version of the Linux kernel they were based on but not here in the Nexus S forums. Why not?
What kernel version does it say on your Settings->About Phone screen?
Uh.. the threads here do mention them. Not sure about all of them but Netarchy does
- Kernel base 2.6.35.11 (as of 1.2.3)
Click to expand...
Click to collapse
And honestly.. I can really care less about the kernel base numbers. They're just numbers, I care about performance and speed.
zephiK said:
And honestly.. I can really care less about the kernel base numbers. They're just numbers, I care about performance and speed.
Click to expand...
Click to collapse
The newest kernal has the best speed (2.6.38)
mazodude said:
The newest kernal has the best speed (2.6.38)
Click to expand...
Click to collapse
And where's the source of that "kernal" (it's kernel) proving that its the best speed on the Nexus S? I'm not saying a kernel for another device because thats irrelevant. That's like saying Windows 7 SP1 is faster than Windows 7 SP0 on two different machines with different specifications.
zephiK said:
Uh.. the threads here do mention them. Not sure about all of them but Netarchy does
And honestly.. I can really care less about the kernel base numbers. They're just numbers, I care about performance and speed.
Click to expand...
Click to collapse
Thank you very much for letting me know your kernel version. I checked that thread and I did find it listed. I'm just trying to understand why the Nexus S doesn't have their kernels based on the latest Linux version when the HTC phones seem to.
But there not just numbers it's improvements to the base code. That can improve performance among other things.
mazodude said:
The newest kernal has the best speed (2.6.38)
Click to expand...
Click to collapse
2.6.38 hasn't made it to an android phone as far as I know.
Here is why he is say it's the best speed. It has a big change that should improve performance across the board.
http://www.linuxfordevices.com/c/a/News/Galbraith-Linux-kernel-scheduling-patch/
Here are the kernels I saw on the first 4 pages of development.
Honity - No mention in main post
Voodoo kernel from Supercurio - No mention in main post
Netarchy - 2.6.35.11
Trinity - No mention in main post
I don't own an Nexus S so I can't look for myself. I just wonder why there is no mention. When I see the kernel version tracked by other phones.
Here are some examples from other forums.
[Kernel] [.37.4] intersectRaven's Kernel
[KERNEL][AOSP] - Savaged-Zen [2.6.37.4
[Kernel] LeeDrOiD v2.2.8
[Kernel] 2.6.32.33
Click to expand...
Click to collapse
Is the Nexus S locked on a specific kernel version?
Are the developers not re-basing the kernels?
Hmm interesting point, i too am curious
in nexus one i used intersecraven 6.37.x kernels, i dont think the nexus one was based on the 6.37 when it came out the first time it had 6.32 kernels
Well the Nexus S official kernel version is 2.6.35.7. It's easy to merge the minor patches, but a major version jump to to .38 would require a lot of manual fixing of the kernel source code.
Changing major bases would require a lot of porting work, as many of the drivers required by the nexus s are not in the standard kernel by default.
It will probably be done eventually.
netarchy said:
Changing major bases would require a lot of porting work, as many of the drivers required by the nexus s are not in the standard kernel by default.
It will probably be done eventually.
Click to expand...
Click to collapse
Thank you for your reply. So just to confirm there are no technical limitations (lack of drivers/files/etc..) that prevent someone from re-basing their kernel versions for the Nexus S?
Boeffla Samsung Kernel by AndiP
Ported and compiled by Hbohd and P$T
For i9305
Introduction
Note: The 4.x kernels are only for Samsung based 4.1.x roms!!! Do not install it on CM or AOSP based roms!!!
The 5.x kernels are only for Samsung based 4.3 roms!!! Also do not install it on CM or AOSP based roms!!!
After ausdim's contribution to porting variety of kernels to our phone, I am here to continue his work (he won't maintain it any longer because he simply doesn't own this phone now). Updates will be made as soon as Andi will push them to github.
Here is original thread of i9300 boeffla kernel - CLICK
Here is thread with boeffla ported by ausdim - CLICK
Info
Kernel is compiled using Linaro 4.9.1 with some required changes for our i9305:
No FM radio
No CMA_DMA
No flash and load in Boeffla App
New 'Hbohd preset' and 'PST preset' which are just our everyday use settings.
New 'Hbohd' and 'PST' equalizer preset - just our favorite.
Apart from that, everything is same as in i9300 version.
Please for any questions problems or anything else ask here and not on I9300 thread.
Credits
P$T (for helping hand with compiling and endless patience and time)
Ausdim (basing on his work and he always gives helping hand)
Yank (his endless patience and knowledge to help with any issue)
AndiP (for kernel base and another kind help)
Disclaimer
*** As always - Flash on our own risk! ***
Make sure you flash the correct version depending on your firmware version!
I can and will not take any responsibility for bricked phones or lost data.
It is generally recommended to run a complete Nandroid backup in CWM recovery and safely store your personal data before you flash a new kernel.
Source:
Here it is, github link! - CLICK
5.2 STABLE compiled with linaro 4.8.3 toolchain -->HERE
Newest version 5.3-beta7 compiled with linaro 4.9.1 toolchain (new ramdisk NE4) --> HERE
Camera bug info:
It appears that some people (like me) have problem with camera. In exactly THIS situation: do full wipe, flash sammy rom+boeffla kernel, reboot and launch camera. Effect? Camera closes with "camera failed" popup.
Possible solution:
1. Read this thread and follow steps --> click
2. Flash Sammy Rom with stock Sammy kernel, run the camera, take a photo, then reboot to recovery and flash my ported kernel
3. Flash Sammy Rom with stock Sammy kernel, run the camera, take a photo, grab file (SlimISP_XX.bin, where XX differs between phones) from /data/cfw/ and backup it where you want. Then if you can always copy it to /data/cfw if your camera doesn't work with my ported kernel. (ATTENTION: Unfortunately this file does not always appear - still don't know why )
Possible explanation, my own research:
I found out that people with ZD and GD will have camera working always. Why? Because these (SlimISP_XX.bin, where XX differs between phones) files are packed within kernel (zImage exactly) and ONLY THESE two are provided by Samsung in their opensource release... Interesting, isn't it? For example, I have GH version, which I may add to zImage manually, however adding more of them breaks the size limit for boot partition, so it's impossible to have all these versions together. However, stock kernel somehow has them, don't know how because zImages aren't extractable.
And just to confirm my theory, I've compiled a kernel with mine version of camera firmware, made full wipe, installed sammy rom+my kernel, rebooted, launched camera and voila - it worked
Thus, we has to live with this bug unless Samsung do something about it or someone else proves me that I'm wrong
Hbohd said:
I compiled it after adding my own script for zzmoove 0.5 settings, so you all have them in boeffla app. Therefore I need to explain what i changed (it is just for testing purposes, I don't know yet if it is better/worse etc).
I enabled early demand (new feature from 0.5 version):
And also enabled lcdfreq scaling with standard values:
Click to expand...
Click to collapse
Installed let see how it goes...
Good work
Tank's
Sent from my GT-I9305 using Tapatalk 2
Hbohd said:
I compiled it after adding my own script for zzmoove 0.5 settings, so you all have them in boeffla app. Therefore I need to explain what i changed (it is just for testing purposes, I don't know yet if it is better/worse etc).
I enabled early demand (new feature from 0.5 version):
And also enabled lcdfreq scaling with standard values:
Click to expand...
Click to collapse
Thanks.
Do you have any link or something where we can read about zzmoove governor tunables? I was searching, and searching and nowhere have I found a good explanation of all parameters.
I should probably look into sources you just gave a link for, but I am too tired atm.
Edit:
Oh that wasn't link to sources, but it doesn't matter, there has to be one somewhere in Boeffla thread.
Sent from my GT-I9305 using Tapatalk 2
My 'sources' are only one file - defconfig. The rest is completely same as Andi's sources
And for any explanation of zzmoove configurables - there is some documentation, quite well explained: https://github.com/andip71/boeffla-...48257af1b13/drivers/cpufreq/cpufreq_zzmoove.c
Cheers
Thanks for the port.
Over night I find this one better on battery than the last port. See how it goes with a bit of heavy usage today.
Sent from my GT-I9305 using Tapatalk 2
Hi Hbohd. So, let me see if I get it: this port will no longer be updated, and you are now the good guy that will continue to update Boeffla kernel to our beloved I9305?
kazoum said:
Hi Hbohd. So, let me see if I get it: this port will no longer be updated, and you are now the good guy that will continue to update Boeffla kernel to our beloved I9305?
Click to expand...
Click to collapse
Yes, you are completely right Ausdim has even mentioned in his thread that he no longer owns our device (i9305) so I decided to ask for his permission to continue his job here !
I am quite in love with usage results of Boeffla kernel, therefore you do not have to worry about frequent updates
Hbohd it will continue the port of the boeffla kernel since i moved to the i9505.
Also i see Andip make some changes to the boeffla sound driver so it will work better.
Thank's
After 1 day with new kernel I can say the battery improve are the best an till now. Great job
Sent from my GT-I9305 using Tapatalk 4 Beta
Nice.. good job man..
Sent from my GT-I9305
Hbohd said:
Yes, you are completely right Ausdim has even mentioned in his thread that he no longer owns our device (i9305) so I decided to ask for his permission to continue his job here !
I am quite in love with usage results of Boeffla kernel, therefore you do not have to worry about frequent updates
Click to expand...
Click to collapse
Well, I'm sad that a developer leaves this phone, but it is awesome to know that Boeffla will continue to be ported to I9305! The best part is the frequent updates Thumbs up!
I'm gonna try your port and will say something later.
beta6
I found 2.12beta6 very smooth on my wife's s3 (i9300) - is it possible to have beta6 for our device? (i9305)
dyy said:
I found 2.12beta6 very smooth on my wife's s3 (i9300) - is it possible to have beta6 for our device? (i9305)
Click to expand...
Click to collapse
What if I told you...
Beta7 is better than beta6
Thanks for your work.
Do you have any information about problems with distorted sound? It happens randomly here, and someone else reported the same here in this thread.
Have you used Perseus kernel? What do you think about 'Master sequence', that is calibrated colors? I am missing that feature (well, that colors.) a little, so I'm just asking if there is any chance we get it too, or you plan to stay strictly with pure Boeffla source?
Sent from my GT-I9305 using Tapatalk 2
kazoum said:
What if I told you...
Beta7 is better than beta6
Click to expand...
Click to collapse
Beta7 is with zmoove 0.5 which is unstable at the moment - beta6 with 0.3
Besides beta6 is so great on my wife's phone that I'm afraid of changing anything
Sent from my GT-I9305 using Tapatalk 2
!crazy said:
Thanks for your work.
Do you have any information about problems with distorted sound? It happens randomly here, and someone else reported the same here in this thread.
Have you used Perseus kernel? What do you think about 'Master sequence', that is calibrated colors? I am missing that feature (well, that colors.) a little, so I'm just asking if there is any chance we get it too, or you plan to stay strictly with pure Boeffla source?
Sent from my GT-I9305 using Tapatalk 2
Click to expand...
Click to collapse
Sincerely, I haven't experienced any random distortions of sound, everything works great. Obviously, if you raise headphone or speaker volume too high, it may be distorted, but it is understandable.
Or did you want to mention the problem with distorted/freezing/stuttering audio on screen-off? That was discussed and it might be caused due to too low screen-off frequency or too high sampling_rate and sampling_rate_sleep_multiplier. If it's the problem, try to change to zzmoove-optimised as it has this values changed a little bit.
About Perseus' screen calibration settings... As for now, introducing such thing would require adding multiple scripts to support variety of configurations for it (in boeffla app), change app to stweaks (which is quite tough task) or wait for new app which will come in some time, made by Andi (and in my opinion, will let us easily configure what we want).
What's more, personally I liked these calibrated colours, however, original colours also seem good to me So nowadays, I do not need it, although I might look at it in my free time and see what can I achieve
dyy said:
Beta7 is with zmoove 0.5 which is unstable at the moment - beta6 with 0.3
Besides beta6 is so great on my wife's phone that I'm afraid of changing anything
Sent from my GT-I9305 using Tapatalk 2
Click to expand...
Click to collapse
The fact is, that ausdim released beta4 or 5, I don't remember exactly, and then was my release beta7. And we somehow skipped beta6, you are right! However if I were you, I wouldn't take zzmoove 0.5 as 'unstable'. It introduces a great deal of new configurables that, I suppose will be really beneficiant in the future (when we all will learn what they mean ).
Version 0.5 is ONLY unstable when you are changing governors frequently. Otherwise, it is really efficient and bettery-friendly one (same as 0.3). In addition, it's my beloved governor since its start
Furthermore, new betas always consist of other updates (like Linux kernel upstream to 3.0.82, fixes, optimizations) so it is always worth to use the newest one!
As for now, you may stay with your actual beta version or wait for next update. Andi is testing comparison between zzmoove 0.3 and 0.5 right now, so he haven't pushed any sources, therefore I can't release any new update We are all impatiently waiting for the results i think!
Anybody experienced a problem when the phone CPU is stuck in the max CPU frequency when the phone is plugged in to the PC using USB connection?
I'm using zzmoove battery profile..
Sent from my GT-I9305 using xda app-developers app
inzomnia said:
Anybody experienced a problem when the phone CPU is stuck in the max CPU frequency when the phone is plugged in to the PC using USB connection?
I'm using zzmoove battery profile..
Sent from my GT-I9305 using xda app-developers app
Click to expand...
Click to collapse
Have the same problem, no matter the governor i choose.
I try zzmove battery and pegasusq boeffla battery saving
!crazy said:
Thanks for your work.
Do you have any information about problems with distorted sound? It happens randomly here, and someone else reported the same here in this thread.
Have you used Perseus kernel? What do you think about 'Master sequence', that is calibrated colors? I am missing that feature (well, that colors.) a little, so I'm just asking if there is any chance we get it too, or you plan to stay strictly with pure Boeffla source?
Sent from my GT-I9305 using Tapatalk 2
Click to expand...
Click to collapse
I had this issue with boeffla but only when i used rxtreme rom, i never have it with ripper rom!
Will we ever see a 3.8 kernal for the sensation because apparantly there is lots of improvements with better gaming and so on?
NextGenGTR said:
Will we ever see a 3.8 kernal for the sensation because apparantly there is lots of improvements with better gaming and so on?
Click to expand...
Click to collapse
We just got 3.4 which isn't even fully fixed yet and you ask for 3.8 kernel? Not to sound rude, but how many devices out there have 3.8 kernel yet?
I think it's really unlikely that we'll get it, but who knows....
Sajito said:
We just got 3.4 which isn't even fully fixed yet and you ask for 3.8 kernel? Not to sound rude, but how many devices out there have 3.8 kernel yet?
I think it's really unlikely that we'll get it, but who knows....
Click to expand...
Click to collapse
Nah you dont sound rude ;D I was just bored so i was reading the improvements of Kitkat and i couldnt resist but see that with the 2.8 kernal there is lots of improvements but 3.4 is fine with me.
NextGenGTR said:
Nah you dont sound rude ;D I was just bored so i was reading the improvements of Kitkat and i couldnt resist but see that with the 2.8 kernal there is lots of improvements but 3.4 is fine with me.
Click to expand...
Click to collapse
Sure it would be a dream with that running, but 3.4 is a huge jump right now
Even nexus 5 have 3.4 kernel but you want 3.8 kernel mate
Also in my opinion next android release(android 4.5 or android 5) will use 3.10 kernel
hack4er said:
Even nexus 5 have 3.4 kernel but you want 3.8 kernel mate
Also in my opinion next android release(android 4.5 or android 5) will use 3.10 kernel
Click to expand...
Click to collapse
Lol @SebastianFM you getting ready for 3.10 kernal ? xD
Hi everybody!
At the moment I'm testing CivZ-SneakyKat-Rev1.9 kernel on my Note 3 (9005). This kernel seems to be ok, but whatever reason my N9005 freezes/reboots once a day. I haven't had this behavior with the stock kernel.
Are there any other kernels that you would advice?
Which one makes the Note 3 run as fast as possible?
Thanks for your answers!
The same happens for me You need to keep in mind, that there are not two (or more) exact copies of hardware components (processor in our case), i mean, this kernel can work fine on the developer´s mobile, but not on other. This not happens because of any damaged part or something like this. Simply nobody can give garanty that this kernel will work perfectly in any note 3.
It depend of the revision and other things. You need also know that probably you will not be able to overclock your mobile as much as the developer say (for example 2.8Ghz on CivZ kernels), even using other kernels, but this is normal.
For me the best one is leanKernel. It´s amazing.
Sorry my bad english.
iz1pp0 said:
The same happens for me You need to keep in mind, that there are not two (or more) exact copies of hardware components (processor in our case), i mean, this kernel can work fine on the developer´s mobile, but not on other. This not happens because of any damaged part or something like this. Simply nobody can give garanty that this kernel will work perfectly in any note 3.
It depend of the revision and other things. You need also know that probably you will not be able to overclock your mobile as much as the developer say (for example 2.8Ghz on CivZ kernels), even using other kernels, but this is normal.
For me the best one is leanKernel. It´s amazing.
Sorry my bad english.
Click to expand...
Click to collapse
Hi iz1pp0,
Thanks for your answer!
I'll try this leankernel. Do you know if this kernel is available for Stock Rom 4.4.2, ND3?
Which other kernels have you tried as well?
But before I'll try it I will be waiting to read the experiences of other users here.
Leankernel is great, try it... Battery usage is minor than other kernels
Sent from my SM-N9005 using XDA Premium 4 mobile app
jhonm6060 said:
Leankernel is great, try it... Battery usage is minor than other kernels
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks!
I would like to try it.
Where can I download the latest version and it is working with with my ND3 ROM?
If I interpretate it correctly on the download page of leankernel this is the correct version, korrect? lk_hlteeur-kk-v2.5.1.zip
I have in international 9005 without any branding.
Yes, hlteeur 2.5.1. Just flash the damn thing.
Sent from my N9005
Dejan Sathanas said:
Yes, hlteeur 2.5.1. Just flash the damn thing.
Sent from my N9005
Click to expand...
Click to collapse
Ok, guys! I've flashed it...I'm very curious about it.
Which app can now be used to make kernel settings? Synapse says: Not supported!
My first impression is that this kernel seems to be a fast one!
Antutu_ 34.961
Quadrant: over 25.000
All benches were made with standard values, no oc so far.
I've have leankernel running a few days on my Note 3. It's a very stable kernel.
The only improvement I could imagine is a more comfortable tuning with an app like Synapse.
jhonm6060 said:
Leankernel is great, try it... Battery usage is minor than other kernels
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
but beast version Lean Kernel
lean 2.4
:good:
alex00006 said:
but beast version Lean Kernel
lean 2.4
:good:
Click to expand...
Click to collapse
I'm using leankernel 2.5.1.
Would you like to say that 2.4 is a better version?