topjohnwu
742913ebcb
Support installing Magisk on vendor_boot
...
Close #9238 , fix #8835
2025-09-28 01:10:11 -07:00
topjohnwu
ed206c6480
Upgrade cargo dependencies
2025-09-26 23:37:45 -07:00
topjohnwu
f9a8052583
Improve build.py
...
Close #8988
2025-09-26 17:00:58 -07:00
topjohnwu
f4fdd516f9
Upgrade gradle dependencies
2025-09-24 03:18:35 -07:00
topjohnwu
5925a71f94
Upgrade cargo dependencies
2025-09-24 03:05:18 -07:00
topjohnwu
3cda9beb93
Cleanup unused bindings
2025-09-24 02:38:18 -07:00
topjohnwu
8b7d1ffcdd
Migrate magisk_main to Rust
2025-09-18 03:22:44 -07:00
topjohnwu
8d02d0632e
Fix comments
2025-09-18 03:22:44 -07:00
topjohnwu
dd743f6f7e
Improve Encodable/Decodable impls
2025-09-18 01:17:28 -07:00
topjohnwu
cf483ad4d2
Migrate connect_daemon to Rust
2025-09-15 14:25:18 -07:00
topjohnwu
4aed644e08
Directly accept RequestCode for connect_daemon
2025-09-15 14:25:18 -07:00
topjohnwu
0acc39cec0
Use bitflags to implement BootState
2025-09-15 14:25:18 -07:00
topjohnwu
8b3a44344f
Move bootstages into its own module
2025-09-15 14:25:18 -07:00
topjohnwu
8b49eda85a
Migrate daemon_entry to Rust
2025-09-15 14:25:18 -07:00
topjohnwu
7057d4c7f1
Migrate setup_magisk_env to Rust
2025-09-15 14:25:18 -07:00
Radoš Milićev
aab8344058
Update Serbian
2025-09-14 18:42:22 -07:00
topjohnwu
7cccf83b37
Remove unused poll_ctrl implementation
2025-09-14 01:59:04 -07:00
topjohnwu
f10ad93c4e
Move more code of daemon_entry into Rust
2025-09-13 01:21:33 -07:00
topjohnwu
f143b5df15
Do not mount directories as mirror
...
Mounting real directories into worker will cause init to start tracking
the mount point through dev.mnt. This causes issues, so we are forced
to recursively reconstruct the mirror directory structure from scratch.
Fix #9316
2025-09-12 22:01:08 -07:00
topjohnwu
71213cc6f4
Fix path tracking in module.rs
2025-09-12 22:01:08 -07:00
topjohnwu
e2a1774e5b
Make logging.rs use nix
2025-09-11 01:17:34 -07:00
topjohnwu
0222527a1e
Use bitflags macro
2025-09-11 01:17:34 -07:00
topjohnwu
312bfe1bab
Do not leak base::ffi to external crates
2025-09-11 01:17:34 -07:00
topjohnwu
48c62a1dae
Disable exit on error for cmdline_logging
2025-09-11 01:17:34 -07:00
rikka
cfc2bcb665
Fix zygisk native bridge library name concatenation order
2025-09-11 01:16:54 -07:00
topjohnwu
94b1ff674f
Allow calling remove_all on non-existence file
2025-09-10 03:44:39 -07:00
topjohnwu
111136733a
Migrate away from unsafe set_len of Utf8CStr
2025-09-09 22:19:05 -07:00
topjohnwu
c8caaa98f5
Enable mount for nix
2025-09-09 20:17:09 -07:00
topjohnwu
8d28f10a3f
Enable zerocopy for nix
2025-09-09 12:04:46 -07:00
topjohnwu
177a456d8b
Enable term for nix
2025-09-09 12:04:31 -07:00
topjohnwu
ef4e230258
Use nix for libc functions
2025-09-08 23:59:29 -07:00
topjohnwu
17082af438
Simplify OsError
2025-09-08 11:25:20 -07:00
topjohnwu
1df5b34175
Stop differentiate Error vs ErrorCxx
2025-09-08 11:25:18 -07:00
topjohnwu
ea5fe7525d
Simplify LibcReturn
2025-09-08 10:55:57 -07:00
topjohnwu
a75c335261
Update cargo dependencies
2025-09-08 02:24:01 -07:00
topjohnwu
3903f42cf6
Support specify ABI for clippy
2025-09-08 02:23:49 -07:00
topjohnwu
fb0c4ea838
Fallback to userspace copy if splice failed
...
Fix #9032
2025-09-03 16:10:18 -07:00
topjohnwu
bc89c60977
Run cargo fmt
2025-09-02 22:06:08 -07:00
topjohnwu
bd657c354c
Reduce FFI across C++/Rust
2025-09-02 22:06:08 -07:00
MONA
675b5f9565
feat(i18n): Add Hinglish translation
2025-09-02 01:27:58 -07:00
MONA
1b2c43268e
feat(i18n): Add Hinglish translation
2025-09-02 01:27:58 -07:00
topjohnwu
653730d75e
Make cxx binding generate less code
2025-08-29 01:44:06 -07:00
topjohnwu
d472e9c36e
Update cargo dependencies
2025-08-28 22:01:35 -07:00
topjohnwu
484d53ef7e
Update to ONDK r29.2
2025-08-28 16:15:59 -07:00
topjohnwu
c4e2985677
Migrate resetprop to Rust
2025-08-27 22:48:48 -07:00
topjohnwu
42d9f87bc9
Cleanup resetprop code
2025-08-27 22:48:48 -07:00
topjohnwu
2e4fa6864c
Make Utf8CStr a first class citizen in C++ codebase
...
Utf8CStr is in many cases a better string view class than
std::string_view, because it provides "view" access to a string buffer
that is guaranteed to be null terminated. It also has the additional
benefit of being UTF-8 verified and can seemlessly cross FFI boundaries.
We would want to start use more Utf8CStr in our existing C++ codebase.
2025-08-27 22:48:48 -07:00
topjohnwu
e2abb648ac
Update system_properties
2025-08-27 10:12:51 -07:00
topjohnwu
3599dcedfb
Make argh directly parse into Utf8CString
2025-08-27 01:26:41 -07:00
topjohnwu
ea72666df8
Only specify ADB port for tests
2025-08-25 15:34:04 -07:00