To know how rooting process work you must have brief
understanding of android so this article will dive you in brief in the Insight
of the Android system.
Insight Into Android
Most devices, by default have their /system partition
(found in the device’s internal memory)
set to read-only, which means apps
cannot modify this sacred folder. Mounting the /system partition with
read-write access requires root priveleges. In an Android system, only a privileged
(act as admin) app(i.e. An app running as root) can invoke or start another
priveleged app.
Ordinary apps that are run as user cannot start apps that
need privileged access.This is a security measure, for in its absence any app
would have been able to invoke itself (essentially creating a copy itself) with
elevated priveleges. Hence, for an app to run as root, it must request root
priveleges from an external app, called the Superuser or simply ‘su’. The final
aim of the rooting process is to install this Superuser app on the device’s
internal memory as a system app. Any app that needs elevated priveleges (root
access) can then request the same from the Superuser app, a request which is
usually forwaded to the user.
Process
When an Android system boots up, the first piece of code
that is executed is called the bootloader. This bootloader controls the boot
process, hence access to the bootloader is required when installing a custom
ROM or aftermarket firmware. Many devices, however, come with a ‘locked’
bootloader and need to be worked upon (read: hacked into) before we can flash
a custom ROM. However, if a device has an unlocked
bootloader, rooting a phone becomes relatively easy. One can either find a
custom ROM for your phone model that has already been rooted and flash it onto
your phone, or you can simply pull the existing ROM from your device, add the
Superuser.apk file to it and flash it back to your device.
Rooting Your Android Device
We will be Glad To know your views in comments
0 comments:
Post a Comment