Decompiling (Part 3)
You may hold SHIFT and right click anywhere in the white space in this folder (Not on an icon), and you will be greeted with "Open command window here". Click that so CMD will open already in your sub-folder. Like shown below:
Lets first get our framework installed. This is a simple command.
apktool if framework-res.apk
The execution of this command is shown below:
Now we are ready for the decompile.
The command is
apktool d MIUIStats.apk(d means decompile, and replacing MIUIStats.apk with the name of your APK)
Now assuming you did the previous steps correctly, the output should be similar to this below.
We are now decompilied. There should be folder in the location of the apktool as the name of your APK. (EX: MIUIStats). Inside that folder is the decompiled APK. Like shown below.
You may edit the XML files located in /res/values-xx/ (Where XX is a the lang country code, like en is English). You may also change parts of the core applications using smali. A tutorial of using it, may be found here: http://code.google.c.../SmaliDebugging
Now that we've done our translations and modified the APK. we are ready to re-compile it.
- Korupt Data likes this