OnePlus One (oneplus-bacon)
WARNING: This device is not recommended for future use with postmarketOS due to its armhf architecture. Alpine Linux (the distribution that postmarketOS extends) pmaports#599 has been considering dropping it. The processor of the device may support the armv7 architecture. If so, you can modify the device package and change the architecture accordingly. |
![]() OnePlus One running Weston | |
Manufacturer | OnePlus |
---|---|
Name | One |
Codename | bacon |
Released | 2014 |
Hardware | |
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 |
Architecture | armhf |
Software | |
Original software | Android 4.4.2 on Linux 3.4 |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | partial |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
No data |
SD card |
No data |
Battery |
No data |
Screen |
Partial |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
No data |
Audio |
No data |
Camera |
No data |
Camera Flash |
No data |
Connectivity | |
WiFi |
No data |
Bluetooth |
No data |
GPS |
No data |
NFC |
No data |
Modem | |
Calls |
No data |
SMS |
No data |
Mobile data |
No data |
Miscellaneous | |
FDE |
No data |
USB OTG |
No data |
HDMI/DP |
No data |
Sensors | |
Accelerometer |
No data |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Hall Effect |
No data |
Haptics |
No data |
Barometer |
No data |
Contributors
- flacks
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
Mainlining
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.
Graphics
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.
Links
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".