-
Notifications
You must be signed in to change notification settings - Fork 0
UART
- SHIFT6mq
- Screwdriver that came with your SHIFT6mq
- Alternatively any T4 Torx screwdriver should be suitable
- Wires to connect test points
- UART-TTL USB Adapter (I have used this one)
Depending on whether you want to permanently have wires attached to your 6mq (which makes it less suitable as an actually usable phone) or just a temporary connection, you need:
- Soldering iron
- And a steady hand!
- Something to temporary hold the wires in place during your UART usage
- Sorry, i can not really give a lot of guidance here :(
First of all, properly shutdown your 6mq in case it is powered on!
Next remove the backcover, remove the battery and unscrew all 14 screws securing the housing of the 6mq.
Gently insert your fingernail (or any tool for this purpose) between display and the device frame to loosen their connection and remove the display.
You can also follow this iFixit guide until Step 5.
You should end up with the top PCB exposed.
Remove the connector (responsible for the POWER and VOLUME buttons) on the right side at the top PCB to expose another screw.
Then remove all 3 screws as shown in the picture.
Click to show picture with marked screw points.
Afterwards gently remove the top PCB.
After you have removed the top PCB, the test points we need are still covered by the SIM card tray.
TODO: upload video of Micha removing it
After removing the SIM card tray, the test points we need for UART are exposed.
- TH - Thermal test point
- 1.8 (Left and right) - You can connect these two points while booting up to force boot into EDL mode
- Especially useful if you ever brick the bootloader, as it allows you to unbrick your device using QFIL
- T - Transmit
- R - Receive
- G - Ground
I have soldered the wires and color coded them.
- TH -> blue
- 1.8 (left) -> green
- 1.8 (right) -> yellow
- T -> orange
- R -> red
- G -> brown
T, R and G are required for UART.
So far i have only used UART for reading logs, therefore i have connected:
- T (orange) of the PCB to RXD of the USB adapter card
- G (brown) of the PCB to GND of the USB adapter card
As it was annoying for me to have the device open, i have soldered a whole into the device housing to allow the wires coming through the space for the sim trays.
It looks ugly but it works
When putting the device together again, be sure to carefully connect the fingerprint reader connector again, as this is a bit tricky to connect with all the extra wires connected.
Fingerprint reader connector
Afterwards just use it :P
For example:
sudo minicom -D /dev/ttyUSB0