I have a Samsung S4 Mini GT-i9195 and recently I've updated it to CyanogenMod 13, it was stuck on Android 4.4.
The /system partition has 1.5GB and it was full with the stock ROM. After updating to CyanogenMod, I got only 600MB occupied and 900MB free. How can I resize the parition to, let's say 800MB, and add the remaining space to the /data partition?
I've found this answer for a very similar question, but I'm not sure if that procedure suits to my phone and I don't know how to create the PIT file. I'm already able to backup it from the phone and edit it with PIT Magic. But I don't know if I can do it with this tool or even how to do it...
Any suggestions?
Uploading PIT ERROR: Failed to confirm end of PIT file transfer! ERROR: PIT upload failed!. I suspect the file should be signed or something by Samsung and, in that case, is impossible to repartitioning the phone... – rigon Jul 25 '16 at 13:02sudo heimdall flash --repartition --pit i9195-resize.pit --RECOVERY recovery.img --no-reboot– rigon Jul 25 '16 at 13:05sudo heimdall download-pit --output i9195-stock.pit --no-reboot– rigon Jul 25 '16 at 13:08adb shell "dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=580 skip=2176". Then, proceed by pulling the file from the phone withadb pull /sdcard/out.pit ./. If you don't have adb, open a terminal emulator directly on your phone, issuesuand thendd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=580 skip=2176. Then, move out.pit to your computer and see if the customizations work. Notice that /sdcard refers to where I think your internal storage is. If the location is wrong, fix it accordingly. – Grimoire Jul 25 '16 at 13:15