New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Flare106
Old
(Last edited by Flare106; 18th January 2013 at 05:02 AM.)
#1  
Flare106's Avatar
Senior Member - OP
Thanks Meter 25
Posts: 146
Join Date: Oct 2010
Default [Q] how to convert zImage to boot.img

Hi there guys,

I am having an issue and was wondering if someone could point me in the right direction, maybe to a tutorial or some decent info on this.

Anyways, I have been tinkering around and teaching myself about building kernels, and roms and just a short while ago finished compiling my first kernel. I have the zImage, and i have tried adding the zImage to Koush's AnyKernel updater.zip but when i try and flash it says failed but is not displaying any errors (Using TWRP recovery) Or I am doing this wrong and need to unpack and repack boot.img with the new zImage?

Any help is greatly appreciated, Thanks!

(edit) I am building on Fedora 17
 
studacris
Old
(Last edited by studacris; 19th January 2013 at 12:29 PM.)
#2  
studacris's Avatar
Recognized Contributor
Thanks Meter 3780
Posts: 5,120
Join Date: Dec 2010
Location: Nashville, TN

 
DONATE TO ME
Default Re: [Q] how to convert zImage to boot.img

You answered your own question.
Unpack the boty.img and repack with new zImage
What's the best nation on Earth?
DONATION!
The Following 2 Users Say Thank You to studacris For This Useful Post: [ Click to Expand ]
 
Flare106
Old
#3  
Flare106's Avatar
Senior Member - OP
Thanks Meter 25
Posts: 146
Join Date: Oct 2010
Default Re: [Q] how to convert zImage to boot.img

So I was in the right ball park at least.

Sent from my SGH-T989 using Tapatalk 2
 
Flare106
Old
#4  
Flare106's Avatar
Senior Member - OP
Thanks Meter 25
Posts: 146
Join Date: Oct 2010
Default Re: [Q] how to convert zImage to boot.img

Will fastboot boot boot.img work on the galaxy note for testing a kernel? In case I have a borked kernel I want to take precautions so I don't brick my device.

Sent from my SAMSUNG-SGH-T879 using Tapatalk 2
 
studacris
Old
#5  
studacris's Avatar
Recognized Contributor
Thanks Meter 3780
Posts: 5,120
Join Date: Dec 2010
Location: Nashville, TN

 
DONATE TO ME
Default Re: [Q] how to convert zImage to boot.img

No to fastboot.

With a broken kernel you should still be able to button combo into recovery and just flash a working kernel .zip

Or..at the very least be able to boot download mode and use Odin to flash the kernel.
What's the best nation on Earth?
DONATION!
 
Flare106
Old
#6  
Flare106's Avatar
Senior Member - OP
Thanks Meter 25
Posts: 146
Join Date: Oct 2010
Default Re: [Q] how to convert zImage to boot.img

I have gotten the boot.IMG all packed back up and when I flash it, my phone just hangs up at the white Samsung logo screen and does not go any further. Does something in the ramdisk have to be edited?

Tapa-a-Talkit it... Galaxy Note...4.2.1

XDA PORTAL POSTS

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more