4

I did two things to install Xposed. Firstly, I flashed xposed-v75-sdk21-x86.zip and then installed the .apk file. I can now uninstall the app itself but how can I erase the flashed file of the .zip?

Also, where are the modules stored? How to delete the modules completely?

Device is LG G3 D855. Running on Cloudy G3 ROM.

9
  • Can you please specify which device and OS you're using? I ask because I'm using Xposed on my Galaxy S3 and everything, including modules, installed and uninstalled as third-party apps using the native app installer. So I'm not understanding the difference in how your Xposed is set up. Thanks!
    – paulmz
    Dec 10, 2015 at 21:50
  • Shouldn't a .zip file be flashed first? I just followed the instructions.
    – SarpSTA
    Dec 10, 2015 at 22:02
  • Which instructions? I used information from the Xposed Installer site which has an apk to download and install. I didn't flash anything to get mine to work. Again, might be different on your device.
    – paulmz
    Dec 10, 2015 at 22:04
  • Here. It is the framework itself I assume and the app is just the manager.
    – SarpSTA
    Dec 10, 2015 at 22:10
  • 1
    Uh… Maybe it's different for Lollipop and Marshmallow. I'm still running it on Kitkat. If Rovo wrote flash, then flash it is. Sorry, I totally forgot about the differences introduced by Lollipop.
    – Izzy
    Dec 11, 2015 at 2:03

2 Answers 2

4

Note: provided that you end up at this post in search of solving the bootloop issue caused by an Xposed module, my answer here would better help you .


For any Android Lollipop

I can now uninstall the app itself but how can I erase the flashed file of the .zip?

See the attached files in the first post of this thread. In relevance to your device's CPU architecture, download the uninstaller archive and flash it from the custom recovery. It would undo the changes the installer archive made.

In essence, the installer archive keeps the original system files but appends in their name .orig or convert them into archives (unofficial installers do). It then places its modified files at their location. All uninstaller does is remove the modified and extra files and change the backed up files back to their original self.

Relevant section from the uninstaller script

echo "- Restoring/removing files"
rm -f /system/xposed.prop
rm -f /system/framework/XposedBridge.jar

restore_link   /system/bin/app_process32               0 2000 0755 u:object_r:zygote_exec:s0
restore_backup /system/bin/dex2oat                     0 2000 0755 u:object_r:dex2oat_exec:s0
restore_backup /system/bin/oatdump                     0 2000 0755
restore_backup /system/bin/patchoat                    0 2000 0755 u:object_r:dex2oat_exec:s0
restore_backup /system/lib/libart.so                   0    0 0644
restore_backup /system/lib/libart-compiler.so          0    0 0644
restore_backup /system/lib/libart-disassembler.so      0    0 0644
restore_backup /system/lib/libsigchain.so              0    0 0644
restore_backup /system/lib/libxposed_art.so            0    0 0644
if [ $IS64BIT ]; then
  restore_link   /system/bin/app_process64             0 2000 0755 u:object_r:zygote_exec:s0
  restore_backup /system/lib64/libart.so               0    0 0644
  restore_backup /system/lib64/libart-compiler.so      0    0 0644
  restore_backup /system/lib64/libart-disassembler.so  0    0 0644
  restore_backup /system/lib64/libsigchain.so          0    0 0644
  restore_backup /system/lib64/libxposed_art.so        0    0 0644
fi

If you've the knowledge of setting the appropriate SELinux context for a file in Android from recovery mode, you can simply map the files the installer would've changed, revert the changes using command-line and set the correct context. No uninstaller would be required.

Note: If you're not using the official Xposed Framework then the uninstaller may not work for you. It may even cause unforeseen issues. Best is to search the web for the uninstaller.

Also, where are the modules stored?

  • Xposed Installer app downloads the modules under /sdcard/Download.
  • They may be called modules but they simply are apps to Android, hence the APK would be found under /data/app or the locations covered here by Izzy. Alike every app, there data directory would be found under /data/data.

How to delete the modules completely?

Deleting an Xposed module is no different than removing any user installed app from Android. So, you can use any technique that you would use to remove an ordinary app.

Note that the file XposedBridge.jar under /system/framework/ is what provides modules the necessary APIs to interact with the modified framework.


For Android 4.2.x - 4.4.x

Use the file Xposed-Disabler-Recovery.zip located at /sdcard/Android/data/de.robv.android.xposed.installer/files. Flash that file from recovery mode (requires a custom recovery) to disable Xposed Framework. If you don't have such file, download it from the first post of the official thread.

That archive, in essence, changes /system/bin/app_process.orig to /system/bin/app_process i.e. it removes the modified app_process and brings the original file back to its glory. It doesn't delete the Installer app. You can make those changes on your own too using adb in recovery mode.

The concept of modules here is no different from what is covered in the above section.

1

Until KitKat, to disable the framework you need to flash this zip (stored on your /sd at installation Xposed-Disabler-Recovery.zip .

As far as uninstalling the modules goes, selecting Modules, (from installer), long pressing the module(s) to be removed does it in KitKat. Of course, changes take place after reboot, and I am assuming the same holds for higher versions of Android. Modules reside as per Izzy's comment for KitKat.

Quoting extracts from How to Uninstall Xposed Framework on Android Lollipop Guides Aug 21, 2015:

Xposed Framework on Lollipop needs to be installed manually through a Custom Recovery unlike in Jelly Bean and Kitkat where the Xposed installer apk file would install the framework on your system automatically. So uninstalling Xposed Framework on Lollipop would require you to flash an Xposed Uninstaller Script using a Custom Recovery like TWRP or CWM.... Take note that Xposed Uninstaller are different for different devices like arm, arm64, x86. Find the Uninstaller Script for your device in the Downloads section. Also, Uninstaller Scripts are different for Android versions 5.0 (SDK 21) and 5.1 (SDK 22).

It further provides uninstall instructions and scripts.

I am on KitKat and have no way of testing this. It was a coincidence reading this and later seeing your question.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .