So here it is. He cross-flashed T stock rom on his TX and now his phone has invert screen. Even though he went back to stock using flashtool, or even tried to flash a custom kernel (V!sk) the problem still persists.
If any of you had this problem before or know how to fix it please help him.
Thanks for reading.