Project

General

Profile

SerialPort » History » Revision 38

Revision 37 (Denis 'GNUtoo' Carikli, 07/24/2019 07:27 AM) → Revision 38/39 (Denis 'GNUtoo' Carikli, 11/05/2019 11:14 AM)

h1. Serial port

There is an in-depth article covering several Samsung devices in the [[SamsungSerial]] page

h2. Settings

|_. Device and documentation |_. I/O voltage |_. ID<->GND |_. SOC TX |_. SOC RX |_. switch |_. stock bootloader settings |_. Comments |
| I9300 |/2. 1.8V[1] |/4. |/2. 619 kOhms[3] |/4. |/2. D- |/4. |/2. D+ |/2. MAX77693[5] |/4. |/2. * speed: 115200
* pressing the volume-down button during boot increase verbosity |/2. It gives a shell once Replicant 6 has booted |
| I9305 |
| N7100 | ? | ? | |
| N7105 | ? | ? |
|
| [[GalaxyNexusI9250SerialConsole|Galaxy Nexus]] | | 619 kOhms[4] | | | | | |
| [[NexusSI902xSerial|Nexus S]] | | 150 kOhm | | | FSA9480 | | |
| [[OptimusBlackSerial|Optimus Black]] | 1.8V[6] | N/A[2] | | | DP3T | | |

fn1. Measured between USB GND and USB VCC

fn2. Code is required to use the switch as you need to configure both the MUIC and DP3T switch

fn3. See "The related driver source code":https://git.replicant.us/replicant/kernel_samsung_smdk4412/tree/drivers/misc/max77693-muic.c#n102

fn4. See the "postmarketOS wiki page on Serial debugging":https://wiki.postmarketos.org/wiki/Serial_debugging

fn5. See the "driver":https://git.replicant.us/replicant/kernel_samsung_smdk4412/tree/drivers/misc/max77693-muic.c and the "ifixit teardown":https://www.ifixit.com/Teardown/Samsung+Galaxy+S+III+Teardown/9391

fn6. Reference: [[OptimusBlackSerial]]

h2. Interesting links

* There is a "page on Serial debugging":https://wiki.postmarketos.org/wiki/Serial_debugging on the postmarketOS wiki that contains information for using the serial port for many smartphones models.
* "mv-uart":https://osmocom.org/projects/mv-uart/wiki A serial port adapter with configurable voltages (and GPIOs)