Commit Graph

2350 Commits

Author SHA1 Message Date
Wang Han 43d30c8f2b Drop module image if no module remaining (#2447)
This fixes the issue that module image will always exist even if there
is no module to be loaded. Sadly we need to boot twice because we can
only know module status after image is mounted.
2025-02-22 04:50:51 +06:00
Wang Han a89985f33e Allow toggling unmount setting for all apps (#2450)
This fixes https://github.com/tiann/KernelSU/issues/2416.
2025-02-22 04:48:44 +06:00
rifsxd 42896dfab1 kernel: add umount calls for pixelify gphotos spoof configs and lsposed dex2oat bin 2025-02-22 04:40:28 +06:00
Wang Han 36111f4b89 Provide TMPDIR for boot image repacking (#2458)
/data/local/tmp is never writable for normal apps, why previously it
works is that Rust's temp_dir() gets path from env, and since A13,
TMPDIR is set to app's cache dir. This is not the case for A12, so it
breaks. Fix it by set TMPDIR ourselves.
2025-02-21 17:33:21 +06:00
weishu 74171a2930 kernel: unregister sysfs for module's ext4 image 2025-02-21 17:02:33 +06:00
weishu c40bfd694c ksud: determine modules's size by checking partion size 2025-02-21 17:02:03 +06:00
rifsxd aa22fd880d ksud_overlayfs: better hide modules.img (create a sparse image without journaling) and run e2fsck for eliminating possible data corruption after umount 2025-02-21 16:57:24 +06:00
rifsxd fe9578433c manager: update module installation prompt string 2025-02-21 16:49:11 +06:00
rifsxd a0278b1e45 manager: refactor: remove FlashModule and update navigation to FlashModules 2025-02-21 16:38:00 +06:00
rifsxd 0c7ba4dc6e manager: fix syntax and unresolved function 2025-02-21 00:27:57 +06:00
Tiann b98c531ff8 manager: refine flashing module confirm dialog 2025-02-21 00:16:21 +06:00
Tiann 373025248d manager: refine flash utilities 2025-02-20 23:45:04 +06:00
Kangmin Kim 60d2ad39d6 Update Korean Translation & Add Vietnamese README link (#173)
* Update allowlist-related Korean Strings

* Add Vietnamease README Link to other READMEs
2025-02-20 19:41:56 +06:00
HiN b807b38892 add strings translate indonesia (#174) 2025-02-20 19:41:35 +06:00
Nhật Minh 5ca5e2b027 update vietnamese (#170)
* Create strings.xml

added vietnamese (fix smt
)

* Update strings.xml

* update vietnamese

* added vietnamese for readme
2025-02-17 18:15:54 +06:00
dependabot[bot] 608e949e23 build(deps): bump the crates group across 1 directory with 2 updates (#167)
Bumps the crates group with 2 updates in the /userspace/ksud_overlayfs directory: [cc](https://github.com/rust-lang/cc-rs) and [equivalent](https://github.com/indexmap-rs/equivalent).


Updates `cc` from 1.2.13 to 1.2.14
- [Release notes](https://github.com/rust-lang/cc-rs/releases)
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.13...cc-v1.2.14)

Updates `equivalent` from 1.0.1 to 1.0.2
- [Commits](https://github.com/indexmap-rs/equivalent/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: cc
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: crates
- dependency-name: equivalent
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: crates
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-16 21:57:41 +06:00
dependabot[bot] c9dd12d50b build(deps): bump the maven group across 1 directory with 5 updates (#160)
Bumps the maven group with 5 updates in the /manager directory:

| Package | From | To |
| --- | --- | --- |
| androidx.navigation:navigation-compose | `2.8.6` | `2.8.7` |
| androidx.compose:compose-bom | `2025.01.01` | `2025.02.00` |
| com.android.application | `8.8.0` | `8.8.1` |
| com.android.library | `8.8.0` | `8.8.1` |
| [com.google.devtools.ksp](https://github.com/google/ksp) | `2.1.10-1.0.29` | `2.1.10-1.0.30` |



Updates `androidx.navigation:navigation-compose` from 2.8.6 to 2.8.7

Updates `androidx.compose:compose-bom` from 2025.01.01 to 2025.02.00

Updates `com.android.application` from 8.8.0 to 8.8.1

Updates `com.android.library` from 8.8.0 to 8.8.1

Updates `com.android.library` from 8.8.0 to 8.8.1

Updates `com.google.devtools.ksp` from 2.1.10-1.0.29 to 2.1.10-1.0.30
- [Release notes](https://github.com/google/ksp/releases)
- [Commits](https://github.com/google/ksp/compare/2.1.10-1.0.29...2.1.10-1.0.30)

---
updated-dependencies:
- dependency-name: androidx.navigation:navigation-compose
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: androidx.compose:compose-bom
  dependency-type: direct:production
  dependency-group: maven
- dependency-name: com.android.application
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: com.android.library
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: com.android.library
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
- dependency-name: com.google.devtools.ksp
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-16 21:57:29 +06:00
dependabot[bot] 7319dd25a3 build(deps): bump the crates group across 1 directory with 2 updates (#168)
Bumps the crates group with 2 updates in the /userspace/ksud_magic directory: [cc](https://github.com/rust-lang/cc-rs) and [equivalent](https://github.com/indexmap-rs/equivalent).


Updates `cc` from 1.2.13 to 1.2.14
- [Release notes](https://github.com/rust-lang/cc-rs/releases)
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.13...cc-v1.2.14)

Updates `equivalent` from 1.0.1 to 1.0.2
- [Commits](https://github.com/indexmap-rs/equivalent/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: cc
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: crates
- dependency-name: equivalent
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: crates
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-16 21:57:12 +06:00
rifsxd fdd307fe8b ksud_overlayfs: bring back journaling for sparse image (futile for hiding so reverting until a possible better way is discovered) 2025-02-16 20:36:03 +06:00
igor b6c8203a97 Update translations (#165) 2025-02-16 16:02:05 +06:00
rifsxd b2a8fb66d3 ksud_overlayfs: reduce sparse image size to 6GB 2025-02-16 03:10:30 +06:00
rifsxd 74f55dd807 manager: disable restore module button on overlayfs mount mode (since the restore module code for overlayfs mount never got out of internal testing, wull be implemented in the future) 2025-02-16 03:07:36 +06:00
rifsxd 8560f35c8b manager: added divider for backup and restore screen catagories 2025-02-15 19:51:39 +06:00
rifsxd b0f01cf7ff docs: fix nightly manager link (#164) 2025-02-15 19:51:39 +06:00
rifsxd 8ae0192b47 manager: update Chinese translations (@Xiaomichael) 2025-02-15 19:51:38 +06:00
rifsxd f247a6d5d8 ksud_overlayfs: better hide modules.img (create a sparse image without journaling) and run e2fsck for eliminating possible data corruption after umount 2025-02-15 19:51:30 +06:00
rifsxd d85bff2943 manager: added allowlist backup and restore (#9)
manager: create separate module & restore screen
2025-02-15 02:00:24 +06:00
rifsxd f5ac0f3589 manager: renamed log files output 2025-02-14 21:54:12 +06:00
rifsxd a2fcd157a2 Revert "kernel: do not umount modules by default"
This reverts commit bbb05b292a.
2025-02-14 21:32:43 +06:00
rifsxd 70ce97660e manager: fix syntax for strings of zh-CN 2025-02-14 21:17:51 +06:00
Kangmin Kim 67967a8251 Update Korean strings.xml (#158) 2025-02-14 20:16:33 +06:00
rifsxd b25a21770d manager: updated Chinese translations (by @Xiaomichael) 2025-02-14 20:13:55 +06:00
rifsxd bbb05b292a kernel: do not umount modules by default 2025-02-14 19:45:19 +06:00
rifsxd 8696ed8f36 Revert "manager: fix umountModule toggle not showing as enabled after manager restart"
This reverts commit 682f93667b.
2025-02-14 19:34:46 +06:00
rifsxd 682f93667b manager: fix umountModule toggle not showing as enabled after manager restart 2025-02-14 12:52:44 +06:00
rifsxd 00cab2209e manager: added developer options toggle
manager: removed module card onClick open webui
manager: diabled umount modules by default
2025-02-13 23:17:48 +06:00
Wang Han b6fcea9277 Hide namespace config in app profiles (#2426)
This is never implemented in kernel (and likely never will be), so let's
remove it from UI for now to avoid misleading users.
2025-02-13 20:09:44 +06:00
rifsxd 623f5e3f64 manager: avoid factory data reset popup when rebooting into recovery 2025-02-13 20:08:32 +06:00
Caner Karaca b18f89b434 Updates (#151)
* Update

* Fix
2025-02-13 05:54:36 +06:00
Kangmin Kim 2a152fdb22 Fix Nightly Release Download Link (#152)
* Update README.md

Fix Nightly Release Download Link

* Update every other READMEs
2025-02-13 04:05:05 +06:00
Nhật Minh dbadad1027 Create strings.xml (#139)
added vietnamese (fix smt
)
2025-02-10 14:03:13 +06:00
rifsxd fcc4f0d206 ksud_overlayfs: fix sparse image journal size being 0 block and cause error to format into ext4 with mke2fs 2025-02-07 14:23:56 +06:00
rifsxd c20fe6c886 ksud_overlayfs: changed sparse image journal size to 64MB for good balance of performance and efficiency 2025-02-06 19:22:48 +06:00
5ec1cff 19a15a71eb ksud: fix stat 2025-02-06 18:56:29 +06:00
rifsxd c446ee76f5 github: fix outdated link in issue_templete 2025-02-06 18:05:33 +06:00
rifsxd 5435992911 kernel: KernelSU-Next version fallback set to 11998 2025-02-06 17:58:00 +06:00
weishu c2ae844f65 manager: Create a new root shell for action.sh to avoid blocking the global root shell. 2025-02-06 17:49:36 +06:00
weishu 8832532f09 ksud: make clippy happy 2025-02-06 17:46:14 +06:00
Furkan cba275cde2 Small Fix Turkish strings.xml (#113)
Trying to fix Superuser text spacing problem on Turkish translate with deleting blank space, changing module section to Modules section (Moduller) to be able to add plural meaning.
2025-02-02 23:34:51 +06:00
rifsxd 4401e28f57 Revert "build(deps): bump the crates group across 1 directory with 9 updates (#103)"
This reverts commit d4db74f0fb.
2025-02-02 22:55:41 +06:00