Commit Graph

2257 Commits

Author SHA1 Message Date
5ec1cff
9ff996b805 sync with upstream
eeffecbd1b
2025-03-09 00:37:51 +08:00
5ec1cff
99d923cf8b reformat rust codes 2025-03-09 00:37:50 +08:00
5ec1cff
a4c3e3b909 update docs 2025-03-09 00:05:27 +08:00
5ec1cff
6bf9501acf ksud: fix stat 2025-03-09 00:05:27 +08:00
米凛
301390faca script: change repo (#9) 2025-03-09 00:05:27 +08:00
5ec1cff
65dd6d0cde upload avd kernels 2025-03-09 00:05:26 +08:00
5ec1cff
3d35845df3 ci: build lkm only if needed while building manager 2025-03-09 00:05:26 +08:00
5ec1cff
c5ec2ff94b ksud: make tmpfs and magic mount optional
- Create /data/adb/ksu/{.notmpfs,.nomount} to disable them.
2025-03-09 00:05:26 +08:00
5ec1cff
ec383ed661 allow restore uninstalled module 2025-03-09 00:05:23 +08:00
5ec1cff
7b39c295aa use module dir name as real id 2025-03-08 23:56:24 +08:00
5ec1cff
35bf2f1dca manager: remove shrink image 2025-03-08 23:56:24 +08:00
backslashxx
6cdf264402 ksud: add KSU_MAGIC_MOUNT to env (#5) 2025-03-08 23:56:24 +08:00
PuerNya
dbe8902b3c Build manager with pre-built LKMs (#4) 2025-03-08 23:56:24 +08:00
PuerNya
c0477a6178 Auto push lkms to branch LKM 2025-03-08 23:56:23 +08:00
5ec1cff
ffa571e950 ksud: refine tmpfs 2025-03-08 23:56:23 +08:00
5ec1cff
c6f5b85f49 ksud: fix clone symlink 2025-03-08 23:56:23 +08:00
5ec1cff
e8ac17f261 ksud: fix partition link 2025-03-08 23:56:23 +08:00
5ec1cff
bb8c9ffac5 manager: no need to check overlayfs 2025-03-08 23:56:20 +08:00
5ec1cff
2026654077 ci: use var for chat id 2025-03-08 23:55:26 +08:00
5ec1cff
aa3300994e ksubot: make MESSAGE_THREAD_ID optional 2025-03-08 23:55:25 +08:00
5ec1cff
6461c5502b ksud: fix odm not magic-mounted 2025-03-08 23:55:25 +08:00
5ec1cff
d9f28860c7 ksud: fix disable / enable modules 2025-03-08 23:55:25 +08:00
5ec1cff
44f13e4a1f magic_mount: refine 2025-03-08 23:55:25 +08:00
5ec1cff
43563b654a log: make verbose logging optional 2025-03-08 23:55:24 +08:00
5ec1cff
3c4d45dc31 magic_mount: fix 2025-03-08 23:55:24 +08:00
5ec1cff
b9883dfec3 chore: refine code 2025-03-08 23:55:24 +08:00
5ec1cff
520455a0df ci: set correct paths 2025-03-08 23:55:24 +08:00
5ec1cff
ba8d85e356 magic_mount: supports whiteout 2025-03-08 23:55:23 +08:00
5ec1cff
af988ec8ec chore: fmt 2025-03-08 23:55:23 +08:00
5ec1cff
6f3ab6d6d3 magic_mount: use trusted.overlay.opaque 2025-03-08 23:55:23 +08:00
5ec1cff
f10483ffa3 restorecon: set adb_file to system_file for module files 2025-03-08 23:55:23 +08:00
5ec1cff
a5edae9fac implement magic mount 2025-03-08 23:55:20 +08:00
5ec1cff
1ef751eb06 allow build lkm manually 2025-03-08 23:47:55 +08:00
5ec1cff
ef037b86a5 setup my sign key 2025-03-08 23:47:55 +08:00
5ec1cff
fcc07393a5 also do not build ksud for other platform 2025-03-08 23:47:55 +08:00
5ec1cff
16a761a316 not build lkm when build manager 2025-03-08 23:47:55 +08:00
5ec1cff
d06a303305 Update build-manager.yml 2025-03-08 23:47:54 +08:00
5ec1cff
a034dbbe6e remove devpts hook 2025-03-08 23:47:50 +08:00
dependabot[bot]
203cd4d746 build(deps): bump the maven group across 1 directory with 5 updates (#2485)
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
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/google/ksp/releases">com.google.devtools.ksp's
releases</a>.</em></p>
<blockquote>
<h2>2.1.10-1.0.31</h2>
<h2>Bug Fixes</h2>
<ul>
<li>[KSP2] KSPropertyDeclaration#type for typealias does not match its
declaration. <a
href="https://redirect.github.com/google/ksp/issues/2345">#2345</a></li>
<li>Incorrect isMutable on KSPropertyDeclaration from a JAVA_LIB in
2.1.10-1.0.30 <a
href="https://redirect.github.com/google/ksp/issues/2346">#2346</a></li>
<li>KSP breaks compilation avoidance <a
href="https://redirect.github.com/google/ksp/issues/2347">#2347</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6f2ea1e9e7"><code>6f2ea1e</code></a>
KSP2: return type aliases if possible</li>
<li><a
href="1afb28060b"><code>1afb280</code></a>
KSP2: Fix KSPropertyDeclaration.isMutable for Java libs</li>
<li><a
href="40e5350848"><code>40e5350</code></a>
Update test cases for compilation avoidance.</li>
<li><a
href="f68437a3c1"><code>f68437a</code></a>
KSP2: better support of compilation avoidance</li>
<li><a
href="e764de7fd9"><code>e764de7</code></a>
KSP1: better support of compilation avoidance</li>
<li><a
href="9b2d7d99e7"><code>9b2d7d9</code></a>
jdkHome as internal and creating new jdkVersion input</li>
<li><a
href="3b9ebc91cb"><code>3b9ebc9</code></a>
CI: Update release branch to 1.0.31</li>
<li><a
href="7b440f8a37"><code>7b440f8</code></a>
Downgrade to Kotlin 2.1.10</li>
<li><a
href="6b59afdc15"><code>6b59afd</code></a>
KSFunction: return type aliases if possible</li>
<li><a
href="9284800c76"><code>9284800</code></a>
UPDATE_AA_VERSION: 2.2.0-dev-745</li>
<li>Additional commits viewable in <a
href="https://github.com/google/ksp/compare/2.1.10-1.0.30...2.1.10-1.0.31">compare
view</a></li>
</ul>
</details>
<br />

<details>
<summary>Most Recent Ignore Conditions Applied to This Pull
Request</summary>

| Dependency Name | Ignore Conditions |
| --- | --- |
| com.google.devtools.ksp | [< 1.10, > 1.9.23-1.0.20] |
</details>


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-02 21:26:19 +08:00
igor
d8dbcbb462 website: fix minor typos (#2482) 2025-03-02 15:55:29 +08:00
Wang Han
4d37b8735c Set KSU_APP_PROFILE_VER for shell (#2481)
This reverts commit bd24044ec3.
2025-03-01 15:59:44 +08:00
AlexLiuDev233
931ababd14 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-01 15:59:18 +08:00
Wang Han
fcfe038532 Avoid popping back stack right after navigation (#2477)
This fixes https://github.com/tiann/KernelSU/issues/2462.
2025-02-27 09:47:50 +08:00
weishu
4fdd3e07e5 ksud: migrate to Rust 2024 edition 2025-02-24 16:53:37 +08:00
weishu
e245e3419d ksud: upgrade nom to 8.0 2025-02-24 16:45:24 +08:00
dependabot[bot]
bcdc860a5b build(deps): bump the npm group in /website with 18 updates (#2460)
Bumps the npm group in /website with 18 updates:

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-24 12:21:32 +08:00
Weblate (bot)
985cd1f015 Translations update from Hosted Weblate (#2425)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for
[KernelSU/Manager](https://hosted.weblate.org/projects/kernelsu/manager/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/kernelsu/manager/horizontal-auto.svg)

---------

Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: Kazuki Nakashima <flukfik41@gmail.com>
Co-authored-by: dabao1955 <dabao1955@163.com>
Co-authored-by: Léane GRASSER <leane.grasser@proton.me>
Co-authored-by: weishu tian <twsxtd@gmail.com>
Co-authored-by: yuztass <inkognito0901@gmail.com>
Co-authored-by: I g o r <igormczampola1@gmail.com>
2025-02-24 12:20:40 +08:00
dependabot[bot]
1d50f902b7 build(deps): bump the crates group across 1 directory with 17 updates (#2472)
Bumps the crates group with 15 updates in the /userspace/ksud directory:

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-24 12:19:50 +08:00
igor
cef7f30c2e website: update translation (#2471) 2025-02-24 11:41:00 +08:00
Caner Karaca
0254936bb2 Update Dependencies (#2440)
- Use latest Node
- Update GitHub Action
- Update NDK
- Update Gradle
- Update Cargo dependencies
- Remove unused dependencies
- Remove unnecessary build tools version (AGP handles it now)

No issues too far, since there is no major changes, i don't think there
will be issue.

Clippy passes fine on my end, new version of `nom` dependency causes
issues.
2025-02-24 11:40:09 +08:00