Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
View Poll Results: Was This Thread Helpful?
Yes: If Yes! Then Press Thanks Button! 1 25.00%
No: If No! Then Ignore This! 3 75.00%
Voters: 4. You may not vote on this poll

Post Reply

Wink [TUT]Extract kernel "zimage" From boot.img and Convert to .tar and Flash using Odin

OP exceptionalkhan

20th December 2013, 06:25 PM   |  #1  
exceptionalkhan's Avatar
OP Member
Flag Swat
Thanks Meter: 30
 
62 posts
Join Date:Joined: Apr 2013
More
[Extremely Noob GUIDE]Since there is no explained and easy Guide to Extract Kernel [zimage] and Ramdisk [Ramdisk] from Boot.img, Then Convert it to zimage.tar and Flash it using Odin
Well here it is step by step:

Note: This Method is used to Extract Kernels form Stock Rom's Boot.img
First you need to install Python, which is round about 17MBs software freely available on python website.
Step 1:Download the attached Python script named "split_boot_img" from attachments down Below, Extract it and copy to the folder created in Step 2.

Step 2:Create a folder with any name you like. I recommend "boot.img extraction".

Step 3: Copy the boot.img, you want to extract, to the folder you created in Step 2.

Step 4: Run the script named "split_boot_img"by double-clicking and see the magic.

Congratulations!!! Here you go. the "zimage" and "ramdisk" files are extracted.

Now the Conversion Part:

Step 1: Download this IZARC software and install it from Here:http://www.izarc.org/download.html

Step 2: Open the folder created in First-Step 2.

Step 3: Right Click the ziamge File Extracted from boot.img. as in Image 1 in attachments.

Step 4: Select add to archive file from IzArc right click options as in Image 1 in attachments.

Step 5: Now scroll the Archiving type to ".tar" as in Image 2 in attachments.

Step 6: Click the Add button as in Image 3 in attachments.

Last Step: Now flash the "zimage" file created in Step 6 Using Odin.





split_boot_img.zip

Image 1: Click image for larger version

Name:	1.jpg
Views:	274
Size:	103.6 KB
ID:	2466463

Image 2: Click image for larger version

Name:	2.jpg
Views:	226
Size:	116.9 KB
ID:	2466464

Image 3:Click image for larger version

Name:	3.jpg
Views:	225
Size:	109.9 KB
ID:	2466465
Last edited by exceptionalkhan; 14th January 2014 at 02:44 PM.
The Following 2 Users Say Thank You to exceptionalkhan For This Useful Post: [ View ]
26th March 2014, 09:08 AM   |  #2  
Junior Member
Flag UNA
Thanks Meter: 0
 
6 posts
Join Date:Joined: Sep 2013
More
Thumbs down Not Working
extraction doesn't work for me :/
26th March 2014, 09:18 AM   |  #3  
exceptionalkhan's Avatar
OP Member
Flag Swat
Thanks Meter: 30
 
62 posts
Join Date:Joined: Apr 2013
More
Quote:
Originally Posted by shivasharmaarya

extraction doesn't work for me :/

Did you follow till last step. What message did you get?
26th March 2014, 12:19 PM   |  #4  
Junior Member
Flag UNA
Thanks Meter: 0
 
6 posts
Join Date:Joined: Sep 2013
More
yes
Quote:
Originally Posted by exceptionalkhan

Did you follow till last step. What message did you get?

Python script of yours is not working.Its giving error which flashes for microsecond and i am unable to see it
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes