Skip to content

feil0n9wan9/yaad

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

,--.   ,--.,---.    ,---.  ,------.   
 \  `.'  //  O  \  /  O  \ |  .-.  \  
  '.    /|  .-.  ||  .-.  ||  |  \  : 
    |  | |  | |  ||  | |  ||  '--'  / 
    `--' `--' `--'`--' `--'`-------'  

Yet Another Andorid Decompiler

Migrated from RichieWan9/decompile

Introduction

YAAD is yet another andorid decompiler for reverse engineering android apk, framework jar or optimized apk(odex) from ROM built with user tag. When developing on platform sdk, android build tools export a apk which contains all things(resources, dex, certificate, etc), but in case developing on Android Open Source Project(known as AOSP), it divides into three cases: regular apk, framework jar containing only code and optimized apk(odex) which separates code into odex file from resources in apk. YAAD can detect and handle all these cases automatically.

Usage

USAGE: yaad [options] <apk|jar|odex>

OPTIONS:
-s, --system=<directory>      The directory to look for framework odex files when decomile a odex file.
                              Defaults to the $YAADROOT/system directory.
	
-h, --help                    Print this help and exit.

To decompile a odex file, it also needs a few of framework odex files. What framework odex files needed depend on the optimized apk you are decompiling. The most used framework odex files are android.policy.odex, bouncycastle.odex, core.odex, pm.odex, core-junit.odex, ext.odex and services.odex, which you can pull from /system/framework directory in the device at which your optimized apk is compiled aimed. YAAD will give you tips when needed framework odexs not fond.

TODO

Things that i'd like to do:

  • ✓ decomile regular apk, framework jar and optimized apk(odex)
  • implemeted as POSIX compatible functions
  • should work on sh, dash, bash, ksh, zsh
  • dependencies can upgrade independently
  • improve error handling
  • make it rock!

License

Copyright (c) 2016 Feilong Wang. Licensed under the Apache License Version 2.0

About

Yet another android decompiler.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 71.5%
  • Batchfile 28.5%