Recovery Partition Backup - Permission Denied
This is a discussion on Recovery Partition Backup - Permission Denied within the Droid Development forums, part of the Droid Hacking category; I'm having an issue backing up the recovery partition. I use the "ConnectBot" app for a local unix shell. I mounted the root directory as ...
-
Recovery Partition Backup - Permission Denied
I'm having an issue backing up the recovery partition. I use the "ConnectBot" app for a local unix shell. I mounted the root directory as r/w first because by default it's r/o. Then I tried backing up the recovery partition like this:
Code:
$ cat /dev/mtd/mtd1 > /sdcard/mtd1.img
But I got a permission denied error. My phone is already rooted. So what am I missing here?
-
-
I may be wrong, but I believe the internal storage (at least, certain parts of it) are mounted as RO when the phone boots. You may need to explicitly mount the dev/mtd folder as rw, perform the command, then you should remount it as RO again to prevent unwanted things from happening in there.
My Droid Does Tapatalk...
HTC Rezound... Stock for now, with the Tag Home launcher...
This link here will answer 90% of your issues:
Click Me!

Originally Posted by
jntowers
12 mp camera? are we going to be putting these pictures on billboards?
-

Originally Posted by
Taegost
I may be wrong, but I believe the internal storage (at least, certain parts of it) are mounted as RO when the phone boots. You may need to explicitly mount the dev/mtd folder as rw, perform the command, then you should remount it as RO again to prevent unwanted things from happening in there.
My Droid Does Tapatalk...
You're right, certain parts are read-only. That's why I set the main directory to read/write (using RootExplorer because it's quicker than typing, not from shell). Otherwise, I'd get a permission denied error. I guess I'll check every subdirectory from root to mtd just to be sure...
UPDATE: Yeah, all directories are r/w. Thanks for your help anyways though Taegost. I greatly appreciate any help.
Last edited by AVanover5; 12-30-2010 at 05:46 AM.
-
I ran this and got the following output:
Code:
$ chdir /dev/mtd
$ ls -l mtd1
crw------- root root 90, 2 2010-12-30 02:13 mtd1
$ █
The dashes are split into three parts; the user, group, and others each of which have (r)ead, (w)rite, and/or e(x)ecute. So, am I not the owner? o.O I'm logged in as root right? It says root owns it. I'm so confused... I'll try chmod...
UPDATE: "chmod 606" mtd1 responds with operation not permitted.
Last edited by AVanover5; 12-30-2010 at 06:23 AM.
-
I'm an idiot!!
All I had to do was login to super user with "su". I realized it when my shell was "$" and not "#". I feel so stupid right now -.- I must just be tired. No chmod needed. Wow, lmao...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Similar Threads
-
By Big Fate in forum Droid X Roms
Replies: 4
Last Post: 12-19-2010, 07:07 AM
-
By bitter in forum Bugless
Replies: 3
Last Post: 06-11-2010, 04:00 AM
-
By hogowner in forum Hacking Help
Replies: 1
Last Post: 03-26-2010, 08:56 PM
-
By Shmooze in forum Droid Hacks
Replies: 11
Last Post: 01-29-2010, 11:11 AM
-
By bspau in forum Droid Hacks
Replies: 7
Last Post: 01-12-2010, 02:35 PM
Search tags for this page
/dev/mtd/mtd1: permission denied
,
android dev partition optimus v
,
android mount recovery partition
,
android recovery partition
,
droid x recovery partition
,
mtd permission denied
,
optimus s su permission denied
,
optimus su permission denied
,
optimus v su permission denied
,
recovery partition deny
,
recovery permission denied
,
root permission denied lg optimus
,
su permission denied
,
su permission denied optimus
,
u8800 boot partition delete
Click on a term to search our site for related topics.
Tags for this Thread