error flashin boot.img

This is a discussion on error flashin boot.img within the Droid Development forums, part of the Droid Hacking category; I just modified my boot.img using these instructions HOWTO: Unpack, Edit, and Re-Pack Boot Images - Android Wiki Everything worked good using the alternative method ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: error flashin boot.img

  1. Junior Droid
    Drew408's Avatar
    Member #
    67482
    Join Date
    May 2010
    Posts
    18
    Phone
    Motorola Droid
    #1

    error flashin boot.img

    I just modified my boot.img using these instructions
    HOWTO: Unpack, Edit, and Re-Pack Boot Images - Android Wiki
    Everything worked good using the alternative method posted in the HOWTO up to the point of flashing the image. when I use the instructions given it returns this error:

    Code:
    # cat /dev/zero > /dev/mtd/mtd2
    cannot create /dev/mtd/mtd2: permission denied
    Tried to skip this step as I read somewhere it could be and got this:

    Code:
    flash_image boot /sdcard/boot-new.img
    error writing boot: Permission denied
    Any help??
    Last edited by Drew408; 08-03-2010 at 03:10 AM. Reason: spellcheck
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Junior Droid
    Drew408's Avatar
    Member #
    67482
    Join Date
    May 2010
    Posts
    18
    Phone
    Motorola Droid
    #2
    fixed the issue...not a hundred percent sure how but this is what I did.

    1.)set: export PATH=$PATH:/home/andrew/android-SDK/android-sdk-linux_86/tools in my .bashrc file at the very top of the .bashrc file and saved
    2.)rebooted into recovery
    3.)opened adb shell (which I wasnt able to do in recovery mode before adding the PATH. I ran adb as root, and and got an error stating that no devices were found, but now that i added the PATH i can adb shell as user.)
    5.)then mounted the sd card where my .img was stored and executed the orignal commands. worked perfectly.

    seems like it was just an issue with setting my android-sdk tools path. which I should have already had setup when I installed it, but never found out how to permanently store the PATH of my sdk tools.

Sponsors

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. Error while flashing boot image?
    By Equinoux in forum Droid General Discussions
    Replies: 7
    Last Post: 06-10-2010, 10:43 PM
  2. Replies: 2
    Last Post: 06-07-2010, 07:02 PM
  3. Flash boot error
    By cerz in forum Droid Hacks
    Replies: 3
    Last Post: 06-01-2010, 08:17 AM
  4. weird error help "error running priveleges"!?
    By dfine06 in forum Rescue Squad Help
    Replies: 81
    Last Post: 04-19-2010, 12:17 PM
  5. Need major help with flashing error!! - multi-interface super-file error
    By daemien in forum Tech Issues, Bug Reports & Suggestions
    Replies: 0
    Last Post: 04-17-2010, 11:02 AM

Search tags for this page

/dev/mtd/mtd2: permission denied

,
android how to modify boot.img
,
cannot create /dev/mtd/mtd2: permission denied
,
cannot create /sdcard/ permission denied
,

cannot create /sdcard/boot.img: permission denied

,
cannot load boot.img motorola xoom
,
cannot load bootnew.img
,
cannot load files/boot.img droid 3
,
create /dev/mtd
,
dev/mtd/mtd2 permisiion denied
,

error cannot load boot.img

,
error writing bootscript aborted android
,
error:cannot load boot.img
,
fast boot boot.img error: cannot load boot.img
,
flash image error writing permission denied
,
flash image: permission denied
,
flashing+android boot.img
,
format /boot android
,
motorola android cannot load error codes
,
xoom boot.img mtd
Click on a term to search our site for related topics.