Thanks to visit codestin.com
Credit goes to github.com

Skip to content

qaliblog/ReTerminal

 
 

Repository files navigation

ReTerminal

ReTerminal is a sleek, Material 3-inspired terminal emulator designed as a modern alternative to the legacy Jackpal Terminal. Built on Termux's robust TerminalView

Download the latest APK from the Releases Section.

Features

  • Basic Terminal
  • Virtual Keys
  • Multiple Sessions
  • Alpine Linux support

Screenshots

Community

Tip

Join the reTerminal community to stay updated and engage with other users:

FAQ

Q: Why do I get a "Permission Denied" error when trying to execute a binary or script?

A: This happens because ReTerminal runs on the latest Android API, which enforces W^X restrictions. Since files in $PREFIX or regular storage directories can't be executed directly, you need to use one of the following workarounds:


Option 1: Use the Dynamic Linker (for Binaries)

If you're trying to run a binary (not a script), you can use the dynamic linker to execute it:

$LINKER /absolute/path/to/binary

Note: This method won't work for statically linked binaries (binaries without external dependencies).


Option 2: Use sh for Scripts

If you're trying to execute a shell script, simply use sh to run it:

sh /path/to/script

This bypasses the need for execute permissions since the script is interpreted by the shell.


Option 3: Use Shizuku for Full Shell Access (Recommended)

If you have Shizuku installed, you can gain shell access to /data/local/tmp, which has executable permissions. This is the easiest way to run binaries without restrictions.

Compile an MLC model module (.so) for Android arm64

If your selected model folder is missing the compiled module (e.g. model-...-cpu.so), build it locally and copy to the device.

  1. Run the helper script:
scripts/mlc_compile_android.sh \
  --model-id Qwen/Qwen2.5-Coder-7B-Instruct \
  --quant q4f16_1 \
  --device cpu \
  --out dist/Qwen2.5-Coder-7B-Instruct-q4f16_1-MLC
  • For Vulkan GPUs, pass --vulkan or --device vulkan.
  • Outputs model-...-(cpu|vulkan).so under the --out directory.
  1. Push to device and place in your model folder root:
adb push dist/Qwen2.5-Coder-7B-Instruct-q4f16_1-MLC/*.so \
  /sdcard/reterminalAssets/Qwen2.5-Coder-7B-Instruct-q4f16_1-MLC/
  1. Ensure TVM runtime is present in the same folder tree:
/sdcard/reterminalAssets/<YourModel>/libs/arm64-v8a/libtvm4j_runtime_packed.so
  1. Select the model folder in app settings and start a chat.

The app will detect the backend (vulkan/cpu) from the module filename and run the model.

Found this app useful? ❤️

Support it by giving a star ⭐
Also, follow me for my next creations!

About

A Simple Android Terminal Emulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 75.1%
  • Java 22.2%
  • Shell 2.7%