How to disable Xposed Framework on boot

I recently installed an Xposed module on my One Plus One running Lollipop only to figure out that it went into a bootloop. The module was incompatible with the alpha version of Xposed framework installed and I was stuck on the android startup screen with nowhere to go.

(For those of you who are not aware about Xposed, it is a framework that you can install on your android device and it allows you to customize your ROM with the help of different modules. You can read more about it on the XDA thread. And if you do try it out, be very careful.)

- Advertisement -

Googling suggested me ways to disable by getting into the installer, but I was stuck on a bootloop. So I needed a way to disable Xposed installer on boot. There were posts stating that I should flash a disabler recovery zip which I couldn’t find on my device. Googling “xposed disable zip” gave me random sources as zip files which I did not consider reliable enough when flashing a critical zip file. So after a lot more googling, I found out that the new version (v2.5 and above) have the ability to disable xposed framework, if you repeatedly press the power button when the device is starting up (some say any hardware button would do, but I have personally tested the power button).

When you boot and press the power button for the first time, the device will vibrate and after that you have to repeatedly press the same button for at least four times (I didn’t count, I went on pressing it for a long period). After that your device will load into a safe mode, as it has been termed. Essentially what it does is disable Xposed framework overall.

Do note that re flashing the zip file for Xposed does not re-enable it after this. You need to wipe cache and dalvik first in order to re install the framework (obviously, after you have disabled the module from the application which caused the bootloop). Then you can flash the Xposed zip. to re install the Xposed framework. (Which is still better than having to dirty flashing your ROM or recovering from a TWRP backup to recover from the bootloop).

Do let us know in comments if this worked for you!

Recent Articles

Use redux-like middleware for useReducer in React

If you have used Redux before, you would be aware of the concept of middlewares. Now that useReducer has become a commonly...

How to write your own custom React hooks

If you have been using react for a while, chances are you have come across the need to extract some logic into...

Palindromic Substrings: Demystifying Programming Interview

This is the second post in the Demystifying Programming Interview series, which aims at helping students and professionals who are planning to...

Converting a business problem to a machine learning problem

Businesses these days are generating and consuming a huge amount of data. This data varies in variety, volume, velocity, and veracity (4Vs...

How to develop your curiosity for a better self?

Curiosity is the reason why most of the breakthrough discoveries and remarkable inventions have happened throughout history. In the absence of curiosity,...

Related Stories

42 Comments

  1. Wonderful article, saved me, really helpful for non techie person like me..

    As Xposed is in alpha state ie in pre released version, and modules are not very compatible at this stage..

    on another hand we can’t stay without xposed framework, it enables advance features we miss in Android.

    Saransh thanks for the article man, keep it up..! Even i subscribed your channel so that i get all future updates..

  2. I just could not depart your website before suggesting that I actually enjoyed the standard info a person provide for your visitors? Is going to be back often in order to check up on new posts

  3. pls help .. I’m using xperia z ultra its not working the safe mode I try many times but nothing happened still running the bootloop pls help me

    • What happens when you press the power button repeatedly? The device still goes into a bootloop? And are you sure it is due to xposed only?

    • if it still doesnt works. i had twrp on my phone.i downloaded the xposed uninstaller on my pc and through “adb push” command,copied it to my phone and flashed it. worked for me. 🙂

        • You need to be careful with the version and compatibility. Though xposed gives you a lot of power to play with your android device, you surely need to be careful. After all, you are playing as the root user of your mobile!

  4. Hi, I am using Marshmallow (Samsung J510FQ). I flashed Xposed framework via TWRP. But now I can’t boot my phone (only TWRP is working). I tried uninstall packages but they didn’t work. Could you help me about that?

Leave A Reply

Please enter your comment!
Please enter your name here

Hi there! Want some more knowledge?

Think that the knowledge shared is helpful? You might want to give our mailing list a try. We'll send you 2-4 emails a month, right when new posts come out.

Hi there! Want some more knowledge?

Think that the knowledge shared is helpful? You might want to give our mailing list a try. We'll send you 2-4 emails a month, right when new posts come out.