DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
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.  
     
     
     
  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.

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. Error while flashing boot image?
    By Equinoux in forum Android 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 Android Hacks and Help
    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. Replies: 0
    Last Post: 04-17-2010, 11:02 AM

Search tags for this page

/dev/mtd/mtd2: permission denied

,
android /dev/mtd/mtd2: permission denied
,

cannot create /sdcard/boot.img: permission denied

,

cannot load boot.img

,

error cannot load boot.img

,

error cannt not load boot.img htc one x

,
error while flashing boot solutiin
,
error: cannot load 'boot.img': no error
,
error:cannot load boot.img
,

flash image permission denied

Click on a term to search our site for related topics.
Find us on Google+