[Xperia Z3 Compact Android Development] hexd0ts:
Hi. After using the 20170123 build for about a week as my daily driver (with OpenGapps and Supersu), I've noted the following things not working:

Video playback in Browsers:

Tested Firefox and Chrome, both in the current public PlayStore version.

At least one color channel is heavily offset, leading to strange looking picture.

This occurs on every HTML-Video I encountered, both embedded into the page and in fullscreen.

The same YouTube-Videos do work in the YT-App:

Bluetooth Audio stutters if the connection went to standby and gets woken

When connecting to my BT-Headphones, everything works fine. If no sound is playing for a while, the connection goes into a sleep mode.

Once sound is played again, the connection is successfully awoken, but sound stutters until the connection is dropped and reestablished.

When stuttering, logcat gets spammed with "BUFFER_UNDERRUN: read 0 of 512 bytes" or similar, I haven't exported it yet

Camera is not really usable:

As already discussed in this thread, the camera does not focus correctly, and the camera app shows a very dark picture

(the latter can be avoided using different camera apps, though the camera still doesn't focus)

When using the Nougat splitscreen feature, the app without focus seems to get garbage-collected

I've tested this with multiple combinations of apps.

When opening two apps, both work for a limited amount of time as expected.

Then, the app which doesn't have focus (i.e. my last input went to the other app) hangs or is outright closed, replaced by the next one in my recent apps list.

The RAM-indicator in the recent apps still shows plenty of ram (upwards of 0.5GB) left unused, so that should not be the cause.

Cannot flash ROMs in TWRP with the included kernel:

The included kernel doesn't correctly create the /dev/block/bootdevice symlinks, needed by most ROM install scripts.

The Carbon setup script will complain about not being able to mount /system.

You can flash other kernels (I've used the boot-image from Myself5's multirom -

fastboot flash boot TWRP-Multirom-20160606-00-aries.img

)

Since there was no new weekly, but many changes tracked in gerrit, I went ahead and did my own build. I used the current driver drop from sony (v08).

Personally, I think it would be nice if you mentioned & linked the sony driver blob downloads in the build instructions

I've had to revert commit f47596f9 due to it conflicting with the same code in an older commit in a different part of the codebase

While I made sure this fix and other related commits were included, the symlinks were still missing when booting TWRP with the built kernel

All problems listed above are either still present or worsened:

Camera apps (both stock and 3rd party) crash on start

My SIM is no longer recognized While flashing my build, I somehow managed to screw my radio firmware (educated guess)

Sadly, this is the point that stops me from further using the current Carbon-ROM build.

While the radio is still working (I can see signal strength changes in the battery overview), I can no longer call, use SMS or use mobile internet.

I tried a second build including this proposed change which seemed to be the only current one addressing phone capabilities, but to no avail.

Flashing ROMs where it was working previously (both Carbon weekly and other) did not return functionality, while the SIM worked in other phones.

Flashing stock MM via flashtool did restore radio. After reinstalling TWRP and my Carbon build (this time including the telephony change from the beginning) it again has no access to GSM/LTE. This time installing another ROM did work though.

Are you aware of these problems, are there fixes one could try already available somewhere, and do any of the problems seem to be caused by my build procedure instead of the current state of the ROM?