[Q]Checking interest: ext4 mod

Search This thread

TheManii

Wiki Admin / Inactive RC
Dec 8, 2010
3,585
1,651
I've been playing around with the CM-mod/S7 and can sucessfully make it boot with all ext4 partitions.


Backround information:
Parititions and formatting
  • Partitions are the basic unit of storage on my devices with storage (think C: D: E: if you use windows)
  • The standard layout of android devices:
    • A /cache partition
    • A /data partition
    • A /system partition
    • Other hidden partitions (this part isnt relevent to us)
  • The common filesystem formats for recent android devices are EXT 3 and 4 (4 being the newer obviously)
  • The S7's default partitions:
    • stock 3xx: (ie froyo)
      • /cache: ext3(?)
      • /data: ext3(?)
      • /system: ext2
    • stock 5xx: (ie honeycomb)
      • /cache: ext3
      • /data: ext3
      • /system: ext4
    • my ext4 mod:
      • /cache: ext4
      • /data: ext4
      • /system: ext4
  • All other devices that launched with HC installed use all ext4 partitions.
  • But the S7 didnt launch with HC, it launched with froyo.
    • Dell couldnt upgrade /data to ext4 without wiping user data.
    • They could upgrade system, since they wipe it on install anyway.
    • Cache they didnt for the outside chance a user had actual important data in it.


My proposal
What I propose is a modified version of CM9-mod with /cache and /data formatted as ext4 partitions.

I've already got a working version, the main issue is that:
I dont know what the difference is. I've ran quadrant with ext4 and again with ext4, and there's very little difference.
Since quadrant has an I/O and database benchmark (and they run on /data), at least it shows that there's only 1% change in scores.

Would anyone actually be interested in using an ext4 mod?

There are some downsides (depending on how you view it):
  • ext3 and ext4 nandroids arnt compatable
  • You will need to do a fac reset on first install (as it reformats)
  • You will need seperate versions of CM9-mod and CWM
 

TheManii

Wiki Admin / Inactive RC
Dec 8, 2010
3,585
1,651
Yea that's what I did, along with a CWM recovery.fstab mod.

But like I said I havnt really noticed any changes in quad, and it's using /data for it's tests
 

giveen

Senior Member
Jul 6, 2010
2,174
1,560
Caldwell, ID
As soon as I get wifi up and working on cm10, going to see if there is any benefit to switching

Sent from my Nexus 7 using Tapatalk 2