Most smartphone manufacturers release their phones in different variants depending on localizations, network connectivity and storage capabilities. Obviously, the user has to pay greater amount of money to buy a smartphone with more storage capacity. The LG G2 was released back in August 2013 in about 10 variants based on regional network types and with two models featuring 16GB and 32GB storage.
Suppose you bought a 32GB model of the LG G2, and after installing a wrong firmware, you later discover that is shows only 16GB storage! How would you feel— surprised? sad? or shocked? Well, this problems can occur to any Android device because of bad flashing but it’s certainly not a commonly encountered issue.
Just a couple of months ago, I went through this problem on my Nexus 5. I flashed the stock factory images to fix some issues in the device but the I found that my 32GB Nexus 5 turned into 16GB! You can see our guide on fixing storage issue on Nexus 5 by clicking the link below:
Do you own an LG G2 and does your 32GB LG G2 shows only 16GB storage space? Most probably, you have installed the firmware meant for the 16GB LG G2, on your 32GB model. You are facing the storage issue because the configuration for device partition has changed due to the wrong firmware. Sometimes, doing a hard reset can also lead to this problem. Today, we have come up with a tutorial to fix the issue. Just follow the steps given below and you LG G2 will hopefully be back on track.
- Your LG G2 must be on stock LG firmware. If it is not, restore your device to stock firmware first.
- Your phone must be rooted. If you have not rooted it yet, root it using our rooting tutorial.
- Enable USB Debugging on your phone. To do this, follow this guide.
- Make sure you have installed, LG USB Drivers on your computer: Download here
- Install the Total Commander app from the Google Play: [appbox googleplay com.ghisler.android.TotalCommander]
- Download the following files:
- Extract sdparted-recovery-all-files.zip file. You’ll find 9 files inside the extracted folder. Copy this folder to your device.
- Now open Total Commander, navigate to the above files on device and copy them to /system/ bin/ directory on your phone.
- After copying/moving the 9 files to /system/ bin/ folder, fix the permissions for each file to 0755 as shown above.
- Install minimal_adb_fastboot_v1.1.3_setup.exe on your computer.
- Now connect your phone to computer via USB cable.
- Launch Minimal ADB Fastboot tool and type the following command:
adb shell su cd /system parted /dev/block/mmcblk0
- Hit Enter key.
- In case you see the following error message,
Error: The backup GPT table is not at the end of the disk, as it should be. This might mean that another operating system believes the disk is smaller. Fix, by moving the backup to the end (and removing the old backup)? Fix/Ignore/Cancel? Fix
Warning: Not all of the space available to /dev/block/mmcblk0 appears to be used, you can fix the GPT to use all of the space (an extra 30294016 blocks) or continue with the current setting? Fix/Ignore?Fix
- Use “print” command to check partition details. The line 36 on the partition table should look like this:
36 15.7GB 15.8GB 37.7MB grow
- Now exit the partition detail screen by typing quit command.
- Then type or copy/paste these lines in the command window and hit Enter key.
adb shell su cd /system ./dd if=/system/sgpt32g.img of=/dev/block/mmcblk0 bs=512 seek=61071327 conv=notrunc ./dd if=/system/pgpt32g.img of=/dev/block/mmcblk0 bs=512 seek=0 conv=notrunc
- You should see something like this-
root@android:/ # cd /system f=/sdcard/pgpt16G.img bs=512 count=34 < 34+0 records in 34+0 records out 17408 bytes (17.0KB) copied, 0.014294 seconds, 1.2MB/s of=/dev/block/mmcblk0 bs=512 seek=0 conv=notrunc < 34+0 records in 34+0 records out 17408 bytes (17.0KB) copied, 0.008996 seconds, 1.8MB/s
- Wait for a few seconds till it is finished and then reboot your LG G2 into the Download Mode.
- Now, you need to install the correct 32GB firmware on your phone.
- After the first boot with the new firmware installed, the phone will show only 10.7GB storage.
- Perform a hard reset from Settings> Backup and reset> Factory data reset.
- When your LG G2 boots up again, it should show 25GB user storage on SD Card.
If you also install a custom recovery on your phone, you can flash the backup script zip files from above to make a backup of your phone’s EFS and other partitions to avoid such issues in future. With the hope that the above tips would have help you claim back the actual storage capacity on your LG G2, we can now wind up our tutorial. Do not forget to share your feedback with us! Cheers!