Fix Incorrect Storage Capacity after Flashing a new ROM

in #mobile6 years ago

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 all devices.
For example, when you install/flash a factory image on your Nexus 4 16GB. Your device begins to show only 8GB of available storage capacity, which is incorrect. Same with a 32GB 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 8GB userdata image to 16GB device variant, it begins to show only 8GB 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.

Here are the steps to fix it:

-Boot into STOCK RECOVERY (If you are running a custom recovery you must flash to stock)
First, you'll need fastboot.exe on your computer.

Next, You'll want the latest occam image
https://developers.google.com/androi...s/images#occam
Finally, boot into the bootloader and run these 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
After that

1. Boot into TWRP recovery.
2. Select Wipe » Advanced Wipe.
3. Tick/check the Data partition.
4. Select Repair or Change File System button.
5. And lastly select Resize File System button.

└ Let TWRP resize your file system. It might take some time, have patience.
6. Once resizing is done, reboot your device. From TWRP main screen, select Reboot » System.

This is tetsted on NEXUS 4 device 16GB, Hope it will works on another devices.

                Thanks
Sort:  

Congratulations @vineetmaurya11! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You made more than 300 upvotes. Your next target is to reach 400 upvotes.

Click here to view your Board
If you no longer want to receive notifications, reply to this comment with the word STOP

Support SteemitBoard's project! Vote for its witness and get one more award!

Coin Marketplace

STEEM 0.26
TRX 0.20
JST 0.038
BTC 96962.96
ETH 3588.91
USDT 1.00
SBD 3.83