Address: http://blog.sina.com.cn/s/blog_722b43a60100q5hz.html
This tutorial is composed
Original, reprinted please indicate the source.
One of the most common words that a friend who just came into touch with a flash brush can use is root.
What is root?
, We will talk about it below.
Windows
You should be familiar with the system. The Administrator is called administrator.
In the operating system, this user has the highest permissions. With this user, you can perform various operations on the operating system.
So, Google's Android
What about the system? Android
The system is based on Linux
But Linux
It is also based on UNIX
, Linux
And Unix
It is the name of the operating system, and Windows
The operating system works differently. In Unix
In the system, the Administrator is called root.
, Only root
To have the highest level of management permissions. Similar to Windows
Administrator
.
UNIX
The system provides a command named Su
What is Su?
What about it?
Let's talk about the windows
In Windows
If you use a non-administrator user to log on to the system, sometimes we need to perform some work under the administrator user. For example, some programs need to run as administrators. What should we do? One is to log out of the user, and then log in with the administrator user. Another method is to log on to
You can right-click and select "Run as administrator" to complete the task, so that you do not have to switch back and forth.
In Linux
Below, Su
Is used to complete such a job. When we need to run the program as an administrator, we can use Su
To switch to the root
User. However, in the official mobile phone system, this command file is not included for security reasons, so that we cannot obtain the advanced permissions of the system administrator.
Since the official website does not provide us with such convenience, we can create it by ourselves. As described in the previous article, the ROM of the mobile phone
It is equivalent to the hard disk of a computer, and also has its own directory and various files.
Put in ROM
Directory (such as system/xbin/
) Is called rooting.
We often see in the forum that we want to root the phone
In fact, this process is called rooting.
It seems more appropriate. Put Su
When we put it in our cell phone, we can also use Su
To switch to the root
User conditions.
To prevent undesirable software from obtaining the root
User Permissions when we are in Rooting
In the process, a program will also be installed for the system as a running prompt, determined by the user, whether to grant the highest permission. The program name is usually superuser
.
When some programs execute Su
Superuser
The program will be automatically started to intercept the action and ask. When the user thinks the program can be used safely, we will choose to allow it. Otherwise, the program can be prohibited from continuing to obtain the highest permission.
Therefore, rooting
The process is actually copying Su to the system.
And superuser
The process of two programs. Of course, if you uninstall these two programs, the mobile phone will lose and switch to the administrator user root.
.
At this point, you should know what root is.
Now. Root
It is just a user account, which has
The highest permissions in the world.
In fact, it should be called Rooting
He is a process, is to put Su
And superuser
These two programs are stored in the corresponding directory of the mobile phone. Generally, vendors do not allow us to do this at will. We need to use various vulnerabilities in the operating system to complete this process. Because mobile phone models are different, brands are different, and the corresponding vulnerabilities are naturally different, then, rooting
The process will be different, so as mentioned above, there is no fixed Rooting
This is the reason for the operation process. After you finish this job, you can say that your mobile phone is already root.
.
Obtaining the administrator privilege of the mobile phone can help us better use the mobile phone. However, improper use also poses a certain risk. That is why mobile phone manufacturers do not enable this function.