Home > Common Problem > body text

What is XP Framework

Guanhui
Release: 2020-05-29 10:49:31
Original
8984 people have browsed it

What is XP Framework

What is the XP framework?

XP framework is the XPosed framework, which is a set of open source framework services that run in Android high-privilege mode. , a framework service that can affect the running of the program without modifying the APK file. Based on it, many powerful modules can be produced and operate simultaneously without conflicting functions.

The principle of XPosed

xposed The principle is to modify the key files of the system, and then when the APP calls the system API, it first , and these xposed-based modules can selectively do some "bad" things when the app calls these APIs, or modify the returned results, so that the effect will change when the app is running, but the app itself will not It is destroyed, but when the system API is called, the performance of the Android system changes. This is a hook, the professional term is hook. So, to put it bluntly, xposed is a powerful hook framework.

Let’s give a professional explanation of the principle:

The author controls the zygote process by replacing the /system/bin/app_precesss program, so that it will load the Xposed framework during the system startup process A jar file, XposedBridge.jar, completes the hijacking of the Zygote process and the Dalvik virtual machine it created, and allows developers to independently replace any class, such as the framework itself, the system UI or a random app.

In addition, the advantage of using this method is that there are no changes in the ROM or APP, so theoretically it will not cause the device to become bricked. At the same time, it is very easy to undo the modifications. You only need to disable Xposed framework can be completely restored to its original state.

Who developed ##Does root need to be used to use XPosed?

Since it is hijacking the system, of course root permissions are required.

Is there any risk in XPosed?

Of course there is, and rooting is still risky, but don’t worry, as long as it is not a niche phone, others will step on it. It has passed, so feel free to install it boldly. If you are afraid of re-flashing the system, you might as well buy an iPhone. However, some domestic Android systems have been modified randomly, such as: MIUI, Flyme, and some standard APIs have been tampered with, so when installing the module, pay attention to see if there is any distinction between ROM Recommended tutorial: "
PHP Tutorial

The above is the detailed content of What is XP Framework. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
xp
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template