• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

DroidViews

  • Apps
  • Downloads
    • Android Apps
    • Themes
  • Guides
    • Root
  • ROMs
  • Reviews
  • Wallpapers

Your 32GB LG G2 Shows only 16GB Storage Space? Here’s the Fix!

Rakesh | 13 Apr 2014 | Guides/ LG

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:

Your 32GB Nexus 5 Shows 16GB Storage? Here is How to Fix It! 

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.

Preparations:

  • 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: [googleplay url=”https://play.google.com/store/apps/details?id=com.ghisler.android.TotalCommander&hl=en”/]
  • Download the following files:
    • LG_G2_Backup_All_Partitions.zip
    • LG_G2_Backup_EFS_Final.zip
    • minimal_adb_fastboot_v1.1.3_setup.exe
    • sdparted-recovery-all-files.zip

Instructions:

  1. Extract sdparted-recovery-all-files.zip file. You’ll find 9 files inside the extracted folder. Copy this folder to your device.lg g2 storage fix-2
  2. Now open Total Commander, navigate to the above files on device and copy them to /system/ bin/ directory on your phone.lg-g2-storage-total-commander
  3. After copying/moving the 9 files to /system/ bin/ folder, fix the permissions for each file to 0755  as shown above.
  4. Install minimal_adb_fastboot_v1.1.3_setup.exe on your computer.
  5. Now connect your phone to computer via USB cable.
  6. Launch Minimal ADB Fastboot tool and type the following command:
    adb shell
    su
    cd /system
    parted /dev/block/mmcblk0
  7. Hit Enter key.
  8. 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
  9. 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
  10. Now exit the partition detail screen by typing quit command.
  11. 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
  12. You should see something like this-
    [email protected]:/ # 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
  13. Wait for a few seconds till it is finished and then reboot your LG G2 into the Download Mode.
  14. Now, you need to install the correct 32GB firmware on your phone.
  15. After the first boot with the new firmware installed, the phone will show only 10.7GB storage.
  16. Perform a hard reset from Settings> Backup and reset> Factory data reset.
  17. 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!

Highly Recommended!

How to Backup and Restore Lost IMEI on LG G2

Enjoy 120FPS and 4K Ultra HD Video Recording on LG G2

Tweak and Customize LG G2 with G2 TweaksBox and G2 Xposed Modules

Tags: AT&T LG G2 How to Guides LG G2 LG G2 Tips and Tricks Tips and Tricks Verizon LG G2 VS980

Related Posts

Root LG G2 on Android Lollipop

Root LG G2 on Android Lollipop and Install TWRP Recovery

Boot LG G3

Boot LG G3 into Download/Recovery/Safe Mode & Perform Hard Reset

Install TWRP Recovery on LG G2 on Android 4.4.2 KitKat (All Models)

Reader Interactions

Discussion

  1. Oct 11, 2016 at 10:52 AM
    muamma68 says:
    Reply

    is there no easier way to do it…
    its shows to difficult and complicated,
    isnt it possible to make it as batch file ???

    thnks

    • Oct 11, 2016 at 11:25 AM
      Rakesh says:
      Reply

      Nope!

  2. Jul 7, 2016 at 9:07 AM
    Diego Duarte says:
    Reply

    Thx man !!! Its save me .. your explaining is much detailed and help me so much

  3. May 25, 2016 at 12:09 AM
    nova says:
    Reply

    finally got it !!! you guys need to check where your superuser is installed …my 9 files went into the ‘xbin’ folder, as su was in

    that file.then run minimal adb and fast boot and follow the instructions

    but at step 11 copy and paste the commands below as others have

    mentioned these are for the xbin folder only commands and hit enter

    !!!!!but hit enter again to finish the commands this second enter was

    what i was missing !!! I kept on getting 33+0 records in and out but

    once i hit the enter key again up came 34+0 records in and out –thats

    when i finally got it!!!!!! follow 12 onwards to complete the mission !!!good luck

    adb shell

    su

    cd /system

    dd if=/system/xbin/sgpt32g.img of=/dev/block/mmcblk0 bs=512 seek=61071327 conv=notrunc

    dd if=/system/xbin/pgpt32g.img of=/dev/block/mmcblk0 bs=512 seek=0 conv=notrunc

    • Oct 4, 2016 at 7:20 PM
      István Tózsa says:
      Reply

      Hello nova! I used your solution and I got 34+0 in and out but only once. Then I followed the guide and my phone still have only 10,7gb … I cant figure out what is the issue here.

      Please someone make a compelte guide with no errors finally.

  4. Jan 21, 2016 at 7:55 PM
    Onur says:
    Reply

    Hi Rakesh, I have the same problem. But after step 6 I did not see any error message. Could you please??

  5. Jan 15, 2016 at 5:14 PM
    Vishnu Sankar says:
    Reply

    Hi Rakesh, I am facing the same issue. but after step 11 what is the screen shot that you are getting, could you please share

    • Jan 15, 2016 at 5:22 PM
      Rakesh says:
      Reply

      Hi Vishnu, I practised and then wrote the guide an year ago. It worked for me. After step 11, you should see the following:

      [email protected]:/ # 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

      • Jan 17, 2016 at 1:49 PM
        Vishnu Sankar says:
        Reply

        Hi Rakesh,

        Thank you, I was working on this from my LP Rom downgraded to KK and it worked.

        However it is now asking for a decrypt password after installation of twrp. Any Solutions for the same.

        • Jan 17, 2016 at 5:07 PM
          Rakesh says:
          Reply

          Did you encrypt your device data in the past?

          • Jan 18, 2016 at 7:16 AM
            Vishnu Sankar says:

            Never, Tried to restart the device now is goes only to TWRP and No Download mode as well.

            Guess 100% Bricked

          • Jan 18, 2016 at 3:40 PM
            Vishnu Sankar says:

            Repaired with a coding to retrieve download mode.
            http://forum.xda-developers.com/showthread.php?p=51693321#post51693321.
            It worked, Flashed ROM it is running fine now

          • Jan 18, 2016 at 4:05 PM
            Rakesh says:

            Glad to know, Vishnu!

  6. Sep 17, 2015 at 8:11 AM
    Frank says:
    Reply

    everything is OK.

  7. Sep 16, 2015 at 4:02 PM
    Frank says:
    Reply

    Hi, i see this, Help me!
    I reachead to the step 6 and that is what appear

  8. Aug 13, 2015 at 12:26 PM
    Korny says:
    Reply

    IS there some news, this did not worked for me my phone shows 32 gb but 23 gb are rest thanks.

  9. Aug 3, 2015 at 12:01 PM
    ahmed says:
    Reply

    i done and show 32g but fre space is 9g . misc is 21g

  10. Jul 16, 2015 at 10:22 PM
    Kaushik Khan says:
    Reply

    bro it fixed the storage issue but now i lost my imei and network is gone… battery runs out pretty quick… tried to restore efs but nothing worked…. now my phone is of no use… any solutions ?

  11. Jul 14, 2015 at 5:09 PM
    smurugan says:
    Reply

    please send the youtube video

  12. Jul 14, 2015 at 4:39 PM
    Kaushik Khan says:
    Reply

    If I restore my previous backup via twerp recovery will it solve the issue?

    • Jul 14, 2015 at 4:46 PM
      Rakesh says:
      Reply

      Nope.

      • Jul 14, 2015 at 4:54 PM
        Kaushik Khan says:
        Reply

        Ok thank you. . Will I follow the guide exactly as u mentioned above? ? Is there any modifications needed in the script? ? Thanx in advance

        • Jul 14, 2015 at 4:58 PM
          Rakesh says:
          Reply

          I fixed mine using the method described above. It could do the same magic for you too.

          • Jul 14, 2015 at 5:06 PM
            Kaushik Khan says:

            Ok.. bro will try it now. ..

          • Jul 16, 2015 at 8:04 PM
            Kaushik Khan says:

            bro it fixed the storage issue but now i lost my imei and network is gone… battery runs out pretty quick… tried to restore efs but nothing worked…. now my phone is of no use… any solutions ?

  13. Jun 7, 2015 at 5:48 PM
    Zakir Rayhan says:
    Reply

    When i type this …

    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

    and Hit Enter then Commend Say File Not Found…. What can i do Now ?? Help Me…
    fb/its.zakir

  14. May 27, 2015 at 3:41 PM
    Cael Yohann says:
    Reply

    Hi Guys, I need the simplest instruction you can give to fix this issue. I tried copying the files to /system/bin/ but I got an error. I tried copying it to /system/xbin/ it was successful however, I did not go to the permission page (the 0755).

    So I am stuck on this step. I hope you guys can help me. Even the LG Service Center here cant fix it and I am very frustrated. I hope you guys can help me. Send me an email- [email protected] – nobody knows how to fix this here.

    • Jul 14, 2015 at 5:13 PM
      smurugan says:
      Reply

      how go to permission page bro please reply

  15. Jan 16, 2015 at 6:02 PM
    Muhammad Rivani Aryanagara says:
    Reply

    why always permission is denied ? file sgpt32g.img and pgpt32g.img already set 755 permission , im frustated ~_~

    • May 25, 2015 at 1:43 AM
      mohamed alnjar says:
      Reply

      same here anyone help

  16. Dec 11, 2014 at 10:20 AM
    Fiedo says:
    Reply

    I lose root and sim card access as soon as i transfer those 9 files. Is there a way to circumvent this? please help. thanks!

  17. Nov 28, 2014 at 7:35 AM
    gary says:
    Reply

    finally got it !!! my 9 files went into the ‘xbin’ folder, as su was in
    that file.then run minimal adb and fast boot and follow the instructions
    but at step 11 copy and paste the commands below as others have
    mentioned these are for the xbin folder only commands and hit enter
    !!!!!but hit enter again to finish the commands this second enter was
    what i was missing !!! I kept on getting 33+0 records in and out but
    once i hit the enter key again up came 34+0 records in and out –thats
    when i finally got it!!!!!! follow 12 onwards to complete the mission !!!good luck
    adb shell
    su
    cd /system
    dd if=/system/xbin/sgpt32g.img of=/dev/block/mmcblk0 bs=512 seek=61071327 conv=notrunc
    dd if=/system/xbin/pgpt32g.img of=/dev/block/mmcblk0 bs=512 seek=0 conv=notrunc

    • May 25, 2015 at 2:51 PM
      mohamed alnjar says:
      Reply

      please help that’s what i get when i do the last two commands please help me.

    • Jun 16, 2015 at 6:14 AM
      Razes Kc says:
      Reply

      Thanks man. I did the same thing and it worked. I was frustrated but after changing it to xbin and last commands. It freaking worked.

    • Nov 28, 2015 at 10:43 AM
      Lyla says:
      Reply

      Yes this step helped me too!! Thanks all!

  18. Oct 20, 2014 at 8:43 PM
    Save Polarbear says:
    Reply

    Thank you very much, I solved the problem, was very easy, had to copy files to xbin where my su is installed, and then change the 2 last commands, some root app install su in bin and other is xbin both folders are executables, so mine had to choose xbin and got my memory back 25go
    im happy
    thank you again for your support, any info im here

    • Oct 24, 2014 at 4:15 PM
      Muslim says:
      Reply

      change last 2 commands to what???thnx in advance

      • Oct 26, 2014 at 4:01 AM
        Save Polarbear says:
        Reply

        Look at what folder where SU is installed may be system/bin or system/xbin, copy files and set permissions to 755 in the same folder with SU. If its 1st tape the same commands as tuto if is installed in xbin, change just the last 2 commands to :
        ./dd if=/system/ xbin/sgpt32g.img of=/dev/block/mmcblk0 bs=512 seek=61071327 conv=notrunc
        ./dd if=/system/ xbin/pgpt32g.img of=/dev/block/mmcblk0 bs=512 seek=0 conv=notrunc

  19. Oct 18, 2014 at 6:02 AM
    Save Polarbear says:
    Reply

    I cant copy dd with total commander, others 8 files no problem, permissions fixed and my phone is rooted, but in adb I got error message ; no permissions, and if I reboot my phone I lose root and also network, do u have any idea, I tried also with fx explorer and got the same problem, thank you very much

    • Dec 11, 2014 at 10:18 AM
      Fiedo says:
      Reply

      i get the same bro. it is very frustrating!

  20. Oct 14, 2014 at 8:54 AM
    Szécsényi László says:
    Reply

    Could you please name your sources for the below method? You simply copied my guide posted on xda. http://forum.xda-developers.com/showthread.php?t=2470207

    • Oct 14, 2014 at 8:59 AM
      Rakesh says:
      Reply

      Hi, the source is already mentioned at the end of the guide and it’s there since day 1. Also, it’s not a copy as you termed it. We have only cited the commands and files.

  21. Sep 4, 2014 at 12:42 AM
    Jesus Espitia says:
    Reply

    i wish it was an easier way to do this im so frustrated

  22. Jun 27, 2014 at 11:27 AM
    israfil says:
    Reply

    hi all sdparted-recovery-all-files not copy to system/bin folder error read only

  23. Apr 22, 2014 at 3:22 PM
    Justin Williams says:
    Reply

    followed the entire procedure down to the T and it still show i have 16gb from the initial 32gb and i flashed the right kdz file too.

  24. Apr 16, 2014 at 3:25 PM
    saabthedragon says:
    Reply

    OK … solved with a single change in tutorial – order (at least it was to me):

    ./parted /dev/block/mmcblk0 – did not work,

    parted /dev/block/mmcblk0 – OK

    Thank you very much !!!

  25. Apr 14, 2014 at 8:07 PM
    saabthedragon says:
    Reply

    I do not understand anything, do not recognize commands …!

    • Nov 4, 2014 at 10:30 PM
      Abdullah Layes says:
      Reply

      I get the same error please let me know if you managed to fix the problem

      • Nov 12, 2014 at 12:26 AM
        Ismael says:
        Reply

        yeeees i fixed it, you have to copy the 9 files rather in the /system/xbin folder or in the /system/bin folder, and then change the permissions of those 9 files to 0755

        and then with minimal adb fastboot type this: (try the following with bin instead of xbin if not working) ATTENTION don’t type ./dd but only use dd

        adb shell
        su
        cd /system
        dd if=/system/xbin/sgpt32g.img of=/dev/block/mmcblk0 bs=512 seek=61071327 conv=notrunc
        dd if=/system/xbin/pgpt32g.img of=/dev/block/mmcblk0 bs=512 seek=0 conv=notrunc

        and then reboot your device and finaly do the factory reset.

        it’s been so many time that i’ve been looking to restore the storage.

        • Nov 16, 2014 at 6:17 PM
          Abdullah Layes says:
          Reply

          it worked thanks

        • May 25, 2015 at 5:07 PM
          mohamed alnjar says:
          Reply

          i did every thing but when i put
          adb shell
          su
          cd /system
          dd if=/system/xbin/sgpt32g.img of=/dev/block/mmcblk0 bs=512 seek=61071327 conv=notrunc
          dd if=/system/xbin/pgpt32g.img of=/dev/block/mmcblk0 bs=512 seek=0 conv=notrunc

          i get that error in the pic
          please help

Join The Discussion: Cancel reply

We never share our visitor/user details. For more info, Please read our privacy policy before submitting your comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Ezoic

Ezoic

Footer

  • Apps
  • Downloads
    • Android Apps
    • Themes
  • Guides
    • Root
  • ROMs
  • Reviews
  • Wallpapers

© 2023 · DroidViews