I recently wrote about
how to deodex an odex file. Part of the instructions were a series of commands to unpack (decode+disassemble) an APK into some sort of a "source package". I've attached a short shell script (for linux/unix systems) that will use
apktool
,
aapt
and
baksmali
to extract and disassemble the contents of all APKs in the current working directory. It can be useful eg. to disassemble all system apps copied over to your PC from the
/system/app
directory on your phone. And having the sources you can start looking around and track down bugs, etc. Of course you could just download the original (Java) sources from android.googlesource.com, but that would take quite a long time and several gigabytes on your drive.
Recent comments
1 year 43 weeks ago
3 years 12 weeks ago
3 years 12 weeks ago
3 years 14 weeks ago
3 years 15 weeks ago
3 years 22 weeks ago
3 years 22 weeks ago
3 years 22 weeks ago
3 years 22 weeks ago
3 years 23 weeks ago