Termux:Boot

Termux add-on app allowing programs to be run at boot

This plugin for Termux allows programs to be run at boot.

Instructions:

  • Start the Termux:Boot app once by clicking on its launcher icon.
  • This allow the app to be run at boot.
  • Create the ~/.termux/boot/ directory.
  • Put scripts you want to execute inside the ~/.termux/boot/ directory.
  • If there are multiple files, they will be executed in a sorted order.

Note that you may want to run termux-wake-lock as first thing want to ensure that the device is prevented from sleeping.

Example: To start an sshd server and prevent the device from sleeping at boot, create the a file ~/.termux/boot/start-sshd containing the line:

termux-wake-lock && sshd

Packages

Although APK downloads are available below to give you the choice, you should be aware that by installing that way you will not receive update notifications and it's a less secure way to download. We recommend that you install the F-Droid client and use that.

Download F-Droid
  • Version 0.5 (5) - Added on 2017-12-04

    This version requires Android 5.0 or newer.

    It is built and signed by F-Droid, and guaranteed to correspond to this source tarball.

    Download APK 26 KiB PGP Signature

    Permissions

    • android.permission.RECEIVE_BOOT_COMPLETED
    • android.permission.WAKE_LOCK
  • Version 0.4 (4) - Added on 2017-12-04

    This version requires Android 5.0 or newer.

    It is built and signed by F-Droid, and guaranteed to correspond to this source tarball.

    Download APK 26 KiB PGP Signature

    Permissions

    • android.permission.RECEIVE_BOOT_COMPLETED
    • android.permission.WAKE_LOCK
  • Version 0.3 (3) - Added on 2017-12-04

    This version requires Android 5.0 or newer.

    It is built and signed by F-Droid, and guaranteed to correspond to this source tarball.

    Download APK 26 KiB PGP Signature

    Permissions

    • android.permission.RECEIVE_BOOT_COMPLETED
    • android.permission.WAKE_LOCK