OnePlus One (oneplus-bacon)

From postmarketOS
Jump to: navigation, search
OnePlus One
OnePlus One running Weston
OnePlus One running Weston
Manufacturer OnePlus
Name One
Codename bacon
Released 2014
Original software Android 4.4.2 on Linux 3.4
Chipset Qualcomm MSM8974AC Snapdragon 801
CPU Quad-core 2.5 GHz Krait 400
GPU Adreno 330
Display 1080x1920 IPS
Storage 16/64 GB
Memory 3 GB


  • flacks

What works

  • Kernel compilation
  • Flashing system
  • Booting kernel via fastboot
  • initramfs boot
  • Flashing kernel
  • USB network
  • SSH connectivity
  • Weston
  • Touchscreen

What doesn't work

  • Wi-Fi (blob needed)
  • Hardware-accelerated graphics
  • ...

Display refresh

There is a bug whereby the screen is not automatically refreshed. To work around this, run the following command as root on the device:

# while [ ! ]; do cat /sys/class/graphics/fb0/modes > /sys/class/graphics/fb0/mode; done


Julian Goldsmith is currently working on mainlining the OnePlus One, based on flacks's initial DTS. Right now, he's using a fork of linux-postmarketos, and is trying to get hardware-accelerated graphics up and running.


The Adreno 330 GPU is supported by Freedreno. The firmware is required, and is available in the adreno-firmware package.

Julian Goldsmith currently has partially-working graphics support on mainline. XFCE4 displays properly, but other environments haven't been tested yet. There is an issue where the screen doesn't properly update, which requires a workaround to disable the tearcheck pin.

Actual 3D applications, such as glxgears, run very poorly at the moment. This may be due to the tearcheck workaround.

Cell usage

oFono support shouldn't take too much to get up and running. Adding the remoteproc node, using qmictl (possibly more utilities), and using a patched oFono should get basic support up and running.


Additional info

Entering fastboot mode

From a power off state, hold the volume up and power buttons until the device vibrates. The display should then light up and say "Fastboot Mode".