Hello,
The short version first: I have a very strange issue where screen rotation, proximity sensors, accelerometer data (tested in satStat, hereby just called the “sensors”) does not work neither in plain FPOS, flashed from the latest offline installer, nor for DivestOS (which is the only other Android variant I tried). However, for some reason it DOES work on the experimental new Ubuntu Touch build, by using the UBPorts Installer! Other things like wifi, LTE, GPS and BLE works completely fine in all OSes.
The longer version, on what I’ve done since I got my FP4 last thursday:
After my first startup of the OS I immediately went through the steps of unlocking OEM and the bootloader. Sadly, I can’t remember if any sensors were working back then, I probably didn’t test to rotate the screen.
My first go at an alternative OS was the fresh version of Ubuntu Touch from UBPorts, which worked mostly fine for a few days, sensors included (screen rot + turn black during calls). I also at some point tried to build my own modified kernel with Wireguard included, which worked as far as booting, loading the kernel module and connecting to my server. Except once connected, no other apps seemed to be able to use the connection. This is beside the point, but I just wanted to include “modified kernel” as one of the OSes I tested where sensors also worked.
Not being able to use Wireguard was a no-go, so I decided to jump over to DivestOS for now. This worked fine for almost a day I think before I realized I wasn’t able to rotate the screen by turning the phone, nor did it turn off the screen during calls. So to be fair, I don’t know if this stopped working right then or at some earlier point.
After a lot of troubleshooting, as well as attempts to flash only parts of the FPOS offline installer (Divest devs suspected a driver/firmware issue), I finally gave in and decided to download and flash the full FPOS package, wiping everything in the process. But again no luck, not even after upgrading from the settings updater, multiple reboots and turning the developer option for sensors off and on. At this point I was afraid I had broken something in hardware during one of the flashing operations.
So I decided to go back to where I know at least screen rotation worked in Ubuntu Touch, and to my pleasant surprise, it still WORKS there! I also downloaded an app from the store to read out sensor data like SatStat, and everything seems to be putting out rotation/gyro/accel data as expected.
Still, not having Wireguard was worse for me than missing screen rotation, so I decided to give DivestOS another go. Sadly I still can’t get sensors working there. SatStat shows only dashes (-) on the sensor readout screen, and screen rotation won’t work.
Not sure where to go from here, so I’m trying my luck in these forums before maybe contacting support. Since the sensors themselves seem to be functioning (in Ubuntu) I guess it can’t be hardware related, but I don’t know if there’s ane more things I can flash to get things back in a working order on the Android side.
Oh and lastly, late last night on a whim, I tried to unscrew some of the components inside the phone and put them back again (this was before the second Ubuntu test), but that didn’t help either. And on multiple points through troubleshooting I tried to turn the phone off, remove the battery, wait a few minutes and put it back in.