Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KonradIT/1b02fc8f54f7052d60d3fb36762251b7 to your computer and use it in GitHub Desktop.
Save KonradIT/1b02fc8f54f7052d60d3fb36762251b7 to your computer and use it in GitHub Desktop.
XPOSED - Recover from bootloop

XPOSED - Recover from bootloop

Tested with Lollipop and Marshmallow. Some file path had been changed since ICS/KK 1.


When you activate an Xposed module and produces a bootloop, there are three options to recover it:

  1. Restore a nandroid

  2. Disable Xposed

  3. Disable only problematic module

  4. Disable Xposed


Xposed framework has a self-feature to auto-disable it. It can be reached from command prompt (example: adb).

Just create empty file called disabled by typing:

touch /data/data/de.robv.android.xposed.installer/conf/disabled

Simple "install zip from recovery" is also possible 2 -- thaks to AK1149.

  1. Disable only problematic module

You can also remove single module from recovery.

Active modules can be found at: /data/data/de.robv.android.xposed.installer/conf/modules.list

Update: new file to do this trick at /data/data/de.robv.android.xposed.installer/conf/enabled_modules.xml. Officially supported, no more UI drawbacks.

From adb you can:

adb pull /data/data/de.robv.android.xposed.installer/conf/modules.list .
nano modules.list
# Delete problematic module's line
adb push modules.list /data/data/de.robv.android.xposed.installer/conf/modules.list
# Check
adb shell
cat /data/data/de.robv.android.xposed.installer/conf/modules.list

Notes

  • If you do it from recovery, notice that data partition should be mounted.
  • Regret edit files from Windows because it will include \r special character
  • Git Bash (git-scm) do NOT work with adb because it modify paths.
  • By editing modules.list, module is deactivate but retain Xposed Installer "tic", so you must deactivate and reactivate it again to synchronize data.

Bibliography


Written by varribas using StackEdit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment