Xposed Framework FAQ
Does this require root access?
Yes, because it replaces a file in /system/bin. Once the framework is installed, it should work without root access.
For which devices/ROMs does it work?
I develop the Xposed framework
based on the AOSP sources. I'm personally using CM10.2 on an I9100 (Samsung Galaxy S2, bought in Germany). Basically, it should work on any phone which with a ROM based on Android 4.0 or later
and an ARM or x86 processor
(this is the processor architecture, almost all smart phones and tablets have either of those). Exceptions might be ROMs which are different from the original Android code in some very internal, central code parts (which don't need to be touched for most theming and enhancement modifications). But this is related to the ROM, not the phone itself.
target higher-level code, so they are more likely to be incompatible with your ROM. Basically, the question is whether the methods and resources which the module modifies are similar on your ROM and on the developer's ROM. Let's say a module needs to modify the result of a certain method call. For this, it needs to specify the exact name and parameters that identify that method. If the in your ROM, an additional parameter has been added, the module can't find the method anymore and won't work. If the method can still be found, it will probably work (unless the rest of the app/ROM has changed too much).
There is not definite answer whether it will work. Just try it (of course, making a nandroid backup before is never a bad idea). If it doesn't work, just disable the module. You might want to inform the module developer (not me!) about this fact and provide details (e.g. a logcat and/or the content of /data/data/de.robv.android.xposed.installer/log/debug.log).
After installing Xposed, the runtime gets reset from ART to Dalvik. Can you stop it please?
You can be glad that I implemented this, otherwise you would be in a bootloop know. Xposed isn't compatible with ART (yet). It's a completely different architecture with pretty much no documentation. Rewriting Xposed for the ART runtime requires understanding the concept, the code structure and many details to know how it works. I have already spent dozens of hours on that and some things are working. But still it's a long way ahead. Don't expect even a test version in the near future. So please don't ask when it will be available - you will surely know when it is ready. I have nothing else to say about that.
Update: ART might be become the default runtime environment in the next Android version. You can read my thoughts about this here
What about Gingerbread? Or any other Android version before 4.0.3?
An experimental version for Gingerbread
made by liudongmiao can be found here: http://forum.xda-developers.com/show...4#post44034334
Note that I cannot give any support for it, please direct your feedback to @liudongmiao
Are there known incompatibilities?
There seem to be issues with AOKP nightlies. For more details, please read this post
If you are on x86 and you see the message cannot locate symbol "_Z15dvmChangeStatusP6Thread12ThreadStatus"
, I'm afraid that Xposed won't work with your ROM. It has an additional parameter for a central method which breaks compatibility. As I don't know what the parameter stands for (and what other incompatible changes the ROM contains), this will rather not be fixed. However, it could work on other ROMs for the device. Details can be found here
These ROMs are known to be affected:
, android version 4.2.2, kernel 3.4.21, Rom 4.7.1 WW
Chinese Tablet (Ramos i9
) with a Z2580 chipset on stock rom.
If have access to the source code (dalvik/vm/Thread.cpp) of these ROMs or any other ROM with a third parameter for dvmChangeStatus, please let me know.
devices ship with ROMs that are based on an incompatible Android fork called "Aliyun OS". These ROMs are incompatible
with Xposed, no chance to add support for them.
There seem to be issues (bootloops) with the Oppo Framework
, I don't have a fix yet.
On some HTC One
phones with CM11
, the System UI force crashes. This seems to be caused by SELinux restrictions. Executing "restorecon /system/bin/app_process" (as root, e.g. with adb shell) should help against the FCs, but Xposed might not work due to other SELinux restrictions. If you have the possibility to disable SELinux enforcing mode, you can try that.
If you are an SELinux expert and would like to help, please contact me.
Apart from that, obviously it won't work if the conditions mention above aren't met, e.g. if your phone isn't rooted or it is running on a pre-ICS ROM.
Final Fantasy (or some other Square Enix game) doesn't work while Xposed is enabled, can you fix it?
After spending some hours analysing what's going on, I don't think so. For details, read this post: http://forum.xda-developers.com/show...postcount=1701
Your only option is to disable Xposed (i.e. press the uninstall button and reboot) while you play and enable it again afterwards.
How can I install it?
See the first post. The framework installation needs to be done only once (and on updates), then it can be used for any modules.
Does Xposed get disabled if I flash a new ROM?
Yes, because the file it modifies, /system/bin/app_process, is part of every ROM and will be overwritten when you flash a ROM. However, as long as you don't wipe data, the Xposed Installer app will still be installed, so you can just click on "install/update" again in the Framework section and reboot.
For CyanogenMod-based ROMs, there is an easy solution: 
. This will reactivate Xposed automatically after you flash a new ROM/nightly.
For other ROMs, you can try this one
. Be careful, it will disable Xposed again if you flash it twice!
Isn't this insecure?
In a way, yes. With great power comes great risk. On the other hand, other ways of modifying your phone are also open to malicious coding. For more details see this post
Why do I have to enable a module after installing it? Couldn't you skip this additional step?
This is for security reasons (see the question above). By making you confirm that you want to use a module, apps cannot contain hidden Xposed modules. The same could be done with an additional permission, but I'm not sure if everyone would recognize that and it is harder to implement. As a bonus, this toggle allows you to temporarily disable a modification or to ship an app that contains an optional Xposed module.
How do I develop my own modification using the Xposed framework?
First make sure that Xposed is working fine for you. Then read this extensive tutorial
Why isn't the Xposed Installer available via Play Store?
I have several reasons for that. I wrote about it in this post
. And as I learned, Google does indeed sometimes remove apps which interfere with other apps
From my point of view, you are free to publish the modules you develop on Play Store (at your own risk - Google might remove them). However, be careful if you plan to get money from them. Paid apps are stored in encrypted containers, which means Xposed can't load them at boot time.
Where can I donate some money to support you?
I'm doing ok with my full-time development job. Xposed is a hobby and I want it to stay like this. If I accepted money for it, it would somehow feel like a second job, it builds up expectations for more support etc.
So please donate to charity instead, they need the money more than I do. Or if you can't afford to spend money, donate happiness to the people around you with some random acts of kindness. Thank you!
Am I allowed to fork Xposed and publish my own version? What should I consider?
I have written this down in a separate post: http://forum.xda-developers.com/show...postcount=4372
Can I include Xposed in my ROM?
First of all: One reason why I developed Xposed was to avoid the need to flash anything just for a few small changes. So Xposed is designed to work on top of ROMs, not as a part of them.
That said, I don't forbid you to include it. Here are the conditions:
- I won't support you in the process of including it. You'll have to figure out the best way to do it yourself. The easiest way (which will also cause the least problems) is probably to simply put the installer and the modules into /system/app, then your users just need to click the "install/update" button, activate the modules they want and reboot.
There might be ways to really pre-install Xposed so that it's working out of the box, but I don't recommend that. You have to be very careful about file permissions, so there is a good chance it won't work. Again, absolutely no support for this.
- I won't support your users with problems which might have been caused by using the included version instead of installing it normally.
- When your users report problems which are probably not related to including Xposed in the ROM, please try to give them some support yourself. If you can't find a solution, send them to the correct help thread. For example, this thread is only for the framework. Not for any modules, not even my own.
- I expect you to include the latest versions, which are usually the ones working best. I won't support older versions.
- Your users must be able to update to the latest version, preferably without installing a new version of your ROM. Again, I won't support older versions.
- From the previous point, it follows that you need to include the original APKs, otherwise updating is not possible due to a certificate mismatch. This is even more important since updates are possible from within the app. It also avoids confusion, like users wanting support for any modifications you might have made.
- You probably want to include some modules. There are many modules that are not written by myself. Therefore, you need to get permission from the module authors as well. For modules written by myself, the same conditions which you are just reading apply.
- Please give proper credit (which includes a link to this thread for the framework). Don't sell it as your own work.
You might have the impression now that I'm not a big fan of including Xposed in a ROM. This impression is correct. It's not too hard to install Xposed and any attempts to pre-install Xposed will just cause additonal support requests.
Why don't you just recommend Xposed in your ROM thread
, along with the place where they can download it (this thread) and some instructions how to get the most out of it for your ROM? Give your users some choice!