[Q] Cannot format virtual SD card - Samsung Galaxy Nexus

I am trying to wipe my virtual SD card on my LTE Galaxy Nexus and it is acting weird.
If I do a factory reset via the settings on the phone, it says it erases all of the files on the SD card. When I hook the phone up to my computer and view the files in explorer, it shows a stock directory structure and root. However, if I try and copy over a file that existed on the SD card before formatting, it says the file is already there and asks me if I want to replace it. If I view the SD card in root explorer, it shows all of the old folders and files, even though they dont show up in windows explorer. Also, if I boot into Clockwork and choose a .zip to flash, it shows all of the old folders and files as well.
I have tried using the super wipe lite script that comes with Android revolution. I have also factory reset the phone a few times via the settings. I previously had Android Revolution installed and I am currently running GummyNex 0.4.2.
No matter what I do, I cannot for the life of me get the SD card to truly reformat.
Am I doing something wrong? Is there an ADB command I can do to reformat it?

oRAirwolf said:
I am trying to wipe my virtual SD card on my LTE Galaxy Nexus and it is acting weird.
If I do a factory reset via the settings on the phone, it says it erases all of the files on the SD card. When I hook the phone up to my computer and view the files in explorer, it shows a stock directory structure and root. However, if I try and copy over a file that existed on the SD card before formatting, it says the file is already there and asks me if I want to replace it. If I view the SD card in root explorer, it shows all of the old folders and files, even though they dont show up in windows explorer. Also, if I boot into Clockwork and choose a .zip to flash, it shows all of the old folders and files as well.
I have tried using the super wipe lite script that comes with Android revolution. I have also factory reset the phone a few times via the settings. I previously had Android Revolution installed and I am currently running GummyNex 0.4.2.
No matter what I do, I cannot for the life of me get the SD card to truly reformat.
Am I doing something wrong? Is there an ADB command I can do to reformat it?
Click to expand...
Click to collapse
Try formatting with cwm recovery. Reboot into recovery, go to mounts and storage, and select format sdcard
Sent from my Galaxy Nexus using xda premium

There is not an option in CWM to format the SD card

oRAirwolf said:
There is not an option in CWM to format the SD card
Click to expand...
Click to collapse
Sorry, I meant format system
Sent from my Galaxy Nexus using xda premium

http://forum.xda-developers.com/showthread.php?p=20999408#post20999408
There isn't any "SD Card" partition.
EDIT: Format /data cannot be done in adb, if you really want to do so just make a CWMR flashable zip with
Code:
format("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/userdata", "0");
in the updater-script.

I'm sorry man, I really appreciate the help but my Google-fu has failed me. Is there a template or something I can create the script from?

bumping this... same issue and its driving me crazy. i can't see any of my files unless i use a file explorer (or if i'm in recovery)

mendy817 said:
bumping this... same issue and its driving me crazy. i can't see any of my files unless i use a file explorer (or if i'm in recovery)
Click to expand...
Click to collapse
If you are having an issue finding your files from your PC it's due to the way Android exposes your "internal sdcard" via MTP. Download an app from the Market called SDrescan which will force the media services on your phone to re-index your files on the phone. Then they will show up on your PC.

thanks, but i've already tried that. it just sits on "scanning" for literally hours (i left it up overnight once just to make sure). any other advice?

oRAirwolf said:
I'm sorry man, I really appreciate the help but my Google-fu has failed me. Is there a template or something I can create the script from?
Click to expand...
Click to collapse
I do not recommend doing this indeed. To be failsafe just delete everything in the /sdcard folder with an explorer app.

I use
fastboot /w
To do a full wipe. This will wipe /sdcard.
Sent from my Galaxy Nexus using XDA App

mendy817 said:
thanks, but i've already tried that. it just sits on "scanning" for literally hours (i left it up overnight once just to make sure). any other advice?
Click to expand...
Click to collapse
Are you on a ROM and/or modified kernel? If you are using Franco's kernel he has made modifications to how the "sdcard" works.

silow said:
Are you on a ROM and/or modified kernel? If you are using Franco's kernel he has made modifications to how the "sdcard" works.
Click to expand...
Click to collapse
yeah, i'm on the latest CND and using franco's latest too... but i've flashed other kernals and had the same problem (but are you saying this might have started the first time i flashed a franco kernal?)
anyway to fix it that you know of?

Related

[Q] Unable to see storage card when running on Android

Hi all,
I am trying to get android to work on my old Tilt2 for my fiance so we can play games together. I've gone through all the steps by adding the correct files to the root of the storage card and running Haret. Every thing seems to work "fine" other than the fact that I can't see a storage card while in Android. I tried to partition my SD card to see if that would help but I am unable to determine the proper way to do that. Any help would be appreciated
Do you have some type of file manager installed on Android? I know that I could always see it, with the exception of the Android folder on my card.
Demonic240 said:
Hi all,
I am trying to get android to work on my old Tilt2 for my fiance so we can play games together. I've gone through all the steps by adding the correct files to the root of the storage card and running Haret. Every thing seems to work "fine" other than the fact that I can't see a storage card while in Android. I tried to partition my SD card to see if that would help but I am unable to determine the proper way to do that. Any help would be appreciated
Click to expand...
Click to collapse
I've said this 100x, not sure why it never shows up on people's searches...
But backup all the data on the card. Format the card (full format, FAT32) using the HP Tool. Restore all the data on the card after the format, or start over fresh doesn't really matter. Apps should now be able to see the card, etc.
I'm not concerned about apps seeing the storage card. I don't have a "My Files" app that will let me navigate the card. Do I need to download a file manager in order for it to work?
I fixed it.. I had to download a file management app I feel dumb now.
Which App?
lotusfrontera said:
Which App?
Click to expand...
Click to collapse
Astro is pretty good, and is included in AndroidApps folder IIRC.
arrrghhh said:
Astro is pretty good, and is included in AndroidApps folder IIRC.
Click to expand...
Click to collapse
Amusingly, I use multiple file storage apps. Super Manager for making system files r/w, and file expert for the look and feel. I have astro too, on my other phone, but only really use it for enabling all file type downloads from the web.
Sent from my SGH-I897 using XDA App

[Q] samsung keypad + font installer hangs

I have a small problem i installed font installer from the market and now after uninstalling the keyboard is stuck on the font that was last installed by the app. I have gone through the root of my sd to find the apk from which the keyboard is installed and cannot for the life of me find it. I thought maybe if i could find it wiping cache and data on that apk would remove it. If there is anyone out there that may be able to help i would greatly appreciate it.
As seen in pic its only the keyboard. Also kote that swype keyboard and gingerbread keyboard are both the same as the system font for some reason its only this keyboard and that is it.
Sent From My BloodyS2
Flash your last back up from cwm?
Or try to install the app again and set it to the default font then uninstall it.
In the future use the built in flipfont.
Deebo took your bike too?
Hey there everyone. Here is the story in list format.
- Got first Galaxy S2 (Tmobile)
- after a few days rooted the phone using odin
- uninstalled bloatware via titanium back up pro
- installed a few apps(fb, twitter, swift key x, mobli, two different font changers)
- everything was running smoothly until i actually installed a font and the app prompted for a reboot.
- i reboot and the booting process freezes at the bootloader logo (tried countless times)
- i enter recovery mode to wipe phone.
- wipe phone.
- same issue.
- i thought then that the phone had some sort of issue in itself.
- i take the phone to tmobile a few days later and tell em some bs.
- get my new phone.
- root it again same way.
- uninstall all the bloatware i want gone and install all the apps i want.
- again SAME thing happens when i install this font changing program.
the program downloads previews for 146ish fonts. you select one. it actually downloads it and reassigns the default font with the font you download and after a reboot it should work.
except i get a frozen bootloader screen. so this time around i am convinced of the app somehow messing with the bootloader settings (etc...)
soooo...i decide to flash "SGH-T989 UVKID // Insecure // Root // Busybox" by bubby323.
odin says its successful, but still same freezing issue at bootloader.
help please.
Your problem is with the ROM. Boot into recovery, mount USB, put the ROM on your SD card and flash it from recovery.
Also, stop using that app
The_Biz said:
Flash your last back up from cwm?
Or try to install the app again and set it to the default font then uninstall it.
In the future use the built in flipfont.
Deebo took your bike too?
Click to expand...
Click to collapse
I will try thanks for ur response
Edit... Reinstalling app did not work but reflashing backup did thanks ... Idk why i didnt think of reflashing
Sent From My BloodyS2
i do not have an external sd card, so is there any other method? i can always go and purchase one tomorrow. there is no way for me to put the file onto the internal sd memory because windows never recognizes the phone because it never boots up.
and trust me, i learned my lesson....never downloading that program again.
jeikazou said:
i do not have an external sd card, so is there any other method? i can always go and purchase one tomorrow. there is no way for me to put the file onto the internal sd memory because windows never recognizes the phone because it never boots up.
and trust me, i learned my lesson....never downloading that program again.
Click to expand...
Click to collapse
There are drivers posted in the dev section, be sure to try and download them again.
Your phone's "/sdcard/" location is actually an internal SD card. So when you use CWM to mount the sdcard, it will mount both the internal, and external SD card if it can. So you should still be able to do it.
as you said i was able to mount and copy over the rom, but after i copied over the rom file, it does not show on the android cwm file menu. maybe if i restart the phone?ill try it now.
still no go the rom file is not showing, the drivers have been installed. i reinstalled them JUST in case.
maybe i'm doing something.
- i mount usb storage
- copy over rom tar files
- unmount and look for it in the apply update from sd card and install zip from sd card selections but both show no files.
alright well after a few hours of trying a million different things...the only thing that worked was eaglesblood rom via cwm mount. thanks romanb for helping.

suddenly lost many files and folders from the phone but phone does uses space for it

Please help me. I have many songs, movies and many imp files and documents in the internal storage and suddenly all is gone. Though it shows that it takes the space. Last night I connected my phone to the pc to copy a kernel modules into my phone. I copied and flash and the phone went into bootloop. Then I flashed the previous kernel I was using-ncx and it booted normally. Then I realized many files are missing but the phone is using the space for those. Then o rebooted and flashed the kernle again thinking that it was a kernel issue. After o rebooted I got everything. Then the whole night everything was normal. When I woke up I saw that the same thing happened aagin after a reboot. I rebooted because sound was my playing. It said unable to play media. It rebooted and sound played but the same files where again missing. The I flashed stock kernel. Still the same. Then downloaded viper Rom 3.3.6 and flashed it with and without full wipe and still the same. Please help anyone. I don't have a backup of these missing files and its very urgent.
What happends when you mount the sdcard as a mass storage device inside the recovery ? That way you go around the rom and see the space and hopefully the files directly ! Then at least we can say its a rom problem and not sdcard problem !
Mr Hofs said:
What happends when you mount the sdcard as a mass storage device inside the recovery ? That way you go around the rom and see the space and hopefully the files directly ! Then at least we can say its a rom problem and not sdcard problem !
Click to expand...
Click to collapse
I tried that but it shows the same files and folders that it shows inside the Rom.
When you have your phone mounted to your PC.
Control Panel -> Folder Options -> Select "Show hidden files/folders".
See what that does for you.
Did you try to flash a 4.2 rom? 4.2 rom's usually move your data from /sdcard/ to /sdcard/0/ or something, which might explain why you cant see the data when you flashed your previous rom.
When connected to pc and show hidden files. Nothing happens. I already had viper Rom since it released. After copying files from of pc it happened suddenly. I thought reflashing the Rom would solve but no. The titanium backup folder is also gone. The sd card does uses space so I think the files are recoverable. Please help me to recover them. Please.
I found something. The files are still there in the internal storage but not directly in the sd card. It automatically got moved in to a new folder>>> sdcard/0/
Everything is there. How to solve this issue? Make my phone recognize that folder as internal storage or just make it like before?
muid02 said:
I found something. The files are still there in the internal storage but not directly in the sd card. It automatically got moved in to a new folder>>> sdcard/0/
Everything is there. How to solve this issue? Make my phone recognize that folder as internal storage or just make it like before?
Click to expand...
Click to collapse
Lol that happened to me when I flashed my kernel unrepacked. just move everything back to /sdcard
Sdcard/0 is a file structure that happen when you flash 4.2 roms because of the multi user feature. When you flash other roms make sure you copy all files from sdcard/0 to the root folder before flashing
Sent from my HTC One X using xda app-developers app

lost internal memory

so my wife's gs3 was stock rooted...made backups of everything including a nandroid. everything was on the internal memory. i've flashed carbon rom and now cannot seem to find anything. internal appears to be what was on her sdcard. yet when i go into settings-storage sdcard is greyed out without an option to mount. connecting to a pc only gives me one option to connect to. i can't even restore the nandroid. it's been a while since i've been off of a nexus personally so i'm hoping this is something easy i've overlooked and any help is appreciated, thank you
re: missing files
damngood98 said:
so my wife's gs3 was stock rooted...made backups of everything including a nandroid. everything was on the internal memory. i've flashed carbon rom and now cannot seem to find anything. internal appears to be what was on her sdcard. yet when i go into settings-storage sdcard is greyed out without an option to mount. connecting to a pc only gives me one option to connect to. i can't even restore the nandroid. it's been a while since i've been off of a nexus personally so i'm hoping this is something easy i've overlooked and any help is appreciated, thank you
Click to expand...
Click to collapse
All your files are intact, they have just been moved around since you flashed the carbon rom.
If you had any nandroid backups they are intact too.
Read the following article and you will see exactly where they are using a file manager like root explorer.
Here is the link: http://teamuscellular.com/Forum/top...-cm101-is-available-on-rootzwiki-from-noobnl/
,
Misterjunky said:
All your files are intact, they have just been moved around since you flashed the carbon rom.
If you had any nandroid backups they are intact too.
Read the following article and you will see exactly where they are using a file manager like root explorer.
Here is the link: http://teamuscellular.com/Forum/top...-cm101-is-available-on-rootzwiki-from-noobnl/
,
Click to expand...
Click to collapse
thanks...i'm aware of the recovery issues going into 4.2....and i've been using a root file manager. yet i'm still unable to find any other storage. i didn't wipe it but this was probably the first time i didn't save everything to the pc before flashing. i have so much crap backed up from her previous phones that i will never need. f+cking murphy's law...and while i could be mistaken, this shouldn't have an effect on the sdcard not being able to mount, no?
re: internal sdcard
damngood98 said:
thanks...i'm aware of the recovery issues going into 4.2....and i've been using a root file manager. yet i'm still unable to find any other storage. i didn't wipe it but this was probably the first time i didn't save everything to the pc before flashing. i have so much crap backed up from her previous phones that i will never need. f+cking murphy's law...and while i could be mistaken, this shouldn't have an effect on the sdcard not being able to mount, no?
Click to expand...
Click to collapse
Have you found this folder yet? /sdcard/0 using a file manager like root explorer or any other
file manager which can read the root of the sdcard ?
Misterjunky said:
Have you found this folder yet? /sdcard/0 using a file manager like root explorer or any other
file manager which can read the root of the sdcard ?
Click to expand...
Click to collapse
This information should be accurate enough for OP to find his files.
The SD cards have a lot of symlinks in Android. The one true path for your internal SD is /data/media. Your files are there.
Misterjunky said:
Have you found this folder yet? /sdcard/0 using a file manager like root explorer or any other
file manager which can read the root of the sdcard ?
Click to expand...
Click to collapse
hmm....this always confused me now...i do have the sdcard0 available but not sdcard1 (completely empty)...is 1 the actual sdcard? bottom line, there are other pictures of hers i'm not seeing now and rom toolbox is telling me there is nothing backed up as far as text messages. where ever they're located be it sdcard or internal i just need to find them.
re: Your right!
Aerowinder said:
This information should be accurate enough for OP to find his files.
The SD cards have a lot of symlinks in Android. The one true path for your internal SD is /data/media. Your files are there.
Click to expand...
Click to collapse
That's for sure, I don't thing the guy is paying much attention at all to what I am trying to tell him,
judging by his replies he just keeps rambling on about things that don't pertain to anything which
I have suggested to him to try.
Misterjunky said:
That's for sure, I don't thing the guy is paying much attention at all to what I am trying to tell him,
judging by his replies he just keeps rambling on about things that don't pertain to anything which
I have suggested to him to try.
Click to expand...
Click to collapse
/sdcard/
/mnt/sdcard
mnt/shell/0/
storage/emuluted/0
storage/sdcard0
data/media/0
all of the above are paths to my internal....none of these are my sdcard
in any case, i believe my card is corrupted. i appreciate the help everyone has tried to give though...thanks to you all
/data/media/ is honestly all you really need to know.. Every single folder/file that exists within your internal storage lie within that directory. Once you find what you're looking for you can take it from there.
Sent from my SGH-T999 using xda premium
LuigiBull23 said:
/data/media/ is honestly all you really need to know.. Every single folder/file that exists within your internal storage lie within that directory. Once you find what you're looking for you can take it from there.
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
i have a almost similar problem. On my pc can see that my internal storage is almost full but when i open it i don't show the files. i can't install apps on my to view the files on my because of the low storage.
JurrienXR said:
i have a almost similar problem. On my pc can see that my internal storage is almost full but when i open it i don't show the files. i can't install apps on my to view the files on my because of the low storage.
Click to expand...
Click to collapse
Well go to your phone and try any of the methods mentioned above for locating all your files.
Sent from my SGH-T999 using xda premium
LuigiBull23 said:
Well go to your phone and try any of the methods mentioned above for locating all your files.
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
the thing is i installed a different rom but it doesn't come with a file manager and i can't install one because of the low storage
JurrienXR said:
the thing is i installed a different rom but it doesn't come with a file manager and i can't install one because of the low storage
Click to expand...
Click to collapse
Do you have TWRP? You can navigate the same directories using the file manager there or you can simply go into Settings > Storage and look through the categories in which are taking up the most space and remove what you can to then download a root browser and go from there.
Sent from my SGH-T999 using xda premium

[Q] Stuck ...

I have a new T-Mobile Note 2. I installed TWRP and SuperSU using the toolkit. I then used Root Browser and deleted a bunch of apps ("bloatware", I thought), and apparently removed too much, as the phone no longer boots android.
I downloaded the two Tweaked 2.4.1 Rom files, checked Md5sums, OK, and coped same to external SD card. I did the recommended wipes using TWRP. Thereafter, also using TWRP, BasicInstall finishes with success, but the Tweaked.2.4.1.UVBMD1.073113.zip install fails with "E: Unable to open zip file". Then I try to reboot, and get a message "your phone does not appear to be rooted", and take the option "Install SuperSU? That also fails.
I think maybe I can't install Tweaked.2.4.1.UVBMD1.073113.zip because the phone isn''t rooted? Is that right? But I can't figure out how to root the phone either. I'm stuck in a loop. Recommendations to fix appreciated.
Thx, Gus
gus_zernial said:
I have a new T-Mobile Note 2. I installed TWRP and SuperSU using the toolkit. I then used Root Browser and deleted a bunch of apps ("bloatware", I thought), and apparently removed too much, as the phone no longer boots android.
I downloaded the two Tweaked 2.4.1 Rom files, checked Md5sums, OK, and coped same to external SD card. I did the recommended wipes using TWRP. Thereafter, also using TWRP, BasicInstall finishes with success, but the Tweaked.2.4.1.UVBMD1.073113.zip install fails with "E: Unable to open zip file". Then I try to reboot, and get a message "your phone does not appear to be rooted", and take the option "Install SuperSU? That also fails.
I think maybe I can't install Tweaked.2.4.1.UVBMD1.073113.zip because the phone isn''t rooted? Is that right? But I can't figure out how to root the phone either. I'm stuck in a loop. Recommendations to fix appreciated.
Thx, Gus
Click to expand...
Click to collapse
If you got an unable to open zip file error - even though the md5s check out the only thing I can think of is the zip has become corrupted somehow. Did you check the md5 on a computer and move the file over? Might be worth checking it on the phone (you can use the terminal interface in twrp fwiw - just use the md5sum command).
Bottom line recommendation - try to copy the full zip over to the sdcard again. Also, just to sate my curiosity - did you wipe /system before flashing?
RE: Stuck
dwitherell said:
If you got an unable to open zip file error - even though the md5s check out the only thing I can think of is the zip has become corrupted somehow. Did you check the md5 on a computer and move the file over? Might be worth checking it on the phone (you can use the terminal interface in twrp fwiw - just use the md5sum command).
Bottom line recommendation - try to copy the full zip over to the sdcard again. Also, just to sate my curiosity - did you wipe /system before flashing?
Click to expand...
Click to collapse
I did recopy the two Tweaked .zip files to the sdcart - repeated attempt to install on phone, same problems.
I also unzipped the two Tweaked files on linux, and although I don't know exactly what I'm supposed to see, there's no errors and a bunch of directories and files that generally look reasonable
I think I did wipe /system on the phone before flashing - could that be my problem? Also, when I go into terminal mode in TWRP on the phone, I get a hang at "Updating partition details"
Is it possible I've accidentally deleted the unzip program on the phone?
Is there stuff I could/should do from an adb shell on my PC through a USB hookup to the phone?
thx, Gus
You could flash stock rom with odin and start over.
Tweaked Out
gus_zernial said:
I did recopy the two Tweaked .zip files to the sdcart - repeated attempt to install on phone, same problems.
I also unzipped the two Tweaked files on linux, and although I don't know exactly what I'm supposed to see, there's no errors and a bunch of directories and files that generally look reasonable
I think I did wipe /system on the phone before flashing - could that be my problem? Also, when I go into terminal mode in TWRP on the phone, I get a hang at "Updating partition details"
Is it possible I've accidentally deleted the unzip program on the phone?
Is there stuff I could/should do from an adb shell on my PC through a USB hookup to the phone?
thx, Gus
Click to expand...
Click to collapse
Hmm... maybe reflash recovery? That's very strange - especially if the first zip worked fine and the second had the issues...
rail205 said:
You could flash stock rom with odin and start over.
Tweaked Out
Click to expand...
Click to collapse
I wish I could! But when I try that it hangs at "Waiting for USB debugging to be enabled". And that's even if the phone is booted into download mode.
Gus
Odin back to stock. Twrp started failing everything I tried to flash also. That's why I stopped using it. But you need to Odin to stock
Sent from my SGH-T889 using xda premium
[SOLVED] Stuck ...
dwitherell said:
Hmm... maybe reflash recovery? That's very strange - especially if the first zip worked fine and the second had the issues...
Click to expand...
Click to collapse
Finally got it working. dwitherell was more or less right about the problem. Here's my steps: 1) did a low-level format on the external sda card 2) recopied the two Tweaked zip files onto the external sda card 3) Cheked md5sums for both files on the external sda card 4) ainstalled from TWRP, as before. BUT - this time it worked.
I'm guessing either the external sda card or one of the zip files was corrupted - as dwitherell had suggested. Thanks to him and other forum members for helping out.
Gus

Categories

Resources