LSPosed_mod icon indicating copy to clipboard operation
LSPosed_mod copied to clipboard

LSPosed manager does not launch/ LSPosed is not detected

Open driedpampas opened this issue 1 year ago • 27 comments

Steps to reproduce

  1. Flash KSU
  2. Flash Zygisk Next 1.0.5
  3. Flash LSPosed Mod

Expected behaviour

Everything to work.

Actual behaviour

The notification appears and when tapped shows a warning that is passed by clicking OK. The manager howver does not actually open. Subsequent taps only dismiss the notification shade but do not open the manager. I have installed the manager.apk app from the zip but it reports that LSPosed is not installed 337320306-e928c1a7-60c2-434b-9686-d99e973b138e

Xposed Module List

N/A

Magisk Module List

Ashlooper Bootloop Protection 
Play Integrity Fix 
Emojify Pro 
Zygisk Next 1.0.5
Zygisk - LSPosed
Youtube Revanced

LSPosed version

7295

Android version

14

Magisk version

KSU 11838

Riru version

N/A

Version requirement

  • [X] I am using latest debug CI version of LSPosed and enable verbose log

Logs

As specified above, the manager does not recognize LSPosed and the notification manager does not open so no logs could be attached at the time of writing.

driedpampas avatar Jun 06 '24 15:06 driedpampas

I also granted com.android.shell root access but to no avail.

driedpampas avatar Jun 06 '24 15:06 driedpampas

Notification shows for me. Tapping raises a segv in zygote64

type: crash
osVersion: google/oriole/oriole:14/AP1A.240505.004/2024051500:user/release-keys
uid: 2000 (u:r:shell:s0)
cmdline: zygote64
processUptime: 0s

signal: 11 (SIGSEGV), code 2 (SEGV_ACCERR), faultAddr d1e73168e000
threadName: m.android.shell

backtrace:
    /apex/com.android.runtime/lib64/bionic/libc.so (__memcpy_aarch64_simd+44, pc 5c4ac)
    /memfd:jit-zygisk-cache (deleted) (pc 1c57c)

smashstereolover7241 avatar Jun 06 '24 19:06 smashstereolover7241

I tried to open the manager through ksu and got this result: (check at the top of the logs) Screenshot_20240607-151956.png

And with the notification I only get this: Screenshot_20240607-152833.png

driedpampas avatar Jun 07 '24 12:06 driedpampas

Update: Tried with Kitsune Mask and it only worked with built-in Zygisk.

The takeaway is that ZygiskNext does not currently work on Android 14 QPR2 (and above most likely)

driedpampas avatar Jun 09 '24 10:06 driedpampas

I am experiencing this issue with Magisk latest commit on GrapheneOS built with this patch https://github.com/pixincreate/Magisk/commit/5b94840731b462897e0d00b4ce87b791497d230. From my understanding KitsuneMagisk is abandoned, so using it to solve this issue isn't exactly the best solution.

Covkie avatar Jun 09 '24 21:06 Covkie

It doesn't work with either Magisk for me. Not with kitsune, not with normal Magisk. Both seem to suffer from the same issue.

smashstereolover7241 avatar Jun 10 '24 22:06 smashstereolover7241

I am experiencing this issue with Magisk latest commit on GrapheneOS built with this patch pixincreate/Magisk@5b94840. From my understanding KitsuneMagisk is abandoned, so using it to solve this issue isn't exactly the best solution.

I remember that there were issues with GrapheneOS and magisk but I do not use it so I don't deserve to comment on it.

driedpampas avatar Jun 11 '24 07:06 driedpampas

It doesn't work with either Magisk for me. Not with kitsune, not with normal Magisk. Both seem to suffer from the same issue.

Did you use the built-in Zygisk or the Next module? also what Android version

driedpampas avatar Jun 11 '24 07:06 driedpampas

I have tried more today. https://github.com/HuskyDG/magisk-files/issues/129#issuecomment-2081404931 Using this apk and native Zygisk, no luck. Using latest and patched magisk with both native and next, no luck. Android is GrapheneOS, 14

smashstereolover7241 avatar Jun 11 '24 16:06 smashstereolover7241

So I am messing around, and it seems to be a spotty issue affecting only some users. https://xdaforums.com/t/rom-14-official-stable-everestos-raven-19-04-2024.4667858/post-89490092 Here seems to be a user with the issue. This one I checked. A fresh install of DerpFest does not give me the crash. (20240527-1411; Device: Raphael) CRDroid (On raphael) also did not crash.

smashstereolover7241 avatar Jun 11 '24 20:06 smashstereolover7241

I have tried more today. https://github.com/HuskyDG/magisk-files/issues/129#issuecomment-2081404931 Using this apk and native Zygisk, no luck. Using latest and patched magisk with both native and next, no luck. Android is GrapheneOS, 14

GrapheneOS have applied a patch that broke zygisk or sth else iirc, so that's out of scope for this repo.

driedpampas avatar Jun 11 '24 22:06 driedpampas

So I am messing around, and it seems to be a spotty issue affecting only some users. https://xdaforums.com/t/rom-14-official-stable-everestos-raven-19-04-2024.4667858/post-89490092 Here seems to be a user with the issue. This one I checked. A fresh install of DerpFest does not give me the crash. (20240527-1411; Device: Raphael) CRDroid (On raphael) also did not crash.

Are any of those 2 ROMS A14 QPR2 or greater?

driedpampas avatar Jun 11 '24 22:06 driedpampas

GrapheneOS have applied a patch that broke zygisk or sth else iirc, so that's out of scope for this repo.

Zygisk on GrapheneOS works with this patch. https://github.com/pixincreate/Magisk so thats a non-issue.

Edit: The only thing to my knowledge which doesnt work on GOS is PIF due to the play services sandboxxing. (thats out of scope of this repo)

Covkie avatar Jun 12 '24 15:06 Covkie

Did you tried to use another zygisk implementation, for example, Zygisk_mod? Now my device is Xiaomi 13 Pro, using ksu 11874 + zymod 226 + LSPmod 7295, all works fine

RinLin-NYA avatar Jun 17 '24 06:06 RinLin-NYA

Did you tried to use another zygisk implementation, for example, Zygisk_mod? Now my device is Xiaomi 13 Pro, using ksu 11874 + zymod 226 + LSPmod 7295, all works fine

many thank, that latest ci build work for me on A10

oldman20 avatar Jun 18 '24 05:06 oldman20

I have Android 15 Beta 3 (stock rom) on a Pixel 7a, and Zygisk Next 1.0.5 worked for me. Now I switched to ReZygisk, which is a fork of Zygisk Next which is still open source, and upstream (original) Zygisk Next switched to a proprietary license since 0.9.2. This fork of LSPosed is working for me. Here is a screenshot: Screenshot_20240702-121233

Eggmanplant avatar Jul 02 '24 10:07 Eggmanplant

I have Android 15 Beta 3 (stock rom) on a Pixel 7a, and Zygisk Next 1.0.5 worked for me. Now I switched to ReZygisk, which is a fork of Zygisk Next which is still open source, and upstream (original) Zygisk Next switched to a proprietary license since 0.9.2. This fork of LSPosed is working for me. Here is a screenshot: Screenshot_20240702-121233

Which repo? https://github.com/PerformanC/ReZygisk or https://github.com/Flouzr/ReZygisk

oldman20 avatar Jul 03 '24 02:07 oldman20

I have Android 15 Beta 3 (stock rom) on a Pixel 7a, and Zygisk Next 1.0.5 worked for me. Now I switched to ReZygisk, which is a fork of Zygisk Next which is still open source, and upstream (original) Zygisk Next switched to a proprietary license since 0.9.2. This fork of LSPosed is working for me. Here is a screenshot: Screenshot_20240702-121233

Which repo? https://github.com/PerformanC/ReZygisk or https://github.com/Flouzr/ReZygisk

The PerformanC one.

Eggmanplant avatar Jul 05 '24 07:07 Eggmanplant

@Covkie @smashstereolover7241 sorry for the offtopic ping but have you guys found a version of LSposed that actually works with GrapheneOS/Kitsune Magisk?

silverwings15 avatar Jul 13 '24 19:07 silverwings15

@Covkie @smashstereolover7241 sorry for the offtopic ping but have you guys found a version of LSposed that actually works with GrapheneOS/Kitsune Magisk?

I'm also experiencing this original issue - the manager app says LSposed is not installed, even when this module is. On GrapheneOS + Kitsune Magisk

e-t-l avatar Aug 29 '24 23:08 e-t-l

I had originally planned to look into this further, but due to being severely affected by me/cfs I had to put it on halt. I do not see myself able to properly look into this in the near future.

smashstereolover7241 avatar Sep 01 '24 16:09 smashstereolover7241

I experienced the same issue as OP. Suddenly LSposed stopped to work, and tried different solution around and even reinstalled Root from 0, Magisk >> LSposed Zygisk 1.9.2, and saw project was closed and should update to mod, which bringed me to this thread. I installed more than 2 times from zero root than zygisk 1.9.3 mod, and ended up with no manager working, telling LSposed not installed as for OP. Found out, it happen with manager.apk extracted from the zip and installed! With the shortcut created by LSposed and installed on homescreen, everything is fine. I always used to install the apk, so is there a way to create this Lsposed shortcut is case it is deleted? Thx

DrSaad77 avatar Sep 05 '24 18:09 DrSaad77

With the shortcut created by LSposed and installed on homescreen, everything is fine.

Not sure if there's something wrong with my setup, but I've noticed that none of my magisk modules that are supposed to install a management app actually do so, and I need to manually extract and install the apk from the module. No idea why. So that may be the issue with my setup here, because I don't get any homescreen shortcut created by LSposed.

@DrSaad77 could you do a little troubleshooting with me? Can you share a screenshot of the your Settings > App Info page for the LSposed app? Also, what OS and what homescreen launcher do you use?

e-t-l avatar Sep 13 '24 21:09 e-t-l

My phone is rooted with KernelSU. Maybe try with KernelSU? It also has SUList.

Eggmanplant avatar Sep 14 '24 09:09 Eggmanplant

With the shortcut created by LSposed and installed on homescreen, everything is fine.

Not sure if there's something wrong with my setup, but I've noticed that none of my magisk modules that are supposed to install a management app actually do so, and I need to manually extract and install the apk from the module. No idea why. So that may be the issue with my setup here, because I don't get any homescreen shortcut created by LSposed.

@DrSaad77 could you do a little troubleshooting with me? Can you share a screenshot of the your Settings > App Info page for the LSposed app? Also, what OS and what homescreen launcher do you use?

If you using kernelsu, try open lsposed direct on modules list of ksud (kernelsu manager)

oldman20 avatar Sep 17 '24 02:09 oldman20

At least on Graphene, the "not detected" issue is solved by disabling Secure App Spawning in android security settings

e-t-l avatar Sep 19 '24 07:09 e-t-l

At least on Graphene, the "not detected" issue is solved by disabling Secure App Spawning in android security settings

Which is Android version?

oldman20 avatar Sep 20 '24 07:09 oldman20