After flashing android 7 less space on sd card 24GB → 10GB - Nexus 5X Q&A, Help & Troubleshooting

Hi,
After flashing android 7 I have only 10GB space instead of 24GB. I have 32GB version.
I guess the problem is because of that I flash it manually with factory image, but unfortunately I did it many times before I realised that I didnt flash vendor because of that system didnt boot.
I guess that there are these data on my card from first bad attempts. I used app Disk Usage but I just see current system but no more.
Now my android 7 working well, I rooted it again.
My question is if there is any way how to erase whole sd card and then flash new system again or something like that?
Thanks for any reply
edit reply: Have to do it through edit because I am new and I cant reply on my own post until I have 10 posts
Factory reset didn´t work still 10GB of space I did it in TWRP and ticked all except system
Flashall doesnt work in my case I had to flash factory image manually step by step that´s why I forgot to flash vendor.img and I did the flashing procedure many times which probably caused that I have only 10Gb now.
I have linux but I also tried it on windows computer with root toolkit and flashing a7 wasn´t work as well
I tried in fastboot erase partitions (cache, userdata, recovery, vendor, system, boot) and then I flashed A7 again but still 10GB
edit2:
tried it again and finally solved it

adrenalinnn said:
Hi,
After flashing android 7 I have only 10GB space instead of 24GB. I have 32GB version.
I guess the problem is because of that I flash it manually with factory image, but unfortunately I did it many times before I realised that I didnt flash vendor because of that system didnt boot.
I guess that there are these data on my card from first bad attempts. I used app Disk Usage but I just see current system but no more.
Now my android 7 working well, I rooted it again.
My question is if there is any way how to erase whole sd card and then flash new system again or something like that?
Thanks for any reply
Click to expand...
Click to collapse
I think i read somewhere that you need to do a factory reset and the full storage will return
Sent from my Nexus 5X using XDA Labs

Yes, doing a factory reset will correct the memory issue. If you want to erase the whole thing and re-install everything the simplest way is to use the flashall batch file that comes with the factory image. Then do a factory reset from the stock recovery.
Sent from my Nexus 9 using XDA-Developers mobile app

Related

[Q] How do I format the internal storage and flash with cwm

I've had a bit of a nightmare tonight, I rooted and cwm my nexus within the first hour of ownership and flashed modaco pauls rom however after a couple of days of messing around I found myself wondering how to format the internal storage but still be able to flash via cwm. Have poked around I've found you are able to push the rom via adb while in cmw so again no problem except selecting "wipe" from ics doesnt really format the partition the storage, while when the phone is running and plugged into the computer you seem to have a fresh storage area however the free space is still taking into account of old files. And when I went back to cwm it clearly still showed the old deleted files which seems strange. The only way i was able to clear everything was via the storage menu with ics deleting folders one at a time ?!
So my question is......
Which is the best way to format the internal storage area and once completed am i able to push my rom onto the phone and flash correctly?
Same problem here.
Even with wiping and formatting data, cache, system, dalvik cache and even a factory reset from the running Android, I still have old data from non-present apps in my app list.
Download the Super Wipe script from the Android Revolution HD thread, flash it in CWM and voila - completely formatted phone (bar the user data like pictures, music, etc)
Simplest way is to re-lock and re-unlock back the bootloader
Proyoyo said:
Simplest way is to re-lock and re-unlock back the bootloader
Click to expand...
Click to collapse
Will this has any effect on rom / root?
GBIC said:
Same problem here.
Even with wiping and formatting data, cache, system, dalvik cache and even a factory reset from the running Android, I still have old data from non-present apps in my app list.
Click to expand...
Click to collapse
Grab the Nexus Toolkit in the development section. It will do everything you are looking for plus more.

[Q] Using factory restore and erasing sd card contents within a custom rom

I am curious what the results will be if I use the factory restore within a custom rom . I'm currently running AOKP M5.1 . I am wondering if there are any unsightly ramifications to booting into TWRP and doing a factory restore and erasing the SD card contents? I would like to do this to free up as much space as possible and remove the left over remnants of over 20 flashes and a plethora of app installs. One question I have is will TWRP wipe its own directories?
Would this be better from a stock perspective? The only time I wiped my SD card I was on stock and I really don't care to experience any directory malfunctions or card mounting issues. Doing this within a custom rom will my device still know its a kindle lol?
Edit: I know that this will not restore to 6.3.1 I'm just looking to run AOKP in a clean fresh environment including the SD card thanks for any input
Reserved
Thepooch said:
I am curious what the results will be if I use the factory restore within a custom rom . I'm currently running AOKP M5.1 . I am wondering if there are any unsightly ramifications to booting into TWRP and doing a factory restore and erasing the SD card contents? I would like to do this to free up as much space as possible and remove the left over remnants of over 20 flashes and a plethora of app installs. One question I have is will TWRP wipe its own directories?
Would this be better from a stock perspective? The only time I wiped my SD card I was on stock and I really don't care to experience any directory malfunctions or card mounting issues. Doing this within a custom rom will my device still know its a kindle lol?
Click to expand...
Click to collapse
You cannot wipe recovery from inside recovery, only the TWRP backups on your sdcard will be lost. The sdcard is on its own partition apart from recovery and system files.
Backups are backed up on my pc also the only time I have used factory restore is when I was going to flash something new. The idea of this seems simple I just don't want it to be problematic since I won't be doing a new flash.
Thepooch said:
I am curious what the results will be if I use the factory restore within a custom rom . I'm currently running AOKP M5.1 . I am wondering if there are any unsightly ramifications to booting into TWRP and doing a factory restore and erasing the SD card contents? I would like to do this to free up as much space as possible and remove the left over remnants of over 20 flashes and a plethora of app installs. One question I have is will TWRP wipe its own directories?
Would this be better from a stock perspective? The only time I wiped my SD card I was on stock and I really don't care to experience any directory malfunctions or card mounting issues. Doing this within a custom rom will my device still know its a kindle lol?
Click to expand...
Click to collapse
Factory data reset from a ROM will wipe the /data partition. It's effectively the same as "Wipe -> Factory Reset" from TWRP.
On the other hand, if you do the equivalent from the stock software, it too will wipe the /data partition, but it will also take the SD Card contents along with it. I learned this the hard way.
kinfauns said:
Factory data reset from a ROM will wipe the /data partition. It's effectively the same as "Wipe -> Factory Reset" from TWRP.
On the other hand, if you do the equivalent from the stock software, it too will wipe the /data partition, but it will also take the SD Card contents along with it. I learned this the hard way.
Click to expand...
Click to collapse
I would like to flush the SD for a clean start music video and apps can all be restored before I stick both feet in I want to make sure that it just gives me the spring cleaning that I'm looking for
Well here's what I decided to do I figured since I had a working rom on I would do it all from the factory restore in the rom. So I clicked factory restore and erase SD card after rebooting it prompted me to set up my Google account. After it restored my account and all my apps downloaded and installed, I moved some files to my SD that I wanted back on and did a backup through twrp. All said and done I was very excited to see that I had 4 gigs of remaining space on my SD card so I managed to clear out 2 gigs of excess clutter from what I have done on my kindle. The only downside I have noticed so far is when hooking my kindle to my computer it shows G: removable disk . ADB drivers are good but its no longer listed as kindle under my computer which isn't the first time I've seen this.The way I figure no big deal adb works and I can access my SD card contents on my computer how its listed is irrelevant.
Drivers driver drivers windows sucks lol at this point they are functioning so I will not be trying to reinstall them. Later I will try another restore and wipe my SD through twrp to see if that changes probably won't make a difference I'm just gonna do it for kicks and giggles
On a device that only has 5 gigs of storage regaining 2 more gigs of play room is substantial. There was more clutter than what I anticipated I was only hoping for a half a gig and I'm certainly thrilled by 2

Cleaning internal memory & internal SD card

Have had my Galaxy Nexus for 2 years now. It was also my first android device so I've tried every app out there haha. This year I did my first root and tested a few roms. I think I have found one I like but before starting fresh I would like to completely restart my internal memory and SD card. Every flash I have done I have just done the factory reset which clears my SD card only I believe. I use TWRP and see that they have a few options to erase internal memory along with other things. Is it safe to do the advanced wipe? If I checked off all of the items and did the advanced erase, would I have to install the factory image in SDK again before being able to install a rom? How else would I install a rom if there is no data on the phone? All I am looking for is to completely clean up my phone before continuing on with it. Hopefully my post makes sense. Thanks for any future replies.
Best way to do that is to follow this guide and return to stock then start over. I'm pretty sure it wipes everything in the process.
http://forum.xda-developers.com/showthread.php?t=1626895
Yes I've done the return to stock from your link. Although some items are still in my internal memory left behind from apps. The options I speak of are as follows in TWRP.
Dalvik Cache
System
Cache
Data
Internal Storage
USB OTG
Question is can I just select all of these and wipe the phone and reinstall factory image in fastboot. or a rom in fastboot?
sumthin2die4 said:
Yes I've done the return to stock from your link. Although some items are still in my internal memory left behind from apps. The options I speak of are as follows in TWRP.
Dalvik Cache
System
Cache
Data
Internal Storage
USB OTG
Question is can I just select all of these and wipe the phone and reinstall factory image in fastboot. or a rom in fastboot?
Click to expand...
Click to collapse
re-lock then unlock the bootloader will wipe your data and internal sdcard.
flashing userdata.img with fastboot will do the same

(Q)Flashing roms/kernals without SD? - Noob Question

Hello! I've only been working with Android for a good year but the only devices I've used have had SD cards so I've only ever backup'd, and flashed via an SD Card.
I understand I must either get an OTG cable or push through ADB to get the files on my device after wiping through TWRP right? I've already unlocked the bootloader, flashed TWRP, and rooted through CF.
Is there anywhere I can move the ROM files too in the phone's internal storage that'll stay there after wiping my System, Data and Cache through TWRP so I can select them to flash right afterwards?
Thanks for helping me, I understand it's a noob question!)
Br4nd3n said:
Hello! I've only been working with Android for a good year but the only devices I've used have had SD cards so I've only ever backup'd, and flashed via an SD Card.
I understand I must either get an OTG cable or push through ADB to get the files on my device after wiping through TWRP right? I've already unlocked the bootloader, flashed TWRP, and rooted through CF.
Is there anywhere I can move the ROM files too in the phone's internal storage that'll stay there after wiping my System, Data and Cache through TWRP so I can select them to flash right afterwards?
Thanks for helping me, I understand it's a noob question!)
Click to expand...
Click to collapse
Wiping data will not wipe your data/sdcard, so you can download the files normally (directly on the device using a web browser, or USB MTP, etc).
Yes, custom recovery is specifically setup not to wipe your internal storage.
Sent from my Nexus 7 2013 using Tapatalk
SwoRNLeaDejZ said:
Yes, custom recovery is specifically setup not to wipe your internal storage.
Sent from my Nexus 7 2013 using Tapatalk
Click to expand...
Click to collapse
Awesome. So put the files into my SDCard or any internal folder and it should work?
Sent from my Nexus 7 using XDA Premium 4 mobile app
Br4nd3n said:
Awesome. So put the files into my SDCard or any internal folder and it should work?
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Anywhere on your SD card is safe.
arkolbus said:
Anywhere on your SD card is safe.
Click to expand...
Click to collapse
SD card? Nexus 7?
douger1957 said:
SD card? Nexus 7?
Click to expand...
Click to collapse
The internal "sdcard" directory
arkolbus said:
The internal "sdcard" directory
Click to expand...
Click to collapse
Ah.
CM's File Manager calls it "internal storage" as does Android. ES File Explorer calls it "SD card." You say "tomato" and I say "tamato..."
At any rate, a factory reset will indeed wipe the internal storage/sd card. The ROM the OP is trying to flash will no longer be there. Ask me how I know this.
For what it's worth, here's how I do it.
1) Back up that which I can't reload. Pictures automatically upload to Dropbox for me. Music I can always resync. Your mileage may vary.
2) Factory reset. If I'm feeling lazy or the ROM developer says it's OK, I'll wipe just the cache and dalvik, then flash away. Feeling lazy usually means more work in the end, so I try to avoid that option.
3) Reboot. Once the setup wizard runs... I do not sign on to Google so that it won't try to restore my apps and settings... I mount the internal storage and transfer the ROM zip to the device. I do not download anything directly to my device, but rather my desktop. First off, I trust the internet connection more, second, I can run the thing past my antivirus before I load it on my device. I then transfer it to the root directory of the device.
4) Boot into recovery and wipe the cache, dalvik and system. I then flash the ROM. If there are other files that need to be flashed before the first boot, I do so one at a time. When I'm done, I'll wipe the cache and dalvik one more time, then boot into the system and run the wizard.
When I first got into Android with the Droid Incredible, I was a flashaholic. It'd be nothing to flash three or four times a week. I quickly learned what worked and what didn't. Knocking on wood, I've never come close to bricking a device and usually don't invite trouble by sticking religiously to my routine. That's not to say that I never got a tightening feeling in my nether regions when a device seemed to hang on the splash screen a bit too long.
ROM development is far more sophisticated now than in those days. With both the Rezound and now the S4, I've pretty much hung with one developer and his product and don't flash nearly as much, especially since the ROMs of today are far more stable. But the basic procedure remains the same. The above procedure is modified from my phones past and present, since the Nexus is the first device I've owned that did not have an external SD card, which isn't wiped on a factory reset. I also don't do a nandroid backup with the Nexus, since it's a fairly simple matter to reload a factory image using Wug's Toolbox. That's how I recovered from doing a factory reset and a system wipe on the Nexus... which also involved some tension in the posterior.
douger1957 said:
Ah.
CM's File Manager calls it "internal storage" as does Android. ES File Explorer calls it "SD card." You say "tomato" and I say "tamato..."
At any rate, a factory reset will indeed wipe the internal storage/sd card. The ROM the OP is trying to flash will no longer be there. Ask me how I know this.
Click to expand...
Click to collapse
douger: the OP was referring to a factory reset/wipe in TWRP, which does *not* wipe the internal storage. I flash frequently on my Nex7 and LG G2, neither have external SD cards, both have TWRP, and I have never lost my data using this method. If you load TWRP and click [Wipe], the exact text is:
Factory Reset
Wipes Data, Cache, and Dalvik
(not including internal storage)​
arkolbus said:
douger: the OP was referring to a factory reset/wipe in TWRP, which does *not* wipe the internal storage. I flash frequently on my Nex7 and LG G2, neither have external SD cards, both have TWRP, and I have never lost my data using this method. If you load TWRP and click [Wipe], the exact text is:
Factory Reset
Wipes Data, Cache, and Dalvik
(not including internal storage)​
Click to expand...
Click to collapse
It did indeed blow out my internal storage when I first tried it. When I went to flash, there was nothing in internal storage. None of the usually folders, most certainly not the .zip I was looking for, nothing. Enter tension. :cyclops:
Perhaps the next time I'll try again. It'll save a few steps. I'll have Wug's Toolbox open just in case. :highfive:
In edit: I just looked. In TWRP version 2.7.0.0, I must have hit the "format data" button and didn't catch it. You sir are exactly correct.
douger1957 said:
It did indeed blow out my internal storage when I first tried it. When I went to flash, there was nothing in internal storage. None of the usually folders, most certainly not the .zip I was looking for, nothing. Enter tension. :cyclops:
Perhaps the next time I'll try again. It'll save a few steps. I'll have Wug's Toolbox open just in case. :highfive:
Click to expand...
Click to collapse
TWRP wipe blew out your internal storage, or was it some other process? Your link pointed to a T-mo "master reset", which I'm sure isn't referring to a custom recovery. Unlocking the bootloader on my G2 completely trashed my internal storage, but I was expecting this. IIRC, Nexus devices have been more unlock-friendly, but loading a factory image will wipe everything, including internal sd.
Helpful hint for everyone (esp. the paranoid): get a cheap USB OTG to USB-A (female) adapter, and have a flash drive handy. Newer versions of TWRP can mount USB OTG, so it's a nice plan B if you can't get past recovery. They're cheap (<$5), small, and come in handy pretty often.
Yeah the N7 official TWRP definitely does not wipe internal storage. It says right in TWRP "wiping data without wiping /media" which means without wiping internal storage.
If your TWRP is wiping the internal you should make sure it isn't a modified version and TeamWin official.
Sent from my Nexus 7 using Tapatalk
To clarify, wipe data/factory reset wipes your internal storage (/data) but misses /data/media which is your 'sdcard', call it what you like
Assuming a custom recovery, I cannot speak for stock
Sent from my Nexus 7 2013 using Tapatalk
matt4321 said:
To clarify, wipe data/factory reset wipes your internal storage (/data) but misses /data/media which is your 'sdcard', call it what you like
Assuming a custom recovery, I cannot speak for stock
Sent from my Nexus 7 2013 using Tapatalk
Click to expand...
Click to collapse
Yes but your sdcard is to most and many your internal storage... What is factory reset wiping if it avoids everything you have on your sdcard, including files copied to the root of your internal storage?
Sent from my Nexus 7 using Tapatalk

Reinstalled stock image and now it thinks my 32GB phone is only a 16GB?

I messed up my boot.img and had to totally revert to stock, but when I was preparing to flash my custom rom back with TWRP I ran out of space. This phone is a 32GB phone, which meant I usually got at least 20G in storage space, which is evident when I look at my last sdcard backup that takes exactly 20G. However, looking at the internal storage settings after resetting, it says I only have 16G of data, with 10G of that as usable sdcard data.
What the hell? How is it possible that the phone only thinks I have half the data? There isn't even a 16GB variant of this phone... :/ I'm very confused and I have no idea what to do. Please help.
EDIT
Okay, I solved the problem but I'll just edit this in case anyone else has the same issue. When I was flashing stock image with Odin I could use the CSC file (clean wipe) or the USERDATA file (keep files and apps). I selected USERDATA, but discovered it had erased my data and apps anyway. However what it seemed to have done was kept them on the device, just on a different partition or something, I don't know. But they were still there using up the space even though I had no access to them. So I reflashed the stock image and used CSC clean wipe, and now my phone is once again a 32GB phone lol.

Categories

Resources