topjohnwu
74ead75ce8
Update cargo dependencies
2026-02-22 14:39:46 -08:00
Wang Han
ee25db0627
Add jni hooks signature for nubia
2026-02-22 13:20:08 -08:00
topjohnwu
9ee6a6b3d7
Update to ONDK r29.5
2026-02-06 16:32:25 -08:00
Wang Han
e872fafd8b
Update getModuleDir() API doc
2026-02-05 13:12:34 -08:00
topjohnwu
dd3798905f
Update libsepol to upstream Android 16 QPR2
2026-02-05 12:51:21 -08:00
Ephemera42
0d39b10889
Optimize preinit finding and add klogdump partition
...
* Use major number check to filter out device-mapper devices while preserving virtio-blk compatibility.
* Introduce `klogdump` partition support for Smartisan devices as a valid preinit target.
2026-02-04 21:10:25 -08:00
vvb2060
628b4d4715
Allow reacquiring capabilities if not explicitly cleared
...
- Old behavior: Switching to a non-zero UID was implicitly interpreted as a request to drop capabilities, thereby preventing subsequent reacquisition via `su`.
- New behavior: Switching to a non-zero UID now requires the `--drop-cap` argument to explicitly prevent the reacquisition of capabilities.
2026-02-04 11:35:24 -08:00
LoveSy
be5246aef5
Reorder positional arguments in Backup and Remove
2026-02-04 11:35:12 -08:00
LoveSy
b55f597ccf
Skip loading magisk in charger mode
2026-02-03 15:55:53 -08:00
Wang Han
e729eec636
Remove unnecessary file system permissions
...
Removed permissions for mounting loop devices, mirrors, and tmpfs.
2026-02-02 11:15:33 -08:00
LoveSy
5f13a8f8f7
support sony's init.real
2026-01-31 13:54:34 -08:00
canyie
ac8d4200e1
Add nativeSpecializeAppProcess signature for XR devices running 14
...
Build fingerprint: google/gms_sdk_xr64_x86_64/emulator64_x86_64:14/UP1A.231005.007.A1/13953962:userdebug/test-keys
2026-01-31 13:51:41 -08:00
Wang Han
e590ffbdcb
Fix formatting and update comments in bootimg.cpp
2026-01-31 13:50:36 -08:00
Wang Han
97138f1e91
magiskboot: Fix tail offset calculation
2026-01-31 13:50:36 -08:00
LoveSy
bea50fafba
Fix magiskboot cpio ls -r
2026-01-31 13:50:13 -08:00
Pzqqt
0919db6b11
magiskboot: Avoid implicit type conversion
...
Fix #9607
2026-01-19 23:33:00 +08:00
topjohnwu
01cb75eaef
Code cleanup
2025-12-13 22:12:30 -08:00
topjohnwu
33eaa7c5eb
Update cargo dependencies
2025-12-12 11:42:45 -08:00
topjohnwu
8734423cb0
Update to ONDK r29.4
2025-12-12 11:42:45 -08:00
topjohnwu
ff4ca74cfe
Ban all unwrap usage in codebase
2025-12-08 23:31:04 -08:00
topjohnwu
200665c48a
Make jni_hooks.hpp a normal C++ header
...
[skip ci]
2025-12-07 02:44:19 -08:00
topjohnwu
dd42aa99ea
Refactor gen_jni_hooks.py
...
[skip ci]
2025-12-07 02:25:50 -08:00
Wang Han
0936cdb192
Update nativeForkAndSpecialize signature for A16 QPR2
...
67a4b1b2fe
2025-12-07 00:18:50 -08:00
topjohnwu
a510554b21
Disable Zygisk upon incomplete JNI hook
...
Do not enable Zygisk unless ALL replacements are hooked properly.
This allow Zygisk tests to fail when new signature is introduced.
2025-12-07 00:18:50 -08:00
南宫雪珊
b5138a4af0
Update unpack boot image help message
2025-12-05 11:14:45 -08:00
topjohnwu
64752f38e8
Do not unwrap when getting decoder and encoder
...
Or else things will crash mysteriously when unexpected input occurs
2025-12-05 03:40:18 -08:00
topjohnwu
9ac4b5ce7d
Add proper lzma format detection
2025-12-05 03:40:18 -08:00
南宫雪珊
9a776c22d9
Revert "Use rootfs for magisktmp if possible"
2025-12-01 11:45:34 -08:00
topjohnwu
d9dc459bf4
Update system_properties
...
Fix #9408
2025-12-01 00:25:39 -08:00
topjohnwu
5d6b703622
Move occupy and unoccupy out of base crate
2025-11-29 00:13:41 -08:00
topjohnwu
f7ce9c38e1
Run through clippy and rustfmt
2025-11-29 00:13:41 -08:00
LoveSy
bdbfb40383
Use rootfs for magisktmp if possible
2025-11-29 00:13:41 -08:00
topjohnwu
283fc0f46f
Update cargo dependencies
2025-11-28 21:00:48 -08:00
topjohnwu
97c93a1f4d
Smaller release binary size
2025-11-27 02:00:54 -08:00
topjohnwu
8d534e6de8
Update cxx-rs
2025-11-25 02:29:45 -08:00
topjohnwu
3a60ef2039
Update to ONDK r29.3
2025-11-21 13:28:46 -08:00
Wang Han
52d7eff03f
Fix splice direction for ptmx out stream
2025-11-19 15:14:59 -08:00
topjohnwu
020e23ea13
Disable help triggers on subcommands
2025-11-03 16:16:49 -08:00
topjohnwu
1599bfc2c5
Update dependencies
2025-11-02 13:52:32 -08:00
Wang Han
c8d51b38ba
Enhance fdt_header validation for empty dtb
2025-11-02 02:42:48 -08:00
Wang Han
f741a4aeb8
Free regex resources in plt_hook_commit
...
Free regex resources for registered and ignored hooks before clearing the lists.
2025-11-02 01:59:03 -08:00
topjohnwu
4ee2235961
Update dependencies
2025-10-20 10:30:09 -07:00
topjohnwu
536e50c6e0
Support optional trailing positional arguments
2025-10-19 17:15:30 -07:00
topjohnwu
57d9fc6099
Support short only options and switches
2025-10-19 17:15:30 -07:00
topjohnwu
52d8910bdd
Cleanup code for EarlyExit during help triggers
2025-10-19 17:15:30 -07:00
topjohnwu
c94bd49a89
Update default help triggers
2025-10-19 17:15:30 -07:00
topjohnwu
b72ba6759e
Vendor argh sources
...
Further customization will come in future commits
2025-10-19 17:15:30 -07:00
topjohnwu
5bcb55b7fc
Format Rust imports with rustfmt
2025-10-19 17:15:30 -07:00
topjohnwu
0dc8231585
Make all dependencies workspace = true
2025-10-19 17:15:30 -07:00
topjohnwu
bcc6296d94
Build debug without debug-info
2025-10-03 00:16:17 -07:00