As we all know, the xposed framework must be root, but now the root success rate is getting lower and lower, which greatly increases the usage threshold. Seemingly no solution, it can be solved through sandbox technology.
The typical application of the sandbox technology in the market is a dual-category application. This application introduced today not only supports the dual-energy open, but also supports the running of xposed frames + plug-ins. It is truly root-free, and even without installing the xposed framework, it can Fun with a variety of plug-ins. Can be described as the gospel of the majority of friends.
The following article will be divided into two parts: function introduction and technical principle. Because the technical principles are more profound, students interested in technology can skip to the second half of the article. Welcome to discuss with each other!
First of all, say the function part. The application is <Avatar Master X Edition >, is based on the upgrade version of the avatar master. As far as I know is also the only manufacturer on the market produced xposed double open software.
Application Po download address is as follows:
http://sj.qq.com/myapp/detail.htm?apkName=com.qihoo.magic.xposed
'Demo Video'
http://v.youku.com/v_show/id_XMzM5MDc3MjU0OA==.html?spm=a2h3j.8428770.3416059.1
'Version function'
1. Avoid root-free flashing machine, even without installing xposed module, run xposed plugin directly inside the avatar master!
2. The first batch of supported functions are: Automatic grabbing of red envelopes, Local modification of balances, Camouflage location, Camouflage equipment information, etc.;
The author pro-tested several functions, the local amendment of the balance and automatically grab red packets are achieved, eliminating the root of the trouble, really convenient too much.
'Steps for usage'
The installed interface is as follows,
Click on the xposed plugin and go to the list page
Note: The xposed plugin is valid only for the application in the clone, and it is invalid for the native application in the mobile phone. Please pay attention!
For the first time, there will be instructions for use, indicating that the plug-in module in xposed is provided by a third-party developer and has nothing to do with the avatar master itself.
Click agree to enter the xposed plug-in list, select a module such as automatic grab red packets, click the card to enter the function description page, click Download.
Here we must explain that some users will worry about whether they will create a micro-envelope number. The risk is indeed!! However, compared to other similar apps on the market, the risk is relatively small. Please use it as appropriate.
This is the page of the function details page. Download the xposed plugin here.
4. Back to the list page, after downloading, click Enable to enter the plug-in function settings page. The grab red package function can be used without any changes.
5. It is now possible to grab a red envelope automatically!! Pro-testing effect is effective:
Other functions We try it yourself. As a whole, most of the plugins can be used, some are not yet supported, and it is expected that the follow-up will continue to be optimized.
Well, the following describes the implementation principle from the technical level, reading time is about 7 minutes.
Free root-free brush machine, play with the avatar master Xposed plug-in
One, first time Xposed
Xposed open source code is https://github.com/rovo89. Xposed code project structure as shown below,
The basic principle of Xposed is to use the modified app_process to replace the app_process in the Android system (art virtual machine will also replace libart.so), this requires root privileges or brush machine can be achieved. Does not need root or brush machine, can achieve Running Xposed plugins in Android applications? The next section will explore this issue.
Second, no root does not brush machine, run Xposed plugin in the avatar master
Xposed plug-ins can be roughly divided into two categories, one is to modify the Android system, such as the gravity toolbox; one is to modify the Android application, such as micro-X module. Modify the system, no matter which implementation path, it requires root Or brush machine, this article does not discuss such plug-ins. So the remaining kind of modified Android application plug-in can not run in the application without root brushing machine?
Xposed plugins need to run in the host application process to complete the corresponding function. Not root does not flash, support Xposed plugins running in the application, a core issue is how to inject Xposed plugin code into the host application process; Another core issue is the host How to provide Xposed plugin runtime environment in the application process.
1. Apply double open
For the question of how to inject Xposed plugin code into the host application process, from Android's process sandbox isolation mechanism, between two Android applications, it is impossible for an Android application to inject code without having root privileges. To another Android application process. But inside an Android application or inside a process is feasible, there is no permission problem.
From this it emerges that within an Android application, how to run another Android application (hosting process of Xposed plugins)? The application of double open is a good solution. The avatar master is one of the classic applications, the core is the use of sand Box technology virtualizes an Android system.
The so-called Android virtualization technology is to use an Hook technology and a sandbox mechanism to simulate an Android system in an Android application. The double-opened App runs in the virtualized Android system and is completely isolated from the external Android system.
The following figure shows a schematic diagram of the process model of a double-open application. The UID of all processes is the same.
After solving the Xposed plugin host application running problem, how to inject Xposed plugin code into the host application process and provide the Xposed plugin runtime environment in the host application process?
2. Xposed plugin operating environment
First of all, the Xposed framework needs to be transplanted. The Xposed framework migration involves two parts, one part is the transplantation of the Xposed framework C++ part, specifically the transplantation of the Java hook native library (libxposed_ dalvik.so and libxposed_art.so); part is the transplantation of the Xposed framework Java part. , specifically XposedBridge.jar transplantation.
Dual open application process (such as WeChat process) is a process of dual Application running at the same time, an Application is Host Application (dual open application of its own Application), an Application is a dual open application (such as WeChat) of the Application. Will be on the map The process 1 of the double-open application (such as WeChat) is enlarged and refined, as shown in the following figure.
In a double-open application (such as WeChat) process, the first to start is the Host Application. Before the Dual Application (such as WeChat) Application is started, we can inject the XposedBridge.jar code into the double-open application (such as WeChat) process through the DexClassloader. After injecting the XposedBridge.jar code, call its main function, first prepare the Xposed plugin runtime environment (mainly the Java hook so library loading), then load the Xposed plugin and call its entry function, and the Xposed plugin starts to run in the double open application. Process (such as WeChat).
to sum up:
After an analysis from a technical point of view, the technical implementation path for running Xposed plug-ins in Android applications was discussed under the condition of no root and no flash, and the theoretical support for the implementation path was given. In the market, applications that support Xposed plug-ins have appeared. 'The avatar master xposed special edition', it is a 360 open double-category App, which has been implemented in the dual open application running Xposed plug-in. From the product point of view, no root does not brush machine, supporting applications running Xposed plug-in fully feasibility.
In the end, Xposed is a tool that relies on superb technology. It not only brings improved efficiency, but also brings some unexpected features. The application of double-opening is a sandbox technology that is boldly explored on the Android system. , which effectively solves the multiple account issues of Android applications. I believe that the combination of the two, will be able to bring surprise features to the user.
As we all know, the xposed framework must be root, but now the root success rate is getting lower and lower, which greatly increases the usage threshold. Seemingly no solution, it can be solved through sandbox technology.
The typical application of the sandbox technology in the market is a dual-category application. The application introduced today not only supports dual-energy open support, but also supports running xposed frames + plug-ins. It is truly root-free, and even without the xposed framework, it can Fun with a variety of plug-ins. Can be described as the gospel of the majority of friends.
The following article will be divided into two parts: function introduction and technical principle. Because the technical principles are more profound, students interested in technology can directly skip to the second half of the article. Welcome to discuss with each other!
First of all, say the function part. The application is <Avatar Master X Edition >, is based on the upgrade version of the avatar master. As far as I know is also the only manufacturer on the market produced xposed double open software.
Application Po download address is as follows:
http://sj.qq.com/myapp/detail.htm?apkName=com.qihoo.magic.xposed
'Demo Video'
http://v.youku.com/v_show/id_XMzM5MDc3MjU0OA==.html?spm=a2h3j.8428770.3416059.1
'Version function'
1. Avoid root-free flashing machine, even without installing xposed module, run xposed plugin directly inside the avatar master!
2. The first batch of supported functions are: Automatic grabbing of red envelopes, Local modification of balances, Camouflage location, Camouflage equipment information, etc.;
The author pro-tested several functions, the local modification of the balance and automatically grab red packets are realized, eliminating the root of trouble, really convenient too much.
'Steps for usage'
The installed interface is as follows,
Click on the xposed plugin and go to the list page
Note: The xposed plugin is valid only for the application in the clone, and it is invalid for the native application in the mobile phone. Please pay attention!
For the first time, there will be instructions for use, indicating that the plug-in module in xposed is provided by a third-party developer and has nothing to do with the avatar master itself.
Click agree to enter the xposed plug-in list, select a module such as automatic grab red packets, click the card to enter the function description page, click Download.
Here we must explain that some users will worry about whether it will create a micro-envelope number. The risk is indeed!! However, compared to other similar apps on the market, the risk is relatively small. Please use it as appropriate.
This is the page of the function details page. Download the xposed plugin here.
4. Back to the list page, after downloading, click Enable to enter the plug-in function settings page. The grab red package function can be used without any changes.
5. It is now possible to grab a red envelope automatically!! Pro-measurement effect is effective:
Other functions try it yourself. As a whole, most plug-ins can be used, some are not yet supported, and it is expected that the follow-up will continue to be optimized.
Well, the following describes the implementation principle from the technical level, reading time is about 7 minutes.
Free root-free brush machine, play with the avatar master Xposed plug-in
One, first time Xposed
Xposed open source code is https://github.com/rovo89. Xposed code project structure as shown below,
The basic principle of Xposed is to use the modified app_process to replace the app_process in the Android system (art virtual machine will also replace libart.so), this requires root privileges or brush machine can be achieved. Does not need to root or brush machine, can achieve Running Xposed plugins in Android applications? The next section will explore this issue.
Second, no root does not brush machine, run Xposed plugin in the avatar master
Xposed plug-ins can be roughly divided into two categories, one is to modify the Android system, such as the Gravity Toolbox; one is to modify the Android application, such as micro-X module. Modify the system, no matter which implementation path, it requires root Or brush machine, this article does not discuss such plug-ins. So the remaining kind of modified Android application plug-in can not run in the application without root brushing machine?
Xposed plugins need to run in the host application process to complete the corresponding function. Not root does not flash, support Xposed plugins running in the application, a core issue is how to inject Xposed plugin code into the host application process; Another core issue is the host How to provide Xposed plugin runtime environment in the application process.
1. Apply double open
For the question of how to inject Xposed plugin code into the host application process, from Android's process sandbox isolation mechanism, between two Android applications, it is impossible for an Android application to inject code without having root privileges. To another Android application process. But inside an Android application or within a process is feasible, there is no problem with permissions.
It follows that, in an Android application, how to run another Android application (hosting process of Xposed plug-in)? Application of double open is a good solution. The avatar master is one of the classic applications, the core is the use of sand Box technology virtualizes an Android system.
The so-called Android virtualization technology is to use an Hook technology and a sandbox mechanism to simulate an Android system in an Android application. The double-opened App runs in the virtualized Android system and is completely isolated from the external Android system.
The following figure shows a schematic diagram of the process model of a double-open application. The UIDs of all processes are the same.
After solving the Xposed plug-in hosting application running problem, how to inject Xposed plug-in code to the host application process and provide the Xposed plug-in runtime environment in the host application process?
2. Xposed plugin operating environment
First of all, the Xposed framework needs to be transplanted. The Xposed framework migration involves two parts, one part is the transplantation of the Xposed framework C++ part, specifically the transplantation of the Java hook native library (libxposed_ dalvik.so and libxposed_art.so); part is the transplantation of the Java part of the Xposed framework. , specifically XposedBridge.jar transplantation.
Dual open application process (such as WeChat process) is a process of dual Application running at the same time, an Application is Host Application (dual open application of its own Application), an Application is a dual open application (such as WeChat) of the Application. Will be on the map The process 1 of the double-open application (such as WeChat) is enlarged and refined, as shown in the following figure.
In a double-open application (such as WeChat) process, the first to start is the Host Application. Before the Application of a dual-open application (such as WeChat) is started, we can inject the XposedBridge.jar code into the dual-application (such as WeChat) process through the DexClassloader. After injecting the XposedBridge.jar code, call its main function, first prepare the Xposed plugin runtime environment (mainly the Java hook so library loading), then load the Xposed plugin and call its entry function, and the Xposed plugin starts to run in the double open application. Process (such as WeChat).
to sum up:
After an analysis from a technical point of view, the technical implementation path for running Xposed plug-ins in Android applications was discussed under the condition of no root and no flash, and the theoretical support for the implementation path was given. In the market, applications that support Xposed plug-ins have appeared. 'The avatar master xposed special edition', it is a 360-type double open category App, which has been implemented in the dual open application running Xposed plug-in. From the product point of view, no root does not brush machine, supporting applications running Xposed plug-in fully feasibility.
In the end, Xposed is a tool that relies on superb technology. It not only brings improved efficiency, but also brings some unexpected features. The application of double-opening is a sandbox technology that is boldly explored on Android systems. , which effectively solves the multiple account issues of Android applications. I believe that the combination of the two, will be able to bring surprise features to the user.