[Q]Make own kernel - LG Optimus 2x

Hello there.. can somebody teach me steps to write and make own kernel. I like to OC my device to 1.5GHz.. ive tried SwiftExtreme and NeoBlaze, but have some tiny problem.
When using SwiftExtreme, my device always lag few seconds which leads to hang (have to pull the batt). In NeoBlaze case, whenever i turn-off my device, i cant turn it on but have to pull the batt first.
Please advise. Thank you.
Sent from my LG-P990 using XDA App

have you ever build an linux kernel? maybe you should read some tutorials about building and compiling an kernel
this is a usefull tutorial about building an kernel for android:
Building an Android Kernel
but to "make" an own kernel you need some good C skills

Never build one.. just would like to add a 1.5GHz oc..
Sent from my LG-P990 using XDA App

If you have a dig you'll find a thread on building the CM kernel, that would be a good place to start.

also there are "Eternity project" and "VorkKernel" which suports O.C.
Eternity seems to support 1.3 GHz, and VorkKernel 1.4 GHz.
Both of them are open, and have tutorial how to build their kernel as well.

Related

[KERNEL][OC/UV][BFQ][AUFS][FTW][GPL] HCDR.Kernel v4.2 || Flash to any ROM

Announcement:
I am pleased to announce that from now on I will be working with ralle.gade too! He is a kernel dev with a lot more experience than me who can hopefully bring us some really cool stuff
Hey guys,
I've made this thread to share with you my kernel for the Wildfire. It is based on HTC's own kernel, however I have added patches specific to FroYo (to enable sd-ext support, stop screen flicker, enable touchscreen). It also features overclock to 768MHz. The kernel was built for the CM ROMs which I am working on.
You can get the source here. To build it, navigate to the source directory and run the following command:
Code:
make arch=ARM subarch=ARM cyanogen_wildfire_defconfig
You can then run
Code:
make arch=ARM subarch=ARM
to compile the kernel.
You will get a zImage which you can then add to a boot.img for a ROM, as well as a bcm4329.ko WiFi module to be added to /system/lib/modules
I recommend that only developers try this (for now anyway) and the rest of you wait for the devs to release an OC kernel for their ROM.
I have attached a prebuilt zImage (kernel) and wifi module in a zip folder. DO NOT TRY TO FLASH THIS. It is not a flashable zip, but the resources necessary for devs to make a patch of this for their ROM.
The v4 zip attached below can be flashed to ANY ROM without any negative consequences. For devs, the zImage and WLAN module can be found inside if you wish to use it as standard kernel in your ROM.
Changelog - v2:
*Added Ext4 support
Changelog - v3:
*Added BFQ Scheduler (by ralle.gade)
*Added undervolt (by ralle.gade)
*Other patches by ralle.gade (more details can be found in source)
*ralle.gade took yo' 19MHz
Changelog - v4:
*Added AUFS overlay (by ralle.gade) - adb shell or terminal emulator "aufs --enable" to activate system r/w
*Added interactive CPU scheduler. (by ralle.gade)
*ralle.gade gave back yo' 19MHz
*Added newer Wireless driver (with Wireless-N support) (by me)
*Hidden easter egg (unintentionally added by me) - Only works if your ROM has the necessary files (I'm looking at you, adeadrat )
Changelog - v4.1:
*Set default freq. to 245-518 MHz - Should fix booting problems for some people
Changelog - v4.2:
*Update WiFi driver to fix WiFi sleep bug (by zinx)
Known bugs:
*No WiFi on some roms. If it doesn't work on 4.2, use 4.1
If you'd like to donate, use the link in my signature or above my avatar. You can also donate to ralle.gade here. It would be much appreciated
Thanks to:
*adeadrat - for informing me that the OC actually works
*HTC - for releasing their kernel source
*Google & The Android Team - for developing android and making it open source
*Linus Torvalds - Starting development of the open-source linux kernel.
Have a nice day,
HCDR.Jacob
Nice!!
Sent from my HTC Wildfire using XDA App
HCDR.Jacob said:
Hey guys,
I've made this thread to share with you my kernel for the Wildfire. It is based on HTC's own kernel, however I have added patches specific to FroYo (to enable sd-ext support, stop screen flicker, enable touchsctreen). It also features overclock to 768MHz.
You can get the source here. To build it, navigate to the source directory and run:
Code:
make arch=ARM subarch=ARM cyanogen_defconfig
You can then run
Code:
make arch=ARM subarch=ARM
to compile the kernel.
You will get a zImage which you can then add to a boot.img for a ROM.
I recommend that only developers try this (for now anyway) and the rest of you wait for the devs to release an OC kernel for their ROM.
I will compile this myself later on and upload the zImage for developers to add into their ROMs if they want to save themselves time by not compiling it
Have a nice day,
HCDR.Jacob
Click to expand...
Click to collapse
TNX! Tried too compile the source in the github, with your config.
dont forget make modules
edit,
and oh itś cyanogen_wildfire_defconfig
HCDR.Jacob said:
Hey guys,
I've made this thread to share with you my kernel for the Wildfire. It is based on HTC's own kernel, however I have added patches specific to FroYo (to enable sd-ext support, stop screen flicker, enable touchsctreen). It also features overclock to 768MHz.
Have a nice day,
HCDR.Jacob
Click to expand...
Click to collapse
Good work!
What is the minimum clock set at? Stock or lower? I'm running mine at minimum 122mhz at the moment, works fine. And can the overclocking be modified using SetCPU or is it locked in the kernel somehow?
BTW, have you had the time to look into some undervolting?
I'm fully aware that you're busy with CyanogenMod and other stuff, I'm just a bit curious
Will probably flash the OpenFire rom this evening to try this out
Lots of questions at the same time, I apologize for that
Good work!
It would be nice if someone could make a ROM for us newbees to install.
any try to flash this?
good work jacob. i have been wishing for an OC kernel and here it is absolute legend, and only 16? good work fella
beardyone said:
good work jacob. i have been wishing for an OC kernel and here it is absolute legend, and only 16? good work fella
Click to expand...
Click to collapse
Thanks man
Wait, will these work with Wildpuzzle ROM installed?
a1exander said:
Wait, will these work with Wildpuzzle ROM installed?
Click to expand...
Click to collapse
thanx jacob!
just made a package for puzzle rom, but im unable to test it yet.. hope girl come home soon
Can we use this with WildPuzzleROM v8 ?
erhanakt said:
Can we use this with WildPuzzleROM v8 ?
Click to expand...
Click to collapse
If you look on previous post danne has added something like this in his own thread for Wildpuzzle ROM, i'll test it now.
jacob you make my life complete <3
Hey Jacob,
I have a very importen info about your kernel
AnantK123 said:
The Touch Panel is SYN3KY_01
Click to expand...
Click to collapse
Your kernel dont work with the SKN3KY_01 touch panel it seems it only works with the AMTEL panel.
The same bug is posted on OpenFire (the kernel is your source) and WildPuzzle (uses your OC kernel in v8.0.4) thread.
The kernel included in the CN RUU supports WiFi Tether and AMTEL + SKN3KY_01 Touch Panel.
Maybe there is a way to dirty hack the newer kernel until htc will release the source.
Sent from my HTC Wildfire using XDA App
bluedragon1982 said:
Hey Jacob,
I have a very importen info about your kernel
Your kernel dont work with the SKN3KY_01 touch panel it seems it only works with the AMTEL panel.
The same bug is posted on OpenFire (the kernel is your source) and WildPuzzle (uses your OC kernel in v8.0.4) thread.
The kernel included in the CN RUU supports WiFi Tether and AMTEL + SKN3KY_01 Touch Panel.
Maybe there is a way to dirty hack the newer kernel until htc will release the source.
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
I have a SYN3KY_01 too.... can you pleease give a kernel I can use in openfire rom?
blingblingslyna said:
I have a SYN3KY_01 too.... can you pleease give a kernel I can use in openfire rom?
Click to expand...
Click to collapse
You can try the kernel file 0050 posted in the WildPuzzle Topic for v8.0.4 but that kernel isnt tested with openfire, i use this kernel atm with WildPuzzle rom and its working great
Sent from my HTC Wildfire using XDA App
guys, you can make this kernel overclock for wildpuzzle 7.3.1?
bluedragon1982 said:
You can try the kernel file 0050 posted in the WildPuzzle Topic for v8.0.4 but that kernel isnt tested with openfire, i use this kernel atm with WildPuzzle rom and its working great
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
oh itś not working for me.. 0050 it is with wildpuzzle 8.0.1(i think)
edit,
sorry it was 0055 that didnt work. But you cant flash 0050 in openfire. AND I cant unpack or mount boot.img. whatś the fs-type?
Ill look into the screen issue, and for those asking about openfire, its the same kernel
Sent from my Tattoo using XDA App
HCDR.Jacob said:
Ill look into the screen issue, and for those asking about openfire, its the same kernel
Sent from my Tattoo using XDA App
Click to expand...
Click to collapse
yeah, but it wont start at all with wildpuzzle 0050.

List of kernels

Im using a gingerbread v20e rom right now and on stock kernel my boot time is about 1 min max, iv recently installed neoblaze and my boot time is over 4 mins.
Can someone give me a list of kernels that will work with my rom so i can find the best one? the search function is pretty useless because without knowing the name of the kernel ill never find it.
Rom: [[ROM] New Rom 2.3.4 GB v20E (24-08-11)
Baseband 0405
GRJ22
Imperticus said:
KERNELS
1. vorkKernel for CM - By Benee & co.
Link : http://forum.xda-developers.com/showthread.php?t=1059910
2. SwiftExtreme for stock/MCR - By fajared
Gingerbread : http://forum.xda-developers.com/showthread.php?t=1264135
Froyo : http://forum.xda-developers.com/showthread.php?t=1223846
3. NeoBlaze for stock/MCR (Froyo and Gingerbread) - By Imperticus
Link : http://forum.xda-developers.com/showthread.php?t=1200726
4. EternityProject Kernel - By kholk
Link : http://forum.xda-developers.com/showthread.php?t=1029799
Click to expand...
Click to collapse
Taken directly from the {Start here} Thread in the dev section. Not sure which of them that will work on v20e. But surely some of them wouldn't mind that you test and maybe report back your experience in each thread.
Cant really think about any other kernels right now ether for that matter.
lintz said:
Taken directly from the {Start here} Thread in the dev section. Not sure which of them that will work on v20e. But surely some of them wouldn't mind that you test and maybe report back your experience in each thread.
Cant really think about any other kernels right now ether for that matter.
Click to expand...
Click to collapse
hmm so just neoblaze and swiftextreme, neoblaze seems to take forever too boot when i have that on my phone but swiftextreme is OC to 1.2ghz on boot...dont like that. Not much to pick from.
Edit that's a rom not the kernel...its impossible to find anything in this forum wheres the thread for the swiftextreme kernel only.
Hmm he have 4 stand alone kernel links but only seems to be oc kernels 2 are 1,2Ghz and the other 2 are 1,4Ghz.
They are at the bottom of each rom ver. Right bellow the rom download link.
Yeah noticed soon after posting they didn't work had to restore a backup.
Seems only neoblaze works with this rom but it causes some unwanted loooooong startups so looks likebill have to stick with the stock kernel till i get a response on that issue.
Sent from my LG-P990 using XDA Premium App
eraldo said:
hmm so just neoblaze and swiftextreme, neoblaze seems to take forever too boot when i have that on my phone but swiftextreme is OC to 1.2ghz on boot...dont like that. Not much to pick from.
Edit that's a rom not the kernel...its impossible to find anything in this forum wheres the thread for the swiftextreme kernel only.
Click to expand...
Click to collapse
CMIIW : swift extreme just for froyo.. on GB you must use swift ROM if you want to use swift extreme kernel..

[Q] Devil3 Kernel over Semaphore(CM9)

I had CM7-1.0 before with pawitp kernel.
Today, I flashed the latest CM9 nightly and right now am on the stock kernel.
I have the following kernels with me at the moment:
—Semaphore ICS Kernel from here
—Devil3 from here
My questions:
Which one of these Kernel will give me the best battery life and is fast at the same time?
Will I get a bootloop if I flash either of these kernels over the stock kernel which comes with the CM9 nightly?
There are both BLN and CMC kernels on this page. Which one should I be using?
TVwithParents said:
My questions:
Which one of these Kernel will give me the best battery life and is fast at the same time?
Will I get a bootloop if I flash either of these kernels over the stock kernel which comes with the CM9 nightly?
There are both BLN and CMC kernels on this page. Which one should I be using?
Click to expand...
Click to collapse
1. Try it yourself, flashing kernel is about 1 minute. Both kernels are great.
2. Try it yourself, bootloop isn't yet diagnosed. Sometimes it happens sometimes not.
3. there are only 2 versions: cmc (cm colours) and vc (voodoo colours).
Also before flashing wipe cache/dalvik and clear init.d and ns tools
Sent from my GT-I9000 using xda premium
TVwithParents said:
I had CM7-1.0 before with pawitp kernel.
Today, I flashed the latest CM9 nightly and right now am on the stock kernel.
I have the following kernels with me at the moment:
—Semaphore ICS Kernel from here
—Devil3 from here
My questions:
Which one of these Kernel will give me the best battery life and is fast at the same time?
Will I get a bootloop if I flash either of these kernels over the stock kernel which comes with the CM9 nightly?
There are both BLN and CMC kernels on this page. Which one should I be using?
Click to expand...
Click to collapse
Hi, before you flashing a new kernel, flash first the kernel cleaning script from lipol. then you have no problems with the new kernel.
And what you think about midnight Kernel? I use this Kernel and i'm very happy with them. You have with that kernel a very good Battery life. :thumbup:
via Tapatalk 2
Used to always use kernel cleaning script lately Kernel cleaning script gives me boot loop nearly everytime.
Wipe cache, wipe dalvick, clear ns tools and clear init.d is fine.
Of the kernels you have mentioned i have found semaphore to have better battery and to be more stable unless you want to over clock. Or that is my experience anyway.
Sent from my GT-P7500 using xda premium
After using stock cm 9 kernel for quite a while I was curious to try out semaphore and regretted it only hours afterwards...
With Antutu Benchmark App I got 400 Points less compared to stock kernel... after some hours my phone hang up (black screen, ne wake up). Some hours later the next black screen... Finally I got back to stock kernel and I am happy again
Its very fluid and responsive, in my opinion there is really no need für a custom kernel in CM9, only if you need USB Host support and the ability to overclock...
I'm using devil3 kernel and I love it, it's just awesome. I think it's more customizable than semaphore, but a bit harder to set. Anyway, you should test by yourself both of them, remember to flash lippol's kernel cleaner before flashing a new kernel
Inviato dal mio GT-I9000 con Tapatalk 2
Devil kernel is the best for me. I love all the options and speed. I over clock to 1.4GHz, use lulzactive governor with smooth UI profile and everything is tuned for performance and I still get almost 2 days on battery. Using cm9
Sent from my GT-I9000 using XDA
I would suggest devil kernel, it has a very good battery live, some great features like swap or zram
And BTW: Just flash your kernels over each other, no use to flash kernel cleaning script neither wipe dalvik cache. it has nothing to do with kernels ;-)
Sent from my GT-I9000 using xda premium
Devil3 for me too. As well as being fast and having decent battery life, it's the only kernel that had voodoo color. Once you've found the best settings for your screen there's no going back.
Sent from my SGH-I9000 using xda app-developers app
Devil3 for me too. It works like a charm. :good:
I'm running CM9 stable with Semaphore 1.3 on 1.2GHz and smartassV2 governor.
Never had any problems with semaphore so i keep using it. my battery lasts for 1 day while running games for several hours, and up to 4 days, if i barely use it.
i know many people don't like benchmarks, but i thought i'd attach my quadrant-score anyways.
Broken303 said:
I'm running CM9 stable with Semaphore 1.3 on 1.2GHz and smartassV2 governor.
Never had any problems with semaphore so i keep using it. my battery lasts for 1 day while running games for several hours, and up to 4 days, if i barely use it.
i know many people don't like benchmarks, but i thought i'd attach my quadrant-score anyways.
Click to expand...
Click to collapse
I too am using Semaphore 1.3 with smartasv2 governor, no problems here either, i recommend it !

Kernel 3.1.10 galaxy mini

I will try to compile the kernel 3.1.10 for galaxy mini.
I wanted to have a very detailed guide. since they are in the early stages.
[email protected] said:
I will try to compile the kernel 3.1.10 for galaxy mini.
I wanted to have a very detailed guide. since they are in the early stages.
Click to expand...
Click to collapse
good luck, but you only cluttering dev section with that... post "i will do" in general
my computer is suddenly broken, can someone fill this kernle using this config file (do not change the config file) and uplodarlo in men flashable zip so that I can test it?? please file config name
cyanogenmod_tass_defconfig
Good jobs man
GT-S5570 with Forum Runner
Please make it first n try to make sure it working before u create new thread..
many people already say want to make this , make that but
they just keep silent without any news ..
i not judge u but i feel boring when people keep say / ask same thing everyday
and not make some research about it..sorry if i hurt u feeling but as the one of xda dev members , i think i should inform u..
Peace & have a nice day ....
Wtf? U have almost said this in 10-12 post spamming around in all threads!.
Sent from my GT-S5570 using xda premium
What's the point? It's 100% it won't boot. Samsung hasn't released 3.x with changes needed for Mini's drivers... You have to forward port a lot of things.
Yeah it is like try running ics kernel on defy (which have kernel from froyo). That's why i think kernel 2.6.35.14 have some bugs and the 2.6.35.7 doesn't have.
@TheWhisp you tested on Cm10 which kernel is more stable 2.6.35.7 or 2.6.35.14 or you just tested cm10 with the 2.6.35.14?
gabrielking9 said:
Yeah it is like try running ics kernel on defy (which have kernel from froyo). That's why i think kernel 2.6.35.14 have some bugs and the 2.6.35.7 doesn't have.
@TheWhisp you tested on Cm10 which kernel is more stable 2.6.35.7 or 2.6.35.14 or you just tested cm10 with the 2.6.35.14?
Click to expand...
Click to collapse
2.6.35.7 kernel was made by Maclaw, and I don't see the point on restarting a older kernel (they will have to backport the same and probably other things again) as 2.6.35.14 is stable enough.
a 3.0 kernel won't be bad, but look at other Galaxy legacy devices forum (I think it was Galaxy i5500 or something like that), they have been working on a 3.0 kernel for a while and it doesn't even boot, they are making progress, but they have to change a LOT of things (partition scheme is a example, this means it won't be compatible with Odin anymore). It's pointless.
The development of the 3.1.10 kernel release Pottete expect between 15-20 days.
In the meantime, I was wondering, since I am very busy could fill kernel 2.6.37.6 based on this (CM9) http://forum.xda-developers.com/showthread.php?t=1804646 and last config TheWhisp JB in order to have a more updated kernel, also enter toolkit linato When completed please post the kernel of quests theater
If u ar determined to create 3.x.x kernel I suggest u take reference of CYANMOBILE LATEST STABLE kernel its already a version 3.3.3 kernel.
Anindya JV said:
If u ar determined to create 3.x.x kernel I suggest u take reference of CYANMOBILE LATEST STABLE kernel its already a version 3.3.3 kernel.
Click to expand...
Click to collapse
Such kernel does not exist! Squadzone rename his kernel like this when he compiled it. So please don't say something like this. Kernel 3.x.x exist onlt for high end device like gs3 or others.
Sent from my GT-S5570 using xda premium
lightstar3103 said:
Such kernel does not exist! Squadzone rename his kernel like this when he compiled it. So please don't say something like this. Kernel 3.x.x exist onlt for high end device like gs3 or others.
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
Sorry,I didn't know that.
THANKS FOR THE INFO BY THE WAY.

[Q] Compile Cyanogenmod 10.1 with Linaro 4.8 Toolchain

Dear XDA-Community!
Im new here so i'd like to introduce me quickly.
Im Alex, 18 years old (at the time of this writing) and im from Austria.
Before i owned a Galaxy Ace and got our p970 some months ago.
Now to my question
I tried my hands on building cyanogenmod 10.1 for the p970.
i build it with the standard toolchain and it worked perfectly.
now im trying to build it with the Linaro 4.8 Toolchain, but it isnt booting and i do know its a kernel fault.
i know this because if i flash my Cyanogenmod Build, it doesnt boot, BUT if i flash it and then flash the ZeroGravitiyKernel from here
http://forum.xda-developers.com/showthread.php?t=2082740
it boots up perfectly.
So i would like to know, if someone had succcess with building our kernel with a Linaro Toolchain and which patches i may or may not have to apply.
i tried using the ZeroGravitiySources but still it fails to boot up after flashing.
(also i did a quick benchmark test with rom toolbox and the build with the standard toolchain gets 7.3 and with using linaro and the other kernel i get 10.2)
any help is much appreciated
Yes the problem is the kernel. ....it was not easy to make the kernel boot...
Use my patch from my topic...
http://forum.xda-developers.com/showthread.php?t=2184519
This patch is for ICS v30c.....you can diff the patch with original files....and put the same in your kernel...
You can find original files from Nooby's git...and dowload only those specific files to see the diff......
Sent from my LG-P970 using xda app-developers app
rajeshmk2012 said:
Yes the problem is the kernel. ....it was not easy to make the kernel boot...
Use my patch from my topic...
http://forum.xda-developers.com/showthread.php?t=2184519
This patch is for ICS v30c.....you can diff the patch with original files....and put the same in your kernel...
You can find original files from Nooby's git...and dowload only those specific files to see the diff......
Sent from my LG-P970 using xda app-developers app
Click to expand...
Click to collapse
Thank you very much, already used it some days before and got it working, forgot to update here
Cherry Picked a lot of patches etc.
i just wondered, because i cloned his source and compiled without changing anything with the same toolchain as he was using and i didnt got it to boot.

Categories

Resources