Resizing Partitions (For Android)
Resizing Partitions (For Android)
What we're looking at here is the default layout, note the unallocated space
highlighted below:
UiomFbB.png
The first thing we're going to do is expand the android user data partition (sdd7
in the screenshot above).. Right click "userdata" -> "Resize/move".
E8rcVDa.png
I decided to go with 32GB which should be plenty, how large you want to make this
partition is entirely up to you.
The next thing we're going to do is move the partition down the stack, we do this
by entering "0" into the "free space following" field.
Ublqvr9.png
You'll notice the white box surrounded by the dark purple border has moved position
to the far right to reflect your changes.. hit the "resize/move" button and confirm
the warning window.
You can now see the "userdata" partition has moved down the stack, will be resized
to 32GB and our unallocated space has moved up.
5yLKJ4Z.png
We're now going to repeat this process for the remaining android partitions
(without resizing tho).. starting from the "dtb" partition and working our way up
to "vendor".
Right click partition -> "Resize/move".
Modify "free space following" to "0".
Hit the "Resize/move" button.
Confirm the warning.
You get the idea.. repeat this process until you reach the "hos_data" partition.
Eventually you'll be left with something like this, note the unallocated space is
now directly under our "hos_data" partition.
aeRl566.png
It's time to expand our fat32 partition, you can drag the black arrow on the right
hand side all the way to the end to set the maximum size.
r4Fg7R5.png
[EMUMMC USERS ONLY] If you intend on using emummc we can allocate some space for
the partition by entering "29856" in the "free space following field", this will
automatically reduce the partition size to accommodate the required free space..
this step is completely optional.
dLkQ01y.png
[EMUMMC USERS ONLY] We need to create a new partition (right click "unallocated" ->
"new").. the only option we're going to change here is the "file system" field to
"unformatted".
OmzIGjO.png
Now is the time to verify all our settings are correct before finally hitting the
apply button.. confirm the warning and let it do its thing.
1JyOhrx.png
Before closing gparted, we want to take note of the drive identifier located on the
top right of the screen.. mine is "/dev/sdd", we're going to be using the next
steps.
TZXSY8G.png