Thursday, 18 December 2014

Whats is Clockworkmod?

                     Clockworkmod

ClockworkMod Recovery ( CWM ) is a replacement recovery
option for Android devices, made by Koushik "Koush" Dutta.
It is based on the Android 2.1 (Eclair) recovery image.
Features include Nandroid backup, adb shell, advanced
update.zip options (ignore asserts and signature checks), and
file browser for choosing update.zips
The ROM Manager app may be used for installing CWM,
overwriting the device's stock recovery. As with the stock
recovery, CWM can apply software changes to the device.
Unlike the stock recovery, CWM is able to entirely replace the
device's primary Android operating system ("flashing a new
ROM"), including with aftermarket replacements such as
CyanogenMod . Once installed, CWM it is accessed by turning
your phone off, then triggering the bootloader prompt by
holding down some device-dependent button combination as
it is turned on.
CWM is also known as clockwork and CW recovery.
Contents
1 Building
2 Installation Methods
2.1 Method 1A
2.2 Method 1B
2.3 Method 2
2.4 Method 3
2.5 Method 4a
2.6 Method 4b
3 Features
4 Compatible Devices
5 External links
Building
See http://forum.xda-developers.com/showthread.php?
t=1866545
Note that it's usually possible to find pre-built CWM images.
Installation Methods
Method 1A
Rom Manager - Rom Manager is the original and official way
to install ClockworkMod recovery by a .zip file. Download
"Rom Manager" from Google Play, use the app to download
the correct version of CWM for your phone (update.zip file),
reboot into the stock recovery and choose the option "re-
install package" TWO TIMES to temporarily load CWM from
the update.zip file. This file needs to remain on the phone to
load CWM when needed each time. DO NOT DELETE!
Method 1B
You can find and download the update.zip by yourself, place
it on the phone in /sdcard/ and boot into recovery using the
3 button method, choose the option "re-install package"
TWO TIMES to load into CWM. Once again the update.zip
needs to remain on the phone. DO NOT DELETE!
Method 2
(Some models) Flash/Use a kernel with Clockwork built in.
Most cooked Roms for compatible devices include a kernel with
CWM built in. With this method you DO NOT need the
update.zip file or Rom Manager anymore. The update.zip
may be handy to keep in-case you install a new kernel
without CWM built-in, but it is not necessary.
Method 3
For Samsung Galaxy S phones: From stock it is easiest to get
CWM by flashing a kernel with CWM built-in by using Odin3
1.7 flashing utility. Only some kernels come in a Odin
compatible package (.tar file).
Install CWM Recovery to Samsung Galaxy tab 2 7.0 (GT-
P3110) with Linux and Heimdall :
1. install Heimdall (and optionally Heimdall-frontend) on
your GNU/Linux host computer. This software is a flash
tool which copies firmware images to device's specific
memory area. Odin is its clone :). You can find several
guides how to install this even from source. You don't
need windows stuff such as odin or Kies or a fake
software which contains the usb drivers because most
probably the kerner drivers are preinstalled on your
GNU/Linux OS.
2. download CWM to your GNU/Linux computer:
clockworkmod.com/rommanager (recovery-clockwork-
touch-6.0.2.7-p3110.img) You can navigate in the menu
with volume up/down keys and choose item with power
button. If image name contains touch then allows
navigation with touch too.
3. turn off the tablet (wait around 10 secs while screen goes
black)
4. boot into recovery mode: keep the the volume key pressed
which is closer to the power button and at the same time
keep the power button pressed also. You may keep them
pressed as long as you like: logo appears then device
reboots. When logo appears release keys. Android system
recovery <3e> default recovery loads. Choose "wipe
data/factory reset" menu then "Yes -- delete all user
data".
5. be prepared to execute next step then choose reboot
system now from menu
6. after reboot don't allow system to load: immediatelly
keep the power button pressed and the volume key which
is on the far side. Keep it pressed until warning appears
7. connect tablet to GNU/Linux host with USB cable then
press the volume button which is close to the power button
8. with root permission run command on GNU/Linux host
and be prepared for executing next step immediately
sudo heimdall flash --RECOVERY recovery-clockwork-
touch-6.0.2.7-p3110.img
9. when it completes it restarts the device: remove the cable
and immediatelly boot into recovery mode: keep the
volume key pressed which is next to the power button and
also the power button: keep it pressed until logo is
displayed on 2nd time then release them.
10. ClockworkMod Recovery loads and you can use it. Scroll
down to see all the menuitems. You can create backup
with backup and restore menu then backup to external
sdcard
11. After all use last menuitem: +++Go Back+++ / reboot
system now / ROM may flash stock recovery on boot.
Fix? If you choose No then you can do the procedure
again. If you choose Yes then Samsung's recovery
firmware gets overwritten by ClockworkMod Recovery.
Method 4a
Tried this in Karbonn A21.
1. Connect the phone to PC using
USB cable
2. Select to copy files to/from your computer" in
the notification panel menu.
3. This will open up two drives
within Windows Explorer 3a. One drive with the internal
SDCARD of A21 3b. One drive with the additional SDCARD that
you had inserted [optional]
4. Copy the recovery.img to the
root of the SDCard (Select "USB Connected - Karbonn has a
built-in SD card /sdcard/ but the additional SDCARD will
become /ext-sdcard/ which cannot be used normally)
5. Open
any terminal emulator in your phone. You can try this
6. Type
following commands : su dd if=/dev/block/mmcblk0p16 of=/
sdcard/mmcblk0p16.backup bs=4096 dd if=/sdcard/
recovery.img of=/dev/block/mmcblk0p16 bs=4096
Method 4b
Also tried this in Karbonn A21 1. Get the "CWM Recovery For
Karbonn A21.ZIP" from XDA forum or search for "> Android
Dev elopment and Hacking > Android Softw are and Hacking
General [Dev elopers Only] > [Recov ery][Easy To Flash] CWM
Recovery 5.0.2.8 for Karbonn A21 [Very Easy]" 2. Follow the
instructions in the page 3. It is that simple!