Android System Partition detailed

Source: Internet
Author: User

Android usually has the following partitions:

System partition: The partition where we brush the ROM

Data Partition: partition is the partition where we install APK

Catch partition: is a cache partition

SDcard partition: Is the mounted SD card.

You can use DF in the ADB to see the partitioning situation:

1. Cross partitions cannot be copied with the MV command, but can be used with the CP command. such as PWD, the current directory is:/data/local/tmp.

There is a busybox and 1.txt file under this directory. Use the CP command to copy the following:./busybox Cp1.txt/system.

The 2.Android user group has System, root, Shell

3. How to operate the partition.

Partition operation is required permissions, in general, the system partition permissions are relatively strict, the data partition limit is strict, the user can manipulate the directory has Local,app directory. Like/data/local/tmp.

Data Partition Common directory: app, System, data, Local,misc where system,local can enter and use LS and other commands. Data,app can enter, but cannot use the LS command.

Data/data directory: Is the directory of all the APK program data, each APK pair on the one of their own data directory, that is, in the data/data/directory, will produce a package with the same directory.

If there is an APK, its package is called Com.test.hello, in the data/data/directory there will be a Com.test.hello directory, this apk can only operate this directory, You cannot manipulate other APK directories. This is called a user process under Linux that can only manipulate its own process directory.

Data/app Directory: The user-installed apk is placed here. If we put the APK into the folder below, even if it is installed. This is called silent installation. Regardless of the apk file inside the Lib directory under the library file, the system will automatically put us into the call library.

Data/system directory below There are Packages.xml, Packages.list,appwidgets.xml, and so on some records of mobile phone installation software, widgets and other information.

Data/misc directory: Save WiFi account, VPN settings information and so on. If a WiFi connection account is saved, the WiFi directory under this directory can be viewed below.

System Partition Common directory: App, lib, XBin, Bin, media,framework.

System/app Directory: Store the system's own apk. Did not test whether to put the apk into the System/app directory, is also silent installation apk.?

System/lib Directory: The library file used to store the APK program.

System/bin directory and System/xbin directory: The shell command is stored.

System/framework directory: Enables the Android system to use the framework, such as some jar files.

4.Android The following directories are permissions, to manipulate the directory need to have this permission to operate, if not, then use chomd777 to modify. If it is a partition root, such as a/data partition,/system partition. No permissions, you need to mount again. Using Mount-oremount XX

Android System partition directory:

/boot

/system

/recovery

/data

/cache

/misc

SD card partition:

/sdcard

/sd-ext

*************************************************************************************************************** *********

Here are the partitions mounted to the/system directory, where/system/bin and/system/sbin save a lot of system commands, which are burned by the compiled system.img.

The equivalent of your computer's C drive, used to put the system. This partition basically contains the entire Android operating system, in addition to the kernel (Kerne) and RAMDisk. Includes the Android user interface, and all preinstalled system applications. Erasing this partition will remove the entire Android system. You can install a new ROM, which is the Android system, by entering the recovery program or the bootloader program.

Misc Partition

This partition includes some miscellaneous content: For example, some system settings and system features enable the Disable setting. These settings include the CID (carrier or zone ID), USB settings, and some hardware settings. This is a very important partition, and if this partition is damaged or some data is lost, some specific features of the phone may not work properly.

*************************************************************************************************************** *********

http://blog.csdn.net/u010001503/article/details/51853822

Android System Partition detailed

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.