Commit Graph

468 Commits

Author SHA1 Message Date
Rifat Azad 80440e86cb manager: fixed kernelsu-next icon to be material 3 compliant 2024-12-20 00:44:15 +06:00
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 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 1e49553db1 manager: Next modifications, ksud: 16GB sparse image 2024-12-04 01:18:54 +06: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](https://github.com/tiann/KernelSU/commit/1fb49d918a1f5bb76d1e70eb848ede36b2292cd9)
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.

https://github.com/tiann/KernelSU/blob/390bfa9825394bc79b3dd91f9b50336da0f1b6da/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
Light_summer a3d20a1dea manager: Insets stuffs for Android 15 (#2100)
Fix insets on Android 15
Bump dependencies
Migrate Compose Destination to v2

Ready for review now
2024-09-29 15:45:52 +08:00
Whale Choi 7a3bf4441c api: spawn CallbackList use UiThreadHandler::runAndWait executor (#2096)
![jsexception](https://github.com/user-attachments/assets/e8a4744d-bd0a-40bf-869c-def915b66075)

Because the exit callback in js cleans up the ChildProcess, when the
last callback of stdout is executed after the exit callback, an error
like “emitData ReferenceError: spawn_callback_1727358276092_68 is not
defined” will occur.
2024-09-29 13:31:06 +08:00