rovo89 / Xposed

The native part of the Xposed framework (mainly the modified app_process binary).
Other
7.42k stars 1.47k forks source link

Rename ART libs in /system/vendor/lib #116

Open mstaz opened 8 years ago

mstaz commented 8 years ago

Hello,

I wanted to install Xposed to my Fairphone 2 running an Android 5.1. When installed, it messes up the system, e.g. Apps can't be installed anymore. Anyway I took a closer look on the files. I noticed that there are no original /system/lib/libart.so and /system/lib/libart-compiler.so libraries. Instead these files reside in /system/vendor/lib/ and they are provided by Fairphone/Qualcomm as binaries. Device runs a Snapdragon 801 like the Galaxy 5 or Sony Xperia devices. It seems that Xposed runs on that devices. Have you seen this before? Is it possible to replace the files anyway?

mstaz commented 8 years ago

I removed/replaced the libs in vendor directory now. It seems to work with that, but I fear there is something that will not work with it :disappointed:

rovo89 commented 8 years ago

It's new to me that vendors place their files there... But it's generally a valid place for libs. Did you notice any issues after renaming/deleting those files? If not, I could add something to rename those files during (un)installation.

mstaz commented 8 years ago

The stock firmware has the files at the usual place in /system/lib/. Unfortunately following the official howto to build the AOSP puts the binaries from Qualcomm into /system/vendor/lib. I'm currently trying to build without these binaries. Anyway I didn't notice any issues after removing the files. But I only did a short test with XPrivacy. I think you could add something to rename those files, if you want. On problems there would be always the possibility to revert the changes with uninstall.