[Q] 3.2 Manta Ray - External SD-card read-only? - Xoom Q&A, Help & Troubleshooting

Hi!
I installed Honeycomb 3.2 (using this excellent tutorial: http://forum.xda-developers.com/showthread.php?t=1183416 ) and it works like a charm Thanks to all for the hard work! The only problem I encounter:
I have a FAT-formatted SDHC-Card which I inserted into my Xoom, booted into recovery, mounted it and chose "format SD-card". Everything works well and using ES-Explorer I can access this card unter /mnt/external1/ or /MicroSD/.
BUT: I can't create folders nor put any files in it, it just keeps saying "operation failed". I then enterd into ES-Explorer's settings, activated "Root Explorer" and granted superuser-rights and - voilĂ  - I can read and write to the external SD-card... But ONLY with ES-Explorer (since it got SU).
Did I do wrong in formatting in recovery mode? How can I solve this?
Thanks a bunch!
Jake

jakeomat said:
Hi!
I installed Honeycomb 3.2 (using this excellent tutorial: http://forum.xda-developers.com/showthread.php?t=1183416 ) and it works like a charm Thanks to all for the hard work! The only problem I encounter:
I have a FAT-formatted SDHC-Card which I inserted into my Xoom, booted into recovery, mounted it and chose "format SD-card". Everything works well and using ES-Explorer I can access this card unter /mnt/external1/ or /MicroSD/.
BUT: I can't create folders nor put any files in it, it just keeps saying "operation failed". I then enterd into ES-Explorer's settings, activated "Root Explorer" and granted superuser-rights and - voilĂ  - I can read and write to the external SD-card... But ONLY with ES-Explorer (since it got SU).
Did I do wrong in formatting in recovery mode? How can I solve this?
Thanks a bunch!
Jake
Click to expand...
Click to collapse
You didn't do anything wrong, it's working and you can access it with ES explorer. Did you check if other apps can see the files on the card? Like can Documents to Go read and edit a word file from your card?

Yepp, files are visible and can be opened with other apps but not changed and then saved :-(
I have tried to change user permissions of the SD-card (booted Kubuntu from CD on my PC, logged in as root and changed permissions to rwxrwrw) but to no avail. Still no writing permissions without SU on my Xoom.

jakeomat said:
Yepp, files are visible and can be opened with other apps but not changed and then saved :-(
I have tried to change user permissions of the SD-card (booted Kubuntu from CD on my PC, logged in as root and changed permissions to rwxrwrw) but to no avail. Still no writing permissions without SU on my Xoom.
Click to expand...
Click to collapse
I don't get it...you are rooted, right? I assumed so. I have all r/w permissions with rooted Xoom on Tiamat Manta Ray Rom.

Just download and run http://www.synfulgeek.com/main/images/sgmsdmm3.apk to remount your sd card as read/write easily.

champers said:
Just download and run http://www.synfulgeek.com/main/images/sgmsdmm3.apk to remount your sd card as read/write easily.
Click to expand...
Click to collapse
YES, this app solved my problem also.

This app just force closes, does it need root access?
Thanks

Yes, root access is necessary.
I can start the app and it states:
Current microSD card mount status: Not mounted
Mounted for read/write: False
Independant from what I do next (mount as read-only oder remount as read/write) the app confirms the action but the status of the SD-card stays the same ("Not mounted"). Which is strange enough, because I can access the SD-card and read the data, but still no writing possible :-(

Related

unable to write files to external sd card

I have owned a number of tablets but this is the first time I'm unable to write files to my ext. SD card. Anyone else have this issue?
Thanks
Mr Dasher said:
I have owned a number of tablets but this is the first time I'm unable to write files to my ext. SD card. Anyone else have this issue?
Thanks
Click to expand...
Click to collapse
I have the same issue when using any 3rd party file manager, but doing such through the built in one works. I suspect I just need to back up and format the card through the computer, try that and see how it works.
I ran into the same issue, but reformatting the external SD have no effect. Whether the system is grabbing hold of the extSD and locking out other apps is as yet unknown. Currently I am attempting to figure out how to root the unit so I can gain access with a better FileMngr than the stock one. Still waiting for the download during the reset to finish, so don't know if it will work.
FYI - My device is rooted and I am using ES File Manager and it still does not work.
Mr Dasher said:
FYI - My device is rooted and I am using ES File Manager and it still does not work.
Click to expand...
Click to collapse
Have you format your sd card? I've got same problem, but now it's ok with ES File manager
gacon1000 said:
Have you format your sd card? I've got same problem, but now it's ok with ES File manager
Click to expand...
Click to collapse
Are you sure? Try this:
Reboot the tablet.
Before you do anything else, start ES File manager, and immediately navigate to /mnt/sdcard/extStorages/SdCard.
Menu->New->Folder (leave the default and hit 'OK')
Did it create the folder or show an error message?
(This has become a puzzle for me. Sometimes I can read/write with ES, sometimes I can't. It's damn annoying...)
Mr Dasher said:
I have owned a number of tablets but this is the first time I'm unable to write files to my ext. SD card. Anyone else have this issue?
Thanks
Click to expand...
Click to collapse
I can't post a link to the original post on another forum that worked for me so I will quote it:
Simple solution for external sdcard write access on Android 3.2...if you're rooted
I've found a simple solution for gaining write access to the external sdcard (/mnt/sdcard2) on Android 3.2. The sdcard is mounted r/w, but the owning group is media_rw which is linked to the WRITE_MEDIA_STORAGE permission. Unfortunately, this permission was not required for access to the external sdcard prior to 3.2 so most file management utilities do not request it when they run...meaning they only have read access to the card.
The simple solution, if you're rooted, is as follows:
1. Using a root-enabled file manager, navigate to /system/etc/permissions and make sure you have mounted the file system r/w.
2. Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission.
3. Add an additional group definition for this permission...<group gid="media_rw" />
4. Save the changes to the file.
5. Restart your tablet.
After this change, any apps that request the WRITE_EXTERNAL_STORAGE permission (which includes almost anything that access either of the sdcards) will gain group membership in both sdcard_rw AND media_rw, giving them r/w access to both sdcard filesystems.
Interesting that it requires root to fix. You would think that even the Samsung file manager would be able to handle it, but it doesn't.
thaloneus said:
I can't post a link to the original post on another forum that worked for me so I will quote it:
Simple solution for external sdcard write access on Android 3.2...if you're rooted
I've found a simple solution for gaining write access to the external sdcard (/mnt/sdcard2) on Android 3.2. The sdcard is mounted r/w, but the owning group is media_rw which is linked to the WRITE_MEDIA_STORAGE permission. Unfortunately, this permission was not required for access to the external sdcard prior to 3.2 so most file management utilities do not request it when they run...meaning they only have read access to the card.
The simple solution, if you're rooted, is as follows:
1. Using a root-enabled file manager, navigate to /system/etc/permissions and make sure you have mounted the file system r/w.
2. Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission.
3. Add an additional group definition for this permission...<group gid="media_rw" />
4. Save the changes to the file.
5. Restart your tablet.
After this change, any apps that request the WRITE_EXTERNAL_STORAGE permission (which includes almost anything that access either of the sdcards) will gain group membership in both sdcard_rw AND media_rw, giving them r/w access to both sdcard filesystems.
Click to expand...
Click to collapse
@thaloneus:
Thanks for finding and posting that procedure. Was having that excact problem and after making the edit to permissions I am now able to write to the external sd card. ES file explorer now allows writing to the external sd as well as Titanium Backup.
Interesting note: Titanium was backing up to the internal sd. Once the external became available to write to I was able to create a backup folder there and ran another batch of backups.
thaloneus said:
I can't post a link to the original post on another forum that worked for me so I will quote it:
Simple solution for external sdcard write access on Android 3.2...if you're rooted
I've found a simple solution for gaining write access to the external sdcard (/mnt/sdcard2) on Android 3.2. The sdcard is mounted r/w, but the owning group is media_rw which is linked to the WRITE_MEDIA_STORAGE permission. Unfortunately, this permission was not required for access to the external sdcard prior to 3.2 so most file management utilities do not request it when they run...meaning they only have read access to the card.
The simple solution, if you're rooted, is as follows:
1. Using a root-enabled file manager, navigate to /system/etc/permissions and make sure you have mounted the file system r/w.
2. Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission.
3. Add an additional group definition for this permission...<group gid="media_rw" />
4. Save the changes to the file.
5. Restart your tablet.
After this change, any apps that request the WRITE_EXTERNAL_STORAGE permission (which includes almost anything that access either of the sdcards) will gain group membership in both sdcard_rw AND media_rw, giving them r/w access to both sdcard filesystems.
Click to expand...
Click to collapse
Thanks worked like a charm
Please someone provide me more details or give me the picture of the edited .xml thanks.
Sent from my GT-P6200L using Tapatalk
boonhim said:
Please someone provide me more details or give me the picture of the edited .xml thanks.
Sent from my GT-P6200L using Tapatalk
Click to expand...
Click to collapse
Here is a screenshot of the edited .xml
Sent from my GT-P6210
StingerDog said:
@thaloneus:
Thanks for finding and posting that procedure. Was having that excact problem and after making the edit to permissions I am now able to write to the external sd card. ES file explorer now allows writing to the external sd as well as Titanium Backup.
Interesting note: Titanium was backing up to the internal sd. Once the external became available to write to I was able to create a backup folder there and ran another batch of backups.
Click to expand...
Click to collapse
From what Ive found you need superuser access to the external sdcard to write to it. I've always been able to access the external sdcard with Titanium Backup as the location of the backup was the first thing I changed in its settings when I installed it. Root Explorer can write to it too. The only programs that can't are the ones without superuser access, ES File Explorer is one I have that I can't get its root explorer working, its not requesting superuser access, so it can't write to the sdcard.
Not sure if this has anything to do with the sdcard mounting to a pc as an MTP device instead of MSC or not but really irritated by that protocol. Not sure if this (MTP) is native to Honeycomb or if Samsung wanted the external storage accessed in this way.
Thank so much.
Sent from my GT-P6200L using Tapatalk
kzoodroid said:
From what Ive found you need superuser access to the external sdcard to write to it. I've always been able to access the external sdcard with Titanium Backup as the location of the backup was the first thing I changed in its settings when I installed it. Root Explorer can write to it too. The only programs that can't are the ones without superuser access, ES File Explorer is one I have that I can't get its root explorer working, its not requesting superuser access, so it can't write to the sdcard.
Not sure if this has anything to do with the sdcard mounting to a pc as an MTP device instead of MSC or not but really irritated by that protocol. Not sure if this (MTP) is native to Honeycomb or if Samsung wanted the external storage accessed in this way.
Click to expand...
Click to collapse
If you're still having trouble with apps not writing to the external sd, you might want to edit that .xml file thaloneus had mentioned.
Once I did that I had full access to write to that card from any app. Took me all of like five minutes to edit and test it out.
I'm having some trouble with this procedure. Like everyone else, I couldn't write to my external SD card using ES Explorer or what not, although the stock Samsung My Files explorer could (and strangely, if I use a Samba mount I could write to it from my Win7 PC).
Anyway I've rooted everything, and was about to edit platform.xml, but I can't save it. I don't have the ability to write to the system folder.
I think I've done the Mount rw thing, ES File Explorer's option to do it was disabled, but on File Expert it was available. For good measure, I also used the app "mount /system (rw /ro)" but even with all these tools, I still can't write to the system directory.
I'm at my wits end, any ideas?
Mochan said:
I'm having some trouble with this procedure. Like everyone else, I couldn't write to my external SD card using ES Explorer or what not, although the stock Samsung My Files explorer could (and strangely, if I use a Samba mount I could write to it from my Win7 PC).
Anyway I've rooted everything, and was about to edit platform.xml, but I can't save it. I don't have the ability to write to the system folder.
I think I've done the Mount rw thing, ES File Explorer's option to do it was disabled, but on File Expert it was available. For good measure, I also used the app "mount /system (rw /ro)" but even with all these tools, I still can't write to the system directory.
I'm at my wits end, any ideas?
Click to expand...
Click to collapse
What are you using to edit the .xml file? It may not have root explorer functions.
I used the Root Browser from ROM Toolbox to make and save the edit.
Worked for me with Root Explorer. I have tried most of the free file managers, and Root Explorer is worth every penny to me. It is the only app I have paid for.
StingerDog said:
What are you using to edit the .xml file? It may not have root explorer functions.
I used the Root Browser from ROM Toolbox to make and save the edit.
Click to expand...
Click to collapse
i used the free Astro File Manager to navigate to /system/etc/permissions/platform.xml. When I tapped on the platform.xml file I was given a choice of text editors to open it with. When I finished I was offered the option to save the file.
thaloneus said:
i used the free Astro File Manager to navigate to /system/etc/permissions/platform.xml. When I tapped on the platform.xml file I was given a choice of text editors to open it with. When I finished I was offered the option to save the file.
Click to expand...
Click to collapse
There you are thaloneus!
You made the one post that helped me fix that issue, then you disappeared. Glad to see you're back.
Thanks again!

[Resolved] Phone unable to use internal SD

I just has my USCC Galaxy S3 replaced under warranty. To save my internal SD files, I used an ADB pull /storage/sdcard0 in recovery. When I got the new phone rooted and CM10 installed, I booted to recovery and used an ADB push to restore the files. The files all ended back on the SD card, but now my apps cannot write to the folders on the SD card. The permissions are set to 644, and I cannot change them. I have tried with chmod and through file managers to change to 777, and although they claim success, the permissions stay 644. I'm unsure where to go from here, but I really would like to keep these files on my device. Any ideas on how to fix these permissions? Thanks!
Try copying/moving files around using the phone's file manager, & see if the changes stick. Also try "adb shell" -> "su", and change permissions that way, & see if it sticks.
Make sure you have an updated busybox.
Well, I tried moving them with file manager, su and updated busybox, changing permissions, and then I finally decided to go into recovery, pull, and format /sdcard. Once I did that, my apps were able to use the card again. I then was able to copy over the files via usb mount to windows. This seems to be working so far.
Thanks!

[Q] Es File Explorer storage RO/RW

Heya. Does someone knows why i can't change the sdcard storage to RW instead of RO, in Es File Explorer v3.0.3?
What i mean:
View attachment 2000780
andrei7radu said:
Heya. Does someone knows why i can't change the sdcard storage to RW instead of RO, in Es File Explorer v3.0.3?
What i mean:
View attachment 2000780
Click to expand...
Click to collapse
im guessing u granted it root permissions first in settings/root-settings?
andrei7radu said:
Heya. Does someone knows why i can't change the sdcard storage to RW instead of RO, in Es File Explorer v3.0.3?
What i mean:
View attachment 2000780
Click to expand...
Click to collapse
Storage is r/w by default-I think,
Are you expeariencing any troubles with writing to external storage?
Edit: on the app level:
An app asks permission to write to external, on instalation
You- as a user are always allowed to write to...
This in app option is perhaps needed when a part of internal memory,
Is used as sd card- as it is in tablets or htc one x...
or it is an ext (system ) partition, that option is concerned about...
anyway, I'm using es... for ages now, and never have had any troubles with
mounting sd card as r/w
jmcclue said:
im guessing u granted it root permissions first in settings/root-settings?
Click to expand...
Click to collapse
Yeap. Otherwise i wouldn't be able to change and save the others 2 (main root and /system), which i can.
asgardr said:
Storage is r/w by default-I think,
Are you expeariencing any troubles with writing to external storage?
Click to expand...
Click to collapse
That's right ... the in initial state should be RW. I can manipulate the files from Es FE (cut/copy/paste and delete), but i can't change any file's properties or permissions. Strangely, the only ways i can see the storage via usb connection are MTP and PTP (and same behaviour - cut/copy/paste and delete - but no properties changes available - greyed out). If i switch to Media Storage, the PC only displays Removable Storage and prompts me to insert it. Huh?
andrei7radu said:
Yeap. Otherwise i wouldn't be able to change and save the others 2 (main root and /system), which i can.
That's right ... the in initial state should be RW. I can manipulate the files from Es FE (cut/copy/paste and delete), but i can't change any file's properties or permissions. Strangely, the only ways i can see the storage via usb connection are MTP and PTP (and same behaviour - cut/copy/paste and delete - but no properties changes available - greyed out). If i switch to Media Storage, the PC only displays Removable Storage and prompts me to insert it. Huh?
Click to expand...
Click to collapse
Are you running- by any chance- any aosp 4.2.2/4.1.2 rom?
I have the same symptoms on them,
just installed third party app from the market,
and my problem is gone (pc)
as for es.. I've never had any troubles with changing atributes
or permissions
Edit: it is this brand new shiny inrerface of es file explorer,
that makes many- including me- to get confused and sometimes lost- at first
asgardr said:
Are you running- by any chance- any aosp 4.2.2/4.1.2 rom?
I have the same symptoms on them,
just installed third party app from the market,
and my problem is gone (pc)
as for es.. I've never had any troubles with changing atributes
or permissions
Edit: it is this brand new shiny inrerface of es file explorer,
that makes many- including me- to get confused and sometimes lost- at first
Click to expand...
Click to collapse
Using a CM10.1 (see my signature). I'm starting to think that the problem isn't ES's. When i connect the device as a Media Storage i get the following feedback from the status bar: "Connected as an Installer" ... never seen this before.
Will try to restore an earlier backup to check if lest an app is conflicting ... dunno ... I'll return the result.
P.S.
You're right about ES's fresh interface ... a little confusing after using the ancient one for a l.l.long time. Missing the pop-up on long press, instead of (the new) select feature. Eh ...
As for atributes of the files on sd card- I think it does not matter what they are,
because an external storage is a slave disc for the system..
which uses it only as storage...
different story would be if a part of such a slave drive is partitioned to be used as an extention
of an internal memory (ext partition )
but then it is not been seen from the level of a file manager...
Edit: I belive, the trouble with mounting usb disk drive,
is (or at least I think) purely on the system's side..
Would not be bad, if somebody else could comment,
or clarify the matter further though
strange that it dont work coz i just tried it and no problems
menu/root explorer (grant permissions) /mount r/w and i can delete, copy/paste, everything really.
Have u tried uninstalling es file explorer then installing it again?
jmcclue said:
strange that it dont work coz i just tried it and no problems
menu/root explorer (grant permissions) /mount r/w and i can delete, copy/paste, everything really.
Have u tried uninstalling es file explorer then installing it again?
Click to expand...
Click to collapse
Yes, uninstalled it and reverse, but no change. I restored an earlier backup with only a few (necessary) third-party apps, but the problem is still there. Also, if anyone can answer, what the heck is "Connected as an installer" status when selecting Media Storage? Thanks.

Writing to File on External SDCard

I'm trying to write to a file on the external SDcard with an app, but it remains with permissions of 771. (execute only for Others) In Termianl I su and chmod 777 file, but it remains at 771.
This seems to mean the OS is preventing this file from being world writeable. Each app is run by a different user so I can't know which user will try to write at a given time. As root I can 'touch' new files all day, but I can't set them world-writeable.
What is preventing me from doing this?
Quantumstate said:
I'm trying to write to a file on the external SDcard with an app, but it remains with permissions of 771. (execute only for Others) In Termianl I su and chmod 777 file, but it remains at 771.
This seems to mean the OS is preventing this file from being world writeable. Each app is run by a different user so I can't know which user will try to write at a given time. As root I can 'touch' new files all day, but I can't set them world-writeable.
What is preventing me from doing this?
Click to expand...
Click to collapse
Umm... your external SD card is FAT32, it doesn't support Linux file attributes and permissions.
That's well and good, but look at it with the file manager.
And why can't I write into files on the external when I can on the internal?
Quantumstate said:
That's well and good, but look at it with the file manager.
And why can't I write into files on the external when I can on the internal?
Click to expand...
Click to collapse
Your app needs to have permission to use the ext storage... I have no problems with ES File Explorer, just has to select the SD card and the first time it prompts you to select the root and go. Then it's good, apps need to be built to be compatible with Marshmallow, how it addresses the SD card is different than previous Android versions.

How to fix /mnt/local shows empty?

Hello, i have a problem with the internal storage of my android tablet, basically i installed a custom rom a while back but the wifi didn't work on it so i decided to go back in CWM and wipe data, cache + dalvik cache and /system, after that i restored my backup and everything went good (app installs fine from playstore and they work) but i can't see my internal storage on the integrated file manager or even from my pc, it just shows my sd card, the folder where the internal storage was is /mnt/local and now when i go there even with adb it shows empy, so with adb i went to /data/media and i tried this command i found on the internet :
mount -o bind /mnt/local /data/media
but it didn't work i still don't see anything in my /mnt/local dir
(and now after using that i don't see anything in my /data/media either)
my device is running Android 4.0.3 ICS and it is rooted, i also tried to restoring my backup again but i still have the same issue :/, before installing the rom i also created an image zip from the recovery just for safety but now im stuck as the only thing i found on the internet was one video of one person that just factory reset his phone and it worked again for him but for me it didn't, here is the video i saw, which has the same problem as me:
Thanks for the help.
Ok i fixed my /data/media directory by using umount /mnt/local, now if i do ls in /data/media via ADB all files show again but still no internal memory on file manager.
bump
bump
hello? can anyone help me please?
jonnyprogamer said:
hello? can anyone help me please?
Click to expand...
Click to collapse
hey again!did you try a different file manager?
notnoelchannel said:
hey again!did you try a different file manager?
Click to expand...
Click to collapse
yes i did, i tried zarchiver but it shows empty, and when i connect the tablet to pc it only shows one drive named "Sd Card" when before it showed "Sd Card" and "Internal Storage" folder, i think that by restoring the stock rom the mnt/local got unmounted

Categories

Resources