Questions tagged [xposed-framework]

Xposed is a framework for modules that can change the behavior of the system and apps without touching any APKs

As described in the Xposed Installer in the Xposed Module Repository, Xposed is a framework for modules that can change the behaviour of the system and apps without touching any APKs. That's great because it means that modules can work for different versions and even ROMs without any changes (as long as the original code was not changed too much). It's also easy to undo. As all changes are done in the memory, you just need to deactivate the module and reboot to get your original system back. There are many other advantages, but here is just one more: Multiple modules can do changes to the same part of the system or app. With modified APKs, you to decide for one. No way to combine them, unless the author builds multiple APKs with different combinations.

Source code

https://github.com/rovo89/XposedBridge

Tutorials & Examples

64 questions
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
0 answers

Android App Root detection method was bypassed by focusing specifically on the rootbeer library being used

My Android App uses rootbear library to detect rooted devices. But during app security penetration testing, rootbear root detection mechanism is bypasssed using the "unrootbeer Xposed module script" Below are the steps followed during penetration…
5
votes
1 answer

finding method to hook for Xposed Module

I am trying to make a Xposed module. I read a tutorial first which had instructions to manipulate the clock. The code is like: package de.robv.android.xposed.mods.tutorial; import static…
Himanshu Jain
  • 1,809
  • 1
  • 13
  • 23
5
votes
2 answers

Enable Xposed modules from shell

Is there an API to enable an Xposed module in Android from the shell (using ADB) and not through the device's UI. This is constantly a bother for automation, when we need to install our module on a clean test emulator. This is currently the only…
eladidan
  • 2,634
  • 2
  • 26
  • 39
4
votes
1 answer

Class ref in pre-verified class resolved to unexpected implementation

I am using Android Studio and developing an Xposed Framework module. The majority of my users can use my application just fine, however two of them have an issue, which is pasted below. I have done some searching and attempts at fixing it (removing…
4
votes
0 answers

getBackground() return null

So I'm trying to hook OnActivityResume using Xposed. This is one part of my code in after hook: ArrayList views = new ArrayList(); listViews(views, rootView); Log.d("ViewListing", Integer.toString(views.size())); …
Vinz243
  • 9,654
  • 10
  • 42
  • 86
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 - How to hook the private static method

Xposed question: I want to modify some static field in android.os.Build, such as android.os.Build.BOARD, android.os.Build.DEVICE, android.os.Build.DISPLAY. There are 3 private static methods ( private static String getString(String…
Ray
  • 71
  • 1
  • 6
3
votes
3 answers

Xposed: how to block a method call

I'm using Xposed to do some method hooking (for now, just for learning). I've manged to hook the method SendTextMessage (android.telephony.SmsManager), i can do some things before the call and after the call of the method, so my question is, can i…
Sharas
  • 1,985
  • 3
  • 20
  • 43
2
votes
0 answers

Disable Copy&paste through Clipboard functions in Android by using Xposed

I am currently developing an app(API level 23) that is going to allow the user to choose what application will have the copy and paste functionality enabled. I am working with Xposed to do so. I have 2 files at the moment. MainActivity.java and…
2
votes
1 answer

Possible to pre-activate Xposed module without manually activating them via GUI?

Is it possible to activate Xposed-modules automatically rather than checking them to be active in the Xposed GUI? Is the enabled status of the modules stored somewhere easily accessible (on a rooted device)...?
JohnyTex
  • 3,323
  • 5
  • 29
  • 52
2
votes
1 answer

Xposed how to create a module with a GUI preferences screen

I am creating a module for Xposed, it does what I want but I would like to provide users with a simple preferences screen to input two integer values. I mainly used the tutorial that can be found here on XDA. The tutorial explains that one has to…
gaborous
  • 15,832
  • 10
  • 83
  • 102
2
votes
1 answer

Method to check if phone screen is on or not

I'm trying to have an Xposed module check (on hardware button press) whether the phone screen is on or not. How would I do this, is there any method to check this? Thanks. EDIT: This needs to work on API 17 or more.
Grymfogel1
  • 127
  • 2
  • 14
2
votes
1 answer

Android wake screen method

My friend and I are trying to develop a module for Xposed Framework that hooks the method called when you press the home button and the screen wakes up. We have searched around, trying to find some viable information, but we need help understanding…
Grymfogel1
  • 127
  • 2
  • 14
1
vote
0 answers

Bypass SSL certificate pinning cause WebView error

I rooted my phone using Magisk Delta and installed all the necessary components, including LSPosed. I used a repo (https://modules.lsposed.org/module/io.github.tehcneko.sslunpinning) to bypass SSL pinning and it was successful. I can intercept all…
1
2 3 4 5