Android devices often come with fixed partition sizes, which can sometimes lead to storage limitations, particularly with the system partition. fortunately, with tools like Fastboot, it’s possible to resize partitions, including the system partition, to better utilize available storage space. In this guide, we’ll walk through the steps to resize the system partition on Android using Fastboot.
Prerequisites:
- adb driver
- platform tools
- rooted phone
Steps:
Step 1: Boot into Fastboot Mode: Connect your Android device to your computer via USB and reboot it into Fastboot mode. open a terminal or command prompt window on your computer.
Enter the following command to reboot into fastbootd mod:
adb reboot fastboot
Step 2: Determine the Partition Size: To resize the system partition, you’ll need to know the desired size in hexadecimal format. Determine the size you want to allocate to the system partition and convert it to hexadecimal.
Step 3: Resize the System Partition: Once your device is in Fastboot mode and connected to your computer, open a terminal or command prompt window on your computer.
Enter the following command to resize the system partition:
fastboot resize-logical-partition system_a <size in hexadecimal>
Replace <size in hexadecimal> with the desired size of the system partition in hexadecimal format.
Step 4: Reboot: After executing the resize command, reboot your device by entering the following command:
fastboot reboot
Step 5: Verify the Resize: Once your device has rebooted, verify that the system partition has been resized successfully. You can use tools like ADB (Android Debug Bridge) to access your device’s shell and check the partition size.