Is a custom kernel necessary for a custom rom? - Xperia Play Q&A, Help & Troubleshooting

Hopefully my title didn't confuse anyone lol.
I was told the main reason for flashing a custom kernel is entering recovery mode, well if that's the case, I have an app called x-parts, it allows me to boot my xperia play in recovery mode without flashing a custom kernel. so....would I be able to flash a custom rom via x-parts WITHOUT having to flash a kernel?
IM HAVING THE HARDEST TIME TRYING TO GET CM7/CM9 ON MY PHONE, ANY HELP WOULD BE APPRECIATED!

Xperia Player said:
Hopefully my title didn't confuse anyone lol.
I was told the main reason for flashing a custom kernel is entering recovery mode, well if that's the case, I have an app called x-parts, it allows me to boot my xperia play in recovery mode without flashing a custom kernel. so....would I be able to flash a custom rom via x-parts WITHOUT having to flash a kernel?
IM HAVING THE HARDEST TIME TRYING TO GET CM7/CM9 ON MY PHONE, ANY HELP WOULD BE APPRECIATED!
Click to expand...
Click to collapse
I'm pretty sure you can use the same kernel for a CM7 ROM since stock and CM7 are the same Android version, basically.
However, to use an ICS based ROM, flashing a custom kernel is necessary.

Solar.Plexus said:
I'm pretty sure you can use the same kernel for a CM7 ROM since stock and CM7 are the same Android version, basically.
However, to use an ICS based ROM, flashing a custom kernel is necessary.
Click to expand...
Click to collapse
It means that i can flash CM7 on stock???? Without flash a custom kernel??? If that is true then CM7 works on locked bootloader....

No. You must have a custom kernel for a custom ROM. Any ROMs that can be flashed on locked bootloader will say so explicitly. CM7 is not one of those.

Thanks for the info guys just curious to see how kernels tried into roms

Related

[Q] What Custom ROMs can I use without new kernal?

Hi all,
I'm planning to start installing custom ROM's and haven't yet installed CWM. I don't plan on changing the kernal, as I hear issues about battery drain etc, and I just wanted to know which Custom ROM's I can use without flashing anything extra, as in just going on CWM, and installing a .zip?
Thanks in advance!
Anyone? :/
Under the heading stock based ROMs from here:
http://forum.xda-developers.com/showthread.php?t=1294129
Its not a complete list and you should still always read to make sure you don't need to flash a kernel along with it. If you flash a ROM that requires a custom kernel on locked bootloader you will brick your phone, so read carefully.

[Q] About installing custom roms

Hello all well I have been following the forums much lately and have finally managed to root my Xperia Arc mobile [Lt15i]
Now the question here is that while flashing a custom kernel I was encountered with the "1 block damaged" error and hence for a while my phone got bricked which I later recovered by flashing with Flashtool.
Now I want to install custom roms and most of the tutorials which I have gone through guides us to flash the custom kernel and then flash the custom rom using recovery.
Now since that doesn't happen in my case, I was thinking whether I could just "boot" the recovery mode and then flash the custom rom.
Would it work? From what I've been reading, it seems custom roms and kernels work in conjunction... am I right or are custom roms independent of kernels?... it's just that I've been sitting here on this chair for 6 straight hours [trying to bring my arc back to life] and before I do anything I really want to be sure becuz I've gone through a big hassle.
Thank you for your time in advance.
Do you have your bootloader unlocked?
Prince
No most of the roms here needs a kernel to work. There are some few that works.
Have you tried to flash kernel with fastboot method ??
Typed down from the sky with sexy LT15i
In my experience, it depends on the custom rom.
Some custom roms, for example JJ's Hybrid will work with the stock kernel from Sony. These are usually roms that are based off the official Sony, but with various modifications and tweaks.
Other custom roms, for example FreeXperiaProject/Cyanogenmod require you to use a custom kernel as well. These roms are usually built from Android's open source code.
In any case you will need a phone with unlocked bootloader for custom roms because of the need for Clockworkmod.
Re: What you said about just booting recovery.
Yes it is possible to just temporarily "hotboot" a kernel with CWM recovery built in, BUT this requires fastboot mode, and unfortunately on Arc fastboot mode requires an unlocked bootloader.
Sorry on my part for not giving details.
Yes I have an unlocked bootloader. And it is through fastboot method that I flashed my kernel.
And I was thinking of flashing this rom on my arc
- http://forum.xda-developers.com/showthread.php?t=1681555
As far as I've searched, clockworkmod doesn't support the arc yet and the "wiki" method which I read had to use flashing using "fastboot boot boot.img" method which gives me the "1 bad sector error". Which is why I refrain from trying it.
Plus he's given the green signal that it works on stock kernel. Only the CWN mod is a problem!

Recovery in the kernel?

I was thinking about how frustrating having CWM in the kernel was, and I remembered reading that some stock ROMS don't require it to be in the kernel. If this is so, why do CM and other devs still put it there?
brainard52 said:
I was thinking about how frustrating having CWM in the kernel was, and I remembered reading that some stock ROMS don't require it to be in the kernel. If this is so, why do CM and other devs still put it there?
Click to expand...
Click to collapse
What are you talking about? Having CWM in the kernel benefits those who flash different custom roms on a daily basis.
That may be, but for people who would like to try out different recoveries (touch), it's near impossibly without having to mess with the kernel.
Sent from my Xperia Play
cwm is necessary to flash custom rom except the stock firmware that you need flashtool

[Q] How to install CWM recovery in JB arc s

I just wanna know about installing CWM Recovery in my arc s with a JB rom. Because there is no supported CWM for xperia arc s for JB.
And I am new to flashing kernals..i did my arc s to JB with fusion 5.4 anyhow but if i want to change the kernal do i need to reflash the rom as well?
And also I installed CWM recovery using X-parts before unlocking bootloader. Should I continue installing like that if i Go back to ICS...or should i follow a another way since now my arc has unlocked BL.
And also when to install the kernal before or after flasing the rom.
Thank You
ruffandruff said:
I just wanna know about installing CWM Recovery in my arc s with a JB rom. Because there is no supported CWM for xperia arc s for JB.
And I am new to flashing kernals..i did my arc s to JB with fusion 5.4 anyhow but if i want to change the kernal do i need to reflash the rom as well?
And also I installed CWM recovery using X-parts before unlocking bootloader. Should I continue installing like that if i Go back to ICS...or should i follow a another way since now my arc has unlocked BL.
And also when to install the kernal before or after flasing the rom.
Thank You
Click to expand...
Click to collapse
Recovery is built within the kernel, so you do not need to install any recovery by yourself.
You can change kernel at any time, no need to reflash the ROM. Just make sure the new one is compatible with your ROM (JB kernel with JB ROM, ICS kernel with ICS ROM).
If you have unlocked BL, you can just flash any custom kernel (all of them should include a recovery), no need for X-Parts.
Someguyfromhell said:
Recovery is built within the kernel, so you do not need to install any recovery by yourself.
You can change kernel at any time, no need to reflash the ROM. Just make sure the new one is compatible with your ROM (JB kernel with JB ROM, ICS kernel with ICS ROM).
If you have unlocked BL, you can just flash any custom kernel (all of them should include a recovery), no need for X-Parts.
Click to expand...
Click to collapse
Thank you for your reply
So do i need to clear any caches after flashing new kernal?
And also what is the best kernal for JB based on cm 10 for my arc s that supports 720p video recording and gives a good battery life.
Thank you
ruffandruff said:
Thank you for your reply
So do i need to clear any caches after flashing new kernal?
And also what is the best kernal for JB based on cm 10 for my arc s that supports 720p video recording and gives a good battery life.
Thank you
Click to expand...
Click to collapse
No need to clear any cache, if you change kernels.
There is currently only one JB kernel, that supports HD video recording. I will update this post, once I find it.
EDIT: LuPuS JB kernel, make sure you download the 720p version. Topic: http://forum.xda-developers.com/showthread.php?t=1885559

Cant or dont know how to flash a kernel?

Hello everyone. I am new to the HTC One (m7wlv) but not new to htc or rooting/flashing etc. I am s-off and my bootloader is unlocked, and i am running the stock rom rooted and debloated. I want to get a custom kernel on here, but i cant seem to get any to stick. By that i mean i have tried several, and they all flash with no errors. But when i reboot, the kernel is still stock and unchanged. I have tried all three different recoveries, ive tried regular flashing and flashing with htc dumlock. What am i missing here? Can you not use a custom kernel with a stock rooted rom? Any help would be greatly appreciated.
cmlusco said:
Hello everyone. I am new to the HTC One (m7wlv) but not new to htc or rooting/flashing etc. I am s-off and my bootloader is unlocked, and i am running the stock rom rooted and debloated. I want to get a custom kernel on here, but i cant seem to get any to stick. By that i mean i have tried several, and they all flash with no errors. But when i reboot, the kernel is still stock and unchanged. I have tried all three different recoveries, ive tried regular flashing and flashing with htc dumlock. What am i missing here? Can you not use a custom kernel with a stock rooted rom? Any help would be greatly appreciated.
Click to expand...
Click to collapse
can you link the rom and kernel you are trying?
welcome to the One. i remember your avatar from the OG Inc days i believe. ^_^
cmlusco said:
Hello everyone. I am new to the HTC One (m7wlv) but not new to htc or rooting/flashing etc. I am s-off and my bootloader is unlocked, and i am running the stock rom rooted and debloated. I want to get a custom kernel on here, but i cant seem to get any to stick. By that i mean i have tried several, and they all flash with no errors. But when i reboot, the kernel is still stock and unchanged. I have tried all three different recoveries, ive tried regular flashing and flashing with htc dumlock. What am i missing here? Can you not use a custom kernel with a stock rooted rom? Any help would be greatly appreciated.
Click to expand...
Click to collapse
The rom is just the ota 2.10.605.1 that i rooted and debloated.
obone http://forum.xda-developers.com/showthread.php?t=2539041, is the latest kernel ive tried. I tried a few others i found, but i cant remember which ones. Not to many kernels to choose from on sense 4.3. Any other kernels you know of that i could try?
Yes i was pretty active on the incredible. Unforrunatley it took a crap finally so i decided to go for the one. Thanks for replying.
cmlusco said:
The rom is just the ota 2.10.605.1 that i rooted and debloated.
obone http://forum.xda-developers.com/showthread.php?t=2539041, is the latest kernel ive tried. I tried a few others i found, but i cant remember which ones. Not to many kernels to choose from on sense 4.3. Any other kernels you know of that i could try?
Yes i was pretty active on the incredible. Unforrunatley it took a crap finally so i decided to go for the one. Thanks for replying.
Click to expand...
Click to collapse
You need an insecure Boot.img in your current rom, to allow it to be overwritten.
My Stock rom has an insecure Boot.img in it.
You could fastboot flash that Boot.Img and then flash the custom one.
You should be able to just fastboot flash the new kernel, if it is packed into a Boot.Img.(most custom kernels aren't)
If it's packed in Anykernel style, then you will have to repack it into a Boot.img from your rom, or do what I suggested above and then flash it.
Essentially you are on an unrooted, secure stock Boot.Img that will not allow for the kernel to be overwritten.
Chances are, that the modules did flash though and you probably ended up just breaking wifi...and maybe more.
How are you going about flashing a kernel?
santod040 said:
You need an insecure Boot.img in your current rom, to allow it to be overwritten.
My Stock rom has an insecure Boot.img in it.
You could fastboot flash that Boot.Img and then flash the custom one.
You should be able to just fastboot flash the new kernel, if it is packed into a Boot.Img.(most custom kernels aren't)
If it's packed in Anykernel style, then you will have to repack it into a Boot.img from your rom, or do what I suggested above and then flash it.
Essentially you are on an unrooted, secure stock Boot.Img that will not allow for the kernel to be overwritten.
Chances are, that the modules did flash though and you probably ended up just breaking wifi...and maybe more.
Click to expand...
Click to collapse
Couldnt have said it better myself. tank you santod.
i would recommend backup up user data and flash Santod debloat stock 4.3 and everything should be good from there.
Thank you guys. Im off to try it out now.
Thanks again guys. I fastboot flashed the boot.img from your rom, and then the kernel and it worked. Time to tinker with some settings.

Categories

Resources