need help with "mount system RW" - Samsung Galaxy Nexus

hi
i am using aokp 28/9/2013 previous version was 20/8.
Now when i try to use metamorph to change the softkeys, it gives the error "/system could not be mounted as RW". Can someone help me what this is and how to fix this? it worked on my previous rom
btw, its given permission by superuser so thats not the problem. And i also went to recovery > mounts and storage > and tapped mount /system
Sry, dont know much about this stuff so can someone help me?
Thanks
EDIT: also tried this app. still doesnt work
https://play.google.com/store/apps/details?id=com.beansoft.mount_system&hl=en

bump..... anyone??

rollerdyke44 said:
bump..... anyone??
Click to expand...
Click to collapse
try from pc
Code:
adb shell
su
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
or in terminal emulator
Code:
su
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system

samersh72 said:
try from pc
Code:
adb shell
su
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
or in terminal emulator
Code:
su
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
Click to expand...
Click to collapse
tried from pc.... didnt work
What exactly is the error supposed to mean btw?
edit: used root explorer to change permissions of /system to all. still didnt work :/

rollerdyke44 said:
tried from pc.... didnt work
What exactly is the error supposed to mean btw?
edit: used root explorer to change permissions of /system to all. still didnt work :/
Click to expand...
Click to collapse
Why not just click the "remount r/w" button in Root Explorer (navigate to /system, then click it)? From my experience, whenever another app can't mount /system by itself, Root Explorer always helps it outta trouble.
Sent from Google Nexus 4 @ CM10.2

nop
that also didnt work

rollerdyke44 said:
nop
that also didnt work
Click to expand...
Click to collapse
If Root Explorer doesn't remount, there's a good chance you aren't properly rooted. You can verify this by 1) flashing the latest SuperSU zip or 2) flash another ROM and see if things work.
Sent from Google Nexus 4 @ CM10.2

thanks for reply
I CAN mount/remount system as r/w and then r/o using root explorer and i also get a notificatioin that superuser granted to root explorer. But Metamorph still doesnt work. It worked on my previous version as said in 1st post so dont know what the problem is.
i guess its a app specific problem then?

rollerdyke44 said:
i guess its a app specific problem then?
Click to expand...
Click to collapse
Did the update change OS, by that I mean 4.2.2 to 4.3? Perhaps metamorph doesn't work properly with 4.3. Have you tried uninstalling it and reinstalling the app?
If all you are doing is changing softkey images, I am pretty sure AOKP has options to do that within the ROM

metamorph has not been updated lately and therefore has not been made compatible with 4.3+ hence why you receive the /system rw error . if you check busybox and run the script or manually thru terminal you can verify if /system is RW or not.

rollerdyke44 said:
thanks for reply
I CAN mount/remount system as r/w and then r/o using root explorer and i also get a notificatioin that superuser granted to root explorer. But Metamorph still doesnt work. It worked on my previous version as said in 1st post so dont know what the problem is.
i guess its a app specific problem then?
Click to expand...
Click to collapse
I have the same freaking problem with adblock app.....
Can change it in root explorer but still got the error flashed new superuser ap but didnt work
Sent from my Galaxy Nexus using xda app-developers app

kjax said:
metamorph has not been updated lately and therefore has not been made compatible with 4.3+ hence why you receive the /system rw error . if you check busybox and run the script or manually thru terminal you can verify if /system is RW or not.
Click to expand...
Click to collapse
Yeah it might be an app issue then. Thanks
demon2112 said:
I have the same freaking problem with adblock app.....
Can change it in root explorer but still got the error flashed new superuser ap but didnt work
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
You also use aokp??

Nooe on cataclysm
Sent from my GT-I9300 using xda app-developers app

Have you got the solution ...??

Saskai1 said:
Have you got the solution ...??
Click to expand...
Click to collapse
Assuming you have a similar problem, how exactly is it going? This thread is a bit 'outdated' now because OP had trouble with an app intended for earlier Android versions. Apparently he was trying to use Stericson's Metamorph on a wrong Android version, thus it wasn't able to mount system R/W...
Sent from my Motorola XT1563 using XDA Labs

Related

[Q] Can't write to /system [SOLVED]

Guys, can someone tell me what i'm missing? I followed this guide to root and S-OFF my phone, but just now i realized that i have no write access to /system partition. It isn't very important for me, since i'm flashing only rooted ROMs and when i need to gain write access to /system partition - i'm rebooting into CW Recovery, but... It would be handy to have it anyway
Some info form what i see in fastboot:
VISION PVT ENG S-OFF
HBOOT-0.8.4.2000
RADIO-26.03.02.26_M
Thank you in advance.
Did you verify that you have root? Use the Android Terminal Emulator, type su and if you get a #, you're good to go. If you do have root, just use Root Explorer and hit the R/W button while in the system folder.
Sent from my HTC Vision using XDA App
ScooterG said:
Did you verify that you have root? Use the Android Terminal Emulator, type su and if you get a #, you're good to go.
Click to expand...
Click to collapse
Yes, i'm getting root permissions here.
ScooterG said:
If you do have root, just use Root Explorer and hit the R/W button while in the system folder.
Click to expand...
Click to collapse
When i press mount as R/W, nothing happens and i can't make any changes in /system partition.
Also, i tried Font Changer Lite (from Market), but i'm getting message:
"Write access for the system partition was not established on your device and therefore this application will have to be closed.
Please make sure your device has full root before you try again"
Am i missing something? Thanks for quick reply btw.
Using ADB
1. adb shell
2. mount -o rw,remount -t ext3 /dev/block/mmcblk0p25 /system
3. exit
aznsnake666 said:
2. mount -o rw,remount -t ext3 /dev/block/mmcblk0p25 /system
Click to expand...
Click to collapse
"mount -o rw,remount /system" should work too.
(you need to mount /system specifically as rw, by default it's still mounted read-only even if you have root/S-OFF)
Or simply:
adb remount
Love that No need to remember the blocks and hassle with the mount command
AnyDone said:
Or simply:
adb remount
Love that No need to remember the blocks and hassle with the mount command
Click to expand...
Click to collapse
This is the best way I've found to do it, but it is only temporary.
Thank you guys very much, that worked
Edit: Font Changer Lite still complaining about permissions.
There's a /system remount app in the market lol
Sent from my HTC Vision using XDA App
stevencpoynter said:
There's a /system remount app in the market lol
Click to expand...
Click to collapse
Sure, let's download an app for each ADB command, so then we can complain about having not enough of internal memory again
I know that sounded a little sarcastic lol, was in the bank waiting in line.
Seriously though, there's a one click remount app, its wonderful as I no longer have to use adb or a terminal to make /system rw
Sent from my HTC Vision using XDA App

[Q] how do i remove something from system - without rebooting?

thought i'd post here instead of the oxygen thread.
tried
mount -o remount /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
which gives errors
and
mount -o remount,rw /system
Click to expand...
Click to collapse
which doesn't
was then told to:
mount | grep /system
Click to expand...
Click to collapse
which gives
dev/block/mtdblock3 on /system type yaffs2 (rw,relatime)
Click to expand...
Click to collapse
but i still can't delete a file via root explorer
any idea what i can do to remove files in system without hooking my phone up to my pc?
I believe you need to be S-OFF.
Sent from my HTC Desire using XDA App
i am
stupid 10 chars
You need S-OFF and root access then use Root Explorer, it's what I use. Click the R/O button at the top to R/W and you can delete until your heart is content.
got it, i wasn't using root explorer. i was using .. something else
ta

[Q] Acer A100 on ICS and Rooted but unable to rename files

Hello, I was recently able to upate my A100 to ICS. I followed the root instructions in the developer section and it worked great. Both Titanium Backup and Superuser say I'm rooted but I can't move/rename the wpa_supplicant file. I really need to be able to use ad hoc to tether to my phone. Did I do something wrong in rooting my tablet? Any help would be much appreciated.
Thanks.
You need to mount system as r/w. Which file manager are you using?
Sent from my LG-P999 using Tapatalk 2
How do I enable that? I'm using Root Browser, I never had to do that before in HC...it just worked lol. Thanks for the help.
DravenAcer said:
How do I enable that? I'm using Root Browser, I never had to do that before in HC...it just worked lol. Thanks for the help.
Click to expand...
Click to collapse
I personaly used Root Explorer, its free and it has a friendly little buttong that has R/o R/W which allows you to read only to read and write
I redid the root and reinstalled Superuser, Root Browser, Titanium and Terminal...they all I'm rooted but when I try to move or rename the wpa_supplicant file it says failed. When I try to mount on Terminal it says it can't because I don't have root. What's going on lol? Did I do something wrong or is my version of ICS incompatible with the rooting method? Please help...
DravenAcer said:
I redid the root and reinstalled Superuser, Root Browser, Titanium and Terminal...they all I'm rooted but when I try to move or rename the wpa_supplicant file it says failed. When I try to mount on Terminal it says it can't because I don't have root. What's going on lol? Did I do something wrong or is my version of ICS incompatible with the rooting method? Please help...
Click to expand...
Click to collapse
I noticed the same problem with Root Browser. It is probably not using the standard /system/bin/mount or /system/xbin/mount. Also it may be ZeroNulls mount script not taking in account for all possible mount scenarios. You could try my mount script in this thread forum.xda-developers.com/showthread.php?t=1512787 and replace your /system/bin/mount and /system/xbin/mount.
If you are sure it's rooted then remounting from a terminal will work. Are you typing su before trying to remount?
If you are and it still doesn't work try this instead
Code:
$ su
# mount -o remount,rw /dev/block/mmcblk0p3 /system/
BTW root explorer is not free
eww245 said:
I noticed the same problem with Root Browser. It is probably not using the standard /system/bin/mount or /system/xbin/mount. Also it may be ZeroNulls mount script not taking in account for all possible mount scenarios. You could try my mount script in this thread forum.xda-developers.com/showthread.php?t=1512787 and replace your /system/bin/mount and /system/xbin/mount.
If you are sure it's rooted then remounting from a terminal will work. Are you typing su before trying to remount?
If you are and it still doesn't work try this instead
Code:
$ su
# mount -o remount,rw /dev/block/mmcblk0p3 /system/
BTW root explorer is not free
Click to expand...
Click to collapse
Thanks for your help. I didn't know I had to type 'su' first lol. That worked...kinda. Because I have to retype that everytime I rename or move something. Is that some kind of bug in the script?
DravenAcer said:
Thanks for your help. I didn't know I had to type 'su' first lol. That worked...kinda. Because I have to retype that everytime I rename or move something. Is that some kind of bug in the script?
Click to expand...
Click to collapse
Yes that is a bug in the script. Using my mount script Root Browser is able to modify /system files.
Looks like the old wpa_supplicant file isn't working. I did a search but haven't found any yet that work. Has anyone been able to activate ad-hoc on their A100 with ICS?
eww245 said:
Yes that is a bug in the script. Using my mount script Root Browser is able to modify /system files.
Click to expand...
Click to collapse
Yes, that worked great! Thank you.

[Q] Deleting system file in terminal causes reboot

Hello all,
I'm trying to delete a system file using the Android terminal (as my end goal is to put it in a run shell task in Tasker) and it either reboots my phone or just doesn't delete.
Long story short, I'm using the Weak Sauce root method, but I do not have S-Off as I like how easy it is to undo the Weak Sauce root alone. This means, of course, I don't have immediate RW access to system. So here's what I've done:
Code:
# mount -o rw,remount -t yaffs2 /dev/block/mmcblk0p46 /system
# busybox rm -f /system/media/audio/ui/camera_click.ogg
# mount -o ro,remount -t yaffs2 /dev/block/mmcblk0p46 /system
When I do the first and last commands alone, the system mounts as RW and RO correctly, confirmed with # mount|grep system. But that middle command is the problem. Sometimes nothing will happen, other times my phone will reboot. I've also tried adding the following before the rm command with no success:
Code:
# chmod 777 /system/media/audio/ui/camera_click.ogg
I AM able to delete the file manually through ES File Explorer when mounted RW. But it comes back after I restart my phone, hence why I want this command to be used in Tasker.
What am I doing wrong?
PS: as for the "why" of deleting the shutter sound file, I take screenshots sometimes and the sound drives me nuts. I've tried removing the ogg file from the camera apk, but that didn't work after a reboot. I also tried replacing the ogg file with a silent one, but no success there either as the real one reloads itself when I restart.
Delete the file in recovery using TWRP
Sent from my HTC One_M8 using Tapatalk
SmiLey497 said:
Delete the file in recovery using TWRP
Sent from my HTC One_M8 using Tapatalk
Click to expand...
Click to collapse
I'm trying to do it from the terminal so I can eventually put it into Tasker. I can delete it successfully with ES File Explorer, so no need for recovery. I just need some way to get it to work through the terminal.
If the file is coming back then you don't have proper write access to system and the file isn't actually being deleted which Is why it appears to come back.
Try using root explorer instead or do it through TWRP. Make system RW then just move or rename the file rather than delete it. If you have proper write access it will stick.
heather1209 said:
I'm trying to do it from the terminal so I can eventually put it into Tasker. I can delete it successfully with ES File Explorer, so no need for recovery. I just need some way to get it to work through the terminal.
Click to expand...
Click to collapse
It comes back when you reboot. Your system is not writable you need to S-OFF. get system RW kernel, or delete through recovery.
SmiLey497 said:
It comes back when you reboot. Your system is not writable you need to S-OFF. get system RW kernel, or delete through recovery.
Click to expand...
Click to collapse
Ah, that makes sense. What's the system RW kernel you mentioned? I'm not familiar with that.
heather1209 said:
Ah, that makes sense. What's the system RW kernel you mentioned? I'm not familiar with that.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2701816
heather1209 said:
Ah, that makes sense. What's the system RW kernel you mentioned? I'm not familiar with that.
Click to expand...
Click to collapse
[KERNEL] [June 20] [Sense] [GPE] ElementalX 0.19 I think that'll work on stock Sense system.
heather1209 said:
Ah, that makes sense. What's the system RW kernel you mentioned? I'm not familiar with that.
Click to expand...
Click to collapse
He means flash a kernel that has write access to system enabled.
SmiLey497 said:
http://forum.xda-developers.com/showthread.php?t=2701816
Click to expand...
Click to collapse
Or yeah, the MOD can work too :good:

Finding /system in /proc/mounts

hello, I need to mount to the system as R/W in order to delete a file in my root directory, but I can't find the right location I order to mount it with my terminal. I'm rooted with Magisk and Busybox
thx
shaitan240 said:
hello, I need to mount to the system as R/W in order to delete a file in my root directory, but I can't find the right location I order to mount it with my terminal. I'm rooted with Magisk and Busybox
thx
Click to expand...
Click to collapse
I got full control I use totale comandet give it root in settings of the app then u can delete any thing u want
roadkill42 said:
I got full control I use totale comandet give it root in settings of the app then u can delete any thing u want
Click to expand...
Click to collapse
I found "total commander" in the play store, if it's that one, thank you it really worked
shaitan240 said:
I found "total commander" in the play store, if it's that one, thank you it really worked
Click to expand...
Click to collapse
Yep that's it kinda dos looking I think easier then any others u can even drag and drop wifi file transfer to
shaitan240 said:
hello, I need to mount to the system as R/W in order to delete a file in my root directory, but I can't find the right location I order to mount it with my terminal. I'm rooted with Magisk and Busybox
thx
Click to expand...
Click to collapse
For future issues:
Magisk mirrors all relevant partitions under /sbin.
The path to the block device /system is (only for system_as_root devices!!)
Code:
/sbin/.magisk/block/system_root
and it's mounted under
Code:
/sbin/.magisk/mirror/system_root
If you want to mount /system as r/w, you need this command
Code:
mount -o rw,remount -t ext4 /sbin/.magisk/block/system_root /sbin/.magisk/mirror/system_root
WoKoschekk said:
For future issues:
Magisk mirrors all relevant partitions under /sbin.
The path to the block device /system is (only for system_as_root devices!!)
and it's mounted under
If you want to mount /system as r/w, you need this command
Click to expand...
Click to collapse
Thank you this is exactly what I was looking for, but the other method worked for me too
But it is appreciated

Categories

Resources