博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Android Partitions Explained: boot, system, recovery, data, cache & misc
阅读量:4330 次
发布时间:2019-06-06

本文共 5361 字,大约阅读时间需要 17 分钟。

from: http://www.addictivetips.com/mobile/android-partitions-explained-boot-system-recovery-data-cache-misc/

Unless you have been using your Android phone just for calls, SMS, browsing and basic apps, you should know that Android uses several partitions to organize files and folders on the device. Each of these partitions has a distinct role in the functionality of the device, but not many Android users know the significance of each partition and its contents. In this guide, we will take you on a tour of Android partitions, what they contain and what can be the possible consequences of modifying their content.

 

Android Partitions

Let’s start with a list of standard internal memory partitions on Android phones and tablets. These are:

  • /boot
  • /system
  • /recovery
  • /data
  • /cache
  • /misc

In addition, there are the SD card partitions.

  • /sdcard
  • /sd-ext

Note that only /sdcard is found in all Android devices and the rest are present only in select devices. Let’s now take a look at the purpose and contents of each of these partitions.

/boot

This is the partition that enables the phone to boot, as the name suggests. It includes the kernel and the ramdisk. Without this partition, the device will simply not be able to boot. Wiping this partition from recovery should only be done if absolutely required and once done, the device must NOT be rebooted before installing a new one, which can be done by installing a ROM that includes a /boot partition.

/system

This partition basically contains the entire operating system, other than the kernel and the ramdisk. This includes the Android user interface as well as all the system applications that come pre-installed on the device. Wiping this partition will remove Android from the device without rendering it unbootable, and you will still be able to put the phone into recovery or bootloader mode to install a new ROM.

/recovery

The recovery partition can be considered as an alternative boot partition that lets you boot the device into a recovery console for performing advanced recovery and maintenance operations on it. To learn more about this partition and its contents, see the ‘About Android Recovery’ section of our .

 

/data

Also called userdata, the data partition contains the user’s data – this is where your contacts, messages, settings and apps that you have installed go. Wiping this partition essentially performs a factory reset on your device, restoring it to the way it was when you first booted it, or the way it was after the last official or custom ROM installation. When you perform a wipe data/factory reset from recovery, it is this partition that you are wiping.

/cache

This is the partition where Android stores frequently accessed data and app components. Wiping the cache doesn’t effect your personal data but simply gets rid of the existing data there, which gets automatically rebuilt as you continue using the device.

/misc

This partition contains miscellaneous system settings in form of on/off switches. These settings may include CID (Carrier or Region ID), USB configuration and certain hardware settings etc. This is an important partition and if it is corrupt or missing, several of the device’s features will will not function normally.

/sdcard

This is not a partition on the internal memory of the device but rather the SD card. In terms of usage, this is your storage space to use as you see fit, to store your media, documents, ROMs etc. on it. Wiping it is perfectly safe as long as you backup all the data you require from it, to your computer first. Though several user-installed apps save their data and settings on the SD card and wiping this partition will make you lose all that data.

On devices with both an internal and an external SD card – devices like the Samsung Galaxy S and several tablets – the /sdcard partition is always used to refer to the internal SD card. For the external SD card – if present – an alternative partition is used, which differs from device to device. In case of Samsung Galaxy S series devices, it is /sdcard/sd while in many other devices, it is /sdcard2. Unlike /sdcard, no system or app data whatsoever is stored automatically on this external SD card and everything present on it has been added there by the user. You can safely wipe it after backing up any data from it that you need to save.

/sd-ext

This is not a standard Android partition, but has become popular in the custom ROM scene. It is basically an additional partition on your SD card that acts as the /data partition when used with certain ROMs that have special features called APP2SD+ or data2ext enabled. It is especially useful on devices with little internal memory allotted to the /data partition. Thus, users who want to install more programs than the internal memory allows can make this partition and use it with a custom ROM that supports this feature, to get additional storage for installing their apps. Wiping this partition is essentially the same as wiping the /data partition – you lose your contacts, SMS, market apps and settings.

With this, we conclude our tour of Android partitions. Now whenever you install a ROM or mod that requires you to wipe certain partitions before the installation, you should be in a better position to know what you’re losing and what not and thus, you’ll know what to backup and what not.

转载于:https://www.cnblogs.com/feika/p/3754907.html

你可能感兴趣的文章
教你如何在博客里加入分享功能——分享插件(HRshare)
查看>>
linux C多线程编程
查看>>
PHP通过soap调用c#的WebService
查看>>
zookeeper总结
查看>>
Python基础综合运用——搭建名片管理系统
查看>>
Windows常用功能
查看>>
转:LINUX有用命令
查看>>
前端开发之CSS篇三
查看>>
spring boot与spring mvc的区别是什么?
查看>>
数据规整
查看>>
解析java中volatile关键字
查看>>
Python的安装
查看>>
【开源】知乎日报UWP 更新
查看>>
线程的同步和异步
查看>>
Navicat Premium 12 (64位)实现连接Oracle 11 (64位)
查看>>
读取app.config配置文件信息
查看>>
maf实例
查看>>
20172322 2017-2018-2 《程序设计与数据结构》4月11日课上习题增补提交
查看>>
P2665 [USACO08FEB]连线游戏Game of Lines
查看>>
Maven建立spring-web项目
查看>>