100 Commits
Author SHA1 Message Date
南宫雪珊 70d233cae2 sepolicy: support domain updates in Android 17- #10226⁠ 2026-11-10 21:58:16 +08:00
vvb2060 33bfff7ce7 app: disable apk signing v1 2026-10-27 09:23:18 -07:00
vvb2060 492d3db723 app: update zh-rCN translation 2026-10-26 14:13:07 -07:00
vvb2060 a5f25e20b8 core: full check apk sig block 2026-10-26 14:12:42 -07:00
vvb2060 c155d9f0d1 su: add legacy cmd compatibility check 2026-10-05 20:03:11 -07:00
vvb2060 160fb3e40b su: pass all unknown options 2026-10-05 20:03:11 -07:00
vvb2060 9316445516 su: fix -g/-G 2026-10-04 23:12:01 -07:00
vvb2060 4e44848a6e app: update zh-rCN translation 2026-09-01 14:56:44 -07:00
vvb2060 3a9374b9c2 faster gradle sync 2026-07-28 20:10:20 -07:00
vvb2060 ff85242a93 clean code 2026-07-28 20:10:20 -07:00
vvb2060 e0a7f41c1c fix DataSourceChannel 2026-07-28 20:10:20 -07:00
vvb2060 dcb15e20bc do not use HEAD 2026-07-28 20:10:20 -07:00
vvb2060 fbcafdf2e2 remove unused code 2026-07-28 20:10:20 -07:00
vvb2060 71d29f36c6 clean strings 2026-07-28 20:10:20 -07:00
vvb2060 7082518c53 fix AI code 2026-07-28 20:10:20 -07:00
南宫雪珊 63b20ceca8 Update Samsung download mode documentation 2026-04-14 03:25:38 -07:00
vvb2060 bdcd938d74 app: delete unused files 2026-04-14 10:24:16 +00:00
vvb2060 27688120b4 app: update zh-rCN translation 2026-04-14 10:24:16 +00:00
vvb2060 483901f3cd app: use userspace copy 2026-04-14 10:24:16 +00:00
vvb2060 4ee1590cc8 app: add local file supports for HttpFileChannel 2026-04-14 10:24:16 +00:00
vvb2060 b9d21071fc app: support download image and patch 2/2 2026-04-14 10:24:16 +00:00
vvb2060 e70e8088ad app: support download image and patch 1/2 2026-04-14 10:24:16 +00:00
vvb2060 069bbc4837 app: auto measure width 2026-04-14 10:24:16 +00: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
南宫雪珊 b5138a4af0 Update unpack boot image help message 2025-12-05 11:14:45 -08:00
南宫雪珊 9a776c22d9 Revert "Use rootfs for magisktmp if possible" 2025-12-01 11:45:34 -08:00
南宫雪珊 23ea28de6f scripts: fix modules_update dir context 2025-07-10 10:59:39 -07:00
vvb2060 2a42ca2b8f app: fix time i18n 2025-07-07 11:04:18 -07:00
vvb2060 e5d36d1d24 app: support config restrict policy 2025-07-03 02:42:08 -07:00
vvb2060 ff18cb8e70 su: support drop capabilities 2025-07-03 02:42:08 -07:00
vvb2060 76962f965e app: use github api to check updates 2025-05-19 10:23:15 -07:00
vvb2060 cf12087e21 app: disable multiArch 2025-05-08 21:02:26 -07:00
vvb2060 d499819ba0 app: ignore androidx meta prop file 2025-05-02 16:40:37 -07:00
vvb2060 86da917174 core: fix mkdirs 2025-05-02 16:39:46 -07:00
vvb2060 b03fbb3917 avd_test: upgrade to android16 beta3 2025-03-26 13:15:12 -07:00
vvb2060 c2ece62e4c native: delete global 16k option
NDK 28 enable 16 KiB page size compatibility option by default, delete the global option to restore 4k alignment for 32-bit arch.
2025-03-26 13:15:12 -07:00
vvb2060 8c972dcf34 app: target sdk 36 2025-03-26 13:15:12 -07:00
vvb2060 e8958c6b5c get_secontext: ignore ENODATA 2025-03-06 20:03:36 -08:00
vvb2060 afbfb81837 docs: add avd_magisk.sh to faq 2025-02-28 17:17:24 -08:00
vvb2060 3ed4e258a3 avd_magisk: add general usage 2025-02-28 17:17:24 -08:00
vvb2060 dddd41c95b avd_magisk: support rootfs without sbin 2025-02-28 17:17:24 -08:00
vvb2060 4d80361805 core: search for first available dir in PATH 2025-02-15 15:08:26 -08:00
vvb2060 110dd4a8b9 Update dependencies 2025-01-19 11:55:44 +08:00
vvb2060 c512496847 install_module: simplify script 2024-12-12 10:08:09 -08:00
vvb2060 506961a10d flash module: ignore META-INF 2024-12-12 10:07:47 -08:00
vvb2060 b09ceeb43c scripts: sync avd_magisk.sh with mgiskinit 2024-12-06 02:21:17 -08:00
vvb2060 4fb539c110 core: use a new tmpfs as worker 2024-12-06 02:19:43 -08:00
vvb2060 849b284da5 core: insert symlink magisk_node 2024-12-06 02:19:32 -08:00
vvb2060 830fc758b9 init: Use apex dir to determine whether 2SI 2024-11-30 23:03:29 -08:00
vvb2060 0f3cfef278 Revert "init: support 2SI devices with skip_initramfs"
This reverts commit b38fd1ca5f.
2024-11-30 23:03:29 -08:00
vvb2060 613f2d31c5 app: auto close action fragment only when focus lost 2024-11-04 11:11:41 -08:00
vvb2060 7dbb973db5 daemon: some samsung devices using incorrect mediatek-res path 2024-11-04 11:09:53 -08:00
vvb2060 a5cad532ff ui: fix lock screen orientation 2024-10-12 01:16:24 -07:00
vvb2060 5e6b53e0da AppMigration: put suManager after installation 2024-09-25 12:34:21 -07:00
vvb2060 ae0b15d197 deps: update gradle to 8.10 2024-09-05 21:50:46 -07:00
vvb2060 869aa62328 ci: fix build 2024-09-05 21:50:46 -07:00
vvb2060 dcd3bc58a3 app: target api 35 2024-09-05 21:50:46 -07:00
vvb2060 b38fd1ca5f init: support 2SI devices with skip_initramfs 2024-09-03 16:33:57 -07:00
vvb2060 f723ef153b zygisk_node: skip magisk32 if 64bit zygote only 2024-08-22 11:58:29 -07:00
vvb2060 000f1d6041 Revert "Don't support alternative binary paths"
This reverts commit 1eeb2a34a1.
2024-08-19 11:52:55 -07:00
vvb2060 2cbec20238 find_boot_image: test GKI 1.0 2024-08-19 03:05:24 -07:00
vvb2060 4b724c7257 find_boot_image: test previous kernels (<=4.19) 2024-08-19 03:05:24 -07:00
vvb2060 ab04c6ab39 find_boot_image: keep symlink 2024-08-19 03:05:24 -07:00
vvb2060 2d341863f5 set MAGISKTMP 2024-08-12 02:05:58 -07:00
vvb2060 d33b077a13 Remove NVBASE
We only move /cache/data_adb/magisk and /data/magisk to /data/adb/magisk (#7638), so NVBASE is redundant and we can just use MAGISKBIN.
2024-07-23 02:03:47 -07:00
vvb2060 2282365cf8 clean code 2024-07-23 02:02:56 -07:00
vvb2060 9a00b7b942 update copy_preinit_files 2024-07-23 02:02:56 -07:00
vvb2060 d54baadbed Use ro.crypto.metadata.enabled 2024-07-23 02:02:56 -07:00
vvb2060 2963d4ca9e Rewrite get_manager 2024-07-12 13:45:48 -07:00
vvb2060 6aab856de7 Enhanced denylist app id tracking 2024-07-12 13:45:48 -07:00
vvb2060 7dca5b831a check empty init_boot partition
For upgrading devices that continue to use Android 12 or older kernel versions, the generic ramdisk remains where it was with no requirement for a new init_boot image.
2024-07-02 14:23:28 -07:00
vvb2060 9a33a4dfe2 Fix StackOverflowError
Now field from base class java.io.ByteArrayOutputStream shadows the property with custom getter from derived class com.topjohnwu.magisk.core.utils.AXML.RawByteStream. This behavior will be changed soon in favor of the property. Please use explicit cast to java.io.ByteArrayOutputStream if you wish to preserve current behavior. See https://youtrack.jetbrains.com/issue/KT-55017 for details
2024-07-01 14:36:20 -07:00
vvb2060 dd3b9980e7 app: add safe mode config to menu 2024-05-15 12:42:55 +08:00
vvb2060 02e189a029 core: add safe mode config to db 2024-05-15 12:42:55 +08:00
vvb2060andtopjohnwu 60e8415369 Make denylist work when zygisk is disabled
Co-authored-by: topjohnwu <topjohnwu@gmail.com>
2024-04-08 23:00:50 -07:00
vvb2060 ecc74d45d1 Let magic mount optional 2024-03-19 23:21:41 -07:00
vvb2060 5de597f079 No need to unshare 2024-03-19 23:21:41 -07:00
vvb2060 10069215f4 Rename dir name 2024-03-19 23:21:41 -07:00
vvb2060 deedb462a0 Hide magisk internal mount point 2023-12-22 21:38:15 +08:00
vvb2060 00e9d76a5a Revert "Avoid doing any unmounts for SysUI" 2023-12-20 17:23:17 +08:00
vvb2060 beaf636415 Use ccache for C code 2023-10-25 15:05:41 -07:00
vvb2060 09bb2fe8dc Update dependencies 2023-10-25 14:58:02 -07:00
南宫雪珊 efadd94de3 Update strings.xml 2023-10-24 21:02:32 -07:00
vvb2060 8c0b4e444a Update zh-rCN translation 2023-10-24 21:02:32 -07:00
vvb2060 678c07fff5 suBiometric: remove biometric
use device credential to support more devices and second user
2023-10-17 17:39:05 -07:00
vvb2060 1761986c1b Update zh-rCN translation 2023-09-03 23:43:07 -07:00
vvb2060 d12d9e82f1 Force kernel to load rootfs only for legacy SAR devices 2023-08-18 17:18:34 -07:00
vvb2060 40003691d6 manager.sh: check vbmeta device by getprop 2023-08-08 00:53:21 -07:00
vvb2060 feb47cd88c sulog: add migration 2023-08-02 21:18:05 -07:00
vvb2060 c6efb51f61 sulog: add more info 2023-08-02 21:18:05 -07:00
vvb2060 ab9ee449e4 suBiometric: fix open app on second user will auto disable biometric
second user does not support biometric, but the config of app ignores user
2023-08-02 21:16:06 -07:00
vvb2060 9571b6f9be SuperuserViewModel: fix updatePolicy
Starting biometrics may cause the SuperuserFragment to lost focus. After onResume(), doLoadWork() will refresh the itemsPolicies, so notify property changed will work on wrong items. Fixed by snapshotting items to be refreshed before starting biometrics.
2023-08-02 09:29:14 -07:00
vvb2060 207d7fd3f6 SuRequestViewModel: fix await RootService on the main thread 2023-08-02 09:21:25 -07:00
南宫雪珊 bcdcfa1104 Update scripts/avd_magisk.sh 2023-08-02 09:12:00 -07:00
vvb2060 e0a4230dac avd_magisk: hide stderr 2023-08-02 09:12:00 -07:00
vvb2060 92f980601c Fix close 2023-06-30 02:43:38 -07:00
vvb2060 d0b8c16651 Fix file permission 2023-06-30 02:43:38 -07:00
vvb2060 ff1c56683d Skip magisk32 for 64bit only avd 2023-06-29 20:45:51 -07:00
vvb2060 9929b25339 Move su request path to magisk tmp 2023-06-20 03:29:06 -07:00
vvb2060 dd93556ad8 Faster get magisk tmpfs path 2023-05-25 01:03:27 -07:00