error flashin boot.img

Discussion in 'Android Hacks and Help' started by Drew408, Aug 3, 2010.

  1. Drew408
    Offline

    Drew408 New Member

    Joined:
    May 11, 2010
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    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: Aug 3, 2010
  2. Drew408
    Offline

    Drew408 New Member

    Joined:
    May 11, 2010
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    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. dancedroid

    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.
     
Search tags for this page
android not load boot.img
,
boot img cisco permition denide
,
error boot image signature android
,

error cannot load boot.img

,
error cannot load boot.img unknown error
,
error cannt not load boot.img htc one x
,
help error cannot load boot.img
,
htc one x error while flashing boot image
,
why+i+cant+flash+boot .img