[KERNEL][GUIDE][CONVERSION]Convert kernel zip to tar

What is your favourite kernel?

  • DorimanX kernel

    Votes: 40 19.4%
  • Apolo Kernel

    Votes: 33 16.0%
  • Siyah Kernel - Nothing beats the original! :)

    Votes: 24 11.7%
  • Gustavo Kernel

    Votes: 52 25.2%
  • Speedmod Kernel

    Votes: 1 0.5%
  • Stock Kernel - Stock is all I need! :)

    Votes: 18 8.7%
  • Lanchon's Kernel

    Votes: 6 2.9%
  • What is a kernel?

    Votes: 32 15.5%

  • Total voters
    206
Search This thread

Saber

Inactive Recognized Contributor
Apr 9, 2014
4,046
8,479
Melbourne
joshualay.xyz
Xiaomi Poco F3
Convert kernel zip to tar tool

It is time to create this thread to help people out who don't simply know how to convert a recovery flashable kernel to a ODIN flashable kernel. I know this is in other forums already but why not make it more convenient for others too?

Update: There are other guides too all over XDA, but it seems my one is better explained! :)

Check post #4 to see pre-made tar kernels: http://forum.xda-developers.com/showpost.php?p=57974756&postcount=4

Notice: I am no longer updating the files I provide now. If there is a newer kernel version available and you want to find a tar file for it, you will have to make it yourself.

Disclaimer

#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/


What you need:
- A kernel in .zip format
- The kernel conversion files (Provided in the attachments)
- A PC (preferably Windows, use JOdin for linux and OS X)
- A archiving/compression utility such as 7-zip or winrar. I recommend 7-zip because it is for free and it is open source.
- ODIN (to flash the kernel of course, again use JOdin for linux and OS X). Also, I have made ODIN installation easier with fewer options! :)

Instructions
1. Download the CreateTarForKernel.zip attached
2. Extract the CreateTarForKernel.zip, it is recommended to put all of these files in a new folder to avoid confusion
3. Download a kernel zip and extract it in the CreateTarForKernel folder.
4. If you haven't unticked hide extensions for known file types, go to start, search for folder options then go on it, click on the view tab and uncheck hide extensions for known file types, click apply and close the window.
5. Rename the boot.img (or whatever is the name .img) to zImage (remove the .img). If there is a zImage in the kernel zip already, you don't have to do this step. Some kernels have the zImage stored in different folders inside the archive, in this case, you will just have to find the zImage file and move it to the root directory of the createtarforkernel folder.
6. Launch tar.bat
7. Once completed, you can change the tar name to whatever you want, I personally like to keep the file name the same as the name of the kernel zip but I add '-for ODIN' at the end.
8. This is just an extra step but to ensure that you have done the conversion properly, look at the converted kernel tar file size. (It should be about the same size as the kernel zip file with the exception that some kernel zips have extra files in them such as dorimanX, kernels are usually more than 6.0 MB in size)
9. And flash KERNEL.tar or {whatever}.tar with Odin (AP or PDA)

If you like a kernel that has been included in a ROM but doesn't have a separate kernel zip file to flash, you can use this tool to do the same thing and flash the kernel that you like!

I've also included ODIN and Samsung drivers in the attachments

Thanks to exadeci for providing the conversion program to xda and thanks to TrollFactory for making the tool!
 

Attachments

  • CreateTarForKernel.zip
    738.3 KB · Views: 25,001
  • SAMSUNG_USB_Driver_for_Mobile_Phones_1.5.49.0.zip
    15.7 MB · Views: 5,640
  • Odin_for_i9100.zip
    456.2 KB · Views: 7,594
Last edited:

Saber

Inactive Recognized Contributor
Apr 9, 2014
4,046
8,479
Melbourne
joshualay.xyz
Xiaomi Poco F3
Pre-made tar files for our phone:

Apolo Kernel: https://drive.google.com/folderview?id=0B3ApZsjOd2bzRk5zc19RVnI3c0k&usp=sharing
Mirror: https://mega.co.nz/#F!m1hzlIxD!mDqvHOW77NJbK8g1ETnKEQ

Gustavo Kernel: https://drive.google.com/folderview?id=0B3ApZsjOd2bzMzFsMVRHTlBUMXM&usp=sharing
Mirror: https://mega.co.nz/#F!fx4DlRRS!MVYghmREhtpg2w1OofnOew

DorimanX Kernel: https://drive.google.com/folderview?id=0B3ApZsjOd2bzWjBBMHc2SWNUSlE&usp=sharing
Mirror: https://mega.co.nz/#F!j8wilbYJ!adiuLhb3fJvdCb57O6_ZpQ

Isorec CM12.1 and CM13 Kernel: https://drive.google.com/folderview?id=0B3ApZsjOd2bzRkoxbGRUMjQzZ3M&usp=sharing
Mirror: https://mega.nz/#F!f1o3VbIa!3ZbDEObxiAp1n_gJ4GEGpQ

TWRP CM12.1 Kernel: https://drive.google.com/open?id=0B3ApZsjOd2bzdkI0akNNVTJMeFk
Mirror: https://mega.nz/#F!mxxAgBxK!ghPUMOnHxyCSQFvejp3srw

GeniSys LP Kernel: http://forum.xda-developers.com/showpost.php?p=60824013&postcount=3

If you have trouble with google drive, try the mirror link. If mega doesn't work on your browser, download google chrome or firefox and try the links again :)

Links updated on 07/11/2016

Thanks to Dorimanx, cybernetus, computoncio, gustavo_s, pedestre, Lanchon, arnab for their wonderful kernels!
 
Last edited:

Saber

Inactive Recognized Contributor
Apr 9, 2014
4,046
8,479
Melbourne
joshualay.xyz
Xiaomi Poco F3
Uploading DorimanX and gustavo odin flashable kernels to mediafire.... Will also upload ancient DorimanX versions for people who don't like to upgrade, ancient versions are extremely hard to find like finding gold and dorimanX has deleted the stable verion of v7 too. :)

Update: All uploaded now!
 
Last edited:

Saber

Inactive Recognized Contributor
Apr 9, 2014
4,046
8,479
Melbourne
joshualay.xyz
Xiaomi Poco F3
Sorry, DorimanX 7.26 is for ICS, or stock JB?

Sent from my GT-I9100 using Tapatalk

7.26 is for JB and for ICS. It is a stable kernel (Perhaps more stable than any other for stock JB) but it isn't available to download anywhere. But don't worry, I'm found a way to bring it back. :)

It can be agreed that:
10.44 is the most stable for KK
7.26 is the most stable for JB
5.92 is the most stable for ICS

V8 was ok on JB but AFAIK the official version were still buggy (seems to be fixed with unofficial builds).
 
Last edited:

Saber

Inactive Recognized Contributor
Apr 9, 2014
4,046
8,479
Melbourne
joshualay.xyz
Xiaomi Poco F3
V8 is buggy with default profile on stock JB rom. I don't know why. Scrolling is not good.

Thank you for the kernel.

You're talking about the one I uploaded right? Because those were the builds from computoncio. I'm pretty sure that the best version for 8.44 was v004. I will upload the official stable dorimanx v8.43 when I have time. You may have to adjust some of the settings using stweaks. Don't know if dorimanx removed the bus up threshold setting which severely affects responsiveness.
 
Last edited:

Zile995

Senior Member
Apr 27, 2014
1,593
1,898
Belgrade
You're talking about the one I uploaded right? Because those were the builds from computoncio. I'm pretty sure that the best version for 8.44 was v004. I will upload the official stable dorimanx v8.43 when I have time. You may have to adjust some of the settings using stweaks. Don't know if dorimanx removed the bus up threshold setting which severely affectes responsiveness.

I am talking about official v8.43. It is laggy.

Btw: This Kernel_Dorimanx-V7.26-ICS-JB-13-08--29-11-12-SG2-PWR-CORE.zip is not for JB stock?!. Look at build date.
 

bart.found

Senior Member
Feb 20, 2014
942
351
41
Scicli
Pre-made tar files for our phone:

Apolo Kernel: https://drive.google.com/folderview?id=0B3ApZsjOd2bzRk5zc19RVnI3c0k&usp=sharing
Mirror: https://mega.co.nz/#F!m1hzlIxD!mDqvHOW77NJbK8g1ETnKEQ

Gustavo Kernel: https://drive.google.com/folderview?id=0B3ApZsjOd2bzMzFsMVRHTlBUMXM&usp=sharing
Mirror: https://mega.co.nz/#F!fx4DlRRS!MVYghmREhtpg2w1OofnOew

DorimanX Kernel: https://drive.google.com/folderview?id=0B3ApZsjOd2bzWjBBMHc2SWNUSlE&usp=sharing
Mirror: https://mega.co.nz/#F!j8wilbYJ!adiuLhb3fJvdCb57O6_ZpQ

Because I'm one of the nicest guys around here, I decided to update the apolo kernel link one last time. :) However, I am no longer updating the files I provide for now on. If there is a newer kernel version available and you want to find a tar file for it, you will have to make it yourself.

If you have trouble with google drive, try the mirror link. If mega doesn't work on your browser, download google chrome or firefox and try the links again :)

Links updated on 21/02/2015 03:47PM AEST

Thanks to Dorimanx, cybernetus, computoncio, gustavo_s, pedestre for their wonderful kernels!

Thanks mate! You saved my life! :D
 
Pre-made tar files for our phone:

Apolo Kernel: https://drive.google.com/folderview?id=0B3ApZsjOd2bzRk5zc19RVnI3c0k&usp=sharing
Mirror: https://mega.co.nz/#F!m1hzlIxD!mDqvHOW77NJbK8g1ETnKEQ

Gustavo Kernel: https://drive.google.com/folderview?id=0B3ApZsjOd2bzMzFsMVRHTlBUMXM&usp=sharing
Mirror: https://mega.co.nz/#F!fx4DlRRS!MVYghmREhtpg2w1OofnOew

DorimanX Kernel: https://drive.google.com/folderview?id=0B3ApZsjOd2bzWjBBMHc2SWNUSlE&usp=sharing
Mirror: https://mega.co.nz/#F!j8wilbYJ!adiuLhb3fJvdCb57O6_ZpQ

If you have trouble with google drive, try the mirror link. If mega doesn't work on your browser, download google chrome or firefox and try the links again :)

Links updated on 28/03/2015 08:04PM AEST

Thanks to Dorimanx, cybernetus, computoncio, gustavo_s, pedestre for their wonderful kernels!


what is difference between lp-kernel-14-03-TWRP-TRIM-for ODIN.tar and lp-kernel-14-03-TWRP-for ODIN.tar on Gustavo kernel?are these kernels for samsung galaxy s2 i9100?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 36
    Convert kernel zip to tar tool

    It is time to create this thread to help people out who don't simply know how to convert a recovery flashable kernel to a ODIN flashable kernel. I know this is in other forums already but why not make it more convenient for others too?

    Update: There are other guides too all over XDA, but it seems my one is better explained! :)

    Check post #4 to see pre-made tar kernels: http://forum.xda-developers.com/showpost.php?p=57974756&postcount=4

    Notice: I am no longer updating the files I provide now. If there is a newer kernel version available and you want to find a tar file for it, you will have to make it yourself.

    Disclaimer

    #include <std_disclaimer.h>
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this kernel
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */


    What you need:
    - A kernel in .zip format
    - The kernel conversion files (Provided in the attachments)
    - A PC (preferably Windows, use JOdin for linux and OS X)
    - A archiving/compression utility such as 7-zip or winrar. I recommend 7-zip because it is for free and it is open source.
    - ODIN (to flash the kernel of course, again use JOdin for linux and OS X). Also, I have made ODIN installation easier with fewer options! :)

    Instructions
    1. Download the CreateTarForKernel.zip attached
    2. Extract the CreateTarForKernel.zip, it is recommended to put all of these files in a new folder to avoid confusion
    3. Download a kernel zip and extract it in the CreateTarForKernel folder.
    4. If you haven't unticked hide extensions for known file types, go to start, search for folder options then go on it, click on the view tab and uncheck hide extensions for known file types, click apply and close the window.
    5. Rename the boot.img (or whatever is the name .img) to zImage (remove the .img). If there is a zImage in the kernel zip already, you don't have to do this step. Some kernels have the zImage stored in different folders inside the archive, in this case, you will just have to find the zImage file and move it to the root directory of the createtarforkernel folder.
    6. Launch tar.bat
    7. Once completed, you can change the tar name to whatever you want, I personally like to keep the file name the same as the name of the kernel zip but I add '-for ODIN' at the end.
    8. This is just an extra step but to ensure that you have done the conversion properly, look at the converted kernel tar file size. (It should be about the same size as the kernel zip file with the exception that some kernel zips have extra files in them such as dorimanX, kernels are usually more than 6.0 MB in size)
    9. And flash KERNEL.tar or {whatever}.tar with Odin (AP or PDA)

    If you like a kernel that has been included in a ROM but doesn't have a separate kernel zip file to flash, you can use this tool to do the same thing and flash the kernel that you like!

    I've also included ODIN and Samsung drivers in the attachments

    Thanks to exadeci for providing the conversion program to xda and thanks to TrollFactory for making the tool!
    30
    Pre-made tar files for our phone:

    Apolo Kernel: https://drive.google.com/folderview?id=0B3ApZsjOd2bzRk5zc19RVnI3c0k&usp=sharing
    Mirror: https://mega.co.nz/#F!m1hzlIxD!mDqvHOW77NJbK8g1ETnKEQ

    Gustavo Kernel: https://drive.google.com/folderview?id=0B3ApZsjOd2bzMzFsMVRHTlBUMXM&usp=sharing
    Mirror: https://mega.co.nz/#F!fx4DlRRS!MVYghmREhtpg2w1OofnOew

    DorimanX Kernel: https://drive.google.com/folderview?id=0B3ApZsjOd2bzWjBBMHc2SWNUSlE&usp=sharing
    Mirror: https://mega.co.nz/#F!j8wilbYJ!adiuLhb3fJvdCb57O6_ZpQ

    Isorec CM12.1 and CM13 Kernel: https://drive.google.com/folderview?id=0B3ApZsjOd2bzRkoxbGRUMjQzZ3M&usp=sharing
    Mirror: https://mega.nz/#F!f1o3VbIa!3ZbDEObxiAp1n_gJ4GEGpQ

    TWRP CM12.1 Kernel: https://drive.google.com/open?id=0B3ApZsjOd2bzdkI0akNNVTJMeFk
    Mirror: https://mega.nz/#F!mxxAgBxK!ghPUMOnHxyCSQFvejp3srw

    GeniSys LP Kernel: http://forum.xda-developers.com/showpost.php?p=60824013&postcount=3

    If you have trouble with google drive, try the mirror link. If mega doesn't work on your browser, download google chrome or firefox and try the links again :)

    Links updated on 07/11/2016

    Thanks to Dorimanx, cybernetus, computoncio, gustavo_s, pedestre, Lanchon, arnab for their wonderful kernels!
    5
    OP has been updated with new pre-made kernel .tar files.

    I have included the latest CM12.1 TWRP kernel for people with bricked phones after flashing CM12.1. DorimanX and Gustavo Kernel links have been updated.

    Regards, gsstudios
    2
    Sorry, DorimanX 7.26 is for ICS, or stock JB?

    Sent from my GT-I9100 using Tapatalk

    7.26 is for JB and for ICS. It is a stable kernel (Perhaps more stable than any other for stock JB) but it isn't available to download anywhere. But don't worry, I'm found a way to bring it back. :)

    It can be agreed that:
    10.44 is the most stable for KK
    7.26 is the most stable for JB
    5.92 is the most stable for ICS

    V8 was ok on JB but AFAIK the official version were still buggy (seems to be fixed with unofficial builds).