v2.2.4: Bundle proot as native library - bypasses SELinux execute restriction
This commit is contained in:
@@ -631,6 +631,13 @@ data: [DONE]
|
||||
|
||||
## Changelog
|
||||
|
||||
### v2.2.4 (2026-05-19)
|
||||
- **Bundled PRoot** — proot binary (v5.1.107) included in APK as native library with executable SELinux label
|
||||
- **Auto-Proot Install** — `ShellPlugin.refreshShell()` copies proot + loader from APK's `nativeLibraryDir` to `$PREFIX/bin/` and `$PREFIX/libexec/proot/` on first use
|
||||
- **Auto-Proot Wrapping** — commands using `$PREFIX/bin/` paths (pkg/apt/dpkg) automatically wrapped with `proot -0 -b /dev -b /proc -b /sys -r $PREFIX`
|
||||
- **PROOT_LOADER env** — `PROOT_LOADER` environment variable set so proot finds its loader binary
|
||||
- Supports arm64-v8a, armeabi-v7a, x86_64, x86 architectures (~350KB total added to APK)
|
||||
|
||||
### v2.2.3 (2026-05-19)
|
||||
- **Os.chmod() Fix** — uses `android.system.Os.chmod()` (direct syscall) instead of `Runtime.exec("chmod")` for reliable execute permissions
|
||||
- **PRoot Fallback** — auto-downloads PRoot from Termux package repo when SELinux blocks binary execution
|
||||
|
||||
Reference in New Issue
Block a user