Install Xposed Framework on Nexus 5 for Max Customization
In this article
Installing the Xposed Framework on your Nexus 5 lets you run powerful modules that tweak nearly every aspect of Android—from changing the status bar to adding gesture controls—without flashing a full custom ROM. This guide walks you through the official, safe method using a custom recovery. You'll need an unlocked bootloader and a custom recovery (like TWRP) already installed. If you haven't done that, do it first—this guide assumes it's done.
What You'll Need
- Nexus 5 (any variant—international or US—works)
- Unlocked bootloader (required for any system modification)
- Custom recovery installed (TWRP recommended)
- USB cable and a computer (for transferring files)
- Xposed Installer APK (official from the Xposed repository)
- Xposed framework ZIP file (matching your Android version—5.0/5.1 Lollipop, 6.0 Marshmallow, or 7.0/7.1 Nougat)
- Backup of your device (TWRP backup or at least a copy of important data)
Step-by-Step
- Back up your device. In TWRP, go to Backup, select Boot, System, and Data, then swipe to back up. Store the backup on your computer or a USB OTG drive. This is your safety net—if anything goes wrong, you can restore it.
- Download the correct Xposed files. On your computer, go to the official Xposed repository (xposed.info) and download the Xposed Installer APK (the latest version) and the framework ZIP for your exact Android version. For Nexus 5, that's usually Android 5.0/5.1 (SDK 21/22), 6.0 (SDK 23), or 7.0/7.1 (SDK 24/25). Check your Android version under Settings > About phone. If you're not sure, don't guess—wrong versions cause boot loops.
- Transfer files to your phone. Connect your Nexus 5 to your computer via USB. Copy the APK and the ZIP to the phone's internal storage (any folder, e.g., /sdcard/Download).
- Install the Xposed Installer APK. On your phone, open the file manager, locate the APK, and tap it. If you see a warning about unknown sources, allow it. Tap Install and wait for it to finish.
- Boot into recovery. Turn off your phone. Press and hold Volume Down + Power until the bootloader screen appears. Use the volume keys to highlight “Recovery mode” and press Power to select it. TWRP will load.
- Flash the framework ZIP. In TWRP, tap Install, navigate to the ZIP you copied, and select it. Swipe to confirm the flash. Wait for the process to complete—it usually takes under a minute.
- Wipe cache and Dalvik cache (optional but recommended). After flashing, go back to the main TWRP menu, tap Wipe, then Advanced Wipe, select Dalvik Cache and Cache, and swipe to wipe. This clears old cached data that might conflict with the new framework.
- Reboot your device. Tap Reboot > System. The first boot after installing Xposed may take a few extra minutes—don't panic if it sits on the boot animation longer than usual.
- Open the Xposed Installer app. Once booted, find the Xposed Installer icon in your app drawer. Open it. It will show the framework status—it should say “Xposed framework is active” or similar. If it says “not active,” you may have flashed the wrong ZIP or the install failed.
- Download and enable modules. Inside the Xposed Installer, go to the Download section to browse and install modules. After installing a module, go to the Modules section, tick the checkbox next to it, and reboot for the module to take effect.
Common Mistakes
- Flashing the wrong framework version. This is the #1 cause of boot loops. Always match the ZIP to your exact Android version (SDK number). If you're on Android 6.0, you need SDK 23—not 22 or 24.
- Not backing up first. If you skip the backup and something goes wrong, you may lose all your data or have to reflash the stock ROM.
- Installing incompatible modules. Some modules are designed for specific Android versions or devices. Check the module's description and compatibility before installing.
- Forgetting to enable modules after install. Installing a module doesn't activate it—you must tick the checkbox in the Modules tab and reboot.
- Using an outdated Xposed Installer APK. Always download the latest from the official site—old versions may not work with newer Android versions.
Tips
- Start with a few well-known, stable modules like GravityBox (for Nexus 5 on Lollipop/Marshmallow) or Xposed Edge (for gesture controls). Test one at a time to isolate issues.
- Keep a copy of the framework ZIP on your phone's internal storage—if you ever need to reflash it, it's right there.
- After flashing a new module, reboot and check if the module works. If you suspect a module causes problems, disable it in the Modules tab before rebooting.
- If you ever want to remove Xposed, simply flash the “Xposed Uninstaller” ZIP from the official site via recovery. It removes the framework without wiping your data.
Troubleshooting
Boot loop after flashing. This almost always means the framework ZIP doesn't match your Android version. Boot back into recovery (Volume Down + Power, then select Recovery). In TWRP, use the File Manager to delete the file /data/data/de.robv.android.xposed.installer/conf/modules.list (if it exists). Then reboot. If that doesn't work, restore your backup from TWRP. If you didn't make a backup, flash the Xposed Uninstaller ZIP to remove the framework entirely.
Xposed Installer says “not active.” The framework isn't installed or was flashed incorrectly. Reboot into recovery and flash the ZIP again, making sure you selected the correct file. Also verify that your Android version matches the ZIP's SDK.
Modules don't work. Check that the module is enabled in the Modules tab. Also check the module's own settings—some need additional configuration. If a module crashes, try updating it or using an alternative.
Device is slow or unstable. Some modules are resource-heavy. Disable modules one by one to find the culprit. If the problem persists, wipe cache and Dalvik cache in recovery.
Can't find the Xposed Installer app after flashing. You may have forgotten to install the APK. Reinstall the APK from the file you copied earlier.
If all else fails: Restore your TWRP backup. If you didn't make one, flash the stock factory image for your Nexus 5 from Google's developer site using fastboot. That returns your phone to a clean state.
Frequently Asked Questions
Does Xposed work on Android 7.0 Nougat on the Nexus 5?
Yes, but only with the official Xposed framework for SDK 24 (Android 7.0) or SDK 25 (Android 7.1). Check your exact build and download the matching ZIP from the official site.
Will Xposed trip SafetyNet or break Google Pay?
Yes. Xposed modifies the system, so SafetyNet checks will fail. Google Pay and some banking apps will not work while Xposed is active. You can disable Xposed temporarily via the Installer app's “Disable” option and reboot to pass SafetyNet.
Can I install Xposed without a custom recovery?
No. You need a custom recovery like TWRP to flash the framework ZIP. If you don't have one, you must unlock the bootloader and install TWRP first.
Is it safe to uninstall Xposed?
Yes. Flash the official Xposed Uninstaller ZIP via recovery. It removes the framework and restores your original system files. Your apps and data remain intact.
Will Xposed work on Android 9 or 10 on the Nexus 5?
No. The Nexus 5's official Android versions stop at 6.0.1, though community ROMs can go higher. Xposed for newer Android versions (SDK 28+) is experimental and not recommended for daily use. Stick to official Android 6.0 for best compatibility.
How do I update Xposed when a new version comes out?
Download the new framework ZIP and flash it via recovery, then update the Installer APK. Your modules and settings are preserved.