Commit Graph

558 Commits

Author SHA1 Message Date
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
Pang YS
9e45282692 manager: Add Indonesia translation 2024-12-26 17:02:02 +08:00
Pang YS
f9dbb96308 Create strings.xml 2024-12-26 16:19:33 +08:00
Rifat Azad
5645754168 manager: custom uri for webui 2024-12-26 12:04:27 +06:00
Caner Karaca
08727ea9b2 manager: update gradle and ndk 2024-12-25 23:09:33 +00: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
dependabot[bot]
5db7caebb8 build(deps): bump the maven group in /manager with 2 updates
Bumps the maven group in /manager with 2 updates: [io.github.raamcosta.compose-destinations:core](https://github.com/raamcosta/compose-destinations) and [io.github.raamcosta.compose-destinations:ksp](https://github.com/raamcosta/compose-destinations).


Updates `io.github.raamcosta.compose-destinations:core` from 2.1.0-beta14 to 2.1.0-beta15
- [Release notes](https://github.com/raamcosta/compose-destinations/releases)
- [Commits](https://github.com/raamcosta/compose-destinations/compare/2.1.0-beta14...2.1.0-beta15)

Updates `io.github.raamcosta.compose-destinations:ksp` from 2.1.0-beta14 to 2.1.0-beta15
- [Release notes](https://github.com/raamcosta/compose-destinations/releases)
- [Commits](https://github.com/raamcosta/compose-destinations/compare/2.1.0-beta14...2.1.0-beta15)

Updates `io.github.raamcosta.compose-destinations:ksp` from 2.1.0-beta14 to 2.1.0-beta15
- [Release notes](https://github.com/raamcosta/compose-destinations/releases)
- [Commits](https://github.com/raamcosta/compose-destinations/compare/2.1.0-beta14...2.1.0-beta15)

---
updated-dependencies:
- dependency-name: io.github.raamcosta.compose-destinations:core
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: io.github.raamcosta.compose-destinations:ksp
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: io.github.raamcosta.compose-destinations:ksp
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-24 09:02:19 +00: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
Rifat Azad
84cb1ac04d manager: susfs feature overhaul and some minor bug fixes
susfs: more prctl syscalls added
2024-12-23 23:56:58 +06:00
Rifat Azad
eafff027e5 manager: remember sus_su toggle state 2024-12-23 09:49:22 +06:00
Rifat Azad
65a2088483 manager: fixed typo 2024-12-23 07:38:48 +06:00
Cycle1337
5a52c076bd Merge branch 'rifsxd:next' into next 2024-12-23 07:21:14 +08:00
Cycle1337
31acad02da manager: minor changes in Simplified Chinese translation 2024-12-23 07:20:45 +08:00
Rifat Azad
baddff8622 manager: sus_su mode in StatusInfo and toggle to enable/disable sus_su
susfs: variant and sus_su syscalls added
2024-12-23 04:52:19 +06:00
Cycless7
66f4fd6b77 manager: changed back link to original ksunext 2024-12-23 03:59:24 +08:00
Cycless7
e81cce5db8 manager: added Simplified Chinese translation 2024-12-23 03:55:16 +08:00
Rifat Azad
7026650552 manager: fixed susfs check for InfoCard 2024-12-23 01:36:11 +06:00
Rifat Azad
2538f51bb4 manager: also detect susfs variant 2024-12-23 01:07:21 +06:00
Rifat Azad
67b14a34a9 manager: fixed getSuSFSVersion() in InfoCard
susfs: else error output as result
2024-12-22 09:23:56 +06:00
Rifat Azad
3febc5ae79 userspace: add susfs lib
manager: completed susfs support check prctl syscall
2024-12-22 08:49:45 +06:00
Rifat Azad
74ddca2e11 manager: try detect susfs prctl and
show if susfs supported and version on HomeScreen
2024-12-22 06:32:08 +06:00
Rifat Azad
5e036cb883 manager: Detect SuSFS support 2024-12-22 02:54:20 +06:00
Rifat Azad
c99dc906b5 Merge pull request #14 from rifsxd/dependabot/gradle/manager/maven-4efcb9479e
build(deps): bump the maven group in /manager with 8 updates
2024-12-22 00:34:35 +06:00
Rifat Azad
95491e3674 manager: polished up HomeScreen 2024-12-21 23:52:26 +06:00
Rifat Azad
f41db55229 manager: adjusted padding on InfoCard 2024-12-21 23:25:53 +06:00
silvzr
f439ff625c manager: Avoid unecessary function calls
in Home.kt the install function is called everytime you go to the HomeScreen, move it to MainActivity instead so it's executed on app launch only.
2024-12-21 03:49:44 +06:00
Rifat Azad
081e31f0f8 manager: removed EXperimentalCard and added IssueReportCard 2024-12-21 03:31:55 +06:00
Rifat Azad
ef4714871e source: mass rename KernelSU -> KernelSU-Next 2024-12-21 02:06:32 +06:00
Rifat Azad
df700143da manager: LOG_TAG replace KernelSU -> KernelSU-Next 2024-12-21 01:53:37 +06:00
dependabot[bot]
96001951ed build(deps): bump the maven group in /manager with 8 updates
Bumps the maven group in /manager with 8 updates:

| Package | From | To |
| --- | --- | --- |
| androidx.navigation:navigation-compose | `2.8.4` | `2.8.5` |
| androidx.compose:compose-bom | `2024.11.00` | `2024.12.01` |
| [org.jetbrains.kotlinx:kotlinx-coroutines-core](https://github.com/Kotlin/kotlinx.coroutines) | `1.9.0` | `1.10.1` |
| com.android.application | `8.7.2` | `8.7.3` |
| com.android.library | `8.7.2` | `8.7.3` |
| [org.jetbrains.kotlin.android](https://github.com/JetBrains/kotlin) | `2.0.21` | `2.1.0` |
| [org.jetbrains.kotlin.plugin.compose](https://github.com/JetBrains/kotlin) | `2.0.21` | `2.1.0` |
| [com.google.devtools.ksp](https://github.com/google/ksp) | `2.0.21-1.0.28` | `2.1.0-1.0.29` |


Updates `androidx.navigation:navigation-compose` from 2.8.4 to 2.8.5

Updates `androidx.compose:compose-bom` from 2024.11.00 to 2024.12.01

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-core` from 1.9.0 to 1.10.1
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.9.0...1.10.1)

Updates `com.android.application` from 8.7.2 to 8.7.3

Updates `com.android.library` from 8.7.2 to 8.7.3

Updates `com.android.library` from 8.7.2 to 8.7.3

Updates `org.jetbrains.kotlin.android` from 2.0.21 to 2.1.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v2.0.21...v2.1.0)

Updates `org.jetbrains.kotlin.plugin.compose` from 2.0.21 to 2.1.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v2.0.21...v2.1.0)

Updates `org.jetbrains.kotlin.plugin.compose` from 2.0.21 to 2.1.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v2.0.21...v2.1.0)

Updates `com.google.devtools.ksp` from 2.0.21-1.0.28 to 2.1.0-1.0.29
- [Release notes](https://github.com/google/ksp/releases)
- [Commits](https://github.com/google/ksp/compare/2.0.21-1.0.28...2.1.0-1.0.29)

---
updated-dependencies:
- dependency-name: androidx.navigation:navigation-compose
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: androidx.compose:compose-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: maven
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: maven
- dependency-name: com.android.application
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: com.android.library
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: com.android.library
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: org.jetbrains.kotlin.android
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: maven
- dependency-name: org.jetbrains.kotlin.plugin.compose
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: maven
- dependency-name: org.jetbrains.kotlin.plugin.compose
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: maven
- dependency-name: com.google.devtools.ksp
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: maven
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-20 17:24:49 +00:00
Rifat Azad
3d29cb1ae6 manager: fixed module card uninstall/restore buttons minimal look & fixed app icon monochrome inverted 2024-12-20 22:52:59 +06:00
Rifat Azad
80440e86cb manager: fixed kernelsu-next icon to be material 3 compliant 2024-12-20 00:44:15 +06:00
Rifat Azad
1b6f041b6c manager: minor change to module_install_prompt_with_name string 2024-12-19 22:46:22 +06:00
Rifat Azad
3d9feeec96 manager: Dropped down MINIMAL_SUPPORTED_KERNEL to 11071 2024-12-19 21:56:04 +06:00
Rifat Azad
e7c4c038b6 manager: night theme fixed 2024-12-19 21:30:58 +06:00
Rifat Azad
aa195c6348 manager: fixed module list refresh after isntallation 2024-12-19 20:25:30 +06:00
Rifat Azad
3eb8768465 manager: changed webroot domain 2024-12-19 19:52:55 +06:00
Rifat Azad
1fc83078fd manager: minor renaming 2024-12-19 19:10:11 +06:00
Rifat Azad
6f0174022c manager: minor change to module_install_prompt_with_name string 2024-12-19 18:46:26 +06:00