This article is a mirror article of machine translation, please click here to jump to the original article.

View: 7511|Reply: 0

Android Documentation Smali Development Explained [PDF]

[Copy link]
Posted on 1/3/2015 4:34:35 PM | | |
Android Documentation smali Development Detailed Explanation [Word]


First of all, a piece of advice to friends: When you ask anyone a question, one of the important reasons is that you don't understand it, you won't modify it, so you will ask.


So, we have to learn; Do it yourself and get the principle.


As the saying goes: know yourself and know your opponent, and you will be defeated in a hundred battles.

This document is not a development, but an understanding of smali. Because the smali syntax on the market is not complete enough, this document not only fills in the gaps, but also adds some other smali for Android

knowledge.

Document size: 4 MB
Document content: Smail detailed explanation

Document Directory:


Smali development is explained in detail
Overview..................................................................................................................................................... 3
1. Smali Environment ....................................................................................................................................... 4
1.1 Development Environment .............................................................................................................................. 4
1.2 Tool Script .............................................................................................................................. 5
1.2.1 Decompilation and Compilation Tools................................................................................................... 5
1.2.1 Key Generation and Signing Tools............................................................................................... 7
1.2.3 Optimization Tool ................................................................................................................... 8
1.2.4 Packing and Unpacking Tools....................................................................................................... 8
1.2.5 Other Auxiliary Tools......................................................................................................... 10
1.3 Compiling Environment ............................................................................................................................ 11
2. Development process...................................................................................................................................... 12
2.1 APK customization process.................................................................................................................... 12
2.1.1 Mounting the framework...................................................................................................... 12
2.1.2 Decompiling APKs............................................................................................................ 13
2.1.3 Modifying Smali Code..................................................................................................... 13
2.1.4 Recompile and Sign APKs................................................................................................ 15
2.2 Android System Customization Process....................................................................................................... 16
2.2.1 Unlocking BootLoader..................................................................................................... 17
2.2.2 Customizing Boot.img......................................................................................................... 17
2.2.3 Customize Recovery.img................................................................................................. 20
2.2.4 Smali .............................................................................................................. 22
2.2.5 Version Iteration and Release ..................................................................................................... 27
3. Breakpoint Debugging ...................................................................................................................................... 28
3.1 Debugging Environment ............................................................................................................................ 28
3.2 Debugging Steps............................................................................................................................ 28
4. Practical exercises...................................................................................................................................... 31
4.1 Hello World......................................................................................................................... 31
4.2 Removing Ads from APKs.......................................................................................................... 32
4.3 Customizing the Android System................................................................................................ 33
5. FAQs...................................................................................................................................... 42
5.1 Abnormal .................................................................................................................... at boot 42
5.2 Abnormal communication function.................................................................................................................... 43
5.3 Unable to swipe the card and swipe the package................................................................................................................ 44
References........................................................................................................................................... 45
Appendix................................................................................................................................................... 46
A. Smali Syntax ............................................................................................................................ 46
Terminology addressed in this article............................................................................................................. 49


Smali开发详解.part1.rar (1 MB, Number of downloads: 3)
Smali开发详解.part2.rar (1 MB, Number of downloads: 1)
Smali开发详解.part3.rar (838.92 KB, Number of downloads: 1)





Previous:Linux command to modify files and save how to use them
Next:In Linux, you can view hardware information such as CPU information and machine model
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com