VibeOS on the OnePlus 6T: calls, camera, mainline kernel

I got my OnePlus 6T a while ago for Nura and postmarketOS, and used it as my main phone for a stretch. I was never quite happy with it: the camera was barely usable, and calls worked some days and not on others. That has changed. The battery lasts much longer, the camera takes usable pictures, and calls over 2G and 4G have worked without trouble so far. All of it on a current mainline kernel. The rest I had AI agents port and patch.

The system on top is VibeOS by pulpoff, a phone OS built on Debian and GNOME, which he builds with AI himself. Together we are optimising GNOME for touch, with the goal of bringing it up to the level of iOS and Android. That means a home screen, an app drawer, gestures, a lock screen, and its own apps for calls, messages, camera and browser. Underneath is the GNOME you know from the desktop, so ordinary GNOME apps just run.

The 6T (codename fajita, Snapdragon 845) is a rewarding device for this. It is cheap used, and although it is a few years old, mine has 8 GB of RAM, plenty for a full GNOME. On top of that, thanks to sdm845-mainline the Snapdragon 845 runs a real mainline kernel, 7.4 on mine right now.

A OnePlus 6T in a hand, its screen showing the VibeOS camera app with a live view of the keyboard behind it
The VibeOS camera app on the OnePlus 6T

What works

Everything below I have tried on the phone itself, not only seen in a log:

  • Calls with audio, over 2G and over 4G (VoLTE), both directions, earpiece and speaker.
  • Mobile data over LTE.
  • Wi-Fi and Bluetooth. The 6T gives the Bluetooth chip no address, so a boot service sets one.
  • Cameras. The back and front cameras take photos, video records at 1080p, and both rear lenses focus.
  • Sound. Speaker, headphones and microphone.
  • Suspend. With a SIM inserted the phone reaches deep sleep, and an incoming call wakes it. An hour and 40 minutes cost about 3 % battery.
  • The rest: display, touch, vibration, battery readout, GPU, sensors.

What is not there yet

  • Booting. Roughly one boot in seven to nine hangs a few seconds in. A watchdog catches most of them, but sometimes the phone ends up in Qualcomm's crash dump mode and a PC has to reset it.
  • The main camera (a 48 MP sensor) delivers pictures, but its auto exposure starts at the bottom. In a dim room it takes four to six seconds before you see anything.
  • Colour. The back camera still has a yellow-green cast, and the tuning waits for a daylight test. Hardware video encoding fails and falls back to software.
  • VoLTE in the published image. It runs on my phone, but the published image still ships with it switched off, so a fresh install calls over the older path at first. A call answered from deep sleep takes a few seconds until both sides hear each other. Waking by SMS I have not tested yet.
  • USB after suspend. If the cable is in while the phone goes to sleep, USB stays dead afterwards until the USB role is switched by hand.
  • Small stuff. With auto-login the keyring stays locked, and its password prompt has crashed the shell. Once the lock screen ignored touch.

So it is not a finished product yet, more a daily phone for people who like to fix things themselves. The state page in the VibeOS repository keeps the same list up to date.

A photo taken with the OnePlus 6T's main camera: the keyboard and the green cutting mat with its yellow grid, sharp, with a slight colour cast
Shot on the 6T: the same keyboard as in the picture above, unedited

How it got there

The first hurdles were in the installer. Each became a pull request to VibeOS, one fix per PR, each with a test that runs without root:

  • the partition tool tripped over empty entries in the 6T's partition table;
  • the system zip now clears both ends of the root partition so old metadata cannot get in the way;
  • the device zips unpack over existing symlinks instead of giving up;
  • the boot image no longer starts Plymouth, which crashed on this phone.

Then came the running system: the Bluetooth address, the SIM session the modem does not open by itself, call audio (the mainline voice driver needs a helper that opens the voice stream, and the earpiece needed two more fixes), the camera tuning in libcamera, and ModemManager and NetworkManager changes so that mobile data no longer wakes the phone on every suspend. That is where the battery life comes from.

I did this with AI agents. They read logs, write tests and draft patches, and I test every change on the phone. Call audio shows why the second part matters: an early test used a steady tone, which the network filters out, and so ruled out the wrong causes. Only listening to real speech found the right ones.

Where the patches are

  • VibeOS: the fixes for the installer, modem, call audio and camera went into pulpoff/vibeos as pull requests, the libcamera patches and tuning files included.
  • Kernel: my patches on top of sdm845-mainline, for example for the focus actuators, the display PLL and the call volume limit, are in JumpLink/linux-fajita, with ready builds under Releases.

Help yourself. If you maintain another SDM845 device, build another distribution or just hit the same problem, you are welcome to take our patches and reuse them. Whatever is fit for upstream we want to bring upstream as well, as soon as we find the time. If you want to help with that, or want a particular patch upstream sooner, get in touch.

Try it

The full instructions for the 6T are on the VibeOS releases page. In short:

  1. You need a 6T with an unlocked bootloader and LineageOS with its recovery. Download the boot.img of your LineageOS build first. On the 6T it also holds the recovery, and it is your way back.
  2. Download the system zip vibeos-system-0.1.6-arm64.zip and the device zip vibeos-device-oneplus-6t-0.1.6.zip, and check both against the signed checksums on that page.
  3. Start the recovery and adb sideload the system zip first, choosing Whole device. Then the device zip, and for the boot image pick the partition it calls "this slot's boot".
  4. Restart. The first start restarts once by itself. Log in as user with the password 147147, then change it with passwd.

The install takes the whole data partition, so Android and everything on it is gone afterwards. Back up first.

The device zip carries my kernel from fajita-7.4.0-rc2-1. The newer fajita-7.4.0-rc2-2 is the one where all three cameras work, and it brings the patched libcamera with its tuning files and one more ModemManager fix. Its release notes say how to put it over a running install. All builds are under linux-fajita/releases. If you already run VibeOS, new versions come through the Software app or apt. What 0.1.6 brings is in its GitHub release.

The zips are meant for testers. My phone runs my own builds, and according to the VibeOS page the published 0.1.6 zip itself has not been on a 6T yet. If the phone stops at the logo, Volume Up and Power start fastboot, and fastboot flash boot_a boot.img (or boot_b) brings LineageOS's recovery back. As a last resort the phone can be rescued over Qualcomm's EDL mode. Sort that out before you need it, and never switch boot slots with qbootctl -s on this phone.

Thanks

None of this would exist without other people's work:

  • pulpoff for VibeOS, and for merging our fixes so quickly.
  • The sdm845-mainline community, whose kernel all of this stands on.
  • postmarketOS and Nura, whose knowledge of the 6T and whose kernel config I built on.
  • Lolren for the 6T fixes, whose camera patches are the base of our libcamera work.
  • David Heidelberg for his ath10k patch, which stops Wi-Fi from waiting three seconds on every suspend. We carry it until it lands upstream.
  • libcamera and linux-msm, without which these phones would have neither a picture nor sensors.

What's next

Next up are the boot hangs, the camera tuning in daylight and VoLTE in the published image. Meanwhile I am bringing Priel to the phone, my touch widgets for GNOME apps, so that apps built for a desktop feel at home under a finger too. More on that soon.

Back to the logbook