Comments (5)
Yes, you can use LsPlant in zygisk module
You just have to init LsPlant in your native and use java hook api such as Maple or anything else to be able hook from java
I've tried it, and it works
from lsplant.
LSPosed is also one example.
from lsplant.
Won't that mean that I somehow have to load the dex with the java side of hooks into the process from zygisk.so?
Yes, you need to load dex into your targeted process,
That's where I'm confused, Maple and some of the similar projects creates it's own zygisk.so file so I won't be able to load the hooks defined in java in the process. Or am I? Maybe I'm just setting up my projects in the wrong way.
You just need to take the java library and register the native function to your own zygisk.so, then you can call lsplant api from it
As, @yujincheng08 said, LSPosed can be reference for this implementation
from lsplant.
Ah, thanks to both.
Idk why I had the idea that LSPosed doesn't use LSPatch and they are different implementations for the same thing. Anyway looking a little more carefully at the lsposed repo I got a good example on how to use it in my own project.
Thanks, I appreciate it.
from lsplant.
Yes, you can use LsPlant in zygisk module
You just have to init LsPlant in your native and use java hook api such as Maple or anything else to be able hook from java
I've tried it, and it works
Won't that mean that I somehow have to load the dex with the java side of hooks into the process from zygisk.so?
That's where I'm confused, Maple and some of the similar projects creates it's own zygisk.so file so I won't be able to load the hooks defined in java in the process. Or am I? Maybe I'm just setting up my projects in the wrong way.
from lsplant.
Related Issues (20)
- 能不能别把cmake搞得那么新哦 HOT 2
- error: expected parameter declarator HOT 4
- SetEntryPoint代码请教 HOT 1
- ArtMethod变更导致Hook无效问题 HOT 1
- Lsposed
- Android8.0 hook方法会多出一个参数导致应用崩溃 HOT 4
- LSPosed EoL
- Please, publish lsparself as it needed to recursive clone this repo
- Support for Android 15 HOT 1
- 根据文档无法执行初始化 HOT 1
- Jsvh
- Failed to find GetMethodShorty HOT 1
- sh: <stdin>[4]: /data/user/0/moe.shizuku.redirectstorage/files/starter: Permission denied Unable to open root shell. Please make sure your device is rooted and check your root manager app.
- sh: <stdin>[4]: /data/user/0/moe.shizuku.redirectstorage/files/starter: Permission denied Unable to open root shell. Please make sure your device is rooted and check your root manager app.
- 引入lsplant库编译报错了 HOT 1
- Failed to find GetMethodShorty HOT 7
- 如何hook一个无返回值带参数的函数,并修改函数参数呢? HOT 6
- GarbageCollectCache method is removed in Android 15 HOT 1
- Pre-boot hooks invalidate after boots for a few seconds on Android 15
- Crash on `IsMethodBeingCompiled` on some Android 14 devices
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsplant.