Android application program permanent Root permission acquiring method

A technology of Android application and root authority, applied in the direction of program control device, program loading/starting, etc., can solve the problem of SuperUser popping up authorization reminders many times, and achieve the effect of convenient use

Active Publication Date: 2013-03-20
BAIDU COM TIMES TECH (BEIJING) CO LTD
View PDF2 Cites 67 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0027] The technical problem to be solved by the present invention is to provide a method for an Android application program to permanently obtain Root authority, which solves the problem that the SuperUser will pop up authorization reminders many times when the application program executes commands as Root

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
  • Android application program permanent Root permission acquiring method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] like figure 1 Shown, a kind of Android application program of the present invention permanently obtains the method for Root authority, comprises the steps:

[0040] Step 1, the operation that needs to use Root permission in the Android application program is written by C / C++ language, and compiled into an Android system executable program file (such as, the name of the executable program file is mySu), and the executable program file The executable program file can realize the function of self-upgrade and communication with the Android application program; the executable program file is packaged in the Android application program;

[0041] Step 2, judge whether the executable program file exists under the directory of / system / bin under the Android system, if not, then enter step 3; if yes, then judge whether the executable program file needs to be upgraded, and to upgrade, the Android application program Establish communication with the executable program file (during ...

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 provides an android application program permanent Root permission acquiring method. The method includes the steps of editing operations where Root permission is needed, compiling the operations into an executable program document, containing the executable program document into an application program which is authorized through a one-time subscriber unit (su) program, copying the executable program document to a /system/bin directory, modifying an owner and a group of the executable program document to be a root, and setting the subscriber unit identification (suid) position. As a result, the executable program document can have the Root permission every time the executable program document is executed so as to prevent an authorized window from popping out again. Due to changes of requirements, the executable program document is likely to need upgrading. Therefore, the executable program document needs achieving a self-upgrading function so as to prevent the authorized window from popping out again when upgrading. The android application program permanent Root permission acquiring method executes various operations with the identification of the Root. Even if the application program is reinstalled and upgraded, the su program authorization operation does not need repeating again. Therefore, the android application program permanent Root permission acquiring method brings great convenience to users.

Description

【Technical field】 [0001] The invention relates to the technical field of application rights management on an Android system, in particular to a method for permanently obtaining Root rights for an Android application on a rooted Android mobile phone. 【Background technique】 [0002] In the Android Android system, third-party applications run as temporary users, which limits the permissions of the application. For example, when an application wants to access or modify Android system files, it will fail due to insufficient permissions. Now some Android mobile phones have been set with Root, which is a super administrator user account in UNIX systems such as Linux. For Android mobile phones, the so-called Root is actually to copy the su program file of the system to the / system / bin directory through various methods, and install SuperUser authorization management. Third-party applications can use the su program (the su program is rights management file) to perform operations that...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44G06F9/445
Inventor 张长安刘德建陈宏展罗上清潘运武
Owner BAIDU COM TIMES TECH (BEIJING) CO LTD
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