How to make a Google Pixel UART cable
As most may be aware judging by the URL, I am an Android developer in my spare time and my main devices to have fun with are the Google Pixel series of devices, I won't dive into the reasons why in this blog post as I just want to get directly into the content here. One of the most annoying things about developing on Pixel devices is the inability to get most of the logs if something were to go wrong, on the Pixel 1 the kernel dmesg is logged to /proc/last_kmsg however in some cases that may end up empty, corrupted or the recovery will write itself over the previous log. With a UART cable you are able to completely bypass the file-based logging mechanism and instead get logs straight from the kernel and even the bootloader. To make one of these cables it's fairly easy, here are the things you need: - A TRRS breakout board (£2.79 in the UK on eBay) - A TRRS cable (£6.95 if you search for Rode microphone cables) - An FTDI USB adapter (£10.55 on UK eBay) - Female to female Dupont ...