This article addresses common issues encountered when using the `tsu` command in Magisk, particularly dealing with `No superuser binary detected` errors and the `No controlling tty` warning.
Initially, users might encounter the `No superuser binary detected` error, indicating that `tsu` cannot locate the necessary superuser binary. This often stems from incorrect Magisk installation or root access configurations. Verifying that Magisk is correctly installed and rooted correctly is crucial.
Sometimes, the `tsu` command reports a `bash: cannot set terminal process group (-1): Inappropriate ioctl for device` error, followed by `bash: no job control in this shell`. This usually points to Magisk's internal logic for managing root sessions not functioning properly. To resolve this, users might attempt to copy the `su` binary to the `/bin` directory, potentially triggering the `No controlling tty` warning.
This issue arises when `tsu` tries to establish a controlling terminal within the chroot environment. The `No controlling tty` warning signifies that `tsu` cannot access a standard terminal, effectively preventing full job control and possibly causing behavior inconsistencies. ...
This article is created by nurl and is licensed under the Creative Commons Attribution 4.0 International License.
All articles on this site, unless otherwise specified as reprints or sources, are either original works or translations by this site. Please ensure proper attribution before reprinting.