[Q] Cannot get SD card to work using Blaze 4g with CyanogenMod 11 - Samsung Galaxy S Blaze 4G

Hi all,
I recently upgraded my Blaze to CyanogenMod (v11 nightly), now my apps (Camera, Swiftkey, etc.) do not recognize my SD card. I was running stock before this.
In File Manager:
- I can view the external sd card at \storage\sdcard1.
- It appears there is an internal sd card as well at \storage\sdcard0
- There is a folder called \sdcard which appears to link to \storage\sdcard0
- There is a folder called \external_sd which links to \storage\sdcard1
- sdcard0 is empty
I believe this to be a mounting issue, but if it is I cannot figure out the correct mount command in terminal emulator. Thanks for your help in advance.

I know this is nearly a year later, but I ran into this exact same problem while trying to flash an old phone. I was fortunately able to figure out to fix it, and I'm posting this for the sake of anyone else who might have trouble with it as well.
I initially noticed the problem while attempting to download and open files, which kept giving me an error that the files couldn't be located. Using a file manager, I noticed the directories that the OP described above. I believe the internal storage for the Blaze is 4GB, which is partitioned into two parts: one for app data, and the other for user downloads, pictures, etc. I realized that I only saw one of the partitions being displayed on the storage settings screen. Connecting via USB to my computer didn't show any internal storage; I couldn't access any files from the phone besides the ones on my external microSD card.
I booted into my previously-installed ClockworkMod v6.0.4.8 (by holding the volume keys + power, letting go of power after the Samsung splash screen) and went into the 'mounts and storage 'menu, scrolled down, and clicked on the 'mount USB storage' option while connected to my computer. Surprisingly, the internal storage was recognized (specifically the partition containing user data) and I was able to pull all of my files from there that I thought I previously wiped when I went to flash Cyanogenmod 10.2. Somehow, those files were still retained. Now, I'm not exactly sure what happened, but I think all this previous data, which didn't get wiped, prevented the new ROM from mounting this partition (sdcard0), and perhaps led to a path/directory issue when I went to download and open things from it. For some reason, as the OP noted, the sdcard0 storage showed up as empty when I used a file manager app to look inside.
I deleted the files from this mounted storage via my computer, then went back to the 'mounts and storage menu' and formatted the /storage/sdcard0 storage with the 'default' setting to wipe that partition. Then, I wiped user data, cache, and dalvik cache, and let my phone reboot. I did not reflash Cyanogenmod 10.2 after, and I was able to boot into my phone and setup my phone. (I'm not sure if you have to reflash your ROM, but I was able to boot up to a fresh setup without it). I am now able to see both internal storage partitions displayed on my storage setting, use a file manager to see the files in sdcard0, and download and open files.
Hope this helps.

Related

How long to format SD Card

Today I had about 2 dozen sdcard folders that could not be read by Titanium, MyBackUp Pro, Linda Manager etc. Did nothing since a TWRP backup last nite that went fine.
Tried to wipe card to copy a bu from pc but got notification in windows of corrupted files and they would not delete. Those included the above mentioned folders. Also, no luck with trying to use TWRP to wipe card.
Didn't try Fix Permissions with TWRP as didn't think that would apply. So I unmounted card from pc, still pluged in, and selected Format SD Card icon in TWRP.
It stopped on Verifying partition sizes after it started the Formatting /sdcard sequence and has been there for over 20 minutes. So, much easier with a removable card. What would you suggest I do next. Can't take that long to format with TWRP, or can it--?
I normally use SD Formatter and it did take awhile. But, when using the recovery like AmonRa etc only a couple minutes. Obviously not a full format.
Thanks
Ken
Well, I had to back out of formatting and format with sdformatter. Then sdcard wouldn't mount so I did the clear storage method and got data back on sdcard.
Problem is now after reflashing twrp and cwm the bootloader screen still shows the "clear storage" choice. So, even though I can boot into recovery, I could not see any bu's in twrp to restore. I did in cwm and restored Zydroid 3.3.5.
I will see how it runs, but why is clear storage still an option in bootloader, I thought that disappeared with a custom recovery--maybe not??
And why no bu's showed in twrp to restore, but did in cwm-- The only thing I did different was flash twrp thru fastboot as opposed to thru Goo Mgr originally.
Two final notes then I will retry twrp soon and move on:
I don't pay a lot of attn when backing up or restoring. I did watch this time and saw cwm back up recovery as a default. Twrp has that as an option I never selected--not sure it matters--any thoughts--still trying to figure out why twrp showed no bu's when I selected restore, not even the backup folder. But, the folder showed in File Mgr.
And do you guys with custom recoveries show a Clear Storage option as is available with a stock recovery. I don't remember seeing one. If so, why flash a stock recovery to Clear Storage and get sdcard remounted--
If the Clear Storage shouldn't be there, I still may have recovery issues. Although, all good atm on cwm--
TWRP and CWM has different backups iirc, they can not flash backups made in the other.
thanks, but i may have not explained well
I understand that and it is not the issue
problem was i reflashed twrp after restoring my sdcard
when i went to restore my twrp bu thru twrp the twrp bu folder never showed, just a blank screen after tapping restore
thing is i never tried a restore with twrp, so don't know if it ever worked--
solved one issue thru experimenting
you can't change bu name that shows in file mgr. it didn't have a date and I gave it one. then it doesn't show in recovery when you select restore. I did that to give it a date. but, found out when viewed in recovery after tapping restore the date is there not the HT24HW403671 name.
saw on some guides with cwm that clear storage was mentioned, so guess it was always there and didn't notice as never used it
back on twrp and will see how it goes
one question--if you can't change bu name, how do you differentiate btw diff roms in recovery bu folder--keep only one and put rest on pc?
All Resolved--NP with the Folder Names, didn't know the dated bu's were inside the HT folder--
Hopefully no more sdcard unmounting on its own--
I'll update this incase anyone following or has or will have a similar issue
I haved tried two differnet roms Trickdroid/Axiom (have not gone back to LeeDroid yet). Have run twrp and cwm. Deleted SD Card Speed Boost. Have tried mounting thru phone and twrp.
I still get missing/corrupted sdcard folders from DCIM to Downloads and alerts of folder doesn't exist and need to reformat card. I have reformatted with sdformatter and thru phone. Will lose personally made ringtones.
I have gone back to Axioms v01s kernel from the oc vo6. I had that running at 1890 and 1809 and 1674--no help
Just fastbooted the v01 so will see
Seems like a mounting issue, but stumped--maybe card is shot--
Anyone with similar issues or ideas your comments are welcome--not at phone replacement stage yet--
I do unmount properly
running v01 kernel for a day, no issues--1512mhz
did a good backup, all ok--no lost folders
when I open two windows panes on pc to copy bu to pc from phone and backup sdcard to phone issues start
the right pane which is the phone storage pane starts to lose the Removable Disk H disk icon, which is phone. Pane flashes and goes back and forth btw showing card contents and not showing H disk. Also showed empty H folder as nothing on card. I unmounted and remounted phone to pc and all was there. Unmounted and checked card contents with phone not connected to pc--all ok
Beginning to wonder if it is usb port problem--something is losing connection and/or unmounting remounting on its own. Maybe why some folders got corrupted before--still confused--
get popups on pc occasionally that state devise can perform better on a differenet port and sometimes device icon does not show when phone plugged in. I have changed ports, on my third one that only was used for mouse, will see. I have once or twice reinstalled htc drivers--

cannot see downloaded rom's in twrp

Currently running CROMi-Xeno 5.2 . I have downloaded a couple of ROMs, and they go to the default Downloads directory. However, when I boot to TWRP, I navigate to sdcard/downloads and I see a bunch of old .zip ROM files, but not my new ones. It's like I have two different /sdcard mount points or something. Any ideas?? Thanks.
dwcasey said:
Currently running CROMi-Xeno 5.2 . I have downloaded a couple of ROMs, and they go to the default Downloads directory. However, when I boot to TWRP, I navigate to sdcard/downloads and I see a bunch of old .zip ROM files, but not my new ones. It's like I have two different /sdcard mount points or something. Any ideas?? Thanks.
Click to expand...
Click to collapse
Maybe you have both Downloads and downloads and are looking in the wrong one?
Are you sure that you are on the right card? You can switch between internal storage and external storage by clicking the words
can't find downloaded ROMs
sbdags said:
Are you sure that you are on the right card? You can switch between internal storage and external storage by clicking the words
Click to expand...
Click to collapse
From TWRP, I tried internal and external. It's weird, because in TWRP, I have a Download ( only one Download directory, not another download ) and I see older ROMs I've downloaded. But while it's running...if I plug into my laptop, I see only two ROMs, CROMi-X DEODEX 5.2.3_Signed.zip and CROMi-X DEODEX 5.2.4_Signed.zip, which I've just downloaded.
Disconnect USB from laptop, on tablet, using file manager, browse to /sdcard/Download, I see what I saw while it was plugged in, just the two ROMs. When connected to my laptop, I even created a new directory called ROMs.
I have a formatted ( to 200MB FAT ) MicroSD to use with Data2SD...which shouldn't cause any issues.
So now rebooting to TWRP, I select Install and see "Storage: Internal Storage", scroll down to select Download, and I see all my old ROM downloads, not the two new ones I mentioned above. And I don't see my new ROMs directory.
If I select Storage at the top, my options are Internal Storage and my MicroSD card.
If I go back to the main menu, then go to Mount, these are checked MicroSDcard, Data, Cache and System is not.
Any idears?
dwcasey said:
From TWRP, I tried internal and external. It's weird, because in TWRP, I have a Download ( only one Download directory, not another download ) and I see older ROMs I've downloaded. But while it's running...if I plug into my laptop, I see only two ROMs, CROMi-X DEODEX 5.2.3_Signed.zip and CROMi-X DEODEX 5.2.4_Signed.zip, which I've just downloaded.
Disconnect USB from laptop, on tablet, using file manager, browse to /sdcard/Download, I see what I saw while it was plugged in, just the two ROMs. When connected to my laptop, I even created a new directory called ROMs.
I have a formatted ( to 200MB FAT ) MicroSD to use with Data2SD...which shouldn't cause any issues.
So now rebooting to TWRP, I select Install and see "Storage: Internal Storage", scroll down to select Download, and I see all my old ROM downloads, not the two new ones I mentioned above. And I don't see my new ROMs directory.
If I select Storage at the top, my options are Internal Storage and my MicroSD card.
If I go back to the main menu, then go to Mount, these are checked MicroSDcard, Data, Cache and System is not.
Any idears?
Click to expand...
Click to collapse
Well, if you are on Data2SD, your data partition is on your microSD. So the directory /sdcard/ is also on your microSD. Your internal storage is /sdcardi/. But TWRP doesn't know anything about Data2SD. It's treating your /sdcardi/ as /sdcard/ and it doesn't recognize the ext4 partition on your microSD, just the fat32 partition.
Copy the new rom to your internal storage or to the fat32 partition of the microSD (actually, if your fat32 is only 200mb, it's too small for the rom zip) and you'll see it in TWRP

[Q] Help - Can't do anything with my internal storage - Xperia T

So i have kind of a situation,
i'm running cm-11-20141102-NIGHTLY-mint.
So, yesterday, i erased my internal storage (in Xperia T a.k.a SD card 0), to renew my device a little bit.
But after that i literally can't do almost anything. My camera crashes as soon as i start it, gallery says there isn't any external storage, can't make screenshots, can't put stuff into the phone. When i try to put something via usb trough my computer it says that the device stopped responding or was disconnected and when i try it strough the phone file manager it says that can't be done and that i need more permissions which is impossible because i already have all r/w permissions.
I'm kind of desesperate right now. I tried to wipe all the data, syste, storage, cashe. Tried to reflash my rom to different one. Even ran some permissions fixes. But nothing worked.
Forgot to mention, there isn't anything on the internal storage right now except the foulder lost+found which seems empty and the clockworkmod folder into, which is weird, can put things.
Is there someone who run into the same issue ?

Unroot Android (remove symlinks by Link2SD)

Before posting this, I tried looking at other forum threads and over the internet in the last week, but could not find a solution so far.
I have a Huawei Y300 with Android 4.1.1. It was rooted and was pretty much fine except for some issues (they happened in time, are not caused by the rooting itself). Meanwhile, I changed the SD card and the defects include:
- cannot set contact photos (it stops when it tries to crop image)
- cannot change theme (it shows it empty and says "internal storage full" - which is not true, plenty of free space shows up in app manager)
- can't use file manager - doesn't see anything from Local
- without a card in it, gallery and camera don't work at all
I did a factory reset and cleaned the davlik folder, but didn't change anything.
The problems come, I think, because Link2SD creates symbolic links to some folders, and those folders are not the same in a new card. For instance, when I use Root Browser and click Properties on some folders, I get:
Path: /sdcard
Symlink:/storage/sdcard0
But, when I use phone's File Manager, it does not see the files from "storage0", it shows only files located in "storage/sdcard1"
I tried to do a system update, by putting a firmware zip (or app) on the card. But it does not see it there, because it sees what the symlink tells it to see. So I'm stuck in a loop.
Because it was impossible to make Link2SD see the new card, I used another phone, with Android 4.4. After endless attempts, I got that phone to see the two partitions on the card and function. (I had to make Link2SD system app and chose ext4 for second partition.)
I took the card back to the problem phone and only sees the first partition, not the ext4 one.
In Link2SD storage info it shows:
Internal (69% free)
SD Card (unmounted)
External SD (93% free)
Second Partition (not found)
System (33% free)
Cache
When I click Recreate mounting script - it says sd card not found.
Relink files: /data/sdtext2 not found
I basically would like to get the folder structure back to the original settings, maybe use the phone without card or with a new card, with or without rooting - just the simplest way possible, but to be able to use photos for contacts and wallpapers.
update
After numerous attempts, I managed to get into recovery mode from Link2SD (the same ) and started firmware update.
It lists doing some operations, but very soon it says wiping cache... and installation aborted.
Should I try with a different ROM? This one is from Huawei website, official, general version.
it's done!
Not that anyone answered, but in case you have the same problem: it's fixed!
Again with Link2SD. Made a third partition on the card, than in Link2sd click the left upper corner for more options. Scroll down for Restart. It gives options for recovery. Deleted everything with the two options to wipe cache and I don't know what else. And than chose restart from volume keys and upper button as enter.
It didn't do an upgrade, rather a downgrade to a previous factory version but i'm happy with it.
Won't risk another rom change.

URGENT HELP needed - Oneplus 6 lost access to internal storage

I will try to make it short. While trying to install edxposed, I messed up. It went into startloop. Then I flashed the custom ROM, twrp, base rom, formatted internal storage etc. But now I lost the access to internal storage.
So, current scenario is
1. TWRP can access internal sdcard. It's not even showing any encrypted folders, only 2 folders showing - TWRP & Obb
2. Google play can install apps, but no apps can write anything to internal storage I.e. Camera cannot save Photos, cannot save screenshot, Chrome cannot download anything etc.
3. Settings app showing 0b/0b. Es explorer showing 100% filled. Storage showing 12gb used of 56gb.
4. PC can see my phone storage but cannot paste anything in it.
So it seems to me that somehow my internal storage has become RO or something. So if anyone can help me solve this problem, I will be highly grateful. TIA
UPDATE:
problem not solved yet, but what I found is, the main problem is the root directory for the internal storage has changed somehow. By default, it resides in root/storage/emulated/0, but now it has changed to root/storage/emulated, so the apps cannot access it. Now how can I turn it back to default?
Android_Attitude said:
I will try to make it short. While trying to install edxposed, I messed up. It went into startloop. Then I flashed the custom ROM, twrp, base rom, formatted internal storage etc. But now I lost the access to internal storage.
So, current scenario is
1. TWRP can access internal sdcard. It's not even showing any encrypted folders, only 2 folders showing - TWRP & Obb
2. Google play can install apps, but no apps can write anything to internal storage I.e. Camera cannot save Photos, cannot save screenshot, Chrome cannot download anything etc.
3. Settings app showing 0b/0b. Es explorer showing 100% filled. Storage showing 12gb used of 56gb.
4. PC can see my phone storage but cannot paste anything in it.
So it seems to me that somehow my internal storage has become RO or something. So if anyone can help me solve this problem, I will be highly grateful. TIA
Click to expand...
Click to collapse
It sounds like to me you have corrupted your internal SD card you will have to format SD card instead of normal wipe and then reflash rom via Computer
SAMSUNG_MANIX_64 said:
It sounds like to me you have corrupted your internal SD card you will have to format SD card instead of normal wipe and then reflash rom via Computer
Click to expand...
Click to collapse
I have formatted it already. And what's the difference between flashing a ROM via computer & via USB?
Android_Attitude said:
I have formatted it already. And what's the difference between flashing a ROM via computer & via USB?
Click to expand...
Click to collapse
Wipe vs format. Wipe is just removing files from partition without destroying the partition. Format is rebuilding the partition fresh. You did not format phone because that would fix this problem. Format data partition and this will be fixed.
I also had the same issue so i flashed stock through pc. Now its fine. Only issue is on Twrp data shows encrypted, i think i have to flash dm verity zip to decrypt it

Categories

Resources