Since Xposed for Lollipop came out early February 2015 there were lot of
people asking questions on its installation and functionality, thus I
have put this guide to help everyone understand and enjoy the Xposed on
Lollipop.
WARNING: That this is still an
Alpha Version and for Lollipop on
ARMv7+ devices
only. Please install it only if you’re willing to take the risk of boot
loops. Just because it’s working fine and stable for me doesn’t mean it
will work for everyone the same way. If this brakes your device you may
have to flash the firmware to fix it make sure you know how to do that
before installing.
Let’s Get Started
Requirements:
* Rooted ARMv7+ Android Device
* Custom Recovery Like TWRP installed
* Installation from Unknown Sources Enabled
How to Check out ARM Version and see if it is 7 or above
- Install Android Terminal Emulator app on your device and open it.
- Type the followng: getprop ro.product.cpu.abi
- It will return with your Arm Version
Step 1: Download Necessary Files
There are two core elements to Xposed - one is the Xposed Framework,
which lays all of the groundwork, and the other is the Xposed Installer
app, which allows you to download and manage modules.
In these early stages of Lollipop development, the Framework will have
to be flashed in your custom recovery. The Installer, on the other hand,
can simply be sideloaded like any other APK. So to begin, tap the
following links from your Android device:
Alpha2 Updated 09 Mar 2015:
Xposed Framework ZIP
Xposed Installer APK
Archived
Alpha1 (FEB):
·
Xposed Framework ZIP
·
Xposed Installer APK
Updated Downloads Alpha2 (09 Mar 2015):
Xposed-arm-20150308.zip: Must be flashed with a custom recovery to install the framework.
XposedInstaller_3.0-alpha2.apk: Must be installed to manage installed modules
Step 2: Boot into Custom Recovery
When the files have finished downloading, the next step is to boot into
your custom recovery. To do that, start by powering your device
completely off. This next part may vary, but for most devices, press and
hold the volume down and power buttons simultaneously.
Step 3: Install the Framework in Custom Recovery (I use TWRP)
Before you flash anything in custom recovery, it's always a good idea to make a full
Nandroid Backup.
That's extra important in this case, since the Xposed Framework is in
its early stages and may cause issues with some devices.
Do not skip this step!
Then, to get started, go ahead and tap the "Install" button from TWRP's main menu. Next, navigate to your device's
Download folder, then select the "xposed-arm.zip" file.
After that, just
swipe the slider at the bottom of the screen to install the Framework, and when that's finished, tap
"Reboot System."
Step 4: Install the Xposed Installer App
When you get back up, it's time to install the actual Xposed Installer app. Tap the
Download Complete notification for the "XposedInstaller_3.0-alpha.apk" file, then press "Install" and "Open" on the next two menus.
At this point, you should be looking at that familiar Xposed interface
we all know and love. Head to the "Download" section to begin browsing
modules, but keep in mind that some may not work on Lollipop.
Step 5: Set SELinux Mode to "Permissive"
A kernel security module called
SELinux
is now enabled by default on many Lollipop devices, and this can
prevent the Xposed Framework from running. If you're having trouble
getting Xposed to work, you may want to consider disabling this kernel
module.
To start, download
SELinux Mode Changer from the Play Store.
From here, run the app and grant it root access. If the SELinux module
is active on your device, only the "Permissive" button will be available
to you in the app. Think of this like a toggle switch—if the
"Enforcing" option is grayed out, that is because your kernel is already
set to enforce SELinux policies. So tap the "Permissive" button to
effectively disable the SELinux module, then that option will become
grayed out instead.
Once you've done that, the app will automatically set your SELinux
module to "Permissive" every time you boot your phone. But
unfortunately, this happens
after the Xposed Framework has
already loaded, so it comes too late to be of any help. In other words,
each time you perform a full reboot, the SELinux module is set to
"Enforcing" again, and the SELinux Mode Changer app can only revert this
to "Permissive" after it's too late.
But a workaround is available, of course. After running SELinux Mode Changer, simply perform a
"Soft Reboot" from the
Framework section
of the Xposed Installer app. The SELinux kernel module is not reverted
to "Enforcing" during a soft reboot, so your changes remain active.
For now, you'll have to make sure all of your reboots are of the "Soft" variety, but Xposed should be working quite well.
Custom Kernel users may have another option for this step. Many kernel
developers, like the guys behind ElemantalX, have recently started
including an option to set the SELinux module to "Permissive" by
default. So check with your kernel developer to see if this option is
available, since it would mean that a "Soft Reboot" is no longer needed.
Step 6: Troubleshooting
There are obviously going to be some issues this early in development,
and several users have reported that their Xposed Installer app is
showing a missing Framework. If that's the case with your install, there
are a couple of options to try.
First, boot back into custom recovery and flash the Framework ZIP again.
That has worked for many folks, but if it doesn't for you, try
installing any module. Activate the module and reboot, then see if the
framework is active when you get back up.
Additionally, in this very early alpha build, you'll notice an
installation error in the "Framework" section of the Xposed installer
app.
All credits to the developer @rovo89
Official Thread on XDA