LSPosed Xposed Framework [8.1-13.0]. Simple Magisk Module

What Xppsed Framework are You Using??


  • Total voters
    1,442
Search This thread

HippoMan

Senior Member
May 5, 2009
2,160
938
Hippoland
LSPosed and LSPosed_mod has 2 versions, riru and zygisk. Riru works with magisk 23, while zygisk require magisk 24+.
Many people continue to use riru version with success. LSPosed_mod has not changes on core so riru should works without issue.
Thank you very much!

Yes, I'm using riru.

And just wondering: has anyone actually gotten LSPosed_mod to work with riru under Magisk 23.0?

Even though you've explained that it's likely that I could get this to work, I prefer not to be the first pioneer to try it, given (as I have mentioned before) that I need my device for work and other important tasks, and I can't afford to be without my device for an extended period of time in order to try to fix any possible bricking or bootloops which might occur.
 

etmatrix

Senior Member
Jan 6, 2015
105
34
And just wondering: has anyone actually gotten LSPosed_mod to work with riru under Magisk 23.0?
Between LSPosed and LSPosed_mod there are no major differences.
I will test for you on LineageOS 18.1 (Android 11) and I will give you feedback, so not to be the first pioneer to try it.
I don't expect problems, because others got riru LSPosed to work
 
  • Like
Reactions: HippoMan

VD171

Senior Member
Jun 21, 2012
2,958
2
2,202
127.0.0.1
LG K10
Samsung Galaxy J7
Everyone should use the version they like best.
You are still waiting CLI in LSPosed, in LSPosed_mod already exists!!!
After 2 years aren't you tired of waiting?
It will never be completed...
Continue setting up apps manually.... no cli, no api, no automatic.
NOTHING!!

Just build your own xposed framework and stop saying stupid things.
We are here to talk about official lsposed and not about mods of lsposed, just read the topic of the thread.
If you want to talk about mods of lsposed, just go to the right thread.
LSPosed is the best xposed framework ever, and YES ! Yes, you should to do the hard work if you want something else not present in LSPosed, like I do.
 

HippoMan

Senior Member
May 5, 2009
2,160
938
Hippoland
Between LSPosed and LSPosed_mod there are no major differences.
I will test for you on LineageOS 18.1 (Android 11) and I will give you feedback, so not to be the first pioneer to try it.
I don't expect problems, because others got riru LSPosed to work
That is very kind of you! ... and beyond what I was requesting!

I definitely wasn't asking you (nor anyone) to make a special effort on my behalf ... I was just wanting to know whether someone already has it working with riru and Magisk v23.0 under Android 11.

Thank you *very* much!
 

etmatrix

Senior Member
Jan 6, 2015
105
34
And just wondering: has anyone actually gotten LSPosed_mod to work with riru under Magisk 23.0?
Works!
I installed Magisk 23.0, Riru v26.1.7 and LSPosed-v1.8.6-6712-riru-release, I believe is your situation.
Update to LSPosed-v1.8.6_mod-6821-riru-release works without issue or bootloop. Just install zip as a simple update.
Previous installed modules work as expected, I tried to set Automatic Add for a module and install a new app and it automatically added.
 
  • Like
Reactions: HippoMan

etmatrix

Senior Member
Jan 6, 2015
105
34
We are here to talk about official lsposed and not about mods of lsposed, just read the topic of the thread.
If you want to talk about mods of lsposed, just go to the right thread.
The title of thread is "What Xppsed Framework are You Using?? "
This is not thread dedicated to LSPosed, learn to read before criticizing.
Respect if you want respect.
Continue to cry for missing CLI!
 
  • Like
Reactions: Lord Sithek

HippoMan

Senior Member
May 5, 2009
2,160
938
Hippoland
[ ... etc. ... ]

Unfortunately, LSPosed 1.8.6 (the latest version) is refusing to display that annoying notification on my Android-11 device, even when I disable the shortcut.

[ ... etc. ... ]
I wrote the above text more than two months ago in a message (in a different XDA forum). I still haven't gotten any answer to my issue, so now I'm posting here.

Around the same time, I posted a question about the same issue to the LSPosed github discussion forum. I haven't gotten any response there, either.

To clarify: I'm running the riru version of LSPosed 1.8.6 on my crDroid-v7.25 device (Android 11). And I'm running Magisk 23.0.

Under this environment, I am NEVER (!!!!!!!!) getting the LSPosed notification in the status bar, irrespective of the fact that I disable the parasitic shortcut, irrespective of the fact that I enable the status notification, and irrespective of any other settings that I have tried in LSPosed.

I don't want the parasitic shortcut, and therefore, without the Status Notification, the only way that I can access the LSPosed Settings is by means of sending the *#*#5776773#*#* USSD sequence to my dialer.

My version of riru is v26.1.7.r530.ab3068ec9f .

My version of LSPosed is v1.8.6 (6712) .

The LSPosed app itself is completely uninstalled.

I have made sure that the AutoNotification app is not blocking LSPosed notifications. I have even temporarily uninstalled AutoNotification to test this.

I have "Status Notification" enabled in the LSPosed Settings.

I have "Create shortcut" disabled in the LSPosed Settings.

I have tried every other combination of LSPosed Settings.

I have completely uninstalled and reinstalled riru and LSPosed several times, with reboots in between each significant step.

Can anyone think of anything else I could do in order to enable the LSPosed Status Notification?

By the way, this issue is one of the things that is motivating me to want to try LSPosed_mod.

PS: This question will be moot if I can install LSPosed_mod (see below), and if I can use it to get to the LSPosed settings by means of the Status Notification or in some manner that doesn't involve the parasitic shortcut nor sending the USSD code to the dialer.
 
Last edited:

HippoMan

Senior Member
May 5, 2009
2,160
938
Hippoland
Works!
I installed Magisk 23.0, Riru v26.1.7 and LSPosed-v1.8.6-6712-riru-release, I believe is your situation.
Update to LSPosed-v1.8.6_mod-6821-riru-release works without issue or bootloop. Just install zip as a simple update.
Previous installed modules work as expected, I tried to set Automatic Add for a module and install a new app and it automatically added.
Thank you!!!!!!!!

Yes, that is my situation.

I will try that within the next 24 hours, and I'll report my results back here.
 

HippoMan

Senior Member
May 5, 2009
2,160
938
Hippoland
Good news!! LSPosed_mod is working fine on my device.

There is one small, mostly insignificant issue:

This is the name of the zip file: LSPosed-v1.8.6_mod-6821-riru-release.zip

However, when I look at the list of installed Magisk modules, it is listed with the following name:
v1.8.5_mod (6821)

In other words, 1.8.5 instead of 1.8.6.

I will report that on the github site.

Also, LSPosed_mod didn't fix the problem with the Status Notification not showing up.

However, I'm thinking that this probably relates to some sort of configuration on my device. I'm continuing to investigate, in my (not so ample) spare time.

Thank you again for your help!
 

HippoMan

Senior Member
May 5, 2009
2,160
938
Hippoland
Also, LSPosed_mod didn't fix the problem with the Status Notification not showing up.

... however, given that LSPosed_mod has a working CLI, I now realize that I don't need to use any parasitic functions (Status Notification, Shortcut, or USSD dialer dialog) in order to perform most Manager-related functions.

So, I'm not going to worry about this "missing Status Notification" issue any more.

Excelsior!
(Latin for "Onward and upward!")

Other people here can debate whether we should or shouldn't have a separate thread for LSPosed_mod.
 
Last edited:

HippoMan

Senior Member
May 5, 2009
2,160
938
Hippoland
In case anyone is interested, I just learned about a way to launch the parasitic manager without using the Status Notification, without using the parasitic Shortcut, and without using the USSD dialer sequence:

Just run the following as root:
Code:
am start -c org.lsposed.manager.LAUNCH_MANAGER com.android.shell/.BugreportWarningActivity

It definitely works with LSPosed_mod, and I believe that it's also likely to work with standard LSPosed.

I wrote a Tasker action which invokes this as root, and I made a Tasker app out of it. So, now I can launch the parasitic manager any time I want simply by launching that app.
 
In case anyone is interested, I just learned about a way to launch the parasitic manager without using the Status Notification, without using the parasitic Shortcut, and without using the USSD dialer sequence:

Just run the following as root:
Code:
am start -c org.lsposed.manager.LAUNCH_MANAGER com.android.shell/.BugreportWarningActivity

It definitely works with LSPosed_mod, and I believe that it's also likely to work with standard LSPosed.

I wrote a Tasker action which invokes this as root, and I made a Tasker app out of it. So, now I can launch the parasitic manager any time I want simply by launching that app.
That is exactly what I needed. Thanks! Now I'll have a persistent icon between rom changes, etc, backed up with my Tasker config
 
  • Like
Reactions: HippoMan

pedrocintra_

New member
Aug 9, 2020
4
0
Im having issues getting LSposed to work on my phone, anyone could please help me?

My phone is properly rooted and I could install the latest LSposed Zygisk module (1.8.6) to my Magisk, but when I install the APK it says LSposed is not present in my phone. I also tried older versions and Riru version but they didnt work also.

Setup:
- Motorola 5gs (Stock ROM)
- Android 8.1
- Magisk Delta 25206 (Stable Version)
- Zygisk + MagiskHide Enabled
- Universal Safetynet Fix 2.4
 

rodken

Senior Member
Jan 11, 2010
1,629
716
Im having issues getting LSposed to work on my phone, anyone could please help me?

My phone is properly rooted and I could install the latest LSposed Zygisk module (1.8.6) to my Magisk, but when I install the APK it says LSposed is not present in my phone. I also tried older versions and Riru version but they didnt work also.

Setup:
- Motorola 5gs (Stock ROM)
- Android 8.1
- Magisk Delta 25206 (Stable Version)
- Zygisk + MagiskHide Enabled
- Universal Safetynet Fix 2.4
Have you tried this method?
 

amritpal2489

Senior Member
Oct 3, 2010
381
76
Guys... I am facing an issue. When I install the LSPosed magisk module.. the status bar notification is shown but when I touch it nothing opens.. I think the manager app crashes... Same with ussd code. When I install the app from playstore or /data/adb the manager is visible in the applist and is functioning correctly but banking apps stop working as they detect the lsposed manager app. What can I do to resolve this?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Anyone using pixel 6 or 7/pro who updated to the may update also using lsposed and experiencing no issues?
    Are you going to ask this every month? Since the beginning of XPosed nobody ever had any problem after a monthly update with any phone.
    2
    Are you going to ask this every month? Since the beginning of XPrivacy nobody ever had any problem after a monthly update with any phone.
    I wish I could like this post 100 times. What would break LSPosed in a monthly update?
    2
    Are you going to ask this every month? Since the beginning of XPrivacy nobody ever had any problem after a monthly update with any phone.

    I wish I could like this post 100 times. What would break LSPosed in a monthly update?
    What lovely people. How dare I come to a public forum that exists for sharing software, discussing it, and troubleshooting it and ask a question. How stupid of me.

    If you don't have an answer keep moving. You're toxic, snide people. Grouches.
  • 81
    Developers: LSPosed Developers
    Homepage: GitHub
    Requirements:
    • Magisk 21+
    • Android 8.1-13

    Riru(NOT NEEDED) USE ZYGISK
    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.1 ~ 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:
    29
    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)


    For Newer Version Changelogs and Downloads:
    LsPosed Github




    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.
    17
    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.
    17
    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 have been updated on February 1, 2022 and the zip file has 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. Launch Automate, go to settings and change the Superuser command from its default of
      Code:
      su
      to
      Code:
      su -mm
      .
    6. Import LSPosed Auto Add.flo in Automate.
    7. After the flow is imported, grant all needed permissions.
    8. In the imported flow, start Configure. You should see a list of active LSPosed modules like the one seen on the attached screenshot.
    9. Toggle the modules as needed. If shown with a check mark, any newly added package will be added to the module's scope.
    10. Press Cancel to exit from the module list.
    11. 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.
    • 2022-02-01: Add "su -mm" instructions for newer versions of Automate.
    Thanks to @Open.Orange, @spawnlives and @randomwordhere for testing.
    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. :)