Results 1 to 11 of 11
  1. Thread Author  Thread Author    #1  
    john_v's Avatar

    Posts
    595 Posts
    Global Posts
    1,710 Global Posts
    ROM
    Rooted Stock

    Default [How to] Install and Use Clockworkmod Recovery w/Screen captures (Mesmerize)

    Post #1 = Index
    Post #2 = FAQs
    Post #3 = Installing and controling Clockwork
    Post #4 = Wiping Data,cache partition, and Dalvik cache
    Post #5 = Flashing a zip file (ex.Roms,themes,kernels and apps)
    Post #6 = Nandroid Backup and Restore
    Post #7 = Fixing Permissions
    Post #8 = Wiping Battery Stats
    Post #9 = Enable and Disable Voodoo Lagfix
    Post#10= Credits

    For Mac OS X instructions please visit this thread Please note that this is for instructional purposes only for using Mac; DO NOT install any fascinate ROM on your Mesmerize as they are not compatible
    Last edited by Runs with scissors; 03-30-2011 at 11:01 AM.
    Thanked by:
  2. Thread Author  Thread Author    #2  
    john_v's Avatar

    Posts
    595 Posts
    Global Posts
    1,710 Global Posts
    ROM
    Rooted Stock

    Default FAQ's

    ****************************************************
    Installing and using Clockworkmod recovery as any other hacking is done at your own risk, I nor Android Central are
    responsible for anything that users do to their phone. That being said, Have fun

    ****************************************************

    Q: What is ClockworkMod Recovery(aka CWM or clockwork)?
    A: ClockworkMod Recovery is a custom recovery that allows you to install custom ROMs, themes, patches,applications and more.It can also be used to do many other fuctions which the most commonly used will be outlined in this tutorial. It was developed by . The mose recent versions have been modified byover at the XDA forums to work with all versions of fascinate builds.

    Q:I just downloaded Rom Manager from the market but clockworkmod recovery is not working?
    A:At the moment the latest versions of clockworkmod recovery are orange with build numbers 3.x.x. Unfortunatley this can not be used because in order to install any flashable .zip file a script of code is required to direct the installation. At the moment almost everything written for Mesmerize has been written in a language called Amend. The most recent version 3.x.x only accepts a language called Edify, in previous versions of clockwork (anything under 3.x.x) were compatible with both Amend and Edify. There are also other limitations why Rom Manager can not be used but i dont understand them nor will i pretend i do, but honestly does it really matter? Lets just focus on what works. While the devs take care of finding a way to make it work.

    Q: What is the best most recent version of clockworkmod?
    A: Currently the latest and greatest version of clockworkmod is Red CWM ALL. There are instructions and downloads in post #2 of this thread.

    Q: Will i lose anything by installing Clockwork?
    A: No, when flashing the kernel required to make clockwork possible it flashes to its own partition on the phone and does not touch anything that has to do with data or the OS.

    Q: Do i need to root to install clockwork?
    A: No, clockwork can be installed via odin and root is not required. If flashing it from Rom Manager yes root is required but as discussed earlier at the moment flashing from rom manager is not effective or recommended.

    Q: Does having clockwork void my warranty?
    A: As always , Yes and no. if you are caught then most likely but if you are at the point of flashing clockwork then you are savvy enough to use Odin to flash a stock rom and problem is solved.
    Last edited by Runs with scissors; 03-30-2011 at 11:01 AM.
    Thanked by:
  3. Thread Author  Thread Author    #3  
    john_v's Avatar

    Posts
    595 Posts
    Global Posts
    1,710 Global Posts
    ROM
    Rooted Stock

    Default Installing and Controlling Clockwork

    Installing Clockwork:
    In this section i will only be discussing installing and controlling CWM ALL

    DO NOT USE ROM MANAGER, IT IS MORE CONFUSION THAN IT'S WORTH SINCE IT IS NOT FULLY FUNCTIONAL SEE FAQ ABOVE

    Red CWM ALL:is fully functional clockwork recovery that does not require update.zip, it will boot into clockwork directly without going through stock recovery.Installation requries Odin, there are other ways but they require much more work and knowledge of adb. But for this tutorial i will only provide instructions from Odin and from a previous version of clockwork

    Installing CWM ALL instructions and downloads

    Installing with odin:
    1. Download and intsall the Mesmerize drivers found
    2. Download the ODIN file
    3. If your phone is plugged into your computer, unplug it now.
    4. If your phone is not powered down, power it down now.
    5. Remove battery from phone.
    6. Launch ODIN on PC.
    7. Plug USB cable into phone.
    8. Plug your Mesmerize into the PC via USB cable.
    9. Press and hold the volume-down key.
    10. You should now see a gigantic yellow triangle and your phone will be in download mode. You can now release the volume key.
    11. Click on the PDA button in ODIN. Do NOT click the Phone button.
    12. Choose the file cwm-recovery-ALL.tar which can be downloaded
    13. When all the above conditions have been met hit the Start button


    Installing from older versions of clockwork only
    1. Download CWM flashable zip
    2. Place on the root of your SD card
    3. Boot into recovery
    4. apply sdcard:update.zip
    5. enter clockwork recovery
    6. choose install zip from sd
    7. choose cwm-recovery-ALL.zip
    8. Reboot your phone
    9. delete update.zip from root of SD card
    10. aslo delete recovery-update.zip from clockworkmod folder


    Entering clockwork recovery ALL
    With the phone off press and hold Volume up+Volume down+Power button.
    Samsung logo will flash twice, after the second one let go of the buttons.
    This will lead you into clockwork.

    Entering clockwork recovery from a custom ROM
    If you are using a custom rom it is usually standard for a boot menu added.
    You can get to it by holding down the power button for about 5seconds.



    Controlling Clockwork:

    Stock Recovery
    Volume up and down = Scroll up and down
    Menu= Screen sleep
    Home= Select
    Red Clockwork
    Volume up and down = Scroll up and down
    Menu= Back / Screen sleep
    Home= Screen sleep
    Back= Select
    Power= Select
    Search= Back
    Last edited by Runs with scissors; 04-04-2011 at 06:41 AM.
    Thanked by:
  4. Thread Author  Thread Author    #4  
    john_v's Avatar

    Posts
    595 Posts
    Global Posts
    1,710 Global Posts
    ROM
    Rooted Stock

    Default Wiping Data,cache partition, and Dalvik cache

    Wiping Data:
    This will erase all contacts apps and any other data on the phone
    Wiping data is usually done before flashing a Rom.
    Necessary when moving from build to build for example: Eclair to Froyo.
    Not as necessary when moving from Rom to Rom within the same build.
    Although not always necessary consider this as a solutions if wiping cache and dalvik cache when force close loops happen.

    To initiate a data wipe from clockwork



    *******************************************************************************************************


    Wiping Cache partition:
    This will not erase any contacts or apps.
    This should be done everytime a new rom is flashed.
    If caught in a force close loop it is usually a good idea to go back and wipe cache again

    To initiate a Cache partition wipe from clockwork



    ********************************************************************************************************
    Wiping Dalvik Cache:
    This will not erase any contacts or apps.
    Although not necessary to be done before every rom it is a good idea to wipe.
    Dalvik cache can grow very large the more apps you had before flashing the new rom
    the longer it will take to boot the new one as it will build upon the already large Dalvik cache.
    So making it a habit to wipe dalvik cache can only help you .

    To initiate a Dalvik cache wipe from clockwork
    Last edited by Runs with scissors; 03-30-2011 at 11:02 AM.
    Thanked by:
  5. Thread Author  Thread Author    #5  
    john_v's Avatar

    Posts
    595 Posts
    Global Posts
    1,710 Global Posts
    ROM
    Rooted Stock

    Default Flashing a zip file (ex.Roms,themes,kernels and apps)

    Flashing a zip file:
    Zip files can be flashed for many different reasons such as applying roms, themes, kernels and applications.
    Before flashing a zip file you must make sure that the file is for your particular device and will be compatible
    with the current build you are on.
    When flashing a zip wiping data or cache is usually not necessary, Unless you are flashing a Rom then wiping data or cache may be necessary(see post #4)

    When flashing Voodoo you must enable lagfix before rebooting the system (see post #9)

    To flash a zip file from clockwork
    Last edited by Runs with scissors; 03-30-2011 at 11:03 AM.
    Thanked by:
  6. Thread Author  Thread Author    #6  
    john_v's Avatar

    Posts
    595 Posts
    Global Posts
    1,710 Global Posts
    ROM
    Rooted Stock

    Default Nandroid Backup and Restore

    Nandroid Backup/Restore:
    This is a backup that takes a snapshot of your operating system, your data and settings.
    This is similar to a restore point on a desktop computer.
    It is an excellent tool if you like to flash roms on your device and you run into trouble.
    A nandroid restore will bring you back to the state your phone was in at the time you made the backup.
    It is important to note that a Nandroid backup does not backup/restore your kernel or modem,
    so its important to be aware that you may have to flash a compatible modem and kernel to restore full functionality to your device.
    Backups can be renamed by either using a file manager on your phone or mounting your card to your computer.
    sdcard>clockwork>backup> then rename the back up of your choice.



    To create a Nandroid Backup



    To restore from a Nandroid Backup
    Last edited by Runs with scissors; 03-30-2011 at 11:03 AM.
    Thanked by:
  7. Thread Author  Thread Author    #7  
    john_v's Avatar

    Posts
    595 Posts
    Global Posts
    1,710 Global Posts
    ROM
    Rooted Stock

    Default Fixing Permissions

    Permissions:
    When your phone boots up for the first time and apps are installed they create a corresponding data folder these folders are assigned a User ID. which the app apk becomes owner of. the ID is assigned in installation order.
    Now if for some reason a data folder goes missing as in deleted or corrupted these UID's are regenerated but since they are not doing it in installation order the system instead assigns the ID in alphabetical order.. When this is done the data folders no longer match the application. So when the apk goes to look for its data it finds something that has nothing to do with it. BOOM force close city. We usually fix this by wiping data and letting the apk's reinstall thereby recreating its data folders and reassigning UID's .
    when you fix permissions the system goes and corrects this alphabetical mismatch. And you are back to normal. Here is a visual representation of this



    How a Malicious app with root access could theoretically use permissions:
    A malicious app could in theory create a Group ID and be a Co-owner of a particular UID, therefore retrieving whatever is created in the original data folder. Here is a visual of what this would look like



    Fixing Permissions:
    Unfortunatly on both Red clockwork's cwm froyo and cwm ALL fix permissions option is broken.
    In order to fix permissions you must do it through either ADB commands or from a terminal emulator.

    Before being able to use either method to fix permisions you must flash via clockwork (see post #5 flashing a zip)

    All methods require superuser permissions (Root)

    Fixing from terminal emulator
    Download any free Terminal Emulator from the market. Here is the one i use
    Android Market=
    AppBrain=


    from the prompt($) type

    $su

    (superuser app may ask to allow permission, hit allow. this will change $ to # then)
    then type

    #fxpms

    it should look similar to this



    Fixing with ADB commands
    If you dont know how to use adb you can follow this tutorial http://forum.androidcentral.com/gene...quick-adb.html and get familiar with it.
    I'm assuming if you are attempting to use adb that you know the basics.

    Option 1) from command prompt

    >adb shell fxpms



    Option 2)from command prompt

    >adb shell

    #fxpms

    Last edited by Runs with scissors; 03-30-2011 at 11:04 AM.
    Thanked by:
  8. Thread Author  Thread Author    #8  
    john_v's Avatar

    Posts
    595 Posts
    Global Posts
    1,710 Global Posts
    ROM
    Rooted Stock

    Default Wiping Battery Stats

    Wiping battery stats:
    When flashing roms data is not always wiped. After numerous flashes it is possible for the battery % to be slightly off.
    Best way of restting this is to shut your phone off and charge till it is fully charged. Then boot directly into clockwork recovery.

    Wiping battery stats

    Last edited by Runs with scissors; 03-30-2011 at 11:04 AM.
    Thanked by:
  9. Thread Author  Thread Author    #9  
    john_v's Avatar

    Posts
    595 Posts
    Global Posts
    1,710 Global Posts
    ROM
    Rooted Stock

    Default Enable and Disable Voodoo Lagfix

    Enable and Disable Voodoo Lagfix:
    After flashing a voodoo kernel lagfix will usually intiate conversion itself but this is not always the case,
    the best way to ensure conversion will initiate is to enable lagfix.
    When flashing a nonvoodoo kernel after your phone has converted lagfix,
    it is Highly recommended to disable lagfix first.
    To learn more about Voodoo please join this discussion http://forum.androidcentral.com/veri...ar-2011-a.html

    Enabling Lagfix
    After flashing a voodoo kernel (see post #5 how to flash) Lagfix should be enabled before reboot.



    Disabling Lagfix
    Before flashing a nonvoodoo kernel to a lagfixed enabled system lagfix needs to be disabled. After it is disabled fully reboot your system then you can power down, boot back into clockwork recovery and flash your new kernel.

    Last edited by Runs with scissors; 03-30-2011 at 11:05 AM.
    Thanked by:
  10. Thread Author  Thread Author    #10  
    john_v's Avatar

    Posts
    595 Posts
    Global Posts
    1,710 Global Posts
    ROM
    Rooted Stock

    Default

    Credits
    • Android Central Adviser DroidXcon for allowing me to use his write-up from the fascinate and helping me tweak it for the Mesmerize. If you use the info here to make your phone really rock, show your appreciation and buy DroidXcon a coffee.
    • Android Central Adviser Adrynalyne for all his contributions including the fix for Fixing permissions
    • Android Central Administrator Jerry Hildenbrand for the support in understanding Permissions
    • Android Central Member Braydon525 for providing a method of installing clockwork on the Mac OS X platform
    • Android Central Member gunnermike53 for providing a thread on http://forum.androidcentral.com/veri...ar-2011-a.html
    • Android Central Member Landshark for inspiring many of the directions in this thread
    • and for all their development efforts of Clockworkmod
    Last edited by Runs with scissors; 03-30-2011 at 11:05 AM.
    Thanked by 2:
  11. #11  

    Default

    I have it to where the red Clockwork screen appears but no matter which option is pressed, just a black screen appears forever.

    Any ideas?

Posting Permissions