Introduction - If you have any usage issues, please Google them yourself
Detection of mobile phone is Root source to determine whether the Android mobile phone root there are three ways, the source is the third way.
First kind:
Android can directly run a bottom command, to determine whether the root, but this will bring a problem, each time to determine whether the root will pop up a root request box. This is a very unfriendly way of interaction, but also, if the user choose to cancel, there is a part of the phone is judged to be non root. This approach is characterized by the interaction is not friendly, and there is a miscarriage of justice.
Second species:
General root phone will have a number of special folders, such as /system/xbin/su, /system/bin/su, which is stored in the relevant permissions control file. So as long as there is a folder on the phone to determine the existence of this phone root. And then tested, this method is feasible in most mobile phones. This approach is characterized by a friendly interaction, but there is a miscarriage of