[Q] what's Kernel??? - Captivate Q&A, Help & Troubleshooting

Here's a dumb question... I thought a kernel is incorporated with a certain rom. But when i read thru the dev thread, it sounds like there are different version of kernels and we can install different Kernels to different roms??? What exactly do the Kernels do? What would make the differences? Thanks in advance.

Kernels control the resources and filing system of the phone. Different kernels have different lag fixes, some over clock the processor. Some kernels re-orientate roms so i9000 roms work on the captivate.

He also makes some kick ass chicken. Sorry, couldn't help myself.
http://en.wikipedia.org/wiki/Kernel_(computing)

mcord11758 said:
Kernels control the resources and filing system of the phone. Different kernels have different lag fixes, some over clock the processor. Some kernels re-orientate roms so i9000 roms work on the captivate.
Click to expand...
Click to collapse
So, would you say the kernel makes a rom work on a specific phone ???

minlee85 said:
So, would you say the kernel makes a rom work on a specific phone ???
Click to expand...
Click to collapse
In some cases but they accomplish more then that

minlee85 said:
So, would you say the kernel makes a rom work on a specific phone ???
Click to expand...
Click to collapse
Android relies on Linux version 2.6 for core system services such as security, memory management, process management, network stack, and driver model. The kernel also acts as an abstraction layer between the hardware and the rest of the software stack.

Related

[Q] [REQUIRE] A kernel with lots of governors :p

I have forgotten what the governor I had seen can't recall it..
Anyways I have recently flashed zimage kernel but it's pretty unstable half my apps keep crashing
I am on AOS
So now I am looking for a new kernel...
Pls post your reviews of the kernel you use
------------
May The Force Be With You
how many kernels do SGA cm7 have in all ?? 2
madman_amit said:
how many kernels do SGA cm7 have in all ?? 2
Click to expand...
Click to collapse
????
Does not understand.
------------
May The Force Be With You
jumbobombo said:
????
Does not understand.
------------
May The Force Be With You
Click to expand...
Click to collapse
how many kernels you have got in development section ??
we only have 2 kernels there
1. blackhawk by ketut
2. zImage Mod by an0nym0us_
so asking the question in OP seems beet odd
Squadzones one I still use
AOKP 4 LYF
scoffyburito said:
Squadzones one I still use
AOKP 4 LYF
Click to expand...
Click to collapse
yeah 3rd one there ends the list
anyone with enough time to spare, experiment with new one then. use the source from maclaw's ics kernel and compile it, then repack with cm7 ramdisk. i'm pretty sure it'll boot.
I checked the stickles thread in the list there are quite a lot of kernels
I don't know which one to select and the kernel threads on reading are all alien very difficult to understand...
If you could help me with a stable kernel with lots of governors
That would be awesome
------------
May The Force Be With You
jumbobombo said:
I checked the stickles thread in the list there are quite a lot of kernels
I don't know which one to select and the kernel threads on reading are all alien very difficult to understand...
If you could help me with a stable kernel with lots of governors
That would be awesome
------------
May The Force Be With You
Click to expand...
Click to collapse
If you can't understand from the threads you should not flash any kernel since you do not deserve them.
You are not a chimpanzee holding a phone..right??
sergeantgeneral said:
If you can't understand from the threads you should not flash any kernel since you do not deserve them.
You are not a chimpanzee holding a phone..right??
Click to expand...
Click to collapse
Hahaha I understand but at this point most of my apps keep crashing and that's because of zimage kernel... I got that because it had two way call recording and it's a pretty good at it
But due to the crash apps I want to revert to a stable kernel... I am not experimenting different kernels just want a new stable one
You get it?
------------
May The Force Be With You
an0nym0us_ said:
anyone with enough time to spare, experiment with new one then. use the source from maclaw's ics kernel and compile it, then repack with cm7 ramdisk. i'm pretty sure it'll boot.
Click to expand...
Click to collapse
do you think that will give some benefit in GB's ??
as i can do that for fun
madman_amit said:
do you think that will give some benefit in GB's ??
as i can do that for fun
Click to expand...
Click to collapse
Then why do you ask... Enjoy doing it
------------
May The Force Be With You

[Q] dual boot I9305

Hi all,
I've heard of the SiyahKernel for the I9300 which has dual boot functionality.
Does anybody know if this works on the I9305? Or is there a dual boot kernel available which is made for the I9305 in special?
Reason why I want to have dual boot:
I'm a huge Ubuntu fan. And what I've understood from what I've read is that it's CM(10?) based. So I'd like to use that as second rom. (I know, there isn't a version for the I9305 available right now, but I'll give it a try to port it from I9300 to the I9305.)
Thanks in advance.
As far as I was aware there is no dual boot yet for our device
Sent from my GT-I9305 using xda app-developers app
If their is then its in Development .
jje
Does it take much time to make a kernel which supports dual boot ?
Does anybody know how to port a kernel from I9300 to the I9305 ? Is it hard work to do that ?
And why does the 1GB extra and LTE support make such a difference for ROMS on the device ?
Thanks in advance.
Its not so much the difference as developers actually wanting to work on the phone . Nobody pays them its their choice what to develop . jje
tloader11 said:
Does it take much time to make a kernel which supports dual boot ?
Does anybody know how to port a kernel from I9300 to the I9305 ? Is it hard work to do that ?
And why does the 1GB extra and LTE support make such a difference for ROMS on the device ?
Thanks in advance.
Click to expand...
Click to collapse
1. Thats not REALLY hard, however you have to know what to do. Looking and comparing sources is good point to start. Take a look at gokhan or googy commits about dual boot for example.. Personally, I havent been interested in it, but I might look into it, why not
2. Apart from these, we have other radio, and that causes so much trouble with ROM differences..
Hbohd said:
1. Thats not REALLY hard, however you have to know what to do. Looking and comparing sources is good point to start. Take a look at gokhan or googy commits about dual boot for example.. Personally, I havent been interested in it, but I might look into it, why not
Click to expand...
Click to collapse
Cool ! That would be awesome
Hbohd said:
2. Apart from these, we have other radio, and that causes so much trouble with ROM differences..
Click to expand...
Click to collapse
It's cool that we have radio, but.... why do we need it ? seriously... we all have a mobile network subscription these days
Couldn't we just drop that in the beta/alpha versions, and add it in later then ? ;s
tloader11 said:
Cool ! That would be awesome
It's cool that we have radio, but.... why do we need it ? seriously... we all have a mobile network subscription these days
Couldn't we just drop that in the beta/alpha versions, and add it in later then ? ;s
Click to expand...
Click to collapse
I mean, another radio, like baseband, ril etc. I wasn't talking about normal FM radio (we haven't even got one in i9305).
However, taking only these proper files (like ril + modem) from our ROMs and take them to i9300 ROMs might work, I tried some time ago doing same thing with temasek's cm10.1 and it worked.. Unfortunately I wasn't able to compile fully stable and well working kernel (based on temasek's sources) therefore I do not use it now ;p
Hbohd said:
I mean, another radio, like baseband, ril etc. I wasn't talking about normal FM radio (we haven't even got one in i9305).
However, taking only these proper files (like ril + modem) from our ROMs and take them to i9300 ROMs might work, I tried some time ago doing same thing with temasek's cm10.1 and it worked.. Unfortunately I wasn't able to compile fully stable and well working kernel (based on temasek's sources) therefore I do not use it now ;p
Click to expand...
Click to collapse
Ahh, stupid mistake >< sorry for that!
Would still be nice of you could look at the dual boot feature for our device !

[Q] best ROM/KERNEL combination

Are there kernels that work best with certain ROMs and vice versa?
ronaldheld said:
Are there kernels that work best with certain ROMs and vice versa?
Click to expand...
Click to collapse
no
ronaldheld said:
Are there kernels that work best with certain ROMs and vice versa?
Click to expand...
Click to collapse
Yes, only use 5.1 kernels with 5.1 ROMs. Only use 5.0.x kernels with 5.0.x ROMs.
Other than that, no.
The one you like the most and spend time with to optimize.
Sent from my Benzo'd Google N6 on VZ
ronaldheld said:
Are there kernels that work best with certain ROMs and vice versa?
Click to expand...
Click to collapse
Honestly, the best thing you can do is read through each ROM/KERNEL thread and and following posts to get an idea of users opinions. Many ROMS and KERNELS are very alike, but are more tuned to what the creator felt should be included. After that, test all the ones you like. Try different combinations. As long as you are following proper flashing procedures, your risk of a brick is very low, and can easily be fixed by returning to stock if it does happen. You will find that some ROM and KERNEL combinations are better for performance, some for style, some for battery life, and some for specific uses (hacking).
To sum that bit up, read through the threads and posts, find what you like, and test until you find a combination that best suits you!

Stock kernel vs custom kernel ?

Stock kernel vs custom kernel ?
mohnad12 said:
Stock kernel vs custom kernel ?
Click to expand...
Click to collapse
what about it? what's your real question? stock is however stock is set up, custom kernels change the CPU setup, in many differing ways. there is no one correct answer as there are many different custom kernels and setups.
simms22 said:
what about it? what's your real question? stock is however stock is set up, custom kernels change the CPU setup, in many differing ways. there is no one correct answer as there are many different custom kernels and setups.
Click to expand...
Click to collapse
I am running orignal android 6.0.1 its recommanded to install custom kernel ??
mohnad12 said:
I am running orignal android 6.0.1 its recommanded to install custom kernel ??
Click to expand...
Click to collapse
if you have issues with the stock kernel, yes. if you want root, yes. should you learn how to set up your cpu properly before changing kernels? yes. learn about the governor/scheduler, how changing them changes your cpu performance. besides that, some kernels add a few minor features as well.
Rooted but as close to stock as possible. I've always had issues with heavily tweaked custom kernels.
They have their place, but not if you wan't a solid rooted daily driver IMHO.
DaanJordaan said:
Rooted but as close to stock as possible. I've always had issues with heavily tweaked custom kernels.
They have their place, but not if you wan't a solid rooted daily driver IMHO.
Click to expand...
Click to collapse
im a well known custom kernel user, and yet I NEVER use any custom kernel as they are set up by the developer. I ALWAYS use my own CPU setups, always. as far as I can tell, my setup is as solid for me as any stock kernel that google provides. but not only solid, my phones performance is kicked up a notch as well as its battery life. and my devices turn out much more responsive too.
Wow you must be very skilled and talented!
Sometimes messing with stuff like that can create bootloops and random freezes.
I also love how you have contributed to this thread by saying how you ALWAYS use your own CPU setups.
It was very informational an helpful.
Thanks!
DaanJordaan said:
Wow you must be very skilled and talented!
Sometimes messing with stuff like that can create bootloops and random freezes.
I also love how you have contributed to this thread by saying how you ALWAYS use your own CPU setups.
It was very informational an helpful.
Thanks!
Click to expand...
Click to collapse
and that's why its very important to know about governors and schedulers.
here's one of my examples.. for a long time, I was the only one using all 4 cores on , no hotplugging. and many people laughed at me about it, claiming my battery life must suck. but, for android 5.1 google changed the CPU settings for the nexus 6. and many people really noticed about how reactive the n6 became. what did google change? they set the cpu to be always on, no hotplugging :angel:
BTW, I use the ondemand governor with the deadline scheduler. with the sampling rate for ondemand set at 15000 and the sampling rate at 98.
mohnad12 said:
Stock kernel vs custom kernel ?
Click to expand...
Click to collapse
Ribs barbecue.
---------- Post added at 10:22 AM ---------- Previous post was at 10:21 AM ----------
mohnad12 said:
I am running orignal android 6.0.1 its recommanded to install custom kernel ??
Click to expand...
Click to collapse
No. Stock just works fine.

what are kernals???

I'm new to this I've flashed ROMs lately but have no idea about kernels
Currently running stock 7.1.1 Jan patch with locked bootloader
Hopefully someone will help me out with​ kernels
First go and read this
https://forum.xda-developers.com/nexus-6/general/how-to-nexus-6-one-beginners-guide-t2948481
drmuruga said:
First go and read this
https://forum.xda-developers.com/nexus-6/general/how-to-nexus-6-one-beginners-guide-t2948481
Click to expand...
Click to collapse
That's cool and all but I did a find (CTRL + F) on the page for kernel and it didn't really talk about what it is...
The kernel basically controls how the device runs. With custom kernels you often see more features (like wake gestures: being able to double tap 2 wake, sweep2wake, etc..., color control, and advanced CPU tweaking). Performance and battery life come from the kernel, not really the ROM. So with a custom kernel you can change the governor (how the CPU responds to load), touchboost or not (instantly ramping to a certain frequency when you touch the screen), hotplugs (when the CPU onlines/offlines cores), and frequencies (the min and max speeds at which the CPU runs at) among other features.
You can totally flash a kernel and just leave it as is and there is nothing wrong with that. Or you can install a program like kernel adiutor mod and adjust settings yourself and fine tune it based on how you use the device, how fast you want it to be, and how much battery life you want to have.
A kernel is literally the operating system itself. It manages all processes and hardware (ram,cpu,storage). Android is a GUI interface to the kernel. In this case for android the kernel is Linux. Linux uses modules to talk to hardware.
Windows uses the NT kernel. Macs use Darwin, based on BSD.
Sent from my Nexus 6 using Tapatalk
ferrocene said:
A kernel is literally the operating system itself.
Click to expand...
Click to collapse
No it is not.
That is why their is kernel, and then their is an Operating System which is separate.
hashtag_harsh said:
I'm new to this I've flashed ROMs lately but have no idea about kernels
Currently running stock 7.1.1 Jan patch with locked bootloader
Hopefully someone will help me out with​ kernels
Click to expand...
Click to collapse
Take a look at this link..:
https://en.m.wikipedia.org/wiki/Kernel_(operating_system)
You don't need to be a computer a engineer to understand the basics and it should give you an idea of what the kernel does on your device... Once you have read that, come back here if you need further informations...
Cheers...
christianpeso said:
No it is not.
That is why their is kernel, and then their is an Operating System which is separate.
Click to expand...
Click to collapse
The kernel literally operates the system. An embedded os is a kernel plus a few programs which run after init. An OS is nothing else but a kernel and some userland administrative tools.
Sent from my Nexus 6 using Tapatalk
ferrocene said:
The kernel literally operates the system. An embedded os is a kernel plus a few programs which run after init. An OS is nothing else but a kernel and some userland administrative tools.
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
When I hear the word "literally", I am hearing "exactly". So you said that the kernel is exactly the operating system, which would mean those words can be used interchangeably with each other and mean the same thing. They do not. When someone refers to an operating system, they are not referring to the kernel. And vice versa.
ferrocene said:
The kernel literally operates the system. An embedded os is a kernel plus a few programs which run after init. An OS is nothing else but a kernel and some userland administrative tools.
Click to expand...
Click to collapse
The kernel is the software interface with hardware.. it tells the software what to do with the hardware...

Categories

Resources