decompile apk
1. tool
APK_OneClick from xda develop site
2. site
http://www.decompileandroid.com/
3. editor
sublime2 with smali plugin
use the above two ways to decompile apk files respectively, then use the first one as main branch, take a reference from the second occasionally.