Commit Graph

1508 Commits

Author SHA1 Message Date
Jprimero15
37410f85a4 kernel: guard "umount for uid" logprint with CONFIG_KSU_DEBUG (#1519)
Its too spammy to be on non-debug mode.
2024-03-24 21:42:23 +08:00
weishu
d8671b14d1 kernel: clean memory when exit 2024-03-24 16:41:53 +08:00
Caner Karaca
ef404cb619 Update Workflows and Dependencies (#1512)
Corrections would be very welcome.

---------

Co-authored-by: weishu <twsxtd@gmail.com>
2024-03-24 15:40:10 +08:00
Jprimero15
0710032928 kernel: make for loop compatible (#1517) 2024-03-24 15:04:57 +08:00
weishu
478fda6712 kernel: remove become_manager and minor refactors 2024-03-24 11:20:43 +08:00
5ec1cff
031999eed5 manager: splash screen follows system dark mode (#1515) 2024-03-24 11:19:44 +08:00
Forget
7170c6c7ef website: docs: zh_CN: Sync to en as path_umount (#1516)
Signed-off-by: xiaoleGun <1592501605@qq.com>
2024-03-24 11:19:12 +08:00
weishu
ba66c10ec5 kernel: Fix format error 2024-03-24 00:03:59 +08:00
weishu
a91690eabe kernel: simplify prctl 2024-03-23 23:11:47 +08:00
weishu
218d57ddc2 kernel: Fix compile error above 6.1 2024-03-23 23:11:47 +08:00
igor
94ebe7952b website: update translation (#1514) 2024-03-23 21:50:43 +08:00
weishu
a9b310876f kernel: Let the kernel choose who is qualified to be the manager. 2024-03-23 21:48:03 +08:00
sus
b220bebd64 Updated translations for the website and templates. (#1513)
Mainly updates in traditional Chinese, but also fixes a typo in
simplified Chinese.
2024-03-23 19:44:02 +08:00
weishu
703a205b0b manager: upgrade apksign plugin 2024-03-23 16:54:59 +08:00
weishu
1e0396c999 website: Add docs for LKM mode 2024-03-23 16:05:21 +08:00
weishu
25e93982b6 manager: make some shell op suspend 2024-03-23 15:12:34 +08:00
weishu
387d63cb6a ksud: fix supported kmi 2024-03-23 13:59:05 +08:00
weishu
84091ee6c0 manager: support choose kmi manually. close #1496 2024-03-23 12:30:27 +08:00
weishu
71e9baa444 manager: get kmi info from ksud 2024-03-23 10:53:19 +08:00
weishu
d6af076263 ksud: add boot-info cli 2024-03-23 10:46:16 +08:00
weishu
dfa2752988 manager: allow scroll in settings screen. close #1501 2024-03-23 10:26:56 +08:00
weishu
04df88e8fe ksud: rename patched boot. close #1511 2024-03-23 10:06:37 +08:00
dependabot[bot]
fe590e24ac build(deps-dev): bump vitepress from 1.0.0-rc.45 to 1.0.1 in /website (#1510)
Bumps [vitepress](https://github.com/vuejs/vitepress) from 1.0.0-rc.45
to 1.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vuejs/vitepress/releases">vitepress's
releases</a>.</em></p>
<blockquote>
<h2>v1.0.1</h2>
<p>Please refer to <a
href="https://github.com/vuejs/vitepress/blob/main/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>v1.0.0</h2>
<p>Please refer to <a
href="https://github.com/vuejs/vitepress/blob/main/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vuejs/vitepress/blob/main/CHANGELOG.md">vitepress's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/vuejs/vitepress/compare/v1.0.0...v1.0.1">1.0.1</a>
(2024-03-22)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>build:</strong> vendor vue-demi to avoid resolution issues
with yarn berry (<a
href="https://redirect.github.com/vuejs/vitepress/issues/3680">#3680</a>)
(<a
href="5d3cb96ac3">5d3cb96</a>)</li>
</ul>
<h1><a
href="https://github.com/vuejs/vitepress/compare/v1.0.0-rc.45...v1.0.0">1.0.0</a>
(2024-03-21)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>build:</strong> resolve pattern relative to srcDir instead
of root in createContentLoader (<a
href="https://redirect.github.com/vuejs/vitepress/issues/3638">#3638</a>)
(<a
href="59183e9cef">59183e9</a>)</li>
<li><strong>localSearch:</strong> remove empty titles that may appear in
search results (<a
href="https://redirect.github.com/vuejs/vitepress/issues/3665">#3665</a>)
(<a
href="f7aef3ca23">f7aef3c</a>)</li>
<li><strong>theme:</strong> fixed sidebar expand caret showing when no
children are present (<a
href="https://redirect.github.com/vuejs/vitepress/issues/3657">#3657</a>)
(<a
href="e13f93292c">e13f932</a>)</li>
<li><strong>theme:</strong> ignore inner-page items in next/prev link
(<a
href="https://redirect.github.com/vuejs/vitepress/issues/3663">#3663</a>)
(<a
href="b50a8a1325">b50a8a1</a>)</li>
<li><strong>theme:</strong> local nav separator not visible on pages
having no outline (<a
href="1909041715">1909041</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>theme:</strong> allow selectively disabling external link
icon on navbar items (<a
href="https://redirect.github.com/vuejs/vitepress/issues/3607">#3607</a>)
(<a
href="5f6297cb3d">5f6297c</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="0b45abd7dd"><code>0b45abd</code></a>
release: v1.0.1</li>
<li><a
href="66bae6bff7"><code>66bae6b</code></a>
chore: bump deps</li>
<li><a
href="5d3cb96ac3"><code>5d3cb96</code></a>
fix(build): ship built-in vue-demi to avoid resolution issues (<a
href="https://redirect.github.com/vuejs/vitepress/issues/3680">#3680</a>)</li>
<li><a
href="05061bd3d2"><code>05061bd</code></a>
release: v1.0.0</li>
<li><a
href="88a4284f3a"><code>88a4284</code></a>
docs: tweak intro perf section</li>
<li><a
href="0b68382121"><code>0b68382</code></a>
docs: document metaChunk</li>
<li><a
href="38ac579d17"><code>38ac579</code></a>
chore: bump vite version</li>
<li><a
href="f7aef3ca23"><code>f7aef3c</code></a>
fix(localSearch): remove empty titles that may appear in search results
(<a
href="https://redirect.github.com/vuejs/vitepress/issues/3665">#3665</a>)</li>
<li><a
href="e13f93292c"><code>e13f932</code></a>
fix(theme): fixed sidebar expand caret showing when no children are
present (...</li>
<li><a
href="b50a8a1325"><code>b50a8a1</code></a>
fix(theme): ignore inner-page items in next/prev link (<a
href="https://redirect.github.com/vuejs/vitepress/issues/3663">#3663</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vuejs/vitepress/compare/v1.0.0-rc.45...v1.0.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vitepress&package-manager=npm_and_yarn&previous-version=1.0.0-rc.45&new-version=1.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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 this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-22 22:12:11 +08:00
weishu
845271234f ci: upload ksud for release 2024-03-22 12:01:44 +08:00
dependabot[bot]
76ba88fa3b build(deps): bump androidx.compose:compose-bom from 2024.02.02 to 2024.03.00 in /manager (#1497)
Bumps androidx.compose:compose-bom from 2024.02.02 to 2024.03.00.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=androidx.compose:compose-bom&package-manager=gradle&previous-version=2024.02.02&new-version=2024.03.00)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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 this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-22 10:59:47 +08:00
Ali Beyaz
29b4aaf09a Turkish translation of adaway.root (#1500) 2024-03-22 09:17:07 +08:00
weishu
73388cde2d manager: allow to query language if country is unknown. close #1495 2024-03-21 14:45:33 +08:00
weishu
1ccb61c0fa kernel: we should take ownership over fd 2024-03-21 14:15:11 +08:00
weishu
c0254fdb18 kernel: Fix the incorrect judgment condition. 2024-03-21 11:48:02 +08:00
weishu
91204e713e kernel: ignore all non application uid 2024-03-21 11:45:44 +08:00
weishu
97e8842000 kernel: remove unused module_api 2024-03-21 11:36:36 +08:00
weishu
7713b7ce41 kernel: Fix compile warning 2024-03-21 11:32:30 +08:00
weishu
4c9f201c21 kernel: minor fixes 2024-03-21 11:24:56 +08:00
weishu
895ad601d2 kernel: remove unused headers 2024-03-20 23:14:30 +08:00
Houvven
45e451c2e3 add user custom select lkm file button on install screen top bar (#1491) 2024-03-20 22:29:04 +08:00
weishu
9d6b1f225a manager: print space to avoid button overlap. close #1478 2024-03-20 21:48:00 +08:00
weishu
0bce8550b6 ksud: try find KMI from installed modules 2024-03-20 21:33:41 +08:00
dependabot[bot]
0b6df96233 build(deps): bump com.google.devtools.ksp from 1.9.22-1.0.18 to 1.9.23-1.0.19 in /manager (#1487)
Bumps [com.google.devtools.ksp](https://github.com/google/ksp) from
1.9.22-1.0.18 to 1.9.23-1.0.19.
<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>1.9.23-1.0.19</h2>
<h3>New APIs</h3>
<ul>
<li><a
href="https://redirect.github.com/google/ksp/issues/1708">#1708</a>
<code>SymbolProcessorEnvironment.kspVersion</code></li>
<li><a
href="https://redirect.github.com/google/ksp/issues/1707">#1707</a>
<code>CodeGenerator.associateWithFunctions</code> and
<code>CodeGenerator.associateWithProperties</code></li>
</ul>
<h3>Issues fixed in KSP2</h3>
<ul>
<li><a
href="https://redirect.github.com/google/ksp/issues/1691">#1691</a>
IllegalStateException: Value type not found for value</li>
<li><a
href="https://redirect.github.com/google/ksp/issues/1719">#1719</a> The
order of symbols returned from Resolver.getSymbolsWithAnnotation() is
different</li>
<li><a
href="https://redirect.github.com/google/ksp/issues/1718">#1718</a>
Getting packageName of Kotlin types returns empty String</li>
<li><a
href="https://redirect.github.com/google/ksp/issues/1721">#1721</a>
KSAnnotation packageName is an empty String for a type from a different
module</li>
<li><a
href="https://redirect.github.com/google/ksp/issues/1722">#1722</a>
Resolver.getDeclarationsFromPackage() returns declarations from the
default package when passing in an unknown package</li>
<li><a
href="https://redirect.github.com/google/ksp/issues/1717">#1717</a>
Resolver.getJvmName() returns different results for annotation args</li>
<li><a
href="https://redirect.github.com/google/ksp/issues/1725">#1725</a>
asMemberOf() throws exception with a generic type without arguments</li>
<li><a
href="https://redirect.github.com/google/ksp/issues/1728">#1728</a>
ClassCastException when calling KSType.replace() with empty list</li>
<li><a
href="https://redirect.github.com/google/ksp/issues/1713">#1713</a>
NoClassDefFoundError for LZ4Factory when trying KSP2</li>
<li><a
href="https://redirect.github.com/google/ksp/issues/1665">#1665</a>
NoClassDefFound in ksp.useKSP2=true mode</li>
<li><a
href="https://redirect.github.com/google/ksp/issues/1733">#1733</a> ABI
incompatibility with kotlin-compiler-embeddable in 2.0.0-Beta4</li>
<li><a
href="https://redirect.github.com/google/ksp/issues/1714">#1714</a>
Generated resources are not added to KotlinCompilation inputs</li>
<li><a
href="https://redirect.github.com/google/ksp/issues/1747">#1747</a>
isCompanionObject is false for companion objects from KOTLIN_LIB</li>
<li><a
href="https://redirect.github.com/google/ksp/issues/1743">#1743</a>
Incorrect type parameter variances</li>
<li><a
href="https://redirect.github.com/google/ksp/issues/1759">#1759</a>
IllegalStateException when getting the modifiers from properties in a
Java annotation declaration</li>
</ul>
<h3>Issues fixed in KSP Gradle Plugin</h3>
<ul>
<li><a
href="https://redirect.github.com/google/ksp/issues/1712">#1712</a>
Analysis API artifacts have the wrong common-deps dependency</li>
<li><a
href="https://redirect.github.com/google/ksp/issues/1775">#1775</a>
1.0.18 creates circular dependencies with kapt tasks</li>
<li><a
href="https://redirect.github.com/google/ksp/issues/1772">#1772</a>
Update plugin com.google.devtools.ksp to v1.9.22-1.0.18 BUILD
FAILED</li>
</ul>
<h3>Known issues</h3>
<ul>
<li><a
href="https://redirect.github.com/google/ksp/issues/1776">#1776</a> KSP2
has higher memory usage when the compile classpath is very large.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/google/ksp/commits/1.9.23-1.0.19">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.devtools.ksp&package-manager=gradle&previous-version=1.9.22-1.0.18&new-version=1.9.23-1.0.19)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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 this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-20 21:03:39 +08:00
weishu
f555516dc7 ci: revert apksign plugin 2024-03-20 20:03:58 +08:00
weishu
0780d14a83 [no ci]: Don't upload ci manager 2024-03-20 19:22:41 +08:00
weishu
0487170a87 Fix manager signature (#1489)
f48f2fea59
2024-03-20 19:12:39 +08:00
weishu
585ea48904 kernel: Fix sepolicy on ColorOS14 2024-03-20 17:43:37 +08:00
weishu
ba6efb1e3d ci: fix manager ci 2024-03-20 17:42:17 +08:00
weishu
50e38e142d manager: tar oplus log if exists 2024-03-20 16:24:36 +08:00
weishu
494bfef52c ci: fix typo 2024-03-20 16:13:54 +08:00
weishu
4fb50d37cc ci: build manager when kernel changed, don't upload apk for pr builds 2024-03-20 15:42:29 +08:00
weishu
fdb6b6a88a kernel: fix panic cast 2024-03-20 15:39:07 +08:00
weishu
cb3e7f5eb4 ci: only post manager to tg 2024-03-20 15:34:06 +08:00
weishu
f69abf1e51 kernel: hook newfstatat/faccessat syscall instead of unstable symbol 2024-03-20 15:15:26 +08:00
weishu
2fdcdb2b4b kernel: hook syscall instead of unstable symbol 2024-03-20 14:21:19 +08:00