Commit Graph

162 Commits

Author SHA1 Message Date
Der_Googler 298aa7960e Improve Platform (#345)
* Add option to use WebUI X

- Added WebUI X from MMRL to KernelSU Next

* Some improvements

* Again some improvements

* Fix NPE

* Still not fixed

Use mappings from the action to decode the stacktrace

* bump mmrl

does still not work

* Works

* WORKS

* small fixes

* manager: only launch webui x when Platform.isAlive is `true`

* manager: disable "Use WebUI X" option when Platform.isAlive is `false`

* manager: improve app list loading

* manager: use system packageManager api

* ci: add spoofed manager workflow

* ci: add spoofed manager workflow

---------

Co-authored-by: rifsxd <rifat.44.azad.rifs@gmail.com>
Co-authored-by: Rifat Azad <33044977+rifsxd@users.noreply.github.com>
2025-05-01 20:24:00 +06:00
rifsxd 757d20166a manager: clean lkm remnants
ksud: clean clippy warnings
2025-05-01 16:30:09 +06:00
rifsxd 1336996129 manager: disabled KMI/LKM installation
manager: check if overlayfs is available to allow mount system switching
ksud: disabled KMI/LKM commands
ci: disabled LKM build workflow
ksud: removed ksuinit
2025-05-01 15:58:18 +06:00
Der_Googler 9dbe135e66 Fix Shortcuts in WebUI X (#339)
* manager: fix webui x shortcuts
2025-04-30 11:08:25 +06:00
rifsxd 0511a90640 manager: fully optimize the broken/buggy bottom navbar 2025-04-28 23:25:52 +06:00
rifsxd 114a07a440 manager: fixed buggy bottombar with a neat workaround 2025-04-28 00:14:29 +06:00
Der_Googler babae3b2ad Add WebUI X (#316)
* Add option to use WebUI X

- Added WebUI X from MMRL to KernelSU Next

* Some improvements

* Again some improvements

* Fix NPE

* Still not fixed

Use mappings from the action to decode the stacktrace

* bump mmrl

does still not work

* Works

* WORKS

* small fixes
2025-04-27 22:01:25 +06:00
rifsxd 63ebf730f9 manager: improved floating button for module & LKM flashing screen 2025-04-03 19:22:08 +06:00
the slaytanic one~ d5f25590a5 Added Bulgaran Readme + Fix my older writing style of the bulgarian translatation in strings.xml (#273)
* Added Bulgaran Readme (By boyan)

* manager: improved mount system info fetching logic

* UPDATE BULGARIAN STRINGS.xml

no questions asked

---------

Co-authored-by: rifsxd <rifat.44.azad.rifs@gmail.com>
Co-authored-by: Rifat Azad <33044977+rifsxd@users.noreply.github.com>
2025-04-03 01:36:42 +06:00
rifsxd 5cec5aa656 manager: improved mount system info fetching logic 2025-04-03 00:21:53 +06:00
rifsxd c5aa6ffffc manager: module & allowlist backup directory changed to /data/adb/ksu/
manager: placed export logs list item to the bottom
2025-04-02 14:46:23 +06:00
rifsxd 3a7edf48bf manager: remove beta warning for mount system switch 2025-03-23 23:27:10 +06:00
AxelPLN(Axel Yinjia Huang) a223781fae improve manager translations for zh-rCN & zh-rTW (#247)
* add README_TW

* Update README_CN.md

* add Simplified Chinese for website

add Simplified Chinese for website

fix some mistakes in README_CN

* Update zh/devices.html

* Update zh/features.html

* Update zh/devices.html

* Update zh/features.html

* Update zh/index.html

* Add Traditional Chinese translation for manager

* Try to add switching function for website

* fix manager translations for zh-rCH & zh-rTW

* try to add language switcher for manager

* try to add language switcher for manager

* try to add language switching function for manager app

* try to add language switching function for manager app

* try to add language switching function for manager app

* discard invalid changes
2025-03-23 17:50:22 +06:00
rifsxd 59ca8fa2c2 manager: susfs and sus_su status now global strings 2025-03-16 00:50:57 +06:00
rifsxd c9e4c8e186 manager: remove unnecessary isManager definition in Settings screen 2025-02-28 01:40:28 +06:00
Wang Han 3a6c30fba1 Avoid popping back stack right after navigation (#2477)
This fixes https://github.com/tiann/KernelSU/issues/2462.
2025-02-28 00:50:50 +06:00
rifsxd d5d4304120 manager: hide su related settings screen items if ksuVersion is null 2025-02-28 00:35:13 +06:00
rifsxd 4eac2f783e manager: change MINIMAL_SUPPORTED_SU_COMPAT to 12404 (where disable su compat feature was fully implemented) 2025-02-28 00:25:59 +06:00
rifsxd 2cc765ee0a manager: add back navigation to BackupRestore screen 2025-02-28 00:22:37 +06:00
rifsxd 7746569fe9 manager: guard isOverlayAvailable only if useOverlayFs is not used 2025-02-25 17:12:36 +06:00
rifsxd 6100df6f8c manager: remove redundant enabled state check in SettingScreen 2025-02-24 20:33:25 +06:00
rifsxd e597bd1c66 manager: MINIMAL_SUPPORTED_SU_COMPAT set to 12402 to support disable sucompat mode in settings 2025-02-24 04:26:56 +06:00
Js0n 7bebb2a461 fix: crash #2463 (#2465)
my bad
2025-02-24 02:48:21 +06:00
Js0n f3fee49f8c feat: properly set OkHttp header (#2463)
properly send `User-Agent` and `Accept-Language` to `updateJson` server,
module developers can check `User-Agent` whether to send update to user
and set user preferred language for changelog.

also added cache to reduce update server load
2025-02-24 02:48:01 +06:00
rifsxd e8c080ba09 src: adapt git links to KernelSU-Next org 2025-02-24 02:18:02 +06:00
rifsxd c1273d35f4 manager: fix native jni calls and minor change to strings 2025-02-23 22:42:30 +06:00
weishu 85866848ea kernel: Allow to re-enable sucompat 2025-02-23 20:37:34 +06:00
weishu d05d16c15d manager: Add support to disable sucompat mode. 2025-02-23 20:06:09 +06:00
Wang Han a89985f33e Allow toggling unmount setting for all apps (#2450)
This fixes https://github.com/tiann/KernelSU/issues/2416.
2025-02-22 04:48:44 +06:00
Wang Han 36111f4b89 Provide TMPDIR for boot image repacking (#2458)
/data/local/tmp is never writable for normal apps, why previously it
works is that Rust's temp_dir() gets path from env, and since A13,
TMPDIR is set to app's cache dir. This is not the case for A12, so it
breaks. Fix it by set TMPDIR ourselves.
2025-02-21 17:33:21 +06:00
rifsxd a0278b1e45 manager: refactor: remove FlashModule and update navigation to FlashModules 2025-02-21 16:38:00 +06:00
rifsxd 0c7ba4dc6e manager: fix syntax and unresolved function 2025-02-21 00:27:57 +06:00
Tiann b98c531ff8 manager: refine flashing module confirm dialog 2025-02-21 00:16:21 +06:00
Tiann 373025248d manager: refine flash utilities 2025-02-20 23:45:04 +06:00
rifsxd 74f55dd807 manager: disable restore module button on overlayfs mount mode (since the restore module code for overlayfs mount never got out of internal testing, wull be implemented in the future) 2025-02-16 03:07:36 +06:00
rifsxd 8560f35c8b manager: added divider for backup and restore screen catagories 2025-02-15 19:51:39 +06:00
rifsxd d85bff2943 manager: added allowlist backup and restore (#9)
manager: create separate module & restore screen
2025-02-15 02:00:24 +06:00
rifsxd f5ac0f3589 manager: renamed log files output 2025-02-14 21:54:12 +06:00
rifsxd 8696ed8f36 Revert "manager: fix umountModule toggle not showing as enabled after manager restart"
This reverts commit 682f93667b.
2025-02-14 19:34:46 +06:00
rifsxd 682f93667b manager: fix umountModule toggle not showing as enabled after manager restart 2025-02-14 12:52:44 +06:00
rifsxd 00cab2209e manager: added developer options toggle
manager: removed module card onClick open webui
manager: diabled umount modules by default
2025-02-13 23:17:48 +06:00
Wang Han b6fcea9277 Hide namespace config in app profiles (#2426)
This is never implemented in kernel (and likely never will be), so let's
remove it from UI for now to avoid misleading users.
2025-02-13 20:09:44 +06:00
rifsxd 623f5e3f64 manager: avoid factory data reset popup when rebooting into recovery 2025-02-13 20:08:32 +06:00
weishu c2ae844f65 manager: Create a new root shell for action.sh to avoid blocking the global root shell. 2025-02-06 17:49:36 +06:00
changhuapeng ef32f3f9d2 manager: Disable interactions for uninstalled & disabled module (#2380)
Uninstalled module has no enabled interactions (e.g. run action script,
open webui, update).
Disabled module cannot run action script or open webui.
2025-01-25 21:01:53 +06:00
Rifat Azad cbe3ffe32a manager: fixed "static field FLAG_REDIRECT_STDERR: Int' is deprecated" 2025-01-20 13:26:08 +06:00
5ec1cff cae7693ceb manager: support search module list (#2331) 2025-01-18 22:56:04 +06:00
Rifat Azad d68dceaf87 manager: if susfs not supported then check if sus_su is available 2025-01-16 12:25:19 +06:00
Rifat Azad 84f230d35b manager: add susfs status and sus_su toggle
userspace: add susfsd
ci: build susfsd
ksud_overlayfs: update aarch64 bin  BusyBox v1.36.1.1 topjohnwu (2024-10-06 01:38:43 PDT)
2025-01-15 14:26:42 +06:00
Rifat Azad 2f42ebd620 manager: allow multiple modules to be installed sequentially 2025-01-15 12:18:10 +06:00