Giter Site home page Giter Site logo

giacomoferretti / odex-patcher Goto Github PK

View Code? Open in Web Editor NEW
72.0 4.0 13.0 1.9 MB

Run arbitrary code by patching OAT files

License: Apache License 2.0

Kotlin 90.75% Shell 9.25%
android android-app kotlin kotlin-android oat odex vdex odex-patcher oat-patcher vdex-patcher

odex-patcher's Introduction

Hi there! I'm Giacomo Ferretti πŸ‘‹

Website β€’ Email

Repositories

Here are my favorite personal projects, grouped by category.

πŸ€– Android

Name Description Stars Forks Language
Odex Patcher Run arbitrary code by patching OAT files
Paranoid Deobfuscator Deobfuscate "paranoid" protected apps
Janus Toolkit A collection of tools for the Janus exploit [CVE-2017-13156]

🌐 Browser Extension

Name Description Stars Forks Language
Forks Diff Counter for GitHub A Chrome and Firefox extension to show commits ahead and behind in the "Forks" page.

πŸ“Ά Wi-Fi

Name Description Stars Forks Language
Chopper A channel hopper for monitor mode written in C.
Chopper A channel hopper for monitor mode written in Go.

πŸ“Ά NFC

Name Description Stars Forks Language
NFC SRIX Tools (unmaintained) A collection of tools to read/write NFC ST SRI512 and SRIX4K tags.

πŸŽ“ University

Name Description Stars Forks Language
UNIMI Tools A collection of tools for UniversitΓ  degli Studi di Milano Statale (UNIMI)
Maledetta TreEst (Android) Mobile Computing 2022 project - Maledetta TreEst (Android)
Maledetta TreEst (React Native) Mobile Computing 2022 project - Maledetta TreEst (React Native)
Spotify GCMO Applicazioni Web e Cloud 2022 project - Spotify GCMO

⚑ Recent Activity

  1. ⭐ Starred Genymobile/scrcpy
  2. ❗️ Opened issue #17 in giacomoferretti/paranoid-deobfuscator
  3. ⭐ Starred LSPosed/LSParanoid
  4. ⭐ Starred pmndrs/zustand
  5. ⭐ Starred remotion-dev/remotion

Last Updated: Thursday, May 30th, 2024, 6:13:47 AM

πŸ“ˆ GitHub Stats

⭐ Star History

Star History Chart

odex-patcher's People

Contributors

dhina17 avatar giacomoferretti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

odex-patcher's Issues

MultiDex support

If you try to patch a multidex application, the app won't work. I'm currently working on a fix.

Checksum mismatch

I ain't sure how to use this app. I checked the source and tried it like I understood.

I made an sample apk (just shows a text view) and installed in my device.

Then I modified the app source to show some other text. Compiled and pushed to my device storage.

I tried to patch the installed (old app) (target) with the new apk file (input) using the odex patcher app.

I checked the log. I have seen 'dex checksum mismatch. Expected: some value. Actual: some value'.

Is it the right way to use the app?

Does this app replacing the old dex with the new dex ref in the oat/vdex file? Or is it working in some other way?

A suggestion

Will it be possible to create a separate library for odex patching? Because i need to add the feature in my app for modifying odex with specific injections. It will be useful if you develop it as a library as well :').

PS : I know i can manually move the necessary files into the project, but its somewhat annoying as i would need to update them at every update done by you :')

Fix abi issue

Compile odex and vdex per the instruction set app uses.
Example :
When an app contains arm7 binaries, it compiles odex and vdex with arm7 instruction set.
I am on Arm64 device and trying to do odex patching an app which only contains arm7 binaries. I patched the odex but seems it didnt work, i troubleshooted a bit and found that there was a created a new folder at oat dir, arm64.
But it should compile odex vdex as arm7 not arm64.
Kindly check out the issue

Sort App List by App Name

Also, if possible add a search textbox as well, when we have many apps installed it's a pain.

Anyway, thanks for this amazing tool, working on my android 10 just like a charm

MultiDex patching not working on Android 4.4

On Android 4.4 only the first classes.dex is optimized. The secondary dex files, like classes2.dex, are optimized later using the MultiDex support library and they are store under /data/data/packagename/code_cache/secondary_dexes/packagename.apk.classesN.zip for every file. After extracting the single dex files, the MultiDex support library optimize them and saves them under /data/data/packagename/code_cache/secondary_dexes/packagename.apk.classesN.dex.

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.