Can't delete some files on my phone - Nexus 5 Q&A, Help & Troubleshooting

Can't do it with my file manager and not in terminal either with rm -rf despite using root to do so. What do?

Corndude said:
Can't do it with my file manager and not in terminal either with rm -rf despite using root to do so. What do?
Click to expand...
Click to collapse
Are these /System files? /System needs to be mounted rw. What error message does terminal give?

venu123 said:
Are these /System files? /System needs to be mounted rw. What error message does terminal give?
Click to expand...
Click to collapse
They are in my normal directory in /sdcard.
The error is simply: permission denied. Even though I did it as root.

Corndude said:
They are in my normal directory in /sdcard.
The error is simply: permission denied. Even though I did it as root.
Click to expand...
Click to collapse
Have recently upgraded to 5.0? I had that problem and had to re-flash 5.0 cleanly, i.e. had to wipe and start over
Sent from my Nexus 9 using XDA Free mobile app

Yeah I did. But there has to be another way.

Corndude said:
Yeah I did. But there has to be another way.
Click to expand...
Click to collapse
It appears you are not properly rooted. Try re-rooting with CFAR or the latest supersu zip in custom recovery. If nothing works, flash a permissive kernel then flash supersu zip.

Corndude said:
They are in my normal directory in /sdcard.
The error is simply: permission denied. Even though I did it as root.
Click to expand...
Click to collapse
Any luck figuring this out? I am having the same problem. Can't delete my backups of another folder with nothing in it. Most things delete fine. Very strange.

Search for the term "sdcard problems" in general. You'll find my thread

Related

[Q] CWM feeling like a newb

I downloaded everything in the cwm final
I used file manager to overwrite the old files and when I boot into recovery I still get the old recovery and not cwm
There is also nowhere for me to instal from update.zip
I have done this on my evo and it was easy but I'm clearly missing something with my galaxy 4g would someone be so kind as to give step by step instructions?
BGVampire said:
I downloaded everything in the cwm final
I used file manager to overwrite the old files and when I boot into recovery I still get the old recovery and not cwm
There is also nowhere for me to instal from update.zip
I have done this on my evo and it was easy but I'm clearly missing something with my galaxy 4g would someone be so kind as to give step by step instructions?
Click to expand...
Click to collapse
reinstall packages
krylon360 said:
reinstall packages
Click to expand...
Click to collapse
No fair you beat me to it.....duh winning..
Sent from my SGH-T959V using XDA Premium App
krylon360 said:
reinstall packages
Click to expand...
Click to collapse
and yes you must reinstall packages every time you want to re-enter CWM so you must leave the update.zip on you SD card
wrecless said:
and yes you must reinstall packages every time you want to re-enter CWM so you must leave the update.zip on you SD card
Click to expand...
Click to collapse
Thank you for your post. Common knowledge I know but a great reminder!
Sent from my Galaxy s 4g
can't flash CWM recovery
everytime i boot into recovery, i selected reinstall packages, then i get error : signature verification failed!
am I missing something? I have EVO too, it wasn't that difficult to install CWM.
anybody can help me by pointing to things I might have missed?
sarfrazhc said:
everytime i boot into recovery, i selected reinstall packages, then i get error : signature verification failed!
am I missing something? I have EVO too, it wasn't that difficult to install CWM.
anybody can help me by pointing to things I might have missed?
Click to expand...
Click to collapse
recovery.bin probably isn't being overwritten correctly. At first I downloaded the file with Dolphin Browser and had the same problems. Try downloading the file with firefox and then try pushing it to /system/bin again.
probably recovery file is not being copied in system/bin folder. i can see it has only read permission for group and write permission. i tried rom manager permission fix, that didn't change permission of recovery. i tried changing from terminal using chmod +w & chmod 755. but that didn't help change the permission on recovery file.
sarfrazhc said:
probably recovery file is not being copied in system/bin folder. i can see it has only read permission for group and write permission. i tried rom manager permission fix, that didn't change permission of recovery. i tried changing from terminal using chmod +w & chmod 755. but that didn't help change the permission on recovery file.
Click to expand...
Click to collapse
Rom Manager isn't working for the Galaxy S 4G yet.
What application are you using to copy recovery to /system/bin?
typically i use ES explorer but i tried File Expert too.
one typo on my prev post: i don't have write permission on recovery, only got read permission.
sarfrazhc said:
typically i use ES explorer but i tried File Expert too.
one typo on my prev post: i don't have write permission on recovery, only got read permission.
Click to expand...
Click to collapse
ES won't work. File Expert should work. Just make sure you have R/W permissions. Don't do anything with Rom Manager. That won't help.
yea it should work as they say but it does not. I tried changing permission using File expert,it click OK and then i check file permission on recovery right away, the write permission is not checked. even chmod 755 failed to change the write permission!
sarfrazhc said:
yea it should work as they say but it does not. I tried changing permission using File expert,it click OK and then i check file permission on recovery right away, the write permission is not checked. even chmod 755 failed to change the write permission!
Click to expand...
Click to collapse
I don't think you have any problems with R/W. I just don't think the recovery file was overwritten. Look in /system/bin in File Expert. Do you see recovery and recovery.bin? Or just recovery?
/system/bin/recovery file exists and i have been trying to change its permission.
sarfrazhc said:
/system/bin/recovery file exists and i have been trying to change its permission.
Click to expand...
Click to collapse
You don't need to change the permission of recovery. Copy the recovery file and navigate to /system/bin in file expert. When you get there you want to hit menu then more then mount. It will give you two options. Pick mount as read write. Then paste the recovery file.
Read through this thread again. It should help.
http://forum.xda-developers.com/showthread.php?t=1099374
mounted with read/write and now i could boot into recovery.
Thanks a lot for taking time to answer my questions. First backup is in progress...
sarfrazhc said:
mounted with read/write and now i could boot into recovery.
Thanks a lot for taking time to answer my questions. First backup is in progress...
Click to expand...
Click to collapse
No problem man.

[Q] why can't i gain permission on root explorer?

when i try to copy files to /system/ nothing happens
i mounted as r/w so what could be the problem?
ripsta99 said:
when i try to copy files to /system/ nothing happens
i mounted as r/w so what could be the problem?
Click to expand...
Click to collapse
when paste or modifying a file in the root system, you need to tap the r/w to r/o in order to write or change permissions.
If you are doing a 3e mod, don't forget to change the permissions too.
....not working. if i change it to read only it Def not working.
ripsta99 said:
....not working. if i change it to read only it Def not working.
Click to expand...
Click to collapse
Check again to see what you are doing wrong. Its a toggle to read/write or read only.
If you're using root explorer, you have root.
Infuse n root explorer is not smart enough to pick out just you.
Edit.. Are you trying the 3e mod?
Three are easier way
ripsta99 said:
when i try to copy files to /system/ nothing happens
i mounted as r/w so what could be the problem?
Click to expand...
Click to collapse
bad su binary?
does super user show root explorer having super user permission? do you have super user installed? does it give a notification or toast that permissions were granted either when the app starts or on boot?
if that is all ok then open terminal emulator and type
su
(you should see $ change to # and a notification for superuser permissions granted.. if not you likely need to re root the phone)
if that goes OK then type
mount -o rw,remount /dev/block/stl9 /system
if it has any error like permission denied or invalid argument or can't remount folder exists or anything at all then there is something odd going on, could be something I'm overlooking, could be a bad su binary. try reflashing and don't update the binary if you are on a custom kernel.
edit: overlooking busy box. try installing it from a busybox installer from the market! that should fix it if su is OK.
Also, you may new to delete the app and reinstall, that happened to me and it thought I was trying to pirate the app. It would open but Wouldn't let me move/replace anything.
Then I went and verified I paid for it and everything worked after that.

A510 back to Stock ROM

Hello from Germany,
i have a Problem with my ACER Iconia A510 (Firmware Acer_AV041_A510_1.076.00_EMEA_DE).
A Friend has rootet it and now i cant update to the latest Firmware (Installation fails).
I do a Factory Reset, but nothing works.
So where can i get a Stock ROM and how must i install it?
Thanks for your help.
yeah, looking for the exact same thing, hope someone can help
That has nothing to do with rooting. Did you remove any system apps?
Only some Bulk Apps like Astro, Link to Facebock etc....
Did you back them up? If so, try to restore them before upgrading.
Thats my Problem, i didnt backup them .... :crying:
Here are the List of Acer Apps i have after Factory Reset:
Acer Print
Aupeo
Camcorder
clear.fi
EquiView
MediaServe
Register
....
Look in this thread. It's in german, too.
Same problems there and the solution.
Have the Apps, but /system/ is not writable =(
I try to re-root with this method but it dont works ....
Awwwwwww.....
fussle said:
Have the Apps, but /system/ is not writable =(
I try to re-root with this method but it dont works ....
Awwwwwww.....
Click to expand...
Click to collapse
ive ran into similar issues. you have to mount is as rw, then chmod it before you can add files to the system dir.
Rusty_Gunn said:
you have to mount is as rw, then chmod it before you can add files to the system dir.
Click to expand...
Click to collapse
Thats the problem, i cant mount it rw. Thats why i try to re root it ...
Rusty_Gunn said:
Thats the problem, i cant mount it rw. Thats why i try to re root it ...
Click to expand...
Click to collapse
Use the "ES file explorer" available in the play store. Enable "Root Explorer" in the options. Worked for me.
bzw: you can find the install_log in /cache
fussle said:
Thats the problem, i cant mount it rw. Thats why i try to re root it ...
Click to expand...
Click to collapse
even if you mount it as rw, most programs may indicate it isnt because of the write permission (in my case total commander, es file manager, and remount all indicate that my /system dir is not rw when it is). i was stumped on this for a while. check to see if it is mounted as rw with this:
mount | grep /system
i had a similar issue when i was rooting and playing with insmod for some extra functionality.
in my case, im using the following command to get rw
su
mount -o rw,remount /system
when im tinkering i do a chmod 777 /system (after setting rw), and when im done, i do chmod 755 /system then remount to ro to put it back.
Thanks for the Hint...
mib45 said:
Use the "ES file explorer" available in the play store. Enable "Root Explorer" in the options. Worked for me.
bzw: you can find the install_log in /cache
Click to expand...
Click to collapse
never worked for me. that was the first thing i tried doing! still doesn't work for me unfortunately.
Ahhh, i ..... it.
The Email.apk from Acer_AV041_A510_1.060.00_EMEA_CUS1.zip did not work ....
fussle said:
Ahhh, i ..... it.
The Email.apk from Acer_AV041_A510_1.060.00_EMEA_CUS1.zip did not work ....
Click to expand...
Click to collapse
Download the full german firmware from the Acer A700 here from the xda-dev. Most oft the apps, include in the firmware, are the same from the A510.
When i update android 4.0.3 to 4.1.2 by ota, sound and microphone not work. when i doungrade to 4.0.3 it is ok. whats wrong?

[Q] Unable to move apps on tablet

Alright I want to move my location spoofer app to /system/app so I can watch my hometown team on MLB.tv. This worked fine on my LG Nitro running CM10, but when I tried on my stock infinity (rooted, not updated), it won't let me. It just says "paste failed" when I try to move it. Anyone have any advice as to how to fix this?
Have y o u tried mounting the directory as rw so you can paste in there?
Sent from my ASUS Transformer Pad TF700T using xda premium
Sinker1345 said:
Have y o u tried mounting the directory as rw so you can paste in there?
Sent from my ASUS Transformer Pad TF700T using xda premium
Click to expand...
Click to collapse
No I haven't, but just to clarify the app is currently installed on the internal memory, not sd card. I am just trying to move it from one folder to a different folder. Is this still necessary?
It may be, if the directory is mounted as read only you won't be able to copy into it
Sent from my SCH-I535 using xda premium
mgoblueno1 said:
No I haven't, but just to clarify the app is currently installed on the internal memory, not sd card. I am just trying to move it from one folder to a different folder. Is this still necessary?
Click to expand...
Click to collapse
In normal operation, /system is mounted read-only, so you need to remount it as writable first. Root-enabled file managers usually have an option for that.
Thanks guys, will try this out tonight
Alright I tried editing permissions on the system folder, the app, and the root manager app, but they were already all checked (read, write, execute). I also tried just cut/pasting a picture i took to /system/app and I didn't work either...
EDIT: I just tried the remount app, and rewrote the /system folder as rw and it still didn't work
If anyone else has any suggestions on how to fix this let me know!
mgoblueno1 said:
If anyone else has any suggestions on how to fix this let me know!
Click to expand...
Click to collapse
mgoblueno1 said:
Alright I tried editing permissions on the system folder, the app, and the root manager app, but they were already all checked (read, write, execute). I also tried just cut/pasting a picture i took to /system/app and I didn't work either...
Click to expand...
Click to collapse
That's not how you do it. Those are chmod permissions for files and directories. That controls which user groups have rwx permissions for access; nothing to do with mounts. To allow for rw access to /system you need to either do it from within a root browser (ES file explorer, tools), the remount app, or type this into the terminal:
Code:
su
mount -o remount,rw /system
Copy your file or directory, then remount the system back as ro (so you don't accidentally delete something - that's why its mounted ro by default)
Code:
su
mount -o remount,ro /system
mgoblueno1 said:
EDIT: I just tried the remount app, and rewrote the /system folder as rw and it still didn't work
Click to expand...
Click to collapse
I just tried this and it works fine. After you made your selections for /system and rw, did you click the top "Remount" button and get a small pop-up "Success!..." notification that it completed its operation? I also verified that I could copy a test file into /system/app after toggling these settings. You are doing something wrong. Read this all again.
[Edit] The only reason I can think of that it might be failing is you are really not rooted or have a corrupt root. If all else fails, run the Root Checker app to see if you really have valid root. Open up your su app and see if it prompts you to update its binaries and let it if it does (superSU).
elfaure said:
That's not how you do it. Those are chmod permissions for files and directories. That controls which user groups have rwx permissions for access; nothing to do with mounts. To allow for rw access to /system you need to either do it from within a root browser (ES file explorer, tools), the remount app, or type this into the terminal:
Code:
su
mount -o remount,rw /system
Copy your file or directory, then remount the system back as ro (so you don't accidentally delete something - that's why its mounted ro by default)
Code:
su
mount -o remount,ro /system
I just tried this and it works fine. After you made your selections for /system and rw, did you click the top "Remount" button and get a small pop-up "Success!..." notification that it completed its operation? I also verified that I could copy a test file into /system/app after toggling these settings. You are doing something wrong. Read this all again.
[Edit] The only reason I can think of that it might be failing is you are really not rooted or have a corrupt root. If all else fails, run the Root Checker app to see if you really have valid root. Open up your su app and see if it prompts you to update its binaries and let it if it does (superSU).
Click to expand...
Click to collapse
Thanks this worked!
mgoblueno1 said:
Thanks this worked!
Click to expand...
Click to collapse
Glad you got it worked out. Which way worked for you?

Write permission inside system directory (S3 feel os)?

Please read the problem completely before answering and saying something.
I have S3 Feel os ROM in my HTC Pico.
When i tried to copy any files inside /system/ its saying : Permission denied read only file system.
I tried to use chmod 777 to system through terminal emulator its also given same warning.
Then I tried remounting with the command: mount -o rw,remount /system (using terminal emulator) didn't do the trick for me.
Can you guys tell what should i do to get the write permission. (Its actually showing read and write permission when I saw file/folder properties with a file explorer inside the system directory, but actually its not allowing to write).
It should be fine if you try with some file manager that can get root permissions. (my choice is 'es')
But if you are using the new oc kernel, there things might be different.
What is terminal emulator giving you back?
You also can try by flashing superuser, I have not tryed exactly this rom, but there may be something wrong with su
shortyoko said:
It should be fine if you try with some file manager that can get root permissions. (my choice is 'es')
Click to expand...
Click to collapse
Yes I am using ES File explorer only. Still it says, error permission denied to copy a new file/create a new file/overwrite a file.
shortyoko said:
But if you are using the new oc kernel, there things might be different.
Click to expand...
Click to collapse
I have flashed a oc kernal almost a month back. In between I have changed lot of roms and got back to S3 Feel os rom. I think that won't effect now right?
shortyoko said:
What is terminal emulator giving you back?
Click to expand...
Click to collapse
If I give chmod 777 /system, it's giving permission denied (I have granted super user permission to terminal emulator and i am in su mode)
When I tried mount -o rw,remount /system, it didn't output any thing. Then again I tried to copy a file into system dir, still its the same result.
shortyoko said:
You also can try by flashing superuser, I have not tryed exactly this rom, but there may be something wrong with su
Click to expand...
Click to collapse
Its the last choice I have now, will try.
Try changing mounting
smartksr said:
Please read the problem completely before answering and saying something.
I have S3 Feel os ROM in my HTC Pico.
When i tried to copy any files inside /system/ its saying : Permission denied read only file system.
I tried to use chmod 777 to system through terminal emulator its also given same warning.
Then I tried remounting with the command: mount -o rw,remount /system (using terminal emulator) didn't do the trick for me.
Can you guys tell what should i do to get the write permission. (Its actually showing read and write permission when I saw file/folder properties with a file explorer inside the system directory, but actually its not allowing to write).
Click to expand...
Click to collapse
Had same problem with same ROM. So i go to ES then root explorer then mount R/W then change both path and system to RW and restart.. that solved my problem. try it.
shree15 said:
Had same problem with same ROM. So i go to ES then root explorer then mount R/W then change both path and system to RW and restart.. that solved my problem. try it.
Click to expand...
Click to collapse
Thanks bro, it has solved me the problem.

Categories

Resources