Commit Graph
100 Commits
Author SHA1 Message Date
南宫雪珊andGitHub 63b20ceca8 Update Samsung download mode documentation 2026-04-14 03:25:38 -07:00
vvb2060andJohn Wu bdcd938d74 app: delete unused files 2026-04-14 10:24:16 +00:00
vvb2060andJohn Wu 27688120b4 app: update zh-rCN translation 2026-04-14 10:24:16 +00:00
vvb2060andJohn Wu 483901f3cd app: use userspace copy 2026-04-14 10:24:16 +00:00
vvb2060andJohn Wu 4ee1590cc8 app: add local file supports for HttpFileChannel 2026-04-14 10:24:16 +00:00
vvb2060andJohn Wu b9d21071fc app: support download image and patch 2/2 2026-04-14 10:24:16 +00:00
vvb2060andJohn Wu e70e8088ad app: support download image and patch 1/2 2026-04-14 10:24:16 +00:00
vvb2060andJohn Wu 069bbc4837 app: auto measure width 2026-04-14 10:24:16 +00:00
vvb2060andJohn Wu 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
南宫雪珊andJohn Wu b5138a4af0 Update unpack boot image help message 2025-12-05 11:14:45 -08:00
南宫雪珊andGitHub 9a776c22d9 Revert "Use rootfs for magisktmp if possible" 2025-12-01 11:45:34 -08:00
南宫雪珊andJohn Wu 23ea28de6f scripts: fix modules_update dir context 2025-07-10 10:59:39 -07:00
vvb2060andJohn Wu 2a42ca2b8f app: fix time i18n 2025-07-07 11:04:18 -07:00
vvb2060andJohn Wu e5d36d1d24 app: support config restrict policy 2025-07-03 02:42:08 -07:00
vvb2060andJohn Wu ff18cb8e70 su: support drop capabilities 2025-07-03 02:42:08 -07:00
vvb2060andJohn Wu 76962f965e app: use github api to check updates 2025-05-19 10:23:15 -07:00
vvb2060andJohn Wu cf12087e21 app: disable multiArch 2025-05-08 21:02:26 -07:00
vvb2060andJohn Wu d499819ba0 app: ignore androidx meta prop file 2025-05-02 16:40:37 -07:00
vvb2060andJohn Wu 86da917174 core: fix mkdirs 2025-05-02 16:39:46 -07:00
vvb2060andJohn Wu b03fbb3917 avd_test: upgrade to android16 beta3 2025-03-26 13:15:12 -07:00
vvb2060andJohn Wu 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
vvb2060andJohn Wu 8c972dcf34 app: target sdk 36 2025-03-26 13:15:12 -07:00
vvb2060andJohn Wu e8958c6b5c get_secontext: ignore ENODATA 2025-03-06 20:03:36 -08:00
vvb2060andJohn Wu afbfb81837 docs: add avd_magisk.sh to faq 2025-02-28 17:17:24 -08:00
vvb2060andJohn Wu 3ed4e258a3 avd_magisk: add general usage 2025-02-28 17:17:24 -08:00
vvb2060andJohn Wu dddd41c95b avd_magisk: support rootfs without sbin 2025-02-28 17:17:24 -08:00
vvb2060andJohn Wu 4d80361805 core: search for first available dir in PATH 2025-02-15 15:08:26 -08:00
vvb2060andJohn Wu 110dd4a8b9 Update dependencies 2025-01-19 11:55:44 +08:00
vvb2060andJohn Wu c512496847 install_module: simplify script 2024-12-12 10:08:09 -08:00
vvb2060andJohn Wu 506961a10d flash module: ignore META-INF 2024-12-12 10:07:47 -08:00
vvb2060andJohn Wu b09ceeb43c scripts: sync avd_magisk.sh with mgiskinit 2024-12-06 02:21:17 -08:00
vvb2060andJohn Wu 4fb539c110 core: use a new tmpfs as worker 2024-12-06 02:19:43 -08:00
vvb2060andJohn Wu 849b284da5 core: insert symlink magisk_node 2024-12-06 02:19:32 -08:00
vvb2060andJohn Wu 830fc758b9 init: Use apex dir to determine whether 2SI 2024-11-30 23:03:29 -08:00
vvb2060andJohn Wu 0f3cfef278 Revert "init: support 2SI devices with skip_initramfs"
This reverts commit b38fd1ca5f.
2024-11-30 23:03:29 -08:00
vvb2060andJohn Wu 613f2d31c5 app: auto close action fragment only when focus lost 2024-11-04 11:11:41 -08:00
vvb2060andJohn Wu 7dbb973db5 daemon: some samsung devices using incorrect mediatek-res path 2024-11-04 11:09:53 -08:00
vvb2060andJohn Wu a5cad532ff ui: fix lock screen orientation 2024-10-12 01:16:24 -07:00
vvb2060andJohn Wu 5e6b53e0da AppMigration: put suManager after installation 2024-09-25 12:34:21 -07:00
vvb2060andJohn Wu ae0b15d197 deps: update gradle to 8.10 2024-09-05 21:50:46 -07:00
vvb2060andJohn Wu 869aa62328 ci: fix build 2024-09-05 21:50:46 -07:00
vvb2060andJohn Wu dcd3bc58a3 app: target api 35 2024-09-05 21:50:46 -07:00
vvb2060andJohn Wu b38fd1ca5f init: support 2SI devices with skip_initramfs 2024-09-03 16:33:57 -07:00
vvb2060andJohn Wu f723ef153b zygisk_node: skip magisk32 if 64bit zygote only 2024-08-22 11:58:29 -07:00
vvb2060andJohn Wu 000f1d6041 Revert "Don't support alternative binary paths"
This reverts commit 1eeb2a34a1.
2024-08-19 11:52:55 -07:00
vvb2060andJohn Wu 2cbec20238 find_boot_image: test GKI 1.0 2024-08-19 03:05:24 -07:00
vvb2060andJohn Wu 4b724c7257 find_boot_image: test previous kernels (<=4.19) 2024-08-19 03:05:24 -07:00
vvb2060andJohn Wu ab04c6ab39 find_boot_image: keep symlink 2024-08-19 03:05:24 -07:00
vvb2060andJohn Wu 2d341863f5 set MAGISKTMP 2024-08-12 02:05:58 -07:00
vvb2060andJohn Wu 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
vvb2060andJohn Wu 2282365cf8 clean code 2024-07-23 02:02:56 -07:00
vvb2060andJohn Wu 9a00b7b942 update copy_preinit_files 2024-07-23 02:02:56 -07:00
vvb2060andJohn Wu d54baadbed Use ro.crypto.metadata.enabled 2024-07-23 02:02:56 -07:00
vvb2060andJohn Wu 2963d4ca9e Rewrite get_manager 2024-07-12 13:45:48 -07:00
vvb2060andJohn Wu 6aab856de7 Enhanced denylist app id tracking 2024-07-12 13:45:48 -07:00
vvb2060andJohn Wu 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
vvb2060andJohn Wu 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
vvb2060andJohn Wu dd3b9980e7 app: add safe mode config to menu 2024-05-15 12:42:55 +08:00
vvb2060andJohn Wu 02e189a029 core: add safe mode config to db 2024-05-15 12:42:55 +08:00
vvb2060andJohn Wu 60e8415369 Make denylist work when zygisk is disabled
Co-authored-by: topjohnwu <topjohnwu@gmail.com>
2024-04-08 23:00:50 -07:00
vvb2060andJohn Wu ecc74d45d1 Let magic mount optional 2024-03-19 23:21:41 -07:00
vvb2060andJohn Wu 5de597f079 No need to unshare 2024-03-19 23:21:41 -07:00
vvb2060andJohn Wu 10069215f4 Rename dir name 2024-03-19 23:21:41 -07:00
vvb2060andJohn Wu deedb462a0 Hide magisk internal mount point 2023-12-22 21:38:15 +08:00
vvb2060andJohn Wu 00e9d76a5a Revert "Avoid doing any unmounts for SysUI" 2023-12-20 17:23:17 +08:00
vvb2060andJohn Wu beaf636415 Use ccache for C code 2023-10-25 15:05:41 -07:00
vvb2060andJohn Wu 09bb2fe8dc Update dependencies 2023-10-25 14:58:02 -07:00
南宫雪珊andJohn Wu efadd94de3 Update strings.xml 2023-10-24 21:02:32 -07:00
vvb2060andJohn Wu 8c0b4e444a Update zh-rCN translation 2023-10-24 21:02:32 -07:00
vvb2060andJohn Wu 678c07fff5 suBiometric: remove biometric
use device credential to support more devices and second user
2023-10-17 17:39:05 -07:00
vvb2060andJohn Wu 1761986c1b Update zh-rCN translation 2023-09-03 23:43:07 -07:00
vvb2060andJohn Wu d12d9e82f1 Force kernel to load rootfs only for legacy SAR devices 2023-08-18 17:18:34 -07:00
vvb2060andJohn Wu 40003691d6 manager.sh: check vbmeta device by getprop 2023-08-08 00:53:21 -07:00
vvb2060andJohn Wu feb47cd88c sulog: add migration 2023-08-02 21:18:05 -07:00
vvb2060andJohn Wu c6efb51f61 sulog: add more info 2023-08-02 21:18:05 -07:00
vvb2060andJohn Wu 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
vvb2060andJohn Wu 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
vvb2060andJohn Wu 207d7fd3f6 SuRequestViewModel: fix await RootService on the main thread 2023-08-02 09:21:25 -07:00
南宫雪珊andJohn Wu bcdcfa1104 Update scripts/avd_magisk.sh 2023-08-02 09:12:00 -07:00
vvb2060andJohn Wu e0a4230dac avd_magisk: hide stderr 2023-08-02 09:12:00 -07:00
vvb2060andJohn Wu 92f980601c Fix close 2023-06-30 02:43:38 -07:00
vvb2060andJohn Wu d0b8c16651 Fix file permission 2023-06-30 02:43:38 -07:00
vvb2060andJohn Wu ff1c56683d Skip magisk32 for 64bit only avd 2023-06-29 20:45:51 -07:00
vvb2060andJohn Wu 9929b25339 Move su request path to magisk tmp 2023-06-20 03:29:06 -07:00
vvb2060andJohn Wu dd93556ad8 Faster get magisk tmpfs path 2023-05-25 01:03:27 -07:00
vvb2060andJohn Wu bd2651057d Simplify prefs migration 2023-05-11 16:29:01 -07:00
vvb2060andJohn Wu 726ffdcd98 Fix meizu rootfs type 2023-05-06 00:06:59 -07:00
f9d22cf8ee New magisk tmp dir: /debug_ramdisk
Co-authored-by: LoveSy <shana@zju.edu.cn>
2023-05-06 00:04:11 -07:00
vvb2060andJohn Wu ee50da566f Cancel recursive bind 2023-05-06 00:04:11 -07:00
vvb2060andJohn Wu 9f7d410959 Use pathname local socket 2023-05-06 00:04:11 -07:00
vvb2060andJohn Wu bc94ea4334 Update SELinux policy 2023-05-06 00:04:11 -07:00
vvb2060andJohn Wu 3733c9a091 CI: add avd test 2023-04-25 23:00:59 -07:00
vvb2060andJohn Wu e9f32e4f68 Set text and background color 2023-04-25 23:00:59 -07:00
vvb2060andJohn Wu 68c2817d40 Enable avd hack for debug build 2023-04-25 23:00:59 -07:00
vvb2060andJohn Wu 5c165c9bb0 Fix avd hack 2023-04-05 04:01:32 -07:00
vvb2060andJohn Wu f827755aaf Skip getSessionInfo 2023-04-05 01:46:33 -07:00
vvb2060andJohn Wu 9279f30e89 Upload mapping and native debug symbols 2023-04-05 00:14:51 -07:00
vvb2060andJohn Wu 69529ac59c Fix restorecon 2023-04-04 02:34:16 -07:00
vvb2060andJohn Wu a18a440236 Cancel recursive bind 2023-04-04 02:12:07 -07:00
vvb2060andJohn Wu 46ce765860 Use stable random seed 2023-04-03 18:32:11 -07:00