Commit Graph

594 Commits

Author SHA1 Message Date
WenHao2130
51337ee7ee manager: fix translation errors in zh_CN (#1790) 2024-06-01 22:07:16 +08:00
Caner Karaca
dc233700aa Update Dependencies and Migrate to Kotlin 2 (#1765)
Corrections/edits and reviews always welcomed.

Migrate to Kotlin 2
Updated dependencies
Refreshed lock files
2024-05-25 11:07:27 +08:00
Alex
d6860160e8 Added a feature to save logs to local storage (#1741)
- Added export logs to local storage
[1664](https://github.com/tiann/KernelSU/issues/1664)

---------

Co-authored-by: weishu <twsxtd@gmail.com>
2024-05-23 10:46:44 +08:00
weishu
b67c3122d3 manager: remove jvm restrictions 2024-05-19 12:13:35 +08:00
Alex
d36e365921 Refactor checkNewVersion function to use LatestVersionInfo data class (#1733)
- Updated the checkNewVersion function to return a LatestVersionInfo
data class instead of a Triple.
- Defined default null value for LatestVersionInfo in case of failure.
- Improved readability and maintainability by replacing the Triple with
a data class.
- Included version code, download URL, and changelog in the
LatestVersionInfo data class.

---------

Co-authored-by: weishu <twsxtd@gmail.com>
2024-05-16 15:35:14 +08:00
dependabot[bot]
2e94e07d70 build(deps): bump lifecycle from 2.7.0 to 2.8.0 in /manager (#1735)
Bumps `lifecycle` from 2.7.0 to 2.8.0.
Updates `androidx.lifecycle:lifecycle-runtime-ktx` from 2.7.0 to 2.8.0

Updates `androidx.lifecycle:lifecycle-runtime-compose` from 2.7.0 to
2.8.0

Updates `androidx.lifecycle:lifecycle-viewmodel-compose` from 2.7.0 to
2.8.0


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-05-16 10:34:20 +08:00
dependabot[bot]
99e2707be4 build(deps): bump org.jetbrains.kotlinx:kotlinx-coroutines-core from 1.8.0 to 1.8.1 in /manager (#1722)
Bumps
[org.jetbrains.kotlinx:kotlinx-coroutines-core](https://github.com/Kotlin/kotlinx.coroutines)
from 1.8.0 to 1.8.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/Kotlin/kotlinx.coroutines/releases">org.jetbrains.kotlinx:kotlinx-coroutines-core's
releases</a>.</em></p>
<blockquote>
<h2>1.8.1</h2>
<ul>
<li>Remove the <code>@ExperimentalTime</code> annotation from usages of
<code>TimeSource</code> (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4046">#4046</a>).
Thanks, <a
href="https://github.com/hfhbd"><code>@​hfhbd</code></a>!</li>
<li>Introduce a workaround for an Android bug that caused an occasional
<code>NullPointerException</code> when setting the
<code>StateFlow</code> value on old Android devices (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3820">#3820</a>).</li>
<li>No longer use <code>kotlin.random.Random</code> as part of
<code>Dispatchers.Default</code> and <code>Dispatchers.IO</code>
initialization (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4051">#4051</a>).</li>
<li><code>Flow.timeout</code> throws the exception with which the
channel was closed (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4071">#4071</a>).</li>
<li>Small tweaks and documentation fixes.</li>
</ul>
<h2>1.8.1-Beta</h2>
<ul>
<li>Remove the <code>@ExperimentalTime</code> annotation from usages of
<code>TimeSource</code> (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4046">#4046</a>).
Thanks, <a
href="https://github.com/hfhbd"><code>@​hfhbd</code></a>!</li>
<li>Attempt a workaround for an Android bug that caused an occasional
<code>NullPointerException</code> when setting the
<code>StateFlow</code> value on old Android devices (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3820">#3820</a>).</li>
<li>No longer use <code>kotlin.random.Random</code> as part of
<code>Dispatchers.Default</code> and <code>Dispatchers.IO</code>
initialization (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4051">#4051</a>).</li>
<li>Small tweaks.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md">org.jetbrains.kotlinx:kotlinx-coroutines-core's
changelog</a>.</em></p>
<blockquote>
<h2>Version 1.8.1</h2>
<ul>
<li>Remove the <code>@ExperimentalTime</code> annotation from usages of
<code>TimeSource</code> (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4046">#4046</a>).
Thanks, <a
href="https://github.com/hfhbd"><code>@​hfhbd</code></a>!</li>
<li>Introduce a workaround for an Android bug that caused an occasional
<code>NullPointerException</code> when setting the
<code>StateFlow</code> value on old Android devices (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3820">#3820</a>).</li>
<li>No longer use <code>kotlin.random.Random</code> as part of
<code>Dispatchers.Default</code> and <code>Dispatchers.IO</code>
initialization (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4051">#4051</a>).</li>
<li><code>Flow.timeout</code> throws the exception with which the
channel was closed (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4071">#4071</a>).</li>
<li>Small tweaks and documentation fixes.</li>
</ul>
<h3>Changelog relative to version 1.8.1-Beta</h3>
<ul>
<li><code>Flow.timeout</code> throws the exception with which the
channel was closed (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4071">#4071</a>).</li>
<li>Small documentation fixes.</li>
</ul>
<h2>Version 1.8.1-Beta</h2>
<ul>
<li>Remove the <code>@ExperimentalTime</code> annotation from usages of
<code>TimeSource</code> (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4046">#4046</a>).
Thanks, <a
href="https://github.com/hfhbd"><code>@​hfhbd</code></a>!</li>
<li>Attempt a workaround for an Android bug that caused an occasional
<code>NullPointerException</code> when setting the
<code>StateFlow</code> value on old Android devices (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3820">#3820</a>).</li>
<li>No longer use <code>kotlin.random.Random</code> as part of
<code>Dispatchers.Default</code> and <code>Dispatchers.IO</code>
initialization (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4051">#4051</a>).</li>
<li>Small tweaks.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="cd696d3f8f"><code>cd696d3</code></a>
Version 1.8.1</li>
<li><a
href="c1ba5af8c5"><code>c1ba5af</code></a>
Fix the ticker channel example giving wrong results on the website (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4109">#4109</a>)</li>
<li><a
href="2430d9a799"><code>2430d9a</code></a>
Fix broken API reference links to the Project Reactor Javadoc (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4111">#4111</a>)</li>
<li><a
href="f22b229a09"><code>f22b229</code></a>
fix the link to <code>Thread.uncaughtExceptionHandler</code></li>
<li><a
href="515308dc3d"><code>515308d</code></a>
fix: get rid of horizontal scrolling by splitting the comment and show
more c...</li>
<li><a
href="f8d1821f13"><code>f8d1821</code></a>
Fix typo in coroutine-context-and-dispatchers.md (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3941">#3941</a>)</li>
<li><a
href="20707d35ac"><code>20707d3</code></a>
fix: remove <code>sampleStart</code> and <code>sampleEnd</code> comments
from example in coroutine-...</li>
<li><a
href="01485343b4"><code>0148534</code></a>
chore: fix identation in example loadContributorsBlocking() (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4085">#4085</a>)</li>
<li><a
href="74774df13a"><code>74774df</code></a>
Docs: reference to The Hitchhiker's Guide to the Galaxy (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4082">#4082</a>)</li>
<li><a
href="d106ac7c36"><code>d106ac7</code></a>
Docs: avoid scrolling sample code; fix test description; add () to
functions ...</li>
<li>Additional commits viewable in <a
href="https://github.com/Kotlin/kotlinx.coroutines/compare/1.8.0...1.8.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.jetbrains.kotlinx:kotlinx-coroutines-core&package-manager=gradle&previous-version=1.8.0&new-version=1.8.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-05-16 10:33:59 +08:00
dependabot[bot]
a943528d82 build(deps): bump agp from 8.3.2 to 8.4.0 in /manager (#1688)
Bumps `agp` from 8.3.2 to 8.4.0.
Updates `com.android.application` from 8.3.2 to 8.4.0

Updates `com.android.library` from 8.3.2 to 8.4.0


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-05-09 10:04:21 +08:00
Weblate (bot)
e0267a22f8 Translations update from Hosted Weblate (#1662)
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: Fede2782 <78815152+Fede2782@users.noreply.github.com>
Co-authored-by: Ričards L <ricards.lacis18@gmail.com>
Co-authored-by: Pierre GRASSER <pierre.grasser@proton.me>
Co-authored-by: yuztass <inkognito0901@gmail.com>
Co-authored-by: AndroPlus <hosigumayuugi@gmail.com>
Co-authored-by: dabao1955 <dabao1955@163.com>
Co-authored-by: Igor Sorocean <sorocean.igor@gmail.com>
2024-05-08 16:02:12 +08:00
dependabot[bot]
57b96da9db build(deps): bump androidx.compose:compose-bom from 2024.04.01 to 2024.05.00 in /manager (#1691)
Bumps androidx.compose:compose-bom from 2024.04.01 to 2024.05.00.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=androidx.compose:compose-bom&package-manager=gradle&previous-version=2024.04.01&new-version=2024.05.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-05-07 19:04:16 +08:00
dependabot[bot]
0134b27ca7 build(deps): bump androidx.webkit:webkit from 1.10.0 to 1.11.0 in /manager (#1692)
Bumps androidx.webkit:webkit from 1.10.0 to 1.11.0.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=androidx.webkit:webkit&package-manager=gradle&previous-version=1.10.0&new-version=1.11.0)](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-05-07 19:03:58 +08:00
Light_summer
f2816653d9 manager: Make SwitchItem can be click like preference (#1697)
Use `AutoMirrored` icon
Drop some deprecated methods
Remove unused imports
Add bottom padding for AppProfileTemplateScreen to avoid display content
behind fab
2024-05-04 20:41:05 +08:00
fsxitutu
839fc0534e Add magiskboot to kernelsu working directory (#1684)
Add the magiskboot binary to the /data/adb/ksu/bin directory so that
scripts/programs can call magiskboot to patch the boot/init_boot image.

---------

Co-authored-by: weishu <twsxtd@gmail.com>
2024-05-01 09:48:59 +08:00
dependabot[bot]
e9b6fcfa22 build(deps): bump androidx.activity:activity-compose from 1.8.2 to 1.9.0 in /manager (#1645)
Bumps androidx.activity:activity-compose from 1.8.2 to 1.9.0.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=androidx.activity:activity-compose&package-manager=gradle&previous-version=1.8.2&new-version=1.9.0)](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-04-30 12:58:31 +08:00
weishu
ac4c6f7895 manager: Fix select kmi not working 2024-04-24 00:29:43 +08:00
weishu
52c7f0e2bf manager: extract flashWithIO 2024-04-23 15:51:04 +08:00
weishu
05eb280d79 manager: hide "uninstall temporary" temporarily. 2024-04-23 15:38:18 +08:00
weishu
97dd3d9ec2 manager: Add UI for uninstall permanently 2024-04-23 15:37:42 +08:00
Weblate (bot)
3750e6e759 Translations update from Hosted Weblate (#1635)
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: Igor Sorocean <sorocean.igor@gmail.com>
Co-authored-by: Ali Beyaz <alipolatbeyaz@gmail.com>
Co-authored-by: rehork <cooky@e.email>
Co-authored-by: dabao1955 <dabao1955@163.com>
Co-authored-by: Bilchuk Radomyr <bilchuk.radomyr@gmail.com>
Co-authored-by: Nostalgia <2455367098@qq.com>
Co-authored-by: Kazuki Nakashima <flukfik41@gmail.com>
Co-authored-by: yuztass <inkognito0901@gmail.com>
Co-authored-by: ngocanhtve <ngocanh.tve@gmail.com>
Co-authored-by: _wais <cikomo.game@gmail.com>
2024-04-20 22:30:50 +08:00
dependabot[bot]
dff1452eaa build(deps): bump androidx.compose:compose-bom from 2024.04.00 to 2024.04.01 in /manager (#1644)
Bumps androidx.compose:compose-bom from 2024.04.00 to 2024.04.01.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=androidx.compose:compose-bom&package-manager=gradle&previous-version=2024.04.00&new-version=2024.04.01)](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-04-19 22:05:57 +08:00
TinyHai
1f67487c37 fix grant root failed #1559 (#1633) 2024-04-16 22:02:55 +08:00
weishu
b1a225799a manager: Allow to use other su to install 2024-04-15 12:32:29 +08:00
Weblate (bot)
2e2992a1c2 Translations update from Hosted Weblate (#1617)
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: yuztass <inkognito0901@gmail.com>
Co-authored-by: Skallr2 <pm563838@gmail.com>
Co-authored-by: Oğuz Han <h4n.3545@gmail.com>
Co-authored-by: _wais <cikomo.game@gmail.com>
Co-authored-by: rehork <cooky@e.email>
Co-authored-by: Bilchuk Radomyr <bilchuk.radomyr@gmail.com>
Co-authored-by: Muhammad Bahaa <muhammad.bahaa1@gmail.com>
Co-authored-by: Nostalgia <2455367098@qq.com>
Co-authored-by: dabao1955 <dabao1955@163.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Fede2782 <78815152+Fede2782@users.noreply.github.com>
Co-authored-by: I g o r <igormczampola1@gmail.com>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: sus <jeffpeng2012@gmail.com>
Co-authored-by: Ali Beyaz <alipolatbeyaz@gmail.com>
2024-04-15 11:56:04 +08:00
5ec1cff
60dd52afd1 ksud: backup stock image and use it when restore (#1619) 2024-04-14 00:45:06 +08:00
Wang Han
1be266b6f6 Register receiver with RECEIVER_EXPORTED (#1620) 2024-04-13 18:48:29 +08:00
Caner Karaca
1e029eddee Update (#1618) 2024-04-13 16:43:45 +08:00
weishu
f0b18a1e18 manager: Add uninstall ui 2024-04-13 12:49:54 +08:00
Weblate (bot)
a7f54af273 Translations update from Hosted Weblate (#1578)
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: yuztass <inkognito0901@gmail.com>
Co-authored-by: Skallr2 <pm563838@gmail.com>
Co-authored-by: Oğuz Han <h4n.3545@gmail.com>
Co-authored-by: _wais <cikomo.game@gmail.com>
Co-authored-by: rehork <cooky@e.email>
Co-authored-by: Bilchuk Radomyr <bilchuk.radomyr@gmail.com>
2024-04-12 22:11:26 +08:00
dependabot[bot]
7c9246bc15 build(deps): bump agp from 8.3.1 to 8.3.2 in /manager (#1611)
Bumps `agp` from 8.3.1 to 8.3.2.
Updates `com.android.application` from 8.3.1 to 8.3.2

Updates `com.android.library` from 8.3.1 to 8.3.2


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-04-12 14:36:22 +08:00
ice
6aa0e4cf28 manager: Use AM instead of Monkey to start the app. (#1614)
Using Monkey will unlock the rotation, and possibly more unintended
behavior.
link: [ADB shell monkey command changing device orientation
lock](https://stackoverflow.com/q/56684778)
2024-04-11 13:30:06 +08:00
dependabot[bot]
605d33056b build(deps): bump androidx.compose:compose-bom from 2024.03.00 to 2024.04.00 in /manager (#1589)
Bumps androidx.compose:compose-bom from 2024.03.00 to 2024.04.00.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=androidx.compose:compose-bom&package-manager=gradle&previous-version=2024.03.00&new-version=2024.04.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-04-08 12:42:53 +08:00
dependabot[bot]
112321f9cc build(deps): bump com.google.devtools.ksp from 1.9.23-1.0.19 to 1.9.23-1.0.20 in /manager (#1593)
Bumps [com.google.devtools.ksp](https://github.com/google/ksp) from
1.9.23-1.0.19 to 1.9.23-1.0.20.
<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.20</h2>
<h2>KSP1 issues fixed</h2>
<ul>
<li>performance optimization for certain workload consists of heavy Java
files, including
<ul>
<li>Replace IdKey's impl with identityHashCode <a
href="https://redirect.github.com/google/ksp/issues/1804">#1804</a></li>
<li>Cache enclosed descriptors by name <a
href="https://redirect.github.com/google/ksp/issues/1808">#1808</a></li>
</ul>
</li>
<li>Add excludedSources to the KSP extension object <a
href="https://redirect.github.com/google/ksp/issues/1793">#1793</a>
thanks to <a
href="https://github.com/bitspittle"><code>@​bitspittle</code></a></li>
</ul>
<h2>KSP2 issues fixed</h2>
<ul>
<li>NoClassDefFoundError for LZ4Factory when trying KSP2 <a
href="https://redirect.github.com/google/ksp/issues/1713">#1713</a></li>
<li>Calling KSType.replace() with original arguments results in <!-- raw
HTML omitted --> <a
href="https://redirect.github.com/google/ksp/issues/1807">#1807</a></li>
<li>Static fields in base class appear in derived classes <a
href="https://redirect.github.com/google/ksp/issues/1744">#1744</a></li>
<li>fix backing field checking for top level callables</li>
<li>support sealed inheritors lookup.</li>
<li>support type alias for getSymbolsWithAnnotation</li>
<li>support more types for reference elements</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="a96538743e"><code>a965387</code></a>
UPDATE_KOTLIN_VERSION: 1.9.23</li>
<li><a
href="96361a97ac"><code>96361a9</code></a>
Downgrade Kotlin to 2.0.0-Beta4</li>
<li><a
href="ea7e9d2cd4"><code>ea7e9d2</code></a>
Revert &quot;UPDATE_KOTLIN_VERSION: 1.9.30-dev-2548&quot;</li>
<li><a
href="a2b9298c14"><code>a2b9298</code></a>
Revert &quot;UPDATE_KOTLIN_VERSION: 2.0.0-dev-4562&quot;</li>
<li><a
href="cdce1978a1"><code>cdce197</code></a>
Revert &quot;Downgrade Kotlin to 2.0.0-Beta4&quot;</li>
<li><a
href="4d5849a3a5"><code>4d5849a</code></a>
Revert &quot;UPDATE_KOTLIN_VERSION: 2.0.0-Beta5&quot;</li>
<li><a
href="5418453824"><code>5418453</code></a>
Remove dep to javax.annotation.ParametersAreNonnullByDefault</li>
<li><a
href="70a232306c"><code>70a2323</code></a>
UPDATE_KOTLIN_VERSION: 2.0.0-Beta5</li>
<li><a
href="815b7a072d"><code>815b7a0</code></a>
Keep more classes in uber jar</li>
<li><a
href="acc00dda96"><code>acc00dd</code></a>
Do not minimize lz4-java</li>
<li>Additional commits viewable in <a
href="https://github.com/google/ksp/compare/1.9.23-1.0.19...1.9.23-1.0.20">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.23-1.0.19&new-version=1.9.23-1.0.20)](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-04-08 12:42:35 +08:00
Wang Han
57314c9963 Exclude minidump.gz when collecting xiaomi logs (#1592)
Saves about ~80MB space.
2024-04-06 12:30:33 +08:00
Weblate (bot)
e7dfaefaac Translations update from Hosted Weblate (#1567)
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: I g o r <igormczampola1@gmail.com>
Co-authored-by: Igor Sorocean <sorocean.igor@gmail.com>
Co-authored-by: Ali Beyaz <alipolatbeyaz@gmail.com>
Co-authored-by: weishu tian <twsxtd@gmail.com>
Co-authored-by: _wais <cikomo.game@gmail.com>
Co-authored-by: dabao1955 <dabao1955@163.com>
Co-authored-by: yuztass <inkognito0901@gmail.com>
Co-authored-by: Skallr2 <pm563838@gmail.com>
Co-authored-by: Kazuki Nakashima <flukfik41@gmail.com>
Co-authored-by: sus <jeffpeng2012@gmail.com>
Co-authored-by: Dawid2849 <dawid2849@gmail.com>
Co-authored-by: Dawid2849 <dawiddziewa24@gmail.com>
Co-authored-by: Federico Lombardo <fede2782@users.noreply.hosted.weblate.org>
Co-authored-by: Tebbe Ubben <kontakt@tebbeubben.de>
Co-authored-by: Fede2782 <78815152+Fede2782@users.noreply.github.com>
2024-04-02 23:02:48 +08:00
weishu
2df8caaa85 manager: Create new root shell for time consuming task 2024-04-01 12:34:42 +08:00
weishu
31fbeef7e3 manager: Add module shrink to settings. close #1572 2024-04-01 12:23:41 +08:00
Weblate (bot)
eba87b7223 Translations update from Hosted Weblate (#1548)
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: I g o r <igormczampola1@gmail.com>
Co-authored-by: Igor Sorocean <sorocean.igor@gmail.com>
Co-authored-by: Ali Beyaz <alipolatbeyaz@gmail.com>
Co-authored-by: weishu tian <twsxtd@gmail.com>
Co-authored-by: _wais <cikomo.game@gmail.com>
Co-authored-by: dabao1955 <dabao1955@163.com>
Co-authored-by: yuztass <inkognito0901@gmail.com>
Co-authored-by: Skallr2 <pm563838@gmail.com>
Co-authored-by: Kazuki Nakashima <flukfik41@gmail.com>
Co-authored-by: sus <jeffpeng2012@gmail.com>
Co-authored-by: Dawid2849 <dawid2849@gmail.com>
Co-authored-by: Dawid2849 <dawiddziewa24@gmail.com>
Co-authored-by: Federico Lombardo <fede2782@users.noreply.hosted.weblate.org>
Co-authored-by: Tebbe Ubben <kontakt@tebbeubben.de>
2024-03-31 00:40:40 +08:00
Light_summer
a81201f368 manager: Fix round corner for Module Info Card (#1565)
| Before | After |
| :----- | :----- |
|
![Screenshot_20240330-183552](https://github.com/tiann/KernelSU/assets/93428659/b42b2e90-2d52-4d0f-964a-2288aeec3d8a)
|
![Screenshot_20240330-183539](https://github.com/tiann/KernelSU/assets/93428659/8272cd5e-6bfc-4444-9bac-19d95cc4b9cb)
|
2024-03-30 21:00:44 +08:00
Weblate (bot)
58416be4a5 Translations update from Hosted Weblate (#1523)
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: I g o r <igormczampola1@gmail.com>
Co-authored-by: Igor Sorocean <sorocean.igor@gmail.com>
Co-authored-by: Ali Beyaz <alipolatbeyaz@gmail.com>
Co-authored-by: weishu tian <twsxtd@gmail.com>
Co-authored-by: _wais <cikomo.game@gmail.com>
Co-authored-by: dabao1955 <dabao1955@163.com>
Co-authored-by: yuztass <inkognito0901@gmail.com>
Co-authored-by: Skallr2 <pm563838@gmail.com>
Co-authored-by: Kazuki Nakashima <flukfik41@gmail.com>
Co-authored-by: sus <jeffpeng2012@gmail.com>
2024-03-28 11:16:15 +08:00
weishu
09402ccfa6 manager: Fix template escape 2024-03-27 14:17:39 +08:00
5ec1cff
8b85e003f6 manager: refine webui (#1535) 2024-03-26 17:16:01 +08:00
5ec1cff
c4d28e6256 manager: open webui in single task (#1531) 2024-03-26 08:55:34 +08:00
Caner Karaca
5167dc7352 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
5ec1cff
fc613d5b6a manager: splash screen follows system dark mode (#1515) 2024-03-24 11:19:44 +08:00
weishu
998664402d manager: upgrade apksign plugin 2024-03-23 16:54:59 +08:00
weishu
7451d0fb83 manager: make some shell op suspend 2024-03-23 15:12:34 +08:00
weishu
98030ee1ae manager: support choose kmi manually. close #1496 2024-03-23 12:30:27 +08:00
weishu
e124aab76a manager: get kmi info from ksud 2024-03-23 10:53:19 +08:00
weishu
b2d0de325f manager: allow scroll in settings screen. close #1501 2024-03-23 10:26:56 +08:00
dependabot[bot]
24385691ea 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