mywalkb / LSPosed_mod

My changes to LSPosed
GNU General Public License v3.0
3.63k stars 167 forks source link

LSPosed manager does not launch/ LSPosed is not detected #111

Open driedpampas opened 5 months ago

driedpampas commented 5 months ago

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

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 commented 5 months ago

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

smashstereolover7241 commented 5 months ago

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)
driedpampas commented 5 months ago

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 commented 5 months ago

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)

Covkie commented 5 months ago

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.

smashstereolover7241 commented 5 months ago

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

driedpampas commented 5 months ago

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 commented 5 months ago

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

smashstereolover7241 commented 5 months ago

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 commented 5 months ago

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.

driedpampas commented 5 months ago

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 commented 5 months ago

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?

Covkie commented 5 months ago

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)

RinLin-NYA commented 5 months ago

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

oldman20 commented 5 months ago

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

Eggmanplant commented 4 months ago

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

oldman20 commented 4 months ago

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

Eggmanplant commented 4 months ago

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.

silverwings15 commented 4 months ago

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

e-t-l commented 2 months ago

@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

smashstereolover7241 commented 2 months ago

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.

DrSaad77 commented 2 months ago

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

e-t-l commented 2 months ago

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?

Eggmanplant commented 2 months ago

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

oldman20 commented 2 months ago

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)

e-t-l commented 2 months ago

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

oldman20 commented 2 months ago

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

Which is Android version?