ShirkNeko
d4682fb06e
manager: Update secondary interface status and optimize WebView interface
2025-05-17 17:09:47 +08:00
ShirkNeko
377ea183a7
Updated Vietnamese Translation
v3.1.2
2025-05-16 22:01:04 +08:00
ShirkNeko
72361ab8bf
manager: Modify the batch selection ui on the superuser page
...
- Add more convenient buttons for it
2025-05-16 16:00:51 +08:00
ShirkNeko
f708e583c3
docs: updated to reflect changes to support for non-GKI devices.
...
- Adjusted branch usage instructions and KPM support information
2025-05-15 22:55:18 +08:00
ShirkNeko
d753e1dc48
[ship ci]: Updated Vietnamese Translation
2025-05-15 22:06:49 +08:00
ShirkNeko
315a8a3805
Normalize kernel related constants to restore
2025-05-15 20:59:44 +08:00
ShirkNeko
129fed9c9f
manager: simplify kernel arch
...
Previously:
Kernel
4.19.331-Rissu
Kernel Arch
armv8l
This changes:
Kernel
4.19.331-Rissu (armv8l)
Suggested-by: backslashxx <118538522+backslashxx@users.noreply.github.com >
Signed-off-by: rsuntk <90097027+rsuntk@users.noreply.github.com >
2025-05-15 20:40:50 +08:00
ShirkNeko
0baccb7621
Add ksud support for the armeabi-v7a architecture
...
Co-authored-by: backslashxx <118538522+backslashxx@users.noreply.github.com >
Co-authored-by: SChernykh <15806605+SChernykh@users.noreply.github.com >
Co-authored-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com >
Signed-off-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com >
2025-05-15 20:00:51 +08:00
backslashxx
842a8aa45a
kernel/selinux: fix pointer mismatch with 32-bit ksud on 64-bit kernels
...
Since KernelSU Manager can now be built for 32-bit, theres this problematic
setup where userspace is 32-bit (armeabi-v7a) and kernel is 64bit (aarch64).
On 64-bit kernels with CONFIG_COMPAT=y, 32-bit userspace passes 32-bit pointers.
These values are interpreted as 64-bit pointers without proper casting and that
results in invalid or near-null memory access.
This patch adds proper compat-mode handling with the ff changes:
- introduce a dedicated struct (`sepol_compat_data`) using u32 fields
- use `compat_ptr()` to safely convert 32-bit user pointers to kernel pointers
- adding a runtime `ksu_is_compat` flag to dynamically select between struct layouts
This prevents a near-null pointer dereference when handling SELinux
policy updates from 32-bit ksud in a 64-bit kernel.
Truth table:
kernel 32 + ksud 32, struct is u32, no compat_ptr
kernel 64 + ksud 32, struct is u32, yes compat_ptr
kernel 64 + ksud 64, struct is u64, no compat_ptr
Preprocessor check
64BIT=y COMPAT=y: define both structs, select dynamically
64BIT=y COMPAT=n: struct u64
64BIT=n: struct u32
Tested-by: ...
Tested-by: ...
Tested-by: ...
Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com >
2025-05-15 17:39:41 +08:00
backslashxx
d17843479c
kernel/throne_tracker: we just uninstalled the manager, stop looking for it
...
When the manager UID disappears from packages.list, we correctly
invalidate it — good. But, in the very next breath, we start scanning
/data/app hoping to find it again?
This event is just unnecessary I/O, exactly when we should be doing less.
Apparently this causes hangups and stuckups which is REALLY noticeable
on Ultra-Legacy devices.
Skip the scan — we’ll catch the reinstall next time packages.list updates.
Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com >
2025-05-15 17:39:41 +08:00
backslashxx
0d70cc8e58
kernel: sucompat: sucompat toggle support for non-kp (tiann#2506)
...
This is done like how vfs_read_hook, input_hook and execve_hook is disabled.
While this is not exactly the same thing, this CAN achieve the same results.
The complete disabling of all KernelSU hooks.
While this is likely unneeded, It keeps feature parity to non-kprobe builds.
adapted from upstream:
kernel: Allow to re-enable sucompat - 4593ae81c7
Rejected: https://github.com/tiann/KernelSU/pull/2506
Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com >
2025-05-15 17:39:41 +08:00
Re*Index. (ot_inc)
4e6cacb206
[skip ci]: Update Japanese. ( #74 )
...
* Update strings.xml
* fix typo & change Japanese text.
2025-05-15 16:41:38 +08:00
ShirkNeko
52514ba35b
[skip ci]: Move the language selection into the card
2025-05-15 16:40:27 +08:00
ShirkNeko
4d59ce435e
Add card darkness adjustment function
...
- Updated some string translations
2025-05-14 19:55:11 +08:00
ShirkNeko
b3b7fa6f4d
[skip ci]: Update language options
...
- Add Vietnamese support (from bro in the group)
2025-05-14 18:33:31 +08:00
ShirkNeko
c057c16391
Stand alone theme configuration for webuiX
...
- Add secondary color interface: isSecondaryPage (bool)
2025-05-14 16:29:27 +08:00
ShirkNeko
dee7cc6f2b
Add language options
...
- Fix some icon color issues
2025-05-14 15:01:59 +08:00
ShirkNeko
3d0d87cb0c
Add application DPI setting function
...
- Allow users to customize the display density of the current application
- Fix some popup color errors
v3.1.1
2025-05-13 23:56:18 +08:00
ShirkNeko
6b66d9b3f8
Remove redundant definitions of KPM strings
...
Clean up unused code in build scripts
2025-05-13 21:57:42 +08:00
ShirkNeko
a301d94858
[skip ci]: Fix missing brackets in KPM feature information summary
2025-05-13 21:51:21 +08:00
ShirkNeko
01199470f2
[manager]: Add KPM function display options and related settings
...
- Eruda injection web UI X will not be displayed when the modification is not enabled.
Signed-off-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com >
2025-05-13 21:44:42 +08:00
ShirkNeko
9e7ea19567
[skip ci]:Update some descriptions
2025-05-13 18:30:39 +08:00
Der_Googler
cdc6a6cb4a
Add option to use WebUI X
...
- Added WebUI X from MMRL
Co-authored-by:Der_Googler <54764558+DerGoogler@users.noreply.github.com >
Co-authored-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com >
Signed-off-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com >
2025-05-13 15:44:20 +08:00
ShirkNeko
bb2d8fd7e0
Refactoring the KsuIsValid Check Logic
...
Signed-off-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com >
Co-authored-by: rsuntk <rsuntk@yukiprjkt.my.id >
Co-authored-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com >
Co-authored-by: Rifat Azad <33044977+rifsxd@users.noreply.github.com >
v3.1
2025-05-12 00:06:17 +08:00
ShirkNeko
2b6d418fe6
[skip ci]:Removing unused LocalDensity variables
2025-05-11 23:36:09 +08:00
ShirkNeko
d8b1126b96
[skip ci]:Modify comments
2025-05-11 23:32:46 +08:00
ShirkNeko
2eeddcfa80
Modify UI layout
...
- Adjust the maximum number of SwitchItem rows to optimize the layout and spacing of interface buttons
2025-05-11 23:30:48 +08:00
ShirkNeko
59e3675a36
{docs}:Fixed description of KPROBES and manual hooks, simplified content
2025-05-10 12:17:00 +08:00
米凛MiRin
bc386f080d
修正 README 中错误和误导性内容。 ( #71 )
...
* 修正文档
* Update README-en.md
* Update README-ja.md
2025-05-09 22:27:53 +08:00
ShirkNeko
2dc1377154
Update Android Gradle plugin version to 8.10.0
2025-05-09 19:14:46 +08:00
WenHao2130
610852e2f2
[skip ci]: manager: modify background image control logic ( #70 )
...
* manager: modify background image control logic
Signed-off-by: WenHao2130 <WenHao2130@outlook.com >
* manager: modify padding
Signed-off-by: WenHao2130 <WenHao2130@outlook.com >
* docs: update README.md README-en.md README-ja.md
Signed-off-by: WenHao2130 <WenHao2130@outlook.com >
---------
Signed-off-by: WenHao2130 <WenHao2130@outlook.com >
2025-05-09 16:58:01 +08:00
ShirkNeko
15b19bb8ce
Remove unnecessary card color calculations and simplify theme colors
2025-05-08 11:58:28 +08:00
ShirkNeko
4a598b1837
[skip ci]: Correction of translation errors
2025-05-07 11:30:01 +08:00
ShirkNeko
caee2417d6
[skip ci]:
...
Fixing tools used by kernels under 5.10
-Add Slot selection is not displayed for non-ab partitions
2025-05-05 22:09:01 +08:00
ShirkNeko
349ca36d4e
[skip ci]: Remove unnecessary center point calculation code to simplify bitmap transformation logic
2025-05-05 21:09:31 +08:00
ShirkNeko
ec86f5caf2
[skip ci]:Simplifying Conditional Judgment in the Selection of Installation Methods
2025-05-05 21:09:31 +08:00
ShirkNeko
b5a5cdfcd2
[skip ci]: Fixed “Kernel Module” to “KPM” in string resources.
2025-05-05 21:09:31 +08:00
YC酱luyancib
72d799e065
[skip]: manager: adjust translate on zh-rCN
2025-05-05 21:09:30 +08:00
ShirkNeko
d06f22dcd0
manager: continue to improve the UI
...
- Expose anykernel3 flashing as long as there is root.
- Opt some styles
2025-05-05 21:09:30 +08:00
ShirkNeko
cb90630f27
Optimize the interface, add hidden link card function, adjust scrolling behavior, clean up unnecessary code
2025-05-05 21:09:30 +08:00
Re*Index. (ot_inc)
59ad9204d0
Update Japanese translated ( #64 )
2025-05-05 21:09:30 +08:00
ShirkNeko
cb97c16f5e
Fix LKM build error due to kernel module listing
...
Co-authored-by: James McConnell <bins4us@hotmail.com >
Co-authored-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com >
Co-authored-by: Rifat Azad <33044977+rifsxd@users.noreply.github.com >
Signed-off-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com >
2025-05-05 21:04:25 +08:00
ShirkNeko
69b48d5345
Comment out the cleanup command to avoid accidentally deleting protected exports.
2025-04-30 20:27:54 +08:00
ShirkNeko
45ed4708c9
Optimize the HomeScreen component, refactor the device model acquisition logic, add anti-shake scrolling processing, clean up unused imports
2025-04-30 20:01:39 +08:00
ShirkNeko
f3c77bdb3b
[skip ci]: Remove unused animation imports to optimize code cleanliness
2025-04-30 19:49:59 +08:00
ShirkNeko
dc0eb9eec1
Fix duplicate creation of popup windows
2025-04-30 19:48:40 +08:00
ShirkNeko
83dd6443cb
Optimize KpmScreen interface layout, adjust button and text display, update signature configuration code
2025-04-30 02:49:09 +08:00
ShirkNeko
3d77f2d135
Adjust the spacing and size of interface elements to optimize the layout effect
2025-04-29 21:46:38 +08:00
ShirkNeko
1ea219bddc
Updated GKI installation selection style
2025-04-29 18:07:29 +08:00
ShirkNeko
39adba62d1
Update the default theme color to blue and remove the related blue theme code
2025-04-29 17:29:45 +08:00