Default Simple Guide to use Apktool

1) Install the framework

Code:
apktool if framework-res.apk
2) decompile .apk (e.g Settings.apk)

Code:
apktool d Settings.apk
3) make Your mods

4) First Settings recompilation

Code:
apktool b Settings

PAY ATTENTION!!


5) Go to Settings/dist folder, delete the first compiled Settings

6) Open Settings/build/apk folder

7) Open the original Settings.apk using Winrar or 7zip

8) Drag&Drop META-INF folder and androidmanifest.xml inside /build/apk folder overwriting everything

9) 2nd Recompile back

Code:
apktool b Settings
10) Use the flashable zip

http://forum.xda-developers.com/atta...7&d=1392114807

to push /dist/Settings.apk via a recovery


done
If You liked my works please consider a donation to help Alyssia, I will greatly appreciate

Note: I do not answer technical questions or mods requests via pm/hangouts! Use the forum, I say!