[Tool][Kernel]Xperia_kerneltool-For all Xperia devices

250 posts
Thanks Meter: 1,022
By Dark Wraith, Senior Member on 10th December 2013, 07:10 PM
Post Reply Email Thread
Announcement from Dark Wraith: Xperia Kernel Tools with multiple utilities for all xperia devices
******* Hi all ********

I have developed this little tool containing a few utilities for our Xperia devices



I created this tool to automate the process of kernel compilation for our beloved Xperia devices..In the process i have added a few more utilities like TA partiton backup.

-After completion I added a lot more features like building Cyanogenmod for any device..Kernel tools for a few more devices EFS partition backup..Git tools etc and made a multitool. If you are interested in that multitool then head over to my multitool thread


-Sony Kernel

Unpack Kernel Source

-Create zImage of various devices(any Xperia)

-Extract kernel.sin from ftf file

-Unpack kernel.sin(to get zImage and ramdisk)

-Make dt.img(For Xperia Z1 and Z ultra)

-Make kernel.elf or boot.img depending on device

-Download toolchains

-Unpack boot.img to get zImage and Ramdisk

-Unpack or Repack ramdisk

-Build zImage for a generic kernel(Experimental)

-Backup TA partition for Sony(By dd Method only)

How to install??

Download the tar.gz file from the link above..Place it in your home directory and run the following command in your terminal

tar -xjvf xperia_kerneltool.tar.gz

How to run it??

cd to the folder xperia_kerneltool and type ./menu in your terminal and execute

This tool is only for any linux based distro(Ubuntu,fedora etc) atm and i dont know if it will work in cygwin
You can install vitualbox and install ubuntu or any other linux based distro to use the tool if you are running windows


-xda and its wonderful devs for teaching me everything

-Doomlord for his exceptional threads and tutorials on Xperia devices

-Rickwyatt and Rekoil for Ta partition backup tutorial for Xperia


If i have forgotten anyone then please let me know


Running a 512 mb laptop with a semi crashed hard disk...:p..So any kinds of donations are welcome if you like the tool

>Just donate to my email ID : [email protected]

>I am from India..so personal payment wont work

>Select buy me goods/services and it should work

>You can donate via tool as well.....:)

Mods : Please Move the thread if its in the inappropriate section


-I will keep the thread updated with the latest tool and you can also update the tool through the tool itself

FAQs in the second post

Changelogs in the third post

XDA:DevDB Information
Xperia_kerneltool, a Tool/Utility for the Sony Xperia Acro S

Dark Wraith

Version Information
Status: Alpha

Created 2013-12-10
Last Updated 2013-12-10
The Following 13 Users Say Thank You to Dark Wraith For This Useful Post: [ View ] Gift Dark Wraith Ad-Free
10th December 2013, 07:10 PM |#2  
Dark Wraith's Avatar
OP Senior Member
Flag Bangalore
Thanks Meter: 1,022
Donate to Me

>Why is it giving errors while compiling zImage for Xperia devices????

Answer : You need to add the various makefile and defconfig fixes for the toolchain to work properly

Please refer to this excellent thread by Doomlord for various fixes


>TA partition doesn't work properly

Answer : Please remember to specify the memory block correctly. If you still get an error then please tell me the error so that i can check if the error is from the tool's end

>How to add a toolchain????

Answer : Add it under android_toolchains folder in your home directory

Open the tool and navigate to toolchain_selector script under scripts folder

Add the toolchain name and the correct path as given there in the following format

toolchain_name[the number after the last toolchain name]=
toolchain_path[the number after the last toolchain path] =

>How to clean your kernel work directory?

Answer ; Navigate to the kernel work directory : make clean

I will incorporate this in the next release

>Download toolchains or update tool doesnt work

Answer : make sure you have the git package installed.

Bugs and Suggestions

Please let me know
The Following 9 Users Say Thank You to Dark Wraith For This Useful Post: [ View ] Gift Dark Wraith Ad-Free
13th February 2014, 09:05 PM |#4  
juppi's Avatar
Thanks Meter: 17
Where is the download link?
14th February 2014, 05:56 AM |#5  
Dark Wraith's Avatar
OP Senior Member
Flag Bangalore
Thanks Meter: 1,022
Donate to Me
Originally Posted by juppi

Where is the download link?

Umm..under download tab..dont download this. Download dark multitool. Its there in my signature

Sent from my Micromax A110 using xda app-developers app
Post Reply Subscribe to Thread

develop kernel, kernel compile, kernel tool, ta partition, tool

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes