Commit Graph

1990 Commits

Author SHA1 Message Date
searinminecraft
20b37d9659 Translated using Weblate (Filipino)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/fil/
2025-08-17 11:02:02 +02:00
Vietnamese
160fbd88ac Translated using Weblate (Vietnamese)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/vi/
2025-08-17 11:02:00 +02:00
Максим Горпиніч
8469d5ab44 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/uk/
2025-08-15 20:02:04 +00:00
Vietnamese
2385866e36 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/vi/
2025-08-14 07:02:42 +02:00
Hosted Weblate
7a1368fad5 Merge remote-tracking branch 'origin/main' 2025-08-13 03:07:17 +02:00
Vietnamese
dbda739f51 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/vi/
2025-08-13 03:07:16 +02:00
Tashfin Shakeer Rhythm
1ccdbc2b76 kernel: selinux: rules: Micro-optimize get_policydb() and fix illegal RCU lock usage in handle_sepolicy() (#2695)
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2025-08-13 09:07:06 +08:00
Hosted Weblate
ffdeaac5f6 Merge remote-tracking branch 'origin/main' 2025-08-12 03:16:16 +02:00
Wang Han
539d44b8a0 Update resetprop from Magisk v30.2 (#2700)
This version of resetprop properly cleans up dirty backup area.
2025-08-12 09:16:08 +08:00
_wais
144974e876 Translated using Weblate (Indonesian)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/id/
2025-08-09 19:02:01 +00:00
xyzl
135256ae72 Translated using Weblate (Danish)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/da/
2025-07-26 04:58:44 +02:00
_wais
3c60216050 Translated using Weblate (Indonesian)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/id/
2025-07-26 04:58:43 +02:00
xyzl
25347d0229 Translated using Weblate (Danish)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/da/
2025-07-25 14:18:12 +02:00
Rex_sa
75d1dcb464 Translated using Weblate (Arabic)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/ar/
2025-07-25 14:18:12 +02:00
Phạm Ngọc Vũ
64927d872b Translated using Weblate (Vietnamese)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/vi/
2025-07-23 08:06:04 +02:00
Hosted Weblate
2f59aac1ac Merge remote-tracking branch 'origin/main' 2025-07-20 07:46:54 +02:00
ukriu
67fa81b60c ksud: support vendor_boot patching for some odd devices (#2650)
This will add support to patch vendor_boot with LKM for devices which
have their init ramdisk inside of vendor_boot and not boot/init_boot.

---------

Co-authored-by: Rifat Azad <rifat.44.azad.rifs@gmail.com>
Co-authored-by: 5ec1cff <ewtqyqyewtqyqy@gmail.com>
Co-authored-by: 5ec1cff <56485584+5ec1cff@users.noreply.github.com>
2025-07-20 13:46:47 +08:00
wuchenxiuwu
b9d7a9dd3f Translated using Weblate (Danish)
Currently translated at 54.2% (76 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/da/
2025-07-20 07:03:11 +02:00
Hosted Weblate
aec72cba34 Merge remote-tracking branch 'origin/main' 2025-07-18 09:10:50 +00:00
dabao1955
fb15777ae4 Translated using Weblate (Dutch)
Currently translated at 99.2% (139 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/nl/
2025-07-18 09:10:49 +00:00
5ec1cff
6c61a8b7c7 ksud: make clippy happy (#2683)
e1be06240d/clippy_lints/src/format_args.rs (L168)
2025-07-18 17:10:40 +08:00
Hosted Weblate
8654f85670 Merge remote-tracking branch 'origin/main' 2025-07-14 10:04:39 +02:00
wxxsfxyzm
ee72b8e106 feat(ui): improve predictive back animations (#2675)
## Summary
This pull request introduces custom screen transition animations to
enhance the overall user experience during navigation.

The key change is the implementation of a custom slide/fade effect for
navigating from main screens (i.e., screens hosted in the bottom
navigation bar) to detail screens. Transitions between the bottom
navigation bar tabs themselves retain a simple, clean cross-fade effect
to ensure a fast and smooth user interaction.

This PR also addresses the root cause of an issue where custom
animations were being overridden by the navigation library's defaults.

## Root Cause
During implementation, it was discovered that custom transition
animations defined in the `defaultTransitions` parameter of the
`DestinationsNavHost` in `MainActivity` were not being applied. Instead,
a default fade-in/fade-out animation was always present.

The root cause was traced to the `compose-destinations` KSP (Kotlin
Symbol Processing) code generator. By default, the generator creates a
`NavGraphSpec` (e.g., `RootNavGraph.kt`) that includes its own
`defaultTransitions` property. This property, defined at compile-time
within the generated graph object, has a higher precedence than the
`defaultTransitions` parameter supplied to the `DestinationsNavHost`
composable at runtime.

As a result, our intended custom animations were being ignored and
overridden by the generated default.

## Solution
To resolve this precedence issue permanently, this PR adopts the
official configuration method recommended by the `compose-destinations`
library.

- The following KSP argument has been added to the
`app/build.gradle.kts` file:

```kotlin
ksp {
    arg("compose-destinations.defaultTransitions", "none")
}
```

- This argument instructs the code generator to omit the
`defaultTransitions` property from the generated `NavGraphSpec`.

- By removing the higher-priority, generated default, the
`defaultTransitions` parameter on `DestinationsNavHost` now functions as
the effective default, allowing our custom animation logic to execute as
intended.

## Animation Logic Details
The new animation logic is conditional and defined within
`MainActivity`. It distinguishes between two primary navigation types:

- Main Screen → Detail Screen:

   - Enter: The new detail screen slides in from the right.

   - Exit: The old main screen slides out to the left while fading out.

- Detail Screen → Main Screen (on Pop):

- Pop Enter: The main screen slides back in from the left while fading
in.

   - Pop Exit: The detail screen slides out to the right.

- Between Bottom Navigation Tabs:

- A simple cross-fade (`fadeIn`/`fadeOut`) is maintained for these
transitions to provide a quick and non-disruptive experience when
switching between primary sections of the app.
2025-07-14 16:04:31 +08:00
Kazuki Nakashima
7b47a9f19f Translated using Weblate (Thai)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/th/
2025-07-12 15:01:49 +00:00
Hosted Weblate
940f150153 Merge remote-tracking branch 'origin/main' 2025-07-11 15:33:05 +02:00
Rifat Azad
9034086ad4 kernel: added new prctl CMD_GET_MANAGER_UID to get the uid of the crowned manager (#2673) 2025-07-11 21:32:58 +08:00
Hosted Weblate
53336ce4c6 Merge remote-tracking branch 'origin/main' 2025-07-10 12:33:13 +02:00
Tashfin Shakeer Rhythm
9014c663d1 kernel: selinux: rules: Fix illegal RCU lock usage in apply_kernelsu_rules() (#2646)
When kernel is compiled with CONFIG_DEBUG_ATOMIC_SLEEP enabled, it
prints the following splat in dmesg during post boot:

[ 6.739169] init: Opening SELinux policy
[ 6.751520] init: Loading SELinux policy
[ 6.894684] SELinux: policy capability network_peer_controls=1 [
6.894688] SELinux: policy capability open_perms=1 [ 6.894690] SELinux:
policy capability extended_socket_class=1 [ 6.894691] SELinux: policy
capability always_check_network=0 [ 6.894693] SELinux: policy capability
cgroup_seclabel=0 [ 6.894695] SELinux: policy capability
nnp_nosuid_transition=1 [ 7.214323] selinux: SELinux: Loaded file
context from: [ 7.214332] selinux:
/system/etc/selinux/plat_file_contexts [ 7.214339] selinux:
/system_ext/etc/selinux/system_ext_file_contexts [ 7.214345] selinux:
/product/etc/selinux/product_file_contexts [ 7.214350] selinux:
/vendor/etc/selinux/vendor_file_contexts [ 7.214356] selinux:
/odm/etc/selinux/odm_file_contexts [ 7.216398] KernelSU:
/system/bin/init argc: 2
[ 7.216401] KernelSU: /system/bin/init first arg: second_stage [
7.216403] KernelSU: /system/bin/init second_stage executed [ 7.216506]
BUG: sleeping function called from invalid context at
security/selinux/ss/hashtab.c:47 [ 7.216512] in_atomic(): 0,
irqs_disabled(): 0, non_block: 0, pid: 1, name: init [ 7.216516]
preempt_count: 0, expected: 0
[ 7.216518] RCU nest depth: 1, expected: 0
[ 7.216524] CPU: 6 PID: 1 Comm: init Not tainted
5.4.289-Scarlet-v2.0-beta3 #1 [ 7.216526] Hardware name: redwood based
Qualcomm Technologies, Inc. SM7325 (DT) [ 7.216528] Call trace:
[ 7.216536] dump_backtrace+0x0/0x210
[ 7.216539] show_stack+0x14/0x20
[ 7.216544] dump_stack+0x9c/0xec
[ 7.216548] __might_resched+0x1f0/0x210
[ 7.216552] hashtab_insert+0x38/0x230
[ 7.216557] add_type+0xd4/0x2e0
[ 7.216559] ksu_type+0x24/0x60
[ 7.216562] apply_kernelsu_rules+0xa8/0x650
[ 7.216565] ksu_handle_execveat_ksud+0x2a8/0x460
[ 7.216568] ksu_handle_execveat+0x2c/0x60
[ 7.216571] __arm64_sys_execve+0xe8/0xf0
[ 7.216574] el0_svc_common+0xf4/0x1a0
[ 7.216577] do_el0_svc+0x2c/0x40
[ 7.216579] el0_sync_handler+0x18c/0x200
[ 7.216582] el0_sync+0x140/0x180

This is because apply_kernelsu_rules() uses rcu_read_lock() to protect
SELinux policy modifications. However, cond_resched() from
hashtab_insert() at security/selinux/ss/hashtab.c is internally called
and it sleeps which is illegal under an RCU read-side critical section.

While replacing it with a spinlock would suppress the warning, this is
fundamentally incorrect because sleeping is illegal while holding a
spinlock and spinlock would turn off preemption which isn't an ideal
solution since it intentionally turns off rescheduling, and can lead to
deadlocks.

Instead, replace the RCU lock with a mutex lock. Mutex lock allows
sleeping when necessary, which is appropriate here because
apply_kernelsu_rules() runs in process context, not in atomic or
interrupt context. As apply_kernelsu_rules() is invoked only once during
post boot (SYSTEM_RUNNING), the mutex lock does not introduce any major
runtime performance regression and provides correct synchronization.

Fixes: https://github.com/tiann/KernelSU/issues/2637

Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2025-07-10 18:32:09 +08:00
yuztass
bc59ed2d7f Translated using Weblate (Russian)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/ru/
2025-07-06 06:00:38 +02:00
Global Offensive
d9c94ac63a Translated using Weblate (Bosnian)
Currently translated at 53.5% (75 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/bs/
2025-07-03 21:01:46 +02:00
Léane GRASSER
9042fb867c Translated using Weblate (French)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/fr/
2025-07-01 11:02:02 +02:00
EESF-2
609fcf8f88 Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/zh_Hant/
2025-07-01 11:02:01 +02:00
rehork
415ad13dad Translated using Weblate (Polish)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/pl/
2025-07-01 11:02:00 +02:00
_wais
30bd643086 Translated using Weblate (Indonesian)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/id/
2025-07-01 11:01:58 +02:00
xradens
b939415d8d Translated using Weblate (Indonesian)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/id/
2025-07-01 11:01:56 +02:00
_wais
43ed7eedae Translated using Weblate (Indonesian)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/id/
2025-07-01 11:01:54 +02:00
I g o r
306ba62755 Translated using Weblate (Filipino)
Currently translated at 22.1% (31 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/fil/
2025-06-29 15:48:47 +02:00
I g o r
71d2f9638a Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/pt_BR/
2025-06-29 15:48:44 +02:00
I g o r
19e5343c60 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/pt_BR/
2025-06-29 15:48:44 +02:00
I g o r
589616a5ed Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/pt_BR/
2025-06-29 15:48:44 +02:00
I g o r
0c26677594 Translated using Weblate (English)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/en/
2025-06-29 15:48:42 +02:00
Mehrab Poladov
788cf0ed31 Translated using Weblate (Azerbaijani)
Currently translated at 65.0% (91 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/az/
2025-06-28 15:06:19 +02:00
Hosted Weblate
ef567a3e9e Merge remote-tracking branch 'origin/main' 2025-06-27 08:17:38 +02:00
NkBe
9a64eaa930 manger: fix lkm detection (#2654)
原因请看
https://github.com/SukiSU-Ultra/SukiSU-Ultra/pull/217#issuecomment-3004461174

文中介绍的是lkm的问题 但实测下来gki也有这样的问题 但修复方法通用
2025-06-27 14:17:31 +08:00
sus
0454510827 Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/zh_Hant/
2025-06-25 06:03:10 +00:00
cvnertnc
6b0c8b852f Translated using Weblate (Turkish)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/tr/
2025-06-17 19:01:57 +02:00
Kazuki Nakashima
bb0e3de2a9 Translated using Weblate (Thai)
Currently translated at 100.0% (140 of 140 strings)

Translation: KernelSU/Manager
Translate-URL: https://hosted.weblate.org/projects/kernelsu/manager/th/
2025-06-14 18:12:13 +02:00
Hosted Weblate
b24fb0a7d0 Merge remote-tracking branch 'origin/main' 2025-06-14 06:44:22 +00:00
weishu
fb8e3bc4a2 Update FUNDING.yml 2025-06-14 14:44:15 +08:00
Hosted Weblate
29f98d68f1 Merge remote-tracking branch 'origin/main' 2025-06-13 07:26:54 +02:00