Existing Forms and locations of installed Android programs

Source: Internet
Author: User

On Android Systems, ApplicationsProgramWhere can I install it?

According to your experience, the system applications are installed in the/system/APP/directory to express an application together with the APK and odex files;

The software installed by yourself is installed in the/data/APP directory, and also exists in the APK format.

There seems to be no problem, but why can't I find many programs under these two directories?

Because in addition to these two directories, it can also exist in other directories, while understanding, while looking for it.

1. Existing Forms of applications installed on Android:

First, you must have an APK. Otherwise, this program is not installed. You can try

Try to delete the file, and the program will disappear from the system immediately;

Secondly, it is definitely not in the APK format during the running process. Yes, the APK program runs on the Dalvik Virtual Machine (that is, a Java Virtual Machine). It is easy to think that the APK has to be unwrapped,

Check the/data/Dalvik-cache directory. The extracted Dex file is shown below.

Finally, some files are stored in the/data directory, including databases and Lib libraries.

2. How to locate the APK accurately

Developers generally want to find the APK file so that they can decompile it and obtain the desired technical points.

1) enable the USB debugging mode and retrieve the/data/system/packages. xml file.

2) Search for the software you are looking for. For example, the following section shows the codepath.

<Package name = "com. zplus "codepath ="/mnt/ASEC/COM. zplus-2/pkg.apk "nativelibrarypath ="/mnt/ASEC/COM. zplus-2/lib "Flags =" 262144 "Ft =" 13325271c40 "It =" 133243167eb "ut =" 1332527411a "version =" 5 "userid =" 10161 "> <Sigs COUNT =" 1 "> <Cert Index =" 4 "Key =" external "/> </Sigs> <perms> <item name =" com. android. launcher. permission. install_shortcut "/> <item name =" android. permission. read_phone_state "/> <item name =" android. permission. camera "/> <item name =" android. permission. send_sms "/> <item name =" android. permission. write_external_storage "/> <item name =" android. permission. internet "/> <item name =" android. permission. access_fine_location "/> <item name =" android. permission. access_coarse_location "/> <item name =" android. permission. read_contacts "/> <item name =" android. permission. call_phone "/> <item name =" android. permission. access_mock_location "/> <item name =" android. permission. access_network_state "/> </perms>

</Package>

The last note is that you do not need the root permission to use ADB to obtain this file. (I tested that no root 2.2 and no root 2.3 are OK)

If you think the above method to obtain the APK is troublesome, you can use the 91 Assistant, which provides a function to back up the installed software and export the APK directly.

 

(At the beginning, I used scattered time to learn Android. If there is an error, please leave a message to correct it)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.