[Galaxy S II Original Android Development] Irwenzhao:
FIrst things first...

Disclaimer:
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about the tool you find here before flashing it! YOU are choosing to make these modifications, and if you point the finger at us for messing up your device, we will laugh at you. Your warranty will be void if you tamper with any part of your device / software.

Now that we have that done...

Repartition guide for

The GT-i9100​

Introduction:​

What does the script do?

It basically removes the partitions present from your device and creates partitions with modified sizes.

TLDR: A flashable .pit file

Images

Features​

Adds more space for more apps.

Reduced cache partition for even more space for apps.

No need for a computer, fully flashable in CWM.

How To Install?​

WARNING: From this point onwards, this guide requires your fullest attention so that it will not brick your device. I tested this on my own i9100, and it is working perfectly.

Links will be provided at the end of the post.

This will wipe everything from your device! Please make a backup before proceeding. Don't say I didn't warn you.

There are two methods to flashing this script. Both works perfectly fine.

Method 1

If you're using 1.1 and above, steps 6-9 are not needed!

Download the two recoveries provided in the Download post below.

Reboot into recovery (CWM or TWRP needed)

Flash philz_touch_6.07.9-i9100.zip and reboot into recovery.

Flash the repartition-apps<xxx>-data<xxx>.zip (Note: It will hang at rebooting to recovery in 5 seconds. Just take out the battery and boot it to recovery.)

Flash kk-kernel-05-01-TWRP.zip and reboot into recovery.

Click on Wipe, then Advanced Wipe.

Tick Internal Data, then click on Repair or Change File System.

Click on Change File System, click on EXT4, then swipe to confirm.

Click on Change File System again, click on exFAT, then swipe to confirm.

Go back to Advanced Wipe, tick on

Dalvik Cache

Cache

System

Data

emmc

Then swipe to wipe the 5 partitions.

Next, click on Install and install your preferred ROM.

Reboot and enjoy!

Method 2

If you're using 1.1 and above, steps 5-8 are not needed!

Download TWRP and the "parted" file from the bottom of the post.

Using a root browser (Root Browser recommended), place the parted file you have downloaded into /system/bin and set its permissions to "RWXR-XR-X".

Reboot into recovery and flash kk-kernel-05-01-TWRP.zip and reboot into recovery.

Flash the repartition-apps<xxx>-data<xxx>.zip

Click on Wipe, then Advanced Wipe.

Tick Internal Data, then click on Repair or Change File System.

Click on Change File System, click on EXT4, then swipe to confirm.

Click on Change File System again, click on exFAT, then swipe to confirm.

Go back to Advanced Wipe, tick on

Dalvik Cache

Cache

System

Data

emmc

Then swipe to wipe the 5 partitions.

Next, click on Install and install your preferred ROM.

Reboot and enjoy!

XDA:DevDB Information

Flashable zip to repartition the S2, Tool/Utility for the i9100

Contributors

Irwenzhao, smeet.somaiya

Version Information

Status: Stable

Current Stable Version: 1.1

Stable Release Date: 2015-02-01

Beta Release Date: 2015-02-07

Created 2015-02-01

Last Updated 2015-06-26