[Q] Why can't I save in /sdcard/ but can save in /mnt/sdcard? - General Questions and Answers

I am a new user, and just ROM'd my Motorola Milestone XT720 using the cinci Bell's 2.2 froyo update. The major problem that I am encountering is that market aps are not downloading files correctly. For example I try to add a podcast into my que using "google listen" and I get the following error:
"Error (/sdcard/com.google.andriod.apps.listen/downloads/f09cfbe (Permission Denied)"
Now I go into supermanger's filesystem, and I notice that /sdcard/ has no permissions at all. I try to add them, but nothing happens when I do. Itself, /sdcard/ is empty.
When I plug the phone into my PC, it can access the SDcard fine. In super manager however, it appears that the directory it is accessing is /mnt/sdcard.
It seems that programs assume that the SDcard is going to be located at /sdcard/ but it is really located at /mnt/sdcard. Is there any way to redirect them?

The normal mount location is /mnt/sdcard, /sdcard is just a symlink for convenience.
Apps should use the android api to determine the sdcard location
Environment.getExternalStorageDirectory();
See http://developer.android.com/reference/android/os/Environment.html
You could readding a symlink from /sdcard to /mnt/sdcard.
Regarding you changing the permissions, do you have root? If not you won't be able to change the permissions or create a symlink.

Do I have root?
Thanks for replying Dark3n.
I think I have root access, but in supermanager explorer, the root directory reads "/(r/o)" - does that "(r/o)" mean read only?
That would make sense of my problem - since I cannot delete, rename, or change the permissions on /sdcard/.
However, I'm pretty sure I have root access. I never rooted my phone after applying the ROM. I just ran superoneclick again, and it said the phone was rooted. Supermanager explorer has superuser permissions. Am I missing something?

I have root
I just installed Root Checker by Joeykrim - it verified root access and a busybox installation.

yes r/o means read only

So what do I do about it? Is this a limitation of the file explorer I'm using or my permissions? I'm not sure how to gain more permissions than superuser.
It would be a huge help if you let me know what steps I need to take. Sorry for being a noob!

ive the same problem but it's with gscript folder.

So I downloaded ES File Explorer, then went into the settings. I turned on the root function, and then used the option below it that said something like "mount root to enable write." I clicked that. ES File Explorer didn't have a change permission feature, so I held down the home button and switched over to supermanager explorer. Now the root directory read "/(r/w)." I was then able to change the permissions for /sdcard/.
The podcasts from google listen at the NPR app I was using were still not downloading properly. I rebooted the phone. Strangely, the permissions that I had just set in the root directory, and the test directory I created in root, were both gone. I don't know how that happens.
I tried using BeyondPod, which works for downloading to /mnt/sdcard/. I wonder if that means Google Listen and the NPR app (DroidShogun) were coded to save to /Sdcard/ rather than prompting the API for a path.

Related

[Q] Remove Preinstalled Apps - HTC Incredible

Hey all,
I recently rooted my Droid Incredible using unrevoked and have been searching for help on how to remove the preinstalled apps (Like Amazon mp3). I have only found old posts that don't seem to work or other sites that are specific to a different phone.
I would just like to know how I can uninstall them from my rooted phone. I have tried installing a terminal emulator and typing rm -r amazonmp3.apk but it says it is read-only...
Any help would be greatly appreciated! Thanks!
Brad
If your phone is fully rooted, download Root Explorer from the Market, navigate to the /system/app/ folder and delete the apps you do not want.
Important: As you are navigating the files on your phone with Root Explorer you'll see a button in the upper right hand corner that says "mount r/w" which means mount read/write. You''ll need to press this before you try and delete the apps otherwise it will spit back an error that says "Read only file system."
Once you are done, simply reboot the phone and you should be good to go. Additionally, the phone automatically remounts as read-only upon rebooting so, if you want to delete more apps you'll have to press the button again.
Is Root Explorer the only app that does that? For example I recently downloaded Astro and it doesn't seem to work, will purchasing Root Explorer be different than Astro?
I guess I'm just wondering before buying if it is actually going to it differently than Astro (considering Astro did not work).
Thanks!

Having some permissions issues with my ADB and Terminal

Hello everyone. I have been working with android for a 6 months now and still cannot figure out what im doing wrong to get my permissions to work correctly. I have installed ADB and successfully rooted my MT3G Slide. I have been trying lately to figure out why i cannot manually configure A2SD. I have gone through both ADB Shell and Terminal under Su to try to mkdir /system/apps but it will give me a problem like my system is not allowing me to rewrite or its copy protected. I have tried to remount and it claims its successful. Another symptom i experience is not being able functionally use the rom manager or restart in clockwork recovery after i have flashed a rom. I always have to wipe the devices before i can loop hack back into clockwork mode. I have tried to fix permissions and restart in recovery through rom manager and it just brings up a question mark ontop of an image of a phone. I have been trying most recently to move a file through terminal to another name and replace the old with a new of the same name. It says the directory is not empty when i try to modify this file. So Anyone think they might know a solutions to these issues or hopefully all of them in one simple problem i cant seem to figure out.
download & install 'root explorer' for your phone from the android market (or your Pc, and put it on your phone) , grant it superuser permissions from superuser on your phone, open it up, and there's an option to make the phones memory R/W. (Its R/O as default which may be why your having permission issues)
Saying that Im yet to figure out adb's permissions fully..
Be careful with root explorer though, its a very intrusive programme which can screw up everything
Root explorer cost money... is there another program that allows me the same option. I have been using astro file manager, any way to do it on that one?

Can't find anything in /data/

Hi guys, I'm trying to follow the guides to prevent my wallpaper from changing that need to navigate to /data/data/com.android.settings/files by ES File Explorer or Root Explorer.
However, I couldn't find anything from /data/
Mine is 6.2.1, Burritos rooted.
Please help, thanks
(repeat of posted reply to same question in the How to Apply Wallpaper thead)
I use ES File Explorer 1.6.1.0 from the Market (not Amazon because last I checked they were a version or two behind)
Then go into settings a scroll to bottom and select ROOT EXPLORER and when asked I think I selected the CM option (and for good measure select MOUNT FILE SYSTEM, although I don't think that is required unless you are working in the /system/ folder).
Now you should see the contents of the /data/ folder...
Hope this helps.
hdmunger said:
(repeat of posted reply to same question in the How to Apply Wallpaper thead)
I use ES File Explorer 1.6.1.0 from the Market (not Amazon because last I checked they were a version or two behind)
Then go into settings a scroll to bottom and select ROOT EXPLORER and when asked I think I selected the CM option (and for good measure select MOUNT FILE SYSTEM, although I don't think that is required unless you are working in the /system/ folder).
Now you should see the contents of the /data/ folder...
Hope this helps.
Click to expand...
Click to collapse
I can't select ROOT Explorer with ES File Explorer
Hmmmm........got nothin'....
Are you sure you are looking in /data and not /sdcard/data?
What are you using Root Explorer or ES File Explorer?
If you're not fully rooted, even if you temp root with burrito root and set system to r/w, /data will show as empty unless your file explorer had been granted su permissions (which you'll need full root and super user app for). Found that out the hard way today myself.
Damn you Swype!
I had the same problem when I rooted the first time. I was following SuperOneClick instructions until I read it wasn't working with the latest stock update. Mid-root process, I switched to Burrito Root and completed the process. When I went to make mods in /data/data/... and saw nothing, I did a complete system restore and re-rooted with Burrito Root from the beginning. Everything's been fine since, including /data/data/.
After reading the post above, I guess my issue was either a botched root or something awry with my su install.

[Q] advance rooted file explorer

folks, newbie here.
i noticed that there are 2 types of file explorer, the system file explorer that allows you browse around the /system/ directories and the media file explorer such as andro file explorer
could anyone please advise me any file explorer that allows me to access both /sdcard/ and /system/ directories please?
i stumbled upon this thread http://forum.xda-developers.com/showthread.php?t=716309 that recommends root explorer, but it doesnt allow me to open /sdcard/ directories
thanks in advance
I use ES File Explorer and Root Explorer. Both give you full access to your phones file system, including /system and /sdcard.
_MetalHead_ said:
I use ES File Explorer and Root Explorer. Both give you full access to your phones file system, including /system and /sdcard.
Click to expand...
Click to collapse
They do, es file explorer is free, and allows you to to lan shares from pc. Just have to enable root options in settings. I have both, but I currently use es file since I can access my pc from it.
Sent from my HTC One X using Tapatalk 2
kleeman7 said:
They do, es file explorer is free, and allows you to to lan shares from pc. Just have to enable root options in settings. I have both, but I currently use es file since I can access my pc from it.
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
thanks kleeman for the info,
I have a rooted HTC One X ATT version, running on non ATT network (brought it to asia)
it doesnt allow me to tether out of a box nor play downloaded glumobile games.
i've browsed xdaforum and found out there are several files in root directory that need to be replaced to fix this.
so i need to access /data/data/com.android.providers.telephony/databases/telephony.db
(which root explorer allows me to access, but doesnt allow me to access the sdcard directory)
whereas ES only allows me to access /data/data/
did i do something wrong with the ES?
thanks again
nicodws said:
thanks kleeman for the info,
I have a rooted HTC One X ATT version, running on non ATT network (brought it to asia)
it doesnt allow me to tether out of a box nor play downloaded glumobile games.
i've browsed xdaforum and found out there are several files in root directory that need to be replaced to fix this.
so i need to access /data/data/com.android.providers.telephony/databases/telephony.db
(which root explorer allows me to access, but doesnt allow me to access the sdcard directory)
whereas ES only allows me to access /data/data/
did i do something wrong with the ES?
thanks again
Click to expand...
Click to collapse
I don't get why you think you can't access your /sdcard with Root Explorer, you can access EVERYTHING with it.
And with ES you have to go into the settings an enable the root explorer to be able to access everything.
_MetalHead_ said:
I don't get why you think you can't access your /sdcard with Root Explorer, you can access EVERYTHING with it.
And with ES you have to go into the settings an enable the root explorer to be able to access everything.
Click to expand...
Click to collapse
MetalHead,
Thanks, it works! now i can access the directory path.
one last question, whenever i tried to edit /system/build.prop
it doesnt allow me to save it after editing, or replace the file with a new one.
i'm referring to this xda article which i cant reply since i'm a noob with less than 10 posts
http://forum.xda-developers.com/showthread.php?t=1714298
please help me if you dont mind.
and as for the root explorer, i have no idea why it doesnt work. one touch of back button makes it "unfortunately root explorer has terminated"
thanks again
nicodws said:
MetalHead,
Thanks, it works! now i can access the directory path.
one last question, whenever i tried to edit /system/build.prop
it doesnt allow me to save it after editing, or replace the file with a new one.
i'm referring to this xda article which i cant reply since i'm a noob with less than 10 posts
http://forum.xda-developers.com/showthread.php?t=1714298
please help me if you dont mind.
and as for the root explorer, i have no idea why it doesnt work. one touch of back button makes it "unfortunately root explorer has terminated"
thanks again
Click to expand...
Click to collapse
You have to mount the file system as read/write otherwise you can't edit anything in /system. Navigate to /system then hit menu >settings, then scroll down all the way to the root settings section and check the circle next to Mount File System. You will be able to edit the build.prop after doing that.
As far as Root Explorer FC'ing on you, I dunno man I've never had it crash on me once in the 3 years I've been using it. Try deleting it and re-installing it.
_MetalHead_ said:
You have to mount the file system as read/write otherwise you can't edit anything in /system. Navigate to /system then hit menu >settings, then scroll down all the way to the root settings section and check the circle next to Mount File System. You will be able to edit the build.prop after doing that.
As far as Root Explorer FC'ing on you, I dunno man I've never had it crash on me once in the 3 years I've been using it. Try deleting it and re-installing it.
Click to expand...
Click to collapse
MetalHead, the ES trick works!
thanks a lot!
No prob

[Q] /data/data appears empty in Tasker, how do I fix this?

Does this mean Tasker does not have root access? I'm trying to set up a project that copy/pastes files from one folder into another. So when I try to create the "file modified" context, I try to access /data/data to route the destination, but /data appears empty. I can access is in ES File Explorer no problem however. Apologies if I sound ignorant, this is my first android and I have a LOT to learn!
I'm using a rooted HTC One (SuperSU, not SuperUser if that matters), with 4.1.2.
SuperSU asked to give Tasker superuser permission, and I granted it. The /data folder still appeared empty, so I told SuperSU to "forget" the tasker permission. Since then Tasker hasn't ask for superuser permission....I'm not sure what the problem is here.
Having the same issue.
Did you find a solution?
Even when I copy the path from Total Commander, Tasker won't find a file in that folder.

Categories

Resources