Commit Graph

29 Commits

Author SHA1 Message Date
ThePedroo c2abef8826 fix: zygiskd companion, companion responses, write fd function and early client close
This commit fixes numerous issues in zygiskd code: The zygiskd companion code not loading the right entry, the companion not sending the correct responses, the write fd function not working properly and early client close when connecting to the companion.
2024-11-10 23:08:30 -03:00
ThePedroo 3d2125d6c0 improve: ReZygisk status saving
This commit improves how ReZygisk saves its status.
2024-11-10 23:01:54 -03:00
ThePedroo 6187f34837 fix: code spacing
This commit fixes a minor spacing issue in the code.
2024-11-10 23:01:52 -03:00
ThePedroo 75a004f9d5 add: additional information to ptrace command
This commit adds more information to the ptrace command to allow better integration with external features.
2024-08-10 13:43:14 -03:00
Pedro.js af96b85a91 add: maps hiding (#13)
This commit adds maps hiding. This commit is taken from Reveny's PR, for more information, see #9.

solves #9
2024-06-26 19:38:34 -03:00
Matt 2047bdb1bf add: APatch support (#4)
This commit adds support for APatch.
2024-06-22 23:13:29 -03:00
Pedro.js 678d886343 improve: CLI and code (#3)
This commit improves the CLI of ReZygisk, allowing the use of important information like PID of the daemons. Also improves the code of the loaders ptracer.
2024-06-20 22:53:13 -03:00
Nullptr 2d384685e7 No hardcode ksu tmp path 2024-01-05 14:30:07 +08:00
5ec1cff 9a95377d7b fix injector cannot get tmp path 2024-01-05 10:37:48 +08:00
Nullptr 043cfd93d6 No hardcode temp dir 2024-01-04 03:44:57 +08:00
5ec1cff cbd0f0f0c3 refine mount prop 2024-01-02 23:39:26 +08:00
5ec1cff b45d55e83d change some logs level to V 2023-12-12 10:50:11 +08:00
5ec1cff 9c34c671fa restart zygiskd when zygote restart 2023-12-08 11:41:40 +08:00
5ec1cff 9e48f18247 Randomize tmp path 2023-11-27 10:23:03 +08:00
5ec1cff ba8c313122 Merge branch 'art2' into new-pt
# Conflicts:
#	loader/src/Android.mk
#	loader/src/external/Android.mk
#	loader/src/injector/hook.cpp
#	module/src/customize.sh
#	zygiskd/Cargo.toml
#	zygiskd/src/utils.rs
#	zygiskd/src/watchdog.rs
2023-11-08 15:33:15 +08:00
5ec1cff add1c65626 make compiler happy 2023-11-04 16:39:21 +08:00
5ec1cff f5e0a418c9 WIP 2023-11-03 11:41:28 +08:00
Nullptr 5f2dd50703 Replace native bridge with fuse + ptrace 2023-10-20 14:04:44 +08:00
Nullptr f6195ddb43 Don't spawn new process for companion 2023-05-21 20:14:36 +08:00
5ec1cff 00f0a6e3fa several changes (#21)
* umount for ksu 10763

Signed-off-by: 5ec1cff <ewtqyqyewtqyqy@gmail.com>

* Add crashdump sepolicy

Signed-off-by: 5ec1cff <ewtqyqyewtqyqy@gmail.com>

* Add more information about debug

Signed-off-by: 5ec1cff <ewtqyqyewtqyqy@gmail.com>

* daemonize zygiskd companion

Signed-off-by: 5ec1cff <ewtqyqyewtqyqy@gmail.com>

* create zygiskd if crash

Signed-off-by: 5ec1cff <ewtqyqyewtqyqy@gmail.com>

* injector: use ANDROID_DLEXT_USE_LIBRARY_FD to load module

Signed-off-by: 5ec1cff <ewtqyqyewtqyqy@gmail.com>

* zygiskd: use file as module fd instead of memfd on debug build

Signed-off-by: 5ec1cff <ewtqyqyewtqyqy@gmail.com>

* use OwnedFd

Signed-off-by: 5ec1cff <ewtqyqyewtqyqy@gmail.com>

* dlopen: no need to create ns

Signed-off-by: 5ec1cff <ewtqyqyewtqyqy@gmail.com>

---------

Signed-off-by: 5ec1cff <ewtqyqyewtqyqy@gmail.com>
2023-05-19 18:28:56 +08:00
Nullptr 87cf885070 No hex patch 2023-03-20 17:36:59 +08:00
Nullptr 57d3d8a0ba Refine unmount 2023-02-18 19:14:15 +08:00
Nullptr 291599ffc8 Separate companion 2023-02-08 20:17:56 +08:00
Nullptr 814476ea7a Log to zygiskd 2023-02-08 14:49:32 +08:00
Nullptr 335a1c3437 Preload modules 2023-01-31 18:40:49 +08:00
Nullptr d7877ea959 Fix fd ownership 2023-01-31 15:04:01 +08:00
5ec1cff b8678720fb Zygisk injector (#1)
* fix x86

* add lsplt

* transplant from zygisk

* api v4

Signed-off-by: 5ec1cff <ewtqyqyewtqyqy@gmail.com>

* Remove redundant logs

Signed-off-by: 5ec1cff <ewtqyqyewtqyqy@gmail.com>

---------

Signed-off-by: 5ec1cff <ewtqyqyewtqyqy@gmail.com>
2023-01-31 15:03:01 +08:00
Nullptr 851c7120ec Add flashable module 2023-01-30 16:38:53 +08:00
Nullptr 70024cc082 Add injector 2023-01-29 22:41:57 +08:00