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

What Xppsed Framework are You Using??


  • Total voters
    1,721
Search This thread

jd.21

Senior Member
Nov 21, 2011
239
25
Screenshot_2023-03-01-08-16-25-931_com.android.settings.jpg
Screenshot_2023-03-01-08-16-28-681_com.android.settings.jpg


how to disable lsposed status from android system notification. if i off the notification of lsposed status again and again it automatically on in it's own. i can't disable it or remove from notification drawer. my phone is rooted is there anyway to edit the android system notification?. it's annoying me whole day.
 
  • Like
Reactions: tnomtlaw

HippoMan

Senior Member
May 5, 2009
3,536
2,674
Hippoland
View attachment 5860559View attachment 5860561

how to disable lsposed status from android system notification. if i off the notification of lsposed status again and again it automatically on in it's own. i can't disable it or remove from notification drawer. my phone is rooted is there anyway to edit the android system notification?. it's annoying me whole day.
There's an app called AutoNotification which can be used to block notifications on rooted devices. It works for me for blocking this LSPosed notification.
 
  • Like
Reactions: rodken

djmcnz

Retired Recognized Developer
Oct 13, 2009
5,747
1,689
Auckland, NZ
OnePlus 8
Google Pixel 8
Oft, the "parasitic manager" is really living up to its name, I can't get rid of the damn thing.

I accidently upgraded to LSPosed 1.8.6 and now, even after downgrading to 1.6.5 (which was previously working perfectly), I'm stuck with that persistent idiot prompt for a shortcut on my home screen. I don't want that or the notification.

How do I revert back to the launcher icon with v1.6.5? I had no root detection problems with that (ever).

And, FWIW, the launcher icon option should be preserved for those of us that simply don't have a problem with it. Forcing a notification or a shortcut isn't necessary. The launcher icon option could come with a warning "might not hide root" but at least it would be our choice.

I'm happy with v1.6.5, I just need to kill the shortcut prompt and restore the launcher icon, if the method has been previously posted I'd be grateful if somebody could point me to that post.

TIA.
 

jd.21

Senior Member
Nov 21, 2011
239
25
There's an app called AutoNotification which can be used to block notifications on rooted devices. It works for me for blocking this LSPosed notification.
Thank you for your reply. if i install that app the app should always run in the background. am i correct?. without any additional app is there anyway to disable by editing the .xml/buil.prop or is there any script for kernel managers/customizer(i am on MIUI custom rom)?.
 
  • Like
Reactions: HippoMan

HippoMan

Senior Member
May 5, 2009
3,536
2,674
Hippoland
Thank you for your reply. if i install that app the app should always run in the background. am i correct?. without any additional app is there anyway to disable by editing the .xml/buil.prop or is there any script for kernel managers/customizer(i am on MIUI custom rom)?.
On my device, I run AutoNotification with battery optimization turned off for it, so yes, it will run in the background.

As for your following question, I'm sorry, but I have no idea.
 

VD171

Senior Member
Jun 21, 2012
3,027
2
2,282
127.0.0.1
LG K10
Samsung Galaxy J7
Oft, the "parasitic manager" is really living up to its name, I can't get rid of the damn thing.

I accidently upgraded to LSPosed 1.8.6 and now, even after downgrading to 1.6.5 (which was previously working perfectly), I'm stuck with that persistent idiot prompt for a shortcut on my home screen. I don't want that or the notification.

How do I revert back to the launcher icon with v1.6.5? I had no root detection problems with that (ever).

And, FWIW, the launcher icon option should be preserved for those of us that simply don't have a problem with it. Forcing a notification or a shortcut isn't necessary. The launcher icon option could come with a warning "might not hide root" but at least it would be our choice.

I'm happy with v1.6.5, I just need to kill the shortcut prompt and restore the launcher icon, if the method has been previously posted I'd be grateful if somebody could point me to that post.

TIA.
Just always use the latest release and try to learn new things.
Keeping LSPosed outdated is the worst action.
 

HippoMan

Senior Member
May 5, 2009
3,536
2,674
Hippoland
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.
 
Last edited:

djmcnz

Retired Recognized Developer
Oct 13, 2009
5,747
1,689
Auckland, NZ
OnePlus 8
Google Pixel 8
Just always use the latest release and try to learn new things.
Keeping LSPosed outdated is the worst action.

Whilst I respect your right to your opinion, I happen to disagree with it, especially when undesirable features are forced upon us.

My question stands - if somebody can tell me how to revert to the 'normal' manager behaviour of 1.6.5 (i.e. an app drawer icon) so I can delete the unwanted shortcut I would appreciate the assistance. I'm happy to stay on 1.6.5 because it meets my needs. Removing version 1.8.6 obviously leaves some garbage behind that I apparently need to remove manually.
 

VD171

Senior Member
Jun 21, 2012
3,027
2
2,282
127.0.0.1
LG K10
Samsung Galaxy J7
Whilst I respect your right to your opinion, I happen to disagree with it, especially when undesirable features are forced upon us.

My question stands - if somebody can tell me how to revert to the 'normal' manager behaviour of 1.6.5 (i.e. an app drawer icon) so I can delete the unwanted shortcut I would appreciate the assistance. I'm happy to stay on 1.6.5 because it meets my needs. Removing version 1.8.6 obviously leaves some garbage behind that I apparently need to remove manually.
Features are forced because you are using the app developed by another person.
But you are not forced to use the app.
LSPosed is open source, so if you feel you are forced to something, you can change anything you want and build your own app.
Or you can suggest changes and report bugs to official LSPosed here:
 

djmcnz

Retired Recognized Developer
Oct 13, 2009
5,747
1,689
Auckland, NZ
OnePlus 8
Google Pixel 8
Features are forced because you are using the app developed by another person.
But you are not forced to use the app.
LSPosed is open source, so if you feel you are forced to something, you can change anything you want and build your own app.
Or you can suggest changes and report bugs to official LSPosed here:

I just want to know what to do to return to my prior working state, the upgrade to a later version seems to have hijacked that, which for whatever reason, is undesirable behaviour.

If you can help with that I'd appreciate it, if you can't then that's cool too.
 

VD171

Senior Member
Jun 21, 2012
3,027
2
2,282
127.0.0.1
LG K10
Samsung Galaxy J7
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
 
Last edited:

djmcnz

Retired Recognized Developer
Oct 13, 2009
5,747
1,689
Auckland, NZ
OnePlus 8
Google Pixel 8


I appreciate your suggestions, thank you. However none of that worked... but I have resolved the 'problem', in an unlikely and somewhat confusing way, read on.

If I remove the module from Magisk then all of the above mentioned directories no longer exist. I checked this after clearing Magisk's cache and rebooting so, presumably, am starting from a clean slate.

If I then install LSPosed v1.6.5 from local storage via Magisk and reboot I am prompted to create a shortcut. If I don't create the shortcut LSPosed does not function (although still visible and enabled in Magisk), no persistent notification is created. I have to reboot to reactivate the shortcut prompt and create the shortcut before LSPosed will work again.

So non buono there but...

Remove LSPosed (v1.6.5) again, install LSPosed v1.5.3 from local storage, reboot and I have my launcher icon back but my modules don't work (understandable), so I open Magisk and am prompted to update LSPosed to v1.6.5 from the repo (i.e. not "local storage") and reboot... voilà! Now v1.6.5 is working with a launcher icon and no prompt for the parasitic shortcut, all modules enabled and working.

I can't logically explain that.
 

etmatrix

Senior Member
Jan 6, 2015
121
38
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?
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.
 
  • Like
Reactions: rodken and HippoMan

etmatrix

Senior Member
Jan 6, 2015
121
38
Whilst I respect your right to your opinion, I happen to disagree with it, especially when undesirable features are forced upon us.

My question stands - if somebody can tell me how to revert to the 'normal' manager behaviour of 1.6.5 (i.e. an app drawer icon) so I can delete the unwanted shortcut I would appreciate the assistance. I'm happy to stay on 1.6.5 because it meets my needs. Removing version 1.8.6 obviously leaves some garbage behind that I apparently need to remove manually.
I don't understand very well your problem, but I try to give you an idea. I installed the manager from file /data/adb/lspd/manager.apk with pm install, so no parasitic, no shortcut.
You can do with old and new versions, apk is always available.
 

djmcnz

Retired Recognized Developer
Oct 13, 2009
5,747
1,689
Auckland, NZ
OnePlus 8
Google Pixel 8
I don't understand very well your problem, but I try to give you an idea. I installed the manager from file /data/adb/lspd/manager.apk with pm install, so no parasitic, no shortcut.
You can do with old and new versions, apk is always available.
Thanks for the information and suggestion.

Because I have it working now, 100% to my satisfaction, I will not try any more, or upgrade anything further. My Magisk v23 w/LSPosed is working perfectly for me, including with banking apps and Google wallet. :)
 
  • Like
Reactions: HippoMan

VD171

Senior Member
Jun 21, 2012
3,027
2
2,282
127.0.0.1
LG K10
Samsung Galaxy J7
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.
LSPosed_mod is a waste of time.
Everyone should use Official LSPosed only.
 
  • Like
Reactions: rodken and HippoMan

heinhuiz

Senior Member
Nov 26, 2011
1,405
1,284
Xiaomi Mi A1
Redmi K20 / Xiaomi Mi 9T
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.
 

HippoMan

Senior Member
May 5, 2009
3,536
2,674
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.
 

Top Liked Posts

  • 2
    lsposed stopped working on my poco f1 after upgrading from lineage-21.0-20240319-nightly-beryllium-signed.zip to lineage-21.0-20240416-nightly-beryllium-signed.zip, the manager won't open and the UI will freeze for a few seconds. Downgrading to 20240319 fixed lsposed again
  • 2
    lsposed stopped working on my poco f1 after upgrading from lineage-21.0-20240319-nightly-beryllium-signed.zip to lineage-21.0-20240416-nightly-beryllium-signed.zip, the manager won't open and the UI will freeze for a few seconds. Downgrading to 20240319 fixed lsposed again
    1
    Would like to say, that i am very sorry that this great project was abandoned. A quality module, providing many possibilities, supporting even OEM skins and old Android versions (recently they released a fix for Android 9 or something like that). I understand, that nobody likes to work for free, therefore i supported the project - luckily, i have the possibility to do it. But now it is gone, because of some idiots, who decided to bully the devs. Very sad. You can do something good or support it, but at all case there will be someone around, who will come and destroy it. But of course, a donation doesn't bind anyone to anything.

    I hope, that the devs will maybe reconsider their decision at some time.

    View attachment 6070432
    There are three good new forks:
    Mod by mywalkb https://github.com/mywalkb/LSPosed_mod
    Mod by pumPCin https://github.com/pumPCin/LSPosed
    Mod by CMDQ8575 https://github.com/CMDQ8575/LSPosed
  • 88
    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:
    33
    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.
    19
    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. :)