`

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.

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 guide to ClockworkMod recovery.

/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.

http://www.addictivetips.com/mobile/android-partitions-explained-boot-system-recovery-data-cache-misc/
分享到:
评论

相关推荐

    u-boot_2410_Creating_uboot_bitesfp_yaffs_

    支持 mtd 分区jffs2 烧写 kernel yaffs 烧写 root(64nand 仅支持小页528 ) , nand 分区参数为: Creating 4 MTD partitions on "NAND 64MiB 33V 8-bit": 0x00000000-0x00040000 : "bootloader" ...

    Magisk-v20.3.1.zip

    Modify system (vendor) without tampering the partitions. MagiskSU: Unleash your device's root access. MagiskHide: Hide Magisk from detections: Google SafetyNet, enterprise / bank system ...

    Active@ Partition Recovery v.5.0.357 Enterprise Toolkit. Retail

    you can boot Windows, install and run the software from under Windows to recover deleted or damaged partitions located on data volumes (D:, E: ...), attached HDDs, as well as on the external USB ...

    Google Nexus 4 ToolKit v1.3.0

    Boot, Cache, Data, Recovery and System) via adb and save in Custom Recovery format on your PC which can be Restored via CWM Recovery * Pull /data and /system folders, compress to a .tar file and ...

    Practical.Hive.A.Guide.to.Hadoops.Data.Warehouse.System.1484202724

    Dive into the world of SQL on Hadoop and get the most out of your Hive data warehouses. This book is your go-to resource for using Hive: authors Scott Shaw, Ankur Gupta, David Kjerrumgaard, and ...

    RS Linux Recovery 1.8 Multilingual.rar

    Program for data recovery from Linux file system partitions in Windows. Need to access Linux Ext2, Ext3 and Ext4 file system partitions in Windows? Do you want to perform data recovery from an ext4 ...

    Advanced EFS Data Recovery

    Advanced EFS Data Recovery (or simply AEFSDR) is a program to recover (decrypt) files encrypted on NTFS (EFS) partitions created in Windows 2000. Files are being decrypted even in a case when the ...

    [三思笔记]全面学习分区表及分区索引

    - **交换分区**(Exchange Partitions):将分区数据与外部表的数据进行交换,便于数据导入导出。 - **合并分区**(Merge Partitions):将两个或多个分区合并为一个。 - **修改分区属性**:调整分区的存储参数,如...

    ANDROID Tools

    The mkmmc-android.sh partitions the MMC/SD card into three partiions namely boot, rootfs and data. The script will then put the boot images on boot partition and extracts the android rootfs-rootfs_*....

    fastboot 2020年 android10版本 ubuntu linux平台

    fastboot android10版本 ubuntu linux平台 fastboot version 28.0.2-PD02.200305.0422 $ fastboot -h usage: fastboot [OPTION...] COMMAND... flashing: update ZIP Flash all partitions from an update.zip ...

    rtl8189es_r16m验证通过20170818_1659没有外层目录.7z

    frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/...

    !!!!rtl8189es_r16m验证通过20170818_1659没有外层目录.zip

    frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/...

    Linux System Administrator Guide Version0.9

    - **Emergency Boot Floppies**: Explains the use of emergency boot floppies for recovery purposes. #### init The guide explains the `init` process, which is the first process started during the boot ...

    Linux_Recovery_Manual

    R-Studio is a family of powerful and cost - effective undelete and data recovery software. Empowered by new unique data recovery technologies, it is the most comprehensive data recov ery solution for ...

    Addison.Wesley.File.System.Forensic.Analysis.7z

    Ext3, UFS1, and UFS2 file systems using key concepts, data structures, and specific techniques Finding evidence: File metadata, recovery of deleted files, data hiding locations, and more Using The ...

    Magisk-master-1.zip

    Furthermore, Magisk provides a Systemless Interface to alter the system (or vendor) arbitrarily while the actual partitions stay completely intact. With its systemless nature along with several other ...

    用Android-X86和VirtualBox打造高性能Android开发环境

    启动虚拟机后,可以看到安装界面,选择 Installation - Install Android-x86 to harddisk,然后选择 Create/Modify partitions 来创建分区,选择 Primary 创建主分区,分区大小采用默认大小即可,然后设定该分区可以...

    mini2440 beer(pwm) 驱动

    CPU: VIVT data cache, VIVT instruction cache Machine: MINI2440 Memory policy: ECC disabled, Data cache writeback CPU S3C2440A (id 0x32440001) S3C24XX Clocks, Copyright 2004 Simtec Electronics S3C244X:...

    imx6 emmc分区.docx

    EMMC 分区可以分为四个区域:Boot Area Partitions、RPMB Partition、General Purpose Partitions 和 User Data Area。其中,Boot Area Partitions 主要用于存放 bootloader,RPMB Partition 未使用,General ...

    ESP32 快速入门(九):自定义 ESP32 分区表 partitions.csv

    boot: No bootable app partitions in the partition table 这里应该是分区表分配给 APP 的空间不够。借此契机来了解一下 ESP32 的分区表 partitions.csv 吧。 1. ESP32 预定义分区表 make menuconfig 配置中可...

Global site tag (gtag.js) - Google Analytics