[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] deathmist:
This work is released under the permissive MIT license.

(click above image for higher resolution and quality images!)

#include <std_disclaimer.h>
/*
* I am NOT responsible for data loss, you getting fired because the alarm app failed or if you brick
* your device. Please do some research if you have any concerns about features included in this OS
* port before flashing! YOU are choosing to do these modifications, and if you point the finger at me
* for messing up your device, I will laugh at you.
* BOOM goes the dynamite!
*/

Hello, fellow XDA developers & users alike!

I think it's been long enough that we've not had alternative non-Android operating systems in a usable state for the popular OnePlus 5* devices, so here is a Sailfish OS port after over 6 months in development!

I'd really appreciate it if you give feedback and report bugs so I can attempt to fix them as best I can 🤞

Features

Slick and clean Sailfish OS UI/UX

Fully gesture driven navigation of the OS

Ambiences: a combination of system background, primary UI colors, sounds & volume levels

Sleep mode gestures e.g. double-tap to wake, music controls, 'V' for toggling flashlight etc

Ability to control configurable ambiences with the notification slider

Independent & alternative OS not based on Android (droid base is only used for drivers & HAL in SFOS)

Run regular GNU/Linux (armhf) tools and utilities natively out of the box from Jolla, OpenRepos, other custom repositories or direct binary format

Privacy-first OS with no spyware or bloatware pre-installed

Dual-booting between LineageOS & Sailfish OS with a simple zip flash in recovery (boot-switcher, linked below)

OS version OTAs, look at the merproject wiki page (see 'OTA updates' below)

A stable hardware adaptation (port) with basically everything working, but please also read about the problems right below

And more to explore...

Problems

No Android apps (APK) will run inside Sailfish OS as is the norm with community ports; you can just dual-boot with LineageOS (see FAQ below)

There is no VoLTE / VoWiFi support in SFOS at the moment (see FAQ below)

Even though NFC works, it's implementation is quite basic in Sailfish OS currently

Produced video recordings from the camera are unusable right now due to corruption of the beginning in recordings & artifacts when moving even slightly

Flashlight misbehaves for picture taking by taking too long to activate and causing nearly pitch black images (it also turns on/off rapidly a few times when disabling)

Some audio does not get routed properly to/from (Bluetooth) headsets

Sailfish OS Developer mode (SSH via USB cable) doesn't work

Rarely waking up from sleep mode can take a long time (up to about 15 seconds)

How to install

Backup all your data from the device to a computer

Download Pie Firmware 9.0.11, TWRP 3.4.x image, the LineageOS 16.0 base ROM & a Sailfish OS release

Install device firmware version 9.0.11 (not the ROM!)

Flash TWRP 3.4.x as your recovery

Reformat /data to ext4 and check it for issues

Reboot to recovery

Wipe cache & dalvik

Flash LineageOS 16.0

Flash anything else you normally flash for Android e.g. GApps, Magisk, no dm_verity etc

Flash Sailfish OS (the zip that contains rootfs.tar.bz2) from inside CI artifacts archive

Reboot and enjoy!

You can also flash my boot-switcher zip (or switch between hybris-boot and droid-boot images created on /sdcard) afterwards for simple dual-booting of the 2 operating systems!

Links & source

sailfishos-oneplus5: All project repos & source

important: Info and detailed guides about flashing, self-building etc

android_kernel_oneplus_msm8998: The used kernel source

sailfishos.org: General info about the OS as well as contributing, translation, app development etc

Changelog

wiki.merproject.org: Place with general info about the port status, OTAs etc

droid-config commits: Stuff modified on the Sailfish OS side

OTA updates

See "OTA (Over-the-Air) update" section under the libhybris adaptation wiki page.

Special thanks to

kimmoli for gesture-daemon & triambience

nathanchance for maintaining the OP5 linux-stable merged kernel tree

Mister_Magister, mal, r0kk3rz, rinigus, PiggZ, spiiroin, jusa, vknecht, NotKit and everyone else at #sailfishos-porters

The port was made possible thanks to you all!

FAQ

What does "SFOS" mean?

Sailfish OS; it's simply a common abbreviation.

Can I run [insert name here] Android app in Sailfish OS?

If there is no currently maintained client or similar app in the Jolla Store or (my preference) OpenRepos, then probably not. I may look into bringing Android app support via Anbox or similar project much later on; no ETAs.

Does VoLTE or VoWiFi work in Sailfish OS?

As of SFOS 3.4.0, these are still not implemented, but should be coming later in perhaps Sailfish OS 4.

How can I skip the SFOS beginner tutorial?

Tap each corner of the screen once starting from top-left going clockwise.

I found a bug, what can I do?

See "Report bugs" section under the libhybris adaptation wiki page.

XDA:DevDB Information

[ROM][GNU/Linux][OTA][3.4.0.24] Sailfish OS for OnePlus 5T, ROM for the OnePlus 5T

Contributors

deathmist

Source Code: https://github.com/sailfishos-oneplus5

ROM OS Version: 9.x Pie

ROM Kernel: Linux 4.x

ROM Firmware Required: 9.0.11 (Pie)

Based On: LineageOS 16.0

Version Information

Status: Stable

Current Stable Version: 3.4.0.24 (Pallas-Yllästunturi)

Created 2020-01-17

Last Updated 2020-12-10