Sunday, December 9, 2012

What is Bootloader, custom ROM, Kernel, CWM, Firmware, Flashing, ADB, Root ?

http://androidforums.com/sony-ericsson-xperia-mini/581709-what-bootloader-custom-rom-kernel-cwm-firmware-flashing-adb-root.html



What Is A Bootloader?

In literal terms, the bootloader is code that is executed before any Operating System starts to run. Bootloaders basically package the instructions to boot operating system kernel and most of them also have their own debugging or modification environment. Think of the bootloader as a security checkpoint for all those partitions. Because if you’re able to swap out what’s on those partitions, you’re able to break things if you don’t know what you’re doing.

As the bootloader kicks off before any piece of software on your device, it makes it extremely processor specific and every motherboard has it’s own bootloader. This is one reason that all Android phones have different custom ROMS developed due to high variance of processing hardware present on the device.

Android Bootloader
Every Android phone has a bootloader that instructs the operating system kernel to boot normally. But you need to understand one thing here that as Android OS is an open source OS and is available on a variety of different hardware, every manufacturer has their own version of bootloader specific for the hardware present in it’s environment. At its most basic level, your Android smartphone is like a hard drive, made of up several partitions. One of those partitions holds the Android system files, another holds all the app data you accumulate (which is how you’re usually able to update without losing all your stuff), and others to do more behind-the scenes stuff.

A lot has been said about bootloaders being “locked” and even the developer-friendly Nexus devices shipped with a locked bootloader (Nexus devices and a couple tablets are easily unlocked with a single command).In fact, a lot bootloaders are locked and encrypted, meaning simple commands like “fastboot oem unlock”, won’t do a thing.

Why are Bootloaders Locked?
A bootloader is usually locked on an Android device because although it’s an open source OS, still the manufacturers want you to stick to their Android OS version specifically designed for the device. In order to apply this concept, manufacturers lock the bootloader. With a locked bootloader on Android devices, it is virtually impossible to flash a Custom ROM and forced attempts void warranty as well as usually end up in bricks. Therefore, the first step is to always unlock the bootloader.

Why keep a bootloader out of reach? One of the biggest reasons is that the carriers and manufacturers don’t want to have to support hacked phones. The other is that a lot of time and money is spent developing these things. HTC Sense ain’t cheap. Neither is TouchWiz. But Samsung and HTC both have managed to find a middle ground with the modding community, and pressure is on other companies to do so as well.

---------------------------------------------------------------------------


What is a kernel?

A kernel isn't something unique to Android -- iOS and MacOS have one, Windows has one, BlackBerry's QNX has one, in fact all high level operating systems have one. The one we're interested in is Linux, as it's the one Android uses. Let's try to break down what it is and what it does.

Android devices use the Linux kernel, but it's not the exact same kernel other Linux-based operating systems use. There's a lot of Android specific code built in, and Google's Android kernel maintainers have their work cut out for them. OEMs have to contribute as well, because they need to develop hardware drivers for the parts they're using for the kernel version they're using. This is why it takes a while for independent Android developers and hackers to port new versions to older devices and get everything working. Drivers written to work with the Gingerbread kernel on a phone won't necessarily work with the Ice Cream Sandwich kernel. And that's important, because one of the kernel's main functions is to control the hardware. It's a whole lot of source code, with more options while building it than you can imagine, but in the end it's just the intermediary between the hardware and the software.

When software needs the hardware to do anything, it sends a request to the kernel. And when we say anything, we mean anything. From the brightness of the screen, to the volume level, to initiating a call through the radio, even what's drawn on the display is ultimately controlled by the kernel. For example -- when you tap the search button on your phone, you tell the software to open the search application. What happens is that you touched a certain point on the digitizer, which tells the software that you've touched the screen at those coordinates. The software knows that when that particular spot is touched, the search dialog is supposed to open. The kernel is what tells the digitizer to look (or listen, events are "listened" for) for touches, helps figure out where you touched, and tells the system you touched it. In turn, when the system receives a touch event at a specific point from the kernel (through the driver) it knows what to draw on your screen. Both the hardware and the software communicate both ways with the kernel, and that's how your phone knows when to do something. Input from one side is sent as output to the other, whether it's you playing Angry Birds, or connecting to your car's Bluetooth. 

It sounds complicated, and it is. But it's also pretty standard computer logic -- there's an action of some sort generated for every event. Without the kernel to accept and send information, developers would have to write code for every single event for every single piece of hardware in your device. With the kernel, all they have to do is communicate with it through the Android system API's, and hardware developers only have to make the device hardware communicate with the kernel. The good thing is that you don't need to know exactly how or why the kernel does what it does, just understanding that it's the go-between from software to hardware gives you a pretty good grasp of what's happening under the glass. Sort of gives a whole new outlook towards those fellows who stay up all night to work on kernels for your phone, doesn't it?
---------------------------------------------------------------------------

What is CWM?

ClockworkMod, abbreviated as CWM, is a popular custom recovery for Android phones and tablets developed by Koushik Dutta (Koush), a well-known name in the Android dev community. ClockworkMod recovery allows you to perform several advanced recovery, restoration, installation and maintenance operations on your Android device that aren’t possible with the stock recovery, and is one of the most common ways used to gain root access, back up device data, install a custom ROMs, kernels, themes, mods and more. However, for anyone new to Android customization and hacking, some of its options might prove to be a tad confusing. In what follows, we will cover all that this recovery is capable of doing, and how to do it.



About Android Recovery
All Android devices ship with a recovery console that is basically a partition on the device’s internal memory and can be booted into. The stock recovery of almost all Android devices provides a few basic yet handy options that allow you to factory reset your device and also to recover its operating system using an official ROM in zip format, but that’s all you can do with it. That’s where a custom recovery comes handy.

A custom Android recovery basically replaces the stock recovery with one that lets you do all you can do with the stock recovery, plus a plethora of more options to give you a lot more control on your device. With a custom recovery, you can install official and unofficial ROMs as well as other updates including apps, themes, kernels etc. using zip files, wipe not just user data but pretty much every partition on your device, mount the storage card for USB mass storage access without leaving recovery, partition your SD card, wipe Dalvik cache and battery stats, fix permissions, perform, manage and restore backups and so on.


Introduction To ClockworkMod
ClockworkMod recovery is one of the most widely used custom Android recoveries that is available for most mainstream Android devices. It is our custom recovery of choice here at AddictiveTips and almost every custom ROM that we install on our devices is done using this recovery.

ClockworkMod recovery has been developed by Koushik Dutta (also known as Koush) – the same guy who brought us the Android ROM Manager. He can be found at his blog hacking away at Android devices and at Twitter.


CWM options explained:
---------------------------------------------------------------------------


What's Firmware?

What the heck is this firmware? Definition of firmware is permanent software programmed into a read-only memory
In Simple words, you can understand it like windows for pc , in case of android we are going to do same thing – installing firmware (Froyo,Gingerbread, ICS, Jelly Bean etc.) on your phone. All phones have their different firmwares and installing tools regard less to the Andriod version (Froyo,Gingerbred). So never think that we can install any firmware on any android phone like we do in PCs.
Wiki link for even more info: Firmware - Wikipedia, the free encyclopedia
---------------------------------------------------------------------------

What is Flashing?

Flashing refers to the overwriting of existing data on ROM modules present in an electronic device with new data. This can be done to upgrade a device or to change the provider of a service associated with the function of the device, such as changing from one mobile phone service provider to another or installing a new operating system.
In simple words flashing is called installing firmware on your phone.
---------------------------------------------------------------------------

What is Rooting?

When carriers and manufacturers sell you your device, it is almost certain that the device would come with certain software restrictions in place. There are a variety of different reasons why they might do that – some claim that this is done to protect the user, preserve the device’s warranty (this policy will vary from manufacturer to manufacturer), prevent users from getting rid of carrier bloatware apps or simply because the manufacturer would prefer if your device was distinguishable from the competition based purely on its user interface (i.e. Samsung’s TouchWiz, HTC Sense UI, etc).

Whatever their reasoning may be, chances are if you are looking to customize your device on a deeper level, you’d be out of luck and this is where rooting comes into play.

Rooting is essentially a process that allows users of smartphones, tablets or other devices running on Android to gain “superuser” access to the software. This will allow the user to perform administrative tasks such as writing to locations normally restricted by the system which in turn will allow for deeper customization. For iOS users, rooting on Android devices could be thought of as a close equivalent to jailbreaking your device.
---------------------------------------------------------------------------


What are custom ROMs?

A stock ROM is the version of the phone's operating system that comes with your phone when you buy it.

A custom ROM is a fully standalone version of the OS, including the kernel (which makes everything run), apps, services, etc - everything you need to operate the device, except it's customized by someone in some way.
So what does the "customized" part mean? Since Android is open source, developers are free to take stock ROMs, modify them, strip them of garbage, optimize them, add things, and pretty much do whatever their imagination and skills allow.
---------------------------------------------------------------------------


What is ADB?

According to Google "Android Debug Bridge (adb) is a versatile tool lets you manage the state of an emulator instance or Android-powered device." That certainly sounds like Google, doesn't it? To put it simply, adb is two different applications -- one running on your computer (Windows, Linux or Mac) and one running on your phone. When your phone is connected, and USB debugging is enabled, you can issue commands and communicate with the phone using your computer screen and keyboard. 

Your Android phone uses a modified Linux kernel and tools as a base. This means that quite a few Linux commands can be sent via the adb server (the one running on your computer) to the adb client (the one running on your phone) and they will be executed. In our example picture, I've sent the "top" command over the wire to my phone, and my phone sent me back the information and printed it to my terminal. 

This can be awfully handy for debugging things that aren't going right, as well sending those weird commands you need when you're hacking away in the middle of the night. Chances are, if you aren't actively debugging something or trying to break hack at your phone, you won't have much use for adb. And that's OK -- there's more than one way to have fun with an Android device.
----------------------------------------------------------------------------


What's baseband?
Baseband is the Radio or Modem version depending upon the Phone Model, Carrier and Android Software Stack version. The Radio/Modem file is flashed via Recovery tool (other options are ADB/ODIN). The mismatched Radio/Modem and ROM will lead to things not working. You need to find the matching Radio/Modem for the particular ROM you are running.

The radio firmware controls basic low-level functions like network connectivity, Wi-Fi, and GPS. Upgrading Radio firmware will fix connectivity issues, increase range or performance, decrease battery usage, etc. Incorrec tRadio frimeware can disable some functions in your phone such as MMS, 3G Data, VM Notifications, etc. Network operators/carriers select the correct version of the Radio firmware that is suitable for the phone, network and bandwidth.

There is also Modem and Baseband Radio Processor chipsets in Mobile phones. Usually, Google, Phone Manufacturers and carriers develop various types of modem firmware/software that controls the functions of these chipsets.

Firmware is the overall version of the Android system on your phone. Baseband version is the version of the radio embedded in the device. Since Android is based on the Linux operating system, they show you the current version of the Kernel used in the heart of the system. The Build number is just an indicator of which numerical version of the current overall system was built by developers for your device. 

You cannot update any of these from the official web site. Updates to the Android system are pushed to the phone over-the-air by the manufacturer or the cell phone carrier. The only other way to update or change an Android phone it to install custom modified ROMs in place of the existing system firmware. That usually requires rooting the phone and a fairly considerable knowledge of how to hack hardware.

Learn How-To Install XXJVU Firmware on Galaxy S i9000


@ http://www.androidegis.com/how-to/learn-how-to-install-xxjvu-firmware-on-galaxy-s-i9000/
If you want to install XXJVU Firmware on Galaxy S i9000 you are on a right platform here I am going to present you easy to understand steps in this regard, all the steps are pretty easy. But before you get started I’d like to say that you must make sure about the back-ups you can use Titanium backup (free app on android market) to backup apps with data. Download the drivers from the link below:
for this purpose you also need to download the drivers, below you can see the download links of the drivers:
DISCLAIMER: The below method is bit risky and we will not be held responsible if you lose data or your device gets damaged in the following of this guide so please proceed at your own risk.
Step 1
First of all you need to download XXJVU firmware file from here (password: samfirmware.com) then also also download this PIT file from here and when you’ll extract the downloaded file  XXJVU firmware you’ll get these 3 files:
CODE_I9000XXJVU_CL851880_REV03_user_low_ship.tar.md5
GT-I9000-CSC-MULTI-OXAJVU.tar.md5
MODEM_I9000XXJVU_REV_00_CL1059471.tar.md5
Step 2
Then you need to download Odin PC Software from here and extract Odin3 v1.7.zip
Step 3
Now you need to just disconnect your phone if it’s connected to PC and Switch off your Galaxy S i9000.
Step 4
Then set the Galaxy S in “Download Mode” — press and hold these keys together:
Volume_DOWN+Home+Power until a screen saying ‘Download Mode’ comes up.
Step 5
Then you need to open Odin and simply connect your phone to PC now. You should get the message “Added!!” under the Odin’s message box in the bottom left. If you don’t get “Added!!” message, than probably there is a problem with drivers. Make sure you’ve drivers installed and on the top you can see the links to download the drivers.
After this, in Odin, you need to select these files at respective tabs that you are seeing below:
Click the PDA Tab, and select CODE_I9000XXJVU_CL851880_REV03_user_low_ship.tar.md5 (from step 3.1)
Click the Phone Tab, and select MODEM_I9000XXJVU_REV_00_CL1092175.tar.md5 (from step 3.3)
Click the CSC Tab, and select GT-I9000-CSC-MULTI-OXAJVU.tar.md5 (from step 3.2)
Click the PIT Tab, and select s1_odin_20100512.pit (from step 2)
Step 6
Be definite that the ‘Re-Partition’checkbox in ODIN is selected. Moreover, Auto Reboot and F.Reset Time checkboxes should be selected as well. Then just leave all else on Odin untouched.
Step 7
After this, push the START button to begin the flashing procedure. Here I’d like to say that when it finishes, your phone will automatically reboot, ahead which you can unplug the cable. And when it restarts, your Galaxy S will be running the Android OS, v2.3.6 XXJVU firmware.
Step 8
After this you should Off the screen and then open with the all new Galaxy Note ported lock screen.
Step 9
Then simply find the Photo Editor app in app drawer, a port from Galaxy S2. And check the options for Face Unlock set up ,—, go to Settings » Location and Security » Set Screen Lock. That’s it‼
Related posts:
  1. Install Android 2.3.6 Value Pack With TouchWiz On Galaxy S GT-i9000 [How-To]
  2. Learn How-To Install Android 3.2.1 Update on Galaxy Tab 10.1
  3. On Samsung Galaxy S II i9100 Install XXKH3 [How-To]
  4. Learn How-To Root Samsung Galaxy S2 GT I9100 Using Android 2.3.4 XXKG6 Firmware
  5. Learn How-To Root Samsung Galaxy SII (S2) Using Odin and SuperOneClick

Saturday, December 8, 2012

Useful Links for SGS update


How To Install A ROM Or App From Zip File To Android Device From Recovery

@ http://www.addictivetips.com/mobile/how-to-install-a-rom-or-app-from-zip-file-to-android-device-from-recovery/

Install Darky’s v9.1 Extreme Edition ROM for Samsung Galaxy S or Captivate

@ http://www.addictivetips.com/mobile/install-darkys-v9-1-extreme-edition-rom-for-samsung-galaxy-s-or-captivate/

Android 4.0.4 ICS DarkyROM Galaxy S i9000 Install [ How To ]

@ http://www.techethon.com/android-4-0-4-ics-darkyrom-galaxy-s-i9000-install-how-to/


Cyanogenmod 9 Galaxy S i9000 (CM9) Install [How to]

@ http://www.techethon.com/cyanogenmod-9-galaxy-s-i9000-cm9-install-how-to/

Cyanogenmod 9 Galaxy S i9000 (CM9) Install [How to]

http://www.techethon.com/cyanogenmod-9-galaxy-s-i9000-cm9-install-how-to/


Description: SICS Cyanogenmod 9 Galaxy S i9000 (CM9) Install [How to]

 

Samsung Galaxy S, well what can we say about this wonderful device which actually first revolutionized the mobile world and certainly one of the big factors responsible for the downfall of Nokia.Its one of the most popular phones having powerful single core processor and great performing hardware.While Samsung Galaxy S was forgotten by Samsung after supporting it for almost an year and a half and having declared that there won't be official Android 4.0 Ice Cream Sandwich for Galaxy S, but thanks to large fan base and developer base at XDA, it has got numerous stable Android 4.0 ICS ROMS.Even The ICS based popular official Cyanogenmod 9 supports Galaxy S i9000.Its considered as the most stable out of the available ICS Roms for SGS i9000.And hence, here we come with our detailed step by step tutorial on how to install the Cyanogenmod 9 Galaxy S i9000.

WARNING:

Before beginning with the procedure to Install Cyanogenmod 9 Galaxy S i9000 you must know that once the procedure in the tutorial is followed your warranty stands void. The given method is risky and can cause your device to brick. It is therefore recommended that you follow the procedure carefully and perfectly. The processes that you carry out on your device are solely at your risk. We do not take responsibility for any damage to your device.

Lets have a look at the essential Pre Requistes:

1.Firstly you must ensure that you have rooted and installed ClockWork mod (CWM)  on your Vibrant.

2.Minimum 60% of your phone battery must be charged.

3.Back up your phone data.

To Backup apps, use this App ———>  AppBak Download
To Backup Messages, use this App —> SMS Backup and Restore Download

4.Make sure that you have installed Samung drivers on your computer.

5.Sync your contacts with gmail

6.Enable USB debugging mode(Settings –> Applications –> Development –> USB Debugging)

 

Description: sgs ics1 Cyanogenmod 9 Galaxy S i9000 (CM9) Install [How to]

Following is the Detailed Method to Install Cyanogenmod 9 Galaxy S i9000 :

 Step 1:

Now firstly, you need to download the Cyanogenmod 9 Galaxy S i9000 nightly file. Following is the Download link-> Cyanogenmod 9 Galaxy S i9000 version.
You guys can check that above link for further Cyanogenmod 9 Galaxy S i9000 download link updates.
Here is the Changelog link of every latest Cyanogenmod 9 Galaxy S i9000 updates.

Step 2:

Now with Cyanogonmod 9 , we don't get the default Android apps like Google Maps,Google Play pre installed. If you need these apps , you need to flash this Gapps Cyanogemod 9 Galaxy S i9000 file. OR you can visit Gapps site for latest gapps .

Note : Now we will try our best to keep you guys updated with the latest download links , but alternately you can well check out the Official XDA Thread  for the latest downloads here .

Step 3:

After having done with downloading of the two above mentioned files , you need to copy those files into you internal SD card.

Step 4:

Now you need to switch of your device Galaxy S i9000. Now the first thing to do after this is boot into the CWM Recovery. We will have to use the 3 button combo. So In order to do the same , Press and hold Home +Volume Up + Power button simultaneously and thus soon after you will enter CWM recovery.

Now to work around in the CWM recovery , you need to make use of the following keys :
To move Up/down use Volume Up /Volume Down Button respectively
To open a selected option, use Home/Power button.

Now there are series of steps you need to perform before you begin your actual process of installation of Cyanogenmod 9 Galaxy S i9000 version.

Step 5:
Select and open the 'Backup and Restore' menu from the main menu and do the Nandroid Backup(select yes) to restore your files and previous ROM if something goes wrong with the New ROM. Just to be safe.

Step 6:

In order to have practically no errors or bugs whatsoever , you need to wipe the data and factory reset your device.
So go to the 'Wipe Data /factory reset' and 'Wipe Cache partition' and then perform these processes
Now go to the Advanced menu , you will see a 'Wipe Dalvik Cache' menu , select and click on yes to do it.

Description: cwm1 Cyanogenmod 9 Galaxy S i9000 (CM9) Install [How to]

Step 7:

Now to Install Cyanogenmod 9 Galaxy S i9000 , go to the 'Install Zip from Sd Card' menu , now select and open '"choose zip from sdcard' menu , browse for the Cyanogenmod 9 file and then select it and select yes to begin the process to install Cyanogenmod 9 Galaxy S i9000 version .
Optionally , if you need those default Gapps like market ,maps etc. , select the .zip [refer step 2] click on yes to install.

Step 8:

Now,repeat the 'Wipe data/factory reset', 'Wipe Dalvik Cache' and "Wipe Cache partition" to. Now opt for "reboot system now" option and wait for your phone to get Booted in theCyanogenmod 9 Galaxy S i9000 .Normally it will take 2-3 mins for the first boot.

Congratulations !! The process to Install Cyanogenmod 9 Galaxy S i9000 has been accomplished !!

 

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

http://www.addictivetips.com/mobile/what-is-clockworkmod-recovery-and-how-to-use-it-on-android-complete-guide/

ClockworkMod, abbreviated as CWM, is a popular custom recovery for Android phones and tablets developed by Koushik Dutta (Koush), a well-known name in the Android dev community. ClockworkMod recovery allows you to perform several advanced recovery, restoration, installation and maintenance operations on your Android device that aren't possible with the stock recovery, and is one of the most common ways used to gain root access, back up device data, install a custom ROMs, kernels, themes, mods and more. However, for anyone new to Android customization and hacking, some of its options might prove to be a tad confusing. In what follows, we will cover all that this recovery is capable of doing, and how to do it.
Here is what we shall be covering in this guide:
  1. About Android recovery
  2. Introduction to ClockworkMod
  3. Installing ClockworkMod
  4. Booting into ClockworkMod
  5. Feature tour
  6. Using ClockworkMod for ROM, kernel, apps, theme or mod installation.
Now let's take a look at each of these topics in detail.

About Android Recovery

All Android devices ship with a recovery console that is basically a partition on the device's internal memory and can be booted into. The stock recovery of almost all Android devices provides a few basic yet handy options that allow you to factory reset your device and also to recover its operating system using an official ROM in zip format, but that's all you can do with it. That's where a custom recovery comes handy.
A custom Android recovery basically replaces the stock recovery with one that lets you do all you can do with the stock recovery, plus a plethora of more options to give you a lot more control on your device. With a custom recovery, you can install official and unofficial ROMs as well as other updates including apps, themes, kernels etc. using zip files, wipe not just user data but pretty much every partition on your device, mount the storage card for USB mass storage access without leaving recovery, partition your SD card, wipe Dalvik cache and battery stats, fix permissions, perform, manage and restore backups and so on.

Introduction To ClockworkMod

ClockworkMod recovery is one of the most widely used custom Android recoveries that is available for most mainstream Android devices. It is our custom recovery of choice here at AddictiveTips and almost every custom ROM that we install on our devices is done using this recovery.
ClockworkMod recovery has been developed by Koushik Dutta (also known as Koush) – the same guy who brought us the Android ROM Manager. He can be found at his blog hacking away at Android devices and at Twitter.

Installing ClockworkMod

What sets ClockworkMod recovery apart from most other custom Android recoveries is its dead simple installation process on most devices. It does require you to fully root your device in order to be installed but once rooted, installing it is as simple as installing ROM Manager from Market, launching it and using its first option i.e. the one that says 'Flash ClockworkMod recovery'. We have this method covered in detail in our guide on how to install ClockworkMod recovery to your Android device.
However, in certain cases, this ROM Manager method will not work. The following scenarios will require alternative installation methods:
  • Your device doesn't have an official version of ClockworkMod recovery released yet but you have found a custom version built by someone else using the ClockworkMod recovery source code.
  • Your device does have an official version of ClockworkMod recovery released but there is either a yet-unreleased official version or an unofficial version that you want or need to install instead.
  • Your device has some added protection enabled by the manufacturer preventing the automatic ROM Manager method for installing the recovery, as with some Samsung Galaxy S series devices.
  • Your device isn't a native Android device but Android has been ported to run on it and it therefore requires a specialized method for installing ClockworkMod recovery, as with the HTC HD2.
We have most of these scenarios already covered and you can use the following guides to install ClockworkMod recovery if the automatic ROM Manager method fails for you.
Multiple devices:
Specific devices:

Booting Into ClockworkMod

Once you have ClockworkMod recovery installed on your Android device, booting into it is quite simple. All you have to do is launch ROM Manager and tap 'Reboot into Recovery'.
Also, if you have ADB installed on your computer, you can simply enable USB debugging mode on your device from Settings > Applications > Development, connect it to your computer via USB, launch a Command Prompt / Terminal window on your computer and enter this command:
  adb reboot recovery
The above methods will not work in certain cases though, for instance if you can't boot into Android in the first place due to some issue, or if you are using a device like the HTC HD2 that doesn't natively support an Android recovery. Many solutions are available in these cases.
  • Using hardware button combination on most Android devices:
    On most Android devices including ones by HTC, you can enter recovery by powering your device off and then powering it back on while keeping either the 'Volume Down' or the 'Volume-Up' button pressed, depending on the device. This will enter the bootloader from where you can select the 'RECOVERY' option by navigating to it with the Volume key and entering it with the 'Power' key.
    On most Samsung devices specifically Samsung Galaxy S series devices, you must keep both the 'Volume-Up' and 'Home' keys pressed while powering on the device, to directly enter recovery.
  • Using MAGLDR on HTC HD2:
    Entering ClockworkMod recovery on the HTC HD2 can't be done via ROM Manager or any hardware button combination but that doesn't mean it is difficult in any way. All you have to do is power the device off, power it on by keeping the Power key pressed till you see the MAGLDR bootloader's menu and finally selecting the 'AD Recovery' option.

Feature Tour

Now that you have ClockworkMod recovery up and running on your phone or tablet, let's take a look at all the options it offers you to manage your Android device. We are using a Nexus S running ClockworkMod recovery 3.0.0.5 but the details should apply to other devices and other 3+ versions of the recovery as well, while versions prior to 3 will have some very minor changes that shouldn't be an issue.
This is what you see when you reboot your device into ClockworkMod recovery:
ClockworkMod Recovery 3
You can navigate these options by using the Volume-Up and Volume-Down keys to highlight an option and the 'Power' key to enter/launch the highlighted option on most Android devices. On devices equipped with a trackball or an optical track pad such as G1, G2, Nexus One, HTC Desire etc., the trackball or track pad can be used for navigation and clicking it can be used to enter/launch the selected option. Let's review each of these options and their sub-menu options in detail.
  1. reboot system now
    This one is self-explanatory.
  2. apply update from sdcard
    This can be used for installation of any official or unofficial update, ROM, kernel, theme etc. that is in a zip format installable from recovery, as long as the file is named update.zip and it has been placed on the root of your SD card (i.e. not in any sub-folder). Selecting this option (and most of the options featured below) will bring up a rather annoying confirmation prompt but this has saved us on multiple occasions from a lot of trouble we would have been into due to accidental key presses. This is what we are talking about:
    ClockworkMod Recovery 3 Confirmation
  3. wipe data/factory reset
    This option wipes all user data on the device as well as cache. Doing this will leave your phone in the state it was in when you bought it or when any custom ROM was first installed. It will also wipe any sd-ext partition that you might have setup (more on this later).
  4. wipe cache partition
    Wipes the cache partition of the device to clear all the data accumulated there over use. This is often used before installing a new ROM, app, kernel or any similar mod via recovery.
  5. install zip from sdcard
    This option brings up the following sub-menu:
    ClockworkMod Recovery 3 Apply Update
    1. apply /sdcard/update.zip
      This one is essentially the same as the 'apply update from sdcard' option of the main menu.
    2. choose zip from sdcard
      Lets you install any zip file (with any name) from any location on your SD card. The file can be for a ROM, a kernel, an application, a theme or any mod as long as it is in recovery-flashable zip format. This is the most widely used option for installing a ROM that you have downloaded and copied to your SD card. Entering this option will bring up a screen that will allow you to browse your SD card for the zip file and select it for installation as in this screenshot:
      ClockworkMod Recovery 3 Browse
    3. toggle signature verification
      Turns the signature verification on and off. When signature verification is on, you will not be able to install any custom ROMs that haven't been signed by the developers (most custom ROMs aren't signed). Switching it off skips the signature verification check and proceeds with the installation.
    4. toggle script asserts
      Seldom-used option for a vast majority of users. It simply turns script asserts on or off. If you don't know about these (we don't), it's best not to change this option.
    5. +++++Go Back+++++
      Takes you back to the main recovery menu, obviously!
  6. backup and restore Undoubtedly one of the most important features provided by a custom recovery, the backup and restore feature – also known as Nandroid backup – allows you to take a snapshot of your phone's entire internal memory including all partitions, and save it on the SD card. Here is how it looks:
    ClockworkMod Recovery 3 Nandroid
    1. Backup
      Takes a Nandroid backup, as explained above.
    2. Restore
      Lets you restore a previously taken backup. Entering this option presents you with a list of existing backups from the SD card that you can choose from for restoration.
    3. Advanced Restore
      This option is similar to the Restore option but once a backup has been selected to be restored, this option allows you to choose what parts of it to restore. You can choose to restore the boot, system, data, cache and sd-ext partitions, as shown here:
      ClockworkMod Recovery 3 Advanced Restore
  7. mounts and storage
    Allows you to perform maintenance tasks on all the internal and external partitions of your android device
    ClockworkMod Recovery 3 Mounts
    1. mount/unmount /system, /data, /cache, /sdcard or /sd-ext
      These options let you toggle between mounting or unmounting these respective partitions. Most users don't need to change these options.
    2. format boot, system, data, cache, sdcard or sd-ext
      These let you directly format any of these partitions. Take extreme care with this option as formatting any of these partitions will result in losing all data on them, especially the boot and system partitions. Formatting the system partition will remove your ROM and leave your phone without an operating system while wiping the boot partition may brick your phone unless you restore or flash another one before rebooting your device. To learn more about the contents of all these partitions, see our guide to Android partitions.
    3. mount USB storage
      Lets you enable USB mass storage mode for your SD card right from recovery so that you can connect it to your computer via USB and transfer any files to/from it without having to leave recovery.
  8. advanced
    This section contains a few options most users will not require, though these can come handy quite often, especially wiping Dalvik cache, which is required before most ROM installations. Here are the options from this section:
    ClockworkMod Recovery 3 Advanced
    1. Reboot Recovery
      Lets you directly and very conveniently reboot from recovery right back into recovery. This is useful option for certain back-to-back installations that require the device to at least boot once between them.
    2. Wipe Dalvik Cache
      Allows you to wipe the cache for the Dalvik virtual machine (the custom-built Java virtual machine for Android).This is required before most ROM installations and at other occasions too, for fixing some problems.
    3. Wipe Battery Stats
      Wipes the saved battery usage statistics and effectively recalibrates the battery. Useful in various scenarios when Android isn't showing correct battery levels.
    4. Report Error
      In case of errors, this feature can be used to save a log of recent ClockworkMod recovery operations on the SD card that you can later report from Android using ROM Manager.
    5. Key Test
      Lets you press any of the hardware keys to see if they are properly functioning, and to see their key codes.
    6. Partition SD Card
      This option gives you a no-frills way to partition your SD card properly for use with ROMs that support data2ext (a very handy hack for low internal memory devices that enables an /sd-ext partition on the SD card to be used as the internal user data storage i.e. as the /data partition). Once this option is selected, you will be given options to choose the sizes for the /sd-ext partition as well as an optional /swap partition on the SD card, and will then automatically format it for you, leaving the remaining space for normal SD card usage. This option will wipe all data from your SD card so use it with caution!
    7. Fix Permissions
      Fixes the file permissions for the internal memory partitions back to default. This is very useful as a fix for several errors and Force-Closes that start appearing after you or an application you installed and provided root access end up messing up the permissions of important files.

Using ClockworkMod For ROM, Kernel, Apps, Theme Or Mod Installation

While in the complete feature tour we have already shown you how to install a ROM, kernel, app, theme or any similar mod from a recovery-flashable zip file using the recovery options, those of you who jumped straight to thisView blog section expecting to get just this information quickly are at the right place!
This guide is primary focused on a full feature tour of ClockworkMod recovery but in our previously written guide on how to flash a ROM or app from a zip to an Android device file from recovery, we have already covered in detail how to use ClockworkMod for installing any ROM, kernel, app, theme or mod using a recovery-flashable zip file. While that guide is based on an older version of ClockworkMod recovery, everything in it still applies to the latest versions and should work flawlessly.
That's all there is to ClockworkMod recovery so far. We hope you enjoy using it as much as we do!