Changes

Jump to: navigation, search

Serial debugging

73 bytes added, 00:24, 10 March 2019
m
no edit summary
== Nexus debug cable ==
The nexus phones multiplexed the serial debug lines with the headphone audio lines. To switch it into serial mode you have to supply -3V to the mic port. The uart UART lines themselves are 1.8V. If you use a 3.3V usb-to-uart adapter the signal from the phone will probably work, for the TX side you have to add a resistor divider to lover lower the voltage for the phone. Here's the schematic for a nexus debug cable:
[[File:Nexus-debug-cable.png]]
Google open sourced their own [https://android.googlesource.com/device/google/debugcable/+/master debug cable design] in the AOSP repository.
 
NT: You will have a better luck with FTDI based serial cable.
== USB debug cable ==
The Suzy-Q debug cable isn't strictly a serial debug cable, it accesses the Closed Case Debugging system, it can access multiple busses on the device. This system was originally developed to debug chromebooks but has been used in the newer Pixel phones. Details for the Closed Case Debugging system can be found at https://chromium.googlesource.com/chromiumos/platform/ec/+/master/docs/case_closed_debugging.md
[[File:suzyq-debug-cable.png|600x600px]]
This cable should work with:
90
edits

Navigation menu