A look at COMMON_SYS_CONFIG000000

This controls the partitions and which files are used to write to them. Click here to see my file.

The most interesting thing is the ability to control partition size. There are several entries in the file like below:

;------------------------------>nandd, android real rootfs 
[partition3]
    class_name  = DISK
    name        = system
    size_hi     = 0
    size_lo     = 393216
    user_type   = 0
    ro          = 0

To change the size of the partition, change the size_lo value to suit. The units are in blocks of 1024 bytes. If you do this on a partition which has a sparse ext4 image in the Livesuit files, make sure to repack the sparse ext4 image for the new partition size.

Back to index