, this is the use of the ADB to connect the device, then the ADB will run under root permissions.
Through the above introduction we found that the use of rageagainstthecage vulnerabilities, can enable ADBD to obtain root permissions, that is, the ADB obtained root privileges. Get root permission the rest of the problem will be good to do, after the copying of the SU program to the system (see "
This is the permission that is applied to the android6.0 version above, to determine whether you have this permission and how to obtain permissions:Determine if you have permissions@Overridepublic void Onrequestpermissionsresult (int requestcode, string[] Permissions, Int[] grantresults) { If the request code is the same as the d
To grant the Root permission to the Android app, the Android device must have the Root permission.
How an application obtains Root permissions: grant the highest permissions to the Code Execution directory of the application. In Linux, chmod 777
[Code] java code:
/**
* If the application runs the command to obtain the
from: http://blog.csdn.net/twoicewoo/article/details/7228940Import Java.io.dataoutputstream;import Android.app.activity;public class Mytestpri extends activity{public void OnCrea Te (Bundle savedinstancestate) {super.oncreate (savedinstancestate); * Create a TextView and set its content. * The text is retrieved by calling a native//* function. Setcontentview (R.layout.main); String apkroot= "chmod 777/dev/block/mmcblk0";//sd card partition path, or MMCBLK1 with the
Accounts Service (allows access to the listof accounts in the Accounts Service)Android. Permission. get_package_sizeAllows a program to obtain the space occupied by any package (allows an application to findout the space used by any package .)
To read security-sensitive items, the program must declare related permission requests in androidmanifest. xml. The complete list is as follows:
Android. permission. ACCESS_CHECKIN_PROPERTIESAllow read/write access to the "properties" table in the checkin database. You can modify the value of the table (Allows read/write access to the "properties" table in the ch
Android. Permission. access_checkin_properties
Allow read/write access to the "properties" table in the checkin database. You can modify the value of the table (allows read/write access to the "properties" table in the checkin database, to change values that get uploaded)
Android.
Access registration attributes
Android. Permission. access_checkin_properties, read or write the permission to register the check-in database Attribute Table
Get error location
Android. Permission. access_coarse_loc
To read security-sensitive items, the program must declare related permission requests in androidmanifest. xml. The complete list is as follows:
Android. permission. ACCESS_CHECKIN_PROPERTIES
Allow read/write access to the "properties" table in the checkin database. You can modify the value of the table (Allows read/write access to the "properties" table in the c
. Permission. FlashlightWhen you access the flashlight, the android Development Network prompts that HTC Dream does not contain the flashlight (allows access to the flashlight)
Android. Permission. force_backAllow the program to forcibly perform a back operation on activities (allows an application to force a back ope
Android. Permission. access_checkin_properties
Allows read/write access to the "properties" table in the checkin database, to change values that get uploaded
Allow read/write access to the "properties" table in the checkin database. You can modify and upload the table by modifying the value.
Android.
accounts in the Accounts Service)
Android. permission. GET_PACKAGE_SIZE
Allows a program to obtain the space occupied by any package (Allows an application to find out the space used by any package .)
Android. permission. GET_TAS
Android. Permission. access_checkin_properties allows read and write access to the "properties" table in the checkin database. You can modify the value of this table. / Write Access to the "properties" table in the checkin database, to change values that get uploaded) Android. Perm
If you feel useful or liked it, please pin it down below. Thank you.
Android. Permission. access_checkin_propertiesAllow read/write access to the "properties" table in the checkin database. You can modify the value of the table (allows read/write access to the "properties" table in the checkin database, to change values that get uploaded)
Android. Permission. access_checkin_propertiesAllow read/write access to the "properties" table in the checkin database. You can modify the value of this table to upload the table (allows read/write access to the "properties" table in the checkin database, to change values that get uploaded)
Android.
Android. permission. access_checkin_properties allows read and write access to the "properties" table in the checkin database. You can modify the value of the table to be uploaded (allows read/write accessto the "properties" table in the checkin database, to change valuesthat get uploaded)
Android.
access to the/data directory. You can see through the permission settings of the data directory, other users do not have the read permission.Therefore, if you press the LS command in the data directory under the general permission of ADB, you will get the opendir failed and permission denied errors. You cannot
synchronization status android. permission. READ_SYNC_STATS, read synchronization status, get Google online synchronization statusRestart android. permission. REBOOT to allow the program to restart the device.Android. permission.
be a reserved permission.
Android. permission.Get_accountsAccess an account list in the Accounts Service (allows access to the list of accounts in the Accounts Service)
Android. permission.Get_package_sizeAllows a program to
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.