Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Xposed not working on instrumented apps #55

Open
ReyhanJB opened this issue Nov 17, 2016 · 2 comments
Open

Xposed not working on instrumented apps #55

ReyhanJB opened this issue Nov 17, 2016 · 2 comments
Labels

Comments

@ReyhanJB
Copy link

Hi,

I've installed Xposed on genymotion, where my virtual device is a Nexus 5x running API 23 (Marshmallow). My Xposed module dynamically analyzes the execution of another app, FooDroid for example.

My module works quite fine when I manually run it on the emulator. However, when I run the app using espresso or robotium tests, Xposed terminates with the following error: "Instrumentation detected, disabling framework for FooDroid". I tried to resolve the issue by downloading XposedBridge source code from here (https://github.com/rovo89/XposedBridge/tree/master), changing the file "XposedBridge.java" by commenting out the following lines:

192: disableHooks = true;
193: return;

Then I built the project, and changed XposedBridge.APK to XposedBridge.jar

Next, I downloaded Xposed for here (http://dl-xda.xposed.info/framework/sdk23/x86/), and replaced the XposedBridge.jar with my own version. However, when I installed the new framework and reboot the virtual device, it was trapped in a bootloop (log file attached).

log.txt

I was wondering if there is a stable XposedBridge.jar file which I can use. I really appreciate it.

Regards,
Reyhan

@rovo89
Copy link
Owner

rovo89 commented Nov 17, 2016

You have to use the "art" branch. Besides that, I don't know what the side-effects of removing this check are as it has existed for a very long time. Chances are everything will work fine, but it might also crash the app.

By the way, why did you open the issue here, not in the XposedBridge project?

@ReyhanJB
Copy link
Author

ReyhanJB commented Dec 8, 2016

Thanks for the reply. I probably had both of the projects opened and mistakenly posted here instead of the XposedBridge project. I move it there since I have some follow up questions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants