[UNOFFICIAL] Systemless Xposed for Android 5.1/6.0 - v86.1 / 20160928 / SDK22/SDK23

Search This thread
Nov 3, 2016
9
0
Hello all!

I'm currently running Android 5.1, rooted with phh's superuser 266-2, (hidden with Magisk v9) and systemless Xposed v87.0 sdk 22. Even though Xposed is systemless, I can't pass SafetyNet. I should pass SafetyNet, right? If not, then what am I doing wrong?

Before I tried using systemless Xposed v86.0 sdk22 and hiding it with RootSwitch and it was passing SafetyNet, but the modules didn't work. I also tried hiding systemless Xposed v87.0 with RootSwitch, but it was resetting automatically and didn't work. The built-in button to turn systemless Xposed v87.0 off also doesn't make it pass SafetyNet.

I've read I could pass SafetyNet with systemless Xposed v86.2, but I could only find sdk23 on the internet, while I need sdk22 and it's not available anywhere.

Thanks for any advice on how to pass this diabolic SafetyNet!
 

cesarandres_8911

Senior Member
Sep 28, 2015
380
519
Barranquilla
Hey all. I am currently building a rom for the Nexus 6 Android L 5.1.1. With the ROM I am including xposed and gravity box, to allow the users to customise it. I have an aroma installer setup to allow users to configure the rom. During the selection process, it has an option for Xposed and Gravity Box.

So far I have it setup, so if you select the option, it will extract and run the xposed installer and install the framework zip file. It will then also install the necessary apk's to the data partition. The user then boots up the rom and goes in then activates the module and reboots.

I would like to skip the last step if possible. Can I setup the installer to activate Gravity Box on first boot? I dont know if that is possible.

Edit just found out, I am getting the following error during the install process, trying to run the zip file:

******************************
Xposed framework installer zip
******************************
- Mounting /system and rootfs
mount: mounting /dev/block/mmcblk0p41 on /system failed: Device or resource busy
- Extracting files
unzip: can't open /tmp/xposed/xposed.zip[.zip]
! Failed: /tmp/xposed/system/xposed not found!
run_program: child exited with status 1

Here is the code I am using in aroma to run the zip:

if
file_getprop("/tmp/aroma-data/tweaks.prop","item.0.4") == "1"
then
ui_print(" - Xposed and Gravity Box");
package_extract_dir("mods/xposed", "/data"); - This folder contains the two apks I install into the data directory
package_extract_dir("xposed", "/tmp/xposed"); - This folder contains the zip file for the framwork. I simply renamed to xposed.zip to make it easier.
run_program("/sbin/busybox", "unzip", "/tmp/xposed/xposed.zip", "META-INF/com/google/android/*", "-d", "/tmp/xposed");
run_program("/sbin/busybox", "sh", "/tmp/xposed/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/xposed/xposed.zip");
endif;


This is an old question but I see it has not yet been resolved. If you want to flash xposed framework from your custom rom, you must have busybox installed and in your updater-script you must have "symlink("busybox", "/system/xbin/unzip")";

Then you should flash, for example:
Code:
#Enable Unofficial Systemless Xposed Framework
if
	file_getprop("/tmp/aroma/customize.prop", "group12") == "opt3"
then
	ui_print(" ");
	ui_print("   Install Unofficial Systemless Xposed Framework v87");
	package_extract_dir("data/app/xposedinstaller", "/system/priv-app/xposedinstaller");
	
	package_extract_dir("resources/features/xposed/systemless", "/tmp/xposed");
	run_program("/sbin/busybox", "unzip", "/tmp/xposed/xposed-v87.0-sdk23-topjohnwu.zip", "META-INF/com/google/android/*", "-d", "/tmp/xposed");
	run_program("/sbin/busybox", "sh", "/tmp/xposed/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/xposed/xposed-v87.0-sdk23-topjohnwu.zip");
endif;
 

grep_i

Senior Member
Sep 19, 2015
1,551
621
This is an old question but I see it has not yet been resolved. If you want to flash xposed framework from your custom rom, you must have busybox installed and in your updater-script you must have "symlink("busybox", "/system/xbin/unzip")";

Yes but he wanted systemmode as he is still on pre Android 6.0 MarshMallow.
The BusyBox advise is good though but the Xposed doesn't that require the Magisk framework so that is not a good advice.
Probably he should go for official version from Rovo89.

Sent from my Nexus 5 using XDA-Developers Legacy app
 
Last edited:

cesarandres_8911

Senior Member
Sep 28, 2015
380
519
Barranquilla
Yes but he wanted systemmode as he is still on pre Android 6.0 MarshMallow.
The BusyBox advise is good though but the Xposed doesn't that require the Magisk framework so that is not a good advice.
Probably he should go for official version from Rovo89.

Xposed systemless required SuperSU systemless and magist in its latest version. During the installation of the rom, it must validate all these requirements. In my rom project, I have support for supersu systemless and "stock root mode" like Xposed and Xposed systemless...
 

grep_i

Senior Member
Sep 19, 2015
1,551
621
Xposed systemless required SuperSU systemless and magist in its latest version. During the installation of the rom, it must validate all these requirements. In my rom project, I have support for supersu systemless and "stock root mode" like Xposed and Xposed systemless...

So your question changed and this is not the same question you posted before.
Maybe time to update your question and post it again, maybe this time somebody can help you out.
 
  • Like
Reactions: grv00711

cesarandres_8911

Senior Member
Sep 28, 2015
380
519
Barranquilla
So your question changed and this is not the same question you posted before.
Maybe time to update your question and post it again, maybe this time somebody can help you out.
In fact, it was not a question. I wanted to share the code that I used to add xposed (stock and systemless) support to my ROM.

Sent from my LG-D851 using XDA-Developers Legacy app
 
  • Like
Reactions: grep_i

rolo143

Senior Member
Jan 28, 2012
690
99
I installed latest xposed on my device but it's not active, how can i activate it?

Code:
 01-27 12:52:29.799 I/Xposed  (  885): -----------------
01-27 12:52:29.799 I/Xposed  (  885): Starting Xposed version 86.1 (by romracer / 20160928), compiled for SDK 23
01-27 12:52:29.799 I/Xposed  (  885): Device: E5803 (Sony), Android version 6.0.1 (SDK 23)
01-27 12:52:29.799 I/Xposed  (  885): ROM: 32.2.A.5.11
01-27 12:52:29.799 I/Xposed  (  885): Build fingerprint: Sony/E5803/E5803:6.0.1/32.2.A.5.11/3529879493:user/release-keys
01-27 12:52:29.799 I/Xposed  (  885): Platform: arm64-v8a, 64-bit binary, system server: yes
01-27 12:52:29.799 I/Xposed  (  885): SELinux enabled: yes, enforcing: no
01-27 12:52:31.948 I/Xposed  (  885): -----------------
01-27 12:52:31.949 I/Xposed  (  885): Added Xposed (/su/xposed/system/framework/XposedBridge.jar) to CLASSPATH
01-27 12:52:32.271 I/Xposed  (  885): Detected ART runtime
01-27 12:52:32.286 I/Xposed  (  885): Found Xposed class 'de/robv/android/xposed/XposedBridge', now initializing
01-27 12:52:32.618 E/Xposed  (  885): Cannot load any modules because /data/data/de.robv.android.xposed.installer/conf/modules.list was not found
01-27 12:52:40.947 I/Xposed  (  887): -----------------
01-27 12:52:40.947 I/Xposed  (  887): Starting Xposed version 86.1 (by romracer / 20160928), compiled for SDK 23
01-27 12:52:40.947 I/Xposed  (  887): Device: E5803 (Sony), Android version 6.0.1 (SDK 23)
01-27 12:52:40.947 I/Xposed  (  887): ROM: 32.2.A.5.11
01-27 12:52:40.947 I/Xposed  (  887): Build fingerprint: Sony/E5803/E5803:6.0.1/32.2.A.5.11/3529879493:user/release-keys
01-27 12:52:40.947 I/Xposed  (  887): Platform: arm64-v8a, 32-bit binary, system server: no
01-27 12:52:40.947 I/Xposed  (  887): SELinux enabled: yes, enforcing: no
01-27 12:52:42.953 I/Xposed  (  887): -----------------
01-27 12:52:42.953 I/Xposed  (  887): Added Xposed (/su/xposed/system/framework/XposedBridge.jar) to CLASSPATH
01-27 12:52:43.189 I/Xposed  (  887): Detected ART runtime
01-27 12:52:43.199 I/Xposed  (  887): Found Xposed class 'de/robv/android/xposed/XposedBridge', now initializing
01-27 12:52:43.418 E/Xposed  (  887): Cannot load any modules because /data/data/de.robv.android.xposed.installer/conf/modules.list was not found
 

Attachments

  • Screenshot_20170127-135005.png
    Screenshot_20170127-135005.png
    75.9 KB · Views: 891

cesarandres_8911

Senior Member
Sep 28, 2015
380
519
Barranquilla
I installed latest xposed on my device but it's not active, how can i activate it?

Code:
 01-27 12:52:29.799 I/Xposed  (  885): -----------------
01-27 12:52:29.799 I/Xposed  (  885): Starting Xposed version 86.1 (by romracer / 20160928), compiled for SDK 23
01-27 12:52:29.799 I/Xposed  (  885): Device: E5803 (Sony), Android version 6.0.1 (SDK 23)
01-27 12:52:29.799 I/Xposed  (  885): ROM: 32.2.A.5.11
01-27 12:52:29.799 I/Xposed  (  885): Build fingerprint: Sony/E5803/E5803:6.0.1/32.2.A.5.11/3529879493:user/release-keys
01-27 12:52:29.799 I/Xposed  (  885): Platform: arm64-v8a, 64-bit binary, system server: yes
01-27 12:52:29.799 I/Xposed  (  885): SELinux enabled: yes, enforcing: no
01-27 12:52:31.948 I/Xposed  (  885): -----------------
01-27 12:52:31.949 I/Xposed  (  885): Added Xposed (/su/xposed/system/framework/XposedBridge.jar) to CLASSPATH
01-27 12:52:32.271 I/Xposed  (  885): Detected ART runtime
01-27 12:52:32.286 I/Xposed  (  885): Found Xposed class 'de/robv/android/xposed/XposedBridge', now initializing
01-27 12:52:32.618 E/Xposed  (  885): Cannot load any modules because /data/data/de.robv.android.xposed.installer/conf/modules.list was not found
01-27 12:52:40.947 I/Xposed  (  887): -----------------
01-27 12:52:40.947 I/Xposed  (  887): Starting Xposed version 86.1 (by romracer / 20160928), compiled for SDK 23
01-27 12:52:40.947 I/Xposed  (  887): Device: E5803 (Sony), Android version 6.0.1 (SDK 23)
01-27 12:52:40.947 I/Xposed  (  887): ROM: 32.2.A.5.11
01-27 12:52:40.947 I/Xposed  (  887): Build fingerprint: Sony/E5803/E5803:6.0.1/32.2.A.5.11/3529879493:user/release-keys
01-27 12:52:40.947 I/Xposed  (  887): Platform: arm64-v8a, 32-bit binary, system server: no
01-27 12:52:40.947 I/Xposed  (  887): SELinux enabled: yes, enforcing: no
01-27 12:52:42.953 I/Xposed  (  887): -----------------
01-27 12:52:42.953 I/Xposed  (  887): Added Xposed (/su/xposed/system/framework/XposedBridge.jar) to CLASSPATH
01-27 12:52:43.189 I/Xposed  (  887): Detected ART runtime
01-27 12:52:43.199 I/Xposed  (  887): Found Xposed class 'de/robv/android/xposed/XposedBridge', now initializing
01-27 12:52:43.418 E/Xposed  (  887): Cannot load any modules because /data/data/de.robv.android.xposed.installer/conf/modules.list was not found


Try with stock xposed app (not material theme)
 
  • Like
Reactions: rolo143

TechNova

Senior Member
Mar 24, 2013
468
322
24
Mumbai
OnePlus 8
@romracer
Can you update the xposed to work with 5 jan 2017 security patch?
I am using redmi note 3 (kenzo) with Lineage os 13 marshmallow, v86 gave me bootloops,but magisk one by topjohnwu(v87) worked, but i dont wanna flash magisk so....
 
  • Like
Reactions: DsturbD

jalilhallaoui

New member
Jan 19, 2014
3
0
Help me

I have j2 lolilolp 5.1.1
When I pass him xposed-v??-sdk2?-*.zip with a custom recovery.
Device depends on the Samsung logo and repeats it self run.
And it does not work, but when I pass him xposed-uninstaller-*.zip my phone working.
can you help me please
 

DsturbD

Senior Member
Feb 27, 2012
2,168
1,264
Kannapolis, NC
@romracer
Can you update the xposed to work with 5 jan 2017 security patch?
I am using redmi note 3 (kenzo) with Lineage os 13 marshmallow, v86 gave me bootloops,but magisk one by topjohnwu(v87) worked, but i dont wanna flash magisk so....

i know this has been a while now and i guess everything is on Nougat now, but it sure would be great if this had been updated for this security release, then i could use it on the latest LG G4 update 20r for t-mobile...oh well, time for a new phone anyways :) HTC U11 anyone?
 

sp.218

New member
Jul 1, 2016
4
1
can you tell me what does it means "sytemless" and one more thing i flashed one of them systemless xposed on my le max 2 and now my finger print sensor is not working after the reboot.. any way by which i can disable it ?
thanks..
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1930
    I want to start this post off with a couple of very clear points:

    • @rovo89 is the creator of the Xposed framework
    • This is a derivative work posted with his permission

    This also means the following statements are true:

    • I have only worked to bring the Xposed framework to Android 5.1
    • I have only worked to bring systemless support to Xposed on Android 5.1 and 6.0
    • I have not rewritten the framework from scratch

    With that said, I present to you my first unofficial release of Xposed for Android 5.1/6.0. It is my hope that ultimately my changes can be reviewed and an official release posted. But first, the bugs must be squashed! I've written a few Xposed modules that work fine but by posting this unofficial release, I hope to expand my audience of module writers and testers.

    How To Test
    • You must be on Android 5.1/6.0. It will NOT work on Android 5.0 (too many changes to ART).
    • You should have a working recovery.
    • If you left the Xposed app installed from Android 5.0, you should disable all modules before installing this framework. Busted modules may keep you from booting after installation otherwise.
    • I will need Xposed logs (and possibly logcats) to debug any issues. Remember, if your device won't boot after installation, its likely you can reboot to recovery and still grab the Xposed log (assuming Zygote started). It will be in /data/data/de.robv.android.xposed.installer/log as error.log or error.log.old.

    Known Issues
    • Devices with very little free space on /system may have trouble installing. Systemless installations are recommended if your device is supported. Non-systemless installs should be a last resort.

    Downloads
    First, I'm going to shamelessly point you to the original Xposed for Lollipop thread. Why? Because I want you to read it. This release hardly differs from that one. And maybe, just maybe, it'll save some unnecessary private messages.
    • Did you read the original Xposed for Lollipop/Marshmallow thread?
    • xposed-v??-sdk2?-*.zip - Must be flashed with a custom recovery to install the framework.
    • xposed-uninstaller-*.zip - Can be flashed with a custom recovery to uninstall the framework.
    • XposedInstaller_3.0-alpha*.apk - Must be installed to manage installed modules.

    Use the correct platform and SDK version for your device. Google your device or look in build.prop if you're not sure.

    Can't find some of the downloads? Surprise! They're in the original Xposed for Lollipop thread. They're unchanged, so there's no need to post them here too.

    Module Developers
    It would be incredibly useful to me for people to test the framework in the smallest "units" possible at first. By "unit" I mean things such as "resource replacement", "method replacement", "before method hooks", "after method hooks", etc. It doesn't do me a lot of good to know that some huge, complicated module causes system_server to crash without understanding at what level that's happening. This is actually what held me back from releasing. I have some test modules to use, but I don't have infinite time to write test modules, test the framework, etc.

    For discussions, please use this thread or another matching one in this subforum. For historical discussion, please search this thread.

    Downloads available here:
    Download Here


    .
    513
    THIS EXPERIMENTAL UNOFFICIAL VERSION IS OBSOLETE. USE OFFICIAL XPOSED FRAMEWORK INSTEAD.

    Intro
    Here comes another unofficial Xposed Framework super alpha release targeted for Lollipop 5.1.0 and 5.1.1.
    My version is based on @romracer 's initial version so credits go to him for doing
    the initial job to get the framework running on LP 5.1; as well as @rovo89 for all of his original work.
    Make sure to read the first post of this thread to learn basic info about unofficial Xposed Framework super alpha before proceeding any further.

    As you may already know, many modules don't work on initial version of super alpha due to changes in ART between LP 5.0 - 5.1.
    I took an effort to go through all the changes in ART to find out what could be done to improve the framework
    for better 5.1 compatibility, and managed to identify areas where adjustments had to be made.

    This means, this version should have better support for all those modules that were previously causing boot loops
    or other unexpected system/app crashes. But please note, that even if modules that previously didn't work start to work again,
    it is still necessary for them to be updated for Lollipop 5.1 compatibility - and that's a task for a particular module dev.
    Please, do not spam this thread with issues related to modules themselves. Use dedicated modules' thread instead.

    THIS VERSION DOES NOT TARGET ANY SAMSUNG TOUCHWIZ RELATED ISSUES

    USE AT YOUR OWN RISK AND MAKE SURE YOU MAKE A NANDROID BACKUP BEFORE FLASHING

    Compatibility
    If previous super alpha worked on your device, new one will most likely work as well.

    Files
    I have built two version of the framework, one for LP 5.1.0 and one for LP 5.1.1, even if there are no significant differences between 5.1.0 and 5.1.1.
    Both are for ARM 32bit platform. Make sure you choose the correct one for your system.
    - xposed-sdk22-5.1.0-arm-20150514 - tested on Nexus 5 running stock 5.1.0 (LMY47I)
    - xposed-sdk22-5.1.1-arm-20150514 - tested on Nexus 5 running 5.1.1 built from AOSP source (LMY47V)
    Files are attached at the end of this post.

    Install
    - flash in custom recovery
    - make sure to wipe dalvik cache after flashing.

    Source
    ART source code containing my changes is available at
    https://github.com/C3C0/android_art
    It's a fork of rovo89's original repository, with romracer's and my commits on top.

    @romracer
    Please, consider updating info and downloads in the OP when you have time. Thanks.

    ----
    Regarding GravityBox; to avoid further confusion/speculations.
    Current version of GB is not fully compatible with Lollipop 5.1, yet. It will refuse to start on 5.1 even after
    xposed framework is updated to this new super alpha. I need some time to make GB compatible for 5.1 so please be patient and
    keep track of discussion within dedicated GravityBox module thread.
    376
    Changelog

    20160928
    • suhide compatibility. See this post for details.

    20160709
    • Updated to v86. See @rovo89's post here for details.
    • Experimental - Systemless bug fixes for devices that can't mount /data in recovery.
    • Experimental - Systemless builds for Android 5.1 (SDK22).
    • NOTE - You must use the installer in post #1 or the Material Design Xposed installer if you use systemless Xposed. The default installer will not detect /xposed/xposed.prop.


    20160620
    • Updated to v85. See @rovo89's post here for details.
    • Experimental - Systemless bug fixes for devices that can't mount /data in recovery.
    • June 20th - Experimental - Systemless builds for Android 5.1 (SDK22). No changes to SDK23.
    • NOTE - You must use the installer in post #1 or the Material Design Xposed installer if you use systemless Xposed. The default installer will not detect /xposed/xposed.prop.

    20160617
    • Updated to v85. See @rovo89's post here for details.
    • Experimental - Systemless support for SDK23 (Android 6.0). This should work similar to @topjohnwu's though there are some significant differences. The uninstaller has not been updated yet.
    • NOTE - You must use the installer in post #1 or the Material Design Xposed installer if you use systemless Xposed. The default installer will not detect /xposed/xposed.prop.

    20150911 - Never Forget.
    • Updated to v74. See @rovo89's post here for details.
    • If the official release works for you, there is no need to install this version, unless you want to test LZMA2 compression.
    • Experimental - Use LZMA2 compression for our backups. If you get errors while trying to install Xposed, this may help.
    • Experimental - Uninstaller supports LZMA2 compressed backups. Its also backward compatible with official and my previous unofficial releases.

    20150816
    • Disable resource hooking in Sygic
    • Disable fast access to TypedArray subclasses
    • Ensure system content providers are compiled before they are needed
    • See @rovo89's post here for details.

    20150808
    • Merge @rovo89's changes from upstream to support LG encrypted odex files. See his post here for details.
    • I do not have an LG phone to test. Please report back any problems. Be sure to clear dalvik cache after installing!

    20150804
    • Merge @rovo89's changes from upstream to support LG encrypted apps. See his post here for details.
    • I do not have an LG phone to test. Please report back any problems. Be sure to clear dalvik cache after installing!

    20150727
    • Include @rovo89's changes from upstream. See his post here for details.

    20150716
    • Include @rovo89's changes from upstream. There are no changes to the framework. If previous versions installed fine, then there is no need to update to this version unless you just really want to.

    20150702
    • Updated installer and bundled busybox. Should resolve issues with mounting /system during install in some cases and incorrectly detecting recovery's value for ro.build.version.sdk instead of the system's.

    20150701
    • Updated installer and uninstaller again. Installer is now less complex but still works on devices with low /system space. If you had no problems installing previous releases, then there's no need to update to this version. Uninstaller is backward compatible. See this commit for details.

    20150630
    • Updated installer and uninstaller. Installer is now a bit more intelligent in creating your backups. Uninstaller is backward compatible. If you had no problems installing 20150629, then there's no need to update to this version. See this commit for details.

    20150629
    • Update to v65 from @rovo89
    • Note: If the Xposed installer app (not zip) indicates the framework is not installed, then make sure you are using alpha4 of the installer app. This is a bug in alpha3 of the installer app.

    20150514
    • Updated to include @C3C076's commits here. Buy the man a beer!
    • For details, see commits #1 and #2.


    FAQ
    • Unofficial FAQ maintained by the community is available here

    Miscellaneous
    • Working and non-working modules can be found here. This is not an official list. Your mileage may vary.
    • If you get "low space warnings" after installation, make sure you wiped Dalvik cache in recovery. If they persist, your ROM may have modified build.prop. See this post for one way on how to fix it. This seems most common with Chroma ROMs.
    • If your ROM gzip's (compresses) the .odex files in /system, then Xposed will not work and you will bootloop. This is due to patchoat handling the gzipped odex files, but not correctly patching them for Xposed. This causes Xposed to trigger continuous re-dexopt'ing of the compressed odex file.
    159
    Yet another version of unofficial Xposed Framework for LP 5.1

    This version is in sync with the latest official xposed framework for 5.0 recently released by @rovo89.

    REQUIRES XPOSED INSTALLER APP ALPHA4 THAT CAN BE OBTAINED FROM ROVO'S OFFICIAL XPOSED THREAD FOR LOLLIPOP

    AS ALWAYS, MAKE SURE YOU HAVE A NANDROID BACKUP BEFORE YOU START MESSING WITH YOUR DEVICE
    142
    Freshly compiled version containing some fixes, mostly taken from rovo89's official xposed repositories.

    Changelog
    - Xposed: fixed xposed not writing to log on some devices (useful mainly for module developers)
    - ART: potential fix for debugger crash when debugging hooked methods
    - ART: fixed modules crashing on launch right after they get updated
    - ART: ignore unknown arguments passed to dex2oat,oatdump,patchoat and runtime (potentially improves compatibility with OEM ROMs)
    - ART: added gzip support to patchoat to potentially improve compatibility with CM-based ROMs (cherry-picked from CyanogenMod version of ART)

    ARM version has been tested on Nexus 5 running stock 5.1.1
    ARM64 version reported to be working fine on Nexus 9 running CM12.1

    Use at your own risk and make sure to have a ROM backup ready.

    @romracer : FYI