OnePlus 3T (oneplus-oneplus3t)

Contributors

 * DrGit
 * MartinL

Users owning this device
Good luck.

Unlocking the Bootloader
'''WARNING: Doing this will wipe ALL data on your device. Please backup all your personal data before continuing!'''
 * 1) Enable   by tapping the build number 7 times in   >
 * 2) Go to   and enable both   and
 * 3) Open a terminal window and type   to verify your device is visible.
 * 4) Type   to reboot your device into fastboot mode.
 * 5) Type   to verify once again that your device is visible.
 * 6) Type  . To navigate the on screen options use  and select an option with the  button.
 * 7) Congrats, your bootloader is now unlocked!

How to enter flash mode
You are now ready to flash.
 * 1) After the bootloader is unlocked press the  button and you should see the warning screen. Press  to open the boot options.
 * 2) Select   and press

Installation
If the fastboot flash fails use the recovery mode:

Mainline
MSM8996 common mainline kernel fork 1: Internal component

2: Driver of component

Known issues

 * screen goes to suspend on power button press, resume does not work
 * kernel oops on reboot https://gitlab.com/pmos-oneplus3t/linux/-/wikis/oneplus3t-mainline-reboot-oops-dmesg Workaround: https://gitlab.com/pmos-oneplus3t/linux/-/commit/13c0a5cf0feb296940c95753025222c022357cc4
 * screen goes to suspend in about 30 seconds after tinydm phosh/weston) starts and never resumes. Fix: https://gitlab.com/msm8996-mainline/linux/-/merge_requests/12