rooted tab, Android 9, kernel:4.4.153-WETA-4.0, build BSD1, using total commander, trying to paste a file into private storage of another app. Temporarily I have set permissions to 777 (of parent folder), still get unable to write file. see screenshots for more info
To find the problem you need the LogCat
Related
Hi everyone,
I've successfully rooted me GSM Desire and am running CyanogenMod 7 (I also installed Redux v.1.1.1 and CyanogenMod 6.1 without any problems). For some reason, though, the /system and /data directories still seem to be read-only. In Root Explorer it seems to let me rename files in those directories and says "Rename Successful," but if when I leave the directory and come back the file is back to its original name. I also can't move any files there. When I use ES File Explorer it just says "Sorry, operation failed!"
I have enabled "Mount R/W" in Root Explorer and "Mount File System" in ES File Explorer but nothing seems to work. Is there some extra step to making these directories writable that I have missed?
Hi there, you need to have s-off (aka security off or full root) to write to /system and /data with the device booted, i.e. using root explorer etc.
You can also do it with s-on, but you have to to that with your PC via cmd prompt and adb shell which is less convenient.
Great guide to getting s-off here, took me <10 mins!
http://forum.xda-developers.com/showthread.php?t=794314
Yeah, that did it. Thanks!
I changed from cwm to amon_RA and now I cannot delete my previous backups? Not through root explorer... Straight of SD or change owner / permissions... I'm s-off and tried mounting rw but nothing makes a difference.. any tips??
I tried
rm -rf /etc etc etc
in adb but still nothing? No idea why I cannot delete these files / folders .... nothing will let me
You can delete the files with your computer. Just go to your sd-card \clockworkmod\backup and delete the folders. That should work
Edit:
Get access with windows:
1. Open Windows Explorer, and then locate the file or folder you want to take ownership of.
2. Right-click the file or folder, click Properties, and then click the Security tab.
3. Click Advanced, and then click the Owner tab.
4. In the Change owner to box, click the new owner
5.(Optional) To change the owner of all subcontainers and objects within the tree, select the Replace owner on subcontainers and objects check box.
No access with windows: You can boot a linux system (bootable cd,...) go to the terminal and change the owner with chown or chmod. Just use google to get more information about it.
PC wont let me that's why I posted... Can't edit anything - owners / permissions ... Ill try booting Linux or if not reformat my SD...
Thanks
I just unlocked, rooted and restored all files in my nexus. I went into root Explorer to delete unwanted files and am getting a delete failed error every time I try to delete a file. Also my screen shots are no longer saving it says storage is in use. Anybody experience anything like this after rooting?
Sent from my Galaxy Nexus
Marcg23 said:
I just unlocked, rooted and restored all files in my nexus. I went into root Explorer to delete unwanted files and am getting a delete failed error every time I try to delete a file. Also my screen shots are no longer saving it says storage is in use. Anybody experience anything like this after rooting?
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Are you trying to delete system files? Do you have SU installed? Are you clicking the R/W option. More details please.....
Several people have reported the issue with screen shot, to fix it they've had to rename the pictures folder(Seems like the folder is read only).
Swiftkey'ed on my CM9 Galaxy Nexus
No system files just old pictures, music files and other misc. It is set as r/w, also I am getting a few apps saying I need storage available that is writable. Something has to be up with the internal storage not allowing me to access or write to it.
Sent from my Galaxy Nexus
Well I am able to take screen shots by renaming he folder. However, I am still unable to write anything to my sdcard or modify files through root Explorer or any other file manager app.
Sent from my Galaxy Nexus
Root explorer - How to text edit
Hi All,
I have a problem with my root explorer. I am not able to open a file to edit. If i long press on a file , i dont get any option to open/edit the file.
i was supposed to edit gps.conf file under /system/etc but unable to do so from root explorer.
PS: i mount r/w from the root explorer every time i try..
Please help.
If you have any directories/files that you can't modify or delete, then boot into CWM recovery, plug in the USB cable, go into adb shell. Also make sure that /data is mounted in the CWM mounts menu. Then:
cd /data/media
chown -R media_rw.media_rw *
root explorer delete failed
danger-rat said:
If you have any directories/files that you can't modify or delete, then boot into CWM recovery, plug in the USB cable, go into adb shell. Also make sure that /data is mounted in the CWM mounts menu. Then:
cd /data/media
chown -R media_rw.media_rw *
Click to expand...
Click to collapse
i'm having this crazy "delete failed" error every time i try to delete any file in sdcart, external, and root directory (copy-paste, root, permissions works fine )
i tried to delete any remains of root explorer with es file explorer ((which works fine btw so its not a problem of partitions i think), re installed the program again but its the same . Flashed the rom from the beginning with a full wipe but its the same
this error happened first when i updated from blackmart alpha to some rootexplorer v.99. I uninstalled that but it left this error
Any idea what is causing that
I'm very curious and would appreciate it
thanks
I found a way to delete the files you suggest using Root Explorer. Go into /data/media/<navigate to the directory that you want to delete files>.. make sure the folder is mounted as r/w and delete the files you want to delete. This is how I bypassed the delete failed issue in Root Explorer...
rester555 said:
I found a way to delete the files you suggest using Root Explorer. Go into /data/media/<navigate to the directory that you want to delete files>.. make sure the folder is mounted as r/w and delete the files you want to delete. This is how I bypassed the delete failed issue in Root Explorer...
Click to expand...
Click to collapse
^^^^ this
Thank you rester, this worked for me too. Was pulling my hair out.
Hi,
I am trying to figure out if I can grant write permissions to the external sdcard on my phone, to an app within an app. To be specific, ES Note Editor, which is a component of ES File Explorer.
Background: I recently loaded a custom rom (resurrection remix 6.0, by lox2013), upgrading to marshmallow. I now am dealing with all the fun permission issues associated with marshmallow.
I was able to figure out how to grant permissions to the patent app. I'm able to create files with it, rename, and move stuff. But if I open a text file, on my external sdcard using Es Note Editor, I get a permission error when trying to save.
Doing some research I learned how to grant permissions by command line:
example:
#pm grant com.estrongs.android.pop-2 android.permission.WRITE_EXTERNAL_STORAGE
And I believe the full name of the app to be com.estrongs.android.pop-2.app.BTPopNoteEditor
But when I try to execute the command, using the full name for the app, in a terminal, as su, it returns the description of the command, along with options. Just like when you type a command wrong in Linux.
Any thoughts?
Any possible ideas would be much appreciated, thanks.
Hello,
I tried to copy all data from an old phone to a new phone by using TWRP -> backup "/system" and "/data" partitions, then restore them in TWRP on a new phone, and then I found out that only applications were copied, but not my personal files (contents from folders "DCIM", "Documents", "Downloads", etc).
So then I did a "adb pull /sdcard/" from an old phone and uploaded it "adb push /sdcard/" to a new phone. But now most applications do not have write permissions over these folders, e.g. document viewer ("org.sufficientlysecure.viewer") and file manager ("org.joa.zipperplus7") could not delete files and folders, and even system application (LineageOS Updater) could not export update file. They have only read permissions (can open documents, etc). However some applications have write permissions - e.g. "Gallery" could delete old photos from "DCIM" directory.
I have checked simple Linux permissions and for /sdcard/* on both phones and they are same: 771 (drwxrwx--x) root:sdcard_rw for directories and 660 (-rw-rw----) root:sdcard for files. lsattr shows same attributes too. But apps on old phone have write permissions to /sdcard and apps on new phone have no permissions. Am I missing something?
Any ideas on how to fix this?
help
I checked 'ps' and saw that F-Droid app is running under user "u0_a75". I have verified the chmod of the path to cache, and all dirs from /sdcard/Android/data/org.fdroid.fdroid to /sdcard/Android/data/org.fdroid.fdroid/cache/apks/f-droid.org--1/ belong to "u0_a75" and have chmod drwxrwx--x u0_a75:sdcard_rw. But F-Droid could not download any app into that directory - it reports "permission denied". I have tried to chmod 777 for the whole path above but it did not help.
Then I thought it may be a SELinux problem, so I disabled it with "setenforce 0". Still no luck - most apps could not write to their storage.
What's going on?
P.S. I found out that Camera app writes files as a root user!
well, I gave up and reinstalled everything from scratch, wiping all partitions in advance.