Kernal - Vibrant Q&A, Help & Troubleshooting

How does modifying your kernal help you? Some examples please
Sent from my SGH-T959 using XDA App

It's spelled "Kernel". Some examples include: Better battery life, CPU / GPU Overclocking support, New File System support, BLN (Back Light Notification), etc.
Visit the Development section / Bible thread. Read the features / change logs of the various kernels offered. They're usually enlightening and may offer additional examples.
If flashing a kernel separately from a ROM, NEVER flash a kernel for a Android version different from the ROM version that you want to pair it with. For example: Flashing a 2.1 kernel with a 2.2 ROM = Bad news.

epakrat75 said:
It's spelled "Kernel". Some examples include: Better battery life, CPU / GPU Overclocking support, New File System support, BLN (Back Light Notification), etc.
Visit the Development section / Bible thread. Read the features / change logs of the various kernels offered. They're usually enlightening and may offer additional examples.
If flashing a kernel separately from a ROM, NEVER flash a kernel for a Android version different from the ROM version that you want to pair it with. For example: Flashing a 2.1 kernel with a 2.2 ROM = Bad news.
Click to expand...
Click to collapse
Oh thanks, does voodoo change or modify the kernal? And what's Eugenes Super I/O Kernel?
Sent from my SGH-T959 using XDA App

U should read the bible before u get flamed for asking questions that u should have read before u rooted.
Sent from my SGH-T959 using XDA App

Related

[INFO] Custom Kernels For CM7

Edit: Now CM7 is stable, can we plz get custom kernels
Old:
Kernel Devs refrain from making custom kernels for CM7 because the CM team asked them not to, in the alpha stage of the development.
Today i asked Atinm if he could give the green light to the Devs, he replied:
atinm said:
Actually, we don't care if people run other kernels. We just say that we will not debug other people's kernels - so if you have bugs, you go to the kernel developer's threads. Same as on the other Galaxy phones. And there is more chance of your phone being unstable with each nightly when you are on a different kernel and we change the kernel.
Click to expand...
Click to collapse
to all kernel Devs, if possible plz make custom kernels for CM7
Many thnx
ragiut1 said:
Kernel Devs refrain from making custom kernels for CM7 because the CM team asked them not to, in the alpha stage of the development.
Today i asked Atinm if he could give the green light to the Devs, he replied:
to all kernel Devs, if possible plz make custom kernels for CM7
Many thnx
Click to expand...
Click to collapse
I have maked one ...
I just saw it
Thnx
not quite the place to post this but party on
I had scaling issues with the stock kernel so i'm looking forward to this.
Great to see this.
I have 2questions.
1. Once we have these kernels will we be be able to flash files to enable Samsung stuff like Samsung dive, camera etc
2. Will new kernels be able to incorporate files from stock rom to fix the Bluetooth issue.
Thanks
Sent from my GT-I9100 using xda premium
aalupatti said:
Great to see this.
I have 2questions.
1. Once we have these kernels will we be be able to flash files to enable Samsung stuff like Samsung dive, camera etc
2. Will new kernels be able to incorporate files from stock rom to fix the Bluetooth issue.
Thanks
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
1. No.
2. No. All coding at the moment. Atnim is waiting for the att gs2 source code at the moment.
Sent from my Insanity powered SGS2
Now CM7 is stable, can we plz get custom kernels
aalupatti said:
Great to see this.
2. Will new kernels be able to incorporate files from stock rom to fix the Bluetooth issue.
Click to expand...
Click to collapse
CM 7.1 Stable has working bluetooth, and it wasn't a kernel issue, it was a driver source problem, Cyanogen either cracked it ahead of everyone else, or, got access to the missing source code, either way, winning like Charlie Sheen.
I have added my i9100 CyanogenMod 7.1 kernel with BLN support.
Details available here.
ImWarped said:
CM 7.1 Stable has working bluetooth, and it wasn't a kernel issue, it was a driver source problem, Cyanogen either cracked it ahead of everyone else, or, got access to the missing source code, either way, winning like Charlie Sheen.
Click to expand...
Click to collapse
Correct, driver issues are not the same as the kernel.
I'd love to see some kernel supporting gpu oc-uv, it's a good feature for battery saving purposes imho.
vnvman said:
I'd love to see some kernel supporting gpu oc-uv, it's a good feature for battery saving purposes imho.
Click to expand...
Click to collapse
You can use siyah kernel.
Sent from my GT-I9100

[KERNEL] Stock and optimized CyanogenMod kernels (also with TUN and CIFS modules)

Download stock CyanogenMod kernel
What is it?
It is a flashable ZIP containing zImage and wireless.ko extracted from cm-7-20120701-NIGHTLY-p500.
It is not compiled.
It is completely stock CyanogenMod kernel.
Who is it targeting?
Users of CyanogenMod (or CyanogenMod-based) ROMs that tried alternative kernels and now want to go back to the stock kernel.
Download optimized CyanogenMod kernel
Regular version | Extra version (with TUN and CIFS modules)http://www.mediafire.com/?efgv63eq614zn2ohttp://www.mediafire.com/?efgv63eq614zn2o
What is it?
It is exactly the same as CyanogenMod kernel, but compiled without some debug functionalities.
End users do not need them, and removing them makes the kernel smaller and may increase the speed a little bit.
This kernel should behave just like the CyanogenMod kernel and should have exactly the same functionalities. (in case it doesn't, please let me know )
Additional version with extra modules included - tun.ko and cifs.ko.
Who is it targeting?
Satisfied users of the stock CyanogenMod kernel that may want a little increase in speed and/or some functionality provided by the extra modules included, but do not like fancy modifications in kernels.
I need feedback and suggestions on the optimized kernels. Thanks in advance!
Nice one, could become handy to have a flashable stock CM kernel WITH wireless.ko.
Just a suggestion: You should enable the CONFIG_IKCONFIG option so that one can check which options you have configured in the kernel.
Also could not harm to have the tun.ko module as well (CONFIG_TUN), if needed for VPN connections.
Added versions with TUN and CIFS modules.
Flashed this, all seems good currently, great work
Also, this patch supposedly fix call reboots. Worth a try?
Cresqo said:
Also, this patch supposedly fix call reboots. Worth a try?
Click to expand...
Click to collapse
The latest sources already have fixed the reboot on incoming call.
Sent from my LG-P500 using XDA
> can i flash it over nightlies?? EKkkk!
> that's the most stupid question you'll ever here l.o.l
> this is great, many user are searching for this.
Updated the optimized kernels.
yuripg1 said:
Updated the optimized kernels.
Click to expand...
Click to collapse
What changes are there?
Sent from my LG-P500 using XDA
Cresqo said:
What changes are there?
Sent from my LG-P500 using XDA
Click to expand...
Click to collapse
This time I disabled the "optimize for size" option and also checked another option to strip symbols.
When I have time I'll do a better research on that, but it's funny that all these changes in v01 and now v02 don't seem to change much in the benchmark I tested (AnTuTu Benchmark - only "CPU and memory", "2D graphics" and "3D graphics" tested).
In the worst case scenario I'll use this thread to publish only the latest stock CyanogenMod kernel to those who want to get it back.
Researched some more optimizations and built a new version. Now only one kernel already with the extra modules (TUN and CIFS). And it's getting harder to discover new optimizations.
Thx for your extra version with tun module, i flashed this kernel and openvpn work now with cyanogen rc1
Updated all three kernels. Enjoy!
Thanks, this is what I want.
I feel CM official kernel is the most stable and smooth!
After one hour use the optimized version, i feel that my phone has became smoother!
Sent from my LG-P500 using xda premium
This time I slightly broke my promise of not modifying the code of the optimized kernels.
I applied one change from LG's newest souces (V20A for LGP500H) that seems related to the behaviour of the phone when the screen is turned off (I'm not 100% sure).
https://github.com/yuripg1/lge-kernel-msm7x27/commit/ea2157b140ecf79530f33a214e38b48204c39e2b
I don't know exactly what problem it is supposed to fix, but it seemed safe to apply this patch to the kernel.
I also tried it by myself a little before releasing it and so far it's doing fine.
Sent from my LG-P500 using XDA
Once more, all three kernels up-to-date!
Thanks for keep working!
Hello
I have tried Extra version, there is no TUN inside please check.
fitztu said:
Hello
I have tried Extra version, there is no TUN inside please check.
Click to expand...
Click to collapse
I just downloaded it [here] to check and there is indeed a tun.ko file on the /system/lib/modules/ directory.
Check again, buddy.

[Q] Some questions about BLN/Kernel

hi, all, i have a question about the BLN stuff! well, as i have read, tht not all kernels support BLN? where can i find those karnels then?? i know that saiyeh kernel do? how can i inegrate it with any Kernel so ill be free to install any one?
thks and sorrrrrrrrrrrry
You can't 'integrate it to any kernel'. The kernel has to support BLN & needs to have the necessary code to make it work, whether it does or not is up to the dev who makes the kernel. Unless you're planning to code your own kernel, you won't have any control over this. And if your next question is 'how do I make my own kernel ?' you either have a lot of research to do or you need to stick to using other people's kernels (I.E if you have to ask, you probably don't have the skills to do it).
Siyah supports BLN, and I'm fairly sure there are a couple of Siyah rip-offs on here that do as well. If you want to use BLN, read (do not post to the Siyah dev thread, post to the discussion thread if you must) the Siyah dev & discussion threads.
NoLED is the best application from market for backlight notification, no Supporting kernel & rooting required for this (if i am not wrong)
ZACQ8 said:
NoLED is the best application from market for backlight notification, no Supporting kernel & rooting required for this (if i am not wrong)
Click to expand...
Click to collapse
Noled is NOT bln, they are completely different.
BLN uses ur hardware led keys while noled simply turns on your screen and sticks an icon there.
Sent from my GT-I9100 using XDA

GT-S5830i Custom Kernel many features and root included

Hi Folks,
This is my first post on XDA, though I have been using this excelent forum for a long while but never had a chance to post.
I want to share with all of you, ROM developers, the Kernel I have build for my own use for my GT-S5830i device, from Samsung Kernel Sources. Feel free to use it if you want.
THIS KERNEL IS ONLY FOR GT-S5830I, not for use in other devices. IT SHOULD WORK ON ALL ROMS, EVEN STOCK ROMS!!!!
Kernel Includes:
Freqs:
156 MHz
312 MHz
624 MHz
832 MHz
Governors:
Intellidemand
InteractiveX
SmartassV2
Conservative
bcm21553
Performance
I/O Schedulers
noop
deadline
cfq
vr
sio --> Got this one from Rafael Baugis Source. Thankyou Rafael, hope this is not an inconvenient.
Fatures:
Enabled Module Loading
Init.d Support
Improved kernel scripts (Many of them, i dont really know why Samsung is opensourcing such sources. I know this is a low cost phone, but...)
Swap support
Ramzswap support
Root --> Kernel is all ready rooted, su is in xbin as usual lol. Just need to download busybox and Superuser from Google Play.
Btw, Camera, Flash, Wifi etc etc etc... is working fine.
Optional boot logo (splash image) I have uploaded 2 kernels, one with Splash, one with no Splash. Splash img is attached below. Basically I modified param.lfs.
Filesystem Support
ext2, 3, 4
Msdos
VFAT
YAFFS2
JFFS2
AT THE MOMENT KERNELS CAN ONLY BE FLASHED BY ODIN, HAD NO TIME TO MAKE AN UPDATER SCRIPT.
I WONT EXPLAIN HOW TO FLASH WITH ODIN AS THERE ARE MANY MANY MANY TUTORIALS ON THIS TOPIC.
The links:
https://dl.dropbox.com/u/68301491/PDAnitKernelNoSplash.tar
Version with no splash screen
https://dl.dropbox.com/u/68301491/PDAnitKernelRing.tar
Version with splash screen.
May be you will get CWM asking to reboot, please reboot, this only happens the first time.
Others:
Im not responsable if you brick your phone (its difficult to to do this if you have apropiate CWM and you have a complete backup of your system. If you dont have a backup, i think you are crazy trying kernels around the www).
Please dont ask me for OC, or adding more freqs, I have been trying this for many weeks with no success. MPU tables, opp, etc... just found nothing in the source code even seeking throug the asm script. May be I will spend some more time on this, but to be honest i am bored. 4 freqs for this "tiny machine" I think is ok. Remember Less Is Best.
Hope you enjoy it.
Thank you for downloading. And please dont donate, lol I do this for fun, but if you like it, please press the Thanks Button.
I will upload all sources to git as soon as possible, and if I have some time I will try to write a tutorial, just to have an other one on the web.
Special Thanks to:
Rafael Baugis, some of your sources helped me understanding the kernel, and I directly used your sio io sched source. Hope you dont mind.
Btw your kernel is really nice and complete. Difficult to add new features. YOU ARE A CRACK.
http://forum.xda-developers.com/showthread.php?t=1818830
droidphile --> http://forum.xda-developers.com/showthread.php?t=1369817 You opened my eyes, after this post is when I started messing up with the kernel.
thewadegeek --> http://forum.xda-developers.com/showthread.php?t=1748297 Awsome post, this is what everyone needs to compile an Android kernel. That linaro toolchain works incredible.
irfanbagus, repencis, savie etc.. --> http://forum.xda-developers.com/showthread.php?t=1572030&page=6 OC and freqs seekers for bcm21553, sorry i could not post anything, I just didnt found anything new to your comments.
KERNEL SOURCE CODE
As prommised, here is the link to my kernel source code.
https://dl.dropbox.com/u/68301491/ni...el_sources.zip
Please feel free to use it, compile it, use any part you need, use it for study, improve it etc... hope this source may help other kernel devs.
axyllum said:
Hi Folks,
This is my first post on XDA, though I have been using this excelent forum for a long while but never had a chance to post.
I want to share with all of you, ROM developers, the Kernel I have build for my own use for my GT-S5830i device, from Samsung Kernel Sources. Feel free to use it if you want.
THIS KERNEL IS ONLY FOR GT-S5830I, not for use in other devices. IT SHOULD WORK ON ALL ROMS, EVEN STOCK ROMS!!!!
Kernel Includes:
Freqs:
156 MHz
312 MHz
624 MHz
832 MHz
Governors:
Intellidemand
InteractiveX
SmartassV2
Conservative
bcm21553
Performance
I/O Schedulers
noop
deadline
cfq
vr
sio --> Got this one from Rafael Baugis Source. Thankyou Rafael, hope this is not an inconvenient.
Fatures:
Enabled Module Loading
Init.d Support
Improved kernel scripts (Many of them, i dont really know why Samsung is opensourcing such sources. I know this is a low cost phone, but...)
Swap support
Ramzswap support
Root --> Kernel is all ready rooted, su is in xbin as usual lol. Just need to download busybox and Superuser from Google Play.
Btw, Camera, Flash, Wifi etc etc etc... is working fine.
Optional boot logo (splash image) I have uploaded 2 kernels, one with Splash, one with no Splash. Splash img is attached below. Basically I modified param.lfs.
Filesystem Support
ext2, 3, 4
Msdos
VFAT
YAFFS2
JFFS2
AT THE MOMENT KERNELS CAN ONLY BE FLASHED BY ODIN, HAD NO TIME TO MAKE AN UPDATER SCRIPT.
I WONT EXPLAIN HOW TO FLASH WITH ODIN AS THERE ARE MANY MANY MANY TUTORIALS ON THIS TOPIC.
The links:
https://dl.dropbox.com/u/68301491/PDAnitKernelNoSplash.tar
Version with no splash screen
https://dl.dropbox.com/u/68301491/PDAnitKernelRing.tar
Version with splash screen.
May be you will get CWM asking to reboot, please reboot, this only happens the first time.
Others:
Im not responsable if you brick your phone (its difficult to to do this if you have apropiate CWM and you have a complete backup of your system. If you dont have a backup, i think you are crazy trying kernels around the www).
Please dont ask me for OC, or adding more freqs, I have been trying this for many weeks with no success. MPU tables, opp, etc... just found nothing in the source code even seeking throug the asm script. May be I will spend some more time on this, but to be honest i am bored. 4 freqs for this "tiny machine" I think is ok. Remember Less Is Best.
Hope you enjoy it.
Thank you for downloading. And please dont donate, lol I do this for fun, but if you like it, please press the Thanks Button.
I will upload all sources to git as soon as possible, and if I have some time I will try to write a tutorial, just to have an other one on the web.
Special Thanks to:
Rafael Baugis, some of your sources helped me understanding the kernel, and I directly used your sio io sched source. Hope you dont mind.
Btw your kernel is really nice and complete. Difficult to add new features. YOU ARE A CRACK.
http://forum.xda-developers.com/showthread.php?t=1818830
droidphile --> http://forum.xda-developers.com/showthread.php?t=1369817 You opened my eyes, after this post is when I started messing up with the kernel.
thewadegeek --> http://forum.xda-developers.com/showthread.php?t=1748297 Awsome post, this is what everyone needs to compile an Android kernel. That linaro toolchain works incredible.
irfanbagus, repencis, savie etc.. --> http://forum.xda-developers.com/showthread.php?t=1572030&page=6 OC and freqs seekers for bcm21553, sorry i could not post anything, I just didnt found anything new to your comments.
Click to expand...
Click to collapse
great.
You should post that thread in the other section
Nice work
Sent from my GT-S5830i using xda premium
No contacts from sim card like in Rafael.Baugis kernel ....
:/
Android-fany said:
You should post that thread in the other section
Nice work
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
I guess it was first post for him hence he wont be able to post in dev section
nice work though
Sent from my GT-S5830i using xda premium
soumik shah said:
I guess it was first post for him hence he wont be able to post in dev section
nice work though
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
Ou I forgot
Sent from my GT-S5830i using xda premium
Android-fany said:
Ou I forgot
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
just post until 10 post..
seems good hey frnds test this kernel and give feedback please
ithunter said:
seems good hey frnds test this kernel and give feedback please
Click to expand...
Click to collapse
why don't u use it?
Kernel installed Correctly !!! :good: Now i'll check it with modules from Rafaels kernel and with Antutu Benchmark Good Work !!
ALL TEST I WAS MADE IN AnTuTu Benchmark v3.0.2
I.TEST WITH YOUR KERNEL:
Used settings and ROM:
ROM:Jillie Bean beta3
Max CPU:832MHz
Min CPU:624MHz
GOVerformance
SCHED:cfq
KERNEL:[email protected]) )
Test Result:
CPU:505
GPU:538
RAM:230
I/O:351
TOTAL:1624
II.TEST WITH RAFAELS BAUGIS KERNEL:
Used settings and ROM:
ROM:Jillie Bean beta3
Max CPU:832MHz
Min CPU:624MHz
GOVerformance
SCHED:cfq
KERNEL:Rafael Baugis #201211201515
Test Result:
CPU:506
GPU:555
RAM:225
I/O:168
TOTAL:1454
The results are very interesting. Yours kernel has better results than Rafaels.
Alucard1989pl said:
ALL TEST I WAS MADE IN AnTuTu Benchmark v3.0.2
I.TEST WITH YOUR KERNEL:
Used settings and ROM:
ROM:Jillie Bean beta3
Max CPU:832MHz
Min CPU:624MHz
GOVerformance
SCHED:cfq
KERNEL:[email protected]) )
Test Result:
CPU:505
GPU:538
RAM:230
I/O:351
TOTAL:1624
II.TEST WITH RAFAELS BAUGIS KERNEL:
Used settings and ROM:
ROM:Jillie Bean beta3
Max CPU:832MHz
Min CPU:624MHz
GOVerformance
SCHED:cfq
KERNEL:Rafael Baugis #201211201515
Test Result:
CPU:506
GPU:555
RAM:225
I/O:168
TOTAL:1454
The results are very interesting. Yours kernel has better results than Rafaels.
Click to expand...
Click to collapse
I/O benchmarks are extremely unreliable and can greatly vary with the same configuration.
Hi all.
First of all i wanted to thankyou so much for the comments and the interest you have taken for, testing and benchmarking my kernel.
Please let me know any issues you find to keep on fixing and improving.
Please notice Rafaels kernel is uv for all freqs, mine has normal freqs.
Rafael as i assume is looking for batery performance vs performance, mine is based in performance vs batery.
What is best? Bothe of them depending on usage you want.
Rafael kernel has very good performance even with the uv. I dev the kernel slightly different to his one.
Why? Whats the meaning of having 2 kernels that are the same?
Be different my friend ))))
Thank you so much for the benchmark and taking your time and interest in testing. People like you motivate devs to keep on working
Sent from my GT-S5830i using xda app-developers app
axyllum said:
Hi all.
First of all i wanted to thankyou so much for the comments and the interest you have taken for, testing and benchmarking my kernel.
Please let me know any issues you find to keep on fixing and improving.
Please notice Rafaels kernel is uv for all freqs, mine has normal freqs.
Rafael as i assume is looking for batery performance vs performance, mine is based in performance vs batery.
What is best? Bothe of them depending on usage you want.
Rafael kernel has very good performance even with the uv. I dev the kernel slightly different to his one.
Why? Whats the meaning of having 2 kernels that are the same?
Be different my friend ))))
Thank you so much for the benchmark and taking your time and interest in testing. People like you motivate devs to keep on working
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
Keep Goin' with your work I'll try make more test for more GOV and SCHED with different freq to "find" wich is better to safe battery and to gameplay with your kernel and rafaels kernel to find more differents . I'll add all results in attachmet file
This is your Kernel without splash screen for recoveries
Alucard, man, thankyou.
Great job, to be honest with the lack of time i have im not sure if i would have ever posted it.
I answered your priv. Did you receive it? Did it solve the problem? Just let me know.
Thank you. Good job for the recovery
Sent from my kernel kernel xD using xda app-developers app
Thank you for posting this I'll give it a try when I get the chance :good:
axyllum said:
Alucard, man, thankyou.
Great job, to be honest with the lack of time i have im not sure if i would have ever posted it.
I answered your priv. Did you receive it? Did it solve the problem? Just let me know.
Thank you. Good job for the recovery
Sent from my kernel kernel xD using xda app-developers app
Click to expand...
Click to collapse
I haven't any message from you of course if you send to me
Hi Alucard srry it was not for you it was for GermainZ.
Srry for the miss understanding
Sent from my GT-S5830i using xda app-developers app
axyllum said:
Hi Alucard srry it was not for you it was for GermainZ.
Srry for the miss understanding
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
I just tried flashing my kernel and it worked fine. Thank Samsung for being lazy with their docs, and you for figuring it out.

How to install stock kernel

hi guys!
i have got a question.
how do i install the stock kernel on my samsung galaxy 5?
i don´t like the custom one.
and please make a detailed instruction.
thanks to you
steve1000
Just flash a stock rom..
Sent from my GT-I9103 using xda app-developers app
Take a stock rom extract the md5 and search for boot.img. then search at google the kernel-updater.zip for g5 for cwm. Place rhe two files in the root of the sdcard and boot inro cwm. The flash the kernel update abd your'e done:beer:
thanks gusy
steve1000 said:
thanks gusy
Click to expand...
Click to collapse
can you tell me the diiference between rom and kernel ?
a rom is a modified operationsystem
a kernel is, what the device needs that it works
hope i helped you
daimhafizy23 said:
can you tell me the diiference between rom and kernel ?
Click to expand...
Click to collapse
A rom is the combination of a kernel, middleware and system apps and included stuff. A kernel alone is the main part of any OS. It essentially manages the hardware, multitasking, drivers, memory management everything technical really is managed by the kernel. People often mistake linux as an operating system when in fact it is a kernel. it takes other things on top of the linux kernel to make an os, like for example Ubuntu or Android. You may want a custom kernel to keep the apps and features of your rom but improve cpu usage or memory management or to add features like overclocking.

Categories

Resources