Flashing etc - Sony Xperia P, U, Sola, Go

How come i need to flash kernels when flashing roms, when i had htc desire all i had to do was flash the rom (.zip file). So how do i know what kernel goes with what rom. anyone able to explain this? i am not really dumb to rooting in general just new to this way of flashing. thank you.

First of all, this thread should be in the Q&A forum.
Answer your question: Because flashing the .zip ROM needs to be done in CWM. But for sony devices, the recovery is bundled with kernel (in .elf file). That's why you need to flash kernel (with CWM) before flashing the .zip ROM.

tot_anusak said:
First of all, this thread should be in the Q&A forum.
Answer your question: Because flashing the .zip ROM needs to be done in CWM. But for sony devices, the recovery is bundled with kernel (in .elf file). That's why you need to flash kernel (with CWM) before flashing the .zip ROM.
Click to expand...
Click to collapse
oh i see, thank you for answering my question. if i have CWM installed i don't need to flash kernel right? just .zip?
i didn't post this in Q&A cause i can't view any sections in sony xperia s sub-forum. i got this section of the forum via Google link. i have allowed no-script for this site but it just keeps refreshing the page so i had to disable JS for this site. I got a fix tho i will Google the other 'sections' and just bookmark them.

Not exactly. Some ROMs have their own specific kernel. Although your device has CWM installed, you may need to flash kernel which is compatible with ROM you're going to install separately.
Fortunately, some ROMs have their own kernel (boot.img) bundled in the zip, for example, CM10 and MIUI. While flashing these ROMs, their update script automatically installs the kernel while installing other stuffs needed. So in these cases you don't need to manually flash kernel, just flash ROM via CWM.
However, this is only applicable with some ROMs, not all. I suggest you read the installation instruction in each ROM's thread and some comments (use search button to search the thread). There should be somewhere in the thread tells you which kernels are compatible with the ROM you're going to install.

There are loads of different kernels for the Desire as well, the different ROM's were just a bit less fussy on which kernel you used.

Related

Flashing difference between Samsung and HTC?

Hi all, i'm currently with a HTC Desire and the procedure to flash a new ROM was first to flash a moded bootloader and a recovery from which you could just flash any .zip ROMs...
I'm not familiar with samsung, but I see that there is a tool called ODIN which you use to flash.
Can someone explain the difference? Will we always need a PC to flash a ROM or will be there a possibility to have a moded bootloader + recovery?
odin is to flash the .tar roms , mostly stock roms . In Galaxy s series if you have a hacked recovery like cwm 2/3 you can flash .zip roms also .
Diffrence 1%
We are doing the same but flashing the kernel + recovery with ODIN and then everything is the same
Also we are flashing ROM's with recovery, there is no need of PC, just to download the ROM's.
I'm not sure but, the bootloader is unlocked so, do we need to flash modded bootloader !?
Strange to me.
GlossGhost said:
Diffrence 1%
We are doing the same but flashing the kernel + recovery with ODIN and then everything is the same
Also we are flashing ROM's with recovery, there is no need of PC, just to download the ROM's.
I'm not sure but, the bootloader is unlocked so, do we need to flash modded bootloader !?
Strange to me.
Click to expand...
Click to collapse
That makes sense!
Мерси, колега.
this is a question, should have been in the general section.... wrong thread. pls read the rules before posting buddy.... & try to keep this forum as clean as possible....
there is not even a single element of development in this new thread.... user has a doubt regarding different ways flashing of ROMs between different brands.....
pls dont repeat the same mistake.... search the forum carefully first, then you post in an appropriate section if you dont find anything what you are looking for....

Question about installing new rom

Hello all. I decided to install Hybrom on my Xperia mini pro (sk17i) but i'm little confused at the moment and don't know what to do. I have installed CM 7.2.0 rom with FreeXperia kernel. If i want to install the Hybrom, i just need to flash stock firmware via flashtool, install Clockwork once again, then install some custom kernel like Rage and then install the rom? Or do something else? And do i need to relock the bootloader to flash stock firmware?
Install stock firmware, install kernel, install ROM. That's all. No relock needed. Custom kernel already includes Recovery so it is not needed.
Sent from my Xperia Live using xda premium
And when i flash firmware, wipe is automatically done so i don't need to do it manually?
papaj42 said:
And when i flash firmware, wipe is automatically done so i don't need to do it manually?
Click to expand...
Click to collapse
Flashing stock firmware - if you choose it in Flashtool, then yes.
Custom - no, you have to do it yourself before installing the ROM.
Sent from my Xperia Live using xda premium
Thank you, I really appreciate your answer, but I have one last question. Does the firmware already include rom and kernel, or rom only? And do I have to install newer baseband to it to make the custom rom work?
papaj42 said:
Thank you, I really appreciate your answer, but I have one last question. Does the firmware already include rom and kernel, or rom only? And do I have to install newer baseband to it to make the custom rom work?
Click to expand...
Click to collapse
Stock firmwares in .ftf file already include ROM and kernel both.
Most custom ROMs have their own custom kernel that you need to install yourself. Sometimes it is written in the topic as separate download link, sometimes it is included inside the .zip file, then you need to extract it and flash via fastboot. Check my tutorial, if you need help with it.
Baseband will depend on the custom ROM.

[Q] Rooting and Recovery Help

Hello all.....i've successfully unlocked the bootloader on my xperia s and now i need to root and install recovery. I'm confused with all the different options. I want to root, without installing another firmware, and then flash a recovery. I noticed a lot of rooting options have firmware with it. I want to be able to make a nandroid backup of my stock firmware. Can someone advise me please?
Just install a custom kernel and the rooting and recovery installation shall be done alongwith it. You can either use DooMLord's DooMKernel or the Advanced Stock with Recovery whichever you like. Next time, post your questions in the Q&A thread. This is the general discussion thread
a4rocks said:
Just install a custom kernel and the rooting and recovery installation shall be done alongwith it. You can either use DooMLord's DooMKernel or the Advanced Stock with Recovery whichever you like. Next time, post your questions in the Q&A thread. This is the general discussion thread
Click to expand...
Click to collapse
Sorry about that. Thanks for your help.

Where Download?

I'm sorry if this is a stupid question, but I need to install only a recovery, because a custom rom brings ROOT. I'll use ODIN, where I can find recoverys in tar format, because the one I have, is the site of ClockworkMod and is in zip.
Thanks to all.
ferrarinews said:
I'm sorry if this is a stupid question, but I need to install only a recovery, because a custom rom brings ROOT. I'll use ODIN, where I can find recoverys in tar format, because the one I have, is the site of ClockworkMod and is in zip.
Thanks to all.
Click to expand...
Click to collapse
why do you need a recovery if you are not going to install custom roms. You already have the stock recovery to whatever you are going to do
ferrarinews said:
I'm sorry if this is a stupid question, but I need to install only a recovery, because a custom rom brings ROOT. I'll use ODIN, where I can find recoverys in tar format, because the one I have, is the site of ClockworkMod and is in zip.
Thanks to all.
Click to expand...
Click to collapse
Lol, you must know that CWM is integrated into the kernel, so if you need CWM you must install a custom kernel(insecure kernel) having CWM, and all custom kernels are made to enable rooting, trying to push CWM into stock kernel(secure kernel) is pretty dangerous and you might brick your phone, and stock has its on recovery mode which you can use. Anyway before performing any wipe or factory reset check whether if you have super brick bug if you are running ICS 4.0.4, and stupid question or not try including more details about your phone.
Sent from my Galaxy Tab 7.0 Plus
I thank people who write helpful posts, so i expect the same.
king_below_my_lord said:
Lol, you must know that CWM is integrated into the kernel, so if you need CWM you must install a custom kernel(insecure kernel) having CWM, and all custom kernels are made to enable rooting, trying to push CWM into stock kernel(secure kernel) is pretty dangerous and you might brick your phone, and stock has its on recovery mode which you can use. Anyway before performing any wipe or factory reset check whether if you have super brick bug if you are running ICS 4.0.4, and stupid question or not try including more details about your phone.
Sent from my Galaxy Tab 7.0 Plus
I thank people who write helpful posts, so i expect the same.
Click to expand...
Click to collapse
Ok.
Before anything thanks.
I want to install a CUSTOM ROM, like cyanogem, slim bean, etc. So your idea is install a kernel, but I can install recovery and then custom rom, right?
And this insecure kernel, can you give me the link to download?
Thanks.
P.S. - My SII have Gingerbread 2.3.5. original, I don't have touch in nothing.
ferrarinews said:
Ok.
Before anything thanks.
I want to install a CUSTOM ROM, like cyanogem, slim bean, etc. So your idea is install a kernel, but I can install recovery and then custom rom, right?
And this insecure kernel, can you give me the link to download?
Thanks.
P.S. - My SII have Gingerbread 2.3.5. original, I don't have touch in nothing.
Click to expand...
Click to collapse
I suggest you to update your phone to official ICS before flashing an insecure kernel

do I need to flash a appropriate kernel before flashing a rom

I see a lot of ROMS posted list kernels other than mine (NC2). Do I need to flash those kernels prior to flashing those roms or not?
Also, If I want to go back to a NC2 roms will I night to flash that kernel back?
I am confused, please lmk. Thanks!
panxpany said:
I see a lot of ROMS posted list kernels other than mine (NC2). Do I need to flash those kernels prior to flashing those roms or not?
Also, If I want to go back to a NC2 roms will I night to flash that kernel back?
I am confused, please lmk. Thanks!
Click to expand...
Click to collapse
No need to flash kernal.
But, If your developer of Rom said that custom Kernal is required then you should flash custom kernal....
For backing to stock rom you need SP TOOLS (Smart phone tool) & Scatter file.
Every custom Rom does have its own kernel included which works perfectly with it. You don't need to flash any kernel. Just if you want to change the kernel you can change it afterwards. If you want to go back to your rom you have had before, just backup your system folder with twrp for example recovery and then you can restore it back. Hope that helped.

Categories

Resources