[Q] mount: Operation not permitted - Galaxy 3 Q&A, Help & Troubleshooting

Whenever i type:
adb shell "mount -o remount,rw /dev/block/stl9 /system"​
i get the error: mount: Operation not permitted
adb shell "su mount -o rw,remount /dev/block/stl6 /system"​
i get Permission Denied
can anyone tell me what to do??????

Try to get "shell root" with Superoneclick. Then try again.

Happens the same with me. I was adviced to flash the last fugumod (Which also speeds up your phone) but haven't had time to try.

Humpie said:
Happens the same with me. I was adviced to flash the last fugumod (Which also speeds up your phone) but haven't had time to try.
Click to expand...
Click to collapse
Because fugumod has allready rooted shell. You can use superoneclick to gain temporal shell root. After a restart will be lost.

android_murphy said:
Whenever i type:
adb shell "mount -o remount,rw /dev/block/stl9 /system"​
i get the error: mount: Operation not permitted
adb shell "su mount -o rw,remount /dev/block/stl6 /system"​
i get Permission Denied
can anyone tell me what to do??????
Click to expand...
Click to collapse
For the 1st, you are not root.
For the second, you should not put 2 commands in 1. Enter 1 command by 1.
Code:
adb shell
$ su
# mount -o remount,rw /dev/block/stl6 /system
or if you want to put 2 or more commands, add a ";" between each command :
Code:
adb shell "su; mount -o remount,rw /dev/block/stl6 /system"
but you will have to send CTRL+C as qtadb doesnt seem to like 2 commands in 1.

What if I'm root and still get the same error?

Related

[Q] How do I get RW in the /system/app?

I'm trying to push an apk there but I can't get permission. I tried using this:
Code:
adb shell mount -t rfs -o remount,rw /dev/block/stl9 /system
but it told me "operation not permitted". I got that code from the one click root.
What am I doing wrong?
When in the sdk tools directory but not in adb do;
adb push C:\file.apk /sdcard/file.apk
then open shell
adb shell
su
mount -t rfs -o remount,rw /dev/block/stl9 /system
now you are mounted. Just move the file
mv /sdcard/file.apk /system/app/file.apk
Thanks
Sent from my SPH-D700 using XDA App

Trouble mounting /system through ADB

I'm having trouble mounting the /system directory on my Captivate. When I try an "adb remount" I get
Code:
remount failed: no such file or directory
When I try to push my framework, I get
Code:
failed to copy 'framework-res.apk' to '/system/framework/framework-res.apk': Read-only file system
I've tried
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock4 /system
and this and get "Permission Denied."
It is confusing, because before when I had this problem, the fix I linked to worked for me. Now I can't get it. Also, I can pull from the /system just fine, but can't push.
I'm definitely rooted, and have Busybox installed.
Thanks in advance!
Bump?
I have read throug tons of guides, but nothing seems to be working. I went back to stock and flashed my rom again, but no luck. Any ideas would be appreciated.
Did you type su first? It acts as if you're not root. /system is readable by everyone so you can pull, but it's only writeable by root so you can't push to it unless you're logged in as root.
I've only used adb once to root my phone so I'm not entirely sure how it should be typed in, but in a terminal you'd just type su and hit enter, then type in your remount command.
Also, for what it's worth, you can shorten it to just: mount -o rw,remount /system
Your method is fine, it's just not necessary to type it all out.
fubaya said:
Did you type su first? It acts as if you're not root. /system is readable by everyone so you can pull, but it's only writeable by root so you can't push to it unless you're logged in as root.
I've only used adb once to root my phone so I'm not entirely sure how it should be typed in, but in a terminal you'd just type su and hit enter, then type in your remount command.
Also, for what it's worth, you can shorten it to just: mount -o rw,remount /system
Your method is fine, it's just not necessary to type it all out.
Click to expand...
Click to collapse
Thanks for the reply.
If I type su in the terminal, this is what I get.
Code:
C:\Android\tools>su
'su' is not recognized as an internal or external command,
operable program or batch file. C:\Android\tools>
However, when in shell, I can get it to recognize su, but it still doesn't like to mount.
Code:
C:\Android\tools>adb shell
$ su
su
# mount -o rw,remount /system
mount -o rw,remount /system
Usage: mount [-r] [-w] [-o options] [-t type] device directory
#

[Q] How to remount file system as read - write on Samsung Spica I5700

I am newbie of Android user, my phone is Samsung Spica I5700 (firmware I570EXXJG2). I tried SuperOneClick 1.6.5 to root my phone and the result was OK, I could see Superuser in my phone, but some applications on the Maket that request root did not run correctly. I use ADB to mount the file system as read and write to change something. Here is result
adb devices
List of devices attached
57001541c892 device
adb remount
remount failed: No such file or directory
adb shell mount -o remount,rw,codepage=utf8,vfat,xattr,check=no /dev/stl6 /system
mount: Operation not permitted
adb shell mount -r -w -t rfs -o nosuid,nodev,xattr,check=no /dev/stl6 /system
mount: Operation not permitted
adb shell
$ su
Permission denied
$ mount -o remount,rw,codepage=utf8,vfat,xattr,check=no /dev/stl6 /system
mount: Operation not permitted
$ mount -r -w -t rfs -o nosuid,nodev,xattr,check=no /dev/stl6 /system
mount: Operation not permitted
So I can not do anything. Please indicate me how to use ADB to remount the file system as read and write.
Sorry for my English, I am from South East Asia.
Try remount in the market
zachsx said:
Try remount in the market
Click to expand...
Click to collapse
Thank you, but there are no apps on the market that can mount file system as read and write.
Any body can do that, please help.
Sorry for my English

ADB prompt question

I'm having some trouble with the mount command. More specifically when trying to mount the system without going into shell. It worked fine on 2.1, but on 2.2 I get an error. The command I'm typing is:
./adb shell mount -t rfs -o remount,rw /dev/block/stl9 /system
The error I get is:
mount: Operation not permitted
However, when I go into shell su, and just type the mount command, it works fine. I need to get the mount command to work outside of shell for a bash script that I am writing. If I enter shell in the script, the script does not finish executing, and I cannot enter commands into the adb shell prompt. Any idea?
I have a Samsung Fascinate running EB01 and the phone has been rooted. I'm also doing this on a mac.
Thanks.
Braydon525 said:
I'm having some trouble with the mount command. More specifically when trying to mount the system without going into shell. It worked fine on 2.1, but on 2.2 I get an error. The command I'm typing is:
./adb shell mount -t rfs -o remount,rw /dev/block/stl9 /system
The error I get is:
mount: Operation not permitted
However, when I go into shell su, and just type the mount command, it works fine. I need to get the mount command to work outside of shell for a bash script that I am writing. If I enter shell in the script, the script does not finish executing, and I cannot enter commands into the adb shell prompt. Any idea?
I have a Samsung Fascinate running EB01 and the phone has been rooted. I'm also doing this on a mac.
Thanks.
Click to expand...
Click to collapse
Hi, what does the following output?
adb shell id
Also, what about just
adb remount
- jc
JimmyChingala said:
Hi, what does the following output?
adb shell id
Also, what about just
adb remount
- jc
Click to expand...
Click to collapse
Tried both remount and shell remount..
$ ./adb shell id
uid=0(root) gid=2000(shell) groups=1007(log)
$ ./adb remount
remount failed: No such file or directory
$ ./adb shell remount
remount: not found

[Q]android M,adb shell can't mount partition.Permission denied

Hi there,Since my M9 update to android M.I want to deodex RUU like what I did in android 5.0.
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
this is what I did.and shows like this
Code:
[email protected]_himaulatt:/ $ su
[email protected]_himaulatt:/ # stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
mount: Permission denied
I don't know what should I do. I use charge only option when I plug to USB.
if there any solution.I will be very happy:silly:

Categories

Resources