1. 程式人生 > >安卓系統分割槽介紹boot system recovery data cache misc

安卓系統分割槽介紹boot system recovery data cache misc

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow

也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!

               

原文地址: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.




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 bootloader and the kernel. 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 bootloader. This includes the Android user inte**ce 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.
除非你已經使用您的Andr​​oid手機的通話,簡訊,上網和基本的應用程式,你應該知道,Android使用幾個分割槽,組織裝置上的檔案和資料夾。每個分割槽的裝置的功能有顯著作用,但不是很多Android使用者都知道每個分割槽其內容的意義。在本指南中,我們將帶您參觀Android的分割槽,它們包含了什麼,有什麼方法可以修改其內容可能產生的後果。




讓我們開始在Android手機和平板電腦的標準的內部儲存器分割槽的列表。這些是:
/ boot目錄
/系統
/恢復
/資料
/快取
/雜項
此外,還有的SD卡分割槽。
/ SD卡
/ SD-EXT
需要注意的是/ SD卡被發現在所有的Andr​​oid裝置,其餘的是目前只有在選擇裝置。現在,讓我們來看看在每個分割槽的目的和內容。
/ boot目錄
這是分割槽,使手機開機,正如其名稱所暗示的。它包括載入程式和核心。如果沒有這個分割槽,該裝置將根本就沒有能夠啟動。擦拭從恢復分割槽只應在絕對必要時,一旦完成,該裝置必須重新啟動,然後再安裝一個新的,它可以通過安裝ROM,其中包括一個/ boot分割槽。
/系統
此分割槽基本上包含了整個作業系統的核心和引導以外。這包括了Android使用者介面,以及所有的系統預安裝在裝置上的應用程式來。擦這個分割槽將刪除從裝置的Andr​​oid不使其無法啟動的情況下,你仍然可以把手機恢復或bootloader模式,安裝一個新的ROM。
/恢復
恢復分割槽可以被視為一個可供選擇的引導分割槽,讓你進入恢復控制檯啟動裝置,進行先進的恢復和維護操作。要了解更多有關這個分割槽及其內容,請參閱“關於Android的恢復我們的指南,ClockworkMod恢復”部分。
/資料
也稱為使用者資料,資料分割槽包含使用者的資料 - 這是在您的聯絡人,郵件,設定和已安裝的應用程式,你去。擦這個分割槽基本上是在您的裝置上執行出廠重設,恢復它的方式是當你第一次啟動時,它的方式,這是最後一次正式的或自定義ROM安裝後的。當您執行擦除資料/工廠復位恢復,這是分割槽,你是擦。
/快取
這是Android的儲存經常訪問的資料和應用程式元件所在的分割槽。擦拭快取不會影響你的個人資料,但根本擺脫現有的資料,這將會自動重建,如您繼續使用該裝置。
/雜項
此分割槽包含各種系統設定,在形式的ON / OFF開關。 USB配置和某些硬體設定等,這些設定可能包括CID(承運人或地區ID),這是一個重要的分割槽,如果是損壞或丟失的,一些裝置的功能將無法正常工作。
/ SD卡
這是不是內部儲存器的裝置,而是在SD卡上的分割槽。在使用方面,這是您的儲存空間,使用您認為合適的儲存媒體,檔案,光碟等就可以了。擦拭它是完全安全的,只要你備份所有的資料,你需要它,你的電腦。儘管一些使用者安裝的應用程式儲存在SD卡上的資料和設定,抹這個分割槽將讓你失去所有的資料。
在內部和外部SD卡 - 三星Galaxy S和幾片 - 總是用來指​​到內部SD卡/ SD卡分割槽的裝置,如裝置。對於外部SD卡 - 如果有的話 - 替代分割槽時,器件的不同。在三星的Galaxy S系列裝置的情況下,它是/ SD卡/ SD,而在許多其他裝置,它是/ sdcard2,。 / SD卡不同,沒有系統或應用程式的任何資料自動儲存在這個外部SD卡,一切都存在於它已新增的使用者。您可以放心地擦拭後,你需要儲存的任何資料備份。
/ SD-EXT
這不是一個標準的Andr​​oid分割槽,但已成為流行的自定義ROM的場景。它基本上是你的SD卡/ data分割槽時使用的ROM中有特殊的功能,稱為APP2SD +或data2ext啟用的,作為一個附加的分割槽上。這是特別有用的裝置上很少有內部記憶體分配的/ data分割槽。因此,使用者要安裝更​​多的程式比記憶體允許,可以使這個分割槽,並使用一個自定義的ROM支援此功能,安裝自己的應用程式,以獲得額外的儲存。 ,擦這個分割槽在本質上是相同的擦/ data分割槽 - 你失去你的聯絡人,簡訊,市場應用和設定。
這一點,我們總結我們參觀的Andr​​oid分割槽。現在,只要你安裝了一個ROM或MOD,需要你在安裝前擦拭某些分割槽,你應該知道你失去什麼不和從而在一個更好的位置,你就會知道要備份的內容並沒有什麼。

           

給我老師的人工智慧教程打call!http://blog.csdn.net/jiangjunshow

這裡寫圖片描述