Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Baksmali to Smali
rigby:contents diff$ ls -l
total 12600
-rw-r--r-- 1 diff staff 13268 Dec 31 1979 AndroidManifest.xml
drwxr-xr-x 6 diff staff 204 Sep 12 14:03 META-INF
-rw-r--r-- 1 diff staff 623 Dec 31 1979 androidannotations-api.properties
drwxr-xr-x 4 diff staff 136 Sep 12 14:03 assets
-rw-r--r-- 1 diff staff 939 Dec 31 1979 build-data.properties
-rw-r--r-- 1 diff staff 5646628 Dec 31 1979 classes.dex
drwxr-xr-x 3 diff staff 102 Sep 12 14:03 jsr305_annotations
drwxr-xr-x 5 diff staff 170 Sep 12 14:03 lib
drwxr-xr-x 54 diff staff 1836 Sep 12 14:03 res
-rw-r--r-- 1 diff staff 774628 Dec 31 1979 resources.arsc
rigby:contents diff$ baksmali classes.dex -o baksmali
rigby:contents diff$ cd baksmali/
rigby:baksmali diff$ ls -l
total 0
drwxr-xr-x 63 diff staff 2142 Sep 12 14:03 a
drwxr-xr-x 3 diff staff 102 Sep 12 14:03 android
drwxr-xr-x 3 diff staff 102 Sep 12 14:03 ch
drwxr-xr-x 9 diff staff 306 Sep 12 14:03 com
drwxr-xr-x 59 diff staff 2006 Sep 12 14:03 okhttp3
drwxr-xr-x 33 diff staff 1122 Sep 12 14:03 okio
drwxr-xr-x 4 diff staff 136 Sep 12 14:03 org
rigby:baksmali diff$ java -jar ~/bin/smali-2.2b4.jar ass .
rigby:baksmali diff$ ls -l
total 11048
drwxr-xr-x 63 diff staff 2142 Sep 12 14:03 a
drwxr-xr-x 3 diff staff 102 Sep 12 14:03 android
drwxr-xr-x 3 diff staff 102 Sep 12 14:03 ch
drwxr-xr-x 9 diff staff 306 Sep 12 14:03 com
drwxr-xr-x 59 diff staff 2006 Sep 12 14:03 okhttp3
drwxr-xr-x 33 diff staff 1122 Sep 12 14:03 okio
drwxr-xr-x 4 diff staff 136 Sep 12 14:03 org
-rw-r--r-- 1 diff staff 5654096 Sep 12 14:03 out.dex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment