summaryrefslogtreecommitdiff
path: root/content/articles/oneplus-6.md
blob: d5d3891a480c3afed34d7207e46134fb7764d00c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
	"title": "Oneplus 6",
	"subtitle": "Using free software on a phone",
	"aliases": [
		"/articles/oneplus-enchilada"
	]
}

#### Introduction

The Oneplus 6 is a smartphone from 2018 which is not supported anymore by the
manufacturer. Running free software on this device ensures that it stays
usable, allows customizations and improves security.

The intention of this article is to keep track of the ongoing development. The
intended free software setup consists of:

- [Linux kernel][7] with as few modifications as possible
- [postmarketOS][8] as a Linux distribution (based on Alpine Linux)
- [Phosh][9] as graphical environment

This setup is already usable for testing. To use it in everyday life some
improvements have to be made.

#### Milestone 1: Usable as primary phone

- stabilize audio during calls (might help: [callaudiod][11], [PinePhone audio][10], [ALSA API][12] and `alsactl store -f -`)

#### Milestone 2: Full hardware support

- add GPS functionality (probably with gpsd, see [related merge request][6])
- support USB/IP, USB OTG or NFC
- support cameras
- support finger print reader
- support sensors like internal measurement unit

#### References

- [postmarketOS wiki device page][1]
- [LineageOS wiki device page][2]
- [SXMO homepage][3]
- [postmarketOS: Tips and tricks for SXMO on oneplus-enchilada][4]

[1]: https://wiki.postmarketos.org/wiki/OnePlus_6_(oneplus-enchilada)
[2]: https://wiki.lineageos.org/devices/enchilada/
[3]: https://sxmo.org/
[4]: https://wiki.postmarketos.org/wiki/Sxmo:Oneplus6
[5]: https://wiki.postmarketos.org/wiki/Sxmo:Oneplus6#Calls
[6]: https://gitlab.com/gpsd/gpsd/-/merge_requests/139
[7]: https://kernel.org/
[8]: https://postmarketos.org/
[9]: https://phosh.mobi/
[10]: https://xnux.eu/devices/feature/audio-pp.html
[11]: https://gitlab.com/mobian1/callaudiod
[12]: https://www.kernel.org/doc/html/latest/sound/kernel-api/alsa-driver-api.html