About Android's anti-compilation tool, I believe that everyone is not unfamiliar
such as Apk-tool,dex2jar
Apk-tool to decompile a layout file
Http://code.google.com/p/android-apktool/downloads/list
Dex2jar used to decompile Dex into a. jar Package
:http://code.google.com/p/dex2jar/downloads/list
Generated jar packages can be viewed with Jd-gui (provided the code is not obfuscated)
But if we extract the APK from ROM, we can't decompile the source code.
Because the Android system will extract Dex from the APK to Odex (both executables) in order to speed up the startup time of the built-in application
So that's why we need to convert Odex to Dex before we decompile.
This requires the following four files:
:http://code.google.com/p/smali/downloads/list
However, in the anti-compilation Odex when the source file is not enough, but also rely on the Odex ROM inside the framework, depending on the extent of the situation, the simplest way is to copy all the Odex under the framework.
The following is a red-rice ROM, for example, decompile the phone resource
Shown
Place the dependent Odex file under the system\framework.
Enter Java-jar baksmali-2.0.3.jar-d./system/framework-x phone.dex
The Out folder is generated normally
Re-enter java-jar smali-2.0.3.jar out/-o classes.dex
The Class.dex of the package generation is what we want.
Attached below is a test resource file
http://download.csdn.net/detail/geniuseoe2012/7352757
Heart than action, hurry to try it!