sry, I didn't know I'm a live supporter
You have to edit these lines:
Code:
ui_print "parted: create"
parted -s /dev/block/mmcblk0 mkpartfs primary ext2 336MB 1176MB || return 1
parted -s /dev/block/mmcblk0 mkpartfs primary ext2 1176MB 2016MB || return 1
parted -s /dev/block/mmcblk0 mkpartfs primary ext2 2016MB 2419MB || return 1
parted -s /dev/block/mmcblk0 mkpartfs primary ext2 2419MB 5570MB || return 1
these are just from-to values.
you can view your current partition table with this command to get an idea about which values you want to choose:
parted -s /dev/block/mmcblk0 print
Since you want 1.5 and 1gb(why? even full gapps will fit into 700-800mb) you may want to reduce the sdcard size and give it back to userdata.