[Q] How to remove read-only attribute from microsd card - General Questions and Answers

Whenever I try to edit files stored in my microSD card using any of my android devices it seems to be impossible. I suppose this has to do with my card being read-only...I tried to format once but it didn't work...How can I change that?

Is Your device rooted?
If it is i would suggest Superuser app to change files permissions.
Maybe You will find solution in here:
http://forum.xda-developers.com/showthread.php?p=7490856

Related

[Q] Can't move files from internal SD card to external SD card from within the XOOM

I've searched the forums and can't seem to find an answer to this, but I do know that others have the same issue. For example, when I download a file such as a new kernel zip file, I am unable to move (using Root Explorer or any other file manager) the file from the internal SD card over to the removable external SD card. I always have to connect to my Mac in order to place the file on the external so that I can move forward with flashing, etc. Anyone have a fix for this? I can't believe that such a simple and required function doesn't work. I realize that the external SD card functionality is based on a hack/mod, but it seems like not being able to write to it from within the device makes it somewhat useless in many ways.
EDIT: Nevermind, SOLVED. Found out you have to "copy" and not "move"...works like a charm
In Root Explorer you need to go to the top left and you'll see a button that says Mount R/W make sure it isn't set as Mount R/O. Afterwards make sure you move the files to SDCard/External so you can see it in recovery.
Good you got it to work..

Failed to write to sdcard1 after ota kitkat

Has any one else lost the ability to write to their socketed sdcard since the 4.4.2?
thesavo said:
Has any one else lost the ability to write to their socketed sdcard since the 4.4.2?
Click to expand...
Click to collapse
Thats a "feature" of kitkat. Can't be changed unless you have root.
Seriously?
Yes, see here for fix(if your rooted):
https://play.google.com/store/apps/details?id=nextapp.sdfix
thesavo said:
Seriously?
Click to expand...
Click to collapse
It's a security issue. Before KK, the SD card was wide open to any other process to be able to request read/write to any directory and file, regardless of whether or not they created that file or directory.
Now, under KK, a program can create a file or folder in a "protected" area and only that program has the ability to modify the contents in that folder. It cannot modify other folders or files that it didn't create.
Time to move the podcasts. So my older shows that I worked hard to keep to keep the ext sdcard1 as a target, will have to be copied to sdcard0.too bad.thanks @iBolski
No wonder BeyondPod kept 'accidently' putting shows on SDcard0 for the last year. Even though I "pinned" it to SDcard1 in the advanced settings.
Even with the application that patches the /etc/permissions/platform.xml, I have found certain apps still do not work correctly. Dolphin Browser, for example, cannot switch to /storage/sdcard1. It keeps saying it can't find it and I need to ensure I don't have "USB Mode" enabled, which I don't even have as an option when connected to a PC.
I also have init.d installed on my machine and I had startup scripts that mounted various directories from my external to the internal SD card to "fool" the device so that apps that wouldn't save to the external but the internal would save across a mount. Well, that no longer works. For example, Amazon MP3 will not save downloaded music anywhere except to the internal sd card. I had my startup scripts mount an amazonmp3 directory on my external SD card to the internal amazonmp3 directory on the internal memory card. When I proceeded to download music, it didn't show up in the external directory. However, I noticed that the internal sd card's memory did decrease. I then unmounted the directory and saw that the Amazon MP3 app was ignoring the mount under KitKat and directory saved the files into the /storage/sdcard0/amazonmp3 directory, even though it was mounted to the directory on the external SD card. It did work under JB and ICS, but apparently, with KitKat, some apps will still write directly to the native directory on the internal SD card, ignoring the fact that I've mounted a different directory to it.
The stock Moto camera will write to the external SD card if you go and change the setting for it. However, the Google Camera does not give you any option to store your pictures anywhere except on the internal SD card memory. :crying:
Remember, apps can write to the external card, if you don't apply the "patch", but only to what is considered a protected are (the /storage/sdcard1/Android directory structure) and then, they can only write to a directory that the app created. They can read other directories, but they cannot modify them.
iBolski said:
It's a security issue. Before KK, the SD card was wide open to any other process to be able to request read/write to any directory and file, regardless of whether or not they created that file or directory.
Now, under KK, a program can create a file or folder in a "protected" area and only that program has the ability to modify the contents in that folder. It cannot modify other folders or files that it didn't create.
Click to expand...
Click to collapse
That's official explanation (bull****) as you described above with non stock camera. Basically KK made external storage almost useless. I found this nice description quite long time ago.
https://plus.google.com/+TodLiebeck/posts/gjnmuaDM8sn
Zeljko1234 said:
That's official explanation (bull****) as you described above with non stock camera. Basically KK made external storage almost useless. I found this nice description quite long time ago.
https://plus.google.com/+TodLiebeck/posts/gjnmuaDM8sn
Click to expand...
Click to collapse
I know at this point, Root Explorer still works with it, after setting the correct permissions into the /etc/permissions/platform.xml file. That works for a lot of apps. The only one that I know that is currently broken is Dolphin browser. I cannot navigate to the /storage/sdcard1/ area anymore. It keeps telling me it can't find the file or directrory and that I should make sure the SD card is ready and USB Mass Storage (haven't seen this option since my Droid X2) is not on.
So definitely, Dolphin Browser is doing something differently that even the patch isn't working for it.
Problem is that without root user cannot edit platform.xml and even after that some applications refuse to write to sd card. Another example is OfficeSuite 7 Pro which I bought and now cannot edit file if it's needed. Workaround is to save to internal then overwrite to sd card.
Basically stock Android becoming more and more limited, harder and harder to get root... That's so bad that I wouldn't update to official kk in the case that my phone has locked bootloader.
Read this article http://www.xda-developers.com/andro...use-even-more-issues-for-root-app-developers/

External SD Card Write Access Restored Back Again To Read Access Only?

Hi,
I changed platform.xml file to give permission for writting to SD Card it was fine for some time but from now onwards when I restart my Mobile phone Or sometimes when I remount External SD Card so then I can delete and change files but for some little time or may be for a minute and then when trying to do more changes so then it don't works...Like works for first time and then it's not working..while the platform.xml is in good hands..I check that and no change occur there..like permission is always there for writting but it don't write to SD Card so please..I want to know that what is happening wrong in there?
I am using Samsung Galaxy Core 2 With Kit Kat Version 4.4.2 In Root Mode & With ES File Explorer as Root Explorer?
Regards,
Umair Shah

[Completed] pls help

can you help me some files on my sd card keep on re appearing again and again i am using android 4.4 kitkat if i delete tthe files again it now aid that " no have permissions to delete"
XDA Visitor said:
can you help me some files on my sd card keep on re appearing again and again i am using android 4.4 kitkat if i delete tthe files again it now aid that " no have permissions to delete"
Click to expand...
Click to collapse
Yes, kitkat has a "strange" access rights management. No write access for user installed apps for the external sd card.
You can read about it here: Fix Your SDCard Issue On KitKat.
If your device is rooted, you can "fix" it like described here: [APP][4.4][ROOT] SDFix: Modify device permissions to allow apps to write to MicroSD.
As long as your device is not rooted, it's a little bit more complex. You have to use a system app ... maybe the stock file explorer will work.
If this doesn't work either, check that the sd card is not "locked" accidentcially.
Can you unmount and remount the sd card in Settings > Storage > ... ?

[Q] SD card problem

How to format the sd card. We can access the data from here. But I am not able to write data to my external sd card. It says premission denied. I have rooted my Asus zenfone 5(kitkat). Using file explorer, when I delete the android_secure folder, it works for sometimes.Again that folder appears and write permission denied. I have tried so many methods to format it but not succeded. The apps available on sd card is no longer in use. Sometimes, when I restart my phone, it works for sometimes. Therefore, please provide me any method to remove write protection on sd card or to format it.
ravi_sh said:
How to format the sd card. We can access the data from here. But I am not able to write data to my external sd card. It says premission denied. I have rooted my Asus zenfone 5(kitkat). Using file explorer, when I delete the android_secure folder, it works for sometimes.Again that folder appears and write permission denied. I have tried so many methods to format it but not succeded. The apps available on sd card is no longer in use. Sometimes, when I restart my phone, it works for sometimes. Therefore, please provide me any method to remove write protection on sd card or to format it.
Click to expand...
Click to collapse
You can't easily delete your .android_secure, it contains info of your system. I recommend you not to delete it. If it is write protected or need to formsat then go to settings>storage>format sdcard
Instead of thanking me by posting, HIT Thanks if you like my post or if I helped you in any way!
-------------------------------------------
My work:
[TOOL]Kernel/Boot.img (un)packer
ravi_sh said:
How to format the sd card. We can access the data from here. But I am not able to write data to my external sd card. It says premission denied. I have rooted my Asus zenfone 5(kitkat). Using file explorer, when I delete the android_secure folder, it works for sometimes.Again that folder appears and write permission denied. I have tried so many methods to format it but not succeded. The apps available on sd card is no longer in use. Sometimes, when I restart my phone, it works for sometimes. Therefore, please provide me any method to remove write protection on sd card or to format it.
Click to expand...
Click to collapse
If you're not going to use that SD card with the phone anymore then you could format it from recovery, assuming you have a custom recovery installed (be aware, formatting will delete *everything* on the card, not just the android secure folder). In recovery you can do this from the format menu in either CWM or Philz.
If you still want to use it with the phone, you should leave android secure alone. It will just keep coming back anyways.
You could ask for help here,
http://forum.xda-developers.com/android/help/asus-zenfone-5-zenfone-6-to-t2839984 :good:
I accidentally deleted Android_Secure once. Simply sticked the card into my laptop, selected the folder and hit delete. That was before I realized that folder contained files required by apps, even if they're not installed on the MicroSD. Several apps gave 'not installed' even though the icons were there.
Android recreates the folder by itself. If you want to get rid of it to use the card for a different purpose, stick it in a computer and delete the folder.
ravi_sh said:
How to format the sd card. We can access the data from here. But I am not able to write data to my external sd card. It says premission denied. I have rooted my Asus zenfone 5(kitkat). Using file explorer, when I delete the android_secure folder, it works for sometimes.Again that folder appears and write permission denied. I have tried so many methods to format it but not succeded. The apps available on sd card is no longer in use. Sometimes, when I restart my phone, it works for sometimes. Therefore, please provide me any method to remove write protection on sd card or to format it.
Click to expand...
Click to collapse
Format the SD Card by a PC, the best method
You can also format it by any CUSTOM RECOVERY
Format into Fat32

Categories

Resources