Unable to save file to SD card due to insufficient file permissions. - EVO 4G Q&A, Help & Troubleshooting

Unable to save file to SD card due to insufficient file permissions.
I can not use my camera and this is really frustrating, I am using a MAC. Can someone please help with this error. I am running Fresh .3, will upgrading to 0.5.3 fix the problem.
Thank you,

destevez1 said:
Unable to save file to SD card due to insufficient file permissions.
I can not use my camera and this is really frustrating, I am using a MAC. Can someone please help with this error. I am running Fresh .3, will upgrading to 0.5.3 fix the problem.
Thank you,
Click to expand...
Click to collapse
I had this problem, then i googled it. I'll give you a hint, it's got something to do with read-only.

mrono said:
I had this problem, then i googled it. I'll give you a hint, it's got something to do with read-only.
Click to expand...
Click to collapse
What a helpful response....pffft.

i thought it had to do with the update that was released shortly after the phone came out
heres the post for the update

no I had this awhile back and googled it and fixed it in 15min
check the 'read only' permissions on the sd card

Currently have this issue...
After updating to Fresh EVO 3.1.0.2 I have not been able to use my camera due to 'insufficient file permissions'. I have 4.5 gB free on my 8 gB card. I used my ROM Manager 'Fix Permissions' utility to attempt to correct this.
The problem could have started when I changed my Recovery from Clockwork to RA Recovery in getting my phone to tether. Tethering is more important than a camera, but I want both.
I have taken the advice of searching Google for a solution, but have not found one yet.
Any suggestions...?
Thanks.

I had this problem yesterday. Turns out one of the files I had copied we re corrupt. I took out the card from phone used a sd card adapter, and windows immediately recognized it as corrupted and deleted the file. Windows did not do this when I connected via phone.
Sent from my PC36100 using XDA App

If your cards properties aren't set to read only I fixed my problem by copying everything off the card formating it and moving everything back to the card and cleared up all my problems.

Related

SD Card problem with all EVO Roms Help!!

SO I am having a problem with every EVO rom I flash. Here is what is happening.
- I will open Astro or EStrongs and click on the SD Card where I have my APP Apks stored and click on the folder and it will just close the program. So then I will reboot and try to install them again and it will install maybe 3 apps before it starts saying "App not Installed".
- I am also having the "File Permissions" problem on OMJ latest EVO Rom when I try and use the Camera.
I have the latest Sprint Software installed and everything else. Can anyone help me out and tell me whatr the problem can be? I thought this problem was fixed?
It might be a bad sd card
I had similar issues with the sd card that came with my phone. It would work for a little while and then all of a sudden I would get file permission errors. Sometimes it would even come up saying the data was corrupt and needed to be formatted. I tried formatting several times both in the phone and in the computer.
Nothing seemed to help the issue. I then went to the store and purchased a new 16GB SD card and have not had a problem since. On another note, I have since left the 8gb card in my computer and have not had any problems with it there.
Yeah, It was working working fine the all of a sudden it started having issues.

[SOLVED] MicroSD to Internal Storage swap not working

Hi,
I was running Flex ROM w/ the MicroSD swap Mod. I shutdown the device and took out the memory card. I used the card for transferring some files. After I inserted back the card and turned on my device, the A100 was no longer detecting the MicroSD swap Mod. I tried to install a new ROM, Green ICS, but it is still not working. The Internal and SD storage are reflecting the Internal Storage. I have set the permission correctly on the install-recovery.sh but I cannot get the MicroSD swap to work. Could anyone please help me with this?
Thank you.
Are you sure you set the right permissions? If you used Root Explorer, all the boxes must be checked. Also, have you tried running the script on boot (using script manager)? You could even execute the script manually.
Since this started after using the card outside of the tab to transfer files, I would suggest checking it for errors, or even formatting it and trying again. A bad removal from a PC can cause this to come up, it seems to happen occasionally on all devices when the card is removed and used on either another device or on a PC. Android won't always notice something is wrong, just won't mount it without reporting errors or things like that mount swap script will fail as the mounting isn't completed on the external SD, so it can't swap mount points (one is missing).
I say bad removal from PC because, windows in particular, will allow you to unmount for removal while STILL writing to it, which makes no sense to me. In my experience, even in linux, the file transfer dialog will say its complete, however the card is still being written to for up to a few minutes afterwards. The card reader I use has an activity LED on it, and I don't even attempt to unmount (or remove in windows) the device until after that has stopped blinking for a few seconds. Removal while still writing can cause filesystem errors that android will usually pick up, but not always.
If possible, try the card in another android device and see if it mounts.
If not, copy all of your data off to your PC, then format it FAT32, then insert into the tab and see if it picks it up.
If not, insert it into the tab and see if it will allow formatting from there.
If not, insert it into another android device and see if it will allow formatting from there.
If not, perhaps wiping in CWM or TWRP will allow it to be mounted.
If recovery will not mount it, even after ALL of the above steps, then the card may just be bad, its flash memory, it happens. A recovery log would help if this happens, and point out why it's failing. ADB shell can then be used to attempt to repair it by e2fsck for error checking, and mke2fs to format it. Final last ditch is zero it out and format again. That should overwrite any bad areas with zeros and "hide" the bad data by writing zeros over it. Takes a LONG time to do this though, roughly 20 minutes per 6 GB. But before we ever get to needing to zero it out, the other tools will report something like a bad super block which can easily cause failed mounts and won't always be reported in android.
Thank you for the replies. I have already reformatted the microsd card. It is actually read by the tablet and no problem using it but I still cannot swap the memory. It was working before. The permissions are correct. I've set it with everything checked for rwx. After rebooting, my internal memory is still the same but the SD storage becomes a duplicate of the internal storage. I have tried using script manager. I'm not sure though if I ran the script properly. Is there any guide on running the install-recovery.sh on script manager? Thank you again in advance.
pritos said:
Thank you for the replies. I have already reformatted the microsd card. It is actually read by the tablet and no problem using it but I still cannot swap the memory. It was working before. The permissions are correct. I've set it with everything checked for rwx. After rebooting, my internal memory is still the same but the SD storage becomes a duplicate of the internal storage. I have tried using script manager. I'm not sure though if I ran the script properly. Is there any guide on running the install-recovery.sh on script manager? Thank you again in advance.
Click to expand...
Click to collapse
To run it manually in Script Manager, just select it and click run (make sure you are browsing as root). You could also use Root Explorer (a bit more simple) - Simply tap it and choose execute.
Thank you for the response again. I tried executing it on Root Explorer but nothing happened. It says install-recovery.sh was executed but after restarting, nothing happened. My bootloader is unlocked and I'm using TWRP 2.1.1+. Both Flex Reaper and Green ICS ROMs no longer works with the MSD2INT Mod on my tablet. I'll try reverting back to HC then re-do the whole process of unlocking bootloader and rooting. If anyone has an idea or similar issue, please assist. Thank you.
pritos said:
Thank you for the response again. I tried executing it on Root Explorer but nothing happened. It says install-recovery.sh was executed but after restarting, nothing happened. My bootloader is unlocked and I'm using TWRP 2.1.1+. Both Flex Reaper and Green ICS ROMs no longer works with the MSD2INT Mod on my tablet. I'll try reverting back to HC then re-do the whole process of unlocking bootloader and rooting. If anyone has an idea or similar issue, please assist. Thank you.
Click to expand...
Click to collapse
If you use Root Explorer to do it, it will not work after a reboot. You would just execute it and use it from there (and re-execute after each reboot). Script Manager is best since you can set it to automatically execute the script on boot.
Thank you. I tried using Script Manager on /system/etc/install-recovery.sh and set SU and Boot then saved it. I rebooted but still not working. I'll just try from scratch and see if I get it working again.
I added an edit to this post
longest edit ever
Which explains the steps for both methods of using this script, acer stock/modified or AOSP based which uses script manager. Give that a read, it's quite detailed and boring, but it works.
This is also going to be added into the A100 guide as I get around to it, for anyone else having issues. Mainly, make sure the permissions are correct if it's not working, and you're giving it a minute to show up.
Thank you to everyone who replied. I was able to determine the issue and fixed it. It was a problem with my microSD card. pio was right. The card was corrupted. It was being mounted and detected in the ROM but I was not able to mount it on the recovery. It seems it is not read during boot up and it only gets mounted when the ROM is loaded. I tried reformatting it using the Windows format tool but it still didn't fix it. I was able to use the SD Formatter v3.1 application to fix the problem. The microSD to internal storage mod is now working. I'm back using the Green ICS ROM. Thanks again for the help and suggestions.
pritos said:
Thank you to everyone who replied. I was able to determine the issue and fixed it. It was a problem with my microSD card. pio was right. The card was corrupted. It was being mounted and detected in the ROM but I was not able to mount it on the recovery. It seems it is not read during boot up and it only gets mounted when the ROM is loaded. I tried reformatting it using the Windows format tool but it still didn't fix it. I was able to use the SD Formatted application to fix the problem. The microSD to internal storage mod is now working. I'm back using the Green ICS ROM. Thanks again for the help and suggestions.
Click to expand...
Click to collapse
Woo glad I was right for once lol glad its back up.
Tapatalked from my Galaxy S II.

[Q] External SD Card is not writable. Fixing permissions does not work or help.

I'm currently running Stock TW 4.1.1 because it just works SO well for me. I've not bothered to upgrade since I bought this phone almost a year ago now I think..?
I'm fully rooted though and I'm running the Note 2 keyboard etc.
Anyway I finally decided to try an upgrade. I tried using the Stock MOD 4.3 ROM which was MUCH slower then my 4.1.1 ROM so I Nandroided back to my backup.
I've noticed that my external 16GB SD Card is no longer working though. I mean, it works. I can access my files and open them BUT the card is not writable. If I check the file permissions I can clearly see it's not set right. If I try to change the file permissions in something like ES File Explorer or Root Explorer I just get errors about not being able to change permissions.
If I boot into TWRP and run the "Fix Permissions" this doesn't help either.
Again this is for my EXTERNAL SD Card, not the built in SD Card.
kdoggy said:
I'm currently running Stock TW 4.1.1 because it just works SO well for me. I've not bothered to upgrade since I bought this phone almost a year ago now I think..?
I'm fully rooted though and I'm running the Note 2 keyboard etc.
Anyway I finally decided to try an upgrade. I tried using the Stock MOD 4.3 ROM which was MUCH slower then my 4.1.1 ROM so I Nandroided back to my backup.
I've noticed that my external 16GB SD Card is no longer working though. I mean, it works. I can access my files and open them BUT the card is not writable. If I check the file permissions I can clearly see it's not set right. If I try to change the file permissions in something like ES File Explorer or Root Explorer I just get errors about not being able to change permissions.
If I boot into TWRP and run the "Fix Permissions" this doesn't help either.
Again this is for my EXTERNAL SD Card, not the built in SD Card.
Click to expand...
Click to collapse
Have you tried backing up the contents of the sd card and formatting it? Either from within the phone's storage menu or another device.
dntesinfrno said:
Have you tried backing up the contents of the sd card and formatting it? Either from within the phone's storage menu on another device?
Click to expand...
Click to collapse
No I have not. I wanted to see if there was a way to do it without formatting first but if no one has any other idea's, I might have to try that.
kdoggy said:
No I have not. I wanted to see if there was a way to do it without formatting first but if no one has any other idea's, I might have to try that.
Click to expand...
Click to collapse
That would be my first move to rule out a potential hardware failure, assuming you have the means to do so without much trouble.
Well being that it started right after a Nandroid restore I'm thinking it's not hardware failure related but you never know.
I guess it wouldn't take too long to do that. I'll give it a go.
Yep that did it. I guess I was WAY over thinking the issue.
I'm able to save porn to my external SD Card again so that is a major plus!
kdoggy said:
Yep that did it. I guess I was WAY over thinking the issue.
I'm able to save porn to my external SD Card again so that is a major plus!
Click to expand...
Click to collapse
lol as long as the porn is ok

[Q] External SD Card Read-Only Problem

I tried researching this but wasn't successful finding same exact problem or solution. I'm on 4.4.2 Baseband N900TUVUCNB4 rooted with stock rom and ext sd fix. Everything was working fine until recently. My external SD card has inexplicably become read-only, both on the phone and on my desktop. I first noticed this last week when the phone camera began having problems writing to external SD card, and now I can't sync music to card. I've tried formatting on the phone and desktop, both quick and full but no dice. On the phone, I am able to delete individual files or folders but they reappear. On the PC, I can view but get write protect message when trying to format. Anyone else come across this or have suggestions?
ronman71 said:
I tried researching this but wasn't successful finding same exact problem or solution. I'm on 4.4.2 Baseband N900TUVUCNB4 rooted with stock rom and ext sd fix. Everything was working fine until recently. My external SD card has inexplicably become read-only, both on the phone and on my desktop. I first noticed this last week when the phone camera began having problems writing to external SD card, and now I can't sync music to card. I've tried formatting on the phone and desktop, both quick and full but no dice. On the phone, I am able to delete individual files or folders but they reappear. On the PC, I can view but get write protect message when trying to format. Anyone else come across this or have suggestions?
Click to expand...
Click to collapse
Happened with me once with a different phone/OS. Weird thing is that it was only for a particular SD card. I put a different card and it worked.
It turned out to be a problem with the card (dunno how thats possible though).
What's the brand of your SD card?
I have the exact same problem with my SGNote 2 and SanDisk 64gb micro SD card. First I lost some pics I have taken that day. I searched through with a file rescue tool but they were nowhere to be found. Deleted files reappear, and the ones I copied from internal SD dissappear.
Sent from my GT-N7100 using Tapatalk
ronman71 said:
I tried researching this but wasn't successful finding same exact problem or solution. I'm on 4.4.2 Baseband N900TUVUCNB4 rooted with stock rom and ext sd fix. Everything was working fine until recently. My external SD card has inexplicably become read-only, both on the phone and on my desktop. I first noticed this last week when the phone camera began having problems writing to external SD card, and now I can't sync music to card. I've tried formatting on the phone and desktop, both quick and full but no dice. On the phone, I am able to delete individual files or folders but they reappear. On the PC, I can view but get write protect message when trying to format. Anyone else come across this or have suggestions?
Click to expand...
Click to collapse
I had same problem. But I fixed this problem by formatting my SD card via PC. It is very bad to me Because I lost my some valuable Docs:crying:
Try file recovery softwares, you might recover it.
Lorettaa said:
Try file recovery softwares, you might recover it.
Click to expand...
Click to collapse
Thanks. I tried formatting through PC using windows and also tried using SDFormatter v4.0 but get write protect error. Thanks for the suggestions
Lorettaa said:
What's the brand of your SD card?
Click to expand...
Click to collapse
It's a SanDisk 64gb class 10.
Glad to hear I'm not the only one. Maybe we can share the solution when we find one. I'm using internal memory in the meantime for new media files, but frustrated that I am not able to use the rest of the memory available on my card.
SanDisk works fine for me, maybe your sd card is a faulty one, let's wait for a while here and maybe someone could answer your question and hopefully solve your problem
Lorettaa said:
SanDisk works fine for me, maybe your sd card is a faulty one, let's wait for a while here and maybe someone could answer your question and hopefully solve your problem
Click to expand...
Click to collapse
Thanks, Lorettaa. It seems like that's the only option right now, since I can't find any other info about it on XDA. I know Kit Kat has that design "flaw" where apps can't write to an SD card, but I can't even write to it, modify it or reformat it on a PC. I have full read access to every file, just can't do anything else
ronman71 said:
Thanks, Lorettaa. It seems like that's the only option right now, since I can't find any other info about it on XDA. I know Kit Kat has that design "flaw" where apps can't write to an SD card, but I can't even write to it, modify it or reformat it on a PC. I have full read access to every file, just can't do anything else
Click to expand...
Click to collapse
I have the exact same problem, i tried many options , used some softwares in windows to format , wipe, fix, modify. nothing works.
One possible reason for this problem is file system errors , which can be rectified using the 'error checking' option in windows and 'fixing the file system errors'
But that doesnt solve my problem, even after formatting using advanced softwares, the sd card is the same - no files deleted, no files added...
The fat as well as ext4 parition is not formattable now in anyway.so the possible conclusion is 'sd card is going to fail'.. Take a backup before you loose the read capability.
Recuva is a good, free tool (from the people that make CCleaner) to deleted recover photos.
jayOOMjay said:
One possible reason for this problem is file system errors....
Click to expand...
Click to collapse
And one possible reason for a false error condition is a corrupt system. This is normally an unlikely possibility but it is very likely on devices that have had partition images written to (i.e. a flashed ROM). If you have done all you can to the SD card and if the errors are not only on one SD card then wipe everything and load a backup. If you still get errors then wipe everything and revert to stock to see if they still occur.
Frank

Problems with External SD Card

Ever since I converted to GPE for 6.0 then back to Sense (5.0.1 stock, rooted) I have been facing problems with my external SD Card. I know that Marshmallow handles External SD Cards a little bit differently than other versions of Android, so I decided to backup everything to my computer and then have my device format the SD card inside Sense but it still did not work.
For one thing, I can no longer backup from Titanium Backup to my External SD Card since it says "this folder is not writable" and whenever I try to delete or move anything inside ES File Explorer, a message comes up saying "please choose the root directory of ext_sd card ...." and when I try to, I get a "Documents Force Closed" error.
Any ideas on what I could do at this point? Should I try formatting the SD Card on my computer using a SD Card reader instead? I am using a Mac, by the way.
Thanks for your time.
TarekElsakka said:
Ever since I converted to GPE for 6.0 then back to Sense (5.0.1 stock, rooted) I have been facing problems with my external SD Card. I know that Marshmallow handles External SD Cards a little bit differently than other versions of Android, so I decided to backup everything to my computer and then have my device format the SD card inside Sense but it still did not work.
For one thing, I can no longer backup from Titanium Backup to my External SD Card since it says "this folder is not writable" and whenever I try to delete or move anything inside ES File Explorer, a message comes up saying "please choose the root directory of ext_sd card ...." and when I try to, I get a "Documents Force Closed" error.
Any ideas on what I could do at this point? Should I try formatting the SD Card on my computer using a SD Card reader instead? I am using a Mac, by the way.
Thanks for your time.
Click to expand...
Click to collapse
@TarekElsakka - I know I'm bumping this thread, however I hope this is taken with leniency as searching for a solution took me a while and I hope this reply will help those who Google for the same problem.
http://forum.xda-developers.com/showpost.php?p=59278548&postcount=4 is what you need to read. You need to explicitly change your storage provider to 'DocumentProvider storage'.
ThePurpleK said:
@TarekElsakka - I know I'm bumping this thread, however I hope this is taken with leniency as searching for a solution took me a while and I hope this reply will help those who Google for the same problem.
http://forum.xda-developers.com/showpost.php?p=59278548&postcount=4 is what you need to read. You need to explicitly change your storage provider to 'DocumentProvider storage'.
Click to expand...
Click to collapse
@ThePurpleK thank you for your information! I actually forgot all about this thread, but I found this solution a while ago and it fixed everything for me. Thank you again, I'm sure it will be helpful to a lot of people since everyone seems to be facing that problem with MM.
Interesting. I never knew that was even a setting in TiBu either. What I did was a little more involved. Had to edit /system/etc/permissions/platform.xml) and add a specific entry to allow a group permission to write to external storage. Check the attached image. Of course I added the highlights.
Drunkula said:
Interesting. I never knew that was even a setting in TiBu either. What I did was a little more involved. Had to edit /system/etc/permissions/platform.xml) and add a specific entry to allow a group permission to write to external storage. Check the attached image. Of course I added the highlights.
Click to expand...
Click to collapse
I think you missed what they were talking about.
What you suggest is not valid for android 6.0 marshmallow.
Only workable for lollipop and lower.
You're right about that. I'm not on MM yet (Verizon...) so I hadn't a clue.

Categories

Resources