[Q] Droid 2 2.2 rooted unable to remount - General Questions and Answers

Can anyone guide me along with this I was able to successfully root my droid2 yesterday now i wanted to add the FMRadio capability and i need to remount but every time i try to i get the error message "remount failed: Operation not permitted" as you can see i have the admin but it still won't remount is there something I'm missing?
C:\sdk\tools>adb shell
$ su
su
# ^C
C:\sdk\tools>adb remount
remount failed: Operation not permitted
also tried this
C:\sdk\tools>adb remount r/w
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
remount failed: Operation not permitted

I'm having the exact same issue. I'm trying to install superuser per their instructions though. adb says that the remount operation is not permitted.

Well I was able to root it and install superuser so you would think i could get back in and remount the thing.

I just had this problem. Remount it in the shell after you do the "su" command.
Like this:
C:\sdk\tools>adb shell
$ su (make sure your phone is unlocked during this part, it should pop up asking for Super User access)
# mount -o remount,rw /dev/block/mtdblock3 /system
now you are remounted and in read-write mode...when you are done, remount again but change the "rw" to "ro".
like this:
# mount -o remount,ro /dev/block/mtdblock3 /system

noob stuck as well until.
I am on day 6 of having my D2 after trying all the other posts on a whim I tried to Doroot again. was going slow as ???? then changed "PC Mode" to "Charge Only" mode...Everything worked great...FM Radio works well but Only Mono with not so great reception.
Good Luck.

Related

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]How to get read-write access

I would like some tips on getting read-write access on my nexus s /system/media directory.
Im using Windows 7 x64 and i have seen a lot of tutorials but im not sure if they are for the correct model, as i noticed
"ext3"
"ext4"
Any help would be appreciated and thanked !!
XDA_Badman said:
I would like some tips on getting read-write access on my nexus s /system/media directory.
Im using Windows 7 x64 and i have seen a lot of tutorials but im not sure if they are for the correct model, as i noticed
"ext3"
"ext4"
Any help would be appreciated and thanked !!
Click to expand...
Click to collapse
Root.
You can then either remount manually:
Code:
mount -o remount,rw /dev/mtdblock3 /system
or flash an insecure boot image and then you can use adb remount.
Alternatively you can use something like Root Explorer if you want a GUI
I will try that , thanks alot also i tried 'Root Explorer' but it would not paste the file i needed.
EDIT!!
I tried it manually and i got this
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
~ # mount -o remount,rw /dev/mtdblock3 /system
mount -o remount,rw /dev/mtdblock3 /system
mount: mounting /dev/mtdblock3 on /system failed: Invalid argument
~ #
XDA_Badman said:
I will try that , thanks alot also i tried 'Root Explorer' but it would not paste the file i needed.
EDIT!!
I tried it manually and i got this
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
~ # mount -o remount,rw /dev/mtdblock3 /system
mount -o remount,rw /dev/mtdblock3 /system
mount: mounting /dev/mtdblock3 on /system failed: Invalid argument
~ #
Click to expand...
Click to collapse
adb shell first. It looks like you are still in the terminal based on the ~ prefix
XDA_Badman said:
I will try that , thanks alot also i tried 'Root Explorer' but it would not paste the file i needed.
EDIT!!
I tried it manually and i got this
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
~ # mount -o remount,rw /dev/mtdblock3 /system
mount -o remount,rw /dev/mtdblock3 /system
mount: mounting /dev/mtdblock3 on /system failed: Invalid argument
~ #
Click to expand...
Click to collapse
adb shell first, then su. It looks like you are still in the terminal based on the ~ prefix You have root already, right?
krohnjw said:
adb shell first, then su. It looks like you are still in the terminal based on the ~ prefix You have root already, right?
Click to expand...
Click to collapse
Im sure i have root access,
1: I rooted it myself
2: I use root checker on my device
3: I was in 'adb shell' before, when i first tried it
But on 'Root Check' (on my device) it shows the following message in green colour text,
Congratulations! You have root access!
Standard su binary location:
ls:/system/bin/su: No such file or directory
Standard su binary location:
-rwsr-sr-x 1root root 26336 Aug 1
2008 /system/xbin/su
Alternate su binary location:
ls: /sbin/su: Permission denied
Root user id:
uid=0(root)
Root group id:
gid=0(root)
MODERATOR PLEASE DELETE
1: I forgot to change my root dir to /system/xbin/su
2: In root explorer i didnt see the 'Mount As' button lol

[a510] /system as rw

i am trying to mount /system as rw, but keep running into errors. my tab is rooted and i have superuser elite installed. i have tried from a terminal app from the su prompt (#mount -o remount,rw /system and variations of), from adb shell, and using adb remount, but always get an error. (permission denied, are you root?)
any suggestions?
secondly, i messed up my permissions on both /system and /etc, as i had a similar issue with permissions when i was trying to get root, but forgot to note what they were previous so that i could set them back. i set them both to 755 for now, but if someone could tell me what they are suppose to be that would be appreciated.
Rusty_Gunn said:
i am trying to mount /system as rw, but keep running into errors. my tab is rooted and i have superuser elite installed. i have tried from a terminal app from the su prompt (#mount -o remount,rw /system and variations of), from adb shell, and using adb remount, but always get an error. (permission denied, are you root?)
any suggestions?
secondly, i messed up my permissions on both /system and /etc, as i had a similar issue with permissions when i was trying to get root, but forgot to note what they were previous so that i could set them back. i set them both to 755 for now, but if someone could tell me what they are suppose to be that would be appreciated.
Click to expand...
Click to collapse
Hi,
Try :
adb shell
su
mount -o rw, remount /system
It work fine for me on adb shell and terminal emulator
The command adb shell remount doesn't mount /system as rw
thanks, that put me on the write track. turns out i was getting rw the whole time, but i didnt have write permissions. did chmod 777 /system and it worked, and when i was done i put it back to chmod 755 /system
if anyone has a similar problem, the command 'mount | grep /system' is a great way to check to see if you actually have it mount as rw or not.
before this i tried a couple of the remount apps, as well as the mount as 'rw' option in es file explorer and they always fail to mount, presumably they aren't failing to mount but are running into the same permission issue and can't write

Categories

Resources