Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

File system in android

Most of the Android user are using their Android phone just for calls, SMS, browsing and
basic apps, But form the development prospective, we should know about Android internal
structure.
Android uses several partitions (like boot,system, recovery , data etc) to organize files and
folders on the device just like Windows OS.
Each of these partitions has its own functionality, But most of us don’t know the
significance of each partition and its contents.
There are mainly 6 partitions in Android phones, tablets and other Android devices.
Under the Android file system, there are usually six main partitions found on every device.
Some devices may come with a couple of additional partitions, those differ from model to
model, but there are six primary partitions that are found on every single Android device.
These include /boot, /system, /recovery, /data, /cache, and /misc. Additionally, for external
Android smartphone, there are two file system partitions — /sdcard and /sd-ext. So, let’s
break down each partition separately and explore the Android File system hierarchy.
/boot
This partition consists of the Android kernel and the ramdisk. Basically, every single thing
that is needed to boot your Android device when powered on. You should only proceed to
wipe this partition from recovery if it is absolutely necessary. If you do, once the partition is
wiped, ensure to reboot the phone only after installing a new boot partition. The new partition
can be a /boot partition found in a ROM.
/system
The system partition accommodates the entire Android OS. This includes the Android GUI as
well as the system apps that come pre-installed on Android devices. So, what happens if you
wipe this partition? Well, you can still boot the device. We will only be able to put our device
into recovery or bootloader mode.
/recovery
This partition is designed for backup and can be considered the alternative boot option or
partition in an Android device. It lets the device boot into recovery mode where backing up
data, wiping data, restoring phone to factory settings, and performing other maintenance
operations.
/data
Also known as user data partition, this partition consists of all of the user’s data, including
contacts, settings, apps and messages. Wiping the data partition will lead to storing your
phone to factory settings, having removed all of the apps, messages, and user settings from
the Android device.
/cache
This partition stores the frequently accessed app data and components. Wiping this partition
will just clear the built-up cache, and the device will simply go back to rebuilding it as you
continue using it. Clearing cache also frees up some space in your device and can also fix
certain issues at times.
/misc
This partition contains all the miscellaneous system settings, usually on/off switches. The
settings may include carrier or region ID, USB configuration, and certain hardware setting.
This partition is very important since it can cause several device features to malfunction if the
partition becomes corrupt or goes missing. A missing /misc partition can also cause the
Android device to not boot at all.
/sdcard
This partition is the space that is available to users to store their files and data. Depending on
your device, you could even have more than one sdcard partition. If your device has an
external SD card slot, then the /sdcard partition refers to the internal storage device, and the
external SD card will be assigned a different partition, either a new partition called /sdcard2
or a separate directory within the /sdcard partition itself such as /sdcard/sd.

Internal and external storage

There are many users who think that external storage means SD cards and external hard
disks. However, it is totally their misconception. Let’s clear that misconception.

When you install an app on your device you will find that it has created a unique private
folder. That private folder can be accessed by only that app. The space where these files are
stored is called Internal Storage and files stored in this space cannot be accessed by the other
apps and users. All the Android system files, OS and app files that users are not allowed to
access are stored in the Internal Storage. In order to access these files, you need to download
an app that gives you access to these internal files or root your Android device.

On the other hand, all the media files or documents can also be stored on the external storage.
The files stored in the external storage can be accessed by the user and other apps easily. For
example – the app settings of the music player of your smartphone resides in internal storage,
but MP3 files that you download using that app are stored in external storage.
saving and loading a file
Internal storage allows you to read and write to files that are associated with each
application’s internal memory.These files cannot be accessed by other applications or
users.When the application is uninstalled, these files are automatically removed as well.

File Management Tools


File management tools are utility software that manages files of the computer system. Since files are
an important part of the system as all the data is stored in the files. Therefore, this utility software help
to browse, search, arrange, find information, and quickly preview the files of the system.
A utility software or system utilities is a type of system software that helps in the proper and smooth
functioning of a computer system. Moreover, they assist the operating system to manage, organize,
maintain and optimize the functioning of a computer system. A file management system has a limited
amount of capabilities. Furthermore, they work on files or a group of files. We can also call them file
manager.
Windows Explorer is a default file management tool present in the system. Some other examples of
file management tools are Google Desktop, Double Commander, Directory Opus, etc.
Functions of the File Management System
Functions of a file management system are as follows:
 Store, arrange, or accessing files on a disk or other storage locations.
 Creating new files.
 Displaying the old files.
 Adding and editing the data in files.
 Moving files from one location to another.
 Sorting files according to the given criteria. For example, file size, file location, modified
date, creation date, etc.
Features of the File Management System
A file management system has thlllle following features:
 Arranging the files and folders hierarchically.
 Report generation
 Notes
 Status
 Assigning documents for processing in a queue.
 Add or edit metadata of files.
 Create, modify, delete, or manage other file operations.
 Simple interact to access and manage files.
 Managing different types of files with extensions .xls, .pdf, .doc etc
Windows Explorer: Default File Management Tool
Windows Explorer is a file utility program included in windows explorer with the name file explorer.
a file management system which is the default management tool. It allows the user to view, access,
manage, or delete files on your system using a simple window. Functions and features of windows
explore are as follows:
 It can access and manage files of different software namely, excel, word, etc
 Helps to browse files on your hard drive and also, external storage like USB.
 It helps to manage files in a hierarchy in folders.
 Moreover, it also helps to drag and move files among folders.
The default file management tool in mac devices is Finder. Although Windows Explorer and Finder
have many features, they are not enough for business purposes.
Examples of File Management Tool
Certain examples are as follows:
 eFileCabinet
 Microsoft OneDrive
 Dropbox
 Apple iCloud
 Google Drive

You might also like