[Xiaomi Redmi 1S] freeshared:
-By following this you can can increase /system space from default 800MB to 1.2GB/2GB

-You can flash gapps on CM ROMs without insufficient space issue.

-You can flash regular MIUI ROMs too,without any issue

.

Statutory warning

*Repartition can kill your phone forever if anything goes wrong,so proceed with caution (and make sure you have at least 30% battery)

*This process would format your internal sdcard,backup its contents

*I'm not responsible If your phone dies during this procedure under any circumstances beyond control

Prerequisites:

1)Redmi 1s partition script_system space 1.2GB.zip/2GB.zip

2)Parted

3)Twrp v3.0.2-1.zip

4)Download and copy all these files to external sdcard

Procedure:

1)Flash Twrp recovery(incase if aren't already using it).

2)Boot in to Twrp--->Advanced--->File manager--->Browse to the location of file "parted"--->Select "parted"--->Copy File--->/sbin.

3)Now using Twrp File manager browse /sbin--->parted--->select parted--->chmod 755.

4)You can also use "aroma file manager" instead of Twrp file manager for copying "parted" to "/sbin" and changing it's permissions to 755.

5)In Twrp flash "Redmi 1s partition script_system space 1.2GB.zip/2GB.zip" and wait for the script to finish execution(recovery will reboot automatically once this process finishes).

6)In Twrp--->Wipe--->Advanced wipe--->Mark in "Dalvik/ART Cache"__"Cache"__"System"__"Data"__"Internal Storage"--->Swipe to wipe.

7)Reboot recovery.

8)Install your ROM(don't flash gapps now).

9)Back again to Twrp start screen select "Wipe"-->Advanced wipe-->select/mark "System"-->press "Repair or change file system(notice that size hasn't increased to 1.2GB/2GB)-->Resize file system.

10)Back(though size of partition appears unchanged, its actually increased to 1.2GB)-->Back>select/mark"System"-->Repair or change file system-->Notice size of partition increased.

10)Back to Twrp start screen and flash gapps,that's it.

Reset to default partition:

1)I am also giving link for flashabe script file "Reset to default partition.zip" for restoring default partition sizes.

2)Boot in to Twrp--->Advanced--->File manager--->Browse to the location of file "parted"--->Select "parted"--->Copy File--->/sbin.

3)Now using Twrp File manager browse /sbin--->parted--->select parted--->chmod 755.

4)You can also use "aroma file manager" instead of Twrp file manage for copying "parted" to "/sbin" and changing it's permissions to 755.

5)In Twrp flash "Reset to default partition.zip" and wait for the script to finish execution(recovery will reboot automatically once this process finishes).

6)In Twrp--->Wipe--->Advanced wipe--->Mark in "Dalvik/ART Cache"__"Cache"__"System"__"Data"__"Internal Storage"--->Swipe to wipe.

7)Reboot recovery.

8)that's it you are back to default partition.

PS:

1.Need for "Resizing System partition"(step 9) comes only with CM14.1(haven't tried other CM versions or other custom roms) no need to do that if you are flasing MIUI ROMs(i,e you can skip step 9 if you are flashing MIUI ROMs)

2.If you still need more System space or want to further modify partition table(only if you know what you are doing),you can edit "update-binary" file inside the zip as per your needs.

Credits:

1)forumber2_ Samsung Galaxy S III.

2)slst_for his valuable input.

3)owaisnaim & fefifofum Twrp for redmi 1s.

Downloads:

1)parted:https://drive.google.com/folderview?id=0B6_hhjS3nx4IU05yLVc2Mk9uOEk

2)Repartition script Redmi 1s_1.2GB system space:https://drive.google.com/folderview?id=0B6_hhjS3nx4IRkJFZzAtMjZEa2s

3)Repartition script Redmi 1s_2GB system space:https://drive.google.com/folderview?id=0B6_hhjS3nx4IRXlDZUU1cEJ3Smc

4)Reset to default partition:https://drive.google.com/folderview?id=0B6_hhjS3nx4IeGtXb0liazdLWVk

5)TWRP 3.0.2-1.zip:https://drive.google.com/folderview?id=0B6_hhjS3nx4IdzFHXzdfNXVCYm8