OnePlus One (oneplus-bacon): Difference between revisions
Replace Category:Unsupported device with Category:Not booting and remove Category:Device (since the infobox template sets that anyway!) |
Add section on graphics |
||
Line 34: | Line 34: | ||
* Wi-Fi (blob needed) | * Wi-Fi (blob needed) | ||
* Graphics | |||
* ... | * ... | ||
Line 39: | Line 40: | ||
There is a bug whereby the screen is not automatically refreshed. To work around this, run the following command as root on the device: | There is a bug whereby the screen is not automatically refreshed. To work around this, run the following command as root on the device: | ||
<pre># while [ ! ]; do cat /sys/class/graphics/fb0/modes > /sys/class/graphics/fb0/mode; done</pre> | <pre># while [ ! ]; do cat /sys/class/graphics/fb0/modes > /sys/class/graphics/fb0/mode; done</pre> | ||
== Graphics (hardware-accelerated) == | |||
The Adreno 330 GPU is supported by Freedreno. The firmware is required, and is available in the adreno-firmware package. | |||
The latest commit of xf86-video-freedreno will compile, but crashes in libdrm when it tries to initialize kgsl+fbdev. The kernel log states that it won't initialize a drawing context using the "legacy method". | |||
linux-oneplus-bacon uses an old (~3.4) kernel version from LineageOS, which most likely uses an incompatible implementation of kgsl. Getting graphics up will probably require the kernel to be mainlined. I ([[User:jrg|jrg]]) think that's what [[User:Flacks|flacks]] was most recently working on. | |||
== Links == | == Links == |
Revision as of 19:59, 26 February 2018
![]() 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 |
Software | |
Original software | Android 4.4.2 on Linux 3.4 |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | no |
Flashing |
No data |
---|---|
USB Networking |
No data |
Internal storage |
No data |
SD card |
No data |
Battery |
No data |
Screen |
No data |
Touchscreen |
No data |
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
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)
- 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
Graphics (hardware-accelerated)
The Adreno 330 GPU is supported by Freedreno. The firmware is required, and is available in the adreno-firmware package.
The latest commit of xf86-video-freedreno will compile, but crashes in libdrm when it tries to initialize kgsl+fbdev. The kernel log states that it won't initialize a drawing context using the "legacy method".
linux-oneplus-bacon uses an old (~3.4) kernel version from LineageOS, which most likely uses an incompatible implementation of kgsl. Getting graphics up will probably require the kernel to be mainlined. I (jrg) think that's what flacks was most recently working on.
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".