OS simply prints a message to the serial port and hangs (works with Android emulator)