how to run termux background automatically when android device reboot #3470
-
Hi, if it's possible for the termux app auto run background when the android device reboot? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You can use termux-boot to run a https://github.com/termux/termux-boot/ https://github.com/termux/termux-app/wiki/RUN_COMMAND-Intent |
Beta Was this translation helpful? Give feedback.
-
@agnostic-apollo are you sure this is supposed to run termux in the background (Android 7)? I don't see any termux processes running when I use ps on boot |
Beta Was this translation helpful? Give feedback.
You can use termux-boot to run a
RUN_COMMAND
intent to start a bash shell or something withRUN_COMMAND_SESSION_ACTION
as2
or3
.https://github.com/termux/termux-boot/
https://github.com/termux/termux-app/wiki/RUN_COMMAND-Intent
https://github.com/termux/termux-app/blob/v0.118.0/termux-shared/src/main/java/com/termux/shared/termux/TermuxConstants.java#L943