[REF] CWM - Clockworkmode menu options & Partitions– GENERAL KNOWLEDGE

Search This thread

ma5te12m1nd

Member
May 14, 2014
7
0
Taguig City, PH
thank you, TS

Sadly, I haven't read this thread before I messed up my Nokia X :(

Bought it last Sunday (May 11) by night time it was bricked :crying:

formatted system, data, cache, sdcard or sd-ext partitions (and rebooted)… carelessly

It is now in the hands of Nokia Care (thank you warranty!! I hope they will rule it out as “factory defect” and not by flashing custom ROMs, never mentioned it to them though, I insisted that I just updated it to latest Nokia stock Android software and won’t turn on afterwards) just called them earlier and ruled out that it’s a “hardware” issue though I highly doubt that!! :p Expecting to have it back next week! I'm so excited.

I am new to Android (iOS user for a long time) expanding my horizon with Android and on Nokia's first Android device :)

P.S.
Please point out If I should not be posting it here? From the title its "General Knowledge" and may apply to my Nokia X as well right? and not only to GS II? :cowboy: hope I enjoy my stay here in XDA :)
 

zahmed70

Member
Nov 12, 2012
7
0
Calgary
Help with my bell S2 GT-I9100M - Bricked for Sure

Hi Guys,
First of all, lots of valuable info here, however I am totally lost ...
I have a Bell Mobility S2 (GT-I9100M) was locked to Bell and in the past tried unsuccessfully to unlock it. the phone was in storage for over a year now I decided to power up and all I see is a phone --exclamation -- PC, does not boot, I can go to the download menu (-Vol + Home + power).
Reading here and watching videos I tried quite a few things but always get stuck, either on Nand Write, SBL1 or FactoryFS.
I tried different versions of Odin3 (1.83, 1.85, 3.04, 3.07, 3.09)
I even tried to upload Pit File/s:
i9100_u1_02_20110310_emmc_EXT4-patched-standard.pit
u1_02_20110310_emmc_EXT4.pit

The ROMS I tried:
GT-I9100M_BMC_I9100MUGKG2_I9100MUGKG2_I9100MBMCKG2.tar
I9100MUGMA5_I9100OYCMA5_I9100MUGMA5_HOME.tar.md5

Kernel File I have:
Kernel_I9100MUGKG2.tar.md5

Prety Sure that I am over my head here, thats why I am here to get some help ....
If someone can please provide me step-by-step instruction how to reflash my phone, and matching file names in case I have mismatch ... dont care what ROM as long as I can use it ...

thanks in Advance

Z
 

dp1bharatiy

New member
Oct 27, 2014
2
0
Newbie in trouble and expecting your help: Not able to save anything on Anrd 4.2.2

Dear Zaheed and all devs,
since one week I am in trouble after rooting my wife's cell. I have everything ok untill one serisous problem.
I cannot save extra thing on my external SD card. e.g. taking photos, images or videos to be saved in sd card. I have rooted mmx a114 phone. After booting tried many times I have tried. Even I have tried to change the permissions/attributes of SD card using Solid Explorer but still no solution. How to fix it? I want to make it factory reset in CWM too. But dont know how to fix to default. I have backup of CWM recovery. Once I hve pressed accidently Fix permissions in CWM but don't know what may it has done !
My Mobile is Android 4.2.2 and now I am on rooted device.
This is my wife's mobiel and she is very upset to me due to my RnD has made her life uncomfortable.
Pl reply.
 

Danielmariuss

Member
Mar 13, 2013
21
1
Timisoara
ClockMod Recovery

Hello,
We Galaxy S2 with CyanogenMod 12.1 ( Android 5.1.1 ) , when I made the update to 12.1, instead of ClockMod Recovery , got Cyanogen Recovery.
Now I want back ClockMod Recovery and do not know how to do, can you help me , please?
Thank you.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 116
    Hi mates,

    When we are flashing a Custom Rom from the CWM, we are normally instructed by the Devs only to do few steps on CWM like “Wipe Data/Factory Data Reset, Wipe Cache etc.. which we simply follow, but most of the people don’t know, including me, what these options and many other options of CWM are really standing for.

    When I googled, I could not find a thread which explains about these options in a single thread, so I would like to share with my friends about what I found the Common Options of the CWM here...

    Obviously these are commonly applicable for all the devices which are having CWM, but I am always concern about my favorite Galaxy S II. :D

    People who are completely new to Recovery and these options, I suggest them to read this thread first and give a thanks to it's author.
    What Is Recovery & Download Mode?

    The oder and segregation of the below items in the CWM menu may vary or some of them may be removed in different custom recoveries designed by respective Developer.

    CLOCKWORKMODE BASED RECOVERY MENU

    1) Reboot Menu :

    reboot system now

    This one is self-explanatory.

    2) Install Menu :

    choose zip from (internal/ external) 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.

    apply /sdcard/update.zip

    This one is essentially the same as the ‘apply update from sdcard’ option of the main menu. 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.

    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 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.

    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.

    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 (I don’t), it’s best not to change this option.

    3) Wipe Menu

    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. (see more about sd-ext below under partition)

    wipe cache partition

    This is a good practice to do this before flashing any ROM. The /cache partition just stores temporary files that are not critical to device operation and can be re-generated easily, this 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.

    Wipe Dalvik Cache

    Allows you to wipe the cache for the Dalvik virtual machine. The dalvik cache wipe is quite similar to cache wipe but it stores the post ran java applications. Since Android is JAVA based, it uses the same java virtual machine for compiling. The dalvik cache just stores post-compiled applications in order to speed up the system. Wiping this just forces the system to re-cache those application. It causes no problems but a slight hint of lag on first boot. This is required before most ROM installations and at other occasions too, for fixing some problems.

    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) Nandroid menu

    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.

    Backup

    Takes a Nandroid backup, as explained above.

    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.

    Advanced Restore (new options are available separately to restore from external or internal SDcard in the latest CWM)

    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.

    5) Storage menu

    mounts and storage

    Allows you to perform maintenance tasks on all the internal and external partitions of your android device

    mount/unmount /system, /data, /cache, /sdcard, /emmc.

    These options let you toggle between mounting or unmounting these respective partitions. Most users don’t need to change these options.

    format 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. See below more explanation about these partitions.

    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.

    6) Advanced

    This section contains a few options most users will not require, Here are the options from this section:

    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.

    Key Test

    Lets you press any of the hardware keys to see if they are properly functioning, and to see their key codes.

    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!

    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.

    PARTITIONS :

    The Android uses several partitions to organize files and folders on the device. Each of these partitions has a distinct role in the functionality of the device, but not many Android users know the significance of each partition and its contents. In this guide, we will take you on a tour of Android partitions, what they contain and what can be the possible consequences of modifying their content.
    Let’s start with a list of standard internal memory partitions on Android phones and tablets. These are:

    • /boot
    • /system
    • /recovery
    • /data
    • /cache
    • /misc

    In addition, there are the SD card partitions.

    • /sdcard
    • /sd-ext

    Note that only /sdcard is found in all Android devices and the rest are present only in select devices. Let’s now take a look at the purpose and contents of each of these partitions.

    /boot

    This is the partition that enables the phone to boot, as the name suggests. It includes the bootloader and the kernel. Without this partition, the device will simply not be able to boot. Wiping this partition from recovery should only be done if absolutely required and once done, the device must NOT be rebooted before installing a new one, which can be done by installing a ROM that includes a /boot partition.

    /system

    This partition basically contains the entire operating system, other than the kernel and the bootloader. This includes the Android user interface as well as all the system applications that come pre-installed on the device. Wiping this partition will remove Android from the device without rendering it unbootable, and you will still be able to put the phone into recovery or bootloader mode to install a new ROM.

    /recovery

    The recovery partition can be considered as an alternative boot partition that lets you boot the device into a recovery console for performing advanced recovery and maintenance operations on it. We have already learnt about this partition and its contents above.

    /data

    Also called userdata, the data partition contains the user’s data – this is where your contacts, messages, settings and apps that you have installed go. Wiping this partition essentially performs a factory reset on your device, restoring it to the way it was when you first booted it, or the way it was after the last official or custom ROM installation. When you perform a wipe data/factory reset from recovery, it is this partition that you are wiping.

    /cache

    This is the partition where Android stores frequently accessed data and app components. Wiping the cache doesn’t effect your personal data but simply gets rid of the existing data there, which gets automatically rebuilt as you continue using the device.

    /misc

    This partition contains miscellaneous system settings in form of on/off switches. These settings may include CID (Carrier or Region ID), USB configuration and certain hardware settings etc. This is an important partition and if it is corrupt or missing, several of the device’s features will will not function normally.

    /sdcard

    This is not a partition on the internal memory of the device but rather the SD card. In terms of usage, this is your storage space to use as you see fit, to store your media, documents, ROMs etc. on it. Wiping it is perfectly safe as long as you backup all the data you require from it, to your computer first. Though several user-installed apps save their data and settings on the SD card and wiping this partition will make you lose all that data.

    On devices with both an internal and an external SD card – devices like the Samsung Galaxy SII – the /sdcard partition is always used to refer to the internal SD card. For the external SD card – if present – an alternative partition is used, which differs from device to device. In case of Samsung Galaxy S series devices, it is /sdcard/External_sd while in many other devices, it is /sdcard2. Unlike /sdcard, no system or app data whatsoever is stored automatically on this external SD card and everything present on it has been added there by the user. You can safely wipe it after backing up any data from it that you need to save.

    /sd-ext

    This is not a standard Android partition, but has become popular in the custom ROM scene. It is basically an additional partition on your SD card that acts as the /data partition when used with certain ROMs that have special features called APP2SD+ or data2ext enabled. It is especially useful on devices with little internal memory allotted to the /data partition. Thus, users who want to install more programs than the internal memory allows can make this partition and use it with a custom ROM that supports this feature, to get additional storage for installing their apps. Wiping this partition is essentially the same as wiping the /data partition – you lose your contacts, SMS, market apps and settings.


    Now whenever we install a ROM or mod that requires we to wipe certain partitions before the installation, we should be in a better position to know what we are losing and what not and thus, we’ll know what to backup and what not.

    Best Regards
    2
    Yep. Been done before a long time ago. Tho I do admire your initiative in putting the info together ;)
    1
    No Doubt this one should be on the top of this thread,

    What a simple and awesome explanation about the Recovery & Download mode, many thanks to pulser_g2

    I know, majority of users only need the simple steps and shortcuts, they don’t care what’s happening internally and theoretically, but some are really curious to know…

    Many thanks mate....
    1
    Awesome write up!! Brilliant!
    As you are so knowledgeable about CWM, perhaps I can ask you a question?

    When I do a backup, it says that no external SD card was found, so it skipped the external?
    When I check under mounts, the only option for the external SD card is to UNmount.... This would suggest that the card is mounted, correct?
    So how would I go about backing up the external card too?
    Thanks!

    Sent from my SGH-I727R using xda premium
    Thank you for your appreciation,
    I would like to express once again as I mentioned in the starting of the thread that this is only a humble effort of the undersigne that I searched for such information and combined at one place here....

    As far as I know about your problem of SD card storage, this is a compatibility issiue which varries on one custom recovery to another, also one SD card to another. such issues are fixed by developers in their latest versions of recoveries.

    I experienced once the same issue which was resolved when I changed my SD card.

    And my current (touch) recovery of Redpill v1.3 allows me to Backup and restore from external SD card with all available options flowlessly.

    Thanks
    1
    Zaheed, you are far too humble! Your post was brilliant, informative & timely.

    Sent From my Two Tin Cans & String Device on The Wookie Network