• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

LSPosed Xposed Framework [8.0-12.0]. Simple Magisk Module, EdXposed Alternative.

What Xppsed Framework are You Using??


  • Total voters
    721
Search This thread

techlover96

Member
Oct 20, 2020
28
3
Magisk Canary v23014 released, with the following changelog:
  • Add module suspension state in Magisk app (riru/zygisk modules)
As a result, Riru (and LSPosed) modules are in a suspended state, which makes them unusable. Currently using Riru v26.1.13 and LSPosed v1.6.3).
Any new version of Riru and LSPosed that overcomes this challenge? Need them for USNF module and for continued usage of banking apps.
Any help is appreciated, thanks! :)
 
Magisk Canary v23014 released, with the following changelog:
  • Add module suspension state in Magisk app (riru/zygisk modules)
As a result, Riru (and LSPosed) modules are in a suspended state, which makes them unusable. Currently using Riru v26.1.13 and LSPosed v1.6.3).
Any new version of Riru and LSPosed that overcomes this challenge? Need them for USNF module and for continued usage of banking apps.
Any help is appreciated, thanks! :)
How about you stop updating Magisk.....go back to v23...problem solved. You are running into issues on a CANARY build guy....come on. Use what works. You're wlecome!
 

techlover96

Member
Oct 20, 2020
28
3
How about you stop updating Magisk.....go back to v23...problem solved. You are running into issues on a CANARY build guy....come on. Use what works. You're wlecome!
Haha I get where you're coming from... However, topjohnwu tweeted, saying that MagiskHide is now officially not working on v23 and below, which means that I need to update to the latest version, to work around with Zygisk and DenyList (and possibly use Riru and LSPosed, if that option doesn't work) for my banking apps. Nevertheless, thanks for the heads-up! Appreciate it! :)
 
Haha I get where you're coming from... However, topjohnwu tweeted, saying that MagiskHide is now officially not working on v23 and below, which means that I need to update to the latest version, to work around with Zygisk and DenyList (and possibly use Riru and LSPosed, if that option doesn't work) for my banking apps. Nevertheless, thanks for the heads-up! Appreciate it! :)
Actually v23.0(23000) still has hide. It is removed in a letter version of v23.0 I believe 23011 but not sure exactly.
 

Attachments

  • Screenshot_20211115-064251.png
    Screenshot_20211115-064251.png
    179.5 KB · Views: 215
  • Screenshot_20211115-064306.png
    Screenshot_20211115-064306.png
    169.9 KB · Views: 200
  • Screenshot_20211115-064329.png
    Screenshot_20211115-064329.png
    226.1 KB · Views: 185
  • Screenshot_20211115-064400.png
    Screenshot_20211115-064400.png
    77.1 KB · Views: 187
  • Screenshot_20211115-064421.png
    Screenshot_20211115-064421.png
    330.8 KB · Views: 201
  • Like
Reactions: sosimple

CosmicDan

Senior Member
Jun 19, 2009
5,894
7,736
35
Sydney
Google Pixel 3 XL
Xiaomi Poco X3 Pro
Actually v23.0(23000) still has hide. It is removed in a letter version of v23.0 I believe 23011 but not sure exactly.
The tweet he is talking about is how MagiskHide for v23 *no longer works*, because there has been a SafetyNet update to detect it.

Like always it's a staggered rollout, so I am luckily still passing - but it's only a short matter of time before MagiskHide on v23 stops working for everyone.

It may already be broken for "fresh installs" - I'm about to find out now.
 

Homeboy76

Senior Member
Aug 24, 2012
2,908
1,525
Google Pixel XL
The tweet he is talking about is how MagiskHide for v23 *no longer works*, because there has been a SafetyNet update to detect it.

Like always it's a staggered rollout, so I am luckily still passing - but it's only a short matter of time before MagiskHide on v23 stops working for everyone.

It may already be broken for "fresh installs" - I'm about to find out now.
I think the solution is to use, Safety net Fix version 2.1.1 or 2.1.2 with Magisk v23.
 
  • Like
Reactions: rhewins2268

kaisar1994

Senior Member
I have turned on Zygisk in Magisk. Zygisk - LSposed and Gravitybox are working fine. But by using "Ultimate Notification Control" option of GravityBox, per-app custom vibration and custom notification sound are not working. Is there any way to make it work?

From Samsung Galaxy Note 10 Lite
 

CosmicDan

Senior Member
Jun 19, 2009
5,894
7,736
35
Sydney
Google Pixel 3 XL
Xiaomi Poco X3 Pro
I think the solution is to use, Safety net Fix version 2.1.1 or 2.1.2 with Magisk v23.
Maybe yeah. I did a clean install just yesterday after unlocking bootloader, Magisk v23, but I don't need USNF at all to pass Safety net still. I guess this is only a problem for custom ROM's (I'm running MIUIMix on my Poco X3 Pro, so stock based ROM mod).

But also the Dev of USNF talks about how it's best to integrate the module into ROMs, so I don't know what the story is.

Also yeah I am running LSPosed + CustoMIUIzer (a Gravitybox type module for MIUI) and yeah, with no USNF I still pass Safetynet. I think it's only important for devices with hardware attestation like Pixels.
 
  • Like
Reactions: Homeboy76

beeshyams

Senior Member
Dec 29, 2014
1,613
550
Bangalore
Hi. A newbie (to lsposed) question: Can we install other xposed plugins, or only those in the list lposed shows?
Thanks,
You can use other modules as well but you need to figure out or ask the module developer to help you with what needs to be selected in app options.

Lsposed repo has those modules which have the required components selected when you install (at least for the modules I use)
 
Last edited:
  • Like
Reactions: sosimple

Top Liked Posts

  • 1
    I am very stuck on getting Bash to work with your script, I am so sorry to trouble you but could I get some help? I have:

    * Used Magisk to install the cross compiled binaries package which supposedly installs Bash, it did not seem to.
    * I flashed Bash via TWRP from here: https://forum.xda-developers.com/t/dev-addon-lastest-bash-for-android.2898295/
    * I have created a directory, put Bash 5.0 in to it (from here) and attempted to add it to my $PATH
    * I dumped Bash 5.0 directly into /system/usr/bin in both my A and B partitions and rebooted twice.
    * I have attempted to add Termux's bin directory (which has bash) to my path
    * I have dumped bash from Termux's bin directory directly into /system/usr/bin in both my A and B partitions and rebooted twice.

    All returns:

    /system/bin/sh: bash: inaccessible or not found

    in your Automate script. I am very inexperienced with the Linux command line so I am likely missing something simple here but can you, or anyone, give me a hint as to what I am doing wrong? 🤷‍♂️

    The problem is that the little pieces of shell fragments in the Automate flow expect to have bash in the system path.
    Changing .bashrc won't work since it's generally not read by the system shell (ash?).
    Throwing bash in /system/xbin (or bin) won't work either since this is a Magisk tmpfs mount and won't stick after a reboot (unless you did this in recovery or do not have any modules that add or touch /system/xbin or bin, but then you could have ran into verity issues).
    You have to create a magisk module by hand:
    - Create /data/adb/modules/bash/system/bin.
    - Put bash there, set rwxr-xr-x perms (chmod 775 /data/adb/modules/bash/system/bin/bash)
    - Create a /data/adb/modules/bash/module.prop plain text file with the following contents:
    Code:
    id=bash.local
    name=System bash
    version=1.0
    versionCode=1
    author=Me
    description=bash in /system/bin
    - Reboot.
  • 4
    Hello, I have a problem with LSposed & XPrivacyLua-. When I was using EdXposed Manager I could choose in PrivacyLua what permissions gives to each app installed, but now with LSposed, I have to choose in both applications. First check on LpoSed then select again the permissions in PrivacyLua.
    Anyway to give the whole permission only to XPrivacyLua?
    No, as lengthily discussed in this topic, LSposed requires you to select all apps you want to hook yourself, and despite popular request automatic whitelisting of new apps has never been added. Check a few pages back, where the unsurpassed member @Fif_ shared how he automated this process.
    2
    Here is the telegram link Mod edit: Link removed
    @Full House

    Due to your report, please allow me to shed light on the question why the link has been removed by my esteemed team mate @engloa

    As an exemption from the last bullet of rule no. 5 of the XDA Forum Rules, we grant only developers the privilege to share references to their social media in their own development threads. These conditions obviously didn't apply to your post or you. Additional information is also available here:
    I hope I was able to satisfactionarily answer your question.

    Regards
    Oswald Boelcke
    Senior Moderator
    2
    Where did you get the new version of lsposed 6313. I can only find 629
    1
    Where did you get the new version of lsposed 6313. I can only find 6296
    here, is the latest version for today)
    1
    Hi, I've installed riru v26, but it results suspended because Zygisk is enabled. Will it works?
    you don't need to install Riru if you have activated Zygisk in Magisk settings, you must ONLY install LSPosed Zygisk module in Magisk
  • 56
    Developers: LSPosed Developers
    Homepage: GitHub
    Requirements:
    • Magisk 21+
    • Android 8-11 [Android 12(experimental)]

    Riru
    Description: Riru module providing ART interception framework (natively for Android Pie) that provides consistent API -interfaces with OG Xposed, using YAHFA (or SandHook) interception environment, supports Android 8.0 ~ 11.
    & Installation:
    • Install Riru 23+
    • Install Riru - LSPosed via Magisk Manager
    Install LSPosed Manager app (Note: No Saparate App and Zip, App Will be Installed Automatically)
    • Reboot your device.

    Download:
    For stable release, please go to Github Release page For canary build use telegram.
    Go to second post for latest version Download

    Notes:
    I'm just sharing this from github, I'm not responsible if you bricked your device.

    GPay and other banking apps working fine without any issue so this xposed alternative is worth trying and safer.

    Note: If anyone facing bootloop issue, don't panic, hard reboot again and it will work.


    Screenshot:
    19
    Download:
    Flash zip file through magisk and then install LSPosed Manager app

    Update 1 March 2021
    V1.2.0

    V1.3.7 Updated 15.May.2021
    (Note: No Saparate App and Zip, App Will be Installed Automatically)

    Bump New Version v1.5.0 14.August.2021

    Android 12 Supported(Experimental)

    Changelog

    • Fix manager white screen
    • Support split-apk modules (LSPosed will choose only one apk with xposed_init to load)
    • Fix manager crash when launching an uninstalled module from notification
    • Load modules with SharedMemory (it can speedup app cold launch) 2
    • New manager icon
    • Fix incorrect update notification in the first installation
    • Fix some apps not showing in the scope list in some rare cases
    • Show notification of module uninstallation
    • Prevent modules from hooking inner methods (methods from XposedBridge's classloader)



    Note:

    Previously LSPosed only recognize modules from the primary user. However, this strategy is not good and leads to some problems: some modules require getting installed app lists for configuration but they cannot do so across users; some require reading themselves from the hooked apps but they cannot do so from non-primary users; some users want to configure modules differently on different users which is not feasible previously. Thus LSPosed now requires every module to be installed to the user on which the apps they want to hook are installed. Some devices restrict modules from installing onto some users. In such a case, you can install them from the manager (but it's recommended).

    1: For some weird devices that prevent installing apps from the root user, please install the manager from /data/adb/lspd/manager.apk or manager.apk from the zip file manually.

    2: Some modules get modules' apk path using reflection of its classloader, it's not recommended and unstable since the apk path from classloader no longer exists when using SharedMemory to load modules. Please use the documented way (from IXposedHookZygoteInit.StartupParam.modulePath) instead.
    14
    I have it working on the Poco X3 NFC, running RR, loaded and runs without issue, I used the YAHFA option, has updated without issue.

    Thought I should add that I can't get SafetyNet on, but I've never been worried about that, I think I've only ever had it working once on one of my devices years ago. The one app that refused to play nice I just used MagiskHide on, and it's not a problem now.

    In saying that I only have one module loaded, I haven't had time to go looking for the below answers, to install any others.

    The only thing I haven't figured out yet is what apps need to be picked with what modules, sure some are obvious as they are named after the apps, but is there anything else that needs to be picked with them? For example, do I need to pick the framework app with everything, I'm sure I don't, but how do I know?
    I'm using YAHFA myself, even though I was using SandHook earlier with EdXposed. Also, I'm passing SafetyNet without an issue and Play Store shows certified as well, so that's nice.

    Coming to your question about "scope", basically for a module, you have to select the apps that are hooked by the module. This is pretty straightforward for modules that hook a specific app, for example, if you're using WATweaker, you have to select WhatsApp in its "scope". Similarly, another example, if you're using Instaprefs, you have to select Instagram in its "scope". However, for more systemwide module (like GravityBox, for example), multiple apps have to be selected in the "scope" as the module is more global in nature, so to speak.

    The only way to figure out which apps need to be added in scope for a module is to ask the module developer or by trial and error. Taking GravityBox as an example, you'll find the list of apps that need to be selected for its scope in the first post of its thread (under apps that need to be whitelisted; "whitelisted" term being used in context of EdXposed, since when the post was written, LSPosed wasn't a thing).

    Also, modules can auto-add recommended apps to their scope, but the responsibility of making that happen lies with the module developer. Once again, taking GravityBox as the example, if you install GravityBox in LSPosed, you don't have to select apps manually in its scope. They're auto-selected since the developer has added support for LSPosed and auto-selection of scope apps.

    I know the reply is long-ish, but I hope it helps you and the others who had similar questions. :)
    14
    Why it's safer than EdXposed?
    I didn't say it's safer than edxposed. I meant xposed alternatives like taichi etc.
    All banking apps works, no system slowdown, i got more free ram etc.
    In edxposed the hooked apps take time to open, no such issue with LSPosed.
    That's why i thought it's worth trying and safer.
    14
    I was considering that until I made an Automate flow to automatically add newly installed apps to select Xposed modules' scope.
    By popular request, this is my setup for automatically adding newly installed packages to some user-defined LSPosed scopes.

    [EDIT:] These instructions and the zip file have been updated on November 14, 2021.

    Requirements:
    Caveats:
    • LSPosed won't pick up the changes until the device is rebooted.
    Instructions:
    1. Unzip the attached LSPosed-Auto-Add.zip
    2. Create the /sdcard/usr/bin directories.
    3. Move lsposed-scopes-add from step 1 file to /sdcard/usr/bin. The file full path must be /sdcard/usr/bin/lsposed-scopes-add
    4. Move xposed-modules-status from step 1 file to /sdcard/usr/bin. The file full path must be /sdcard/usr/bin/xposed-modules-status
    5. Import LSPosed Auto Add.flo in Automate.
    6. After the flow is imported, grant all needed permissions.
    7. In the imported flow, start Configure. You should see a list of active LSPosed modules like the one seen on the attached screenshot.
    8. Toggle the modules as needed. If shown with a check mark, any newly added package will be added to the module's scope.
    9. Press Cancel to exit from the module list.
    10. Make sure that Automate is set to start at boot (in Automate settings).
    There should be two automate fibers running in the flow. If it stops for whatever reason, just start the Init flow.
    You can add and remove modules at any time by launching the Configure flow.

    Changes:
    • 2021-11-01: Provide missing script.
    • 2021-11-08: Force running scripts in / in Automate flow.
    • 2021-11-14: Also support parasitic manager.
    Thanks to @Open.Orange and @spawnlives for testing.