Android system root directory structure and description

Source: Internet
Author: User

The Android system partition can be viewed through the shell command DF:


For specific reference to my previous article:Android partition Interpretation


The Android root directory results as shown in:



The main directories are system and data, as well as the directories described below.


/system/app/
This directory holds the System program system original program handset manufacturer custom software root can be removed in the custom software (need to be cautious)

/system/bin/

This directory is primarily a component of the Linux system's own

/system/build.prop
is a property file in the Android system. Prop files are important to record the system settings and changes, similar to the files in/etc

/system/cache/

Cache folder as the name implies

/system/data/

User-installed software and data

/system/etc/
This directory primarily stores core configuration files such as the Android system configuration files such as APN access points

/system/fonts/
The system font can be downloaded in TTF format font to replace the original font, to modify the system sub-font effect

/system/framework/
Core File System Platform operating framework (modify the framework-res.apk file under this directory to achieve a beautification effect)

/system/lib/ Store almost all shared library (. So) files

/system/media/

System beep System ringtone


/system/media/audio/

This contains the default ringtone for Android, alarms is an alarm, notification is a text message or a beep, ringtones is a ringtone, and UI is some interface sound, such as a keyboard tapping sound

/system/usr/

User profiles, such as keyboard layouts, shares, time zone files, and so on

/init.rc

An initialization script to mount/system/modules and/system/xbin as Cramfs to avoid unintentional damage to the system

/proc/
Various files under the file system provide system information that is not specific to a particular process, but can be used throughout the system-wide context.



/data/ Stores user-installed software and various data.


/data/apk/
The user's own installed apk is placed in this directory. If we put the APK in this directory, even if it is installed, this is called silent installation.

/data/data/
Here is the location of each user file where the app was installed, typically a setup file, a database, or a temporary cache file, which is then named after the package name of each software.

/data/system/

Record the directory of mobile phone installation information and other files.

/data/misc/

A directory that stores configuration information such as WiFi accounts and VPNs.


/dev/
Linux System General folder, many of the files are device simulation file system, the general user no need to ignore.

/etc/

Point to/system/etc, a well-known configuration file that stores directories.

/sys/
Used to mount the Sysfs file system. In the device model, the Sysfs file system is used to represent the structure of the device. The image of the hierarchy of the device is reflected in the user space, and the user space can modify the file attributes in the Sysfs to modify the property values of the device.

/sbin/

Only one ADBD program for debugging is put in.


There are other catalogs that will be added later. Also want to have great God enlighten!


Android system root directory structure and description

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.