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 ...
-
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
-
-
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.
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 Equinoux in forum Droid General Discussions
Replies: 7
Last Post: 06-10-2010, 10:43 PM
-
By dmacleo in forum Koush
Replies: 2
Last Post: 06-07-2010, 07:02 PM
-
By cerz in forum Droid Hacks
Replies: 3
Last Post: 06-01-2010, 08:17 AM
-
By dfine06 in forum Rescue Squad Help
Replies: 81
Last Post: 04-19-2010, 12:17 PM
-
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.