yashsingh1/xdaforums huggingface dataset:
[Xposed General] wbs_perso:
After a full factory reset / data wipe + fresh install & root, I can't seem to figure out why LSPosed doesn't show up as installed, I get neither the parasitic manager shortcut prompt, nor do I get to see that LSPosed is installed when I use the .apk manager (from "data/adb/lspd/manager.apk").

I've tried uninstalling/reinstalling it multiple times with version 1.8.2, 1.8.1, 1.7.2 with a reboot or two each time.

I'm really confused as to what could be causing the issue, so any help would be greatly appreciated!

Here's my config:

Android 10
Oxygen OS 10.0.1
Magisk 24.3 (Working)
Zigysk - ENABLED
Enforce Denylist - DISABLED
LSPosed 1.8.2 (Not working)

Here's part of my Magisk Log file if it helps:

Spoiler content hidden.

EDIT: After reading more about issues on the LSPosed GitHub I've seen people getting told that the Magisk Log is useless, apologies as I wasn't aware of that and thought maybe there could have been some incompatibility between my installed Magisk modules somehow.​

EDIT 2: After discussing my issue on the LSPosed GitHub, I was told to install Magisk Canary, which I did and to my surprise after rebooting I was finally prompted to add the parasitic shortcut! BUT, it turns out it was probably related to some kind of corrupted install of Magisk in the first place as I was told from someone who reviewed my logs, so:​

TLDR: A possible fix may be to Reinstall Magisk to fix potential corrupted files!​

I hope it helps anyone else that might have had a similar issue!
[Xposed General] DeadlyToast:
Ayyy thanks man, it works now!

The shortcut and the number do nothing even after LSPosed started working.

EDIT: Hmm, but now the LSPosed manager won't show any app (keeps loading) when I'm enabling apps per module.
[Xposed General] purgy:
What if you install the APK in /data/adb/LSPD?
[Xposed General] VD171:
No problems for that.

But if you install the APK, LSPosed can be detected easily again.

Using the parasitic manager is the best choice.
[Xposed General] purgy:
Perhaps I'm misunderstanding, but I thought op's issue was that after installing lsposed they couldn't access the manager, even with the dialler code. Maybe with the APK installed, they can try to get parasitic to work then uninstall
[Xposed General] DeadlyToast:
No, the shortcut and the dial code don't work, even after manually installing the manager app. Which I'm fine with since I'm running gapless and I (currently) don't use an app that doesn't like exposed.

My current problem is that the LSPosed manager won't show the app list when I want to whitelist (enable?) a module for an app.
[Xposed General] purgy:
Make sure that nothing is being filtered out in lsposed manager. Go into any module settings (where you select apps) and click the 3 dot menu, and make sure nothing is checked in the "hide" submenu.
[Xposed General] minimal35:
I need to simultaneously hide root rights from the app and use a module in LSPosed to spoof phone data. But unfortunately I can only do one of these things. Either I substitute data with a LSposed module and root rights will be visible to the app or root rights will be hidden but I cannot use the LSposed module for spoofing :(
[Xposed General] VD171:
Try Shamiko:

Releases · LSPosed/LSPosed.github.io

Contribute to LSPosed/LSPosed.github.io development by creating an account on GitHub.

github.com
[Xposed General] minimal35:
Thanks for the reply! Unfortunately, it doesn't work. I have a choice: hide the root via denylist, then the module to change the data won't work, or remove the application from denylist and then the root will be visible to the application. Is there any way around this? To hide the root for an application without using denylist, I tried rootcloak but it didn't work :(
[Xposed General] VD171:
Shamiko is the best (and the only) way.

Shamiko depends totally of all your other settings.
[Xposed General] knojap:
Is it working with Android 8.0 or not?

I can't install it. It requires 8.1.

But in the topic is 8.0???

THX
[Xposed General] VD171:
This thread is NOT officially supported by LSPosed Developers.

This thread was created by a fan user.
[Xposed General] DeadlyToast:
Hmm, there were some checked boxes, but even after unchecking them the apps didn't show up. The loading circle keeps spinning even after a few minutes but nothing shows up.
[Xposed General] purgy:
I'd try uninstalling lsposed from magisk and starting fresh if I were you. Maybe also delete the /data/adb/LSPD folder manually as well before trying to flash it again
[Xposed General] mordantly:
AOSP rom A11

Magisk 24.3 zygisk mode

Zygisk lsposed 1.8.3 module is active

The 1.8.3 manager only says framework not installed. Install points to magisk zip that flashed fine and activated. Endless loop.
[Xposed General] LucasBS1:
Then the title needs a change.

I also came looking for this, and it takes a download, a recovery boot, a pint of frustration, and some google to realize it doesn't work
[Xposed General] DeadlyToast:
So I removed LSPosed from Magisk and rebooted a few times. Installed newest LSPosed Zygisk, rebooted like 3 times, after each reboot tried using the shortcut and dialing the code, none worked. Installed the app manually, says LSPosed is not installed.

Removed it from Magisk, uninstalled the app and rebooted like 3 times. Got the debug version from Telegram so I can post the logs there, installed it and rebooted 3 times, the shortcut and the code still didn't work, installed the app and it finally says it's installed, enabled some plugins and now it works.

I have no idea what changed but I'm not touching anything for the time being.

Thanks for the help.
[Xposed General] purgy:
Glad you managed to get it working
[Xposed General] VD171:
Certainly, yes.

But you should use the official places for your conclusions and not this thread in XDA.

See:

GitHub - LSPosed/LSPosed: LSPosed Framework

LSPosed Framework. Contribute to LSPosed/LSPosed development by creating an account on GitHub.

github.com
[Xposed General] amk316:
can i move lsposed shortcut to the back screen

i don't want it on home screen
[Xposed General] VD171:
You can move it to any screen you want.

But, if you remove it, you can open it using dailer only.
[Xposed General] amk316:
i cant move the shortcut to the back screen

dailer did not work on my Samsung s20
[Xposed General] VD171:
So, we have a problem here.

Try to open an issue for developers, please:

Issues · LSPosed/LSPosed

LSPosed Framework. Contribute to LSPosed/LSPosed development by creating an account on GitHub.

github.com
[Xposed General] trevtdogg:
by 'back screen' i think they mean so it appears in the app drawer, with all the other apps, instead of just a shortcut on one of the home screens.

it can't appear (to my knowledge anyway) in the app drawer, it only exists as a shortcut. but that shortcut can be moved to anywhere or any screen your phone allows shortuts to be placed.
[Xposed General] amk316:
i have the same problem

did you find a solution
[Xposed General] VD171:
LSPosed Manager will never appear in app drawer again.
[Xposed General] Blue cat:
This thread is visited by developers Shamiko? Or maybe their contacts are known?

The new version 0.5.0(112) causes a crash when launching an application that is protected by dexprotector when such an application is added to DenyList.
[Xposed General] VD171:
Shamiko developers won't to know about that.

I'm sorry.
[Xposed General] XtraWater:
Does someone know a module to improve Gboard? anything?
[Xposed General] trevtdogg:
improve in what way?

gravity box has a setting that will add left and right cursor keys at the side edges of the navigation bar whenever the keyboard is used.
[Xposed General] josephcsible:
You can absolutely put LSPosed Manager in the app drawer if you want to. From the official readme:
[Xposed General] VD171:
Nobody should install LSPosed apk.

Everybody should use LSPosed PARASITIC Manager only.

If you install LSPosed apk, LSPosed can be detect too easily.

Parasitic Manager can avoid all types of detections.
[Xposed General] josephcsible:
There's a reason the LSPosed developers still provide the apk. Not everyone cares about detection, and some people prefer having it in the app drawer.
[Xposed General] VD171:
Yes.

For newbies who can't understand the real purpose of the Parasitic Manager.

Doing that just to have the app on drawer is same to throw all the work of developers in the trash.

Does NOT matter if you did that, but you should NEVER suggest same to someone.
[Xposed General] mrjuniork:
You gotta relax a little. A choice like that is always a choice of the user that chooses to install that. Easy as that.

It can sometimes come in handy to install the APK, for several reasons, and if afterwards the choice is to go back to parasitic manager or not, is the user's choice.

FYI, I'm not a newbie and neither have I misunderstood the concept of the parasitic manager.

Have a good one 🙂
[Xposed General] herecomesmaggi:
Any plans to update or move to zygisk ? Riru is deprecated..
[Xposed General] josephcsible:
LSPosed already supports Zygisk instead of Riru, and has since 1.7.0, released back in February. Just go to https://github.com/LSPosed/LSPosed/releases and download a Zygisk zip instead of a Riru zip.
[Xposed General] herecomesmaggi:
Thank so much bro.. i have been out of game from 3-4 months. Thanks for linking me.
[Xposed General] VD171:
Zygisk is already the main zygote interface for LSPosed.

You can watch news about LSPosed on telegram group.

See "Community Discussion":

GitHub - LSPosed/LSPosed: LSPosed Framework

LSPosed Framework. Contribute to LSPosed/LSPosed development by creating an account on GitHub.

github.com
[Xposed General] Uluru25:
Setup needed to run XPrivacyLua with LSposed in Android11

I am running XPL still with riru and EdXposed and Magisk 23. I am going to switch to LSposed but am a little lost what "modules" and versions are needed. Anybody here who can shortly summarize what is needed or recommended? Thx!
[Xposed General] VD171:
Step 1. Read instructions.

Step 2. Be happy.
[Xposed General] miltonsaha9200:
any list of useful LSPosed modules ?

or any way to block Facebook in video ads?
[Xposed General] rodken:
Pick and choose as 55% -65% of the modules listed are compatible with LSPosed.
[Xposed General] VD171:
100% of all them are compatible with LSPosed.
[Xposed General] A.Priori:
following this looking for replacement xposed that works with Android 12
[Xposed General] VD171:
LSPosed is actually supporting Android 13 DP1, DP2 and beta 1.

(Please, ignore the topic of this thread because this thread is NOT officially supported by LSPosed developers.)

As you can see here:

Release 1.8.3 · LSPosed/LSPosed

Changelog Fix module not working normally on Android 10 Refine notification on module installation (thanks @fankes) Fix hook may not work on debuggable apps/modules Fix XSharedPreference after a s...

github.com

Release 1.8.0 · LSPosed/LSPosed

Changelog Add a new feature to only allow module classloaders to access Xposed API Fix language switch Support Android 13 DP1 and DP2 Fix icon creation and resource hooks on ZUI devices Improve ca...

github.com
[Xposed General] VD171:
As I already said before, LSPoes does NOT support Android 8.0.

(Please, ignore the topic of this thread because this thread is NOT officially supported by LSPosed developers.)

As you can see here:

Drop support for API 26 (Android 8) (please at least use 8.1 because Android 8 is buggy)

Release v1.1.0 · LSPosed/LSPosed

Changelog Drop support for API 26 (Android 8) (please at least use 8.1 because Android 8 is buggy) Fix YAHFA may fail on some system modules (like GravityBox and XPrivacyLua) Replace dexmaker in J...

github.com
[Xposed General] j_cesarbm:
Hi, through EDXposed I had an app called Fake GPS Location. How to port it to LSPosed?
[Xposed General] beeshyams:
As FYI

LSPosed developer on his Tg says

We recently received many complaints from users that they cannot launch the LSPosed manager the second timne. This is because the third-party ROM they use has merged this PR. This is totally wrong and breaks the behavior of standard SDK: the fd changes its offset after calling an open interface. We don't fix this on our side. Please ask your ROM maintainer to revert this commit or fix this commit (open + setoffset instead of dupping the fd). Or switch to another ROM.
[Xposed General] xerves78:
is it possible to activate that new installed apps will be restrict in the 'scope' of LSposed automatically ?
[Xposed General] VD171:
It would be really great to have a "default template" for new installed apps.

Any type of any thing of "all modules select" is a waste of time.
[Xposed General] ch3mn3y:
Hijust restored My old Moto Z3 Play with stock 9.0.

Wanted to use GravityBox, so I installed Zygisk version of Lsposed. Both Zygisk and module are enabled I Magiel, but Lsposed Manager still says that Lsposed is not enabled.

Any idea?
[Xposed General] xerves78:
yes this would be great

to active all new apps in all modules manually is very unsecure :(
[Xposed General] VD171:
Any type of any thing of "all modules select" is a waste of time.
[Xposed General] xerves78:
i get a update info in the lsposed manager but no new version available :unsure:
[Xposed General] xerves78:
"activate new apps in all modules automatically" would be enough :)
[Xposed General] rodken:
You can try to update from the Github source.
[Xposed General] winner71:
Please maybe someone here can help me. After long cat n mouse game with some marketplace applications, I decided to uninstall both magisk and lsposed (unrooting). When I rooted again with only magisk+shamiko+unsf, those apps still worked smoothly. But after I installed lsposed with no xposed module yet, they start to stop working. Now I know this is obviously about lsposed that cause some apps keeps stopping. I've used the parasitic Manager and remove the lsposed icon from homescreen, but doesn't help. How can I solve this problem?
[Xposed General] heinhuiz:
@Fif_ do you think this Automate flow can be transferred to Tasker? I can't use it because it's more than 30 blocks and I can't buy the full version of Automate without a Google account.

(I don't think it will be easy 😉)
[Xposed General] Fif_:
The core of the action is undertaken by the /sdcard/usr/bin/lsposed-scopes-add script.

Automate just maintains the list of modules that need to add new apps to their scope and calls:

bash /sdcard/usr/bin/lsposed-scopes-add <new-app> <xposed-module1> <xposed-module2>...

whenever a new app is installed.

Reimplementing the logic to parse the list of active modules and the UI in Tasker would be a pain, and may not be possible. I was a Tasker user but have moved to Automate a long time ago because it's way more powerful, but also more complex.

However you should be able to configure Tasker to run the command line above as root for every new package install, as long as you configure the Xposed module list manually. It is just a list of Xposed modules packages names from the list you can get by running:

bash /sdcard/usr/bin/xposed-modules-status
[Xposed General] heinhuiz:
Thank you @Fif_. I've never used Tasker and currently it is a little bit over my head. I don't think investing time for only this project will be too much for me.

If anyone else knows their way around Tasker and can implement a setup like this, it would be very much appreciated! Many people are asking for auto adding new apps to LSPosed modules, but those requests have always been refused,
[Xposed General] heinhuiz:
@anuraag.neo posted a what he calls "minimal task" to enable new packages in XPL automatically.

@Fif_ said he has some questions about it, but the discussion would be off-topic there. Maybe we can continue that discussion here?
[Xposed General] Fif_:
My main question was about restarting lspd to pick up the changes made to the lsposed database. On my devices, killing and restarting lspd with:

kill all lspd
ASH_STANDALONE=1 su -pc /data/adb/magisk/busybox sh /data/adb/modules/*_lsposed/service.sh --system-server-max-retry=-1

doesn't work: lspd is killed but not restarted, there are no messages in logcat but LSPosed reports the framework as not installed.

Of course, after rebooting, everything is back to normal.

This is with Magisk 24.3 and Zygisk LSPosed 1.8.3 (current stable).
[Xposed General] anuraag.neo:
Use exact command as mentioned in their GitHub.

ASH_STANDALONE=1 su -pc /data/adb/magisk/busybox sh /data/adb/modules/*_lsposed/service.sh --system-server-max-retry=-1&
[Xposed General] Fif_:
That doesn't make any difference, lspd doesn't respawn on my devices.
[Xposed General] anuraag.neo:
I have tried above code on Automate and it's working.
[Xposed General] Fif_:
Please refine what you mean by working?

Is lspd running? Run as root:

ps -efl | grep lspd

Is the LSPosed app reporting everything fine after you've restarted lspd?

If so, would you mind sharing your device, as well as ROM, Magisk and LSPosed versions?
[Xposed General] anuraag.neo:
Device: Redmi Note 9 Pro Max

Rom: MIUI 12.5.6 Android 11

Magisk: 24.3

Lsposed: 1.8.3
[Xposed General] Antho02:
Sorry i wasn't clear enough

LSPosed manager is well installed and works good, but I'd want to apply a module directly to the manager.

And the manager doesnt appear on that list.
[Xposed General] darashikoh:
@Antho02 Are you asking why the Lsposed Manager app is not appearing in the module scope list?
[Xposed General] Antho02:
yes, swapped my pic to avoid confusing.

I'd want to apply a module to the Manager itself
[Xposed General] darashikoh:
Yup looks like it is not possible. Can I ask your use case and module you're trying to apply?
[Xposed General] Antho02:
Wanted to apply this one : https://xdaforums.com/t/app-xposed-maxlock-an-applock-alternative.2883624/

i try to keep identification on sensitive apps
[Xposed General] InContext:
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?
[Xposed General] shadowstep:
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. :)
[Xposed General] iPAQ 6515a User:
Thx for this, fantastic work.

A question that someone may be able to answer. Is there a particular reason why Gnotes stops working with LSPosed (and also with Xposed 5.x)?

The moment I install LSPosed, Gnotes gets uninstalled and cannot be reinstalled, no matter what.

Any possible help?

TIA
[Xposed General] mario0318:
Did you actually get MaxLock working for any app and running with default detection using the Xposed framework and not the accessibility service?

It's been an ongoing issue in my end with the recent EdXposed releases and now with LSposed where MaxLock just cannot detect the framework. I've hooked it from everything and nothing in scope and it just doesn't work.

The only time it ever worked on EdXposed was when the manager app had the option to "de-optimize boot image". Idk what that toggle did exactly but it at least made MaxLock detect the framework and function as intended. But that's no more and even less so with the introduction of scopes and LSposed having few such technical user settings.
[Xposed General] Lord Sithek:
On two of my devices MaxLock is working OK with LSPosed. I have resource hooks enabled, although I don't know if it changes anything in this case...
[Xposed General] Antho02:
it works well on my phone with default options.

Mi A2 Lite with stock Android(10) One Rom

MaxLock 7.0.6

Magisk 21.4

Riru 23.5

LSPosed 0.5.4.1

Resource hook not enabled

It worked well with edXposed too, the only difference was that i was able to "protect" edXposed Manager but not LSPosed Manager. MaxLock's scope see it but not LSPosed's scope.
[Xposed General] mario0318:
Which version of maxlock are you guys running. Have you tried it on LineageOS by any chance? If not, would you happen to know if the OS that's on your phones is deodexed or not? I'm beginning to think this issue is related to ROM being odexed or de-odexed. I could be very wrong though.
[Xposed General] Antho02:
Last one, 7.0.6 actully, but worked always while i kept updating, also swapped to riru 23.5. updated my previous message
[Xposed General] dougluna:
Has anyone managed to run the MaxLock module in LSPosed?
[Xposed General] Lord Sithek:
Yes. I asked the dev on Telegram on which packages are to whitelist. But he doesn't maintain it anymore and he just guessed we should whitelist those apps which we want to lock. I enabled system framework as well and MaxLock is detecting Xposed
[Xposed General] king-totti85:
Does Flat style bar indicators work with LSPOSED ON ANDROID 10+ ?
[Xposed General] el_easy:
Can someone confirm if Geenify and XInternalSD work with LSPosed? Thanks
[Xposed General] holofractal:
I fail to see how this is any better for my usecase. I use xprivacylua, which means I have to hook all apps for it to function properly, unless I am wrong.
[Xposed General] ianmacd:
Luckily, you're wrong.

Only System Framework and Settings Storage need to be hooked. Better yet, the hooking is automatic with XPrivacyLua.
[Xposed General] EotT:
I think you are wrong. Every app needs to be selected, not only the 2 you mentioned.

M66B mentioned that you need to select new apps to restrict them, because there is no api for it yet. So if what you said was true, than this wasn't needed.
[Xposed General] anuraag.neo:
@Fif_ did you run exact command mentioned at Lsposed's repo?