This article addresses the issues encountered when using the 'tsu' command on a PixelOS device with Magisk installed. Users may receive an error message stating 'No superuser binary detected. Are you rooted?', even though 'su' works correctly. This often stems from Magisk's default location of the 'su' binary. The solution involves copying the 'su' binary from its default location to '/bin'. However, you might encounter additional errors like 'bash: cannot set terminal process group (-1): Inappropriate ioctl for device' or 'sh: No controlling tty: open /dev/tty: No such device or address'. These issues arise from shell inconsistencies within Magisk's environment. The article will explore potential causes behind these errors and offer troubleshooting steps specific to PixelOS and the 'tsu' command.
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.