Commit Graph

2135 Commits

Author SHA1 Message Date
5ec1cff
7ac03d638c ksud: fix copy sparse file (#2374) v1.0.4 2025-01-24 22:59:16 +06:00
Wang Han
b6d670f9a7 Don't unshare after entering global namespace (#2373)
Global namespace is usually used to publicly apply mounts so calling
unshare after entering root namespace is not desired bahavior. This also
keeps -M option same as Magisk.
2025-01-24 15:53:46 +06:00
dependabot[bot]
a6a2f65ead build(deps): bump the crates group across 1 directory with 8 updates (#72)
Bumps the crates group with 7 updates in the /userspace/ksud_overlayfs directory:

| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap) | `4.5.26` | `4.5.27` |
| [log](https://github.com/rust-lang/log) | `0.4.24` | `0.4.25` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.135` | `1.0.137` |
| [anstyle-wincon](https://github.com/rust-cli/anstyle) | `3.0.6` | `3.0.7` |
| [cc](https://github.com/rust-lang/cc-rs) | `1.2.8` | `1.2.10` |
| [indexmap](https://github.com/indexmap-rs/indexmap) | `2.7.0` | `2.7.1` |
| [miniz_oxide](https://github.com/Frommi/miniz_oxide) | `0.8.2` | `0.8.3` |



Updates `clap` from 4.5.26 to 4.5.27
- [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.26...clap_complete-v4.5.27)

Updates `log` from 0.4.24 to 0.4.25
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.24...0.4.25)

Updates `serde_json` from 1.0.135 to 1.0.137
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.135...v1.0.137)

Updates `anstyle-wincon` from 3.0.6 to 3.0.7
- [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-wincon-v3.0.6...anstyle-wincon-v3.0.7)

Updates `cc` from 1.2.8 to 1.2.10
- [Release notes](https://github.com/rust-lang/cc-rs/releases)
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.8...cc-v1.2.10)

Updates `clap_builder` from 4.5.26 to 4.5.27
- [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.26...v4.5.27)

Updates `indexmap` from 2.7.0 to 2.7.1
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.7.0...2.7.1)

Updates `miniz_oxide` from 0.8.2 to 0.8.3
- [Changelog](https://github.com/Frommi/miniz_oxide/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Frommi/miniz_oxide/compare/0.8.2...0.8.3)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: crates
- dependency-name: log
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: crates
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: crates
- dependency-name: anstyle-wincon
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: crates
- dependency-name: cc
  dependency-type: indirect
  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
- dependency-name: indexmap
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: crates
- dependency-name: miniz_oxide
  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-01-23 23:47:46 +06:00
dependabot[bot]
de38fe84d7 build(deps): bump the crates group across 1 directory with 8 updates (#73)
Bumps the crates group with 7 updates in the /userspace/ksud_magic directory:

| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap) | `4.5.26` | `4.5.27` |
| [log](https://github.com/rust-lang/log) | `0.4.24` | `0.4.25` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.135` | `1.0.137` |
| [anstyle-wincon](https://github.com/rust-cli/anstyle) | `3.0.6` | `3.0.7` |
| [cc](https://github.com/rust-lang/cc-rs) | `1.2.8` | `1.2.10` |
| [indexmap](https://github.com/indexmap-rs/indexmap) | `2.7.0` | `2.7.1` |
| [miniz_oxide](https://github.com/Frommi/miniz_oxide) | `0.8.2` | `0.8.3` |



Updates `clap` from 4.5.26 to 4.5.27
- [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.26...clap_complete-v4.5.27)

Updates `log` from 0.4.24 to 0.4.25
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.24...0.4.25)

Updates `serde_json` from 1.0.135 to 1.0.137
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.135...v1.0.137)

Updates `anstyle-wincon` from 3.0.6 to 3.0.7
- [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-wincon-v3.0.6...anstyle-wincon-v3.0.7)

Updates `cc` from 1.2.8 to 1.2.10
- [Release notes](https://github.com/rust-lang/cc-rs/releases)
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.8...cc-v1.2.10)

Updates `clap_builder` from 4.5.26 to 4.5.27
- [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.26...v4.5.27)

Updates `indexmap` from 2.7.0 to 2.7.1
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.7.0...2.7.1)

Updates `miniz_oxide` from 0.8.2 to 0.8.3
- [Changelog](https://github.com/Frommi/miniz_oxide/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Frommi/miniz_oxide/compare/0.8.2...0.8.3)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: crates
- dependency-name: log
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: crates
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: crates
- dependency-name: anstyle-wincon
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: crates
- dependency-name: cc
  dependency-type: indirect
  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
- dependency-name: indexmap
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: crates
- dependency-name: miniz_oxide
  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-01-23 23:47:31 +06:00
AJleKcAHgP68
28319943e9 Update strings.xml (#79)
Corrected grammatical inaccuracies
2025-01-23 17:08:40 +06:00
Caner Karaca
25bd8a2783 Update strings.xml (#77) 2025-01-22 18:12:59 +06:00
dependabot[bot]
8c02c89a95 build(deps): bump sval in /userspace/ksud_overlayfs (#68)
Bumps [sval](https://github.com/sval-rs/sval) from 2.13.2 to 2.14.0.
- [Release notes](https://github.com/sval-rs/sval/releases)
- [Commits](https://github.com/sval-rs/sval/compare/v2.13.2...v2.14.0)

---
updated-dependencies:
- dependency-name: sval
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-21 01:36:19 +06:00
dependabot[bot]
890f2e1d8e build(deps): bump sval from 2.13.2 to 2.14.0 in /userspace/ksud_magic (#71)
Bumps [sval](https://github.com/sval-rs/sval) from 2.13.2 to 2.14.0.
- [Release notes](https://github.com/sval-rs/sval/releases)
- [Commits](https://github.com/sval-rs/sval/compare/v2.13.2...v2.14.0)

---
updated-dependencies:
- dependency-name: sval
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-21 01:35:50 +06:00
dependabot[bot]
81daaa2055 build(deps): bump the maven group in /manager with 2 updates (#69)
Bumps the maven group in /manager with 2 updates: androidx.activity:activity-compose and androidx.compose:compose-bom.


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

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

---
updated-dependencies:
- dependency-name: androidx.activity:activity-compose
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: maven
- dependency-name: androidx.compose:compose-bom
  dependency-type: direct:production
  dependency-group: maven
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-20 18:20:58 +06:00
Rifat Azad
5a620372c9 scripts: send ci build to message thread 2025-01-20 15:27:12 +06:00
Rifat Azad
090f4c0f02 ksud: fixed "warning: elided lifetime has a name" and "warning: constant SUSFSD_PATH is never used" 2025-01-20 13:31:18 +06:00
Rifat Azad
cbe3ffe32a manager: fixed "static field FLAG_REDIRECT_STDERR: Int' is deprecated" 2025-01-20 13:26:08 +06:00
Rifat Azad
cf84dc8a32 manager: fixed "Multiple substitutions specified in non-positional format of string resource string/require_kernel_version." 2025-01-20 13:25:00 +06:00
Furkan
5eb10460b7 Update strings.xml (#62)
Fixup Turkish Translation
2025-01-20 00:33:08 +06:00
Rifat Azad
dd1a999567 ci: fix upload for ksud vatiants and upload susfsd for release 2025-01-19 17:23:55 +06:00
Pang YS
e24240facf docs: fixup translation for CN and TW (#60)
* Update README_CN.md

* Update README_TW.md
2025-01-19 17:13:10 +06:00
Rifat Azad
a0c262be8d ci: release and ci manager separate actions workflow 2025-01-19 17:07:01 +06:00
Rifat Azad
f60eed24e8 scripts: setup ksunextbot 2025-01-19 14:26:44 +06:00
mr_vokintos
2c17a5f4f3 fixed russian translation (#58)
* Update README.md

add link to Russian translation

* Russian translation

* Update README_CN.md

* Update README_TW.md

* Update README_TR.md

* Update README_PT-BR.md

* Update README_KO.md

* Update README_FR.md

* Update README_ID.md

* Create strings.xml

* Update strings.xml

added Russian translation

* Update strings.xml

* Update strings.xml

* Update strings.xml

fixed russian translation which looked bad on real device
2025-01-19 00:36:09 +06:00
5ec1cff
cae7693ceb manager: support search module list (#2331) 2025-01-18 22:56:04 +06:00
Rifat Azad
b1174448ac docs: moved website to webpage branch 2025-01-18 16:01:12 +06:00
Rifat Azad
82f38fe817 userspace: ksud: fix global namespace su (#55) 2025-01-18 14:25:14 +06:00
mr_vokintos
8d3048f5d9 translation of the app manager into russian (#54)
* Update README.md

add link to Russian translation

* Russian translation

* Update README_CN.md

* Update README_TW.md

* Update README_TR.md

* Update README_PT-BR.md

* Update README_KO.md

* Update README_FR.md

* Update README_ID.md

* Create strings.xml

* Update strings.xml

added Russian translation

* Update strings.xml

* Update strings.xml
2025-01-18 11:50:42 +06:00
Phapoom Saksri
8f21a0cb86 Add thai language translation to README and in-app language. (#52)
* Create README_TH.md

* Translate Thai language to README_TH.md

* เคอร์เนล not เตอร์เนล

* Update README.md

* idk

* Update README_TH.md

* สะกดผิดโลกแตก

* Update README_TH.md

* Update README_TH.md

* Update README_CN.md

* Update README_FR.md

* Update README_ID.md

* Update README_KO.md

* Update README_PT-BR.md

* Update README_TR.md

* Update README_TW.md

* Update README.md

* Update README_CN.md

* Update README_FR.md

* Update README_ID.md

* Update README_KO.md

* Update README_PT-BR.md

* Update README_TR.md

* Update README_TW.md

* Update README_FR.md

* [WIP] Add thai lang translation.

* [WIP] Thai translation

* [WIP] Fixing XML Error

* Add RU Translate to this fork.

* Small fixes

* Improve README_TH.md and complete thai language

* Small fixes for thai readme.

* Small fixes

* Fixing misspelled and long word stuff.
2025-01-18 00:59:54 +06:00
JuicerV3
bb2aafb9fa docs: improve site navigation bar consistency (#51) 2025-01-17 19:16:53 +06:00
JuicerV3
adc8e71628 docs: kernel_xiaomi_gourami expand support to match the kernel source (#47) 2025-01-17 18:35:15 +06:00
Kangmin Kim
194fd7db72 Update Korean Translation (#44) 2025-01-17 17:53:07 +06:00
MrIvokintoS
60e40f9397 Russian translation (#49)
* Update README.md

add link to Russian translation

* Russian translation

* Update README_CN.md

* Update README_TW.md

* Update README_TR.md

* Update README_PT-BR.md

* Update README_KO.md

* Update README_FR.md

* Update README_ID.md
2025-01-17 17:49:30 +06:00
Rifat Azad
14624ea966 kernel: dynamic get_cred_rcu patch for appropriate atomic function and apply patch accordingly 2025-01-17 15:34:34 +06:00
rifsxd
3ee1cbe4c2 docs: add Bahasa Indonesia README 2025-01-16 22:28:53 +06:00
Rifat Azad
bc307eecdb docs: add French README 2025-01-16 21:33:06 +06:00
Rifat Azad
41fc6800db manager: add Turkish translation 2025-01-16 21:26:12 +06:00
Rifat Azad
631354407c manager: values-fr/string.xml fix invalid unicode escape sequence in string (#45) 2025-01-16 21:06:19 +06:00
Onelots
ed2c429685 Translations: add French (fr_FR) translation (#45)
Some strings heavily depends on context, and may need some changes later.

Signed-off-by: Onelots <onelots@onelots.fr>
2025-01-16 20:13:53 +06:00
Rifat Azad
6f6dd29306 kernel: auto backport get_cred_rcu 2025-01-16 19:42:38 +06:00
SsageParuders
7314c8e1c0 Apply patch for glibc 2.38 compatibility in bazel build system (#2327)
Based on the commit from
[android.googlesource.com](75f82c6a15%5E%21/),
this change applies a patch to the bazel build system for source code
that does not include this fix and is using glibc version 2.38 or later.
This ensures that the build process does not encounter linkage errors
related to undefined symbols such as __isoc23_strtol, __isoc23_strtoul,
and __isoc23_strtoull.
2025-01-16 14:44:42 +06:00
rsuntk
0ada4ee5d4 kernel: improve get_cred_rcu guard
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-01-16 14:32:04 +06:00
rsuntk
3b045f6c16 kernel: Add entries
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-01-16 14:31:31 +06:00
rsuntk
95584df023 kernel: Add fallback if user didn't implement 'get_cred_rcu'
https://github.com/tiann/KernelSU/pull/2320

Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-01-16 14:26:52 +06:00
SsageParuders
b18c39e911 Improve seccomp disable && Add locking to protect cred modifications in escape_to_root (#2320)
- When disabling Seccomp, ensure that current->sighand->siglock is held
during the operation.
- Locking to ensure safe access and modification of the `cred` structure
within the `escape_to_root` function.

---

I think this issue described in #2236 may have been caused by concurrent
read-write access without proper locking.

---------

Signed-off-by: SsageParuders<qinqingqing1025@gmail.com>
Signed-off-by: SsageParuders <qinqingqing1025@gmail.com>"
2025-01-16 14:18:26 +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
724f22e92e docs: devices: add unofficially supported device #39 2025-01-16 10:36:36 +06:00
kxob
1ef8419466 Update Simplified Chinese translations for new susfs-related strings. (#41)
* 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`

* Update `strings.xml` of Traditional Chinese for commit `9aef82d`

* Restore an excess change to Simplified Chinese `strings.xml`

Different changes to string `use_overlay_fs` was simultaneously committed in conflict with another contributor.

* More authentic translation for Simplified Chinese.

For example, `provided as-is` is pioneeringly translated into `所得即所用` as the original text `按原样提供` was hard to understand.

* Optimize Simplified Chinese `strings.xml`

Make it parallel and neat.

* Update Simplified Chinese translation for new `susfs`-related strings.
2025-01-16 01:07:40 +06:00
igor
034ad8d21a update translation (#40)
* Update translations

* Update translation
2025-01-16 01:07:23 +06:00
rifsxd
b89fd07911 manager: adjust en/strings 2025-01-15 19:24:45 +06:00
Rifat Azad
eecd0844f4 docs: webpage fixed installation page copy button 2025-01-15 15:48:27 +06:00
Rifat Azad
efe4f03aa2 docs: improved webpages 2025-01-15 15:43:17 +06:00
Rifat Azad
1c8b088d9f ci: copy susfsd to manager 2025-01-15 15:25:04 +06:00
kxob
4fac2aae81 Optimize Simplified Chinese translations (#35)
* 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`

* Update `strings.xml` of Traditional Chinese for commit `9aef82d`

* Restore an excess change to Simplified Chinese `strings.xml`

Different changes to string `use_overlay_fs` was simultaneously committed in conflict with another contributor.

* More authentic translation for Simplified Chinese.

For example, `provided as-is` is pioneeringly translated into `所得即所用` as the original text `按原样提供` was hard to understand.

* Optimize Simplified Chinese `strings.xml`

Make it parallel and neat.
2025-01-15 14:48:08 +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