Convert RFS partitions to linux filesystems
C Shell C++ D
Switch branches/tags
Nothing to show
Pull request Compare This branch is 7 commits ahead of z4:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
initramfs
repacker
updates
README
TODO
z4build.sh
z4version
z4zipgen.sh

README

################################################################################
                                      _  _
                                  ___| || |
                                 |_  / || |_
                                  / /|__   _|
                                 /___|  |_| mod
                                 by Elia Yehuda
                                 (c) 2010 GPLv2

################################################################################

z4mod started as a modest idea - as  a new Android user I wanted to ditch RFS in
favor of  a real filesystem. But  thanks to the  great support of XDA  users and
testers, z4mod  grew and evolved, and  it is now  a very ambitious project  - To
allow any  kernel be rooted, patched, customized,  and yes - replace  RFS with a
filesystem of your choice. z4mod aim  is to provide standards to the choatic SGS
platform.

z4mod is a set of three seperate utilities:

+ An  automated kernel patch that will  allow the kernel to  mount partitions to
  filesystems  other  than RFS.
+ Android   recovery  scripts  to  convert  the partitions  from  RFS  to  other
  filesystems - "update.zip" files.
+ A z4mod apk to apply a lagfix.

The online  kernel patcher aims to  allow anyone without any  knowledge of linux
the ability to patch a devices kernel in a simple manner. It also provides users
with an easy to use web interface tool to create customized update.zip files.

################################################################################

Howto use:


  Patching the kernel.

  Set the cross compiling toolkit prefix

$ export CROSS_COMPILE=/path/to/arm-android-eabi-
  
  If building for an ARM v6 device (Samsung Galaxy 3, Spica, etc.)

$ export ARM_VERSION=6

To patch a zImage file and enable non-RFS mounts on it, use:

$ ./z4build.sh

The above command will show you the usage help. Usually you will use z4build
like this:

$ ./z4build.sh zImage recovery root

The above command will patch the zImage kernel, and add a new recovery binary,
followed by adding 'root' functionality to the zImage.



  Creating update.zip for converting. 

To create update.zip file use:

$ ./z4zipgen.sh

This will show you the usage help. Usually you will use z4zipgen.sh
like this:

$ ./z4zipgen.sh ext2 root busybox

This will create an update.zip file which will convert the RFS filesystem to
ext2 and install root and busybox to the target system.