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

What Xppsed Framework are You Using??


  • Total voters
    1,390
Search This thread

HippoMan

Senior Member
May 5, 2009
2,093
859
Hippoland
I created a shortcut on my home screen but the persistent notification still shows up. What gives?
I get the opposite behavior: no persistent notification ever appears, even when there is no shortcut on the HOME screen. And in fact, my lsposed instance won't even let me create a shortcut.

In my case, I'm running Android-11 (crDroid-v.725) on a Pixel 5, and I'm running the riru version of lsposed 1.8.6 . It all is working well. I just am having to invoke the lsposed manager by means of the USSD dialer sequence.
 

hansxl

Senior Member
Nov 18, 2009
381
87
I get the opposite behavior: no persistent notification ever appears, even when there is no shortcut on the HOME screen. And in fact, my lsposed instance won't even let me create a shortcut.

In my case, I'm running Android-11 (crDroid-v.725) on a Pixel 5, and I'm running the riru version of lsposed 1.8.6 . It all is working well. I just am having to invoke the lsposed manager by means of the USSD dialer sequence.
And what happens when you deinstall lsposed and then install it again🤔
 

HippoMan

Senior Member
May 5, 2009
2,093
859
Hippoland
Strange. My phone (Galaxy S22 ultra) is running Android 13 and Zygisk version of magisk/lsposed. Maybe try zygisk :unsure:
Thank you very much.

However. I'm using Magisk 23.0 on my A11 device, and I'm studiously avoiding any newer version of Magisk and any newer version of Android. I don't believe that Zygisk works with Magisk 23.0.

This allows me to still use TWRP for nandroid backups, and it allows me to avoid the complicated, headache-producing craziness of trying to get newer versions of Magisk to work and to hide root.

If necessary, I'm willing to live with needing to use the USSD-code method for getting into the lsposed manager, because the rest of my Android experience is simpler to deal with than with the use of these newer software modules.

Also, I have used Tasker and AutoInput to create an app which, when I launch it, opens up my dialer, sends the USSD code, and then invokes the "Call" button. So, I can still get into the lsposed manager with one single click.

And lsposed works fine for me.

If some day it becomes less onerous to try to get newer versions of Magisk to work under newer versions of Android, then I might eventually upgrade. At that point, I'd be willing to try Zygisk or any other similar utilities that might end up being available.
 

hansxl

Senior Member
Nov 18, 2009
381
87
Thank you very much.

However. I'm using Magisk 23.0 on my A11 device, and I'm studiously avoiding any newer version of Magisk and any newer version of Android. I don't believe that Zygisk works with Magisk 23.0.

This allows me to still use TWRP for nandroid backups, and it allows me to avoid the complicated, headache-producing craziness of trying to get newer versions of Magisk to work and to hide root.

If necessary, I'm willing to live with needing to use the USSD-code method for getting into the lsposed manager, because the rest of my Android experience is simpler to deal with than with the use of these newer software modules.

Also, I have used Tasker and AutoInput to create an app which, when I launch it, opens up my dialer, sends the USSD code, and then invokes the "Call" button. So, I can still get into the lsposed manager with one single click.

And lsposed works fine for me.

If some day it becomes less onerous to try to get newer versions of Magisk to work under newer versions of Android, then I might eventually upgrade. At that point, I'd be willing to try Zygisk or any other similar utilities that might end up being available.
okay, that's clear then. I don't have these problems cause I've the luxury of using a custom rom with magisk and twrp already included
 
  • Like
Reactions: HippoMan

hansxl

Senior Member
Nov 18, 2009
381
87
Just out of curiosity, which custom ROM are you using? Perhaps I could switch to it on my device (Pixel 5).
I'm afraid it's specifically for specific Samsung phones. The sites form Dr. Ketan:

 
  • Like
Reactions: HippoMan

whitedavidp

Senior Member
Jul 31, 2012
605
177
LSPosed doesn't have a manager app nomore.
LSPosed now has a parasitic manager.
Open dialer and type: *#*#LSPOSED#*#* (*#*#5776733#*#*) it will launch the parasitic manager.
Now, go to settings and CREATE THE SHORTCUT of the parasitic manager.
I am really quite confused about this strange "parasitic manager" thing... I installed LsPosed and I have an icon in my app drawer which seems to be the LsPosed manager app. If this is NOT the "parasitic" manager and if LsPost doesn't have a manager app nomore, then what is this app in my app drawer? And how is it different from the "parasitic" manager? Thanks!
 
  • Like
Reactions: HippoMan

HippoMan

Senior Member
May 5, 2009
2,093
859
Hippoland
I am really quite confused about this strange "parasitic manager" thing... I installed LsPosed and I have an icon in my app drawer which seems to be the LsPosed manager app. If this is NOT the "parasitic" manager and if LsPost doesn't have a manager app nomore, then what is this app in my app drawer? And how is it different from the "parasitic" manager? Thanks!
It *is* the parasitic manager. There are 3 possible ways to get to the parasitic manager ...

(1) By means of entering the following USSD code in the dialer: *#*#5776733#*#* and selecting "Call".

(2) By means of clicking on a permanent notification that is sent by newer versions of lsposed.

(3) By means of clicking on the shortcut that you are describing.

See below for more details about how this works. All three of these are considered "parasitic", because they are extra, non-standard software that has been injected into your device in a way that makes it difficult for root-detecting software to see them. That's sort of like a parasite which invades a living organism, which is why that name was chosen. Invoking this "parasitic" module in any of these three ways will bring up the lsposed manager.

More details:

Only in newer versions of lsposed will you be able to see that permanent notification. And on some devices (mine included: a Pixel 5 running crDroid-v7.25), you won't see the permanent notification at all, no matter which version of lsposed is running. This seems to be a bug.

Also, in these newer versions of lsposed (those without that bug), you will see either the permanent notification (item 2) or the shortcut (item 3), but not both. In the lsposed settings, you can choose between one or the other.

Those lsposed settings are available in the lsposed manager.

As far as I know, the USSD code method (item 1) works in all cases.
 
  • Like
Reactions: VD171

whitedavidp

Senior Member
Jul 31, 2012
605
177
It *is* the parasitic manager. There are 3 possible ways to get to the parasitic manager ...

(1) By means of entering the following USSD code in the dialer: *#*#5776733#*#* and selecting "Call".

(2) By means of clicking on a permanent notification that is sent by newer versions of lsposed.

(3) By means of clicking on the shortcut that you are describing.

See below for more details about how this works. All three of these are considered "parasitic", because they are extra, non-standard software that has been injected into your device in a way that makes it difficult for root-detecting software to see them. That's sort of like a parasite which invades a living organism, which is why that name was chosen. Invoking this "parasitic" module in any of these three ways will bring up the lsposed manager.

More details:

Only in newer versions of lsposed will you be able to see that permanent notification. And on some devices (mine included: a Pixel 5 running crDroid-v7.25), you won't see the permanent notification at all, no matter which version of lsposed is running. This seems to be a bug.

Also, in these newer versions of lsposed (those without that bug), you will see either the permanent notification (item 2) or the shortcut (item 3), but not both. In the lsposed settings, you can choose between one or the other.

Those lsposed settings are available in the lsposed manager.

As far as I know, the USSD code method (item 1) works in all cases.
Thanks so much! That goes a long way for me. I can understand that some root detection mechanisms might see the app installed and go, yep, that device is rooted. So I can see the value, in that case, of doing all this (presuming the Magisk hiding stuff is working too). And I can see now how "parasitic" has some meaning in this context.

Can I ask what is the LsPosed app/icon I see in my app drawer? Is it the same as the "parasitic" manager? Or is it different somehow? I don't go into the LsPosed manager very often so I have just ignored the prompts about shortcuts and such. Doing this prevented me from being able to turn off the new notification - the switch control was disabled. Finally, in frustration, I just answered the prompt NEVER and then I could turn off the new notification - which is what brought me to all of this.

Thanks once again!
 
  • Like
Reactions: HippoMan

HippoMan

Senior Member
May 5, 2009
2,093
859
Hippoland
Thanks so much! That goes a long way for me. I can understand that some root detection mechanisms might see the app installed and go, yep, that device is rooted. So I can see the value, in that case, of doing all this (presuming the Magisk hiding stuff is working too). And I can see now how "parasitic" has some meaning in this context.

Can I ask what is the LsPosed app/icon I see in my app drawer? Is it the same as the "parasitic" manager? Or is it different somehow? I don't go into the LsPosed manager very often so I have just ignored the prompts about shortcuts and such. Doing this prevented me from being able to turn off the new notification - the switch control was disabled. Finally, in frustration, I just answered the prompt NEVER and then I could turn off the new notification - which is what brought me to all of this.

Thanks once again!
That icon is one of the three methods offered for accessing the parasitic manager. Read my previous message again. It's item #3.

And it's the item I described which is either present or absent in newer versions of lsposed, depending upon whether you are seeing the permanent notification that I also described.

In other words, in these newer versions of lsposed, you will either see ...
(A) that icon
(B) a permanent notification
... but not both.

And the choice between (A) and (B) is made by the user in the lsposed settings. If you choose (A), you won't have (B). If you choose (B), you won't have (A).
 

whitedavidp

Senior Member
Jul 31, 2012
605
177
That icon is one of the three methods offered for accessing the parasitic manager. Read my previous message again. It's item #3.

And it's the item I described which is either present or absent in newer versions of lsposed, depending upon whether you are seeing the permanent notification that I also described.

In other words, in these newer versions of lsposed, you will either see ...
(A) that icon
(B) a permanent notification
... but not both.

And the choice between (A) and (B) is made by the user in the lsposed settings. If you choose (A), you won't have (B). If you choose (B), you won't have (A).
Sorry for being so dense. I generally do not think of items in the app drawer as shortcut - only those on the home screens.

So I see there are 3 ways to open the "parasitic" manager - including how I do it. I can also drag the app's icon off the add drawer and deposit it on a home screen page. So there is a 4th way to do it (kind of). What is not clear to me is why all the hubub about needing multiple ways to get at it? As you describe it, this is "parasitic" and hidden from root detectors. Yet from what I can tell, it is simply another app from Play Store.

Again, sorry for being so dense...
 
  • Like
Reactions: HippoMan

HippoMan

Senior Member
May 5, 2009
2,093
859
Hippoland
Sorry for being so dense. I generally do not think of items in the app drawer as shortcut - only those on the home screens.

So I see there are 3 ways to open the "parasitic" manager - including how I do it. I can also drag the app's icon off the add drawer and deposit it on a home screen page. So there is a 4th way to do it (kind of). What is not clear to me is why all the hubub about needing multiple ways to get at it? As you describe it, this is "parasitic" and hidden from root detectors. Yet from what I can tell, it is simply another app from Play Store.

Again, sorry for being so dense...

No apology necessary! This stuff involving rooting Android devices has gotten painfully complicated these days.,

Your "4th way" of moving the app icon is not "parasitic". That's the actual lsposed app itself, and that's the one which is detectable by many root-checkers. The idea is to delete that app so that it's not found by those root-checkers, and then use one of the "parasitic" versions which are more hidden from the "anti-root police", because of their being parasitic in the first place.

I'm not sure why the lsposed people came up with 3 ways to access the parasitic manager. I think that many users think that the USSD method is too bothersome, and so perhaps that's why the lsposed developers originally came up with the "shortcut icon" as an alternative way to bring up the parasitic manager. And I don't have a clue as to why they decided to later come up with the permanent notification alternative. I've read a number of complaints from some people who find this permanent notification to be a nuisance.
 
Last edited:

whitedavidp

Senior Member
Jul 31, 2012
605
177
No apology necessary! This stuff involving rooting Android devices has gotten painfully complicated these days.,

Your "4th way" of moving the app icon is not "parasitic". That's the actual lsposed app itself, and that's the one which is detectable by many root-checkers. The idea is to delete that app so that it's not found by those root-checkers, and then use one of the "parasitic" versions which are more hidden from the "anti-root police", because of their being parasitic in the first place.

I'm not sure why the lsposed people came up with 3 ways to access the parasitic manager. I think that many people think that the USSD method is too bothersome, and so perhaps that's why they originally came up with the "shortcut icon". And I don't have a clue as to why they decided to later come up with the permanent notification alternative. I've read a number of complaints from some people who find this permanent notification to be bothersome.
Ah, thanks. Remove the downloaded LsPosed app and then use the "parasitic" one. That's the missing piece (now that you have explained things). Thanks very much!
 
  • Like
Reactions: HippoMan

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Just always use the latest release and try to learn new things.
    Keeping LSPosed outdated is the worst action.
    Some of us need our devices for work or other important tasks, and we don't have the time to go through a long learning process which might involve bricking and bootloops while we try to figure out how to get some newer version to work.

    Sometimes, it is indeed quicker and more reliable to downgrade to something that we know to be functional.
    3
    Did you try clearing cache and storage before uninstall through Magisk?

    Then reboot.

    I don't know where LSPosed installs but i'd look for that using root explorer and delete that directory.

    Reboot.

    Install the version you prefer.
    For recent LSPosed versions:
    /data/adb/lspd/
    and
    /data/adb/modules/zygisk_lsposed/ (for zygisk)
    /data/adb/modules/riru_lsposed/ (for riru)

    For old LSPosed versions:
    /data/app/(mixed words)/org.lsposed.manager-(mixed words)/
    or for old Android versions:
    /data/app/org.lsposed.manager/

    You can find (mixed words) using that:
    find /data/app/*/org.lsposed.manager-* -maxdepth 0
    3
    LSPosed_mod is a waste of time.
    Everyone should use Official LSPosed only.
    Having to add new apps into the LSposed scope after every install is a waste of time and a source of unwanted errors.
    Everyone should use LSposed_mod only.

    Or, in other words, don't try to push your preferences onto others, like you do too often. Your use case can and will differ highly from others. We are all grown ups, well capable of making our own choices without your unsolicited advice. Thank you.
    2
    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.
    2
    I would love to try LSPosed_mod, but the docs say that it works for Magisk 24+.

    I'm still on 23.0, because I don't want all the convoluted complexity and headaches of trying to upgrade to a later Magisk version. Has anyone tried LSPosed_mod on 23.0 with any success?

    I need my device for work and other aspects of my life, and I don't want to run the risk of having to take time to fix bricking or bootloops unless I know that there's at least a good chance that LSPosed_mod could work on 23.0.

    Thank you in advance.
  • 77
    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:
    28
    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
    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.
    16
    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 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. :)