• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Instructions for installing Xposed on rooted N6 running Marshmallow

electricpete

Android Expert
Jan 7, 2012
2,113
1,068
You may have heard that Xposed is available on Marshmallow. In fact a large list of modules are already updated/working on marshmallow, as listed here

Xposed for marshmallow installation is a little tricky. I spent awhile reading through this Nexus 6 xposed marshmallow thread to find some tips.

Based on that, here's the procedure that I used successfully to install Xposed on my N6 running 6.0.1, rooted with su2.65:
  1. Download zip file and apk file from the official Xposed for Marhsmallow thread
    • The apk file is easy to figure out - there is only one apk there (XposedInstaller_3.0_alpha4.apk)
    • But for the zip file, there are many, and you have to make sure you pick the right one that matches your phone specs. For the Nexus 6 you should use xposed-v79-sdk23-arm.zip (the 79 might change as the versions are updated).
  2. Since the zip will install stuff into system partition, you have to clear some room in system partition first:
    • Go to system/app directory and delete the korean, japanese, Hindi, and Pinyin files (assuming you don't need input in those languages).
      • Do NOT delete the Latine file since that will break some things.
    • I used root explorer for these deletions.
      • Root explorer asked me if I wanted to remount this read-only partition as read/write… to which I answered yes.
        • I've have no ill effects from this. I was sort of expecting to get some of verified boot warning during subsequent reboots, but it didn't happen.
  3. Make sure your battery is at a reasonable level (*)
  4. Install the zip file using TWRP.
    1. After installing in TWRP, select reboot...
    2. ...TWRP will then pop up a screen offering to "install" (it means install su) … decline this offer (be careful, the install button is prominent as if it's the default/expected option... don't do it).
  5. Reboot will take a long time, maybe 20 minutes while it reformats some things
    • (* that's why I suggested to make sure your battery was not near empty)
  6. Install the apk (requires install from unknown sources enabled).
  7. Disable install from unknown sources (for good measure).
  8. Enjoy!

Note- these modifications will certainly eliminate OTA updates as an option. So I plan on doing a dirty flash when the update comes (fastboot flash all the images except data). But this will also "undo" xposed. So afterwards I'll have to reinstall xposed and maybe recreate the tweaks that I've done. It's well worth it imo. This is my first time trying out Gravitybox...it's fantastic.

Xposed is working well for me and from what I gather for most people. But there is a list of caveats you might want to peruse here, cut/pasted into the spoiler below
  • Many modules will likely need updates. Give module developers time to update their modules!
  • As of writing this, the client has only been tested with SuperSU installed, due to which dm-verity and some SELinux rules are disabled. Some of these would otherwise conflict with the modifications to the system partition.
  • Access to preferences files might be blocked by SELinux and Xposed can’t currently work around that. However, rovo89 recommends keeping SELinux enabled and enforcing to prioritize security.
  • Not all Xposed APIs were fully tested, and while the system is booting without any error messages from the framework, some functions might still need adjustments for Marshmallow.
  • rovo89 notes that some issues might arise from JIT and the “optimizing” compiler. Since these are new in Marshmallow, there might be unexpected consequences in combination with Xposed. This could lead to hooks not working properly or crashes.
 
Last edited:
  • Like
Reactions: scary alien

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones