trouble writing to storage - Galaxy Note II Q&A, Help & Troubleshooting

I'm on the latest 4.4.2 stock rom, and everything was working fine, then I made a nandroid backup to extSD and tested flashing some mods through twrp, didn't like the result, and did a restore, and that's when the problem started
ESexplorer was working normally, but now it cannot write to internal storage, and reports a EACCESS error, other apps went crazy too : winrar will no longer write to extSD and reports it as read-only,and when trying other explorers, like Fx Explorer with root plugin, it returns the same error, but total commander works normally.
I've tried using Fix permissions from twrp, but nothing changed, and tried SDfix from google play and it said I already have the fix applied, so this is driving me crazy....could this be a problem with bad permissions ? ESexplorer shows permissions on all folders as "drw", I'm not sure if it used to be like this before.

Did you try formatting the disk through twrp? that should make it new with no problems.. though you'll lose your data unless you are able to copy them to your computer or something.
Sent from my GT-N7100 using Tapatalk

Mohammed779 said:
Did you try formatting the disk through twrp? that should make it new with no problems.. though you'll lose your data unless you are able to copy them to your computer or something.
Sent from my GT-N7100 using Tapatalk
Click to expand...
Click to collapse
did a full format using revolution HD script then restored my files and things seems to work on internal storage, formatting the extSD on device didn't work, so I'll try to format it on pc once I get the adapter.

Related

Sd card won't mount after flashing cm7

So I am fairly new to the process but I really tried to read all I could on a few different forums. I installed the cwm recovery that said it was compatible with both ext4 and rfs file systems had no problems there. Then after reading more I went ahead wiped all my data cache dalvik 3 times like some recommend made back ups before hand. Everything seemed to work fine once I flashed cm7 everything works that they said would work when the phone starts up but when I try to access any sd card functions from cwm recovery it says that the sd card file path can't be found and won't let me flash google apps or even restore my back ups since they're obviously on the sd card. I've tried doing it in rom manager just to see if that would change anything but it doesn't help. I love the setup and performance when the phone is up and running but is there any way to fix this problem or do I just need to hook it up to the computer and flash it back using odin? Thanks in advance for the help
Sent from my SPH-D700 using XDA App
Oh yeah the sd card mounts fine when the phone is running. I can access all my files through file manager and the gallery works fine
Sent from my SPH-D700 using XDA App

[FIX] Internal Storage Issue GS3 even after wipe

THE FIX IS BELOW (it's the quote)
My description of my problem is below but, first off I want to say that I have made several searches on google, androidcentral, and xda about this issue and have found no solution. I have also attempted to trouble shoot the problem myself by fixing permissions, wipes, flashing backups, deleting really old backups, etc. I even purchased SD Maid Premium and deleted duplicates and ran the appcleaner.
I am running CM10. I use Titanium Backup and Clockwork Recovery Mod to backup my system and apps regularly. I was running CM10 with KT Kernel (and used KTweeker to undervolt my processor) but recently flashed a new CM10 nightly (with a fully factory data, cache, and davilk cache wipe) and kept the "baked-in" Cyanogen Kernel.
I got a notification that my internal storage was close to full (this happened right after making a backup using CWM, I was running CM10 and KT kernel at the time and had 4 additional older nandroid backups). So I went through my apps, pictures, videos, old backups etc and deleted a bunch of stuff. But I still had the storage full notification. I then wiped data, cache, and davilk cache, and flashed the latest CM10 d2att nightly and gapps4.1. Before installing any apps I went to check my storage in Storage Settings, Apps Settings, and SD Maid . In App Settings and SD Maid it showed 7.5gb used and 4.5gb free, but in Storage Settings it showed 0.4gb used and 11.6gb free. (In my research I found that this may be because my ROM (CM10) is odexed). I have done some exploring using Root Explorer and found that my /data file is 7.5gb, i have a file /storeage/sdcard0 that is also 7.5gb and a /storage/sdcard1 that is 2.3gb.
I have come to the point where I just want to fully wipe my phone and start over; i think it is called a hard reset. It would be more than a Factory Data Wipe, which I have done several times in Clockwork Recovery Mod and it always leaves behind 7.5gb of data in my storage. I dont mind loosing all my data, media, etc. It would be nice if there was a solution that did not require a "hard reset" but I am willing to do it if that is my only option. I am familiar with download mode and odin in case that needed for the hard reset.
Thanks in advance for all the help.
pdelponte said:
Fixed.
First I took all my media and files I wanted to save and transferred them over to my external sd card. Then I downloaded the zip files for the latest CM10(any rom will do) , gapps, and ktoonz kernel and transferred those over to my external sd card.
Then I rebooted into recovery. I went to mounts and storage and formated /system /data /cache and /sdcard
After that I flashed the zip files I downloaded earlier from my external sd card.
Rebooted and took this screen shot.
Click to expand...
Click to collapse
You can go to mounts and storage in cwm and format everything. That pretty much wipes you clean. Fixed a similar problem I was having.
I didn't do my external sd though
Sent from my SGH-I747 using xda premium
ineversl33p said:
You can go to mounts and storage in cwm and format everything. That pretty much wipes you clean. Fixed a similar problem I was having.
I didn't do my external sd though
Sent from my SGH-I747 using xda premium
Click to expand...
Click to collapse
Will this delete a ROM (.zip) (that I would flash after the formating) from my /sdcard?
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
It's an issue between our GSIII and rom manager, go to settings, then storage, then miscellaneous, wait for it to load, select rom manager, hit the delete key. This will not un install the program it will however delete your nandroids backups.
From now on only make your nandroids while in recovery and always choose ext-sd for output.
This is what fixed it for me. Please let me know if it works for you.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
I'm curious if you figured it out or not
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
lostboy702 said:
It's an issue between our GSIII and rom manager, go to settings, then storage, then miscellaneous, wait for it to load, select rom manager, hit the delete key. This will not un install the program it will however delete your nandroids backups.
From now on only make your nandroids while in recovery and always choose ext-sd for output.
This is what fixed it for me. Please let me know if it works for you.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
When I go to Settings / Storage Misc pops up and says calculating... Then disappears a second later. When I try to click it during that spit second nothing happens
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Have you looked into clearing the data from rom manager?
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
lostboy702 said:
Have you looked into clearing the data from rom manager?
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
Couldn't find an option to clear data in Rom Manager
EDIT: LOL I'm dumb. You mean the clear data in Settings/Apps/Rom Manager?
pdelponte said:
Couldn't find an option to clear data in Rom Manager
EDIT: LOL I'm dumb. You mean the clear data in Settings/Apps/Rom Manager?
Click to expand...
Click to collapse
Cleared Data in Settings, Apps, Rom Manager. Backups are still there, I have one recent backup and a backup called "blobs" that I never made. Come to think of it, blobs showed up around the time the problem started. I read somewhere not to delete it though. What is blobs?
Also I'm still looking into formating /system /data /cache etc. Will that possibly brick my phone? Any tips?
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
I'm at work now but I'll look into it and respond later today
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
I'm trying to figure out the blobs as well.
Sent from my SGS3 using "Apple's IP"
Take a look here. http://forum.xda-developers.com/archive/index.php/t-1793706.html
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
I'm going to format /system /data and /cache soon but before I do I would love some feedback on if formating /system /data or /cache will unroot, brick, delete the zip I plan to flash after the formating (the zip is on my external sd) or any other pitfalls I could encounter by formating.
Thanks and I'll let you know how it works.
Edit: changed "tonight" to "soon"
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
I would also very much appreciate some info on what /storage/sdcard0 and /storage/sdcard1 is. I think those are possibly what's causing me to show 7.5 gb full even after a factory reset wipe
Thanks
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
You're on cyanogenmod 10 right.
0 is the phones internal storage and 1 is the ext-sd
Btw why are you should probably ditch rom manager in favor of rom toolbox pro-if you do you'll get rid of those pesky blob files
I love rom manager for its ease of use but had to ditch it because it's blobs take up so much space on my gs3, at least until they update it to allow backups to be sent to the ext-sd. again.
pdelponte said:
I would also very much appreciate some info on what /storage/sdcard0 and /storage/sdcard1 is. I think those are possibly what's causing me to show 7.5 gb full even after a factory reset wipe
Thanks
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Fixed.
First I took all my media and files I wanted to save and transferred them over to my external sd card. Then I downloaded the zip files for the latest CM10(any rom will do) , gapps, and ktoonz kernel and transferred those over to my external sd card.
Then I rebooted into recovery. I went to mounts and storage and formated /system /data /cache and /sdcard
After that I flashed the zip files I downloaded earlier from my external sd card.
Rebooted and took this screen shot.
THANKS EVERYONE.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
pdelponte said:
Fixed.
First I took all my media and files I wanted to save and transferred them over to my external sd card. Then I downloaded the zip files for the latest CM10(any rom will do) , gapps, and ktoonz kernel and transferred those over to my external sd card.
Then I rebooted into recovery. I went to mounts and storage and formated /system /data /cache and /sdcard
After that I flashed the zip files I downloaded earlier from my external sd card.
Rebooted and took this screen shot.
THANKS EVERYONE.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Is there any reason to think that this won't work on the verizon version with cm10.1
i had an 8gb legacy folder after doing a full wipe and reflash.. just deleted it and everything works
I didn't notice this 0 folder issue until today. Up until now I was wondering why some files seemingly disappeared etc. Then I noticed too much space unavailable. This copy this over there and all that was not working so here's what I did:
Copy what you want to keep from internal sd to external sd
Get zip of your current rom and copy to external sd
Nandroid to external sd
Remove external sd from phone
Boot into recovery
Wipe everything, data, cache, dalvik 3x for good measure
Insert external sd
Reboot recovery (ignore no OS warning)
Flash rom (creates a clean file system and installs rom)
Reboot into rom and let it load
Reboot into recovery
Factory wipe, cache, dalvik
Restore your Nandroid backup
Reboot
Tada
/storage/sdcard0 is the mount path for your internal sd card. /storage/sdcard1 is your external. /storage/emulated is the location used for the emulated card in Android 4.2 for multi user support

TWRP won't recognize external SD card

Right now there is no ROM installed on my phone because I just wiped my phone, but when I went to install a new ROM, it doesn't seem to recognize my external SD card. I tried 2 SD cards and neither of them work, but they work on my other phone. How can I fix this issue? I went to mount and it says "E: Unable to mount '/external_sd'.
Update twrp if available, if not try to reflash it and if it still doesn't work then try cwm
Sent from my SGH-M919 using Tapatalk
Thanks for the reply. Which method of installation would be the best? Odin? I only have access to recovery as far as I know.
Yes Odin
Sent from my SGH-M919 using Tapatalk
The latest TWRP doesn't seem to recognize my SD card either. Also both of them are saying that my device is not rooted and it asks if I want to fix root. I'm trying CWM now but it isn't finding anything either.
Edit: CWM says my device isn't rooted as well.
Edit 2: Flashed http://www.androidfilehost.com/?fid=23212708291679687 with Odin and when the phone boots up, it's stuck on the Samsung logo. Any thoughts?
Factory reset. Incompatible data probably causing boot hang.
This will wipe apps and data.
Thanks for the help everyone. I flashed back to stock and re-rooted. However it still won't read anything from the external SD. Does this mean the SD reader is broken?
Can you plug it into the computer? Does it see it there? If so what is the file system type? Can you format it?
DocHoliday77 said:
Can you plug it into the computer? Does it see it there? If so what is the file system type? Can you format it?
Click to expand...
Click to collapse
Yep, the computer only sees the phone's harddrive, not the SD card. On my other phone, the SD card is working fine.
No, I mean plug the card into the computer. Not the phone. But if another device uses it ok, then you msy just need to reformat using the computer.
DocHoliday77 said:
No, I mean plug the card into the computer. Not the phone. But if another device uses it ok, then you msy just need to reformat using the computer.
Click to expand...
Click to collapse
Reformat the card? I will try that. But I have two SD cards and neither work on my S3, and both work on my S4.
That tells me the cards are ok and something is probably wrong with the device then. If you format one card to fat32 and it still can't read it, its probably hardware.
@bjornturoque Here was my problem. Exactly like yours. I am BL unlocked, Rooted, TWRP 2.8.7. I am having a problem with the ext sd card not being read in TWRP. I have had ver 2.8.5 / 2.8.7 / 3.0.2 of TWRP and none of them will read the card. I have tried formatting the card with my Note4, GS 5, Tab S, and my PC using SD Card Formatter. Still getting the same result.
Here is what I did to fix it.
Install Xposed, Download Wanam Xposed, activate the module, open and go to security hacks and check the box for SDcard RW permission, then reboot.
I just did this to mine and it fixed my problem. Hope it works for ya.
Format SD-card via Windows (FAT32/Default Allocation).
stajam said:
...Here is what I did to fix it.
Install Xposed, Download Wanam Xposed, activate the module, open and go to security hacks and check the box for SDcard RW permission, then reboot.
I just did this to mine and it fixed my problem. Hope it works for ya.
Click to expand...
Click to collapse
No, doesn't work
I have a 128 GB SD with exFAT, it worked without problems in TWRP 3.0.2 recovery under CM12.1
Now I am on CM13 and beside the bluddy permission google-bug it works in the system but not anymore in TWRP 3.0.2 recovery.
I tried to fix the permissions to write to external sd (this 128 GB sd) by adding stuff to the /data/system/packages.xml file, see this post.
But I didn't change the wrong thing I am pretty sure and doubt that this is related, as TWRP comes without using this file, I guess.
I flashed 3.0.2 again with Odin, no change.
Fact is, that I installed CM13 with another SD-card, a 64 GB FAT32, not this one. Maybe it never worked under CM13. But anyway, what has TWRP to do with CM13 and its permissions? TWRP is previous to any CM system, which is not running at TWRP times.
What could that be?
I flashed now CWRM v6.0.4.7 (ClockworkMod Recovery) but the problem persists:
E: Can't mount /storage/sdcard1
Error mounting /storage/sdcard1
Click to expand...
Click to collapse
What is it? The sdcard is working flawlessly in the running system and another FAT32 sdcard works in TWRP. What do I miss here?
Is it that TWRP and CWM doesn't know exFAT?
I think to be quite sure that this was working, I have exFAT since a while now.
Deleted.

[Q] Problem with the partitions on TabPRO?

I own a Galaxy Tab PRO 10.1" Wifi (SM-T520).
I have the stock ROM, rooted and with TWRP. And SDfix...
I have tried fat32 and ext4 on MicroSD, and without MicroSD. No difference.
I cannot boot any custom rom (Stuck at Samsung logo). Sometimes when I try to install a rom, it fails, or reboots TWRP.
I also encountered problem when trying to restore a nandroid. No DATA partition can be written to, restore fails. (after reboot recovery, its no problem to restore)
Angry Birds Epic does not work. It stops at "Loading Levels", and sometimes it fails to start, and says its not installed.
Spotify says that that it cannot be used because it has no storage.
I can access the partitions, but they are not writable. A reboot is getting the internal/external SD to be writabe again.
So, what is the problem with the partitions on TabPRO? or is it the Samsung android rom thats the problem?
Can it be fixed?
Regards,
-Exlo
Try installing FolderMount from the PlayStore. It can detect and fix issues with your partitions. You just need to run it, then reboot. I seem to get issues writing to my data partition after I install TWRP, on my SM-P900. FolderMount fixed it quickly and easily.
https://play.google.com/store/apps/details?id=com.devasque.fmount
Sent from my SM-P900 using Tapatalk
FolderMount did find an error, and fixed it, but same result
And it "fixed" the same problem as the SDfix app did.
But, I still made some progress. I managed to install a custom rom without error, and fully booted.
Team Freeze Rom installed fine. The rom is just under 800Mb. So i thought maybe it was some faulty memory sector on my tab.
Then I tried to flash GigaWatts ROM, and it failed. Same with ProPlus Rom.
When restoring my last nandroid, it fails when writing DATA partition.
Then I tried to restore my first nandroid, from "stock" rom, and it restored just fine.
First nandroid was from internal SD, and latest was from external SD. Made me wondering, so switched yet again another MicroSD, took a nandroid to it, and tried to restore. It fails again at DATA.
Then I tried t install GigaWatts ROM from internal SD, instead of external. Works without error.
Sooo.... I can flash custom ROM`s from Internal Memory, and restore from Internal Memory
Not from external SD.
Still, I do get internal/external SD dropouts, and getting "no space left/no memory to install on", which can be "fixed" by a reboot.(Still, it should`t be like this, and are quite annoying.
But, still no luck on getting past the "Loading Levels" on AngryBirds Epic
Where is the root of the problems? Faulty device? Android ROM? TWRP making trouble?
Please guide me if any logs should be provided to find out where the problems is, if i`m not the only one with these problems.
Regards,
Exlo
You can try flashing a stock ROM via Odin, and start from scratch. Factory Reset, Reroot, install twrp, etc. If you still can't write to /data properly, you may need to find a .PIT file and repartition your internal memory using Odin.
Sent from my SM-P900 using Tapatalk
I have had to reflash stock with Odin 4 times by now, and it has been the same pain every time.
I was hoping not to use re-partition, so I will wait and see if some new info will come by from other users, as I see there are more of the users that struggles with flashing custom rom. (Stuck at samsung logo, installation fails)
So, will hold off for a few days, and if no new info about partitions, rom flashing, low memory, sd cards not mounting correctly, etc, then I will try re-partition...
meanwile, I`ll investigate som more on my own, read overall the internet
Ok, so i have tried and failed, and learned something on the way
Ext SD is useless for flashing rom, nandroid, etc within TWRP. It does not mount partitions correctly.
If I make sure DATA partition is mounted in recovery, and only use Internal SD, everythin flashes, backups and restores just fine
(Mabye an issure with TWRP?)
SDfix, or FolderMount fixes write permissions to Ext SD in rom to use TitaniumBackup, games, downloads, etc.
Hopes this can help others in simular problems.
And thanks to all that have helped on the way
Regards,
-Exlo

TWRP failed to backup

Only this morning I'm getting the error, e: unable to create folder/external SD etc etc. failed to make backup folder. Up until this time all backups have gone without any problems. The three backups I already have gone from the TWRP folder when I view it with a file manager. All my other files are there for pictures,sat Nav etc.
I am using Skydragon 4.2 with TWRP 2.8.1.0. I have tried to reinstall TWRP with flashily but the problem is still there.
What can I do to be able to get my backup working again?
Cheers
Sent from my iPad using Tapatalk
Have you try take out the external sd and put it to PC and use windows explorer to browse it ? (Assuming you PC is Windows)
I'm afraid that you may have corrupted external sdcard... try to fix it windows
Thanks for the suggestion,I'll do that as soon as I get home. All the other data is fine on there as far as I can see.
Is it just a case of letting windows scan and repair the card or do a full format of it after taking all the data from it first?
Sent from my iPad using Tapatalk
potsykate said:
Thanks for the suggestion,I'll do that as soon as I get home. All the other data is fine on there as far as I can see.
Is it just a case of letting windows scan and repair the card or do a full format of it after taking all the data from it first?
Sent from my iPad using Tapatalk
Click to expand...
Click to collapse
Other data is there when they are on good block.
Let windows scan and repair then after make a full format after taking all the data.
Can I do that through TWRP itself as I'm out of the house. I've copied the data I want to keep to the internal memory so far. I can see the option in memory settings to format the card, would that be good enough or must it be fine through the computer?
You could also try a different recovery like phils or clockworkmod recovery. My M8 is on skydragon's newer rom. Im useing clockworkmod recovery and it backups and restore works fine.
I never format external sdcard with TWRP .. not sure what will the Allocation Unit Size will be ... you need at least 32 kilobytes.
It's best to use PC ... scan first. If windows can fix it ... then you can try to make TWRP backup without format.
Your problem looks like external sdcard problem but maybe other thing too.
Anyway ... it's up to you. You can do it thru TWRP too.

Categories

Resources