[Q] Android L not reporting the correct amount of storage space - Nexus 5 Q&A, Help & Troubleshooting

I clean-flashed the stock release version of Android L that just came out, and I noticed that my phone doesn't detect the correct amount of storage on the device. This is a 32GB Nexus 5, yet the storage page in Settings only lists 12.55GB of total space (screenshot). Windows (10) also lists only 12.5GB of total space (screenshot). What's wrong here?

vaindil said:
I clean-flashed the stock release version of Android L that just came out, and I noticed that my phone doesn't detect the correct amount of storage on the device. This is a 32GB Nexus 5, yet the storage page in Settings only lists 12.55GB of total space (screenshot). Windows (10) also lists only 12.5GB of total space (screenshot). What's wrong here?
Click to expand...
Click to collapse
If flashing userdata results in your device's internal storage being downgraded to 16GB according to the OS, just do a full wipe in recovery, that should fix it. This is a bug caused by the userdata.img file being distributed by Google.
Click to expand...
Click to collapse
What a launch for the N5!

RVDigital said:
What a launch for the N5!
Click to expand...
Click to collapse
So... I have to completely wipe my phone and start from scratch AGAIN?

vaindil said:
So... I have to completely wipe my phone and start from scratch AGAIN?
Click to expand...
Click to collapse
Apologies, that quote assumes everyone knows what a Full Wipe is (that's not sarcasm, its a silly assumption). Wipe the data partition in recovery is what is being suggested here. In some recoveries, a full wipe is data and cache.
I will tell you that doing this in TWRP didn't solve the problem. I ultimately just formated via fastboot, as follows.
Code:
fastboot format userdata

RVDigital said:
Apologies, that quote assumes everyone knows what a Full Wipe is (that's not sarcasm, its a silly assumption). Wipe the data partition in recovery is what is being suggested here. In some recoveries, a full wipe is data and cache.
I will tell you that doing this in TWRP didn't solve the problem. I ultimately just formated via fastboot, as follows.
Code:
fastboot format userdata
Click to expand...
Click to collapse
Is there a way I can back up the contents of userdata then restore them back once the partition is the correct size? I'll go through the process of reinstalling everything again if I have to, but I'd really like to avoid that if at all possible. Can I MTP to it from TWRP?

vaindil said:
Is there a way I can back up the contents of userdata then restore them back once the partition is the correct size? I'll go through the process of reinstalling everything again if I have to, but I'd really like to avoid that if at all possible. Can I MTP to it from TWRP?
Click to expand...
Click to collapse
Why not do a TWRP Backup of /data then restore it when you're finished?

I will say I was having the same issue, and I couldn't create a nandroid backup via CWM. Backs up boot image OK. Backs up recovery image OK. Backs up system OK. "Runs out of" storage space when backing up data. GRRR. SD card space free: 0 MB. False!
Wiped data partition in CWM. Started setup again. STILL 16GB.
Formatted using the Minimal ADB and Fastboot tool found here: http://forum.xda-developers.com/showthread.php?t=2317790
(Code: fastboot format userdata)
Rebooted
THAT worked!!! I am just raging that I spent ~8 hours setting up and customizing everything last night, down to the last email account and icon and NOW it's all gone.

RVDigital said:
Why not do a TWRP Backup of /data then restore it when you're finished?
Click to expand...
Click to collapse
Ah, I thought a nandroid backup was a full partition backup, so doing that would just restore the entire partition with the incorrect size. I took a TWRP backup of data, wiped data, then restored the nandroid backup and all is well. Thank you!

Related

[Q] Ooops - Tab's funked. Help!

P6800 running Zeta
I was browsing facebook the other night when... shaboom - everything froze. No biggie I thought, I'll just do a little reset (I was getting a few FCs here and there anyway lately) and I'll be good to go...
NOPE. It started bootlooping at the initial Samsung Galaxy Tab 7.7 screen. I'm able to enter CWM recovery and even wipe the cache and flash ZIP files, but when I try to wipe data/factory reset, wipe the Dalvik cache or restore a Nandroid backupI get a System Error. It doesn't look good.
Is there a way to fix my seemingly funked /system without losing all my internal SD card data (where my Titanium backups reside) or to recover it before a full Odin flash?
Just tried again - it reboots and goes into a loop when I try to wipe data and dalvik, and when I try to restore a previous backup it gives me "Error while restoring /system!"
Any help greatly appreciated before it becomes a $600 door stop
Do you dare to wipe the system folder and follow by flashing another ROM?
Sent from my GT-P6800 using xda app-developers app
iena said:
Just tried again - it reboots and goes into a loop when I try to wipe data and dalvik, and when I try to restore a previous backup it gives me "Error while restoring /system!"
Any help greatly appreciated before it becomes a $600 door stop
Click to expand...
Click to collapse
ok... try go long way... download old HC stock rom and install that... then try go to stock recovery in hc and wipe your data
Thread moved to Q & A section, post in the relevant section next time.
edan1979 said:
ok... try go long way... download old HC stock rom and install that... then try go to stock recovery in hc and wipe your data
Click to expand...
Click to collapse
Do you mean via Odin? Will I lose the data on my internal SD card by doing that? Is there any way of mounting the device in its current state as external storage on my PC to copy all data before a wipe?
ZhenMing: I'm not sure what you mean, but as I wrote above I am not able to wipe the system folder.
yes you will loose your data... i can give you another advice... but do this one carefully... the reason why your device cant wipe any /system or /data is because the corrupted partition... you need to check it... follow the guide in this thread...
USE ONLY PART 3... follow the guide start from this para to check your device...
Code:
Now we are going to use e2fsck to check our new partitions for errors, but not only, it also fixes some erros and it will even for example create lost & found in /data
So let's go, we'll begin with /system. If you're still in the (parted) shell, use ctrl+c and type "adb shell", then issue the following :
http://forum.xda-developers.com/showthread.php?t=1862294
iena said:
Do you mean via Odin? Will I lose the data on my internal SD card by doing that? Is there any way of mounting the device in its current state as external storage on my PC to copy all data before a wipe?
ZhenMing: I'm not sure what you mean, but as I wrote above I am not able to wipe the system folder.
Click to expand...
Click to collapse
Since you can go into cwm, you can mount your storage and then connect to PC to copy all you want.
edan1979 said:
yes you will loose your data... i can give you another advice... but do this one carefully... the reason why your device cant wipe any /system or /data is because the corrupted partition... you need to check it... follow the guide in this thread...
USE ONLY PART 3... follow the guide start from this para to check your device...
Code:
Now we are going to use e2fsck to check our new partitions for errors, but not only, it also fixes some erros and it will even for example create lost & found in /data
So let's go, we'll begin with /system. If you're still in the (parted) shell, use ctrl+c and type "adb shell", then issue the following :
http://forum.xda-developers.com/showthread.php?t=1862294
Click to expand...
Click to collapse
But won't it downsize the int sd size, if OP tab still under warranty, better to get it fix by samsung for free and not lost any space.
Just reading the 1st post of the ZETA rom thread.
He says he is using stock Kernel.
He says every 5 lines, that you should full wipe...
without giving any sort of warning that it will eventually brick your device.
friedje said:
Since you can go into cwm, you can mount your storage and then connect to PC to copy all you want.
Click to expand...
Click to collapse
Tried that one, but it won't mount unfortunately. The external will no problem, but when I try with the internal it just... well it does nothing. It's a bummer cause all my most recent backups are on the internal. Any other way of retrieving my data short of extracting the chip?
Giving it back to Samsung sounds like the best option, but I'm worried cause it has a custom ROM and it's rooted. Anyone has experience doing that?
Also I thought full wipes were good, but you're saying they eventually brick the device? How come? I thought having a custom recovery meant it would be virtually impossible to brick my device... and the weird thing is that it happened during normal usage, not while flashing.
Anyway, my priority is obviously to get my tab working again, but retrieving my internal data is second highest. Isn't there a flashable ZIP that would copy the contents of the internal SD into an external SD card? Surely this has happened to someone before me?
Thanks for all the answers, really appreciated!
bruce16878 said:
But won't it downsize the int sd size, if OP tab still under warranty, better to get it fix by samsung for free and not lost any space.
Click to expand...
Click to collapse
nope it wont... the 3rd stage on that thread command for just check and fix the corrupted partition... its like when we force boot windows... it will run on a little diagnostic software to check the drive... same concept.
Oh I see, Thanks for the explanation. Learn something new today.
Sent from my LT18i using xda app-developers app
friedje said:
Since you can go into cwm, you can mount your storage and then connect to PC to copy all you want.
Click to expand...
Click to collapse
edan1979 said:
nope it wont... the 3rd stage on that thread command for just check and fix the corrupted partition... its like when we force boot windows... it will run on a little diagnostic software to check the drive... same concept.
Click to expand...
Click to collapse
Gotcha! Will try that one and post result - thanks!
how did your partition check go?
i'm annoyed that some partitions can be corrupted randomly even doing some mundane stuffs
even on stock ICS fw, i encountered DATA corruption by just deleting a contact
i guess you have softbrick..
here is what i did:
-flash stock Honeycomb firmware using Odin
-forced tablet into stock recovery mode
-wipe Cache/Data/Factory Reset
- reboot
when your tab is working again you could backup files from your internal EMMC and you could flash ROMS from there
JAYZE said:
how did your partition check go?
i'm annoyed that some partitions can be corrupted randomly even doing some mundane stuffs
even on stock ICS fw, i encountered DATA corruption by just deleting a contact
i guess you have softbrick..
here is what i did:
-flash stock Honeycomb firmware using Odin
-forced tablet into stock recovery mode
-wipe Cache/Data/Factory Reset
- reboot
when your tab is working again you could backup files from your internal EMMC and you could flash ROMS from there
Click to expand...
Click to collapse
Thanks for that. I haven't tried anything yet as I'm away till Weds, but I will then and let you know. So you're saying by flashing stock HC via Odin and wiping/resetting everything through stock recovery I won't lose my internal storage data?
that's what i experienced..but i could not guarantee that it will be the same for your device
i noticed that because old folder are not deleted when i rebooted, but i haven't checked if the system folders are cleared
to have a clean reflash i also format/sdcard on recovery..but don't do this on stocl ICS recovery since you might risk increasing the damage
try to format via odin the Honeycomb fw first [don't put PIT file neither enable Repartion, just normal flash]
then force it to enter recovery mode when it bootloops after reset
you might fix your device this way if it has softbrick
just resort to using PIT/repartition as your last option
Again I would not recommend repartition when tab still under warranty. Repartition the last resort only if the tab is without warranty after failing all other alternatives.
JAYZE said:
how did your partition check go?
i'm annoyed that some partitions can be corrupted randomly even doing some mundane stuffs
even on stock ICS fw, i encountered DATA corruption by just deleting a contact
i guess you have softbrick..
here is what i did:
-flash stock Honeycomb firmware using Odin
-forced tablet into stock recovery mode
-wipe Cache/Data/Factory Reset
- reboot
when your tab is working again you could backup files from your internal EMMC and you could flash ROMS from there
Click to expand...
Click to collapse
+1
After a full hangup, your stock hc is your first step out of the dark!
Best of luck
al128 said:
+1
After a full hangup, your stock hc is your first step out of the dark!
Best of luck
Click to expand...
Click to collapse
Ok I'm gonna do it. There are dozens of versions of HC for the 6800 though, can I just pick any or do I need to find out what it was running out of the box? Mine came from Singapore.

[Q] Data On My Internal Storage?

Hi guys, this is my first post on this forum ( Actually I have benn here for a long time without account )
Alright, This is my problem, I usually flash back to stock by RUU, my Pico has over 100MB free space. A few days ago, I flashed the same RUU, but this time I have 70MB space only, I have cleaned all partitions by recovery and flash again, still.
Oh wait, I just use Disk Usage and check the storage, it's say there are some data(not system) on the internal storage, wow.
Does anyone have ideas?
My Pico cid is Taiwan(621), so I flash TW RUU.
Thanks
before flashing, did you wipe system partition too?
Affangta said:
before flashing, did you wipe system partition too?
Click to expand...
Click to collapse
yeah, I did, everything wiped before flash back by RUU, actually before this, I never wipe by myself but has no problems,
AA181891 said:
yeah, I did, everything wiped before flash back by RUU, actually before this, I never wipe by myself but has no problems,
Click to expand...
Click to collapse
why not sd-ext partition for apps?
Affangta said:
why not sd-ext partition for apps?
Click to expand...
Click to collapse
I know that and it's convenience, but this smartphone now is just my secondary phone.
And for a odd reason, I prefer not to creat a partition on my SD card, just like to keep it simple and clean.
Looks like I'm stubborn...

[Q] Issues with KatKiss 4.3.1_027 on TF101

Good morning-
I have a TF101 (with keyboard) running KatKiss 4.3.1_027 and gapps 4.3_20130914. Everything was fine until yesterday morning when I lost network connectivity and decided to reboot (this happens from time to time). Unfortunately, now my tablet won't boot. I get the splash screen with the swirling colored circles, but nothing more.
I tried booting to TWRP (v2.6.3.0 if it matters) and flashed KK and gapps again (including wipes as instructed). This time, it got to an "Upgrading Android" screen, went through my apps, but then got stuck on "Starting apps." I've given it about an hour in both situations and still nothing.
To make matters worse, my microSD slot is flaky and usually doesn't read my card. Based on what I've found, it looks like I have to use adb to push any new files to the tablet. If I boot TWRP and connect my TF to my PC (Windows 7), it tries to install "ASUS Android MTP Device" but is not successful (yellow exclamation point - "This device cannot start. (Code 10)"). I've tried downloading and installing the suite from ASUS, but that doesn't seem to help. "adb devices" doesn't list anything, so I'm stuck here as well.
Any help would be greatly appreciated. Thank you!!
Brian
Welcome to XDA!
This is what I responded to you over at TFF:
Sorry for the issues, it looks like the issue is a corrupt /data/ partition. By default "fsync" is off because this makes it faster, however it could get in a bootloop due to this speed. The fix is to flash the "fsync_on.zip" before the boot loop happens.
Once it happens, you are stuck, but there is help.
If you have TWRP 2.6.3.0, it is supposed to have USB support. Plug in a USB drive before booting to TWRP and it should be there.
To fix your issue and lose very minimal data, here is what will need to be done:
Boot to TWRP.
Backup only the /data/ partition. I would back it up to USB if possible, or if not back it up to the internal or microSD (if the microSD is playing nice).
Next (here is the leap of faith) do the wipe of the SYSTEM, CACHE, DAVLIK and DATA partitions. Do not do a FORMAT DATA, just a WIPE DATA (in the advanced section of the WIPE menu).
Now, install KatKiss and the GAPPS.
Wipe CACHE & DAVLIK.
Reboot.
Sign in to your Google account. You can have it restore apps if you want, I usually do myself, but it does not really matter.
Once it is done restoring your apps (or if you choose not to restore) open the Play Store an install Titanium Backup and the Premium Key for TiBu. You need the premium to restore from a TWRP backup.
Open TiBu and go into the Menu section, then find the option to restore from a nandroid backup. This will scan for any nandroid backups. Pick the backup to restore from and it will take a few minutes to scan the backup. Pick the apps you want to restore data and / or the app from.
Go make a coffee and wait for it to complete.
You may lose data from one or two apps, but you will have it from the rest of them. That is better than nothing.
Thank you!!
If that's all it is, then it's not as bad as I thought.
frederuco said:
If you have TWRP 2.6.3.0, it is supposed to have USB support. Plug in a USB drive before booting to TWRP and it should be there.
Click to expand...
Click to collapse
Unfortunately, this doesn't seem to be working for me. I used TWRP to power off my tablet. Then, I plugged in a USB stick into one of the ports on my keyboard, as this is the only way that I have access to a port. TWRP boots as expected, but I can't see my USB device anywhere. Am I doing something wrong? Is there a partition on the internal storage that I can use for the backup that won't get wiped by the process you outlined above?
Thanks again!!
You can use the INTERNAL storage option, just be sure that when you wipe you only wipe the DATA partition. Do not choose to FORMAT DATA.
WIPE DATA = wipes the /data/ partition without wiping /data/media/ (which is the /sdcard/ directory or INTERNAL)
FORMAT DATA = formats the entire /data/ partition.
As I said above, you can use the internal storage option but be sure to only use the wipe data option.
frederuco said:
You can use the INTERNAL storage option, just be sure that when you wipe you only wipe the DATA partition. Do not choose to FORMAT DATA.
WIPE DATA = wipes the /data/ partition without wiping /data/media/ (which is the /sdcard/ directory or INTERNAL)
FORMAT DATA = formats the entire /data/ partition.
As I said above, you can use the internal storage option but be sure to only use the wipe data option.
Click to expand...
Click to collapse
Just so I'm 100% clear:
Boot to TWRP
Check only "Data" from the left menu.
On the right side, "Storage: Internal Storage" is selected and nothing needs to be changed here.
Swipe to back up
Proceed with the steps in your original post.
Correct.
frederuco said:
Welcome to XDA!
This is what I responded to you over at TFF:
Sorry for the issues, it looks like the issue is a corrupt /data/ partition. By default "fsync" is off because this makes it faster, however it could get in a bootloop due to this speed. The fix is to flash the "fsync_on.zip" before the boot loop happens.
Once it happens, you are stuck, but there is help.
If you have TWRP 2.6.3.0, it is supposed to have USB support. Plug in a USB drive before booting to TWRP and it should be there.
To fix your issue and lose very minimal data, here is what will need to be done:
Boot to TWRP.
Backup only the /data/ partition. I would back it up to USB if possible, or if not back it up to the internal or microSD (if the microSD is playing nice).
Next (here is the leap of faith) do the wipe of the SYSTEM, CACHE, DAVLIK and DATA partitions. Do not do a FORMAT DATA, just a WIPE DATA (in the advanced section of the WIPE menu).
Now, install KatKiss and the GAPPS.
Wipe CACHE & DAVLIK.
Reboot.
Sign in to your Google account. You can have it restore apps if you want, I usually do myself, but it does not really matter.
Once it is done restoring your apps (or if you choose not to restore) open the Play Store an install Titanium Backup and the Premium Key for TiBu. You need the premium to restore from a TWRP backup.
Open TiBu and go into the Menu section, then find the option to restore from a nandroid backup. This will scan for any nandroid backups. Pick the backup to restore from and it will take a few minutes to scan the backup. Pick the apps you want to restore data and / or the app from.
Go make a coffee and wait for it to complete.
You may lose data from one or two apps, but you will have it from the rest of them. That is better than nothing.
Click to expand...
Click to collapse
frederuco said:
Correct.
Click to expand...
Click to collapse
Success!! Thank you! Thank you! Thank you!! Two follow-ups to this:
1.) Since I was never able to get this working, is there a way to access the USB/SD card slots on the keyboard dock in TWRP? Using the internal storage is good, but if I want to wipe the whole thing (since my microSD card slot doesn't work), I would really have no way of ever being able to do this.
2.) I actually went up to 4.4.2, mostly because I could. However, I seem to have issues with the Google Play store where apps are always stuck on "Installing..." then the get installed but not really. I think I'll go back down to 4.3 unless there's a way to solve this.
Thank you again!!

[Q] [SOLVED] Impossible to free internal storage

I have an SD card of 64Gb and arround 20-25Gb of datas (including TWRP backup) but only 10Gb remain free. As you can see on the pictures, several Gb are missing. I have an idea of the cause, but no idea of the solution to free them.
I did a dual-boot on my tf700 to put lubuntu aside android. After using it a few months, I had some trouble and try to reinstall it ( I couldnt't syncronise zotero anymore because the version of firefox was to old and it was impossible to get a newer version without upgrading lubuntu and the upgrading of lubuntu was not working...) . As it was not working even after reinstalling lubuntu, I had to reinstall it a few times and I think that every times it occupied more space on my SD. As I'm not an expert, I decided to wipe and abandon my dual boot. I did a factory reset wipe (not including internal storage) and reinstall Cromi 5.4. I don't have the dual boot anymore, but it hasn't free the space....
The only idea I have left to free the space is to wipe also the internal storage... but as I don't think it will help (I may be wrong), I'm not very enclined to do it.
Have you any idea of how I can free this space?
Did the lubuntu installs create additional partitions?
Run ls -l /dev/block to see a list of yur partitions
berndblb said:
Did the lubuntu installs create additional partitions?
Click to expand...
Click to collapse
Unlikely, but who knows.
The other possible explanation would be that the lubuntu data is stored somewhere in /data where it is not detected by the storage settings page.
_that said:
Unlikely, but who knows.
The other possible explanation would be that the lubuntu data is stored somewhere in /data where it is not detected by the storage settings page.
Click to expand...
Click to collapse
Then a simple format of /data should bring it all back, right?
The command ls -l/dev/block indicate ls: Unkwown option '-/' . Aborting
But I installed Partition Table and it indicate that 81% (47Gb) of the memory is in /data (as in the screenshot attached)
I suppose that, as berndblb propose, I should format /data
What's the best ways to do it? With the option "format data" of TWRP ?
berndblb said:
Then a simple format of /data should bring it all back, right?
Click to expand...
Click to collapse
Yes, but this will erase *all* data. Erasing just the offending directory with a root-enabled file manager would be probably faster.
Tugende said:
The command ls -l/dev/block indicate ls: Unkwown option '-/' . Aborting
Click to expand...
Click to collapse
The space after "-l" was not just for decoration.
Tugende said:
What's the best ways to do it? With the option "format data" of TWRP ?
Click to expand...
Click to collapse
Yes. Remember that it takes a very long time (more than an hour) because it does a secure erase.
_that said:
Yes, but this will erase *all* data. Erasing just the offending directory with a root-enabled file manager would be probably faster.
The space after "-l" was not just for decoration.
Click to expand...
Click to collapse
YES! I found it. There was a folder data/media/linux with files taking space for each time I installed lubuntu. I erased it and everything is fine now!
(Sorry for the space after "-l". My eyes saw the previous one but not this one...)
Thanks very much for the help!

[Q] How do I wipe my shield Totally??

Hey all,
I did a "factory reset / wipe all data" from within the CWM bootloader. However, there's still a load of trash remaining within the folder /sdcard, like movies, pictures and remnants of games I had installed. I figured that the reset wiped the system folder, but not the sdcard folder. This is correct?
Anyway, my question would be, how do I do a total wipe? I also want my /sdcard back to factory settings, how do I go about this?
Thanks in advance,
Noah.
PS. Some background info: I'm on rooted lollipop 5.0.1, using minimal adb and fastboot and CWM as bootloader. I've got some vague idea of what I'm doing, but mostly I just follow instructions on this forum blindly.
I did a reset because I had a bootloop at the nvidia logo. This followed after the battery got down to 1%, at wich point all kind of processes stopped by themselves. I plugged the shield and after battery was full again rebooted, yet it didn't.
Try in Settings, Backup & reset, Factora data reset.
Noah.42 said:
Hey all,
I did a "factory reset / wipe all data" from within the CWM bootloader. However, there's still a load of trash remaining within the folder /sdcard, like movies, pictures and remnants of games I had installed. I figured that the reset wiped the system folder, but not the sdcard folder. This is correct?
Anyway, my question would be, how do I do a total wipe? I also want my /sdcard back to factory settings, how do I go about this?
Thanks in advance,
Noah.
PS. Some background info: I'm on rooted lollipop 5.0.1, using minimal adb and fastboot and CWM as bootloader. I've got some vague idea of what I'm doing, but mostly I just follow instructions on this forum blindly.
I did a reset because I had a bootloop at the nvidia logo. This followed after the battery got down to 1%, at wich point all kind of processes stopped by themselves. I plugged the shield and after battery was full again rebooted, yet it didn't.
Click to expand...
Click to collapse
In CWM, go to Mounts and Storage Menu and format /Data and /data/media. It'll erase the internal storage.
BlackDave said:
In CWM, go to Mounts and Storage Menu and format /Data and /data/media. It'll erase the internal storage.
Click to expand...
Click to collapse
Perfect! That did the job. Thanks for responding

Categories

Resources