Finally found a pit file with a 1GB system partition. Now able to install full gapps on CM12.
If anyone is interested this procedure is actually quite simple on a Mac (but use at own risk as per usual). I assume you are already very familiar flashing roms:
1. Grab the necessary pit files (
http://forum.xda-developers.com/gal...ivatives/mod-increase-partition-size-t3011162 - download the pit_files.zip).
2. Grab a custom recovery (
http://downloadandroidrom.com/file/GalaxyS2/recovery/CWM-KitKatCompatible-i9100.tar). Extract it to the same folder as your pit files (there should be a file called zImage).
3. Make sure you have downloaded your custom ROM and appropriate gapps file to your external SD card or you are familiar with adb to you can push it to your device after partitioning. There will be nothing on your device after the repartition so saving your ROM to the device beforehand will not help.
4. Make sure you have Heimdall installed (
https://github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-suite-1.3.2-mac.dmg).
5. If you need to backup your device, do so. Repartition will erase everything on your internal SD.
6. Switch off your device and then start up in Download mode (VolDown + Home + Power). Continue by pressing VolUp.
7. Plug in USB cable into your phone and Mac.
8. Fire up a terminal on your Mac.
9. Check that Heimdall can detect your device:
You should see this:
10. Move to the folder where you have saved your pit files and the zImage (recovery) file.
11. Type in the following:
Code:
sudo heimdall flash --repartition --pit I91001GB_3GB.pit --KERNEL zImage
In this example I'm using the pit file with a 1GB system partition and 3GB data partition.
You should start seeing output like this:
Code:
Heimdall v1.4.0
Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...
Initialising protocol...
Protocol initialisation successful.
Beginning session...
Some devices may take up to 2 minutes to respond.
Please be patient!
Session begun.
Uploading PIT
PIT upload successful
Uploading KERNEL
100%
KERNEL upload successful
Ending session...
Rebooting device...
Releasing device interface...
Your device will restart.
12. Pull the battery now and put it back, then reboot in to your recovery (VolUp + Home + Power).
13. Inside recovery do a Factory Reset/Wipe. You must do this step.
14. Now you can flash your ROM and gapps from the external sdcard or use adb to push the files over in the recovery.
Voila, you can now have resized partitions.