OnePlus One (oneplus-bacon)
![]() 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 | armv7 |
Software | |
Original software | Android 4.4.2 on Linux 3.4 |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | yes |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
No data |
SD card |
No data |
Battery |
Works |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
Partial |
Audio |
Broken |
Camera |
Broken |
Camera Flash |
No data |
Connectivity | |
WiFi |
Works |
Bluetooth |
Works |
GPS |
Broken |
NFC |
No data |
Modem | |
Calls |
Broken |
SMS |
Works |
Mobile data |
Works |
Miscellaneous | |
FDE |
Broken |
USB OTG |
Broken |
HDMI/DP |
No data |
Sensors | |
Accelerometer |
Broken |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Hall Effect |
No data |
Haptics |
No data |
Barometer |
No data |
Contributors
- flacks
- Nimayer
- Julian Goldsmith
Users owning this device
- Bdju (Notes: water damaged and doesn't boot)
- Blackwell
- Double-hash (Notes: damaged screen & touchscreen, running pmOS)
- Eloy (Notes: Broken touchscreen)
- Fizzo
- Hastalavista (Notes: PMOS edge w/ mainline kernel, WiFi intermittently failing)
- IonAgorria (Notes: PMOS - Damaged)
- Jrg (Notes: Broken touchscreen)
- KenOokamiHoro (Notes: SIM Card slot was broken. Running LineageOS 15.1)
- Ksqeib (Notes: Using as Minecraft Server)
- MasterPlexus (Notes: with PMO as small server, Mainline)
- Maufl
- Noocsharp
- Nspire
- Poipa
- Toastal (Notes: tried pmOS running XMPP server, but plagued with hard drive issues after a few days running that make it go read-only every time I reinstalled the OS)
- Val (Notes: PmOS for Docker server)
- Vipaol (Notes: LOS)
- Z3ntu
Installation
After installing pmbootstrap, build the image:
$ pmbootstrap init
$ pmbootstrap install --split
Then to flash it, put your device in fastboot mode, and plug it into your USB port. Currently, you will need to break apart the subpartitions before flashing:
$ pmbootstrap export
$ fastboot erase system
$ fastboot flash boot /tmp/postmarketOS-export/boot.img
$ fastboot flash cache < work dir>/chroot_native/home/pmos/rootfs/oneplus-bacon-boot.img
$ fastboot flash userdata < work dir>/chroot_native/home/pmos/rootfs/oneplus-bacon-root.img
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".
WiFi and Bluetooth
WiFi and Bluetooth are working, but aren't well-tested. The firmware isn't packaged yet, so you will need to get it from the partitions on your device. For Bluetooth, you will need to install bluez and enable the bluetooth service.
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.
Troubleshooting
Fastboot unknown chunk type
Nimayer received the message "FAILED (remote: Unknown chunk type)" when trying to flash the rootfs to userdata.
It may be possible to fix the issue by flashing a new OxygenOS image. If that doesn't work, try flashing postmarketOS using a recovery zip.
wlan0 interface is available but WiFi is not working
Check that wlan0
device MAC address is not 00:00:00:00:00:00
. If it is, change it to any other available one like this:
# ip link set dev wlan0 address 70:85:c2:d9:2b:e0
If the Mac is not 00:00:00:00:00:00
try to restart NetworkManager by executing:
# sudo service networkmanager restart
Most likely you want create Initscript for working network when boot.
Create /etc/init.d/wlanhwaddr
:
#!/sbin/openrc-run
command=/sbin/ip
command_args="link set dev wlan0 address 70:85:c2:d9:2b:e0"
description="WLAN hw-addr setter"
depend() {
before networkmanager
}
Install:
# sudo chmod 755 /etc/init.d/wlanhwaddr
# sudo rc-update add wlanhwaddr