• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Questions about kernel and CWM? Where is CWM?

gibby4

Lurker
Nov 17, 2011
4
0
Hi guys, I was just wondering, I am a little confused about kernels, and where CWM goes. I reading here:
forum.xda-developers.com/showthread.php?t=1103399
about CF-root, that it is a modified kernel, and it includes busybox, root, CWM...
and so I was confused... I thought CWM was installed in the recovery 'part' of the phone.
How does the phone load CWM, how does it know how it is?
The bootloader, rom, kernel, and recovery are all separate right?

Using this kernel could you install CWM twice? How would that work?

I guess there is something I am missing out on :)
Thank you for your help guys, all help is appreciated!
 
Hi guys, I was just wondering, I am a little confused about kernels, and where CWM goes. I reading here:
forum.xda-developers.com/showthread.php?t=1103399
about CF-root, that it is a modified kernel, and it includes busybox, root, CWM...
and so I was confused... I thought CWM was installed in the recovery 'part' of the phone.
How does the phone load CWM, how does it know how it is?
The bootloader, rom, kernel, and recovery are all separate right?

Using this kernel could you install CWM twice? How would that work?

I guess there is something I am missing out on :)
Thank you for your help guys, all help is appreciated!

You are correct in that CWM is the replacement recovery that gets installed with CF-Root and just about every ROM for the GS2 but it also includes an actual application called "CWM" on the phone itself. The application lets you boot to recovery, manage restores and initiate backups etc. but the CWM application is just a front end for the actual CWM recovery program.
 
  • Like
Reactions: gibby4
Upvote 0
hey thanks for your reply!
i understand that there is a CWM app, but that is separate, and you don't need to use that, as far as i know.

i am talking about, when you install the CWM recovery, not the app, where does it install to?

because, if the CF-root kernel includes CWM (not the app), how can the recovery be in the kernel?

OR, is that where the recovery is? when i would flash CWM to my phone, would it simply patch it into my current kernel?...
 
Upvote 0
Hello,

I am the writer of the guide ironass posted. The question you brought up hasn't been addressed there because it was out of the scope of that guide, though I have tried addressing it (partially) in another guide I wrote on Android partitions.

The recovery is basically an alternative bootable system installed in a separate partition, bootable using a separate hardware key combination (or a command). In certain Samsung phones however (like Galaxy S series), the recovery is bundled together with the kernel in the same partition, in order to make room for the Download Mode to be bootable with a separate hardware combination. If I am not wrong, Android allows only three different booting modes by default: Normal mode, fastboot mode and recovery mode. In Galaxy S series devices, they have essentially replaced the fastboot mode with the recovery and used the separate recovery mode to ship their proprietary Download mode.

Hope this explains.
 
  • Like
Reactions: Slug
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones