Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Difference between Xposed and VirtualXposed

weishu edited this pageSep 8, 2018 ·8 revisions

Although VirtualXposed can run Xposed modules, there are some differences between Xposed and VirtualXposed:

  1. VirtualXposed can not hook into system process, so the modules(eg: Gravity Box) which modify system process(such as system_server, systemui) can never work.
  2. Methods which are too short(less than 2 assembly instructions) can not be hooked or not stable.(eg: methods with empty body or return constant directly) 。If the method is in your app, you can add redundant statement :Log.d("fake", "just for vxp") to avoid this.
  3. When hook native method in VirtualXposed, you must load the corresponding so first. see:#39
  4. IXposedHookZygoteInit hooks into app process, not zygote.
  5. The field : isFirstApplication in XC_LoadPackage is always true.
  6. Do not support Resources hooks.
  7. When you need to call original method, please always useXposedBridge.invokeOriginalMethod()

How to know if app/modules run in VirtualXposed ?

if (System.getProperty("vxp") !=null) {// running in VirtualXposed}
Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp