Author Topic: [RECOVERY][CWM] Version 5 w/ext4 support  (Read 3979 times)

0 Members and 1 Guest are viewing this topic.

[RECOVERY][CWM] Version 5 w/ext4 support

« on: November 30, 2012, 02:58:33 PM »
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Phydeux

    Posts: 552
    User Rating: +177/-3
    Rom Developer -- Network Admin -- Forum Admin
    Offline
    • VIP Member
    • *
    • Hero Member
    • Personal Text
      Let me know. I appreciate help.
    NOTE*** This version is outdated. Find the 100% working CWM5 for the Z990 in this forum ****
    Links for this version are removed
    Here it is:

    Version 5.0.2.8 fixed Z990 CWM Recovery w/ext4 filesystem support

    NOTE: ***usbmount STILL not functional *** All other options work fine.


    There are 3 different files:

    The "temporary zip" file, for those are not rooted, or just want to "try it out"

    The "recovery.img" file for rooted/permanent flash.

    The ext4/swap enabled kernel (Please flash to take advantage of the recovery)

    ===============================

    Notes:

    To take fullest advantage of this build, and to be able to restore sd-ext portions of backups, your sdcard must be partitioned as 2MB or less ext, swap size whatever you want.

     I do not think the CWM Recovery formats the sd-ext partition as ext4 (If it does, or not, PLEASE let me know. I always format from the PC).

    The swap partition is for the 'new' kernel.


    ===============================

    Installation:


    For "temporary" zip:

    Download the temporary zip file and the z990-ext4-swap-kernel.zip
    Save to your sdcard (Not in a folder)
    Rename file to "update.zip"
    Boot into your regular recovery (VOL UP+MENU+POWER until the recovery shows, then release all buttons. 5 seconds, about)
    Use VOL button to select "update.zip", then press BACK button.
    When new CWM Recovery comes up, select "install zip from sdcard", press HOME
    -"choose zip from sdcard"
    -- "z990-ext4-swap-kernel.zip"
    Backup, restore, whatever you need to do

    There you go. new kernel is flashed, and next time you go to Recovery, it will still be stock (repeat the "update.zip" to get the CWM recovery back)


    For Permanent/Rooted install:

    Download the ext4-CWM5recovery.img and z990-ext4-swap-kernel.zip
    Save to your sdcard
    Enter terminal (or ADB shell)
    type :
    Code: You are not allowed to view links. Register or Login
    su
    flash_image recovery /sdcard/ext4-CWM5recovery.img
    reboot recovery

    When the new CWM pops up, flash the z990-ext4-swap-kernel.zip

    Do whatever else you need to.

    Recovery stays as CWM
    ======================

    Files:

    LINKS REMOVED. 100% WORKING CWM posted in this forum

    ====================================

    Work to do:

    Get  usbmount working. (The files are there, just CWM refuses to get them)
    « Last Edit: December 08, 2012, 10:57:53 AM by Phydeux »
    • Custom
    • Samsung Galaxy Exhilarate i577
    • Clock Work Mod
    • AreaRom X
    • Rooted-Rom
    Donations are appreciated!

    Phydeux's PayPal email:
    You are not allowed to view links. Register or Login

    AndroidArea51 PayPal email:
    You are not allowed to view links. Register or Login




    Re: [RECOVERY][CWM] Version 5 w/ext4 support

    « Reply #1 on: December 01, 2012, 12:48:23 AM »
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Phydeux

    Posts: 552
    User Rating: +177/-3
    Rom Developer -- Network Admin -- Forum Admin
    Offline
    • VIP Member
    • *
    • Hero Member
    • Personal Text
      Let me know. I appreciate help.
    MORE NOTES BEFORE INSTALLING

    To take FULL advantage of what this recovery offers, you need to have a ext4 and swap enabled kernel installed (As far as I know, the kernel I compiled, and that you can download above,  is currently the only one to offer this for the Avail/Merit Z990)

    ================================

    ext4 sd-ext

    If you partition the sdcard in this CWM, please choose a sd-ext partition of 2GB or less. Why? Because for most other operations, the "format" program included in CWM fails with extX partitions larger than 2GB, and so, you cannot 'restore' your backups. It WILL create the nandroid of this partition, but it will not restore it.

    Also, CWM will only create a ext3 partition. Why this is, I'm looking into it. As a work around, if you need a ext4 sd-ext, you need do change the ext3 to a ext4. How you do this, depends on your OS.

    Since I use Linux (Ubuntu) almost exclusively, I know only how to do this in Linux. If you use another OS, Google how to "change ext3 to ext4 <OSNAME>". Ex: "ext3 to ext4 Windows"

    In linux, have the sdcard attached to your system. Then, open a terminal (your choice how to do this), and type:
    Code: You are not allowed to view links. Register or Login
    $:sudo mountLook for the line that describes the sdcard ext partition mount point (in my case, it is /dev/sdb2)

    With this information, you can now type: (REPLACE <MOUNTPOINT> WITH YOUR DEVICE (Ex: sdb2)
    Code: You are not allowed to view links. Register or Login
    sudo tune2fs -O extents,uninit_bg,dir_index /dev/<MOUNTPOINT>This will "convert" your sd-ext partition (which was created by CWM as a ext3 format), into a ext4 formatted partition, without losing any data on it

    NOTE: If you had a previous nandroid backup that had a ext3 sd-ext partition data on it, CWM will reformat the sd-ext to ext3. Blame CM for this "feature"

    ======================================

    Swap Partition

    Why a swap partition? It can help when you have a bunch of apps open/running, and you need the extra "room"

    While it is true that this 'can' reduce the 'r/w life' of your sdcard, the amount that it can/does change it is negliable.

    Like, one month less over 10+ YEARS of life.

    I prefer the 'extra' room for my phone to run.

    Up to you. Any size you want. Of course, the faster "class" of sdcard you have, the better.

    Read up on swap in Android by Googling it (I won't get into how to really take advantage of this feature. It is a many optioned thing to try to explain)

    (BTW, I use 'swapper2' from the Play Store, with advanced option "use swap partition' enabled)


    =========================================================

    ext4/swap kernel

    Install this kernel. Really. It is a Stock kernel, no changes EXCEPT for adding ext4 and swap, built from ZTE Z990 source code. It's about as stock as you can get without going to the stock rom on the phone, but ext4 and swap added.

    If you install CWM, you REALLY need this kernel, or you have no advantages at all over any other recovery.

    If you DON'T install CWM, the added options of this kernel will not interfere with your 'stock' phone at all (custom ROMs may, or may not like it. I don't know.). If you don't have a ext4 partition, and have a ext3 one instead, it will actully help a little, due to 'better' filesystem management over the 'regular' ext3. If you don't have a swap partition, it will ignore that part.

    So, really, installing the kernel has no downsides.

    If you want to install the kernel, and not permanently install this CWM, flash the "update.zip" from the OP, flash the kernel.zip, and you're done.

    ==============================

    DISCLAIMER:

    As always, if you use these programs, neither myself nor AndroidArea51 and it's personnel are responsible for :
    Loss of Data
    Loss of Phone (Bricking)
    ANY damage
    Chickens flying
    Bacon disappearing from your fridge, and the dog mysteriously getting fat

    ==============================


    Please, comments are welcome.
    « Last Edit: December 01, 2012, 01:53:39 PM by Phydeux »
    • Custom
    • Samsung Galaxy Exhilarate i577
    • Clock Work Mod
    • AreaRom X
    • Rooted-Rom
    Donations are appreciated!

    Phydeux's PayPal email:
    You are not allowed to view links. Register or Login

    AndroidArea51 PayPal email:
    You are not allowed to view links. Register or Login




    Re: [RECOVERY][CWM] Version 5 w/ext4 support

    « Reply #2 on: December 01, 2012, 01:54:22 PM »
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Phydeux

    Posts: 552
    User Rating: +177/-3
    Rom Developer -- Network Admin -- Forum Admin
    Offline
    • VIP Member
    • *
    • Hero Member
    • Personal Text
      Let me know. I appreciate help.
    Post #1 and #2 updated
    • Custom
    • Samsung Galaxy Exhilarate i577
    • Clock Work Mod
    • AreaRom X
    • Rooted-Rom
    Donations are appreciated!

    Phydeux's PayPal email:
    You are not allowed to view links. Register or Login

    AndroidArea51 PayPal email:
    You are not allowed to view links. Register or Login




    Tags:
     

    Related Topics

      Subject / Started by Replies Last post
    1 Replies
    2018 Views
    Last post December 10, 2012, 06:33:30 AM
    by Phydeux
    2 Replies
    2722 Views
    Last post December 01, 2012, 01:54:54 PM
    by Phydeux
    30 Replies
    18335 Views
    Last post March 21, 2013, 11:29:07 AM
    by Phydeux
    29 Replies
    11454 Views
    Last post April 05, 2013, 11:28:28 AM
    by attrue
    6 Replies
    5207 Views
    Last post December 10, 2012, 06:21:36 AM
    by Phydeux
    27 Replies
    21860 Views
    Last post November 06, 2013, 07:24:23 PM
    by Motorhead