Guest Harness Posted December 26, 2010 Report Posted December 26, 2010 (edited) I'm having a really tough time with this. Maybe some of the experts can suggest something, but I can't figure it out. I've used every tool I've got (out of avabox v2) extract-kernel, unpack-bootimg, split-bootimg, etc.. It always results in either a boot.img-kernel file (no extension) or boot.img-kernel.gz file, that when I try to extract I get "Not in gzip format". Is there something I'm doing wrong or a step I'm skipping somewhere? Harness. Edit: Ubuntu 10.10 32bit (upgrading to 64bit today) Edited December 26, 2010 by Harness
Guest tmp_do Posted December 26, 2010 Report Posted December 26, 2010 u do all right. any boot extact tool only split img file at kernel and ramdisk. kernel after compiling usually gzipped, but gzip signature start at 0x800 offset, so gzip cant extract it. what u want to do with binary kernel?
Guest Harness Posted December 26, 2010 Report Posted December 26, 2010 u do all right. any boot extact tool only split img file at kernel and ramdisk. kernel after compiling usually gzipped, but gzip signature start at 0x800 offset, so gzip cant extract it. what u want to do with binary kernel? Poke around a bit. Familiarize myself, for now anyhow. How do I make it extractable?
Guest vache Posted December 27, 2010 Report Posted December 27, 2010 Just rename the file by removing the extention. You have now your kernel. The unpack script add the gzip but it's useless.
Guest Harness Posted December 28, 2010 Report Posted December 28, 2010 (edited) Just rename the file by removing the extention. You have now your kernel. The unpack script add the gzip but it's useless. It's supposed to be 1 big file? It's not comprised of various files/folders? Edited December 28, 2010 by Harness
Guest tmp_do Posted December 28, 2010 Report Posted December 28, 2010 long time ago we patched binary kernel for custom mtd table on moto ezx platform, but its wrong way and usable if u havent sources
Guest Harness Posted December 28, 2010 Report Posted December 28, 2010 (edited) So I'm confused then.. what do I do with my one big file... Edit: Or are you saying I can't use it because I lack kernel sources? Edited December 28, 2010 by Harness
Guest vache Posted December 28, 2010 Report Posted December 28, 2010 So I'm confused then.. what do I do with my one big file... Edit: Or are you saying I can't use it because I lack kernel sources? Right, you can't do anything with a compiled kernel. It's not "unpackable" or something like that.
Guest Harness Posted December 28, 2010 Report Posted December 28, 2010 Right, you can't do anything with a compiled kernel. It's not "unpackable" or something like that. Okay. So if I were to put a new kernel in something, I'd have to compile phh kernel or Cyanogens,I couldn't mod what's already there then, right? Harness.
Guest vache Posted December 28, 2010 Report Posted December 28, 2010 Okay. So if I were to put a new kernel in something, I'd have to compile phh kernel or Cyanogens,I couldn't mod what's already there then, right? Harness. Right.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now