Commit Graph

237 Commits

Author SHA1 Message Date
Alex d36e365921 Refactor checkNewVersion function to use LatestVersionInfo data class (#1733)
- Updated the checkNewVersion function to return a LatestVersionInfo
data class instead of a Triple.
- Defined default null value for LatestVersionInfo in case of failure.
- Improved readability and maintainability by replacing the Triple with
a data class.
- Included version code, download URL, and changelog in the
LatestVersionInfo data class.

---------

Co-authored-by: weishu <twsxtd@gmail.com>
2024-05-16 15:35:14 +08:00
Light_summer f2816653d9 manager: Make SwitchItem can be click like preference (#1697)
Use `AutoMirrored` icon
Drop some deprecated methods
Remove unused imports
Add bottom padding for AppProfileTemplateScreen to avoid display content
behind fab
2024-05-04 20:41:05 +08:00
fsxitutu 839fc0534e Add magiskboot to kernelsu working directory (#1684)
Add the magiskboot binary to the /data/adb/ksu/bin directory so that
scripts/programs can call magiskboot to patch the boot/init_boot image.

---------

Co-authored-by: weishu <twsxtd@gmail.com>
2024-05-01 09:48:59 +08:00
weishu ac4c6f7895 manager: Fix select kmi not working 2024-04-24 00:29:43 +08:00
weishu 52c7f0e2bf manager: extract flashWithIO 2024-04-23 15:51:04 +08:00
weishu 05eb280d79 manager: hide "uninstall temporary" temporarily. 2024-04-23 15:38:18 +08:00
weishu 97dd3d9ec2 manager: Add UI for uninstall permanently 2024-04-23 15:37:42 +08:00
TinyHai 1f67487c37 fix grant root failed #1559 (#1633) 2024-04-16 22:02:55 +08:00
weishu b1a225799a manager: Allow to use other su to install 2024-04-15 12:32:29 +08:00
5ec1cff 60dd52afd1 ksud: backup stock image and use it when restore (#1619) 2024-04-14 00:45:06 +08:00
Wang Han 1be266b6f6 Register receiver with RECEIVER_EXPORTED (#1620) 2024-04-13 18:48:29 +08:00
weishu f0b18a1e18 manager: Add uninstall ui 2024-04-13 12:49:54 +08:00
ice 6aa0e4cf28 manager: Use AM instead of Monkey to start the app. (#1614)
Using Monkey will unlock the rotation, and possibly more unintended
behavior.
link: [ADB shell monkey command changing device orientation
lock](https://stackoverflow.com/q/56684778)
2024-04-11 13:30:06 +08:00
Wang Han 57314c9963 Exclude minidump.gz when collecting xiaomi logs (#1592)
Saves about ~80MB space.
2024-04-06 12:30:33 +08:00
weishu 2df8caaa85 manager: Create new root shell for time consuming task 2024-04-01 12:34:42 +08:00
weishu 31fbeef7e3 manager: Add module shrink to settings. close #1572 2024-04-01 12:23:41 +08:00
Light_summer a81201f368 manager: Fix round corner for Module Info Card (#1565)
| Before | After |
| :----- | :----- |
|
![Screenshot_20240330-183552](https://github.com/tiann/KernelSU/assets/93428659/b42b2e90-2d52-4d0f-964a-2288aeec3d8a)
|
![Screenshot_20240330-183539](https://github.com/tiann/KernelSU/assets/93428659/8272cd5e-6bfc-4444-9bac-19d95cc4b9cb)
|
2024-03-30 21:00:44 +08:00
weishu 09402ccfa6 manager: Fix template escape 2024-03-27 14:17:39 +08:00
5ec1cff 8b85e003f6 manager: refine webui (#1535) 2024-03-26 17:16:01 +08:00
5ec1cff c4d28e6256 manager: open webui in single task (#1531) 2024-03-26 08:55:34 +08:00
weishu 7451d0fb83 manager: make some shell op suspend 2024-03-23 15:12:34 +08:00
weishu 98030ee1ae manager: support choose kmi manually. close #1496 2024-03-23 12:30:27 +08:00
weishu e124aab76a manager: get kmi info from ksud 2024-03-23 10:53:19 +08:00
weishu b2d0de325f manager: allow scroll in settings screen. close #1501 2024-03-23 10:26:56 +08:00
weishu 3291538446 manager: allow to query language if country is unknown. close #1495 2024-03-21 14:45:33 +08:00
Houvven 39b025b235 add user custom select lkm file button on install screen top bar (#1491) 2024-03-20 22:29:04 +08:00
weishu 65a0f0070a manager: print space to avoid button overlap. close #1478 2024-03-20 21:48:00 +08:00
weishu f19d157887 manager: tar oplus log if exists 2024-03-20 16:24:36 +08:00
weishu 2b0d19928a manager: don't show mode for non gki 2024-03-19 21:12:43 +08:00
weishu 8c44e82db2 manager: Filter ignore case. fix #1470 2024-03-19 12:17:32 +08:00
weishu 79a1410fd3 manager: Correct minimal lkm version 2024-03-19 11:53:14 +08:00
weishu 99847cb986 manager: Show working mode 2024-03-19 11:50:45 +08:00
weishu 0c11d210a9 manager: support offline patch 2024-03-18 23:16:24 +08:00
weishu 117b4dc051 manager: check init_boot more precisely 2024-03-17 17:41:35 +08:00
weishu a5e76553e4 manager: Fix new version tip 2024-03-17 13:30:13 +08:00
weishu 177ef6b634 manager: Add tips for select boot image 2024-03-17 12:00:44 +08:00
weishu f65ea5a340 manager: Add install menu 2024-03-16 11:46:13 +08:00
weishu 7fd760f4f4 manager: Fix loading dialog 2024-03-16 11:13:50 +08:00
weishu 972d347a14 manager: Add string resource 2024-03-16 11:13:50 +08:00
weishu ca8a88f0cc manager: Fix reboot button is missing when flash 2024-03-16 11:13:50 +08:00
Ylarod 7568d55be1 Build KernelSU as LKM (#1254)
Co-authored-by: weishu <twsxtd@gmail.com>
2024-03-15 18:53:24 +08:00
TinyHai 22a1276a22 manager: a small fix in InstallScreen (#1434)
今天刷一个模块,刷入时要配置一些内容,然后发现每次输出我都得手动滑动一下才能看全内容,就很难受。气得我直接翻源码,就有了这个PR   :P

- 防止logContent在重组时丢失。
- 修复输出内容总是自动滚动到上次内容的最底部,而不是最新内容的最底部的f问题。
2024-03-08 19:35:52 +08:00
TinyHai 425713fad3 manager: refine dialog component & add an animation to UpdateCard (#1429) 2024-03-08 10:31:14 +08:00
weishu 1d7d406745 manager: change webview debug icon 2024-03-04 15:10:16 +08:00
5ec1cff cd772fa250 manager: allow enable webview debugging (#1412) 2024-03-03 22:24:02 +08:00
weishu e39a80f91e webui: use global mount namespace by default. 2024-02-29 13:59:13 +08:00
weishu 622a7d73dc Revert "webui: support mount master mode"
This reverts commit 922703d2ff.
2024-02-29 13:58:44 +08:00
weishu 922703d2ff webui: support mount master mode 2024-02-29 13:55:07 +08:00
weishu bf71ff133c manager: Add adb file details to log 2024-02-25 22:36:58 +08:00
weishu a9b156df43 manager: Add ksu file real size to logs 2024-02-25 22:33:04 +08:00