Questions tagged [xposed]

Xposed is a framework allowing to "hook into", that is, modify behavior of any function on an Android device. This is achieved via modifying "Zygote", which is the heart of the Android runtime. Xposed is a cheap replacement for a custom rom with custom code.

To learn more: Development Tutorial; Xposed Module Repository

144 questions
10
votes
1 answer

Programmatically enable/disable Immersive Mode

I'm looking to make my Android app fullscreen, but only showing the android navigation bar on a certain screen (my settings screen). I know that it is dangerous to hide the navigation bar permanently on a screen, but I want to know if this is…
Jason
  • 445
  • 1
  • 6
  • 16
8
votes
1 answer

Crashlytics crash report mentions XposedBridge

I released an update to an Android app yesterday, and today I am seeing a few crash logs in Crashlytics: Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.myapp/com.example.myapp.MyWebViewActivity}:…
Magnus
  • 17,157
  • 19
  • 104
  • 189
7
votes
3 answers

How does Snapchat detect XPosed Framework?

I tried to install Snapchat on my newly rooted and Xposed smartphone. But the login is impossible as Snapchat detects Xposed Framework. I "understand" the reason of this restriction, even though I think it's a bit too much as I don't use Xposed for…
Gp2mv3
  • 1,435
  • 20
  • 33
6
votes
1 answer

How can my Android application scan its own memory map for known bad keywords such as “Xposed” or “Frida”?

An app I am working on at work was recently pen tested. One of the risks that came back in the report was that it has no proper Hook detection. I had implemented the RootBeer library but that was easily avoided. A Frida script was created by the…
Shannon
  • 63
  • 7
5
votes
0 answers

Android (root) - Force image for camera

I was wondering if there are any apps/(Xposed) modules which can force an image to be seen by the camera. Basically, I'd like a scanner to scan a self-made barcode rather than needing two phones; one to generate and show the barcode and the other to…
Isaiah
  • 1,852
  • 4
  • 23
  • 48
4
votes
1 answer

XposedBridge Crash Report, How to fix it?

I got this error report in Crashlytics. Fatal Exception: java.lang.RuntimeException Unable to start activity ComponentInfo{com.example/com.example.view.main.MainActivity}: android.view.InflateException: Binary XML file line #32: Binary XML file line…
c-an
  • 3,543
  • 5
  • 35
  • 82
4
votes
2 answers

Xposed: How to get the hooked app's context?

Like the title, I want to hook a third app, and can call my application activity from the third app's activity.So I want to get the third app's context, how should I do? The third app's package is com.ss.android.gallery.heavy, My project's package…
hao
  • 57
  • 1
  • 5
4
votes
1 answer

Running Xposed inside Google Android Emulator with custom image

Problem description: I need to get droidmon working on a specific android image with predefined parameters. Xposed framework shows an error on installation, that it requires root access. Environment: Google Android Emulator running a custom rooted…
lt_katana
  • 148
  • 3
  • 12
4
votes
2 answers

How to get Context through hooking in android

The background is : I'm using xposed framework to hook a third party app. When I hook method XXX, xposed gave me "ClassNotFound" error. I checked and found the method XXX is in a dex file and would be loaded by DexClassLoader on the run. To hook…
Misty Zhu
  • 83
  • 2
  • 7
3
votes
1 answer

Is it possible to replace Android N's ART with Android M's?

In AOSP 7 source tree, Is it be possible to use Android 6's art/ instead of the original Android 7's art/? I don't ever recall having seen such replacements before, but out of curisity is it possible? You may ask me why? The answer is all about…
3
votes
2 answers

How does Xposed Framework hook methods in Android

I am going through Xposed framework in Android. Specifically reading blog - http://d3adend.org/blog/?p=589 for potential countermeasures and have couple of question on those line. So when we hook a method using Xposed , framework makes that method…
Aniket Thakur
  • 66,731
  • 38
  • 279
  • 289
3
votes
1 answer

How Xposed do hooking in Android

I am trying to understand how Xposed do the hooking part and it provides the API's for user to hook any method very easily. I have gone through the source code of Xposed Bridge , the jar file which resides inside every process whenever it starts. I…
rohan
  • 161
  • 1
  • 1
  • 10
3
votes
1 answer

Is there a condition for xposed method replacement replaceHookedMethod?

I'm quite new to xposed development and i'm stuck: I hook a method, check some stuff, then i want to decide wheter i replace it with just return true; or let it run. But i haven't found a possibility to set a condition to replaceHookedMethod(..) I…
lleo
  • 155
  • 1
  • 9
3
votes
2 answers

Xposed - Code Doesn't Change SystemUI Quick Toggles BG as intended

I'm hooking into SystemUI Quick Toggles Background, and changed it according to selected color, i'm trying to change it to a static color first, not changeable one . The problem is, when doing this code, sometimes it works, sometimes it won't work,…
Jaeger
  • 1,646
  • 8
  • 27
  • 59
2
votes
0 answers

Can Xposed be used to intercept calls to native code?

Referring the Frida tutorial. public class MainActivity extends AppCompatActivity { static { System.loadLibrary("native-lib"); } public native int Jniint(); In the tutorial Frida is used to intercept the call to the JNI method…
Jake
  • 16,329
  • 50
  • 126
  • 202
1
2 3
9 10