Commit Graph

446 Commits

Author SHA1 Message Date
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
kxob 132d523f32 Use export_log to summarize save_log and send_log instead of send_log itself. (#21)
* Optimize Simplified Chinese translations

* Update `strings.xml` of `zh-rCN`

* Use `export_log` to summarize `save_log` and `send_log`.

Instead of `send_log` itself.

* Update `strings.xml` of Simplified Chinese

* Update `strings.xml` for commit `9aef82d`

* Update Indonesian `strings.xml` for commit `9aef82d`

* Update Korean `strings.xml` for commit `9aef82d`

* Update Brazilian Portuguese `strings.xml` for commit `9aef82d`
2025-01-14 10:08:12 +06:00
Rifat Azad 587fca9f1f manager: hide reboot button if ksuversion not found (KSU_NEXT v2 signature not found)
manager: add module migration, backup and restore
manager: update translation for zh-CN (authored by @xiangxiangxiong9)
docs: devies: add more unofficial supported devices
2025-01-11 14:43:51 +06:00
Rifat Azad 768de7e2dc manager: added warning dialog 2025-01-08 13:54:43 +06:00
Rifat Azad 6bbe40dfda manager: improved module mount system & fixed bug for module installation file name error 2025-01-08 11:13:29 +06:00
Rifat Azad 3a8d78086f manager: some slight fixes 2025-01-08 00:27:58 +06:00
Rifat Azad 0f9bd38e3c ci: fixed issues 2025-01-07 23:44:21 +06:00
Rifat Azad b0a64ca882 manager: module migration on module system switch 2025-01-07 22:21:55 +06:00
Rifat Azad f3f4ba5897 manager: added mount system switchability
userspace: added ksud_overlayfs & ksud_magic
2025-01-07 17:08:53 +06:00
Rifat Azad fcbb02a115 manager: refresh superuser applist on appprofile exit 2025-01-05 17:06:37 +06:00
Rifat Azad 56ed1b7a81 manager: fix module list sorting button state 2025-01-05 16:08:50 +06:00
Rifat Azad e1f163a3dc manager: dynamic seasonal icon for kernelsu working statuscard 2025-01-05 12:02:08 +06:00
Rifat Azad 0b93051455 manager: proper alphabetical module list sorting 2025-01-05 11:13:48 +06:00
Rifat Azad ace36326cd source: removed all SuSFS code 2025-01-04 17:33:03 +06:00
rifsxd 24e5e012f3 manager: removed reduce sparse image button from settings 2025-01-03 16:04:17 +06:00
Rifat Azad ac57cdc092 manager: some minor improvemnets 2025-01-03 11:08:02 +06:00
Rifat Azad ce99e18df9 manager: minor typo fix 2025-01-03 08:29:00 +06:00
Rifat Azad e225b6e7d4 userspace: add susfsd to /data/adb/ksu/bin 2025-01-02 20:40:42 +06:00
Rifat Azad 4419ef0837 manager: added animation for nav bar hiding and improved flash screen and action screen 2025-01-02 17:27:02 +06:00
rifsxd 5982cdb61d source: minor cleanup 2025-01-01 21:19:50 +06:00
rifsxd 000fbf3cd3 manager: happy new year's eve! 2024-12-31 06:07:51 +06:00
Rifat Azad be48978aae manager: floating button dynamic padding depending on android navigation bar 2024-12-29 13:02:37 +06:00
Rifat Azad 7eef20cae2 manager: disabled save log and back instance untill flashing is completed, hide bottom navbar and add additional close button 2024-12-28 14:11:22 +06:00
Rifat Azad a22f2937c6 manager: fix comment typo 2024-12-27 23:05:24 +06:00
Rifat Azad e16e0c65d6 manager: replaced app profile icon 2024-12-27 08:45:06 +06:00
Michelle Rodriguez 624b1d0da3 manager: Add sort options on module's appbar (#2308)
module list will be sorted by options when these are enabled:

![83d5cd3d23b8f6c36b52e731f5e21a97](https://github.com/user-attachments/assets/eaadc1a3-21c6-4b73-a55f-206b6faa7d2d)
It will be very friendly and convenient  when manager has many modules.
2024-12-27 00:09:39 +06:00
Rifat Azad 07e6637d1f manager: hdie bottom navbar on action screen 2024-12-26 23:09:46 +06:00
Rifat Azad 755c68947a manager: fixed missing opening bracket 2024-12-26 21:34:21 +06:00
Rifat Azad 5520be535c manager: fixed global string 2024-12-26 21:26:53 +06:00
Rifat Azad f356ece503 manager: disabled back button and added action close button 2024-12-26 20:49:42 +06:00
bryanyee33 090ae7fb2d manager: module: refresh after webui usage (#2317)
- This commit fixes issue tiann#2250

https://github.com/user-attachments/assets/19dcca12-cb34-4e6e-88b4-72c26c2773f3

Tested by: backslashxx <118538522+backslashxx@users.noreply.github.com>
2024-12-26 18:00:14 +06:00
Rifat Azad 5645754168 manager: custom uri for webui 2024-12-26 12:04:27 +06:00
bryanyee33 54d09f136c Imitate terminal clear command in manager (#2307)
The current implementation of KSU manager's output screen simply prints
`[H[J` when the `clear` command is used (in both the flashing module &
action button screen) instead of clearing the screen:
<img
src="https://github.com/user-attachments/assets/c30ceb87-13ac-4ba6-a7c5-045564e83181"
width="300" />

This limits the ability of shell scripts to purely textual & linear
outputs, and prevents more flexible outputs such as a refreshing
progress bar or even a progress circle for long running scripts. The
current implementation moreover limits the output to 65536 bytes for the
String `text`, causing the app to hang once this limit has been reached
for scripts with more verbose outputs.

This PR fixes these issues by allowing for usage of the `clear` command
in shell scripts to clear the screen. It works by checking if the
current output line starts with "", which is the default output of
the `clear` command in KSU's busybox, and clears the previous outputs if
there is a match. This should work universally since the `clear` command
defaults to this implementation when ran in KSU manager.

A working example can be seen below, where the `clear` command is
heavily used (24 times a second) to test for performance & reliability
of the code:


https://github.com/user-attachments/assets/c45fb6f1-1b40-4b67-8837-4d9a00429715

Tested-by: backslashxx
2024-12-25 16:35:45 +06:00
Rifat Azad 5160dca539 manager: improved app icon
website: KernelSU Next home added
2024-12-25 04:45:46 +06:00
Rifat Azad 6b34a72b0a manager: minor touch 2024-12-25 00:00:57 +06:00
Rifat Azad 5baa8237ed manager: brought back isOverlayAvailable() 2024-12-24 22:50:50 +06:00
Rifat Azad 0907ca55d8 susfs: fixed susfs unsupported output
manager: if susfs not supported then hide it
2024-12-24 06:13:46 +06:00
Rifat Azad a0540aa8ec ksud: dropped magic_mount for stability so welcome back OverlayFS
manager: brought back shrink images in settings
2024-12-24 04:21:38 +06:00
Rifat Azad b98f0f3618 manager: fixed Unresolved reference 'prefs' 2024-12-24 00:00:26 +06:00
Rifat Azad 08a3a93224 manager: hide sus su toggle below umount module 2024-12-23 23:59:09 +06:00