安卓8.0合并ODEX教程和工具
编译过程:
- Clone this repository
- Install Android NDK if you want to cross-compile for Android devices
- Invoke make.sh bash script with desired build target
- $ ./make.sh – if CC not defined from env use gcc by default
- $ ./make.sh gcc – compile with gcc
- $ ./make.sh clang – compile with clang
- $ ./make.sh cross-android – cross-compile (armeabi-v7a, arm64-v8a, x86 & x86_64) for Android with NDK
- Executables are copied under the bin directory
- For debug builds use $ DEBUG=true ./make.sh
使用方法:
- $ bin/vdexExtractor -h
- vdexExtractor ver. 0.4.1
- Anestis Bechtsoudis <anestis@census-labs.com>
- Copyright 2017 – 2018 by CENSUS S.A. All Rights Reserved.
- -i, –input=<path> : input dir (search recursively) or single file
- -o, –output=<path> : output path (default is same as input)
- -f, –file-override : allow output file override if already exists (default: false)
- –no-unquicken : disable unquicken bytecode decompiler (don’t de-odex)
- –deps : dump verified dependencies information
- –dis : enable bytecode disassembler
- –ignore-crc-error : decompiled Dex CRC errors are ignored (see issue #3)
- –new-crc=<path> : text file with extracted Apk or Dex file location checksum(s)
- -v, –debug=LEVEL : log level (0 – FATAL … 4 – DEBUG), default: ‘3’ (INFO)
- -l, –log-file=<path>: save disassembler and/or verified dependencies output to log file (default is STDOUT)
- -h, –help : this help
下载地址:
隐藏内容:
********,
打赏¥2下载
另外,还有一个方案实现odex以及vdex合并成dex的方案,基于oat2dex baksmali改的,所以是java程序,安装jre即可跑。
实测可以合并成dex,但dex文件明显比vdexExtractor合并出来的小,dex能输出smali,但jadx打不开dex文件
本文摘自 宅科技极客社区-bbs.zecoki.com
这里真心不错,每次来都有新收获!
三天两头过来看一看,每次看完都有新体验!
转眼已到年中,时间过的真快,忙里偷闲,看看博客,散散心!