Jump to content

OnePlus 5 (oneplus-cheeseburger): Difference between revisions

From postmarketOS Wiki
Deathmist (talk | contribs)
m LEDs: Turn notification light color controls to a list from a code block
Deathmist (talk | contribs)
m OnePlus 5: Verify XWayland as functional on Weston UI test environment
Line 20: Line 20:
| status_screen = Y
| status_screen = Y
| status_wifi = N <!-- Wireless network works? -->
| status_wifi = N <!-- Wireless network works? -->
| status_xwayland = <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
| status_xwayland = Y
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_mainline = N <!-- Instead of a Linux kernel fork, it is possible to run mainline. -->
| status_mainline = N <!-- Instead of a Linux kernel fork, it is possible to run mainline. -->

Revision as of 16:30, 27 January 2020

OnePlus 5
Manufacturer OnePlus
Name 5
Codename oneplus-cheeseburger
Released 2017
Hardware
Chipset Qualcomm MSM8998 Snapdragon 835
CPU 4x 2.45 GHz Cortex-A73
4x 1.90 GHz Cortex-A53
GPU Adreno 540
Display 1080x1920 Optic AMOLED
Storage 64 or 128 GB UFS 2.1
Memory 6 or 8 GB LPDDR4X RAM
Architecture aarch64
Software
Android 7.1.1 (up to Android 9) on Linux 4.4
Android 7.1.1 (up to Android 9) on Linux 4.4
no
Device package device-oneplus-cheeseburger
Kernel package linux-oneplus-cheeseburger
Features
Broken
Works
Broken
Works
Touchscreen
Works
Multimedia
3D Acceleration
Broken
Broken
Camera
Broken
Connectivity
WiFi
Broken
Bluetooth
Broken
GPS
Untested
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
Untested
Works
Sensors
Untested

Contributors

  • deathmist

Maintainer(s)

deathmist

Users owning this device

Fastboot mode

The OnePlus 5 uses fastboot as its flashing protocol.

To enter fastboot mode, hold Volume Up while powering on the device. Release the button when FastBoot Mode can be seen on the display.

Installation

Coming soon!

LEDs

Currently you can control a whole bunch of the LEDs present on the device via sysfs by writing values to their brightness control files as root:

Screen brightness (0-255) can be adjusted: echo 255 > /sys/class/leds/lcd-backlight/brightness

The backlight for physical buttons can be enabled (1) or disabled (0): echo 1 > /sys/class/leds/button-backlight/brightness

Notification light color & brightness (0-255) are controllable:

  • Red: echo 255 > /sys/class/leds/red/brightness
  • Green: echo 255 > /sys/class/leds/green/brightness
  • Blue: echo 255 > /sys/class/leds/blue/brightness

Control of the rear camera flashlight (/sys/class/leds/torch-light*/brightness) seems to be broken via sysfs anyway right now.

Partition layout

oneplus5:~# fdisk -l -o Device,Start,End,Sectors,Size,Name /dev/sda

oneplus5:~# fdisk -l -o Device,Start,End,Sectors,Size,Name /dev/sdb

oneplus5:~# fdisk -l -o Device,Start,End,Sectors,Size,Name /dev/sdc

oneplus5:~# fdisk -l -o Device,Start,End,Sectors,Size,Name /dev/sdd

oneplus5:~# fdisk -l -o Device,Start,End,Sectors,Size,Name /dev/sde

oneplus5:~# fdisk -l -o Device,Start,End,Sectors,Size,Name /dev/sdf

Links