Unable to write a large file to the Internal Storage - Galaxy S6 Q&A, Help & Troubleshooting

Hello,
I have a problem after doing a reset of my phone.
It is rooted and has TWRP 2.8.6.2 installed.
I did a full wipe with TWRP including the internal storage.
But now, if i want to upload through TWRP's USB mount, i have to following issue.
I see the internal storage on my PC when both are connected by USB, it has the TWRP folder.
I tried to upload a small text file, that went OK, then i uploaded the new ROM file and after 5-8 sec i get a popup on the PC telling me the "device has either stopped working or has been disconnected".
When i boot the phone it is stuck on the boot logo, Samsung text.
Does anyone knows what i can do to fix this problem.
Thank you in advance.

I fixed the problem.
As i could use TWRP, but could not write a image to the internal storage i used a microUSB to SDcard plug that i picked up for 2 Euros at the local shop ( Dutch Blokker ).
I did a full wipe including the internal storage and installed the image from the SD2USB plug.
After installation i was again able to write to the internal storage.
Alto i seems like a permission issue, it was not.
I gave the internal storage folder full rights ( chmod 777 ) and even then i could not write.
I'm happy the new flash of XtreStoLite Deodexed Mod Edition 1.4a did the trick.
(Was really worried a 2 week old phone was bricked )

Related

Help me | damaged usb storage

Hello!
I'm running CM7 RC2.
I woke up today and saw on the notification bar Damaged USB storage
when I press on it I have 2 options 1- format 2- cancel.
what should I do?
I don't wanna lose my data...?
That's unfortunate but then its afterall extended storage & over a period of time it does go corrupt - that partition is essentially vFat. There is this utility at /system/bin/fsck_msdos which is eitherway invoked during bootup. You could try running that from adb shell but I wouldn't count too much on it - there is a limit to what it can fix. Formatting is the best option. I hope you do make regular back-ups.
Hello!
I boot into the recovery mode will my phone is pluged into the USB port hit reboot and now it's working all over again...
I now backup my camera files and my music...
Any resone for that error...? did I do something worng?
Not really but like I said its storage after all - read/write ops causes modification in the file-table & should that be abrupted for some reasons leaving incomplete entries & leading to such behaviors. On a reboot, fs-check utility must have fixed it.
I have hade the same problem today: error "damaged storage", recovery mode cannot mount or format /sdcard, i've paniced alot, but i came home nearly 1 a.m, so i hadn't much time and all important data was backuped.
I went to recovery mode, mounted usb mass storage and formated internal storage with default windows' utility.
Looks like it worked.
UPD +half an hour:
Probably it was issue with Ressurection Remix ROM. After format sdcard was mounted, but cycle reboots didn't stopped. After installing SlimICS ROM, it fully worked.
Full story here, if you are interested.

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--

[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 ?

[Q] Cannot get SD card to work using Blaze 4g with CyanogenMod 11

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.

how to repartition the internal storage (storage partition bricked)

Hey! Today I made a clean installation of the newest Android N build 2.33 via flashtool. As usual I wiped everything and before flashing the ftf I wiped everything via TWRP which was on the old Marshmallow build installed. After installing nougat I flashed a patched kernel and booted directly into the twrp recovery before the first boot! there I wasnt able to find my internal storage partition! In the file manager there was suddenly no sdcard0, only sdcard1 which is the external sd card. So headed to the wiping options and wanted to wipe the internal storage but I only got a red error log line saying something with "-o". Then I plugged the Z5 into my computer for transfering the deodex patch while the phone was in recovery and the cmputer detected a 8.4GB internal storage partition, but normally it should be 22GB useable storage! how can I fix this?!?! I can boot up the xperia though!
sorry about any writing mistakes I use my laptop for 1 year now but I still hate the steelseries keyboard, sometimes the space bar isn't working and I have to apply more pressure than I want to during smooth writing....

Categories

Resources