[Android Software/Hacking General [Developers Only]] Dark Wraith:
******* Hi all ********​

I have developed this little tool containing a few utilities that should help anyone do a host of stuff like building Cyanogenmod..Compiling kernels..Play with ADB..GIt tools..etc​

DARK_Multitool1.0​

My tool is divided into five Modules(More to come in future if people find it useful)​

Module 1 : CyanogenMod Tools

- Installing the necessary libraries for compiling Cyanogenmod

- Initializing your repository and getting the Cyanogenmod source code

- Getting prebuilt apps/Device proprietary blobs

- Building Cyanogenmod for your device

Module 2 : ADB tools

- Creating logcat to debug your phone

- Installing apps via ADB

- Push/Pull stuff to/from your android device

Module 3 : Kernel tools

-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

Test your kernel.elf/boot.img without flashing fully(Test run)

-Nexus Kernel

Getting the source code

Checkout the source code

Building zImage

-Samsung kernel

(Is under development as i develop for Xperia devices and not too familiar with samsung atm)

-Download toolchains

-Unpack boot.img to get zImage and Ramdisk

pearl script unpack or umkbootimg unpack

-Unpack or Repack ramdisk

-Build zImage for a generic kernel(Experimental)

-Take kernel log : Thanks @ricky310711 for the commit

Module 4 : Backup TA partition for Sony or EFS partition on samsung

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

-Backup or restore efs partition for Samsung(tar or dd method)

Module 5 : GIT tools

-Download GIT package on your linux

-Change directory where you want to initialize git

-Git repository setup(New git setup/Changes to old git setup)

-Update your local and remote git repository

-Commit your additions/deletions

-Push/Pull to/from your github repository

-Automatic push commits to your repository(After git setup is done)

-Download any repository using GIT

Download link

Dark_multitool1.0(With Update 1)

Update 2 added...Will upload soon..You can download this and update via tool to the latest version

Its better to download from XDA DevDB. You can either use the link above or click on downloads on top of the thread to download

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 dark_multitool1.0.gz

How to run it??

cd to the folder dark_multitool1.0 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(Tested on Cygwin by kevinrus123 : Some utilities are working)

You can install vitualbox and install ubuntu or any other linux based distro to use the tool if you are running windows

Credits

-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

-Google.com

If i have forgotten anyone then please let me know

Donations

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 : somik.chowhdury1926@gmail.com

>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.....:)

Sources

My github source : https://github.com/Smk1989/dark_multitool1.0

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

Updates

Latest update = Update 1

-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

[TOOL][ANDROID]Dark_Multitool-CyanogenMod building.kernel developMent.ADB tool..etc.., a Tool/Utility for the Android General

Contributors

Dark Wraith

Version Information

Status: Alpha

Created 2013-12-11

Last Updated 2014-01-03