odex_patcher icon indicating copy to clipboard operation
odex_patcher copied to clipboard

Android versions

Open Lanchon opened this issue 6 years ago • 1 comments

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!

Lanchon avatar May 29 '19 18:05 Lanchon

You are correct, since 5.0 they made ART the default runtime (on 4.4 was experimental opt-in). You can modify the .odex file to run arbitrary code while maintaining the original application signature.

Based on the code, this version only works from Android 6.0 to 7.1, as on Android 8.0 they added .vdex files and they need to be patched too. Also this doesn't work on x86 and x86_64 devices.

You can basically run whatever you want with the original signature.

If you'd like to try something supporting from 4.4 to 13 check this out: https://github.com/giacomoferretti/odex-patcher (Yes, it's mine)

giacomoferretti avatar Dec 23 '20 20:12 giacomoferretti