Related
Okay so I am sort of confused between what a Rom and kernel is. I have flashed saurom rom rcvi on my phone and it comes with a kernel.
I just want to know what they exactly are.
I know a rom is basically like the operating system and their are different roms. What is a kernel tho? I have dags oc kernel though i havent oc yet. But what is it and what does it do? I assume it has something to do with the internal hardware and performance. How do you flash a kernel by itself, Can you even do that or does it always come coupled with a rom? Lets say i wanted to get the holonote kernel by itself would it be possible to do that? Can you mix and match roms and kernels?
Also where does theming come into play? I know that theming well basicallys themes and decorates your device. But how does that work? Do certain roms have themes, or can you put any themes on any roms? How do you flash a rom? Also themes shouldnt affect the performance right.
You may want to search the forums, specifically Q&A or development. People are going to flame you.
Sent from my SAMSUNG-SGH-I717 using XDA
http://en.wikipedia.org/wiki/Kernel_(computing)
In the simplest terms that I can think of, a kernel is a component within an operating system that acts as a bridge which allows software to communicate with hardware. I think Saurom is bundled with Hololight's kernel, and the two Collective roms are bundled with DaG's 0.2 OC kernel. You can flash an alternate kernel, as long as your ROM works with it. You can also flash just a kernel without flashing a ROM.
As for themes, most of them are designed for and require a specific ROM. The thread for the theme will be very clear as to which ROM is required to run it.
tenderchkn said:
http://en.wikipedia.org/wiki/Kernel_(computing)
In the simplest terms that I can think of, a kernel is a component within an operating system that acts as a bridge which allows software to communicate with hardware. I think Saurom is bundled with Hololight's kernel, and the two Collective roms are bundled with DaG's 0.2 OC kernel. You can flash an alternate kernel, as long as your ROM works with it. You can also flash just a kernel without flashing a ROM.
As for themes, most of them are designed for and require a specific ROM. The thread for the theme will be very clear as to which ROM is required to run it.
Click to expand...
Click to collapse
good call....,.
Here is another great example:
http://developer.android.com/guide/basics/what-is-android.html
Sent from my SGH-I717D using xda premium
Follow up to OP's question: Where does the kernel "live"? Is it in the boot partition?
I ask, because with all the flashing and at times wanting to go back, does a full nadroid restore (I see it restoring the boot partition, then system, then data) restore the previous kernel also?
Thanks.
If you are curious where stuff is... Take a cwm flashable zip, open it with 7 zip on your pc, follow the folder path in "meta-INF" til you get to a file called "updater-script" pull that out, open it up with NotePad and look and see where its writing to.
the kernel is written to
/dev/block/mmcblk0p8
Don't flash this as you already have one from ur ICS ROM! I just did not see any Stock Kernel that is the reason why i made a thread!
Haven't seen a stock ICS 4.0.3 kernel in development section so i m just dropping stock kernel in case some one needs it.
It meant we'll have mod kernel soon? Better battery faster ... everything.
Sent from my AT&T Galaxy Noteā¢ - please forgive any typos
ummm... what?! Is this i717 specific, or just the AOSP 4.0.3 kernel? How did we get this for the i717 without source? Where is it from? So many questions!!!11 lol
If this is for real, someone please throw a bucket of ice water (and/or trout) on Da_G...
I have tried to use this tool http://forum.xda-developers.com/showpost.php?p=20806471&postcount=1 to inject init.d support into the stock kernel but cannot tell if it worked. It worked on the stock ICS kernel for the Asus Transformer according to this post. http://forum.xda-developers.com/showpost.php?p=23005237&postcount=104
Anyone else more familiar with init.d care to try it? It did give me an init.d folder, and the command prompt on PC seemed like it was successful but I can't tell from the file it placed in init.d after first boot if it was successful or not. I tried putting a supercharger script in the init.d folder but it doesn't seem to be working.
edit: Also at the risk of sounding dumb I don't know what set permission as 755 is. I tried to set the permissions of the folder to match the other folders in the directory.
I don't understand why are guys so happy about this ?
This kernel (boot.img) is already in ICS ROMs,
you can just unzip one of those ROMs or the leak and there you have it !
They need kernel SOURCE to do overclock etc.
Sent from my SGH-I717D using Tapatalk 2
Jckpsa said:
I don't understand why are guys so happy about this ?
This kernel (boot.img) is already in ICS ROMs,
you can just unzip one of those ROMs or the leak and there you have it !
They need kernel SOURCE to do overclock etc.
Sent from my SGH-I717D using Tapatalk 2
Click to expand...
Click to collapse
I was assuming this was source... which, as my previous post indicates, wouldn't make sense.
Otherwise, you're right, this isn't anything special. Nice to have separately? Sure, I guess...
so what is a kernal is this a ics leak, im a nubie and pretty stupid.
thanks
Guys, this is STOCK ICS 4.0.3 Kernel. In other words, the kernel that was provided with the leak. It's unmodified.
zer0nine said:
Guys, this is STOCK ICS 4.0.3 Kernel. In other words, the kernel that was provided with the leak. It's unmodified.
Click to expand...
Click to collapse
yes we know this.......which is not that useful for the dev....as they need the source code for the kernel.....without the source code....we can't OC/undervolt and do all the lovely things that we need...
I've been wanting a stock ICS version as there have been a few bugs that I can't get away from with the two mods I've tried... Maybe it's ICS, maybe it's me, but now I can see how the original runs. Thanks!
Surrylic said:
I've been wanting a stock ICS version as there have been a few bugs that I can't get away from with the two mods I've tried... Maybe it's ICS, maybe it's me, but now I can see how the original runs. Thanks!
Click to expand...
Click to collapse
You do know this is just the kernel right? If you flash only this after a full wipe, you're not going to have a booting Android phone.
You sure? I would think it would be more like flashing it to what is already in it, unless, this is not for the i717.
thair7391 said:
You do know this is just the kernel right? If you flash only this after a full wipe, you're not going to have a booting Android phone.
Click to expand...
Click to collapse
C0BRA01 said:
You sure? I would think it would be more like flashing it to what is already in it, unless, this is not for the i717.
Click to expand...
Click to collapse
I think he means if you flash it after a "full" wipe, meaning clearing the system. If you just do a data and cache wipe it should be fine, if of course you are running an ICS ROM.
live4nyy said:
I think he means if you flash it after a "full" wipe, meaning clearing the system. If you just do a data and cache wipe it should be fine, if of course you are running an ICS ROM...
Click to expand...
Click to collapse
...which already has the same kernel, so there would be no point.
If this isn't source, then I don't understand what this is for. Every i717 ICS leak currently available has this kernel already included. Having it on your SD card just in case isn't really going to do anyone any good, since everyone running any of the currently available ICS ROMs is already running this very kernel. If this is acceptable, then I won't be surprised to see others parting out the leak and posting pieces of it in the dev section, when it really belongs in General since it isn't source. Please don't flame me, just trying to make a point.
tonyc0642 said:
If this isn't source, then I don't understand what this is for. Every i717 ICS leak currently available has this kernel already included. Having it on your SD card just in case isn't really going to do anyone any good, since everyone running any of the currently available ICS ROMs is already running this very kernel. If this is acceptable, then I won't be surprised to see others parting out the leak and posting pieces of it in the dev section, when it really belongs in General since it isn't source. Please don't flame me, just trying to make a point.
Click to expand...
Click to collapse
It's pretty useful for noobs who flashed DaG's kernel mistaking it for an ICS kernel.
OP is pretty misleading. There is no reason to flash this at the moment.
Sent from my SAMSUNG-SGH-I717 using xda premium
Actually, I dont understand what the big deal is...
There are stock roms in the development thread aren't there?
Stock Odin recovery image:
http://forum.xda-developers.com/showthread.php?t=1506330
Stock boot & recovery:
http://forum.xda-developers.com/showthread.php?t=1504999
Strange that no one *****ed about these being in Android Development... I dont see what the difference is.
All this is is the stock kernel from the ICS leak taken out and made available for flashing in case you want to flash the stock kernel FROM THE ICS LEAK (so, if you are still on stock GB, this wont be helpful, this is ONLY useful if you are running the stock, unmodified ICS leak and have changed the kernel and want to revert back to the stock ICS kernel from the leaked ICS rom).
The OP is pretty self explanatory, in fact, the title of the thread is pretty self explanatory. I mean, ICS 4.0.3 STOCK KERNEL sounds pretty clear to me.
My only beef is not with the thread or its location but the lack of organization on XDA. There should literally be a category for ROMS, another for mods & themes & apps, and another for stock images. Q&A should be removed and combined with General. Given the limitation of the current choices, this doesnt fit under General, Q&A, Themes and Apps, or Accessories. The next best fit is Android Development. This is of course all my opinion.
Thread moved
Stock kernels belong in General.
littlewierdo said:
All this is is the stock kernel from the ICS leak taken out and made available for flashing in case you want to flash the stock kernel FROM THE ICS LEAK (so, if you are still on stock GB, this wont be helpful, this is ONLY useful if you are running the stock, unmodified ICS leak and have changed the kernel and want to revert back to the stock ICS kernel from the leaked ICS rom)
Click to expand...
Click to collapse
I really didn't want to jump back into this, and it seriously doesn't bother me at all that this was posted... that said, there are NO modified ICS kernels on our Notes right now (we're all on the same kernel at the moment), so this won't become useful until someone modifies one (as appdroid apparently intends to do to add init.d) -- and even then, it will need to be replaced once the official ICS build/source gets released.
Either way, like I said, this thread doesn't bother me at all... appdroid's dev efforts on the Note are much appreciated!
So, after reading through all of the Noob threads and such, I'm lost. There seems to be contradictory information, I'm not sure which phone mine even is (kidding, I know its a SGH-i777) or how to get anything started.
I just came from an ATT Motorola Atrix 2, and I was fairly familiar with that. I had it rooted and running a custom ROM. It seems to me however, that there is a LOT more going on for this phone than the A2.
There's things I don't understand. I know about ClockWorkMod backups, installing .zip's, restoring from backups, rooting (using Super1Click) on my A2.
What is/are ODIN? Modems?
How many of the ROMs are actually ICS?
and is CM9 a nightly or a daily (currently) ?
And I sincerely apologize. I am fully expecting and knowlegdgeable about the 'search bar', FAQs, etc that are going to come my way.
If anyone has a few simple answers, that would be greatly appreciated.
I'll lend a hand.
Well, firstly, I hope you know that the only way to get CWM on our phone is to install a custom kernel (can't update CWM on it's own either, the only way to change what version of CWM you have is to install an updated or different custom kernel).
Odin is a PC program built by Samsung for flashing proprietary roms. We've just adapted its use for flashing custom roms too, though only for flashing stock rooted ROMs without bootloaders (usually includes kernels). Heimdall is the equivalent program that also runs on Mac/Linux.
Modems are CWM-flashable zips that change the baseband, deals with signal strength and cellular data speeds (does not affect wifi speeds).
Most of the first page of the Original Android Development section are custom ICS roms: ShoStock2, Phone Bricker, CM, AOKP, Foxhound, etc just to name a few. I have no idea if CM is daily, I don't use it.
The links in the sticky by Red5 at the top of this (and every I777) forum will get you started, especially creepyncrawly's guide.
Hit thanks please! And good luck
EDIT: I felt compelled to add this. I don't know how flashing works on an Atrix, but for I777 NEVER FLASH THE BOOTLOADERS (unless you absolutely have to in order to get back to stock, and you know full well what you're doing). That's the one way to risk hardbricking your new phone.
Chrisruns said:
and is CM9 a nightly or a daily (currently) ?
Click to expand...
Click to collapse
hehe, got a kick outta this question. What would be the difference? the time of release?
Nightly's are just an automatically compiled ROM. Normally one a day.
There is no CM9 stable for our device yet......and anyways AOKP is better
karate has covered pretty well.
To add to his response to your question about ICS ROM.
Chris made this great thread: http://forum.xda-developers.com/showthread.php?t=1532368
About CM9 nightly, AFAIK, they compile/build/ and upload during night time (to 2am or 4am). That's why it gets that name.
And basically all of this could have been found using the almighty Google. But you already have your answer from some if the nicer people on the forum.
Sent from my SGH-I777 using Tapatalk 2 Beta-5
If I was to install, say, the Liquid Smooth ROM onto my i717 (I have a good amount of experience with flashing ROMs, so that much I know,) specifically, the KitKat version, it lists kernels in the download links. Would these kernels be included with the ROM files themselves, i.e. install at the same time as the ROM, or would I have to flash the kernel separately before flashing the ROM? Thank you VERY much in advance
Reinstalled said:
If I was to install, say, the Liquid Smooth ROM onto my i717 (I have a good amount of experience with flashing ROMs, so that much I know,) specifically, the KitKat version, it lists kernels in the download links. Would these kernels be included with the ROM files themselves, i.e. install at the same time as the ROM, or would I have to flash the kernel separately before flashing the ROM? Thank you VERY much in advance
Click to expand...
Click to collapse
The thread should tell you if the kernel is baked into the Rom our not but the stock kernel usually comes with it. I'm pretty sure you're talking about a beefed up kernel tho. You'll just have to read the thread and if you're still not clear about it, ask in that thread to be sure.
Sent from my HTC0P3P7 using Tapatalk
Reinstalled said:
If I was to install, say, the Liquid Smooth ROM onto my i717 (I have a good amount of experience with flashing ROMs, so that much I know,) specifically, the KitKat version, it lists kernels in the download links. Would these kernels be included with the ROM files themselves, i.e. install at the same time as the ROM, or would I have to flash the kernel separately before flashing the ROM? Thank you VERY much in advance
Click to expand...
Click to collapse
there is always a kernel included with a rom. most alternate kernels are made and or flashed to combat a side effect or incompatibility with some folks devices. its not that provided kernel doesn't work, just that every device is different and the alternates can sometimes be more compatible.
however, I would suggest you give the original kernel a chance to settle, at least a day if not two. if it just flat out is not working for you, then flash an alternate onto the rom. wipe you caches ( not factory) flash kernel by itself and your good
never want to discount reading here as Gimmeitorilltell suggests. reading educates you and puts you in a better position to help yourself first.
Reinstalled said:
If I was to install, say, the Liquid Smooth ROM onto my i717 (I have a good amount of experience with flashing ROMs, so that much I know,) specifically, the KitKat version, it lists kernels in the download links. Would these kernels be included with the ROM files themselves, i.e. install at the same time as the ROM, or would I have to flash the kernel separately before flashing the ROM? Thank you VERY much in advance
Click to expand...
Click to collapse
In general stick with the kernel that comes with a ROM unless you have a reason to change, like stability, overclocking, etc... but you do flash the kernel after the ROM; anytime after the ROM flash really. You don't need a clean flash before kernel switch.
The dev probably did not test his/her ROM with every kernel possible so if you want support your best bet is to be on the kernel included. For the 1st install of a ROM if you are unsure you should definitely use included kernel; as sometimes you just can't predict what changing it will do.
That said there many of us do switch kernels when installing updates, I certainly do. There are not alot of kernels for our phones as only a dedicated few devs continue to support the Note but you have a few choices. All kernels I've seen allow performance/governor control to some degree. If you read through the various ROM threads you'll find that some kernels are preferred by users but for the most part kernels like Uber work well with most ROMs.
P0llution's ROM patch allows you to switch kernels after flashing a ROM (BeanStalk, LiquidSmooth, etc....) and even before 1st boot. It also has patches for various KK problems. It is in the Beanstalk thread 1st post.
Thank you so much for your replies! Installed LS and flashed Uber kernel and running with no issues.
Sent from my SAMSUNG-SGH-I717 using Tapatalk
So I've tried a bunch of different ROMs (CleanROM, Alliance, Beans, CM, OMNI, "Stock", probably more), but I've never really understood kernels. It seems some custom ROMs have a kernel built in (or several to choose from via Aroma), while others do not. Right now I'm running AOKP (4.4.2) with the kernel from OMNI (3.0.64-OMNI-g5f47648), presumably because that was the previous ROM I flashed with a kernel. I'm not too concerned with customization, more with stability.
I've been having a few minor bugs and crashes and I'd like to try perhaps the stock kernel to see if that might help, but I have some questions:
1) Does it matter when flashing a kernel whether the ROM is TW or AOSP?
2) Are there multiple versions of kernels that correspond with the Android version of the ROM?
3) What's the best/easiest way to flash a kernel, presumably through the custom recovery like a ROM?
4) Where can I find the stock kernel? I found this thread (http://forum.xda-developers.com/showthread.php?t=2610870) with the stock MJ9 kernel, but going back to my first two questions I'm not sure if it would work with my current ROM.
Thanks ahead of time for any insight anyone can provide.
michaellasalle said:
So I've tried a bunch of different ROMs (CleanROM, Alliance, Beans, CM, OMNI, "Stock", probably more), but I've never really understood kernels. It seems some custom ROMs have a kernel built in (or several to choose from via Aroma), while others do not. Right now I'm running AOKP (4.4.2) with the kernel from OMNI (3.0.64-OMNI-g5f47648), presumably because that was the previous ROM I flashed with a kernel. I'm not too concerned with customization, more with stability.
I've been having a few minor bugs and crashes and I'd like to try perhaps the stock kernel to see if that might help, but I have some questions:
1) Does it matter when flashing a kernel whether the ROM is TW or AOSP?
2) Are there multiple versions of kernels that correspond with the Android version of the ROM?
3) What's the best/easiest way to flash a kernel, presumably through the custom recovery like a ROM?
4) Where can I find the stock kernel? I found this thread (http://forum.xda-developers.com/showthread.php?t=2610870) with the stock MJ9 kernel, but going back to my first two questions I'm not sure if it would work with my current ROM.
Thanks ahead of time for any insight anyone can provide.
Click to expand...
Click to collapse
1) Does it matter when flashing a kernel whether the ROM is TW or AOSP?
Yes. TW and AOSP kernels are different.. The only one, that I believe, that can be used with both is Devil kernel for Dual Booting
2) Are there multiple versions of kernels that correspond with the Android version of the ROM?
Yes. Usually every version of android that gets updated.. the kernel does as well
3) What's the best/easiest way to flash a kernel, presumably through the custom recovery like a ROM?
Yes you can flash kernels through a custom recovery. Most of the time they are included with the Rom that you flash. A lot of the custom ones out have flashable zip for you to flash them through a recovery.
4) Where can I find the stock kernel? I found this thread (http://forum.xda-developers.com/showthread.php?t=2610870) with the stock MJ9 kernel, but going back to my first two questions I'm not sure if it would work with my current ROM.
No this will NOT work with a AOSP rom.. The kernel will be specific to that ROM and every other TW 4.3 ROM, but NOT AOSP
lacoursiere18 said:
1) Does it matter when flashing a kernel whether the ROM is TW or AOSP?
Yes. TW and AOSP kernels are different.. The only one, that I believe, that can be used with both is Devil kernel for Dual Booting
Click to expand...
Click to collapse
Thanks for the explanations, that helps tremendously. I'm confused now, however, because several people on the AOKP thread (http://forum.xda-developers.com/showthread.php?t=2453566) claim to be on "stock kernel". Is there a stock kernel for AOSP that I'm missing?
michaellasalle said:
Thanks for the explanations, that helps tremendously. I'm confused now, however, because several people on the AOKP thread (http://forum.xda-developers.com/showthread.php?t=2453566) claim to be on "stock kernel". Is there a stock kernel for AOSP that I'm missing?
Click to expand...
Click to collapse
Yea the one that flashes with AOKP.. loll
lacoursiere18 said:
Yea the one that flashes with AOKP.. loll
Click to expand...
Click to collapse
Well that's what I thought, but why then would I be using an OMNI kernel (3.0.64-OMNI-g5f47648) when I have flashed the last three AOKP nightly ROMs that have come out? Or am I missing something here?
michaellasalle said:
Well that's what I thought, but why then would I be using an OMNI kernel (3.0.64-OMNI-g5f47648) when I have flashed the last three AOKP nightly ROMs that have come out? Or am I missing something here?
Click to expand...
Click to collapse
Maybe he uses that kernel.. AOSP kernels, I believe are pretty similar.. I may be wrong, I am by NO MEANS a kernel guru..I would open you zip of your ROM (AOKP) and take a peak.. if there is a boot.img than it flashes a kernel.. and if your says OMNI then thats the kernel the dev has used..
Stock
If I'm on the stock rom and want to go back to the original kernel can I just restore the boot img in recovery?
nealman said:
If I'm on the stock rom and want to go back to the original kernel can I just restore the boot img in recovery?
Click to expand...
Click to collapse
Should be able to if you back it up previously.. but make sure it is same rom.. TouchWiz for TouchWiz.. AOSP for AOSP
lacoursiere18 said:
Should be able to if you back it up previously.. but make sure it is same rom.. TouchWiz for TouchWiz.. AOSP for AOSP
Click to expand...
Click to collapse
Thank you sir. It worked just fine.
I have a noob question, I'm currently using n3bula 3.9 custom rom and it's been running fine for a while. I noticed that users chose the agni kernel whereas I chose the stock one. So my question is, is it possible to flash just the kernel from recovery without losing my data? I've spent so much time and effort customizing my phone, therefore, I just want to change the kernel. Any help will be appreciated. Thanks.
yazalsaidi said:
I have a noob question, I'm currently using n3bula 3.9 custom rom and it's been running fine for a while. I noticed that users chose the agni kernel whereas I chose the stock one. So my question is, is it possible to flash just the kernel from recovery without losing my data? I've spent so much time and effort customizing my phone, therefore, I just want to change the kernel. Any help will be appreciated. Thanks.
Click to expand...
Click to collapse
I would think that as long as it doesn't break anything you should be fine. Probably do a backup first if you're worried about it.
Thanks for the response Michael, however, that was the response I was dreading! I'm actually worried I'll lose my WhatsApp and Viber accounts because even if I backed up my data, I'd still have to register my old WhatsApp and Viber numbers all over again which I don't have anymore.. ??