Commit Graph

2274 Commits

Author SHA1 Message Date
Wang Han
dc992818de Fix su --shell argument handling (#2529)
This fixes https://github.com/tiann/KernelSU/issues/2523.
2025-04-02 14:09:34 +06:00
Wang Han
dfea38e0f2 Skip staging package when searching manager (#2511) 2025-04-02 14:09:22 +06:00
ZGX089
6452427b6c Added Arabic translation (#267) 2025-03-30 01:46:24 +06:00
Caner Karaca
feb3c47bdc Fix formatting (#266) 2025-03-30 01:46:06 +06:00
kam821
de44373599 Update Polish translation (#264)
- Added settings_language translation
2025-03-27 22:20:21 +06:00
luigimak
4bd7e7cc9f Update values-it/strings.xml (#261)
Update Italian Translation
2025-03-27 22:20:04 +06:00
igor
39014fb89c Update portuguese translation (#260) 2025-03-27 00:56:09 +06:00
AJleKcAHgP68
eeecbf255a Update Ru translate (#256) 2025-03-27 00:55:51 +06:00
Saksham Singla
11e4729519 Update README.md (#262)
Changed Installation Instructions Link according to new website ksunext.org
2025-03-27 00:55:33 +06:00
kam821
f3093eace6 Add Polish documentation (#249)
- Added README_PL.md
- Added link to Polish version in other language versions
2025-03-24 22:15:16 +06:00
rifsxd
3a7edf48bf manager: remove beta warning for mount system switch 2025-03-23 23:27:10 +06:00
rifsxd
de189fe426 ksud_overlayfs: ability to specify custom sparse image size 2025-03-23 23:15:47 +06:00
rifsxd
30835787c9 Revert "ksud: determine modules's size by checking partion size"
This reverts commit c40bfd694c.
2025-03-23 22:38:01 +06:00
mr_vokintos
9fc1bd1876 Update README_RU.md (#248)
Donations added
2025-03-23 17:53:45 +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
kam821
2a154c1985 Update Polish translation - SUSFS/sus_su (#243)
Added SUSFS/sus_su strings translation
2025-03-23 17:49:05 +06:00
luigimak
110b8e92dc Update Italian Translation (#242)
* Update values-it/strings.xml

Update Italian translation

* Added Italian link README_IT.md

* Added Italian link README_IT.md

* Added Italian link README_IT.md

* Added Italian link README_IT.md

* Added Italian link README_IT.md

* Added Italian link README_IT.md

* Added Italian link README_IT.md

* Added Italian link README_IT.md

* Added Italian link README_IT.md

* Added Italian link README_IT.md

* Added Italian link README_IT.md

* Create README_IT.md

Create Italian README
2025-03-23 17:48:37 +06:00
igor
3b87014bf9 Update Portuguese Brazilian translation (#240) 2025-03-23 17:47:27 +06:00
AJleKcAHgP68
bd0bcc4337 Russian translation updated (#239) 2025-03-23 17:46:24 +06:00
the slaytanic one~
916f8151ea UPDATE BG translation...thats all (#237)
* Create strings.xml

* UPDATE BULGARIAN XD
2025-03-23 17:45:24 +06:00
rifsxd
59ca8fa2c2 manager: susfs and sus_su status now global strings 2025-03-16 00:50:57 +06:00
AJleKcAHgP68
238f2ee008 Update Ru strings.xml (#234)
Update Ru string
2025-03-14 16:47:45 +06:00
kam821
7eaf37bc4a Update Polish Translation (#229)
* Update Polish Translation - UpdateJson

UpdateJson in this context doesn't mean 'update the json file', but 'a link to a JSON file that contains info so manager can update the module'.
It is also a field described in the Magisk documentation, so it's best to leave the original form.

* Update Polish Translation - Export logs

Mostly a cosmetic change, should fit better with the other options in the settings menu
2025-03-14 16:47:27 +06:00
JuicerV3
022ee4bb1c README_TH: Update Thai translation (#224) 2025-03-14 16:47:07 +06:00
Ksawlii
d209dc087e Update selinux strings in values-pl (#218)
Signed-off-by: Ksawlii <ksawery.blaszczak@proton.me>
2025-03-14 16:46:39 +06:00
rifsxd
d79ea50c6e Revert "ksud_magic: probe for more workdir candidates (#221)"
This reverts commit a68b4fe7e0.
2025-03-11 23:31:30 +06:00
rifsxd
d8944d641c ksud_magic: reformat rust codes 2025-03-10 23:51:02 +06:00
Wang Han
1c9705fdd0 Set KSU_APP_PROFILE_VER for shell (#2481)
This reverts commit bd24044ec3.
2025-03-10 22:16:22 +06:00
AlexLiuDev233
f369297be9 kernel: fix sometimes sucompat can not toggle by manager (#2484)
When the manager is already running, if other programs / kernel toggle
the sucompat enable status,
The manager "Disable SU Compat" toggle button can not work, kmesg print
"cmd enable su but no need to change."

I think we should still return reply_ok when the syscall value is
consistent with the kernel, which would fix the issue.
2025-03-10 22:16:03 +06:00
backslashxx
a68b4fe7e0 ksud_magic: probe for more workdir candidates (#221)
- reuses old ksu functions
- makes sure its an empty dir
- adapted from https://github.com/rsuntk/KernelSU/commit/141f010 71cb86c2e9

Co-authored-by: powellnorma <101364699+powellnorma@users.noreply.github.com>
Co-authored-by: Rissu <90097027+rsuntk@users.noreply.github.com>
2025-03-09 14:48:24 +06:00
kam821
52399f7fd1 Update Polish Translation (#212)
- Fixed incorrect translations
- Unified nomenclature
- Added splitting to preserve both forms where needed
2025-03-09 14:33:48 +06:00
backslashxx
7218a504c9 kernel: ksud: add ksu_handle_execve_ksud (#217)
adapted from sys_execve_handler_pre()
upstream, https://github.com/tiann/KernelSU/commit/2027ac3

this completes the puzzle where all hooks are on syscalls

ksu_handle_execve_ksud
- sets argv to __argv, dunno what this is for, I just copied.
- creates dummy struct `filename_in` to store filename in `filename_in.name`
- strncpy filename to path, assign path to .name
- simply a shim for ksu_handle_execveat_ksud

usage: `ksu_handle_execve_ksud(filename, argv);` on sys_execve

tested on 4.14, 6.1

Tested-by: selfmusing <mirandamehek@gmail.com>
Tested-by: Adam W. Willis <return.of.octobot@gmail.com>

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
Co-authored-by: Another Guy <25584417+anotherjin@users.noreply.github.com>
2025-03-09 14:33:26 +06:00
luigimak
9d5999c8c3 Create values-it/strings.xml (#208)
Italian translation
2025-03-08 10:41:51 +06:00
the slaytanic one~
204805852c Create strings.xml (#205) 2025-03-05 01:22:08 +06:00
xradens
36b42e611e Update Bahasa Indonesia Translation (#203)
Fixed some translations
2025-03-03 20:54:24 +06:00
dependabot[bot]
c50bbd32aa build(deps): bump the maven group across 1 directory with 5 updates (#201)
Bumps the maven group with 5 updates in the /manager directory:

| Package | From | To |
| --- | --- | --- |
| androidx.activity:activity-compose | `1.10.0` | `1.10.1` |
| androidx.navigation:navigation-compose | `2.8.7` | `2.8.8` |
| com.android.application | `8.8.1` | `8.8.2` |
| com.android.library | `8.8.1` | `8.8.2` |
| [com.google.devtools.ksp](https://github.com/google/ksp) | `2.1.10-1.0.30` | `2.1.10-1.0.31` |



Updates `androidx.activity:activity-compose` from 1.10.0 to 1.10.1

Updates `androidx.navigation:navigation-compose` from 2.8.7 to 2.8.8

Updates `com.android.application` from 8.8.1 to 8.8.2

Updates `com.android.library` from 8.8.1 to 8.8.2

Updates `com.android.library` from 8.8.1 to 8.8.2

Updates `com.google.devtools.ksp` from 2.1.10-1.0.30 to 2.1.10-1.0.31
- [Release notes](https://github.com/google/ksp/releases)
- [Commits](https://github.com/google/ksp/compare/2.1.10-1.0.30...2.1.10-1.0.31)

---
updated-dependencies:
- dependency-name: androidx.activity:activity-compose
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: androidx.navigation:navigation-compose
  dependency-type: direct:production
  update-type: version-update:semver-patch
  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: com.google.devtools.ksp
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-03 20:54:11 +06:00
Anaël
d2f6d00327 manager: translations: Update french translations (#198)
* manager: translations: Update french translations

* Fixed typos
* Added su compat translations
* Added allowlist backup/restore translations
* Added about source code translation

* manager: translations: fix typo

* This was missed in commit 4097d55716

* manager: translations: fix another typo

* i really have to get some sleep duh im tired
2025-03-02 01:20: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
cvnertnc
453524d382 Update values-tr/strings.xml (#195) 2025-02-27 03:33:34 +06:00
Mateusz Chrząszcz
fccc3db5c5 Update strings.xml fix, update (#194) 2025-02-26 03:10:27 +06:00
rifsxd
7a08683c74 kernel: remove unnecessary umount calls for configuration directories (evil modifications) v1.0.5 2025-02-25 19:48:20 +06:00
rifsxd
2f3f444905 ksud_magic: use unsafe block for setting PATH environment variable 2025-02-25 17:51:04 +06:00
rifsxd
7746569fe9 manager: guard isOverlayAvailable only if useOverlayFs is not used 2025-02-25 17:12:36 +06:00
dependabot[bot]
3a601f86a5 build(deps): bump the crates group (#193)
Bumps the crates group in /userspace/ksud_overlayfs with 2 updates: [clap](https://github.com/clap-rs/clap) and [clap_builder](https://github.com/clap-rs/clap).


Updates `clap` from 4.5.30 to 4.5.31
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.30...v4.5.31)

Updates `clap_builder` from 4.5.30 to 4.5.31
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.5.30...v4.5.31)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: crates
- dependency-name: clap_builder
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: crates
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-25 15:40:24 +06:00
rifsxd
e7dab63837 manager: remove beta label from OverlayFS usage strings 2025-02-25 15:38:53 +06:00
rifsxd
487e7d0012 kernel: simplify umount calls for configuration files 2025-02-25 15:37:12 +06:00