[help please] Can not access to internal or external memory /sdcard /storage ... - General Questions and Answers

Hello,
On my tablet /sdcard and equivalent folders (/storage/emulated/0, /storage/emulated/legacy, /storage/sdcard0) and all /storage are empty.
In command line with ADB, I see everything.
In command line from the tablet with ConnectBot, ls in /sdcard or /storage gives opendir failed: permission denied. But in root after su, files are here like with ADB.
So the problem is only with the tablet and the normal user.
Before I have tried some apps to move data of some games to the SD card with "GL to SD". It modify the file /etc/permissions/platform.xml. Can it be linked with my situation?
I have a LG G pad 7 with Android 5.02.
Help please!

This is the same problem as this guy: http://android.stackexchange.com/questions/93793/cannot-access-sdcard-internal-storage but there is no answer.

Nobody can help me?

Please, I need my tablet!

I thought there was a lot of experts on XDA, I'm disappointed... :-|

Have you tried to replace /etc/premissions/platform.xml with the original (unmodified) file?

Thank you. Of course, immediatly, I even never boot on the modified one.
But the 1st time permissions were wrong, the .bak has 400 instead of 644 and I didn't notice. The problem appears there and stays even with 644...

I think the problem is the file platform.xml and it's not read at all.
Because I also can activate Wifi or Bluetooth, but I can not use them, and in command line only root can ping (this is defined is platform.xml too).
Maybe the 1st boot with the wrong permissions makes this file been deleted from another file and it's not read at boot... How can I know where this file is called to verify this? :-|

Related

Data Apps

Hello, I have a question. I have the Samsung galaxy ace root and the root explorer I can see the files but the problem is that I have a problem with the sd card.
Explaining the root problem is that I open explorer and I get the root folder and there I give app data and then and there I get all the apps installed on the internal card and cell phone so I give the app and I can give install message so that if I give to see all your arxibos will I see, because I want to do the same thing but in the applications installed on the sd card is all that installed him stan to see how the d internal memory but the memory externally. Not if I explain here is better:
when I get into /data/app
imageshack.us/photo/my-images/713/18562887.jpg/
imageshack.us/photo/my-images/842/37418692.jpg/
imageshack.us/photo/my-images/94/41448627.jpg/
and when I'm in /mnt/sdcard
imageshack.us/photo/my-images/204/24011522.jpg/
The purpose of this is that in / mnt / sdcard no data / app so I can not give the application to see as before in / data / app so you can see the configuration files of the game
Even in the pc let me.
PS: the big problem is that the file is read-only and even changing the permissions and putting it all clicked not even let me delete or modify files in that folder or glue or anything.
Let's see if anyone can answer me. thanks
Reading your question is confusing, maybe rephrase?
ok I clarify things. this is me in the sd card I have installed the game avatar fight because I'll get in / mnt / ASEC / game directory then I get the apk I give and I get to install, view or cancel I give to see me go all configuration files of the game because I just want to modify the game files. Well that all fine but I get the file for editing and I find that it is read-only root cn explorer try to change the permissions to write, read and execute but nothing will not let me tells me that the sd card does not support changing the permits. So my question is:
Can you tell me any way you could modify the configuration files or at least delete and paste new ones, ie to stop reading, writing and execution Aguna no way to force it to be writing?
Thank you.
Double/cross posting is not allowed.
For reference, the two other identical threads:
http://forum.xda-developers.com/showthread.php?t=1801164
http://forum.xda-developers.com/showthread.php?t=1799935
Thread closed.

[ROOT] Move obb folder to external SD (mount -o bind folder)

Using on CM11, should work for any android build above 4.#.#
If you are having trouble mounting folders like I did like SuperMount, FolderMount didn't work for me
Even if they work, they require payment for most important features
Get BusyBox (Most custom ROMs already have it, like CM)
I used busybox mount because regular mount didn't work
Get the SManager app
Move the contents of obb folder to somewhere in external SD, (Or you can move the entire obb folder and create an empty obb folder in sdcard/Android)
Create new script from SManager (or any other text editor and save it with .sh extension) and type the mount command in it
Lets say I moved the folders inside obb to storage/sdcard1/obbfolders, then command is:
busybox mount -o bind /storage/sdcard1/obbfolders/ storage/sdcard0/Android/obb
Save the file (in SManager you press back after typing and it asks if you want to save)
Click on the file you created and check the Su and Boot boxes and Save
Script should be good to go, click Run
I use FX File Explorer to verify it (obbfolders should be shown on the main page)
Reason I created this thread, I searched this for a quite good amount of time and couldn't find anything
All "mount folder android", "mount bind android" searches either come up dead or show me an app that doesn't work for me
needo2 said:
Using on CM11, should work for any android build above 4.#.#
If you are having trouble mounting folders like I did like SuperMount, FolderMount didn't work for me
Even if they work, they require payment for most important features
Get BusyBox (Most custom ROMs already have it, like CM)
I used busybox mount because regular mount didn't work
Get the SManager app
Move the contents of obb folder to somewhere in external SD, (Or you can move the entire obb folder and create an empty obb folder in sdcard/Android)
Create new script from SManager (or any other text editor and save it with .sh extension) and type the mount command in it
Lets say I moved the folders inside obb to storage/sdcard1/obbfolders, then command is:
busybox mount -o bind /storage/sdcard1/obbfolders/ storage/sdcard0/Android/obb
Save the file (in SManager you press back after typing and it asks if you want to save)
Click on the file you created and check the Su and Boot boxes and Save
Script should be good to go, click Run
I use FX File Explorer to verify it (obbfolders should be shown on the main page)
Reason I created this thread, I searched this for a quite good amount of time and couldn't find anything
All "mount folder android", "mount bind android" searches either come up dead or show me an app that doesn't work for me
Click to expand...
Click to collapse
Trying to follow your guide....can't get it to work ?
1: Moved the entire OBB folder to my SD
2: Installed busybox, started it, software says it is installed, there's a button to install again....don't know what else it does ? If I click install, well, it installs again
3: Created the new script, saved it, ran it. It seems OK
4: When I open FX File explorer, I don't know what I'm looking for, I don't see anything going on, no operations running ?
...I didn't want to delete the original OBB directory since I don't have confirmation of this working ?
Thanks for your help
almost there...
Hi there
Had the same problem and found your thread after quite some surfing. Following your instructions, all seemed to work fine, just had to inject an "su" before the busybox mount command, then the whole external_sd (/storage/sdcard1/) was mounted to an existing (empty) folder on the internal sd (/storage/emulated/legacy/External_SD)... at least that's how it looks in SManager. When checking the target folder via file explorer, it still looks empty.
My setup:
- Samsung S4 mini on Cyanogenmod 10.2
- phone is not fully rooted, but root is granted to SManager and Busybox
- external sd card has permissions "d---rwxr-x" and is owned by "system" whereas the internal storage has permissions "drwxrwxr-x" and is owned by "root"
do I face a permission issue?
If yes, how to solve that (tried to change permissions of the External_SD folder recursively using chmod -R under root... but didn't suceed)
If not, any ideas...???
Thanks for any hint!
cheers
I'm using Lucky Patcher to bind oob folder, you should try.
@needo2: Is it required to mount the folder? This could cause problems on rejecting sd card. Maybe it does work replaceing the source directory with a simple link ("ln -s") to sd?

[Q] Platform.xml - Samsung Galaxy Trend GT-S7580

Hi,
Apologies if in wrong section, but I have a query about updating the platform.xml file on my Samsung Galaxy Trend GT-S7580
to allow rw access to the external sd card.
I have rooted the phone and mounted the file system, via Mount /system (rw/ro) app. (check root and Titanium backup confirm it as rooted)
I can navigate to and update/save the platform.xml file, however whenever I restart the phone the file reverts to its original and my changed are lost.
Before restarting I was able to create a new folder etc on the sxt sd card, but again after restarting the folder seemed to be gone too!
Is there anything I am doing wrong, or additional steps I am missing out on?
Any help is much appreciated
Update .... turns out its the microSD card that is the problem. Cant seen to write or delete from it even though its not read only.
Got a new card and hey presto, worked fine
EireAsh said:
Hi,
Apologies if in wrong section, but I have a query about updating the platform.xml file on my Samsung Galaxy Trend GT-S7580
to allow rw access to the external sd card.
I have rooted the phone and mounted the file system, via Mount /system (rw/ro) app. (check root and Titanium backup confirm it as rooted)
I can navigate to and update/save the platform.xml file, however whenever I restart the phone the file reverts to its original and my changed are lost.
Before restarting I was able to create a new folder etc on the sxt sd card, but again after restarting the folder seemed to be gone too!
Is there anything I am doing wrong, or additional steps I am missing out on?
Any help is much appreciated
Click to expand...
Click to collapse

[Completed] Storage permissions issues, Nexus 5X 6.0.0 and 6.0.1

I'm having an issue with my internal storage. Sometimes I cannot modify files or folders using either a file manager (e.g. ES File Explorer or free version of Root Explorer) or when connected via USB to my computer. For a bit more backstory, please refer to my previous thread, which has received no replies and so I am asking for help here.
Basically, I would like to be able to move files and directories freely across my internal storage. Not much to ask for, really. However, some files and folders can't be moved (cut and paste) or simply copied (copy successful, paste fails). This first started when I was on PureNexus (6.0.0, 12/01/2015) with ElementalX 0.07 and rooted with SuperSU 2.62 (not systemless root). I've since returned to complete stock 6.0.1 (flashed factory image using fastboot), and now on systemless root (2.61) for a couple apps that I use.
Symptoms are:
1. could "copy" any file, but could not paste into any directory. ES File Explorer throws an error "/sdcard/directory/file_name: open failed: EACCES (Permission Denied)". Root explorer (free version) would say "Copy failed, file_name to /sdcard/directory"
2. when connected to a computer over USB, can copy files from computer to any directory on phone's internal storage, but cannot delete anything. When I try to delete a file or folder, I get the Windows error message that the destination has been disconnected, etc., even though it's not.
3. if I've copied a file from computer to phone (say music), some files cannot be copied to another location in internal storage, some files can.
Previously when I was on PureNexus with normal root,
If I am on my device and using ES File Explorer and if I am in the path /storage/emulated/0/* then I am unable to copy/move files and directories, as I've described above.
If I am on my device and using ES File Explorer and if I am in the path /sdcard/* then I am unable to copy/move files and directories, as I've described above.
If I am on my device and using ES File Explorer and if I am in the path /data/media/0/* then I am able to do anything I damn well please.
Now that I've reverted to stock 6.0.1 from factory image and with systemless root,
If I am on my device and using ES File Explorer and if I am in the path /storage/emulated/0/* then I am unable to copy/move files and directories, as I've described above.
If I am on my device and using ES File Explorer and if I am in the path /sdcard/* then I am unable to copy/move files and directories, as I've described above.
I do not see anything under /data
Having said all of this, none of my apps have any problems accessing internal storage, be it for data, cache, or writing anything to /Android/data (or obb)/*
Is this a hardware issue? I didn't think it would be, because it doesn't seem like the internal storage is faulty, since everything else runs perfectly fine.
Mod Edit
Hi,
You seem to have found the correct forum in which to post.
This is not a Q&A forum. It is more to guide new users to the best place on the site for their problem .
Please read the OPENING THREAD and the Second one , too.
Thank you for your attention in this matter.
malybru
Forum Moderator

Android file heirarcy questions?

I have attempted to search this but always come up a little short. I trying to understand the filing system Android uses. I have a Moto G (2015) running Marshmallow with an 16 gig external memory card set to portable.
I use ES Explorer to view the filing structure. Using the tree I select the "/ device" option. I see several folders and files. One is "sdcard". I understand this is not the memory card, but seems exactly like the "storage emulated 0" folder listed in the tree's "0" option. It does not however appear to be the same folder as listed in the "/device/storage/emulated" folder. What' up with that?
I also think the external memory card is located in "Device/storage" Is that true?
I am really having a time wrapping my head around this. Thanks for any help.
To get the actual locations of the mount points just run the command "mount" in a terminal or ADB shell. In many places there are just symlinks to the actual mount points, which looks like the SD card does exist in different places. E.g. /sdcard is typcially only a link to the mount point of the SD card.
If you run the command "ls -l" in a directory you can see where such a symlink is actually pointing to.
I don't have access to my Moto G3 right now. Writing this on another device running CM.
Here the sdcard is natively mounted at /mnt/media_rw/sdcard1 and then again virtually with a fuse layer at /storage/sdcard1. Everything else are just symlinks. I would assume that on a Moto G3 running CM it's the same. On stock rom probably a bit different.
Anyway with the commands mentioned above you can easily check this.
Maybe this will help.
http://android.stackexchange.com/qu...d-by-the-many-locations-of-the-virtual-sdcard
u42671 said:
To get the actual locations of the mount points just run the command "mount" in a terminal or ADB shell. In many places there are just symlinks to the actual mount points, which looks like the SD card does exist in different places. E.g. /sdcard is typcially only a link to the mount point of the SD card.
If you run the command "ls -l" in a directory you can see where such a symlink is actually pointing to.
I don't have access to my Moto G3 right now. Writing this on another device running CM.
Here the sdcard is natively mounted at /mnt/media_rw/sdcard1 and then again virtually with a fuse layer at /storage/sdcard1. Everything else are just symlinks. I would assume that on a Moto G3 running CM it's the same. On stock rom probably a bit different.
Anyway with the commands mentioned above you can easily check this.
Click to expand...
Click to collapse
Thanks but your answer is a little above my paygrade. I was mainly wanting to check if an app had stored data on an internal storage and minor stuff like that.
riggerman0421 said:
Maybe this will help.
http://android.stackexchange.com/qu...d-by-the-many-locations-of-the-virtual-sdcard
Click to expand...
Click to collapse
Thanks.
That does help a little bit.
With ES explorer:
When I open "Device /", I see a lot of folders and such.
When I open "Device / storage", I see three folders, One seems to the external memory card, emulated, and self.
When I open "device / storage / emulated", it is empty.
From the ES explorer tree if I select the 0 option, it appears to open "Device/ storage / emulated / 0", that includes what appears to be a bunch of folders.
In the first scenerio, the emulated folder is empty.
In the second scenario, the emulated folder has at least folder folder (0).
Why is that?
Also when I select the 0 from the ES explore option, then, back up one level to "emulated" the folder appears to empty.
Why is that?
Thanks again.

Categories

Resources