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
1
vote
0 answers

How to hooking New string(int[],int,int) with Xposed or lsposed?

I'm practicing hooking with xposed. I know I use findAndHookConstructor to hook up constructors in xposed. However, the following code could not be hooked with xposed. String v1_1 = new String(v7, 0, v4); -> java.lang.String(int[], int, int) Here…
Raining2
  • 11
  • 2
1
vote
0 answers

Xposed: hooking process of checking user's password entered on lockscreen?

I am developing my own xposed module, and it will interfere the process of verifying the password user had entered, and then do some stuff. Which method and from which package should i hook? I tried to hook checkPassword() method from…
1
vote
0 answers

How to hook the abstract method getUserAgentString?

I want to hook WebSettings's getUserAgentString system method. But this method is abstract. In fact, WebSettings itself is an abstract class. Hooking the method gives the following exception. java.lang.IllegalArgumentException: Cannot hook abstract…
Holly
  • 11
  • 1
1
vote
1 answer

Xposed can't hook getInstalledApplications

I wanted to hook getInstalledApplications and getInstalledPackages to monitor if the app use this method to get my appliactionlist. My code: XposedHelpers.findAndHookMethod( android.content.pm.PackageManager.class.getName(), …
yy yy
  • 13
  • 3
1
vote
0 answers

Cannot access sharedPrefrences from Xposed

I have an App that contains an xposed module in the App there is recyclerView and in each View in it there is a check button once checked it should save that it's checked and save an object to an arraylist then this Arraylist is saved in…
1
vote
1 answer

Android x86 system files "Read-Only", magisk installation

I want to change the kernel and ramdisk.img file to install magisk, however, the folder is "read-only" My setup: Android-x86_9.0-r2_(x8) running on Proxmox (using QEMU and qcow2 formatted image) GRUB, GBT installed, and I selected install…
Spacey3
  • 31
  • 1
  • 3
1
vote
1 answer

Xposed - hook MTP method running in android.process.media method

I wish to hook a MTP method bool MtpDevice::openSession() in MtpDevice.cpp, this method should be running in android.process.media. When I try to hook package name android.process.media, it do not being hit at all.(Maybe this process name is not a…
lucky1928
  • 8,708
  • 10
  • 43
  • 92
1
vote
1 answer

(Ed)Xposed Ressource override failing

I try to override two XML string[] things from https://github.com/LineageOS/android_packages_apps_Jelly/blob/lineage-16.0/app/src/main/res/values/search_engines.xml from: