GithubHelp home page GithubHelp logo

jareddantis / simple-deodexer Goto Github PK

View Code? Open in Web Editor NEW
17.0 4.0 11.0 16.17 MB

A simple Android application deodexer for Linux & macOS

Shell 100.00%
android linux macos deodex smali baksmali

simple-deodexer's Introduction

simple-deodexer

A simple Android application deodexer for Linux & macOS.

Includes

  • zipalign binaries for Linux and macOS (from android build-tools 27.0.2)
  • baksmali/smali 2.2.2
  • oat2dex 0.88

Usage

$ chmod a+x ./deodex.sh
$ ./deodex.sh -h
  Usage: ./deodex.sh <options>
         e.g. "./deodex.sh -l 19"
  ---------------------------------------------------
  Options:
      -d <dir>   Use <dir> as base directory instead of triage/
      -f <dir>   Only deodex apps in triage/<dir>.
      -g         Display API level list
      -h         Display this help message
      -l <num>   Use API level <num>. REQUIRED!
      -z         Only zipalign apps and exit

Supported Android versions

Android 8.0 and below are currently supported. (7.1.x and below have been tested.)

To check the currently supported versions:

$ ./deodex -g

simple-deodexer's People

Contributors

jareddantis avatar joshuous avatar sthocs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

simple-deodexer's Issues

Unsupported oat version: 45

Is that error coming because the included oat2dex.jar is not right or the file I am de odexing is a non compatible version?

unable to decompile

android 8.0 miui system

Deodexing /app

  • AnalyticsCore.apk

    • baksmaling oat/arm64/AnalyticsCore.vdex
      Exception in thread "main" org.jf.dexlib2.DexFileFactory$UnsupportedFileTypeException: oat\arm64\AnalyticsCore.vdex is not an apk, dex, odex or oat file.
      at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:135)
      at org.jf.baksmali.DexInputCommand.loadDexFile(DexInputCommand.java:144)
      at org.jf.baksmali.DisassembleCommand.run(DisassembleCommand.java:161)
      at org.jf.baksmali.Main.main(Main.java:102)

    ! unable to decompile oat/arm64/AnalyticsCore.vdex

Odex file not found

There are odex files in /framework but are not revealed by the script. API 27

usage

Hello,

How do I use it? I have triage/priv-app/Dialer dir, Dialer.apk in it, and oat/arm subdir with Dialer.odex.
Running ./deodex.sh -f triage/priv-app/Dialer gives:
Invalid folder "triage/priv-app/Dialer" specified.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.