Rifat Azad
437fa2ccc5
New translations manager/app/src/main/res/values-es-rEM/strings.xml (bundle: 8)
2025-07-24 14:51:48 +06:00
Rifat Azad
1369c1936c
New translations manager/app/src/main/res/values-ru-rRU/strings.xml (bundle: 8)
2025-07-24 14:51:47 +06:00
Rifat Azad
dc4b41f91e
New translations manager/app/src/main/res/values-pt-rBR/strings.xml (bundle: 8)
2025-07-24 14:51:46 +06:00
Rifat Azad
126ed22482
New translations manager/app/src/main/res/values-pl-rPL/strings.xml (bundle: 8)
2025-07-24 14:51:45 +06:00
Rifat Azad
8b24c7e6b1
New translations manager/app/src/main/res/values-fa-rIR/strings.xml (bundle: 8)
2025-07-24 14:51:45 +06:00
Rifat Azad
22c04dce60
New translations manager/app/src/main/res/values-ko-rKR/strings.xml (bundle: 8)
2025-07-24 14:51:44 +06:00
Rifat Azad
a44995a99d
New translations manager/app/src/main/res/values-ja-rJP/strings.xml (bundle: 8)
2025-07-24 14:51:43 +06:00
Rifat Azad
8570c4703c
New translations manager/app/src/main/res/values-it-rIT/strings.xml (bundle: 8)
2025-07-24 14:51:42 +06:00
Rifat Azad
3ef26ea0f7
New translations manager/app/src/main/res/values-in-rID/strings.xml (bundle: 8)
2025-07-24 14:51:42 +06:00
Rifat Azad
c28baf1015
New translations manager/app/src/main/res/values-hu-rHU/strings.xml (bundle: 8)
2025-07-24 14:51:41 +06:00
Rifat Azad
b15302968d
New translations manager/app/src/main/res/values-hi-rIN/strings.xml (bundle: 8)
2025-07-24 14:51:40 +06:00
Rifat Azad
76c94bec5d
New translations manager/app/src/main/res/values-de-rDE/strings.xml (bundle: 8)
2025-07-24 14:51:39 +06:00
Rifat Azad
7bebfbe98d
New translations manager/app/src/main/res/values-fr-rFR/strings.xml (bundle: 8)
2025-07-24 14:51:39 +06:00
Rifat Azad
5e8df50d1c
New translations manager/app/src/main/res/values-zh-rTW/strings.xml (bundle: 8)
2025-07-24 14:51:38 +06:00
Rifat Azad
76fc58f68d
New translations manager/app/src/main/res/values-zh-rCN/strings.xml (bundle: 8)
2025-07-24 14:51:37 +06:00
Rifat Azad
40eafda7b6
New translations manager/app/src/main/res/values-bg-rBG/strings.xml (bundle: 8)
2025-07-24 14:51:36 +06:00
Rifat Azad
e7d9cdc054
New translations manager/app/src/main/res/values-bn-rBD/strings.xml (bundle: 8)
2025-07-24 14:51:35 +06:00
Rifat Azad
cb43a60349
New translations manager/app/src/main/res/values-ar-rSA/strings.xml (bundle: 8)
2025-07-24 14:51:35 +06:00
Rifat Azad
b93ff8c1fd
New translations manager/app/src/main/res/values-es-rEM/strings.xml (bundle: 8)
2025-07-23 14:41:34 +06:00
Rifat Azad
e06d475da7
New translations manager/app/src/main/res/values-in-rID/strings.xml (bundle: 8)
2025-07-17 19:35:53 +06:00
Rifat Azad
a5248a28d3
New translations manager/app/src/main/res/values-it-rIT/strings.xml (bundle: 8)
2025-07-16 19:37:52 +06:00
Rifat Azad
c6202130aa
New translations manager/app/src/main/res/values-zh-rCN/strings.xml (bundle: 8)
2025-07-16 19:37:51 +06:00
Rifat Azad
002f549cbe
New translations manager/app/src/main/res/values-tr-rTR/strings.xml (bundle: 8)
2025-07-15 19:40:05 +06:00
Rifat Azad
d0a3622f8f
New translations manager/app/src/main/res/values-pt-rBR/strings.xml (bundle: 8)
2025-07-15 19:40:04 +06:00
Rifat Azad
0024c92cf5
New translations manager/app/src/main/res/values-pl-rPL/strings.xml (bundle: 8)
2025-07-15 19:40:04 +06:00
Rifat Azad
1935015d30
New translations manager/app/src/main/res/values-zh-rTW/strings.xml (bundle: 8)
2025-07-15 19:40:02 +06:00
Rifat Azad
583e68e1f8
New translations manager/app/src/main/res/values-zh-rCN/strings.xml (bundle: 8)
2025-07-15 19:40:01 +06:00
Rifat Azad
2241696498
ksud: fix rust fmt
v1.0.9
2025-07-15 04:02:34 +06:00
Rifat Azad
514c5458ed
manager: append 'spoofed' tag to the app version name
2025-07-15 03:58:11 +06:00
Rifat Azad
d30bb33a9c
ksud: removed banner
2025-07-15 03:36:11 +06:00
Rifat Azad
ec7fe6b039
manager: minor improvement to flash screen topbar status
2025-07-15 03:35:58 +06:00
Rifat Azad
3fd61e0ee5
New Crowdin updates ( #646 )
...
* New translations manager/app/src/main/res/values-hi-rIN/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-pt-rBR/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-vi-rVN/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-de-rDE/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-in-rID/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-pt-rBR/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-de-rDE/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-ru-rRU/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-uk-rUA/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-vi-rVN/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-ar-rSA/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-bn-rBD/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-bg-rBG/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-zh-rCN/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-zh-rTW/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-fr-rFR/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-de-rDE/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-hi-rIN/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-hu-rHU/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-in-rID/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-it-rIT/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-ja-rJP/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-ko-rKR/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-fa-rIR/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-pl-rPL/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-pt-rBR/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-ru-rRU/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-es-rEM/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-sv-rSE/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-th-rTH/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-tr-rTR/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-uk-rUA/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-vi-rVN/strings.xml (bundle: 8)
2025-07-15 01:10:58 +06:00
Rifat Azad
8fc85993f1
ksud: fix clippy errors
2025-07-14 22:55:22 +06:00
Rifat Azad
df07860e44
ksud: fix rust fmt errors
2025-07-14 20:22:31 +06:00
Rifat Azad
bd03c296a1
kernel/Makefile: remove redundant get_cred_rcu backports
2025-07-14 20:11:13 +06:00
Rifat Azad
14b7861f44
template: add feature request template
2025-07-14 19:59:38 +06:00
Rifat Azad
3c421b1362
manager: added more module list sort options ( enabled, action and webui)
2025-07-13 20:59:33 +06:00
Edrick Sinsuan
c6b60a24e8
ksud: Add second_stage init variant ( #653 )
...
There are some ROMs based on AOSP that calls on second stage init
with argc: 2 but with first_arg: "". This causes KSU to not work
properly on those systems.
Signed-off-by: Edrick Sinsuan <evcsinsuan@gmail.com >
2025-07-13 05:26:10 +06:00
Rifat Azad
1baedd89b7
manager: add eruda console (v3.4.3) to webui-next
2025-07-12 23:18:26 +06:00
Rifat Azad
b567e9b275
kernel: add better error message if CMD_GET_MANAGWR_UID fails to fetch manager_uid
2025-07-11 04:11:17 +06:00
Rifat Azad
3ba5b028d4
manager: fix hook mode status showing blank when Natives.getHookMode() is null
2025-07-10 18:10:14 +06:00
Tashfin Shakeer Rhythm
4d633a1e0e
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 17:50:14 +06:00
Rifat Azad
f08fcec777
kernel: changed constant value for CMD_HOOK_MODE to 0xC0DEAD1A and CMD_GET_MANAGER_UID to 16, to avoid future conflitcs with upstream
2025-07-10 00:50:45 +06:00
Rifat Azad
afe6ad7261
docs: add crowdin localization progress
2025-07-10 00:04:22 +06:00
Rifat Azad
54b26fd32c
New Crowdin updates ( #644 )
...
* New translations manager/app/src/main/res/values-zh-rCN/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-zh-rTW/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-de-rDE/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-hi-rIN/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-ru-rRU/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-vi-rVN/strings.xml (bundle: 8)
2025-07-08 22:00:14 +06:00
Berserkr2k
4b56b14a4f
docs: Add Spanish README ( #628 )
...
Add the README_ES.md file to provide documentation for Spanish-speaking users.
2025-07-08 00:39:25 +06:00
Rifat Azad
9b4c6057a0
New Crowdin updates ( #634 )
...
* New translations manager/app/src/main/res/values-ar-rSA/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-bn-rBD/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-bg-rBG/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-zh-rCN/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-zh-rTW/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-fr-rFR/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-de-rDE/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-hi-rIN/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-hu-rHU/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-in-rID/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-it-rIT/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-ja-rJP/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-ko-rKR/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-fa-rIR/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-pl-rPL/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-pt-rBR/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-ru-rRU/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-es-rEM/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-sv-rSE/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-th-rTH/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-tr-rTR/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-uk-rUA/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-vi-rVN/strings.xml (bundle: 8)
2025-07-07 17:27:03 +06:00
Rifat Azad
873740ef1c
docs: added Crowdin Translators credits to README
2025-07-07 17:25:53 +06:00
Rifat Azad
ad80c1ea77
manager: remove current locale format to fix locale format to android_code
2025-07-07 17:12:03 +06:00
Rifat Azad
d5c6f0affb
New Crowdin updates ( #629 )
...
* New translations manager/app/src/main/res/values-de/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-pl/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-ru/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-es/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-zh/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-ru/strings.xml (bundle: 8)
* New translations manager/app/src/main/res/values-es/strings.xml (bundle: 8)
2025-07-07 13:10:09 +06:00