OnePlus 6 (oneplus-enchilada)

From postmarketOS
Jump to: navigation, search
OnePlus 6/6T
Running phosh!
Running phosh!
Manufacturer OnePlus
Name 6/6T
Codename oneplus-enchilada, oneplus-fajita
Released 2018
Category testing
Original software Android 8.0 (Up to Android 10) on Linux 4.9
postmarketOS kernel 5.8-rc1
Hardware
Chipset Qualcomm SDM845 Snapdragon 845
CPU Octa-core (4x 2.8 GHz Kryo 385 Gold & 4x 1.7 GHz Kryo 385 Silver)
GPU Adreno 630
Display 1080 x 2280 / 1080 x 2340 AMOLED
Storage 64/128/256 GB
Memory 6/8 GB
Architecture aarch64
Unixbench Whet/Dhry score 4100
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Works
Xwayland
Works
FDE
Broken
Mainline
Works
Battery
Partial
3D Acceleration
Partial
Accelerometer
Broken
Audio
Broken
Bluetooth
Broken
Camera
Broken
GPS
Broken
Mobile data
Broken
SMS
Broken
Calls
Broken
USB OTG


About

This page describes the support for postmarketOS on the OnePlus 6/T. The phone is running a mainline kernel which you can find here.

Users owning this device

  • Jrg
  • Kalube (Notes: Daily driver, dual boot mainline/android)
  • Tvsclass (Notes: Android dual boot)

Contributors

Notes

Installing

pmbootstrap init, pick enchilada / fajita device depending on your taste :D

Most UIs work well, phosh is quite good, plasma mobile does seems to be more buggy. For phosh set scale=3 in /usr/share/phosh/phoc.ini under DSI-1 to fix scaling.

Now run the following to build and flash:

pmbootstrap install --split
pmbootstrap export

Reboot back into bootloader mode after each of the following commands, replacing enchilada with fajita where appropriate.

fastboot erase dtbo
fastboot flash vendor /tmp/postmarketOS-export/oneplus-enchilada-boot.img
fastboot flash system /tmp/postmarketOS-export/oneplus-enchilada-root.img
fastboot flash boot /tmp/postmarketOS-export/boot.img-oneplus-sdm845

Reboot and you should see dmesg on your screen :D

If you have flashing or booting issues, try first flashing the latest OxygenOS to the slot you want to install postmarketOS to (ie, flash in TWRP from your other slot). If you still have no luck, try flashing OOS 9 as the bootloader can be more forgiving.

It is possible to dual boot with android by following the guide above and using

fastboot --set-active=[a|b]

to switch to your inactive slot before flashing.

Building

Feel like helping? Want to learn kernel development?

Check out the mainlining guide

For detailed SDM845 specific instructions on initial device porting and building. Feel free to contact @kalube in the #postmarketos-mainline matrix channel if you're stuck.

Sources

Kernel sources

How to enter flash mode

Unplug from USB, hold Power and Volume Up until you see "Fastboot Mode" text.

See also

If you manage to get your device packages merged, uncomment links below and change DEVICE_CODENAME with the actual one.

Photos