GithubHelp home page GithubHelp logo

odex_patcher's Introduction

odex_patcher for Android

An .odex file is an Optimized .dex file (hence the 'o'), meaning that it has been optimized for a specific platform. The advantage to this is that startup time is much faster since the VM doesn't have to perform any optimizing at startup/runtime. When an app is installed, the system will create an odex file (based on the dex file inside apk file) to optimize the startup time. This means that when an app is launched, the system will use the odex file, not the original dex file inside the apk. Thus, we can directly modify the odex file to patch the app, without re-installation. But of course, we need root access to do the patch. This app is designed to achieve such goal.
Please be noted: the code is not well arranged, as most of them are directly copied from APK Editor. If you like it, please help to improve it.

How to Use

Step 1: Compile and Install Odex Patcher

Please use APK Builder (https://play.google.com/store/apps/details?id=com.gmail.heagoo.apkbuilder) to compile it:
https://youtu.be/Lp-hQU2IfxI

Step 2: Modifiy an app

Modify app with APK Editor Pro (https://play.google.com/store/apps/details?id=com.gmail.heagoo.apkeditor.pro), here is an example:
https://youtu.be/cvgpwVID2qk
You could also use apktool to edit the smali code on PC.

Step 3: Patch the app with Odex Patcher

Open Odex Patcher, select the apk generated in Step 2, and then click at the "Pacth" button:
https://youtu.be/e835a7lg9cE

odex_patcher's People

Contributors

heagoo avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

odex_patcher's Issues

Android versions

which android versions does this work on?

ever since 5.0 android does ahead of time compilation to native code. how does patching an odex help?

thanks!

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.