DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 5 of 5

Thread: Recovery Partition Backup - Permission Denied

  1. Junior Droid
    AVanover5's Avatar
    Member #
    152793
    Join Date
    Dec 2010
    Location
    Yuba City, CA
    Posts
    18
    Phone
    LG Optimus LS670
    #1

    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?
  2.  
     
     
     
  3. Master Droid
    Taegost's Avatar
    Member #
    68820
    Join Date
    May 2010
    Location
    Tampa Bay, Fl
    Posts
    689
    Liked
    2 times
    Phone
    HTC Rezound
    #2
    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!

    Quote Originally Posted by jntowers
    12 mp camera? are we going to be putting these pictures on billboards?
  4. Junior Droid
    AVanover5's Avatar
    Member #
    152793
    Join Date
    Dec 2010
    Location
    Yuba City, CA
    Posts
    18
    Phone
    LG Optimus LS670
    #3
    Quote Originally Posted by Taegost View Post
    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.
  5. Junior Droid
    AVanover5's Avatar
    Member #
    152793
    Join Date
    Dec 2010
    Location
    Yuba City, CA
    Posts
    18
    Phone
    LG Optimus LS670
    #4
    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.
  6. Junior Droid
    AVanover5's Avatar
    Member #
    152793
    Join Date
    Dec 2010
    Location
    Yuba City, CA
    Posts
    18
    Phone
    LG Optimus LS670
    #5

    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...

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Permission Denied?
    By bitter in forum Bugless
    Replies: 5
    Last Post: 09-18-2013, 09:54 AM
  2. Permission Denied
    By Big Fate in forum Droid X Roms
    Replies: 4
    Last Post: 12-19-2010, 07:07 AM
  3. Help Please!! SU Permission Denied
    By hogowner in forum Android Hacks and Help
    Replies: 1
    Last Post: 03-26-2010, 08:56 PM
  4. Permission Denied
    By Shmooze in forum Android Hacks and Help
    Replies: 11
    Last Post: 01-29-2010, 11:11 AM
  5. I get permission denied in adb
    By bspau in forum Android Hacks and Help
    Replies: 7
    Last Post: 01-12-2010, 02:35 PM

Search tags for this page

/dev/mtd/mtd1: permission denied
,
android /dev/mtd read permission denied
,

android backup recovery partition

,

android mount recovery partition

,

mtd permission denied

,
optimus s su permission denied
,

optimus v su permission denied

,

su permission denied

,

su permission denied lg ls670

,
u8800 boot partition delete
Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+