It seems I am unable to change permissions on any file or folder in /sdcard. I can copy the file to /system and then change permissions...that works fine. There is something preventing me from changing the permissions to anything on /sdcard.
I've tried this with:
- Root Explorer (which gives an error" Changing permissions was not successful.")
- ES File Explorer (which doesn't even show an option in the file properties to change permissions for any file on /sdcard.)
- chmod from terminal (which gives error "operation not permitted")
I'm using a rooted stock debloated rom.
Anyone know why this is?
Thanks!
Sent from my VS980 4G using xda app-developers app
Related
I'm trying to delete a default application from my droid (WriteandGo) by deleting both the .apk and .odex file from /system/app using root explorer.
The phone is rooted, in Root Explorer and the partition appears mounted as r/w. When I delete both files it works fine and they disappear, but when I go back and then return to the app folder the files are there again. The application never gets uninstalled.
Any ideas?
Thanks!
Use titanium backup to uninstall sytem apps..
Thanks, it does work, but I'm curious as to why root explorer is failing to delete the files..
Neojag said:
I'm trying to delete a default application from my droid (WriteandGo) by deleting both the .apk and .odex file from /system/app using root explorer.
The phone is rooted, in Root Explorer and the partition appears mounted as r/w. When I delete both files it works fine and they disappear, but when I go back and then return to the app folder the files are there again. The application never gets uninstalled.
Any ideas?
Thanks!
Click to expand...
Click to collapse
That is because the /system partition is mounted read only.
To mount read-write, install ADB.
Set phone to USB debug.
Then:
> adb shell
$ su
# mount -o remount,rw /dev/block/stl6 /system
Then go the the appropriate directory and remove the files with "rm".
So the info Root Explorer is supplying (that the partition is mounted as r/w) is wrong? That's odd, because I've managed to copy a file to /system/etc/.
I (without heeding the warnings) decided it would be a good idea to delete certain apps (including Hero of Sparta, Lets Golf, etc.) once I got my tablet rooted. Luckily, there are two A500's in my household, so I was able to copy the /system/app directory from the other untouched tablet.
Problem is, I can't seem to copy the directory (or any apps from it) into my tablet. I've used both ASTRO and File Manager HD, but in both, the 'paste' command is greyed out. It's as if I don't have the necessary permissions.
So, what's going on?
did you set the Read-Write permission on that directory?
Post removed
No, thanks for the reminder.
Upon attempting to edit permissions, though, using a terminal emulator, I get an error after typing this:
Code:
su
cd /system/app
chmod 777 /system/app
And the error I get is:
"Unable to chmod /system/app: Read-only file system"
Zen_Jackal said:
No, thanks for the reminder.
Upon attempting to edit permissions, though, using a terminal emulator, I get an error after typing this:
Code:
su
cd /system/app
chmod 777 /system/app
And the error I get is:
"Unable to chmod /system/app: Read-only file system"
Click to expand...
Click to collapse
Silly question, but do you have your system rooted?
Yes, I do. Using GingerBreak as I'm still waiting on that 3.1 update
Zen_Jackal said:
Yes, I do. Using GingerBreak as I'm still waiting on that 3.1 update
Click to expand...
Click to collapse
OK, then try a file explorer like Root Explorer and you should be able to set the rights ro R/W and copy your files over.
Root Explorer worked like a charm. I'm suprised File Manager HD doesn't perform those functions. I got a good feeling when I saw that Root Explorer was requesting superuser permission.
Zen_Jackal said:
Root Explorer worked like a charm. I'm suprised File Manager HD doesn't perform those functions. I got a good feeling when I saw that Root Explorer was requesting superuser permission.
Click to expand...
Click to collapse
Glad to hear that worked. Root Explorer is what I use. Have been for over a year. I think File MAnager HD can also do it, but it is not as straight forward ad Root Explorer. Have fun.
BTW the permission setting 0777 means anyone can access it (or any other application), for the sake of having a better security the permissions should be changed to 445 so only root can access and execute those files (I'm not sure if APKs are considered excutables if they are not the 444 will be the right setting)
Sent from my A500 using Tapatalk
I have rooted and installed CWR. I have Supperuser installed also. When I try to change the gps.conf file to point to us.pool.ntp.org, I get an error saying the that /system is read only. Any ideas on how to fix this?
You need to mount /system as read/write before you can write to it.
In Root Explorer, you can click the R/W (or R/O) button at the top to enable writing.
I tried that and it say the file has been saved. However when I open the file again the changes are not there.
From my post the other day at forums.lenovo.com--
Best: ES File Explorer (with root permission and /system writeable checked in settings)
Navigate to file, click, choose text, choose ES Note Editor, edit the file as needed, choose save when prompted.
You can change permissions with ES as well.
I like that it automatically makes a *.bak file of whatever you edit and save.
I have tried changing the permission using root explorer, which resulted with this error "Permissions change was not successful. Please not that some file systems(eg SD card) do not allow permission changes. " I also tried using ES File Explorer but it still will not allow me to edit or delete the file.
@dwilli40 - Did you set root permission and /system writeable in ES settings?
Yes, I did enable root permission and /system writeable in ES settings.
I had a similar Problem on my device, seems that the normal mount doesn't work always. In my case i got write permission with:
busybox mount -o rw,rewrite /system
Sent from my ThinkPad Tablet using XDA App
if you don't know how to do it manually, use a app !
fasterfix for example....
if it doesn't work, it means that you don't have root
Thanks quyTam . That one did it for me.
Any way to do this without recovery?
It's absolutely no need for recovery !
But root is needed.
I was thinking it did because I couldn't get /system to stay mounted as rw under adb shell or with total commander
What should I be doing?
GPS Monitor Premium is able to do this, too, and more. It's a little heavier, but I don't feel like I need GPS Test anymore. It's a slick little app, and the dev is very kind.
MrKwatz said:
I was thinking it did because I couldn't get /system to stay mounted as rw under adb shell or with total commander
What should I be doing?
Click to expand...
Click to collapse
are you root ?
Did the GPS change you made work? Is you tablet actually grabbing satellites over North America?
Sent from my ThinkPad Tablet using xda premium
quyTam said:
are you root ?
Click to expand...
Click to collapse
Yes.
If I mount from adb shell su and then exit (after checking mount) for adb push it does not retain rw.
Doing the mount command from Total Commander fails. Checking the box to mount /system from ES File Explorer does nothing.
Yes, the change to gps made a huge difference. I went from taking 5 minutes or more to find my location to almost instantly.
dwilli40 said:
Yes, the change to gps made a huge difference. I went from taking 5 minutes or more to find my location to almost instantly.
Click to expand...
Click to collapse
Did you change the gpsconfig.xml file in /system/etc/gps folder? And if you did, which line(s) did you edit? I'm looking at the file in Notepad++ just trying to comb through it all and I don't see us.pool.ntp.org or asia.pool.ntp.ord anywhere..
Thanks
---
Never mind, just found the gps.conf file in the root of /etc. FasterFix did indeed change the Asian setting to a north-american.pool.ntp.org. I'll give this a try today, and if it can't find me in under 3 minutes, i'll try changing it to us.pool.ntp.org and see if that makes a difference.
The instructions for installing 19mountsdboot are found here: http://forum.xda-developers.com/showthread.php?p=22858059#post22858059
I unrared 19mountsdboot-rev2.rar, and 19mountsdboot is in /sdcard/Download.
My problem is when I try to copy that file to /etc/init.d. Using Terminal Emulator,
cd /etc/init.d
cp /sdcard/Download/19mountsdboot .
cp: can't create './19mountsdboot': Read-only file system
Using ES File Explorer, I also get a "Read-only file system" error.
What am I missing?
Thanks
OrionNav said:
The instructions for installing 19mountsdboot are found here: http://forum.xda-developers.com/showthread.php?p=22858059#post22858059
I unrared 19mountsdboot-rev2.rar, and 19mountsdboot is in /sdcard/Download.
My problem is when I try to copy that file to /etc/init.d. Using Terminal Emulator,
cd /etc/init.d
cp /sdcard/Download/19mountsdboot .
cp: can't create './19mountsdboot': Read-only file system
Using ES File Explorer, I also get a "Read-only file system" error.
What am I missing?
Thanks
Click to expand...
Click to collapse
/etc/init.d is a root location. You must have root access and /system set to r/w.
So set terminal emulator in su (root) mode. Type su enter and the prompt will change to a #. Then you can try it. Set /system to r/w.
Also ES File Explorer must also be put in root mode and set /system to r/w before you can do it.
Edit: if you use the flashable zip, it does everything for you. Just put that zip into the boot partition of the SD and boot to SD recovery. It will install automatically. And it puts it in /data so it survives the update to a new ROM. I highly recommend you use that method.
Sent from my Nook HD+ running CM10.1 on emmc.
Would someone please tell me how to change permissions on a read-only system file? I logged into and adb shell, I have root, but I could not execute this command: "chmod 777 HotspotProvision.apk" or "mv HotspotProvision.apk". I get an error saying the file is read-only.
I am trying to follow the instructions in this thread:
http://forum.xda-developers.com/showthread.php?t=2456338
I also could not change the file name using Astro file manager.
Root explorer or root browser from the market will let you mount system r/w
Sent from my LG-LS980