Post Reply

How to unpack boot.img

18th April 2014, 04:06 PM   |  #1  
OP Member
Thanks Meter: 9
 
46 posts
Join Date:Joined: Nov 2013
More
hi i know this seems like a over asked question but my case is different at least i could find a solution .. i did look for it

so i need to unpack a boot.img and i did try with dsixda's kitchen and championswimmers kitchen but no hope .. they both say android magic header not found and doesn't unpack it.. i need to edit the bootclasspath of the kernel but there isnt a way i can without unpacking yeah ? i even tried re-naming to .elf and extracting with flashtool but that dosent give me an output either ..

does anyone know how i can do this ? or atleast a workaround ?
20th April 2014, 07:25 AM   |  #2  
shimp208's Avatar
Recognized Contributor
Flag Boston
Thanks Meter: 1,564
 
2,248 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Quote:
Originally Posted by androidous

hi i know this seems like a over asked question but my case is different at least i could find a solution .. i did look for it

so i need to unpack a boot.img and i did try with dsixda's kitchen and championswimmers kitchen but no hope .. they both say android magic header not found and doesn't unpack it.. i need to edit the bootclasspath of the kernel but there isnt a way i can without unpacking yeah ? i even tried re-naming to .elf and extracting with flashtool but that dosent give me an output either ..

does anyone know how i can do this ? or atleast a workaround ?

Try using this tool found here http://forum.xda-developers.com/show...=2073775<br /> it has worked very well for me. If this doesn't work for you then I can suggest some Linux alternatives.

Sent from my SCH-I535 using XDA Premium 4 mobile app
21st April 2014, 05:08 PM   |  #3  
OP Member
Thanks Meter: 9
 
46 posts
Join Date:Joined: Nov 2013
More
Quote:
Originally Posted by shimp208

Try using this tool found here http://forum.xda-developers.com/show...=2073775<br /> it has worked very well for me. If this doesn't work for you then I can suggest some Linux alternatives.

Sent from my SCH-I535 using XDA Premium 4 mobile app

Hey thanks but ive tried that kitchen before and no luck

i figure the problem is
caused because the boot.img 's are not of standard type and do not have the standard ANDROID header therefore that kitchen wouldnt work

Quote:

Okay, unpackbootimg crashes trying to unpack the boot.img from FXP204-cm-9-20130126-UNOFFICIAL-kumquat because it has the wrong "magic" at the top. trevd pointed this out as a definite incompatibility for some devices a couple pages back. Trying trevd's split_img from the first page, it actually reports the "Wrong magic" error and shows that the file has an ELF header not an ANDROID!. Opening in HxD shows that there is no ANDROID! header later on as with some HTC devices, so ELF is the only header, and we're basically dealing with a different, unsupported filetype here. On the upside, there is no real gap in the data, so there might not be a ramdisk packed with it anyway.


enlighten me on the linux alternatives please
21st April 2014, 05:18 PM   |  #4  
shimp208's Avatar
Recognized Contributor
Flag Boston
Thanks Meter: 1,564
 
2,248 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Quote:
Originally Posted by androidous

Hey thanks but ive tried that kitchen before and no luck

i figure the problem is
caused because the boot.img 's are not of standard type and do not have the standard ANDROID header therefore that kitchen wouldnt work

enlighten me on the linux alternatives please

These are the linux alternatives they may or may not work based on what you said but might as well give them a try.
Post Reply Subscribe to Thread

Tags
ramdisk, unpack kernel
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Q&A, Help & Troubleshooting by ThreadRank