so the other day i rooted my phone by using the one button root and downloaded the wifi tether to check and make sure it works. everything worked fine. i also downloaded terminal emulator and checked to see if i can type in su. i did and that worked. a while back i read an article on how to edit the xml file on robo defense. says copy the xml file to sdcard which i was able to do then modify it and then stick it back in /data/data/com.magicwach.rdefense/shared_prefs. however everytime i try to copy it back it says permission denied using adb. so then i tried typing su in the command prompt after running adb shell. it then says permission denied. can anyone shine some light on this for me or what i may be doing wrong here? thanks in advance
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.
I am trying to install some convoler presets in viper4android, i have the downloaded .zip and i extract it to get to the .irs file, i copy that file and go to paste it to my viper4android kernal folder where all the other presets are located, every time i attempt to paste it i get this "/sdcard/viper4android/kernal/dolby pro logic ll.irs: open failed: EACCES (permission denied)" This has been so annoying for me i have tried numerous file explorers (currently using es file explorer) and still no success. I am rooted so i don't understand why permission is being denied. is there something that i should be selecting? Btw i am on cm12.1 nightly right now if that might be the problem?
Thanks to all that can help.
I have recently downloaded twrp and successively rooted my phone, but now when im on root explorer, I can change nothing kn system files or sdcard files(delete them or other stuff), the error that I get is: "permission change was not successful. please note that some file systems (e.g. sd card) do not allow permission changes." Help please, I also get error if I try to change file permission: "Permission change failed, selected files from sdcard/android/data"
1. I'm using an app.
2. My device has been rooted, i'm using root explorer
3. I want to change the permissions (revoke "write" access) of file A in root/data/user/0/com.app name/cache
4. Open the app.
5. File A is still being modified.
6. I revoked write permissions of the parent folder.
7. Open the app.
8. File A is still being modified.
What should I do? I cannot delete that file, or the app will crash. I only want the app to read file A, without being able to modify it.
To change file permissions use Androids shell command CHMOD.
xXx yYy said:
To change file permissions use Androids shell command CHMOD.
Click to expand...
Click to collapse
I'm using the root explorer app. If I use chmod to revoke a file's permission, will it be granted again when I open the app?
NO
xXx yYy said:
NO
Click to expand...
Click to collapse
I have tried it, only read permission, but the file still gets modified when I open the app.