Android

How to disable Xposed Framework on boot

Advertisements

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.)

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!

Saransh Kataria

Born in Delhi, India, Saransh Kataria is the brain behind Wisdom Geek. Currently, Saransh is a software developer at a reputed firm in Austin, and he likes playing with new technologies to explore different possibilities. He holds an engineering degree in Computer Science. He also shares his passion for sharing knowledge as the community lead at Facebook Developer Circle Delhi, NCR which is a developer community in Delhi, India.

View Comments

Share
Published by
Saransh Kataria

Recent Posts

Remapping keyboard keys to avoid Carpal Tunnel

I am terrible at optimizing my keyboard layout for anything. But off lately, my little…

1 month ago

Fixing cookies are blocked for a website with shields down on Brave

I recently switched completely to the Brave browser and have set ad blocking to aggressive…

5 months ago

Generating a QR code using Node.js

I was preparing a slide deck for a hackathon and decided to put in a…

6 months ago

How to clear the global npx cache

I have been using npx a lot lately, especially whenever I want to use a…

7 months ago

Copy/Pasting output from the terminal

Manually copy-pasting the output of a terminal command with a mouse/trackpad feels tedious. It is…

7 months ago

How To Get The Hash of A File In Node.js

While working on a project, I wanted to do an integrity check of a file…

8 months ago
Advertisements