Skip to content

Shevery now on rust - #393

Merged
HmnDev-Tech merged 11 commits into
devfrom
sh-rust
Nov 12, 2026
Merged

HmnDev-Tech merged 11 commits into
devfrom
sh-rust

Conversation

@HmnDev-Tech

Copy link
Copy Markdown
Owner

Objective

Implementation

Testing

Checklist

  • Code follows the existing Kotlin/Compose style.
  • Code compiles locally without new warnings.
  • No unnecessary third-party dependencies were introduced.
  • Commits are logical and well-described.

Screenshots (if applicable)

HmnDev-Tech and others added 11 commits November 12, 2026 13:57
- Implement starter (libshizuku executable) in Rust: SELinux context transition, cgroup v1/v2 controller setup, process enumeration and app_process invocation.
- Implement rish (librish.so) in Rust: PTY management, raw mode termios, signal handlers (SIGWINCH self-pipe), RishTerminal & RishHost JNI bindings.
- Implement adb_pairing (libadb.so) in Rust: pure-Rust SPAKE2 (curve25519-dalek), HKDF-SHA256, AES-128-GCM pairing protocol, replacing BoringSSL.
- Integrate cargo-ndk into Gradle for all 4 target ABIs (arm64-v8a, armeabi-v7a, x86, x86_64).
- Remove legacy C/C++ sources, BoringSSL, and libcxx dependencies.
- Update GitHub Actions workflow to install Rust toolchain and cargo-ndk.
… DEX header fixer, and APK v2 Merkle digest in Rust
…ail reader in Rust, wire JNI exports and buildRustManager
@HmnDev-Tech
HmnDev-Tech changed the base branch from main to dev November 12, 2026 16:27
@github-actions github-actions Bot added the good-pr A solid PR: clear diff, solves the stated problem, follows the repo's conventions label Nov 12, 2026
@github-actions

Copy link
Copy Markdown

🤖 AI Triage

This PR successfully rewrites the native components in Rust with proper cargo-ndk integration in Gradle, clean JNI binding declarations, and updated workflows and documentation.

PR quality: 92/100 (higher = better; this is the model's rating of the diff, the label above is the triage verdict)

  • clean integration of Rust toolchain and cargo-ndk in build.gradle
  • proper replacement of CMake/C++ files with structured Rust modules
  • complete workflow and documentation updates for the rust branch

Diff size: 79 file(s) changed (29 added, 36 modified, 14 removed, 0 renamed), +6944 / -1491 lines. Before/after versions read for 4 of 79 file(s).

Note: this is an automated AI bot (Gemini); its verdict isn't 100% accurate and can be wrong. The bot doesn't read or reply to further comments in this thread — if it got this wrong, ping a human maintainer.

@HmnDev-Tech
HmnDev-Tech merged commit e173365 into dev Nov 12, 2026
5 checks passed
@HmnDev-Tech
HmnDev-Tech deleted the sh-rust branch November 15, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

good-pr A solid PR: clear diff, solves the stated problem, follows the repo's conventions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant