Android root is actually Linux root, to get root privileges
Under Linux through sudo or SU, enter the password to get root permission
Android to copy the compiled Su file to the Android phone's/system/bin or/system/xbin/directory
After the Linux su to enter the password can root, but the SU in the Android and the SU in Linux is not the same, the SU in Android is not by verifying the password, but to see what your original permissions. This means that if you are root, you can switch to another user via Su, such as Shell,wifi,audio or something. But if you are a user other than root, you can not switch back to root, you will be prompted to permission denied.
However, installing SU requires root privileges. In this case, the following two methods are required:
1. Right to exploit
2. Brush machine
Reference Links:
50560782
Android Root principle