7dbb973db5
daemon: some samsung devices using incorrect mediatek-res path
2024-11-04 11:09:53 -08:00
f723ef153b
zygisk_node: skip magisk32 if 64bit zygote only
2024-08-22 11:58:29 -07:00
000f1d6041
Revert "Don't support alternative binary paths"
...
This reverts commit 1eeb2a34a1
.
2024-08-19 11:52:55 -07:00
1db80228e8
Move worker mount to magiskinit
2024-08-15 02:39:51 -07:00
838e1e254d
Move devpts mount to magiskinit
2024-08-15 02:39:51 -07:00
2bdc047c4d
Call sqlite3_free only on sqlite3 malloc-ed objects
2024-08-14 13:23:59 -07:00
2d341863f5
set MAGISKTMP
2024-08-12 02:05:58 -07:00
c578cccfd5
Update to ONDK r27.4
2024-08-11 04:16:19 -07:00
461f7e9f89
Use metadata even if it is f2fs
2024-07-24 19:02:35 -07:00
d54baadbed
Use ro.crypto.metadata.enabled
2024-07-23 02:02:56 -07:00
0869a90fe3
Use symlink to setup preinit
2024-07-23 02:02:56 -07:00
2754b1dcf8
Add comment about the choice
2024-07-23 02:02:56 -07:00
0db6314661
Refactor preinit finding
2024-07-23 02:02:56 -07:00
b5d2ef18e8
Move more data and function into HookContext
2024-07-22 20:36:55 -07:00
33cb39c8af
Minor code changes for hook.cpp
2024-07-21 00:52:43 -07:00
f247759a6e
No need _orig to call backup
2024-07-20 21:36:26 -07:00
de7e5bdfe7
Update comments
2024-07-20 21:36:26 -07:00
53a8ba8cfe
Use hookJniNativeMethods
to hook zygote pre/post fork
2024-07-20 21:36:26 -07:00
f2d057baba
Refine hookJniNativeMethods
2024-07-20 21:36:26 -07:00
4c38af994d
Sync native and Java implementation
2024-07-19 23:22:08 -07:00
4931825912
Fix zygisk v5
2024-07-17 10:52:16 -07:00
2963d4ca9e
Rewrite get_manager
2024-07-12 13:45:48 -07:00
6aab856de7
Enhanced denylist app id tracking
2024-07-12 13:45:48 -07:00
a07b9315a5
Add riscv64 support
2024-07-02 14:34:22 -07:00
bd7f9c9e46
Unset FLAG_ACTIVITY_NO_HISTORY for SuRequestActivity
...
This fixes device credential confirm activity on OnePlus devices
because SuRequestActivity is accidentally finished before a valid
response is delivered to it.
2024-07-01 14:50:09 -07:00
d6e159bff9
Use pidfd in more senarios
2024-06-22 19:16:58 -07:00
941a363c5a
Support waiting on non-exist prop
2024-05-18 13:55:33 +08:00
6c27ba6b88
Rename db entry name
2024-05-15 12:42:55 +08:00
02e189a029
core: add safe mode config to db
2024-05-15 12:42:55 +08:00
0d9ec0931b
Code cleanup
2024-04-08 23:00:59 -07:00
60e8415369
Make denylist work when zygisk is disabled
...
Co-authored-by: topjohnwu <topjohnwu@gmail.com >
2024-04-08 23:00:50 -07:00
fb5ee86615
Install one single ABI in ramdisk
2024-03-31 22:01:22 -07:00
30bf5c8448
Fix typos
2024-03-31 14:17:25 -07:00
2cb0af1ff3
Move revert_unmount into Rust
2024-03-30 02:51:39 -07:00
a1b6568226
Implement preinit related features in Rust
2024-03-28 14:11:03 -07:00
1eddbfd72c
Use const_format for const strings
2024-03-26 18:03:40 -07:00
ecc74d45d1
Let magic mount optional
2024-03-19 23:21:41 -07:00
5de597f079
No need to unshare
2024-03-19 23:21:41 -07:00
156b0e67ca
No need extra tmpfs for worker
2024-03-19 23:21:41 -07:00
10069215f4
Rename dir name
2024-03-19 23:21:41 -07:00
92b305a389
Remove unnecessary mirror for magic mount
...
Mirror was previously used for accessing the original file during
magic mount when we are using a tmpfs to cover the target. However,
since we introduce atomic mount, we switch all tmpfs mount in
worker and then move to the target at once. It means that we can
still access the original file when we are constructing the tmpfs
mount point. Thus we no longer need mirror.
2024-03-19 23:21:41 -07:00
73c3d741a7
Reorganize some code
2024-03-06 18:07:01 -08:00
825c6c4316
Reverse format template argument order
2024-03-06 01:39:16 -08:00
356ee1febd
Code clean up
2024-01-30 11:07:37 -08:00
cc044ccc4c
Fix zygisk unload
2024-01-30 11:07:37 -08:00
308c9999fa
Properly detect package changes
2024-01-28 00:42:43 -08:00
930bb8687f
Minor zygisk refactoring
2024-01-25 00:17:47 -08:00
f2c4288d2d
Run pthread_atfork only once
...
Close #7704
2024-01-25 00:17:05 -08:00
79334b7702
One stage zygisk loading
2024-01-11 16:19:39 -08:00
97705704e2
install or uninstall apk asynchronously
2024-01-11 16:16:36 -08:00