Go Back   Android Forums > Android Phones > Samsung Galaxy S2 (International) > Galaxy S2 (International) - All Things Root

test: Reply
 
LinkBack Thread Tools
Old November 17th, 2011, 12:29 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2011
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default Questions about kernel and CWM? Where is CWM?

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!

Advertisements
gibby4 is offline  
Reply With Quote
sponsored links
Old November 18th, 2011, 12:33 AM   #2 (permalink)
Member
 
Snazzy's Avatar
 
Join Date: Jan 2010
Posts: 460
 
Device(s): i7500L, Nexus One, Nook Color, Samsung Galaxy SII
Carrier: Not Provided

Thanks: 19
Thanked 37 Times in 32 Posts
Default

Quote:
Originally Posted by gibby4 View Post
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.
Snazzy is offline  
Reply With Quote
The Following User Says Thank You to Snazzy For This Useful Post:
gibby4 (November 18th, 2011)
Old November 18th, 2011, 03:15 AM   #3 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2011
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default

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?...
gibby4 is offline  
Reply With Quote
Old November 18th, 2011, 05:21 AM   #4 (permalink)
Senior Member
 
ironass's Avatar
 
Join Date: Aug 2010
Location: Cotswolds, England
Gender: Male
Posts: 8,677
 
Device(s): SGS5 SM-G900F. Rooted. KitKat 4.4.2 NG7 NEAT ROM. Baseband: NG8. KT kernel+PhilZ recovery.
Carrier: Vodafone

Thanks: 1,185
Thanked 3,907 Times in 2,576 Posts
Default

This guide to CWM, entitled, "What Is ClockworkMod Recovery And How To Use It On Android [Complete Guide]", may help answer your questions:-

What Is ClockworkMod Recovery And How To Use It On Android [Complete Guide]

hope this helps.
__________________
Did you know that hitting the Thanks button is quicker than typing it and the Search button is your friend.

Dummies Guides Rooting Galaxy S4 * Know Your S4 * Update Problems * Knox Security * Bloatware * GPS
ironass is online now  
Reply With Quote
The Following 2 Users Say Thank You to ironass For This Useful Post:
gibby4 (November 23rd, 2011), Twinn (November 19th, 2011)
Old November 23rd, 2011, 04:28 AM   #5 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2011
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default

oh thank you, but i don't think that is what i meant, i think i thought that cwm was IN the kernel, with the cf-root kernel, and was wondering how that worked, but i think they simply just install the app.
thanks
gibby4 is offline  
Reply With Quote
Old January 3rd, 2012, 07:14 AM   #6 (permalink)
New Member
 
Join Date: Jan 2011
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

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.
HQRaja is offline  
Reply With Quote
The Following User Says Thank You to HQRaja For This Useful Post:
Slug (January 3rd, 2012)
Old January 3rd, 2012, 08:52 AM   #7 (permalink)
Check six!
 
Slug's Avatar
 
Join Date: Aug 2009
Location: Inverness, UK
Gender: Male
Posts: 17,896
 
Device(s): Sony Xperia Z
Carrier: EE

Thanks: 2,746
Thanked 11,365 Times in 5,767 Posts
Send a message via Skype™ to Slug slugbrem@gmail.com
Default

Quote:
Originally Posted by HQRaja View Post
I am the writer of the guide ironass posted.
Welcome to Android Forums HQRaja, and thank you for your clear and concise explanation. I myself knew what Samsung had done but not why, so it was much appreciated.
Slug is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > Samsung Galaxy S2 (International) > Galaxy S2 (International) - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://androidforums.com/galaxy-s2-international-all-things-root/447186-questions-about-kernel-cwm-where-cwm.html
Posted By For Type Date
What Is ClockworkMod Recovery And How To Use It On Android [Complete Guide] This thread Refback January 10th, 2012 09:48 AM


All times are GMT -5. The time now is 04:47 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.