Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with lsposed #157

Open
locbox opened this issue Feb 16, 2021 · 8 comments
Open

Compatibility with lsposed #157

locbox opened this issue Feb 16, 2021 · 8 comments

Comments

@locbox
Copy link

locbox commented Feb 16, 2021

There's a new xposed fork on magisk called Lsposed. This tweak doesn't show up when using Lsposed, can it be updated to be compatible please ?

@mario0318
Copy link

It shows up for me. I can enable it and select the apps to hook into, however the MaxLock app itself just refuses to see the root Xposed framework.
But such is the case with the latest EdXposed as well so I'm just really hoping for an update or at least the source to be opened so I can check and maybe find what's causing it to not detect the framework.

@1024mb
Copy link

1024mb commented Mar 17, 2021

It shows up for me. I can enable it and select the apps to hook into, however the MaxLock app itself just refuses to see the root Xposed framework.
But such is the case with the latest EdXposed as well so I'm just really hoping for an update or at least the source to be opened so I can check and maybe find what's causing it to not detect the framework.

That hasn't happened to me, I was using latest EdXposed alpha with MaxLock just fine, I've now installed LSPosed but MaxLock isn't working all the time, sometimes does sometimes it doesn't.

@mario0318
Copy link

So on latest EdExposed both manager and framework MaxLock works fine for you but LSPosed only sometimes?

Do you know if your ROM is odexed or deodexed? And would you mind checking a couple of things for me? If you have a terminal app like Termux or Terminal Emulator, run the following command:

getprop | grep dalvik

This will show the system's prop values containing the term dalvik loaded when your device boots up, in particular the ones with 'dalvik.vm'

You can take a screen shot of the results or simply copy and paste the text. Much appreciated if you can help me with this information! =)

@mario0318
Copy link

It shows up for me. I can enable it and select the apps to hook into, however the MaxLock app itself just refuses to see the root Xposed framework.
But such is the case with the latest EdXposed as well so I'm just really hoping for an update or at least the source to be opened so I can check and maybe find what's causing it to not detect the framework.

That hasn't happened to me, I was using latest EdXposed alpha with MaxLock just fine, I've now installed LSPosed but MaxLock isn't working all the time, sometimes does sometimes it doesn't.

Were you able to do that thing in terminal?

@1024mb
Copy link

1024mb commented Mar 25, 2021

I was mistaken, MaxLock is working well with LSPosed is just that apparently some parts of it aren't, I had to enable de notification to restart the blocking because for some reason MaxLock stopped locking the app once I unlocked it, touching the notification to re-lock works.

@RaXorX
Copy link

RaXorX commented Apr 3, 2021

@1024mb Can you post screenshots or options that you enabled to get it working with LSPosed? What Rom and android version are you on?
I was wondering whether there was a way to use it as a native lock screen instead.

@1024mb
Copy link

1024mb commented Apr 7, 2021

@RaXorX Within the LSposed app you have to enable the module to work with the system framework and also pick the apps you want MaxLock to work with. In MaxLock itself I didn't do nothing else than what I always have done with EdXposed installed which is typical config. The setting to re-enable MaxLock is "Show notification to restart" or something along those lines (app is in Spanish), in the Intika I.mod part of the config.

@mario0318
Copy link

@RaXorX Within the LSposed app you have to enable the module to work with the system framework and also pick the apps you want MaxLock to work with. In MaxLock itself I didn't do nothing else than what I always have done with EdXposed installed which is typical config. The setting to re-enable MaxLock is "Show notification to restart" or something along those lines (app is in Spanish), in the Intika I.mod part of the config.

See, now my issue appears to be beyond what this thread is for, but @1024mb could you possibly do me a real solid favor which would be of immense help. I think with my ROM in particular (which for my device there is only stock and the LOS15.1 I'm using) there is something having to do with the way the system compiles the framework jars and or dex classes where MaxLock appears to be unable to detect the xposed framework, this happens with EdXposed too and yet it didn't use to before EdX devs removed the option to "deoptimize" the boot image. Ever since MaxLock has refused to see xposed. So I'm thinking since the ML dev has seemingly abandoned the app, if i can get the read out of what your working system setup properties for dex and dalvik.vm are then that could give me a clue to maybe it being a simple matter of switching a system prop.

All I'd need is a copy of what your terminal displays when you run "getprop | grep vm"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants