How might the "Galbraith" kernel patch effect the Android platform? - Android Software/Hacking General [Developers Only]

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?

Related

2.6.37.4 Kernels?

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?

update Kernel on Coredroid DHD v5.4

I hear people talking about updating kernel on a CWM rom, im currently using CoreDroid DHD v5.4 With the kernel that came with it. im checking my kernel info and it has a date of march 9 on it. so can i use the kernel update utility 9 on this rom to update it. also i here people talking about changing kernels whats that all about.
Thx in advance
CWM is merely the acronym for ClockWork Mod, the recovery.
helushune said:
CWM is merely the acronym for ClockWork Mod, the recovery.
Click to expand...
Click to collapse
i know that
EMoney24 said:
I hear people talking about updating kernel on a CWM rom
Click to expand...
Click to collapse
EMoney24 said:
i know that
Click to expand...
Click to collapse
See where I got confused?
helushune said:
See where I got confused?
Click to expand...
Click to collapse
Ok i meant a kernel for a coredroid DHD rom, is there any kernels
I just made a post about this yesterday when some one was asking about battery life, but I will post again.
The only roms that have custom kernel are the ones who's source has beeen released, or have been built from source ie. Froyo builds, CM7 builds, Miui builds. None of the ginger bread roms based on the leaked DHD have custom kernels, and probably won't have custom kernels. HTC is more then likely not going to release the source to their leaked rom. Also when flashing kernels you don't not want to switch bases, meaning you don't want to flash a CM7 on Coredroid (gingerbread) or a Froyo based rom.
If your still a little confused about what a kernel is, think of it this way ( I forget who said it in a thread before me), but a Rom is what you see on the screen, and a Kernel is what makes it happen.
mudknot2005 said:
I just made a post about this yesterday when some one was asking about battery life, but I will post again.
The only roms that have custom kernel are the ones who's source has beeen released, or have been built from source ie. Froyo builds, CM7 builds, Miui builds. None of the ginger bread roms based on the leaked DHD have custom kernels, and probably won't have custom kernels. HTC is more then likely not going to release the source to their leaked rom. Also when flashing kernels you don't not want to switch bases, meaning you don't want to flash a CM7 on Coredroid (gingerbread) or a Froyo based rom.
If your still a little confused about what a kernel is, think of it this way ( I forget who said it in a thread before me), but a Rom is what you see on the screen, and a Kernel is what makes it happen.
Click to expand...
Click to collapse
Close but not quite, there is a custom OC/UV kernel for several different gingerbread roms. here is the link: http://forum.xda-developers.com/showthread.php?t=1050106
i have used this kernel with coredroid 5.4 and it works flawlessy
cstayton said:
Close but not quite, there is a custom OC/UV kernel for several different gingerbread roms. here is the link: http://forum.xda-developers.com/showthread.php?t=1050106
i have used this kernel with coredroid 5.4 and it works flawlessy
Click to expand...
Click to collapse
Very well it came out four days ago. Even though what I said is still true there still isn't a custom kernel from the dhd source, because HTC more then likely won't release it. Good to see they ported one though.
Sent from my Desire HD using XDA Premium App
mudknot2005 said:
Very well it came out four days ago. Even though what I said is still true there still isn't a custom kernel from the dhd source, because HTC more then likely won't release it. Good to see they ported one though.
Sent from my Desire HD using XDA Premium App
Click to expand...
Click to collapse
true, i'll give you that one. that's the nice thing about linux through it's open source nature makes for the ability to use one devices code to create a work of art for another device.
Coredroid is using leedroids latest custom kernel. It doesn't work well with 5.4 but works greatttttt with 6.0!!
Sent from my Desire HD using XDA App

[Q] ICS ROM / KERNEL ? Anything official / Information?

Hello, I have been doing some reading here as well I sit on IRC on the #skyrocket channel which is pretty quiet these days.
I am using TPC GB rom build with Da_G kernel, and so far (since november 2011) it has been solid.
I have tried alienROM for the ICS leak, but it is missing some kernel features I like, however is a decent ROM. I was wondering if there were any nice ROMs or Kernels for ICS yet, or are well all still waiting for samsung to release an official ICS build so proper kernels can be made. It has been quite awhile and are we even getting an official build for the I727R (Rogers)
I wanted to post here if that is OK because I have not been finding too many answers to what I am looking for. I am in no rush really, but wanted to start thinking about tweeking my phone. Would it be best to play with leaked builds or just wait till some official builds come out then wait and go from there. If anyone has suggestions that would be great.
Thank you for your time and comments.
Hi. All the roms you'll find here are decent and will each appeal to different people and their needs. I've found the latest SkyICS to be excellent in many ways. Try a few different ones to see what you like. Any will be better than stock GB.
As for kernels, there are a few out, but none will have all the features we like about a custom kernel until the official ICS is released because -as far as I know - the code for the kernel hasn't been released yet.
For example, we won't have overclocking until someone can tear into the official released kernel.
I am not a developer, so please, someone correct me if I'm wrong about this.
Sent from my SAMSUNG-SGH-I727 using XDA
Without kernel source nothing can be done. No oc, no uv, no bln.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Thanks for the reply, I am on GB (not stock) running rom / kernel (4.3.5) just can't decide on what ICS I want to go with. So I will continue to read away
LPMatt said:
Hi. All the roms you'll find here are decent and will each appeal to different people and their needs. I've found the latest SkyICS to be excellent in many ways. Try a few different ones to see what you like. Any will be better than stock GB.
As for kernels, there are a few out, but none will have all the features we like about a custom kernel until the official ICS is released because -as far as I know - the code for the kernel hasn't been released yet.
For example, we won't have overclocking until someone can tear into the official released kernel.
I am not a developer, so please, someone correct me if I'm wrong about this.
Sent from my SAMSUNG-SGH-I727 using XDA
Click to expand...
Click to collapse
xcrazydx said:
Without kernel source nothing can be done. No oc, no uv, no bln.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
Doesn't the Cymbaline kernel have BLN now?
Dimarini said:
Doesn't the Cymbaline kernel have BLN now?
Click to expand...
Click to collapse
Yes. He posted that before the t989 source dropped. Cymbaline used fixes from that source. We also have instigatorx kernel for aosp based roms.
--
SGH-I727 using XDA premium, running cm9.
Questions? look here: http://forum.xda-developers.com/search.php

[RECOVERY][LINARO][4.1.2] TWRP-UNOFFICIAL 2.3.1.1 touch recovery [11/5/12]

Hi all, so I've been wanting a really nice optimized Linaro recovery and have not been able to find one. So I decided to build my own and have found it to be very nice and stable, and of course to share with all of you xda peps
First off if you don't know what TWRP recovery is the original nexus 7 thread is HERE
Please read all of the original thread before flashing this recovery.
More info on how this recovery was built
Built using Linaro gcc 4.7 toolchain. I also built the toolchain from Linaro's gcc source. The toolchain source is HERE
This toolchain source gets update almost daily from linaro sources, but I don't normally have the time to build new toolchains daily. When I have time I will update it quite frequently.
Built off my own 4.1.2 kernel source. The kernel used to build this recovery was also compiled using the Linaro 4.7 toolchain.
I've added a few linaro recovery patches for interfaces to libpng. Those changes are HERE and HERE.
Built using Linaro bionic string routines optimizations.
Installation
Download the recovery image and flash in fastboot
Initial release 2.3.1.1 touch recovery
10.28.12 release 2.3.1.1 touch recovery
Kernel changes
Removed a lot of bloat from the kernel. I disabled GPU overclocking, user voltage control, cpu overclocking, a bunch of useless debugging stuff.
A short kernel changelog is HERE
Toolchain changes
Not much here. I included a static library to be used in the toolchain libiberty
A short changelog for the toolchain is HERE
Recovery changes
Built as engineering instead of userdebug.
11.5.12 release 2.3.1.1 touch recovery
Final android 4.1.2 linaro recovery version
Kernel changes
Mainline linux kernel upstream changes from linux-3.2.y
Changed kernel compression mode to GZIP and optimization level to -Os
Toolchain changes
Updated to latest linaro changes
Recovery changes
-O3 optimization level
Linaro strict-aliasing compiler flags optimization
Android-4.1.2 (This version is a final release, no more updates)
Size: 6.95 MB
MD5: e0f46f01556156b052b3779c9ed60e01
What? A Linaro recovery? I did not know there was such thing. I am downloading this now very excitedly.
Thank you. Very very helpful and nice.
OK... Now I need more info! I sorta understand the Linaro concept but my knowledge is limited. What's the reasons to base Recovery on it at this point? Any advantages, possible concerns? Will there be any noticeable differences? Just curious & wondering cause you said "you'd been wanting to make a recovery based on linaro".
Thank!
Sent from my Nexus 7 using Tapatalk 2
Hi men!
Thanks for your recovery.
But i experience some strange visual effects like distortion of the image or some lag effects.
---------- Post added at 04:21 PM ---------- Previous post was at 04:16 PM ----------
djd338 said:
OK... Now I need more info! I sorta understand the Linaro concept but my knowledge is limited. What's the reasons to base Recovery on it at this point? Any advantages, possible concerns? Will there be any noticeable differences? Just curious & wondering cause you said "you'd been wanting to make a recovery based on linaro".
Thank!
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
There is a discussion on this subject regarding some tests Ezekeel (XDA developper) made with different cross-compiler toolchains and those tests prooved that none of the compilers is better than another.
We heard a lot about linaro because when ICS was released, it was very laggy and linaro and is new compiler version 4.7 made ICS much smoother than before.
But for the pur performance linaro give no improvement if you compare with another one.
EDIT: I found the link of the test for you: http://forum.xda-developers.com/showpost.php?p=19872366&postcount=1
i remember this test,and also in my home test when i tried to build kernel,i don't see improvement using linaro or others toolchains..anyway it's great to have another thing to play on and see if it's best that the ufficial!
sert00 said:
i remember this test,and also in my home test when i tried to build kernel,i don't see improvement using linaro or others toolchains..anyway it's great to have another thing to play on and see if it's best that the ufficial!
Click to expand...
Click to collapse
Agree with you.
It wasn't for discredit the work of sparksco. I'm glad to test his work.
Just answer the question for the cross-compiler.
Thanks for the work sparksco
[email protected]_OC said:
Hi men!
There is a discussion on this subject regarding some tests Ezekeel (XDA developper) made with different cross-compiler toolchains and those tests prooved that none of the compilers is better than another.
We heard a lot about linaro because when ICS was released, it was very laggy and linaro and is new compiler version 4.7 made ICS much smoother than before.
But for the pur performance linaro give no improvement if you compare with another one.
EDIT: I found the link of the test for you: http://forum.xda-developers.com/showpost.php?p=19872366&postcount=1
Click to expand...
Click to collapse
That's one test with one toolchain by one developer. As far as I can tell he tested everything with one of linaro's really old toolchaons when they first released 4.6. So by looking at the dates I would guess linaro didn't add much to the toolchain at that point. There's also the GCC version to consider. This is using 4.7 and not 4.6. And lastly there's rom patches that linaro puts out that have nothing to do with the kernel but are used in the ROM building process when building recoveries. It's all debatable. I find this to be a bit smoother and backups seems to be a little faster but maybe it's just me.
[email protected]_OC said:
Hi men!
Thanks for your recovery.
But i experience some strange visual effects like distortion of the image or some lag effects.
Click to expand...
Click to collapse
Your going to have to provide more info than that. Your method of installing, what bootloader you have ect. Thanks.
Edit: flashing zip in recovery causes issues so I removed that method of installing.
sparksco said:
That's one test with one toolchain by one developer. As far as I can tell he tested everything with one of linaro's really old toolchaons when they first released 4.6. So by looking at the dates I would guess linaro didn't add much to the toolchain at that point. There's also the GCC version to consider. This is using 4.7 and not 4.6. And lastly there's rom patches that linaro puts out that have nothing to do with the kernel but are used in the ROM building process when building recoveries. It's all debatable. I find this to be a bit smoother and backups seems to be a little faster but maybe it's just me.
Click to expand...
Click to collapse
thanks.after give a try to this recovery,i agree with you with fact of possible quickest backup time.the general use is good,don't know if it's real an improvement,but i did a backup and at first look it seemed quicker..possible placebo effect,let's see what others say..
why you pulled cwm install version...bugged?
There's a lot of factors to consider. Just the fact that this is using a kernel I built with 4.7 from my own source code could improve things as well. FYI the kernel includes GPU overclocking.
sert00 said:
why you pulled cwm install version...bugged?
Click to expand...
Click to collapse
Read one post above yours...
Sent from my Nexus 7 using Tapatalk 2
sparksco said:
There's a lot of factors to consider. Just the fact that this is using a kernel I built with 4.7 from my own source code could improve things as well. FYI the kernel includes GPU overclocking.
Read one post above yours...
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
oh thanks,not saw the edit in the post!
New version is up.
Sent from my Nexus 7 using Tapatalk 2
I installed last night using goomanager, so I assume I have the previous version?
Anyway, it works great, so thanks.
stonebear said:
I installed last night using goomanager, so I assume I have the previous version?
Anyway, it works great, so thanks.
Click to expand...
Click to collapse
I am pretty sure you get the Official TWRP version from goomanager not this. Please correct me if I am wrong but I think that is what the Unofficial means.
zedorda said:
I am pretty sure you get the Official TWRP version from goomanager not this. Please correct me if I am wrong but I think that is what the Unofficial means.
Click to expand...
Click to collapse
Yea, I just realised that myself when I saw there were two threads.
What's the difference between this and ClockWorkMod? Is it more stable?
Neo3D said:
What's the difference between this and ClockWorkMod? Is it more stable?
Click to expand...
Click to collapse
Some more features on TWRP I think, especially the queue to flash multiple ZIP files. Flash it and see for yourself
modstorm said:
Some more features on TWRP I think, especially the queue to flash multiple ZIP files. Flash it and see for yourself
Click to expand...
Click to collapse
That, and I like the fact that you have an option to wipe cache/dalvik after flashing something
markj338 said:
That, and I like the fact that you have an option to wipe cache/dalvik after flashing something
Click to expand...
Click to collapse
That and TWRP can also be themed however I never found any themes :/

[Q] No 3.10 kernel for us?

Was just wandering why google didn't update the kernel on nexus 5?
Nexus 9 and 6 has 3.10 kernel so why not us too?
CataHd said:
Was just wandering why google didn't update the kernel on nexus 5?
Nexus 9 and 6 has 3.10 kernel so why not us too?
Click to expand...
Click to collapse
Wich are the updates on it?
The N5 wouldn't benefit from a kernel update at all. So a better question would be "why bother updating the kernel for nothing?"
Google doesn't bump kernel versions, the N7 is using 3.1 on L
@Rusty! The only time they did it was on nexus s from gb to ics
Tickless kernel can for sure improve battery life. Not sure why Google didn't give us 3.10
Sent from my Nexus 5 using XDA Free mobile app
At least any one know if any dev is working on bringing us linux kernel 3.10?
I remember someone saying on the nexus 4 forum that qualcomm has official support on hardware from 800 and up for linux kernel 3.10!
Any one has some more info on that?
Its not going to happen. There is no point.
The only difference to a user would be a higher visual version number (which apparently makes all the difference to them lol..).
Lethargy said:
Its not going to happen. There is no point.
The only difference to a user would be a higher visual version number (which apparently makes all the difference to them lol..).
Click to expand...
Click to collapse
Apparently so.

Categories

Resources