Jump to content

OnePlus One (oneplus-bacon)

From postmarketOS Wiki
Revision as of 10:41, 30 March 2019 by Fizzo (talk | contribs) (Entering fastboot mode: Mentioning Fastboot flashing problem and workaround (recovery zip))
Warning 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
OnePlus One running Weston
OnePlus One running Weston
Manufacturer OnePlus
Name One
Codename oneplus-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
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
Partial
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Partial
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
Partial
Bluetooth
Partial
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
  • Nimayer

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 firmware-adreno package.

Julian Goldsmith currently has partially-working graphics support on mainline. The GPU is usable, but the display doesn't properly update. The issue most likely involves clock or regulator settings somehow.

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.

WiFi and Bluetooth

WiFi and Bluetooth are working, but aren't fully tested. They are most likely flakey.

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".

Fastboot unknown chunk type

Flashing with fastboot seems to fail on oneplus-bacon, it prints the message "FAILED (remote: Unknown chunk type)" when trying to flash the rootfs to userdata.

Currently we have no solution to this problem, so it is advised to flash using recovery zip.