How to fix available internal storage bug on Nexus devices
How to fix available internal storage bug on Nexus devicesXDA

Several Nexus users have been recently complaining about the storage bug on their device after flashing a factory image, wherein the bigger storage variant (16GB) shows up as the lower variant (8GB) under System Settings > device information.

It is ascertained that most Nexus devices have been affected by bug at one point of time or the other, as the device only shows up half of the available storage capacity under the system settings.

Nevertheless, it is now possible to fix this storage bug in an easy way, with due credit to XDA TV producer, Rirozizo, who has demonstrated a video tutorial using ADB and other tools from XDA Developers.

Those who need step-by-step instructions can follow the guide given below and also check out the video tutorial for further clarifications.

How to fix available internal storage bug on Nexus devices

  • Boot into Stock Recovery (if you are running a custom recovery, ensure that you flash stock recovery first)
  • Perform Wipe Dalvik Cache
  • Perform a Wipe Data/Factory Reset

If for some reason the above procedure does not fix the issue, you could try the following alternative method:

Note #1: Whenever you flash stock ROM fastboot will be installed automatically.

  • Download and flash the latest factory image for your Nexus device from here.
  • Finally, boot your Nexus device into bootloader and run the following commands:

fastboot erase boot

fastboot erase cache

fastboot erase recovery

fastboot erase system

fastboot erase userdata

fastboot flash bootloader bootloader-mako-makoz10o.img

fastboot reboot-bootloader

fastboot -w update image-occam-jdq39.zip

Note #2: In case you encounter a boot loop after performing these steps, just boot into stock recovery and then redo wipe cache and factory reset.

Note #3: You may also restore your data/settings from Nandroid backup after completing the above steps and the fix should still work on your device.

That is it. Your Nexus device is fully restored to factory settings and you should now be able to enjoy full storage space on your device's internal memory.

For further assistance, check out the video tutorial below:

[Source: XDA]