Termux:Boot

Add-on for Termux 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

Donate

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.7 (7) - Added on 2019-09-28

    This version requires Android 5.0 or newer.

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

    Permissions
    • run at startup
      Allows the app to have itself started as soon as the system has finished booting. This can make it take longer to start the phone and allow the app to slow down the overall phone by always running.
    • prevent phone from sleeping
      Allows the app to prevent the phone from going to sleep.

    Download APK 9 KiB PGP Signature

  • Version 0.6 (6) - Added on 2019-08-07

    This version requires Android 5.0 or newer.

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

    Permissions
    • run at startup
      Allows the app to have itself started as soon as the system has finished booting. This can make it take longer to start the phone and allow the app to slow down the overall phone by always running.
    • prevent phone from sleeping
      Allows the app to prevent the phone from going to sleep.

    Download APK 9 KiB PGP Signature

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

    This version requires Android ? or newer.

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

    Permissions
    • run at startup
      Allows the app to have itself started as soon as the system has finished booting. This can make it take longer to start the phone and allow the app to slow down the overall phone by always running.
    • prevent phone from sleeping
      Allows the app to prevent the phone from going to sleep.

    Download APK 26 KiB PGP Signature