You might have seen this guide on XDA, but is out-dated and only seems to work on stock firmware. What about people people running CM13, will it work, or will it brick your device?
This guide is updated and works with CM13 tested by me, it was also written with the i9300 16GB model in mind.
FAQ: next post
I take NO responcebility for any bricks, that's on you. Exactly like rooting, or installing anything 3:rd party (right?). Either is is my responsibility if you data is lost.
Only works for i9300 Intl models, i9305 is un-supported. If you want support for your device, visit Lanchon's GitHub page down below and start a issue.
Now, let's have a look at my partitions before modifying them (kB):
As you can see, stock paritioning is bad. /preload and /cache has a lot of available space which takes up a lot of unnecessary space.
We can minimize all the partitions and use the space to increase your internal storage, neat; let's do it!
1. Preparation
Every step is required, if you skip any step the script will fail.
We'll be using ourselves with the tool REPIT made by Lanchon. Without it I wouldn't make this guide. REPIT is the only(CN) flexible tool for modifying partitions in Android.
- Download the required flashable zip file here, make sure you DONT rename it. Copy it to your device.
- Make sure that you're running TWRP 3.0.1-0. Any other recovery and the script will NOT work.
- Do NOT continue if you're running stock, or planning to do so. This script is only tested on CM13 and will never work for people running stock.
- Make sure you're plugged into a power source, and not a computer one; or else partitions may fail to un-mount.
2. Turn off your device.
3. Boot into recovery - volume up + home button + power button.
4. Flash the zip file.
This process is a really long one, do NOT interrupt the process.
- If the flashing fails, it may tell you that it copied itself to /tmp, navigate to /tmp and flash the script again.
- If x partition fails to un-mount, try un-mounting it via TWRP > Mount.
5. Done!
It's not that hard eh? That's because Lanchon did a great job on his project available on GitHub. Him and I worked closely on #22 to add support for the i9300.
After re-partitioning (still kB):
It seems like we've gained 1.5GB in local storage, hoorah! Totally didn't steal from other partitions :D
Worth it?
Unless you REALLY need that 1.5GB of extra storage; NO, not at all.
On Android 6+ (CM13) sd-cards are now implemented like normal internal storage. Just buy a 8GB micro sd-card which basicly costs a couple of bucks and save yourself some trouble.
Credit:
- @Lanchon for REPIT.
- @forumber2 for original guide.
This guide is updated and works with CM13 tested by me, it was also written with the i9300 16GB model in mind.
FAQ: next post
I take NO responcebility for any bricks, that's on you. Exactly like rooting, or installing anything 3:rd party (right?). Either is is my responsibility if you data is lost.
Only works for i9300 Intl models, i9305 is un-supported. If you want support for your device, visit Lanchon's GitHub page down below and start a issue.
Now, let's have a look at my partitions before modifying them (kB):
Code:
Filesystem Total Used Available Use% Mounted on
mmcblk0p8 1032088 17732 1014356 2% /cache
mmcblk0p12 11901576 6355436 5546140 53% /data
mmcblk0p12 11901576 6355436 5546140 53% /sdcard
mmcblk0p10 564416 8964 555452 2% /preload
mmcblk0p9 1548144 632704 915440 41% /system
mmcblk0p3 20144 9568 10576 47% /efs
We can minimize all the partitions and use the space to increase your internal storage, neat; let's do it!
1. Preparation
Every step is required, if you skip any step the script will fail.
We'll be using ourselves with the tool REPIT made by Lanchon. Without it I wouldn't make this guide. REPIT is the only(CN) flexible tool for modifying partitions in Android.
- Download the required flashable zip file here, make sure you DONT rename it. Copy it to your device.
- Make sure that you're running TWRP 3.0.1-0. Any other recovery and the script will NOT work.
- Do NOT continue if you're running stock, or planning to do so. This script is only tested on CM13 and will never work for people running stock.
- Make sure you're plugged into a power source, and not a computer one; or else partitions may fail to un-mount.
2. Turn off your device.
3. Boot into recovery - volume up + home button + power button.
4. Flash the zip file.
This process is a really long one, do NOT interrupt the process.
- If the flashing fails, it may tell you that it copied itself to /tmp, navigate to /tmp and flash the script again.
- If x partition fails to un-mount, try un-mounting it via TWRP > Mount.
5. Done!
It's not that hard eh? That's because Lanchon did a great job on his project available on GitHub. Him and I worked closely on #22 to add support for the i9300.
After re-partitioning (still kB):
Code:
Filesystem Total Used Available Use% Mounted on
mmcblk0p8 32240 4200 26404 14% /cache
mmcblk0p12 13457732 574316 12199796 4% /data
mmcblk0p12 13457732 574316 12199796 4% /sdcard
mmcblk0p10 8048 4120 3520 54% /preload
mmcblk0p9 1548144 638168 909976 41% /system
mmcblk0p3 20144 9568 10576 47% /efs
Worth it?
Unless you REALLY need that 1.5GB of extra storage; NO, not at all.
On Android 6+ (CM13) sd-cards are now implemented like normal internal storage. Just buy a 8GB micro sd-card which basicly costs a couple of bucks and save yourself some trouble.
Credit:
- @Lanchon for REPIT.
- @forumber2 for original guide.