[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] carmeloamg:
Back in the storage issue I found that the minimum set of apps and it dalvik uses almost 1.2 of 1.5GB available. I've to clarify that is not my phone, is my fathers one so it is really a lite set of apps.

Well the problem is that apps still growing in size in each update and sometimes there's not enough space for updating and starts the annoying notification. I also realised that approximately 150 MB of the system partition was unused so I decided to resize.

First I found that:

32 394MB 1967MB 1572MB ext4 system
33 1967MB 2229MB 262MB ext4 cache
34 2229MB 3873MB 1644MB ext4 userdata

System is not 843.9 MB I expected. But I just subtracted the few MB I though was ok. The result:

32 394264576B 1798832127B 1404567552B ext4 system
33 1798832128B 2060976127B 262144000B cache
34 2060976128B 3872915455B 1811939328B userdata

"Surprisingly" the result after booting into system was that user data partition grows a few MB and system partition still 843.9 MB with about 150MB free. So I decided to try to make user data partition much bigger and system partition much smaller. The result, close to 400 MB more for apps:

32 394MB 1374MB 980MB ext4 system
33 1374MB 1636MB 262MB ext4 cache
34 1636MB 3873MB 2237MB ext4 userdata

As long as I understand, the 843.9 MB of /system depends on CM. The 35 partitions of mmcblk0 depends on LG. I resized what LG did to fit better with CM. Maybe I've done some kind of sacrilege or maybe I've found a good way to improve the user experience.

I'm just a hobbyist, can a skilled developer say something about that? If what I've done is not totally wrong is it possible to "include it" in the build? For now everything is working great.

Regards!

PS: For those interested in how I did:

BIG RED WARNING: I'M NOT RESPONSIBLE OF WHAT HAPPENS TO YOUR DEVICE IF YOU FOLLOW THIS. PLEASE READ THE SOURCE AND DO IT IN YOUR OWN RISK.

MacBook-de-Carmelo:~ Carmelo$ adb reboot recovery
MacBook-de-Carmelo:~ Carmelo$ adb root
adbd is already running as root
MacBook-de-Carmelo:~ Carmelo$ adb push /Users/Carmelo/Downloads/parted /sbin
5217 KB/s (346680 bytes in 0.064s)
MacBook-de-Carmelo:~ Carmelo$ adb shell
~ # chmod 764 /sbin/parted
~ # parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) unit b
unit b
(parted) p
p
Model: MMC H4G1d (sd/mmc)
Disk /dev/block/mmcblk0: 3909091328B
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 4194304B 71303167B 67108864B fat16 modem
2 71303168B 72351743B 1048576B sbl1
3 72351744B 72876031B 524288B rpm
4 72876032B 73400319B 524288B tz
5 73400320B 73924607B 524288B sdi
6 73924608B 76021759B 2097152B aboot
7 76021760B 76546047B 524288B rpmb
8 76546048B 77070335B 524288B tzb
9 77070336B 79167487B 2097152B abootb
10 79167488B 81264639B 2097152B pad
11 81264640B 84410367B 3145728B modemst1
12 84410368B 87556095B 3145728B modemst2
13 87556096B 104333311B 16777216B misc
14 104857600B 138412031B 33554432B ext4 persist
15 138412032B 161480703B 23068672B laf
16 163577856B 186646527B 23068672B boot
17 186646528B 209715199B 23068672B recovery
18 209715200B 212860927B 3145728B fsg
19 213909504B 214433791B 524288B fsc
20 214433792B 214958079B 524288B ssd
21 218103808B 218628095B 524288B DDR
22 222298112B 222822399B 524288B encrypt
23 222822400B 223346687B 524288B rct
24 226492416B 234881023B 8388608B ext4 drm
25 234881024B 243269631B 8388608B ext4 sns
26 243269632B 264241151B 20971520B factory
27 264241152B 297795583B 33554432B fota
28 297795584B 298844159B 1048576B sbl1b
29 298844160B 332398591B 33554432B ext4 mpt
30 335544320B 387973119B 52428800B ext4 cust
31 390070272B 390594559B 524288B eksst
32 394264576B 1966604287B 1572339712B ext4 system
33 1966604288B 2228748287B 262144000B ext4 cache
34 2228748288B 3872915455B 1644167168B ext4 userdata
35 3875536896B 3909074431B 33537536B grow

(parted) rm 32
rm 32
(parted) rm 33
rm 33
(parted) rm34
rm34

(parted) mkpart primary 394264576 1374158847
mkpart primary 394264576 1374158847
(parted) mkpart primary 1374158848 1636302847
mkpart primary 1374158848 1636302847
(parted) mkpart primary 1636302848 3872915455
mkpart primary 1636302848 3872915455

(parted) name 32 system
name 32 system
(parted) name 33 cache
name 33 cache
(parted) name 34 userdata
name 34 userdata

(parted) quit
quit
Information: You may need to update /etc/fstab.

~ # mke2fs -t ext4 /dev/block/mmcblk0p32
mke2fs 1.42.9 (28-Dec-2013)
Discarding device blocks: done
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
85888 inodes, 342912 blocks
17145 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=352321536
11 block groups
32768 blocks per group, 32768 fragments per group
7808 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

~ # mke2fs -t ext4 /dev/block/mmcblk0p33
mke2fs 1.42.9 (28-Dec-2013)
/dev/block/mmcblk0p33 is apparently in use by the system; will not make a filesystem here!
~ # mke2fs -t ext4 /dev/block/mmcblk0p34
mke2fs 1.42.9 (28-Dec-2013)
/dev/block/mmcblk0p34 is apparently in use by the system; will not make a filesystem here!
~ # exit

MacBook-de-Carmelo:~ Carmelo$ adb reboot recovery
MacBook-de-Carmelo:~ Carmelo$ adb root
adbd is already running as root
MacBook-de-Carmelo:~ Carmelo$ adb shell
~ # mke2fs -t ext4 /dev/block/mmcblk0p33
mke2fs 1.42.9 (28-Dec-2013)

Warning: the fs_type small is not defined in mke2fs.conf

Discarding device blocks: done
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
16000 inodes, 64000 blocks
3200 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=67108864
2 block groups
32768 blocks per group, 32768 fragments per group
8000 inodes per group
Superblock backups stored on blocks:
32768

Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

~ # mke2fs -t ext4 /dev/block/mmcblk0p34
mke2fs 1.42.9 (28-Dec-2013)
Discarding device blocks: done
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
110656 inodes, 442368 blocks
22118 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=452984832
14 block groups
32768 blocks per group, 32768 fragments per group
7904 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
~ # exit

MacBook-de-Carmelo:~ Carmelo$ adb reboot recovery

Then I pushed the CM13 flashable zip and flashed using TWRP.

Source: http://iwf1.com/how-to-re-partition...all-options-included-change-size-fs-type-etc/