CyanogenMod kernels - Android Q&A, Help & Troubleshooting

Just curious if i can use the same kernel from CyanogenMod 7.2.0 in CyanogenMod 9.1
Sent from my WT19i using xda app-developers app

Anyone der to help me... I wanna flash my rom but am away from a pc... So cant flash kernel
Sent from my WT19i using xda app-developers app

I think it's better if you find a pc to use to flash it, 'cause you can't do it from it from the device itself if you don't know or don't have the recovery installed...

you can use but with minor edits to source

I have the recovero.... It seems informaciĆ³n will need to flash the kernel from pc..... Cause when i flashed Cm 9 without the kernel that came in it my phone got stuck in boot Screen....... Luckily i had a nandroid backup
Sent from my WT19i using xda app-developers app

Greyjawripper said:
I have the recovero.... It seems informaciĆ³n will need to flash the kernel from pc..... Cause when i flashed Cm 9 without the kernel that came in it my phone got stuck in boot Screen....... Luckily i had a nandroid backup
Sent from my WT19i using xda app-developers app
Click to expand...
Click to collapse
i cant excatly guarantee for it to work because we need minor changes in source to fit in the different api so ... this just might be your case why not ask someone to upload the kernel for you

I guess the only way to flash it by using the kernel i got in the rom..... Btw thanx for the reply apprentiate it
Sent from my WT19i using xda app-developers app

You definitely can't use the CM7.2 kernel for CM9.1. There are a lot of differences between the two since one is GB based and the other is ICS based.

boot.img
please can anyone tell me in detail , what is boot.img for??????

Boot.img contains all the files required for the device to boot such as kernel and ramdisk. Without it, the device can't start. Boot.img when flashed, will copy all files to the /boot partition.
Sent from my Desire HD using xda premium

Boot.img is the kernel file
Sent from my WT19i using xda app-developers app

sashank said:
You definitely can't use the CM7.2 kernel for CM9.1. There are a lot of differences between the two since one is GB based and the other is ICS based.
Click to expand...
Click to collapse
but many phones use 2.6 kernel for both ics and gb so just the defconfig differs ...

speed_bot said:
but many phones use 2.6 kernel for both ics and gb so just the defconfig differs ...
Click to expand...
Click to collapse
That's partially true. For example, ICS ROMs for my HTC Desire HD used the 2.6 GB kernel as there was no official ICS kernel update from HTC. But the 2.6 ICS kernels required a lot of hacks, forward ports from various ICS kernel branches and backports from GB to work with ICS. For lack of a newer kernel version, the 2.6 kernel was used, but it was very different from the 2.6 GB kernel. It took months of hacks and hard work for devs to get everything working on the ICS ROMs with the 2.6 kernel. After Jelly Bean was released, it would have taken a ton of work to get the 2.6 kernel to work with it and not everything would have worked properly. Fortunately, Team Virtuous made a custom 3.0.xx kernel for the Desire HD all on their own, effectively making any kernel update from HTC's side useless, even if they did choose to release it. Another dev took this kernel and improved upon it like hell, and now we have perfectly working 4.2.1 Jelly Bean.
Of course, I might not be fully right about this because I'm no developer, but I've been following the ICS and JB threads for my phone for a long time and this is the way development was for it.

Related

[Q] make a ocs compatible kernel

For my main device we are trying to make a ics port (my device is the yp-g1) but were struggling on the kernel and ive seen a lot of people talking about modifying a gb 2.6.x kernel to work like a 3.x kernel for ics does that mean modifying a gb kernel?
How would we do that? Can u point me to a guide for this
Sent from my YP-G1 using xda app-developers app
minipot said:
For my main device we are trying to make a ics port (my device is the yp-g1) but were struggling on the kernel and ive seen a lot of people talking about modifying a gb 2.6.x kernel to work like a 3.x kernel for ics does that mean modifying a gb kernel?
How would we do that? Can u point me to a guide for this
Sent from my YP-G1 using xda app-developers app
Click to expand...
Click to collapse
You should ask a kernel specialist for help.
THANK ME
CM10 P970 - SouLMoD - TD
SoulExertz said:
You should ask a kernel specialist for help.
THANK ME
CM10 P970 - SouLMoD - TD
Click to expand...
Click to collapse
No duh? From his post I'd say that's what he is trying to do.
@OP If you really wanted to take on a project you could look at patching your 2.6.x kernel to a 3.0 version. I don't think you are going to find a 10 step guide to porting the kernel if that's what you are looking for though.
Sent from my SCH-R760 using Tapatalk 2
Okay
I guess that that means taking a gb kernel and changing it but what would be needed to patch any ideas?
I asked a guy a while back and he said something about adding last-ksmeg, dsmg and ksmeg or something like that to an existing 2.6x kernel I asked him how I'd do that but got no reply.
Sent from my Transformer TF101 using xda app-developers app

[Q] Updating to a Jelly Bean Custom Rom

Hi there!
I am wanting to update my Samsung Galaxy GT-i9300 but am worried about the process because of having installed a custom kernel previously (would this muck up installing a new custom rom I wonder..)
Please find attached a screenshot of the settings and please tell me what I should do (if anything needs done) before I flash a new custom rom.
Cheers!
if you're worried about kernels, then just flash stock kernel then flash a custom rom on it.
mputtr said:
if you're worried about kernels, then just flash stock kernel then flash a custom rom on it.
Click to expand...
Click to collapse
kk, could you provide me with a suitable stock kernel (or links to one) which will be compatible with the rom I have installed?
any stock kernel that is for jb will be fine.
Sent from my GT-I9300 using xda app-developers app
mputtr said:
any stock kernel that is for jb will be fine.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
I am on android version 4.0.4 (so technically not JellyBean). and its safe to flash a stock kernel for JB despite being on that version before I flash a custom rom?
Sorry for asking, get confused easily..
you should be fine updating with a custom kernel (as all roms flash a kernel as well). Just make sure you factory reset when moving from ics to JB as you will most likely encounter problems if you don't.
Sent from my GT-I9300 using Tapatalk 2
Asimo2012 said:
I am on android version 4.0.4 (so technically not JellyBean). and its safe to flash a stock kernel for JB despite being on that version before I flash a custom rom?
Sorry for asking, get confused easily..
Click to expand...
Click to collapse
I would suggest flashing ICS stock kernel first if you're worried. I thought you were already on jb.
Sent from my GT-I9300 using xda app-developers app
Easy
Reflash the stock ics ROM
And flash any custom ROM you want
Enjoy
Sent from my GT-I9300 using xda premium

[Q] kernel flashing problem

Hey everyone,
I tried to flash amin kernel when I was on scritch 4.1 kernel, slimbean ROM by x10forevers...the flashing process went well and the log screen said that it had been flashed successfully. But when the phone started up, the kernel logo that came up was still scritch kernel...when I checked the settings>about phone, it said there that the kernel was indeed aminkernel and when I checked using setcpu, it showed the same, that I had aminkernel and I have access to all the speeds and governors of aminkernel..
But the boot logo is still that of scritch kernel. Is there something wrong, or is this a harmless bug?
Its fine its the same kernel think they both work together on two seperate ones but have roughly the same outcome
Sent from my X10i using xda premium
dunc4n88 said:
Its fine its the same kernel think they both work together on two seperate ones but have roughly the same outcome
Sent from my X10i using xda premium
Click to expand...
Click to collapse
What? Sorry I didn't get you...aminkernel 7005 pro and scritch 4.1 kernel are the same?

Kernel for cynanogen mod !

I have a small query why cant i use the stock kernel with Cynanogenmod ?
What is the difference between the two and how can I make a stock kernel compatible with Cynanogen mod when building one from source
What device are you talking about?
Sent from my Evita
timmaaa said:
What device are you talking about?
Sent from my Evita
Click to expand...
Click to collapse
I meant in genral but for now I am building for Samsung GT-S5302
Sent from my GT-S5302 using Tapatalk 2
Ok, but there is no universal stock kernel. A stock kernel on a Samsung device would be the kernel that ships with the Touchwiz ROM, or the stock kernel on an HTC device would be the kernel that ships with the Sense ROM. Basically what I'm saying is the stock kernel is specific to the device you're building for. I don't have your answer, I'm just trying to clear it up for the people that come into this thread that do have the answer.
Sent from my Evita
timmaaa said:
Ok, but there is no universal stock kernel. A stock kernel on a Samsung device would be the kernel that ships with the Touchwiz ROM, or the stock kernel on an HTC device would be the kernel that ships with the Sense ROM. Basically what I'm saying is the stock kernel is specific to the device you're building for. I don't have your answer, I'm just trying to clear it up for the people that come into this thread that do have the answer.
Sent from my Evita
Click to expand...
Click to collapse
To sum up i have a kenel released by Samsung and i want to boot up Cynanogenmod using it !
Sent from my GT-S5302 using Tapatalk 2
It won't work, why not just use the cm kernel?
Sent from my Evita
timmaaa said:
It won't work, why not just use the cm kernel?
Sent from my Evita
Click to expand...
Click to collapse
I know it wont thats why i wanted to know the difference between the two
Cynanogenmod not available for my device
Sent from my GT-S5302 using Tapatalk 2
Is there another aosp ROM available for your device?
Sent from my Evita
timmaaa said:
Is there another aosp ROM available for your device?
Sent from my Evita
Click to expand...
Click to collapse
Trying to build the first !
Sent from my GT-S5302 using Tapatalk 2
I updated Micromax Funbook Infinity P275 with CynogenMod 10 by reading instructions at the below link:
http://forum.xda-developers.com/showpost.php?p=46067975&postcount=2
Everything went fine except 3 things.
1. I am not able to see the Volume Up and Down Icon as it was there in my stock rom. Where do I find this.
2. I am not able to browse to my internal card. In stock ROM i use to copy files frequently to and from phone memory and external memory. I can see it though in device information.
3. When will camera fix be out?
Even I had NoVoTools installed which vanished after firmware update
Please help
Thanks

help flashing kernel

i have cyanogenmod and want flash this kernel (http://forum.xda-developers.com/showthread.php?t=2027201) but i'm getting stuck at the boot logo.
i wiped cache , dalvik and data.
Do you have an international device?
Sent from my HTC One X+ using Tapatalk
p.ahmad01 said:
i have cyanogenmod and want flash this kernel (http://forum.xda-developers.com/showthread.php?t=2027201) but i'm getting stuck at the boot logo.
i wiped cache , dalvik and data.
Click to expand...
Click to collapse
In case you're trying to use this kernel in CM 10.2/Android 4.3, it won't work. But it doesn't matter since CM kernel for this device is based on blade kernel. So just use the one included in the rom.zip
Sent from my HTC One X+ using xda app-developers app
reaper90 said:
In case you're trying to use this kernel in CM 10.2/Android 4.3, it won't work. But it doesn't matter since CM kernel for this device is based on blade kernel. So just use the one included in the rom.zip
Sent from my HTC One X+ using xda app-developers app
Click to expand...
Click to collapse
No it's 10.1.3 . If it's not different , are there other kernels? I can't find any.
AndroHero said:
Do you have an international device?
Sent from my HTC One X+ using Tapatalk
Click to expand...
Click to collapse
Yes it is international
p.ahmad01 said:
No it's 10.1.3 . If it's not different , are there other kernels? I can't find any.
Click to expand...
Click to collapse
Ok, another thing is, that CM requires ramdisk changes in comparison to other AOSP roms, which is probably the reason it does not work. But also here the CM kernel is based on maxwens blade kernel, you have all features and options from blade kernel with the kernel included in rom.zip.
reaper90 said:
Ok, another thing is, that CM requires ramdisk changes in comparison to other AOSP roms, which is probably the reason it does not work. But also here the CM kernel is based on maxwens blade kernel, you have all features and options from blade kernel with the kernel included in rom.zip.
Click to expand...
Click to collapse
yeah but I just wanted a kernel that would allow me to tweak stuff like voltage and number of active cores , as the one that comes with CM roms usually don't allow that
p.ahmad01 said:
yeah but I just wanted a kernel that would allow me to tweak stuff like voltage and number of active cores , as the one that comes with CM roms usually don't allow that
Click to expand...
Click to collapse
It is the same kernel! Only with some Ramdisk changes to make your phone boot with CM installed, you have all those features if you use the kernel from inside the rom zip file!
Sent from my HTC One X+ using xda app-developers app
Well, but still it's weird I can't flash it. Thanks anyway
Sent from my enrc2b using xda app-developers app
p.ahmad01 said:
Well, but still it's weird I can't flash it. Thanks anyway
Sent from my enrc2b using xda app-developers app
Click to expand...
Click to collapse
Last try to explain it to you: the kernel included in CM rom.zip is the blade kernel by maxwens, there are only some very small changes to get it booting with Android 4.3 and some Cyanogenmod related things. CM does require certain kernel changes (not really kernel but ramdisk, which is also included in the boot.img) in order to get the kernel working. So as is said the kernel in the rom.zip file is the blade kernel with all of it's features, only some minor modifications were made (you won't notice any of them) to make it work with Cyanogenmod 10.2.
Now I get it, thanks
Sent from my enrc2b using xda app-developers app

Categories

Resources