Commit Graph

1788 Commits

Author SHA1 Message Date
topjohnwu 6cf00130f4 Check Magisk version instead of app version 2024-05-15 12:42:55 +08:00
topjohnwu 6c27ba6b88 Rename db entry name 2024-05-15 12:42:55 +08:00
vvb2060 dd3b9980e7 app: add safe mode config to menu 2024-05-15 12:42:55 +08:00
vvb2060 60e8415369 Make denylist work when zygisk is disabled
Co-authored-by: topjohnwu <topjohnwu@gmail.com>
2024-04-08 23:00:50 -07:00
topjohnwu fb5ee86615 Install one single ABI in ramdisk 2024-03-31 22:01:22 -07:00
vvb2060 ecc74d45d1 Let magic mount optional 2024-03-19 23:21:41 -07:00
topjohnwu 81658d45f7 Support tar with files larger than 8GiB
Fix #7838
2024-03-14 16:54:46 -07:00
topjohnwu c951b208a1 Always update stub APK when upgrade 2024-03-14 14:31:02 -07:00
topjohnwu 050a073771 Make all I/O suspendable 2024-03-12 03:24:42 -07:00
topjohnwu 21d374214f Minor cleanup of DownloadEngine 2024-03-12 03:14:06 -07:00
topjohnwu dbf6e40dfe Ensure stub APK is expected
Fix #7884
2024-03-08 17:09:54 -08:00
残页 4d5510be4f Prompt users to use reboot button in System Updates
So the update engine can write verify info of partitions which fixes bootloop on newer Pixel devices
2024-02-19 02:14:12 -08:00
topjohnwu 2aa923191e Rename DownloadManager to DownloadEngine
Also add some documentation
2024-02-06 17:54:15 -08:00
topjohnwu 38ad871e33 Use user-initiated jobs for download tasks on API 34+ 2024-02-06 17:04:39 -08:00
topjohnwu c5d34670c4 Isolate download logic from service lifecycle 2024-02-06 00:56:14 -08:00
topjohnwu 28770b9a32 Support baseline profiles 2023-10-26 15:56:51 -07:00
topjohnwu 985454afd4 Better logging 2023-10-24 16:41:49 -07:00
topjohnwu 9e1322de25 Make sure the shared preference is committed 2023-10-24 16:41:38 -07:00
topjohnwu 196d9af099 Add application and Zygisk tests to avd_test.sh 2023-10-19 05:15:53 -07:00
topjohnwu 0352ea2cca Rename biometrics to user authentication 2023-10-17 18:43:27 -07:00
topjohnwu e483d6befe Do not go through a fragment for auth 2023-10-17 17:39:31 -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
topjohnwu 8a88d8465a Prevent OOM
Fix #7341
2023-09-14 13:14:30 -07:00
topjohnwu 4745e86c1b Fix #7301 2023-09-13 14:44:20 -07:00
残页 6f77f190f2 Fix processPayload 2023-08-31 20:30:10 -07:00
topjohnwu f4b6385f9f Disable boot vbmeta patch when found vbmeta.img 2023-08-28 22:54:55 -07:00
topjohnwu 75d905a56d Fix device detection scripts and logic 2023-08-28 22:13:36 -07:00
topjohnwu b1363ee479 Do not allow user to configure boot vbmeta patching 2023-08-28 22:13:36 -07:00
残页 189c03c047 Add canyie to developer list 2023-08-28 13:21:58 -07:00
vvb2060 d12d9e82f1 Force kernel to load rootfs only for legacy SAR devices 2023-08-18 17:18:34 -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
topjohnwu cf1bc82537 Random small refactoring 2023-07-24 23:49:20 -07:00
残页 6141bb5bb3 Fix MagiskInstaller.patchBoot() error catching 2023-07-21 12:05:33 -07:00
topjohnwu 39383229d1 Update dependencies
Close #7128
2023-07-20 18:35:53 -07:00
残页 d390ca2fdf Avoid using IconCompat.createFromIcon() that doesn't support bitmap icon 2023-07-17 21:46:47 -07:00
topjohnwu f33343b4e6 Remove unused code and logic 2023-07-17 18:58:48 -07:00
topjohnwu 4caed73fe0 Always include boot image when processing tar
Credits: @BlackMesa123

Fix #7132, close #7133
2023-07-09 02:04:42 -07:00
BlackMesa123 4856da1584 Ignore `userdata.img` in Samsung tar firmware packages
Signed-off-by: BlackMesa123 <giangrecosalvo9@gmail.com>
2023-07-06 17:37:12 -07:00
topjohnwu 46770db18b Rename stuffs 2023-06-30 03:03:51 -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
topjohnwu fbd1dbb20c Manage MenuProvider with lifecycle state 2023-06-22 16:12:35 -07:00
topjohnwu 6c09fc2e64 Move addMenuProvider into onStart 2023-06-22 15:47:12 -07:00
LoveSy 0a85ef61c3 Call `removeMenuProvider` on `Fragment::onStop` 2023-06-22 15:27:23 -07:00
vvb2060 9929b25339 Move su request path to magisk tmp 2023-06-20 03:29:06 -07:00
topjohnwu d7d0a44693 Remove randomness from Magisk 2023-06-14 17:05:49 -07:00