Commit Graph

  • a721b2ad84
    Use splice to pump tty to avoid userspace copying splice LoveSy 2025-04-17 00:34:58 +08:00
  • 14f9ed91a1 Remove unused methods master topjohnwu 2025-04-15 11:35:31 -07:00
  • 7a207d4ccf Only accept UTF-8 directory entries topjohnwu 2025-04-15 00:19:28 -07:00
  • 92a42d901f Move most implementation into Directory topjohnwu 2025-04-14 18:00:19 -07:00
  • 084d89fcce Create Utf8CStrBuffer type topjohnwu 2025-04-14 18:20:31 -07:00
  • 55b036c071 Introduce BorrowedDirectory topjohnwu 2025-04-14 15:17:16 -07:00
  • 30e79310ab Make pointers NonNull after error check topjohnwu 2025-04-14 13:31:52 -07:00
  • f063fa5054 Cleanup xwrap implementation topjohnwu 2025-04-14 18:13:26 -07:00
  • 7bd901273c Provide richer error messages topjohnwu 2025-04-14 18:05:14 -07:00
  • c1e061603b Specify ADB_SERIAL for emulator topjohnwu 2025-04-13 21:43:11 -07:00
  • cb08504fe5 Update cargo dependencies topjohnwu 2025-04-11 13:14:53 -07:00
  • c0a1fb77be Code cleanup topjohnwu 2025-04-11 14:48:01 -07:00
  • 4864c1112a no pty for -c by default, and add -i to force pty LoveSy 2025-04-10 21:26:06 +08:00
  • 9ddeab034b Fix wrong tty pump LoveSy 2025-04-09 22:21:17 +08:00
  • c4847ed288 Move pts to rust, and avoid using thread LoveSy 2025-04-09 20:46:32 +08:00
  • b8f1523fb2 Minor code reorg topjohnwu 2025-04-08 17:20:22 -07:00
  • fb7fa8a6b3 Update to ONDK r29.1 topjohnwu 2025-04-08 10:00:05 -07:00
  • 9c7d359093 Optimize and format imports topjohnwu 2025-04-08 09:56:57 -07:00
  • eb54bc1fd7 Cleanup unused code topjohnwu 2025-04-07 23:06:46 -07:00
  • d4a0286e13 Migrate magiskinit selinux.cpp to Rust topjohnwu 2025-04-06 02:04:59 -07:00
  • 83e66767ff refactor: use empty navOptions Steven Xu 2025-03-16 21:53:43 +11:00
  • 7dc010749b feat: remove animation settings button transition Steven Xu 2025-03-16 18:48:25 +11:00
  • 8e8d013b1b feat: remove log overscroll Steven Xu 2025-03-16 17:32:54 +11:00
  • bba0373808 feat: remove navigation transition when clicking buttons on the bottom bar Steven Xu 2025-03-16 16:15:22 +11:00
  • 1fa318dc8c Use Rust elf-cleaner implementation topjohnwu 2025-04-01 03:14:10 -07:00
  • 6edc5e2037 Update install.md cheesetosti 2025-03-20 15:11:54 +01:00
  • 1523ed9f78 Always go through rustup proxies topjohnwu 2025-04-01 02:59:54 -07:00
  • 8e604d2ab8 Update cuttlefish CI topjohnwu 2025-03-27 17:46:35 -07:00
  • 2aba7247a9 Skip stub APK install on emulator topjohnwu 2025-03-26 12:40:57 -07:00
  • e66fe8533e API 36 does not support wait_for_bootanim topjohnwu 2025-03-25 03:13:29 -07:00
  • b03fbb3917 avd_test: upgrade to android16 beta3 vvb2060 2025-03-25 13:14:46 +08:00
  • c2ece62e4c native: delete global 16k option vvb2060 2025-03-25 13:01:49 +08:00
  • 8c972dcf34 app: target sdk 36 vvb2060 2025-03-23 12:25:52 +08:00
  • 50af14f2a3 Move all MagiskInit entrypoints into init.rs topjohnwu 2025-03-24 16:44:32 -07:00
  • e0a356b319 Introduce mount helper methods topjohnwu 2025-03-24 15:17:21 -07:00
  • c09a792958 Reorganize magiskinit code topjohnwu 2025-03-24 01:35:16 -07:00
  • 0bbfe7f44d Fix 2SI on legacy SAR devices topjohnwu 2025-03-24 15:10:26 -07:00
  • a396abf565 Minor changes topjohnwu 2025-03-22 01:16:51 -07:00
  • 1e3edb8883 Release new canary build canary-28103 topjohnwu 2025-03-21 10:37:49 -07:00
  • 0905adcd64 Refactor module mount load in rust module.rs LoveSy 2025-03-11 00:33:47 +08:00
  • 3b8b61bf35 Remove ZipUtils.kt topjohnwu 2025-03-20 14:54:25 -07:00
  • 6f90456036 Properly buffer I/O topjohnwu 2025-03-20 13:16:39 -07:00
  • f56fd4e215 Always close outputStream in processFile topjohnwu 2025-03-19 17:57:31 -07:00
  • aa35aac5d5 Update dependencies topjohnwu 2025-03-19 15:55:06 -07:00
  • ae78b2e8b0 Migrate to rust 2024 argh LoveSy 2025-03-08 00:21:22 +08:00
  • 3c068a017e Refine cpio and dtb subcommands LoveSy 2025-02-09 18:11:07 +08:00
  • f4204c3509 handle subcommand help LoveSy 2025-02-06 19:57:11 +08:00
  • 8ae7641e8a Move magiskboot cli to argh LoveSy 2025-02-06 14:16:34 +08:00
  • 1f162b819d Update ONDK r29.0 topjohnwu 2025-03-19 01:19:02 -07:00
  • 52ef1d1cb2
    Simplify matching selinux context of child zygote (#8845) Wang Han 2025-03-11 16:27:15 +08:00
  • f14e3a89cc
    Enable optimize_for_size for Rust std (#8844) John Wu 2025-03-10 15:50:43 -07:00
  • 95d3eac2e0 Cleanup xwrap functions topjohnwu 2025-03-09 01:10:41 -08:00
  • 8e73536e02 Remove unused hasGMS variable Wang Han 2025-03-08 15:38:35 +08:00
  • 12a0870bc9 Replace bzip2 with bz2-rs LoveSy 2025-03-08 12:56:06 +08:00
  • 6ff82c4e86 Introduce FsPathFollow topjohnwu 2025-03-07 02:36:08 -08:00
  • c64de35375 Move magiskpolicy cli to argh LoveSy 2025-03-07 14:29:30 -08:00
  • ee5283f4e8 Update release script topjohnwu 2025-03-07 14:14:06 -08:00
  • bd0e954fea Replace zlib with zlib-rs LoveSy 2025-03-08 00:48:06 +08:00
  • 675471a49e Upgrade argh to stable release topjohnwu 2025-03-07 02:38:36 -08:00
  • c90e73ccec Migration to Edition 2024 topjohnwu 2025-03-06 23:04:02 -08:00
  • a43c1267d8 Update Cargo.toml topjohnwu 2025-03-06 21:53:03 -08:00
  • e8958c6b5c get_secontext: ignore ENODATA vvb2060 2025-03-03 00:24:10 +08:00
  • e8a3bf82c6 set exit code of log ExitOnError to -1 LoveSy 2025-03-04 08:21:55 +08:00
  • 27fd79176a Update ONDK to r28.3 topjohnwu 2025-03-06 16:58:58 -08:00
  • 28d86a3454 Update rustup_wrapper topjohnwu 2025-03-06 16:12:12 -08:00
  • c6c1a17ae6 Address several clippy warnings topjohnwu 2025-03-03 02:15:06 -08:00
  • 2b47d47215 Also run clippy with release mode topjohnwu 2025-03-02 23:14:46 -08:00
  • 0e82df9e10 Support zImage compression types other than gzip. David K. 2025-01-30 20:15:38 -05:00
  • 893821ad88 Skip all tests on master push topjohnwu 2025-03-02 02:04:40 -08:00
  • 6b80fbfa99 Fix cache save condition topjohnwu 2025-03-02 02:01:48 -08:00
  • 8c3c7d0194 Build on master push topjohnwu 2025-03-02 01:17:18 -08:00
  • b94a3d9f2f Do not store cache on pull request topjohnwu 2025-03-02 01:16:42 -08:00
  • 442d0b5ddc Delete bootctl binary if execution fails Wang Han 2025-03-01 15:43:14 +08:00
  • 494615d9a0 Support ./build.py emulator with an APK argument topjohnwu 2025-02-28 16:14:07 -08:00
  • afbfb81837 docs: add avd_magisk.sh to faq vvb2060 2025-03-01 00:17:09 +08:00
  • 3ed4e258a3 avd_magisk: add general usage vvb2060 2025-02-27 15:23:57 +08:00
  • dddd41c95b avd_magisk: support rootfs without sbin vvb2060 2025-02-27 15:14:52 +08:00
  • 5f2ca81e86 Update AGP topjohnwu 2025-02-28 13:19:16 -08:00
  • c9eac0c438 Introduce new sepolicy strategy for legacy devices topjohnwu 2025-02-27 01:54:32 -08:00
  • b6b34f7612 Fix overlay.d context preservation topjohnwu 2025-02-18 15:39:59 -08:00
  • e55c413261 Correctly handle truncated dtb LoveSy 2025-02-23 23:14:28 +08:00
  • 0399cde50a Cleanup logcat.log for each invocation topjohnwu 2025-02-18 01:04:19 -08:00
  • 019eb03823 Hide or remove mut constructors for Utf8CStr topjohnwu 2025-02-17 11:38:11 -08:00
  • 363410e1c0 Introduce cstr_buf helper functions topjohnwu 2025-02-17 11:32:21 -08:00
  • fc2ef21660 Introduce path! macro for FsPath topjohnwu 2025-02-17 01:46:19 -08:00
  • 18cb659ff3 Run clippy through build.py topjohnwu 2025-02-17 01:31:59 -08:00
  • 63231d97ce Properly handle db downgrades topjohnwu 2025-02-16 17:01:36 -08:00
  • 9ac81a8a25 Skip module tests on API < 26 topjohnwu 2025-02-16 15:57:44 -08:00
  • 79af2787ae Workaround potential OOM when signing APKs topjohnwu 2025-02-13 22:04:14 -08:00
  • f5f9b285c0 Add module tests topjohnwu 2025-02-13 19:10:42 +08:00
  • 6c05f2ae85 Test processing Shamiko module zip topjohnwu 2025-02-12 22:24:33 +08:00
  • 29043e1684 Consolidate setup methods topjohnwu 2025-02-12 17:52:38 +08:00
  • b73d4a7022 Fix log_ok() topjohnwu 2025-02-16 11:46:42 -08:00
  • ad95e8951b Skip download in lsposed setup test topjohnwu 2025-02-12 17:02:49 +08:00
  • bf591fca12 Fix Utf8CString constructor and add more comments topjohnwu 2025-02-16 01:17:48 -08:00
  • dcf027884d Update FsPathBuf topjohnwu 2025-02-15 14:07:51 -08:00
  • 584f3820fe Make all Utf8CStrWrite Utf8CStrBuf topjohnwu 2025-02-15 10:56:59 -08:00
  • 3c7c46307a Partially cleanup MagiskInit code topjohnwu 2025-02-14 23:52:56 -08:00
  • 4d80361805 core: search for first available dir in PATH vvb2060 2025-02-02 20:26:01 +08:00
  • 9a74e19117 Add log_ok() for log().ok() LoveSy 2025-02-04 21:15:16 +08:00