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
2
votes
0 answers

Xposed: How to call a method in the name of My Xposed Module?

I'm developing a module to achieve when specifying app launch, change the system time by SystemClock.setCurrentTimeMillis(), this method required sharedUserId permission, as we know, most of the app haven't this permission, and I'm sure in my module…
zxq
  • 21
  • 3
2
votes
2 answers

Using xposed to hook a method with a custom class array as an argument

How can I hook a method that contains an array of a custom class? [Lcom/samsung/android/uniform/widget/notification/NotificationItem; This is the smali argument. I can get the class with XposedHelpers.findClass() but I can't create an array of it..
Seth
  • 1,769
  • 4
  • 26
  • 39
2
votes
1 answer

Xposed:how to get Context when an App start

I try to hook all of apps, how can I get an App's Context. I tried try { Class ContextClass = XposedHelpers.findClass("android.content.ContextWrapper", lpp.classLoader); XposedHelpers.findAndHookMethod(ContextClass,…
Leon
  • 21
  • 2
2
votes
1 answer

Add/Inject/Force line into manifest of every installed app

the problem is, i use OP5T, and none of any 8.0/8.1 stock custom rom does support 18:9 scaling feature like in OOS, this feature named as "Full Screen Apps" under app category. after a few googling, i came up with these method: 1.) add/inject/force…
sansmokka
  • 43
  • 4
2
votes
0 answers

Hooking android classes with Xposed

I'm trying to hook into the android.bluetooth.BluetoothGatt.writeCharacteristic method using the Xposed framework. How do I hook into methods that are, as to the best of my knowledge, are dynamically linked such as any of Android's native bluetooth…
jostomp
  • 21
  • 2
2
votes
4 answers

Log all methods called in an app by Xposed

As title said, I want to use xposed to log all methods called in an app from it start till I stop it. I only want to log Class name, Method name, don't want to hook all method. I try this code, but get error getMethod not…
LieuLiau
  • 25
  • 1
  • 6
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

XPosed: IXposedHookZygoteInit vs IXposedHookLoadPackage

I'm using XPosed for hooking some methods on Android device. As I know, IXposedHookZygoteInit will run first when zygote process first starts. After that IXposedHookLoadPackage will be called when normal packages load. So IXposedHookLoadPackage…
Trần Kim Dự
  • 5,872
  • 12
  • 55
  • 107
2
votes
0 answers

classnotfound issue with xposed (instant run disabled)

I make a xposed module to modify the google messenger application but I have a problem with a class that xposed can't find using the boot class loader : public class XposedModSendTimestamp implements IXposedHookLoadPackage { public void…
Flo
  • 21
  • 3
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

How to call a method of a custom object passed as argument in Xposed?

In Xposed, I'm trying to call a method getResult of AppCustomClass object passed as argument in hooked method. protected void myMethod(XC_LoadPackage.LoadPackageParam loadPackageParam) { final Class appCustomClass =…
2
votes
1 answer

Android RIL socket and phone calls encryption?

Now I'm testing something in Android phone calls encryption. I have Hook some method in RIL.java by using Xposed framework if ( lpparam.packageName.contains("com.android.phone")){ XposedBridge.log("damowang Loaded app: " +…
Keith.L
  • 21
  • 4
2
votes
3 answers

How to hook into a method with int[] using xposed?

I am trying to hook into this method in NotificationManagerService using Xposed: void enqueueNotificationInternal(final String pkg, final String opPkg, final int callingUid, final int callingPid, final String tag, final int id, final…
Wilco
  • 53
  • 1
  • 6
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
vote
0 answers

Xposed: hooking a method with specific parameter

I’m trying to hook a method which requires a specific parameter. For example: I have a class com.example.someclass, method name is getValue. Method requires a String. If I pass "Apple", it returns "fruit", if I pass "Mellon" it returns "berry" I…
Kostia
  • 11
  • 5
1
2
3
9 10