[Nexus 4 General] sandy7874:
hi,

Followed your above steps but couldnt revert to default storage for 16 GB variant.

here is a CMD log after doing all these steps -

Please help me if possible -

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot devices
00a3a8d8c712e111 fastboot

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase boot
erasing 'boot'...
OKAY [ 0.016s]
finished. total time: 0.031s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.063s]
finished. total time: 0.063s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase recovery
erasing 'recovery'...
OKAY [ 0.016s]
finished. total time: 0.031s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase system
******** Did you mean to fastboot format this partition?
erasing 'system'...
OKAY [ 0.704s]
finished. total time: 0.704s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase userdata
******** Did you mean to fastboot format this partition?
erasing 'userdata'...
OKAY [ 0.672s]
finished. total time: 0.672s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash bootloader boot
adermako.img
sending 'bootloader' (2203 KB)...
OKAY [ 0.078s]
writing 'bootloader'...
OKAY [ 0.281s]
finished. total time: 0.359s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.000s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot -w update image-occam
ot49h.zip
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
archive does not contain 'vendor.img'
Creating filesystem with parameters:
Size: 6189744128
Block size: 4096
Blocks per group: 32768
Inodes per group: 8048
Inode size: 256
Journal blocks: 23612
Label:
Blocks: 1511168
Block groups: 47
Reserved block group size: 375
Created filesystem with 11/378256 inodes and 50366/1511168 blocks
Creating filesystem with parameters:
Size: 587202560
Block size: 4096
Blocks per group: 32768
Inodes per group: 7168
Inode size: 256
Journal blocks: 2240
Label:
Blocks: 143360
Block groups: 5
Reserved block group size: 39
Created filesystem with 11/35840 inodes and 4616/143360 blocks
--------------------------------------------
Bootloader Version...: MAKOZ30d
Baseband Version.....: M9615A-CEFWMAZM-2.0.1700.98
Serial Number........: 00a3a8d8c712e111
--------------------------------------------
checking product...
OKAY [ 0.000s]
checking version-bootloader...
OKAY [ 0.006s]
checking version-baseband...
OKAY [ -0.000s]
sending 'boot' (6340 KB)...
OKAY [ 0.207s]
writing 'boot'...
OKAY [ 0.344s]
sending 'recovery' (6888 KB)...
OKAY [ 0.228s]
writing 'recovery'...
OKAY [ 0.375s]
erasing 'system'...
OKAY [ 0.047s]
sending 'system' (713960 KB)...
OKAY [ 22.465s]
writing 'system'...
OKAY [ 39.946s]
erasing 'userdata'...
OKAY [ 0.219s]
sending 'userdata' (98413 KB)...
OKAY [ 3.097s]
writing 'userdata'...
OKAY [ 5.080s]
erasing 'cache'...
OKAY [ 0.016s]
sending 'cache' (10984 KB)...
OKAY [ 0.366s]
writing 'cache'...
OKAY [ 0.606s]
rebooting...

finished. total time: 73.275s

C:\Program Files (x86)\Minimal ADB and Fastboot>

A short history of this problem -

When I took over N4 from my cousin - it was on some CM build.
I total wiped it including internal storage and then returned to Lates N4 Stock build 5.1.1
Since then this Storage issue arised.
I did factory reset on 5.1.1 in Stock Recovery
tried "Erase Everything" under "Back up Reset" in Settings.
Still know change.
[I]I tried [URL="http://forums.androidcentral.com/android-5-0-lollipop/461656-nexus-7-downgraded-8gb-after-lollipop-update.html#post4595090"]changing System[/URL] Partitions in TWRP>WIPE>Advnaced Wipe>Select Data>click Repair File System>Changed to FaT>changed back to EXT4>still 5.78 GB.[/I]
finally decided to downgrade and I m seeing this.
Enclosed is pic of Bootloader where it shows its 16 GB. So i m pretty sure its 16 GB variant and not 8 gb.
I tried locking and unlocking bootloader but it didn't changed storage space.