OnePlus 6T (oneplus-fajita)

This page documents the status of mainline Linux on the OnePlus 6T.
= Differences to OnePlus 6 =
It shares almost all hardware with the OnePlus 6 (non-T), with the following differences:
* no 3.5 mm audio jack
* a slightly different screen resolution.
* different audio codec (tfa9894 instead of max98927). Earpiece audio doesn't work properly (#3320)
= Special Boot Modes =
== Fastboot Mode ==
When you access Fastboot Mode, you can view information about the SoC and whether the bootloader (DEVICE STATE) is locked or unlocked.
While in Fastboot Mode you can use a computer to issue Fastboot commands to flash firmware to the device and manage the current slot that the bootloader is using to boot the operating system.
You can also use + to select an action from the menu at the top of the screen, and to select the action; which include powering off the device, continuing booting to the operating system, and restarting the bootloader which is useful if Fastboot commands are failing.
=== Enter Fastboot Mode ===
With the device unplugged and powered off, hold + + . Once you feel the device power on, continue holding + until you reach Fastboot Mode.
=== Unlock the bootloader ===
Before installing postmarketOS you have to unlock your bootloader. 
==== If your device is carrier locked ====
For the T-mobile version of the device in the US, search online for guides on obtaining an unlock code. Alternatively if you can't get the unlock code, or don't want to wait, you can use MSMDownloadTool to fully reflash device internal storage to old stock international ROM, where fastboot doesn't require unlock codes: this guide from XDA should help. You will need a windows PC, qualcomm usb drivers and EDL mode.
==== If your device is not carrier locked ==== 
The following is all that's needed to unlock the bootloader:
* Open setting, go to "About" and tap on the "build number" box ~10 times until you get a message saying you are now a developer.
* Go back to the main settings page, go to system and then developer options (it might be hiding behind a drop down). Toggle the switch to "enable OEM unlocking"
* Refer to "how to enter flash mode" above to get into fastboot mode, then re-attach your USB cable. Run the following command on your host:
fastboot oem unlock
* Read the message displayed on your device screen, once you're happy confirm the unlock. THIS WILL ERASE YOUR DEVICE.
== EDL Mode ==
Qualcomm Emergency DownLoad (EDL) Mode is a special low-power boot option that is intended to be used by OEMs to install firmware on presumably new and bricked devices alike.
You can use EDL Mode to enjoy fast offline charging speeds until the kernel gains driver support for fast online charging.
=== Enter EDL Mode ===
With the device unplugged and powered off, hold + while you plug the device in to charge.
Rather than automatically booting as normal, the device will appear to do nothing, after a couple of seconds you can release the buttons.
=== Exit EDL Mode ===
Restart the device by holding for 10 - 15 seconds (the time seems to vary).
= Community Info =
== postmarketOS users that own the device ==
== Maintainers ==
* Caleb
== See also ==
=== Internal pages ===
OnePlus 6T (oneplus-fajita)/Multi Booting and Custom Partitioning
=== External Links ===
* Kernel sources
* Kernel package
* Fajita device package
__FORCETOC__