avatar
Welcome guest, please
Did you miss your activation email?

Ingresar con nombre de usuario, contraseña y sesión.

Author Topic: [RECOVERY][CWM] Version 5 w/ext4 support  

Topic Modified: 08/12/12 (10:57) am
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: [Select]
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)

Offline Phydeux

  • Rom Developer -- Network Admin -- Forum Admin
  • Co-Admin
  • Posts: 544
  • User Rating: +166/-2
  • Let me know. I appreciate help.
Information topic
  • Date: 30/11/12
  • Time: 02:58 pm
  • Number of visits: 3124
  • Number of Replies: 2
  • Topic Approved: Yes
  • Topic Sticky: No
  • Topic Locked: No
  • Poll: No
  • Modified by: Phydeux

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

« Reply #1 » Published on:December 01, 2012, 12:48:23 am

Offline Phydeux

  • Rom Developer -- Network Admin -- Forum Admin
  • Thank You
  • Given: 8    Received: 100
  • Posts: 544
  • User Rating: +166/-2
  • Let me know. I appreciate help.
  • Hero Member
  • *
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: [Select]
$: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: [Select]
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:
cwwilson721@yahoo.com

AndroidArea51 PayPal email:
aa51@androidarea51.com




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

« Reply #2 » Published on:December 01, 2012, 01:54:22 pm

Offline Phydeux

  • Rom Developer -- Network Admin -- Forum Admin
  • Thank You
  • Given: 8    Received: 100
  • Posts: 544
  • User Rating: +166/-2
  • Let me know. I appreciate help.
  • Hero Member
  • *
Post #1 and #2 updated
  • Custom
  • Samsung Galaxy Exhilarate i577
  • Clock Work Mod
  • AreaRom X
  • Rooted-Rom
Donations are appreciated!

Phydeux's PayPal email:
cwwilson721@yahoo.com

AndroidArea51 PayPal email:
aa51@androidarea51.com




Tags:



Related Topics

  Subject / Started by Replies Last post
1 Replies
1511 Views
Last post December 10, 2012, 06:33:30 am
by Phydeux
2 Replies
2101 Views
Last post December 01, 2012, 01:54:54 pm
by Phydeux
30 Replies
14056 Views
Last post March 21, 2013, 11:29:07 am
by Phydeux
29 Replies
9783 Views
Last post April 05, 2013, 11:28:28 am
by attrue
6 Replies
4063 Views
Last post December 10, 2012, 06:21:36 am
by Phydeux
27 Replies
12268 Views
Last post November 06, 2013, 07:24:23 pm
by Motorhead

Back to top