What is the difference between the root permission and the USB adb permission of android apk? androidapk

Source: Internet
Author: User

What is the difference between the root permission and the USB adb permission of android apk? androidapk
USB adb permission means that when adb connects to the mobile phone, the permission of the daemon adbd in the mobile phone is root, so that its sub-process also has root permission. Generally, If adb shell sees:
Android 4.0 and later versions:
C: \ Users \ mtk29 \ Desktop> adb shell
Root @ android :/#
Android 2.3:
C: \ Users \ mtk29 \ Desktop> adb shell


This indicates that the adb connection has the root permission. On the contrary, if the value is $, it indicates the shell permission.
Android APK itself does not have the root permission. To enable the root permission, you must use a process with the root permission or a file with the s bit. Currently, the more common method is, after the mobile phone is root, su is built into the system/bin, and then the common APP can use the su command to achieve root permission switching.
Some colleagues on the network have modified the su command and used an APK to control the permission control of the su command.
Such as the common Superuser: http://androidsu.com/superuser/ so that you can manually control the use of root permissions. (Because it has not been updated for a long time, it can only be used for ICS and earlier versions ))
SuperSU: http://forum.xda-developers.com/showthread.php? T = 1538053 (fast update, recommended)
 
To sum up, if adb already has the root permission, it would be easy for apk to exercise the root permission. For example, in JB or earlier versions:
Adb remount
Adb push su/system/bin
Adb push Superuser.apk/system/app
Adb shell chmod 0644/system/app/Superuser.apk
Adb shell chmod 6755/system/bin/su
Adb reboot
What is the difference between APK permission and ROOT permission?

APK permission is the permission applied by the application within the Android framework. It is an application-level concept. For example, text messages and surfing the Internet. In general, these permissions can be applied and used without the need of ROOT.
ROOT permission is the highest user permission in the Android system and is a user-level concept.

Android phones have different root permissions than those without root permissions. Could you please help me?

Click the root permission. If you have not set the root permission, read the tutorial and start again. root is the only super user in the system and has all the permissions in the system, such as starting or stopping a process, delete or add users, add or disable hardware, and so on.
The last time I refreshed my Samsung into a brick, I found out that I had used two products for cell phone repair because the sound key on my mobile phone was bad, he even searched for a package on the Internet to restore it. Fortunately, he paid me 90 oceans! If you use ROOT permissions, you will not be guaranteed. Remember,

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.