Commit Graph

515 Commits

Author SHA1 Message Date
Rifat Azad
1b6f041b6c manager: minor change to module_install_prompt_with_name string 2024-12-19 22:46:22 +06:00
Rifat Azad
3d9feeec96 manager: Dropped down MINIMAL_SUPPORTED_KERNEL to 11071 2024-12-19 21:56:04 +06:00
Rifat Azad
e7c4c038b6 manager: night theme fixed 2024-12-19 21:30:58 +06:00
Rifat Azad
aa195c6348 manager: fixed module list refresh after isntallation 2024-12-19 20:25:30 +06:00
Rifat Azad
3eb8768465 manager: changed webroot domain 2024-12-19 19:52:55 +06:00
Rifat Azad
1fc83078fd manager: minor renaming 2024-12-19 19:10:11 +06:00
Rifat Azad
6f0174022c manager: minor change to module_install_prompt_with_name string 2024-12-19 18:46:26 +06:00
Rifat Azad
adf3920caa ksud: added module restore cmd, replaced pkg id for debug and uninstall manager and changed banner
manager: implement restore module UI
2024-12-19 17:33:20 +06:00
Rifat Azad
629d878558 kernel: New KSU_NEXT size/hash 2024-12-18 18:03:25 +06:00
Rifat Azad
21bf2d5639 manager: common detectable package id replaced - me.weishu.kernelsu -> com.rifsxd.ksunext 2024-12-18 15:42:43 +06:00
Rifat Azad
a5ca4f861c manager: added module install confirmation 2024-12-17 16:35:49 +06:00
Rifat Azad
2c976348c2 manager: adjusted InfoCard icon padding 2024-12-17 01:51:26 +06:00
Rifat Azad
ada71f30d8 manager: fixed automirrored icon import 2024-12-16 23:08:18 +06:00
Rifat Azad
1bc11a3220 manager: improved homescreen icons and allowed settings tab to be shown even ksuversion not found 2024-12-16 22:18:33 +06:00
Rifat Azad
4e977e7910 manager: KernleSU Next 2024-12-16 19:38:45 +06:00
Rifat Azad
d347a74df7 manager: tweaked aboutcard vector image & fixed homescreen composition lag 2024-12-16 19:03:00 +06:00
rifsxd
2202aed789 manager: new KernelSU vector image for about card 2024-12-16 14:41:45 +06:00
rifsxd
360ba2625a manager: new KernelSU Next icon added 2024-12-16 13:46:22 +06:00
Rifat Azad
e24fc7c458 manager: adjusted InfoCard padding 2024-12-16 03:51:29 +06:00
Rifat Azad
8f5f472c48 manager: UI improvements to BottomBar, HomeScreen and ModuleScreen 2024-12-15 19:37:43 +06:00
Rifat Azad
440f4278e7 manager: removed duplicate string 2024-12-15 02:44:32 +06:00
Rifat Azad
dc97a50425 manager: fixed wrong string for settings tab 2024-12-14 22:05:35 +06:00
Rifat Azad
b108c4c495 manager: bumped MINIMAL_SUPPORTED_KERNEL & MINIMAL_SUPPORTED_KERNEL_LKM 2024-12-14 21:43:42 +06:00
silvzr
b41a5c250a manager: Improved module card icons 2024-12-14 21:28:52 +06:00
Rifat Azad
c52d128968 manager: Improved UI 2024-12-14 21:19:28 +06:00
Rifat Azad
9eb97a8afa manager: improved InfoCard 2024-12-14 00:02:28 +06:00
Rifat Azad
b714eb1d3b manager: removed InfoCard Fingerprint 2024-12-13 21:26:19 +06:00
Rifat Azad
f0deb0dd0a manager: improved workingMode and debloated HomeCard 2024-12-13 21:22:10 +06:00
Rifat Azad
981fa5e7e7 manager: enabled auto updates 2024-12-13 18:30:04 +06:00
rifsxd
7d6c972ed9 manager: removed shrink sparse image 2024-12-13 12:31:51 +06:00
rifsxd
ee3e6bc7e4 manager: fix about_card crash and removed additional locale 2024-12-13 06:21:43 +06:00
Rifat Azad
086adc0007 manager: minor tweak to about card 2024-12-13 06:21:43 +06:00
Rifat Azad
377d7f28ba manager: remove donate card from home 2024-12-13 06:21:43 +06:00
Rifat Azad
49ecb1933e manager: improved "home_failure" "home_failure_reason" 2024-12-13 06:21:40 +06:00
Rifat Azad
dbdcc529f8 Welcome back magic_mount! 2024-12-13 06:21:40 +06:00
Rifat Azad
856ab8abb3 Update Home.kt
manager: next-magic
2024-12-13 06:21:39 +06:00
Rifat Azad
57f17e9b69 Next-Magic Build 2024-12-13 06:21:39 +06:00
New Author Name
059c6a2d57 ksud: implement magic_mount 2024-12-13 06:19:55 +06:00
Rifat Azad
78eb6bd5e8 manager: strings: slight adjustments 2024-12-04 17:08:56 +06:00
Rifat Azad
783830985c manager: updated keystore 2024-12-04 02:32:34 +06:00
Rifat Azad
1e49553db1 manager: Next modifications, ksud: 16GB sparse image 2024-12-04 01:18:54 +06:00
dependabot[bot]
da38b868a4 build(deps): bump the maven group across 1 directory with 8 updates (#2217)
Bumps the maven group with 8 updates in the /manager directory:

| Package | From | To |
| --- | --- | --- |
| androidx.navigation:navigation-compose | `2.8.3` | `2.8.4` |
| androidx.compose:compose-bom | `2024.10.00` | `2024.11.00` |
| androidx.lifecycle:lifecycle-runtime-ktx | `2.8.6` | `2.8.7` |
| androidx.lifecycle:lifecycle-runtime-compose | `2.8.6` | `2.8.7` |
| androidx.lifecycle:lifecycle-viewmodel-compose | `2.8.6` | `2.8.7` |
| com.android.application | `8.7.1` | `8.7.2` |
| com.android.library | `8.7.1` | `8.7.2` |
| [com.google.devtools.ksp](https://github.com/google/ksp) |
`2.0.21-1.0.26` | `2.0.21-1.0.28` |


Updates `androidx.navigation:navigation-compose` from 2.8.3 to 2.8.4

Updates `androidx.compose:compose-bom` from 2024.10.00 to 2024.11.00

Updates `androidx.lifecycle:lifecycle-runtime-ktx` from 2.8.6 to 2.8.7

Updates `androidx.lifecycle:lifecycle-runtime-compose` from 2.8.6 to
2.8.7

Updates `androidx.lifecycle:lifecycle-viewmodel-compose` from 2.8.6 to
2.8.7

Updates `androidx.lifecycle:lifecycle-runtime-compose` from 2.8.6 to
2.8.7

Updates `androidx.lifecycle:lifecycle-viewmodel-compose` from 2.8.6 to
2.8.7

Updates `com.android.application` from 8.7.1 to 8.7.2

Updates `com.android.library` from 8.7.1 to 8.7.2

Updates `com.android.library` from 8.7.1 to 8.7.2

Updates `com.google.devtools.ksp` from 2.0.21-1.0.26 to 2.0.21-1.0.28
<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.0.21-1.0.28</h2>
<h2>Updates</h2>
<ul>
<li>[KSP2] Running from command line never finishes <a
href="https://redirect.github.com/google/ksp/issues/2176">#2176</a></li>
<li>Introduce KspAATask.commandLineArgumentProviders <a
href="https://redirect.github.com/google/ksp/issues/2201">#2201</a></li>
</ul>
<h2>Contributors</h2>
<p>Thanks to <a
href="https://github.com/GeorgCantor"><code>@​GeorgCantor</code></a> and
everyone who reported bugs and participated in discussions!</p>
<h2>2.0.21-1.0.27</h2>
<h2>Bugs Fixed</h2>
<ul>
<li>KSP2: KtInvalidLifetimeOwnerAccessException: Access to invalid
KtAlwaysAccessibleLifetimeToken: PSI has changed since creation <a
href="https://redirect.github.com/google/ksp/issues/1854">#1854</a></li>
<li>[KSP2] getSymbolsWithAnnotation() doesn't work if the annotation is
an alias in KOTLIN_LIB <a
href="https://redirect.github.com/google/ksp/issues/2024">#2024</a></li>
<li>KotlinSymbolProcessingExtension leaks files due to URLClassLoader
not being closed <a
href="https://redirect.github.com/google/ksp/issues/2159">#2159</a></li>
<li>Unresolvable iOS reference on Linux host <a
href="https://redirect.github.com/google/ksp/issues/2173">#2173</a></li>
<li>Fail to apply ksp before android <a
href="https://redirect.github.com/google/ksp/issues/2174">#2174</a></li>
<li>[KSP2] Mangled names for internal functions are incorrect for
Android modules <a
href="https://redirect.github.com/google/ksp/issues/2180">#2180</a></li>
<li>[KSP2] JVM names for property getters/setters are incorrect if they
start with &quot;is&quot; <a
href="https://redirect.github.com/google/ksp/issues/2181">#2181</a></li>
</ul>
<h2>Contributors</h2>
<p>Thanks to <a
href="https://github.com/jonamireh"><code>@​jonamireh</code></a>, <a
href="https://github.com/kuanyingchou"><code>@​kuanyingchou</code></a>,
<a
href="https://github.com/martinbonnin"><code>@​martinbonnin</code></a>,
<a href="https://github.com/pablobaxter"><code>@​pablobaxter</code></a>,
<a
href="https://github.com/scott-pollom"><code>@​scott-pollom</code></a>,
and everyone who reported bugs and participated in discussions!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="884c2f835a"><code>884c2f8</code></a>
IntelliJ: set application pool threads to daemon</li>
<li><a
href="7ecd1d8c41"><code>7ecd1d8</code></a>
KSP2 command line tool: exit with exit code</li>
<li><a
href="59b9a1f773"><code>59b9a1f</code></a>
Introduce KspAATask.commandLineArgumentProviders</li>
<li><a
href="f5b4b29d57"><code>f5b4b29</code></a>
Enable both KSP1 and KSP2 in gradle plugin tests</li>
<li><a
href="f9460eebfa"><code>f9460ee</code></a>
UPDATE_AA_VERSION: 2.1.20-dev-3305</li>
<li><a
href="2a1a68613e"><code>2a1a686</code></a>
Update KSNameImpl.kt</li>
<li><a
href="cf44710ef2"><code>cf44710</code></a>
CI: Update release branch to 1.0.28</li>
<li><a
href="8f2b41b3f6"><code>8f2b41b</code></a>
Downgrade to Kotlin 2.0.21</li>
<li><a
href="3fac0c1a91"><code>3fac0c1</code></a>
KSP2: fix module names for Android builds</li>
<li><a
href="0d114d9e94"><code>0d114d9</code></a>
Fix a dependency of integration-tests</li>
<li>Additional commits viewable in <a
href="https://github.com/google/ksp/compare/2.0.21-1.0.26...2.0.21-1.0.28">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>
2024-11-22 14:49:17 +08:00
silvzr
30ccaf46f2 manager: Reset search filter after moving from SuperUser destination (#2204)
By default there's an annoying behaviour for which the manager leaves
the search filter after changing destination without even showing the
search bar anymore. Fix that and reset the list to the top instead of
leaving it at the searched app's height


https://github.com/user-attachments/assets/268672af-ced9-4293-81df-4e1c7ef33489
original behaviour



https://github.com/user-attachments/assets/b9b318cf-273a-4130-b199-712e99f6ed72
changed behaviour

Tested-by: backslashxx
[118538522+backslashxx@users.noreply.github.com](mailto:118538522+backslashxx@users.noreply.github.com)
2024-11-11 20:51:13 +08:00
Rissu
a47499686c manager: Fix not refreshing after action button was pressed (#2201)
- This commit fix issue #2171


Tested-by: backslashxx <118538522+backslashxx@users.noreply.github.com>

---------

Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2024-11-11 19:11:34 +08:00
Light_summer
0d7c23a91b manager: Fix save log (#2170)
https://github.com/user-attachments/assets/69467e00-0af9-4d46-add8-e24e767462bd

Use `ContextCompat` in `DownloadListener`
Bump ksp to `2.0.21-1.0.26`
Misc changes (See the
[commit](1fb49d918a)
directly)
2024-10-31 18:06:11 +08:00
Weblate (bot)
5322fa5840 Translations update from Hosted Weblate (#2065)
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: dabao1955 <dabao1955@163.com>
Co-authored-by: SchweGELBin <abramjannikmichael06@gmail.com>
Co-authored-by: Karl Schrader <pokemetti@gmail.com>
Co-authored-by: Dawid2849 <dawid2849@gmail.com>
Co-authored-by: Iker García Calviño <72529208+ikergcalvino@users.noreply.github.com>
Co-authored-by: Madis Otenurm <robotkoer@gmail.com>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: I g o r <igormczampola1@gmail.com>
Co-authored-by: rehork <cooky@e.email>
2024-10-29 14:00:29 +08:00
铃柒柒
a051154c06 manager: Add action.sh for user to manually trigger modules' functionality from manager (#2156)
Commits:
- manager: Add `action.sh` for user to manually trigger modules'
functionality from manager
- manager: Optimize ModuleItem
- manager: uninstall button: TextButton -> FilledTonalButton
- Optimize `run_action` function

Commit Author & Thank:
- @lightsummer233
- @lingqiqi5211
- [APatch](https://github.com/bmax121/APatch)

Demo Show:

![image](https://github.com/user-attachments/assets/a5778a86-fa60-485f-ac49-2b581711f60e)

---------

Co-authored-by: Light summer <93428659+lightsummer233@users.noreply.github.com>
2024-10-27 10:07:13 +01:00
Light_summer
8752cdfa4d manager: Bump dependencies, Adjust pull refresh UI, Add transitions back (#2139)
Bump dependencies


| Add transitions back for predictive back | Fix SnackBar overlap on FAB
& Make SnackBar can dismiss
| :-- | :-- |
|
![Screenshot_20241016-235706](https://github.com/user-attachments/assets/f2718523-9800-42ff-ad2f-ad8583c56be7)
|
![Screenshot_20241018-220552](https://github.com/user-attachments/assets/ed53338b-1ac4-4d0a-a5fb-7056f81cac18)
|

Use `androidx.compose.material3.pulltorefresh.PullToRefreshBox` instead
of `androidx.compose.material.pullrefresh.*`
| Before | After |
| --: | --: |
|
![Screenshot_20241016-234930](https://github.com/user-attachments/assets/6b9dbb87-627b-4a02-8f77-9f9f81ae1b4a)
|
![Screenshot_20241016-235336](https://github.com/user-attachments/assets/9134dde4-93c8-4f85-8540-56a7c5a1b0af)
|

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-19 08:40:02 +08:00
Shatyuka
b8722bc47b manager: detect init_boot with Android version in uname (#2142)
Redmi Note 12 Turbo (marble) comes shipped with Android 13, but the
baseline/kernel target version is Android 12.

```
# getprop | grep api_level
[ro.board.api_level]: [31]
[ro.board.first_api_level]: [31]
[ro.product.first_api_level]: [33]
[ro.vendor.api_level]: [31]
# uname -a
Linux localhost 5.10.198-android12-9-00085-g226a9632f13d-ab11136126 #1 SMP PREEMPT Wed Nov 22 14:16:37 UTC 2023 aarch64 Toybox
```

Maybe we should use `ro.board.first_api_level` instead of
`ro.product.first_api_level`, or the minimum value. But anyway, it's
better to be consistent with ksud.

390bfa9825/userspace/ksud/src/boot_patch.rs (L407)
2024-10-17 19:46:25 +08:00
Light_summer
02bb03a94a manager: Refactor the click logic of ModuleItem (#2105)
Drop `com.google.accompanist` that we needn't it

Remove unused metadata, abi

Optimize app icon (No visual changes)

Update Gradle to 8.10.2

Enable per app language support

Optimize `SwitchItem`


https://github.com/user-attachments/assets/777729e6-5108-4060-91a7-28b5b9d98441

Refactor the click logic of `ModuleItem`


https://github.com/user-attachments/assets/e61da54a-6c1c-45d7-bf27-52b452134b7e

Use compose's Text in AboutCard to support dynamicColor


![Screenshot_20241001-094116](https://github.com/user-attachments/assets/9882a4c1-719d-4622-a316-063cf349a753)

Add scroll behavior for TopAppBar


![Screenshot_20241001-133657.png](https://github.com/user-attachments/assets/1a884648-bc91-4f8a-9940-f2a5f0b8f6da)

![Screenshot_20241001-133645.png](https://github.com/user-attachments/assets/cd4712d3-a2c7-47f1-bba4-4312b779f6b1)

Fix padding for BottomNavigationBar
2024-10-01 20:40:16 +08:00