It’s a common issue for Android devices that come in different sizes to get incorrect storage capacity when flashed with a newer firmware. This issue is more common among Nexus/Pixel devices.
For example, when you install/flash a factory image on your Nexus 5X 32GB. Your device begins to show only 16GB of available storage capacity, which is incorrect. Same with a 64GB variant showing incorrect storage at 16GB only.
This usually happens to devices that can be flashed through unlocked bootloader. Firmware packages for these devices come with a userdata.img image file which is flashed to your phone along with other images. And when you flash a 16GB userdata image to 32GB device variant, it begins to show only 16GB of available storage capacity on the device.
To fix this issue, you either need to find a userdata image or full firmware file for your device model (in respect to storage capacity) OR install TWRP recovery on the device and fix incorrect storage using TWRP’s Resize File System option.
Note: Make sure you backup all important files on your device before attempting to flash a userdata image or Resize File System from TWRP. Because your device’s storage might get wiped (deleted) during the process.
How to Fix Incorrect Storage Capacity of 16GB instead of 32GB or 64GB
- Boot into TWRP recovery.
- Select Wipe » Advanced Wipe.
- Tick/check the Data partition.
- Select Repair or Change File System button.
- And lastly select Resize File System button.
└ Let TWRP resize your file system. It might take some time, have patience. - Once resizing is done, reboot your device. From TWRP main screen, select Reboot » System.
Happy Androiding!
Discussion