Yin
Yin

Reputation: 643

(to manipulate a dex file) how to disassemble(like dexdump), modify(byte code in text), then assemble to dex again

I want to modify the byte code of ".dex" file in text format, and then assemble the text to dex file again. Have to make sure the final ".apk" is usable.

I want to know some tools rather than make an assembler all by myself.

Upvotes: 1

Views: 1593

Answers (1)

JesusFreke
JesusFreke

Reputation: 20292

smali/baksmali is exactly what you want.

Upvotes: 3

Related Questions