Some special directories and files in Android

Source: Internet
Author: User

binary files used as commands are located under/system/bin/and/system/xbin/

App data is located in/data/data/, the original installation file is located in/data/app/(non-free app in Play Store is located in/data/app-private/)

The permissions-related files are located in/system/etc/permissions/, where the permissions and permission groups of the file are Platform.xml

The configuration file for Init at system startup is/init/.rc and/init. [$devideName].rc section is also located in the. sh file

System Information required when the device is loaded is located in/system/build.prop

Device CPU information is located in/proc/cpuinfo

There is also a hosts file in Android, located in/etc/hosts

The absolute path to the SD card in Android is/mnt/sdcard/

The partition information for Android is under/PROC/MTD or/proc/partitions, and you can also use df-h to view

When a backup is required, you can use DD, a backup/data example, first using DF to query out the location of the/data partition mount, here is/dev/block/dm-0, using the commanddd if=/dev/block/dm-0 of=/mnt/sdcard/data.img

Android hotspot connected device IP, mac all recorded in/proc/net/arp

The TCP port number, and so on, occupies the file/proc/net/tcp

Some special directories and files in Android

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.