Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[GUIDE][REPARTITION] Get extra 1.5 GB (2.4 GB for AOSP users) on user data!

OP forumber2

25th May 2014, 03:00 PM   |  #1  
OP Senior Member
Flag Istanbul
Thanks Meter: 1,243
 
883 posts
Join Date:Joined: Feb 2012
More
Hello XDA community

I'm using my GT-I9300 via reparititoned table for 4 months and it's working very well and very useful for Custom ROM users like us.

Here's stock 16 GB GT-I9300 has a partition table;

Code:
Model: MMC VTU00M (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name      Flags
 1      4194kB  8389kB  4194kB               BOTA0
 2      8389kB  12.6MB  4194kB               BOTA1
 3      12.6MB  33.6MB  21.0MB  ext4         EFS
 4      33.6MB  41.9MB  8389kB               PARAM
 5      41.9MB  50.3MB  8389kB               BOOT
 6      50.3MB  58.7MB  8389kB               RECOVERY
 7      58.7MB  92.3MB  33.6MB               RADIO
 8      92.3MB  1166MB  1074MB  ext4         CACHE
 9      1166MB  2777MB  1611MB  ext4         SYSTEM
10      2777MB  3364MB  587MB   ext4         HIDDEN
11      3364MB  3372MB  8389kB               OTA
12      3372MB  15.8GB  12.4GB  ext4         USERDATA
As you can see, Samsung give 1GB to /cache partition and ~587MB to /preload partition. If your phone is out of OTA update service (if your phone is rooted, it's already out of OTA) they're the most useless things in your device.

Why /cache partition is soooooo big?

The system downloads Android OTA updates to /cache. If you want update your
phone 4.1.2 to 4.3 via OTA, the device needs to have enough space for store the update. That's why /cache partition is so big. But, if your device is rooted (or you're using a custom ROM), that doesn't matter because the device is out of OTA update service already.

What is the HIDDEN (/preload) partition?

It's just only for Samsung's craps. It only has a ringtone, and a video called Nature of .... (I don't remember the video name).

So, what should I do?

If you are a Custom ROM user or using device with root, you don't need those sooo big partitions. You should resize them.

What will this guide do to my device?

You will shrink those useless partitions and give more space to /data ( User data) partition.

Is there any risk?

Of course. Re-partition an Android device is one of the most dangerous thinks.

Is there any disadvantages?

Yes. If you done this guide and resize your partitions, you can't install any Official ROM via Odin.

Which types of packages that I cannot install via Odin after Re-partition?

You can't install Official ROMs (downloaded from sammobile.com, samsung-updates.com, etc). But you can install kernels, modems, bootloaders, recoveries via Odin without any problem.

What is gonna happen if I install an Official ROM via Odin after Re-partition?

Your device will be semi-bricked. Recovery cannot mount&format some partitions. But you can restore/unbrick your device with PIT file.

Which device that I can do repartition?

16 GB of GT-I9300 only. Please don't try it to other devices.

Can I install anything on CWM?

Of course. You can do anything like before on your device with Custom Recovery. You can install anything like always.

Is there any guide to revert it back?

Yes, in second post.

Is there anything you want to say before start operation?

Your device will be freshed after repartition, so you should make Nandroid Backup and backup your internal sdcard.

Screenshots






Guide

* You have to use latest Philz Recovery on this operation. You can go back your favorite recovery again after repartition. And I am not responsible for any problems that on your device!

1 - Download "repart_16GB_GT-I9300_CWM.zip" or if you use AOSP and you hate sammy ROMs, download "repart_16GB_GT-I9300_CWM_AOSPv2.zip" from attachments and copy it to external sdcard.
2 - Make sure that you backup everything on your device
3 - Boot to recovery ( Latest Philz Touch)
4 - Install the zip file you've downloaded . After installation, device will reboot to recovery automatically.
5 - You can see some mount errors while booting recovery. Don't panic.
6 - Wipe Data/Factory Reset --> Clean to Install a New ROM (You may see some error, don't worry)
7 - Mounts and Storage --> format /data and /data/media (/sdcard)
8 - Bingo! Restore your system, or install a ROM.

That's it! After doing repartition (not AOSP one), your partition table will be;

Code:
Model: MMC VTU00M (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name      Flags
 1      4194kB  8389kB  4194kB               BOTA0
 2      8389kB  12.6MB  4194kB               BOTA1
 3      12.6MB  33.6MB  21.0MB  ext4         EFS
 4      33.6MB  41.9MB  8389kB               PARAM
 5      41.9MB  50.3MB  8389kB               BOOT
 6      50.3MB  58.7MB  8389kB               RECOVERY
 7      58.7MB  92.3MB  33.6MB               RADIO
 8      92.3MB  193MB   101MB   ext4         CACHE
 9      193MB   1805MB  1612MB  ext4         SYSTEM
10      1805MB  1820MB  15.0MB  ext4         HIDDEN
11      1820MB  1828MB  8000kB               OTA
12      1828MB  15.8GB  13.9GB  ext4         USERDATA
As you see, we have +1.5GB on USERDATA partition.
Last edited by forumber2; 12th July 2014 at 06:25 PM.
The Following 55 Users Say Thank You to forumber2 For This Useful Post: [ View ]
25th May 2014, 03:00 PM   |  #2  
OP Senior Member
Flag Istanbul
Thanks Meter: 1,243
 
883 posts
Join Date:Joined: Feb 2012
More
Reverting To Stock Partition Table

1 - Download "Odin3_v3.07_with_PIT_16GB_GT-I9300.zip" and extract it somewhere
2 - Download any stock ROM from sammobile.com or samsung-updates.com and uzip it.
2 - Open Odin, click "PIT" button and select "GT-I9300_16GB.pit"
3 - Click "PDA" and select official ROM that you've downloaded
4 - Click "Start"
5 - After installation, phone will be stuck at bootanimation, don't panic.
6 - Pull out battery, boot to recovery (you can see some mount errors, don't worry)
7 - Select "wipe data/factory reset" in recovery menu
8 - Select "reboot system now"
Attached Files
File Type: zip Odin3_v3.07_with_PIT_16GB_GT-I9300.zip - [Click for QR Code] (453.6 KB, 710 views)
Last edited by forumber2; 25th May 2014 at 03:14 PM.
The Following 23 Users Say Thank You to forumber2 For This Useful Post: [ View ]
25th May 2014, 06:10 PM   |  #3  
c_shekhar's Avatar
Recognized Developer
Thanks Meter: 34
 
1,941 posts
Join Date:Joined: Jun 2005
great shot.....
I appreciate...
The Following User Says Thank You to c_shekhar For This Useful Post: [ View ]
25th May 2014, 06:53 PM   |  #4  
Andro Boy's Avatar
Member
Thanks Meter: 14
 
62 posts
Join Date:Joined: Sep 2013
More
Hi,
I have a question here please,
What if my device is formatted as f2fs not ext4, can i still use this guide ?

Cuz as i can understand if it worked it will format all the partitions to ext4 then if reformatted using recovery to f2fs is it gonna work?

Thanks.

Edit :
I used it & that;s really GREAT and HELPFUL , Thanks .

btw, @forumber2
It will be great if could put a swap partition in their , can i make it by my self ?
i saw the manual in the other post, but how i can make the software use it and recognize it??
Last edited by Andro Boy; 29th May 2014 at 11:24 PM. Reason: after doing it
25th May 2014, 07:23 PM   |  #5  
Bazilli's Avatar
Senior Member
Thanks Meter: 176
 
314 posts
Join Date:Joined: Oct 2011
More
Great work, thanks!

Lähetetty minun GT-I9300 laitteesta Tapatalkilla
25th May 2014, 07:51 PM   |  #6  
cornelha's Avatar
Senior Member
Flag Durban
Thanks Meter: 649
 
1,339 posts
Join Date:Joined: Dec 2007
More
This seems really cool. I would just suggest you put some warnings up there in CAPS in RED, else people will start spanning your thread with how they screwed up their devices.
25th May 2014, 08:25 PM   |  #7  
mattiadj's Avatar
Senior Member
Flag Francavilla al mare
Thanks Meter: 1,709
 
3,758 posts
Join Date:Joined: May 2010
Donate to Me
More
It's possibile to make it also on s4?

if u need a tester consider me!

I have seen the code and seems to be simple but...send me a pm...for s4 will be brlliant with my intsd2extsd mod!
25th May 2014, 08:38 PM   |  #8  
Senior Member
Thanks Meter: 4
 
105 posts
Join Date:Joined: Dec 2013
good job dude!!!!!!!!!!!!!!!!!!!!
25th May 2014, 08:52 PM   |  #9  
Member
Thanks Meter: 2
 
37 posts
Join Date:Joined: Jul 2010
Works like a charm
The operation was a success! very easy to follow.

Thanks a lot!
The Following User Says Thank You to gilsol For This Useful Post: [ View ]
25th May 2014, 08:59 PM   |  #10  
xda_Noob.'s Avatar
Senior Member
Flag Berlin
Thanks Meter: 587
 
1,187 posts
Join Date:Joined: Apr 2013
More
I think this is the easiest method i ever seen
Thank you so much

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes