Magisk & KernelSU module designed to resolve pseudo-terminal allocation failures (/dev/pts/0 TTY unavailable) and SELinux denial rules on Android 15 & 16 (AOSP & Custom ROMs).
Android 15+ mounts /dev/pts (pseudo-terminal slave) with restricted permissions (mode=600). This prevents external terminal applications, debugging binaries, and background root utilities from allocating pseudo-terminal file descriptors.
This module automatically applies runtime mount re-permissions and SELinux policy rules during boot:
chmod 666 /dev/ptmx
mount -o remount,gid=5,mode=666,ptmxmode=0666 /dev/pts
chmod 666 /dev/pts/*SELinux Policy Injections:
allow untrusted_app devpts chr_file { read write open ioctl getattr }allow magisk devpts chr_file { read write open ioctl getattr }
- Download
Fix_TTY_Access_v6.0.zipfrom Releases. - Install via Magisk / Kitsune Mask / KernelSU Manager.
- Reboot device.
GPL-3.0 License