Method for acquiring root authority in Android system

A technology of permissions and system attributes, applied in the direction of digital data protection, program control devices, etc., can solve the problems of a lot of manpower, material resources, difficult to reproduce, consume a lot of testing and development resources, etc., and achieve the effect of ensuring security.

Active Publication Date: 2014-10-08
NANJING WANLIDA TECH
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Obviously, such a process will consume a lot of testing and development resources, and when encountering p

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for acquiring root authority in Android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0018] see figure 1 As shown, a method for obtaining root authority on the Android system of the present invention is to use the command adb shell am broadcast to send a specific broadcast through the PC-side adb tool, which can change the value of the Android system attribute sys.adb.debug and Restart the adb service of the Android system, and increase the judgment of the sys.adb.debug attribute value when executing the adb service of the Android system; the process of obtaining root permissions includes:

[0019] A. Send the broadcast of the preset name to the Android system through the adb tool on the PC side;

[0020] B. When the Android system receives the broadcast of the preset name, the value of the Android system attribute sys.adb.debug is set to 1, and the adb service of the Android system is restarted;

[0021] C. Execute the adb command;

[0022] D. Judging whether the value of the Android system attribute sys.adb.debug is 1, when it is judged to be yes, open the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for acquiring a root authority in an Android system. In the method, a specific broadcast is sent by a command adb shell am broadcast by using an adb tool at a PC side, so that a sys.adb.debug attribute value of the Android system can be changed, adb service of the Android system can be restarted, and when the adb service of the Android system is executed, judgment on the sys.adb.debug attribute value can be increased. By the method, in equipment tested to have software problems, root authority can be acquired immediately and key information is extracted for developers to analyze, so that the problem that in the prior art, a lot of follow-up tests and development resources are required to be invested for retesting is effectively solved; due to the use of a customized broadcast name, a certain confidentiality can be ensured, the root authority can be avoided from being cracked by an end user, and thus the safety of the system is ensured to the maximum degree.

Description

technical field [0001] The invention relates to the application technical field of the Android system, in particular to a method for obtaining root authority on the Android system. Background technique [0002] Android is a Linux-based free and open-source operating system primarily used on mobile devices such as smartphones and tablets. [0003] Root authority is a kind of system authority. Root is a super administrator user account in Linux and Unix systems. This account has the supreme power of the entire system, and he can operate all objects. After obtaining the root authority, it is very convenient to start or stop the process, delete or add users, add or disable hardware and other operations. Because the root authority is so powerful, there will be a very large security risk if the software defaults to the root authority, so the Android system factory software usually turns off the root authority by default, and it cannot be cracked. [0004] It is precisely because...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/44G06F21/60
Inventor 杨远彪
Owner NANJING WANLIDA TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products