FORUMS
Remove All Ads from XDA

[FIXED] Remount failed: operation not permitted

91 posts
Thanks Meter: 12
 
By Nextelian, Member on 20th May 2010, 03:11 PM
Post Reply Email Thread
24th September 2010, 02:09 AM |#11  
ASimmons's Avatar
Retired Recognized Developer
Flag Tampa Bay
Thanks Meter: 115
 
More
Quote:
Originally Posted by mojotexas

I tried the above, and I could not mount /system as read/write:

Code:
adb shell
$ su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Permission denied
$ mount: Operation not permitted
My Android 1.6 is rooted, so I feel like I should be able to do this. But any help would be...helpful.

I'm not at my computer but I think the command is off... check to make sure its exactly how it should be... maybe the coma after the rw

Sent from my HERO200 using XDA App
 
 
25th September 2010, 12:29 AM |#12  
huedawg's Avatar
Senior Member
Thanks Meter: 19
 
More
Quote:
Originally Posted by mojotexas

I tried the above, and I could not mount /system as read/write:

Code:
adb shell
$ su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Permission denied
$ mount: Operation not permitted
My Android 1.6 is rooted, so I feel like I should be able to do this. But any help would be...helpful.

Just cd to your tools directory and adb remount
2nd October 2010, 04:23 PM |#13  
Senior Member
Thanks Meter: 66
 
Donate to Me
More
Quote:
Originally Posted by huedawg

Just cd to your tools directory and adb remount

Is there a solution for this?
I have a rooted HTC Desire.
When I type adb remount I get permission denied.
When I type adb shell and then su , i get permission denied!
This was a stock 2.2 rooted with unrevoked 3.

Any idea?

[edit]
i noticed root permissions pop-up on the phone and allowed so su worked.
[/edit]
4th October 2010, 07:16 AM |#14  
Senior Member
Flag Perth
Thanks Meter: 36
 
More
Hi,
I have a Desire with stock froyo rooted with unrevocked 3 too and cannot use adb remount:

Quote:

D:\android-sdk-windows\tools>adb remount
remount failed: Operation not permitted

Quote:

D:\android-sdk-windows\tools>adb shell
$ remount
remount
remount: permission denied
$

I have allowed ADB via the Super user app popup.

Any idea?

EDIT: I have set S-OFF using AlphaRev's recovery fastboot and I am now able to remount in rw (well no access denied anymore)
still missing some access as I fail to remove the Google Maps app (want to use Brut maps only)
22nd June 2011, 01:18 AM |#15  
Junior Member
Flag Chennai
Thanks Meter: 3
 
More
Quote:
Originally Posted by ghost_boy1412

I found something that help me and you. it properly works!!

This worked perfectly! Thank you!
22nd June 2011, 09:53 PM |#16  
Bierce22's Avatar
Senior Member
Flag canton ga
Thanks Meter: 153
 
More
Good freakin lord why the heck did you feel the need to bump this thread thats almost a year old just to say that!!!!!!!! I rarly shout like this, but this crap is starting to drive me crazy!!!!!!!!!!!!


Grrrrrrrrrrrrrrr
The Following 2 Users Say Thank You to Bierce22 For This Useful Post: [ View ] Gift Bierce22 Ad-Free
28th July 2011, 07:18 AM |#17  
Junior Member
Thanks Meter: 0
 
More
same thing for me. i get permission denied
28th July 2011, 04:12 PM |#18  
il Duce's Avatar
Inactive Recognized Developer / Retired Forum Moderator
Flag Twin Cities, MN
Thanks Meter: 16,463
 
Donate to Me
More
Quote:
Originally Posted by DannyMichel

same thing for me. i get permission denied

thank you for letting us all know, and in such detail, and with new valuable information no less





/me shakes fists in rage.
1st August 2011, 01:11 AM |#19  
Member
Thanks Meter: 3
 
More
Post deleted.
30th November 2011, 11:34 PM |#20  
Junior Member
Flag Lowell, MA
Thanks Meter: 2
 
Donate to Me
More
Don't mean to bring up this dead thread but a more simple solution would be this


adb shell
$ su
# busybox mount -o remount,rw /system (or another desired directory)
# chmod 777 (or another desired permission set) /system (or another desired directory)
# exit
$ exit
The Following User Says Thank You to TheSavageSquid For This Useful Post: [ View ] Gift TheSavageSquid Ad-Free
18th December 2011, 09:52 PM |#21  
Member
Thanks Meter: 10
 
More
root commands: Permission denied
Dear Sirs,

I have been through this thread and tried everything but I have the same issue as the previous gentlemen.

I have HTC Desire Z with CM 7.0.3.

When I boot the phone normally and "adb shell", I can get a root prompt (id command shows root user, "cd" shows "/"). But ANY command I run brings permission denied (even ls, chmod and pwd). I literally can't do anything. Same whether I boot with/without S D card. I CAN however issue commands such as "adb pull /init.rc" if I exit and go back to DOS.

However if I boot into clockworkmod recovery and mount /data and /system, and then open an adb shell via USB, I can connect as root and browse everything, everything is fine and all commands work OK. /etc/fstab shows all partitions would be mounted as rw.

So it looks like some application during boot, is resetting the permission for /system to be ro, and also removing root's privileges.

Please could you let us know if there is a method to determine what app is doing this during boot. I cannot see anywhere in init.rc where I can catch this application that is doing this and prevent it from making /system inaccessible after boot.

Preferably if someone could point me to the complete log of the boot process that shows each command that is run, I might have a clue as to where in the boot up process, the /system partition suddenly becomes ro and root loses all permissions.

I suspect the other users in the forum may have a similar problem.

I have attached a copy of my init.rc that was adb pulled after full boot.

Thanks
Attached Files
File Type: txt initrc.txt - [Click for QR Code] (14.7 KB, 798 views)
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes