Poco Partition 128gb
Poco Partition 128gb
adb shell
parted /dev/block/sde
unit b print
Here you will get the table of partitions see weather your system vendor and
other are there and you can see there is System partition so first of all we need
to convert and say name reserve by command
name 48 reserve
(here my system partition was given no 48 so I entered 48 to change name you
must see yours and type the number)
Now recheck list by the command
print
(after entering this above command the list appears and now see weather the
given name is changed or not)
Now quit
quit
Now copy and paste line of userdata into any text editor such as notepad for
safe keeping.
you may get this confirmation every where just type yes and hit enter.
Warning: Partition /dev/block/sda21 is being used. Are you sure you want to
continue?
Yes/No?
Yes
You may get this warning if your internal storage is used by something in pc
close it if there is nothing then type ignore and move to next command.
Error: Partition(s) 21 on /dev/block/sda have been written, but we have been
unable to inform the kernel of the change, probably because it/they are in use.
As a result, the old partition(s) will remain in use. You should reboot now
before making further changes.
Ignore/Cancel?
Ignore
print
HERE COMES THE REAL TIME WHERE YOU HAVE TO BE VERY CAREFULL
DIFFERENT DEVICES HAVE DIFFERENT SIZES YOU MUST PROCEED ACCORDING
TO YOUR DEVICE ONLY.
Here I am using 128gb varient device
And this tutorial is for increasing system upto 5 gb you can set any as per your
need
To recreate the partitions that has just been removed, use the command below
But first need guide below the command
mkpart userdata ext4 1610612736 117666983935
For exmaple :- in above image you can see my last partition is cache partition and it’s end
length is similar to userdata start length only just increase by 1.
minus this values from end length of userdata (values you pasted into notepad)
Rename the new partition you've just created using the command below
name 21 userdata
Now create system partition similar process as above mention
mkpart system ext4 117666983936 123035693055
Warning: The resulting partition is not properly aligned for best performance.
Ignore/Cancel? ignore
Ignore
Rename the new partition you've just created using the command below
name 22 system
Now recheck list for above changes of partition are created perfectly or not by
using command
print
Now quit parted by using command
quit
Now do a reboot your device into recovery in phone
You will get mount error of partition in recovery so we need to fix then by
formating partition
adb push mkfs.ext4 /sbin
adb shell
mkfs.ext4 /dev/block/by-name/userdata
mke2fs 1.44.1 (24-Mar-2018)
/dev/block/by-name/userdata contains a ext4 file system
last mounted on /data on Sun Apr 17 10:57:31 2022
Proceed anyway? (y,N) y ?
y
mkfs.ext4 /dev/block/by-name/system
mkfs.ext4 /dev/block/by-name/reserve
mke2fs 1.44.1 (24-Mar-2018)
/dev/block/by-name/reserve contains a ext4 file system
last mounted on Sun Apr 17 11:36:45 2022
Proceed anyway? (y,N)
y
NOW DO A REBOOT TO RECOVERY IN PHONE.
AND WIPE EVERYTHING SYSTEM,VENDOR etc
FLASH ROM OF YOUR CHOISE.