[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] spirtix:
Well, instead of crying here, you can help us. Everyone crying here can help us. We actually spent many hours on this bug.

Now some good news - I've got mediaserver (service responsible for camera) and HwCamCfgSvr (Huawei camera configuration service) running together without crash.

The camera initializes correctly and the system actually knows all camera properties, which is great. Here is log with my comments:

I mediaserver: ServiceManager: 0xf6099460
I CameraService: CameraService started (pid=7265)
I CameraService: CameraService process starting
I Camera3DeviceImpl: hw::Camera3DeviceImpl::Camera3DeviceImpl(const string&)(44): instance[0xf60b9140].
I Camera3MetadataImpl: hw::Camera3MetadataImpl::Camera3MetadataImpl(const string&)(45): instance[0xf60d70c0].
I Camera3DeviceImpl: hw::Camera3DeviceImpl::Camera3DeviceImpl(const string&)(44): instance[0xf60b93c0].
I Camera3MetadataImpl: hw::Camera3MetadataImpl::Camera3MetadataImpl(const string&)(45): instance[0xf60d7180].
I Camera3Module: int hw::Camera3Module::getCameraMountPostions() camera count = 2
I Camera3Module: int hw::Camera3Module::getCameraCount(): instance[0xf609b2a8]. camera count:2
I CameraService: Loaded "Huawei Camera Module" camera module [B]//This means that the proprietary module works...[/B]
I Camera3Module: int hw::Camera3Module::getCameraMountPostions() camera count = 2
I Camera3Module: int hw::Camera3Module::getCameraCount(): instance[0xf609b2a8]. camera count:2
I Camera3Module: int hw::Camera3Module::getCameraMountPostions() camera count = 2
I Camera3Module: int hw::Camera3Module::getCameraCount(): instance[0xf609b2a8]. camera count:2 [B]//The count is set up properly (no denied error (no 13) like before)[/B]
I Camera3DeviceImpl: int hw::Camera3DeviceImpl::getFacing(): instance[0x0xf60b93c0], facing(1). [B]//Next four lines mean that the service actually knows that there are cameras AND knows their exact properties[/B]
I Camera3DeviceImpl: int hw::Camera3DeviceImpl::getOrientation(): instance[0x0xf60b93c0], orientation(90).
I Camera3DeviceImpl: int hw::Camera3DeviceImpl::getFacing(): instance[0x0xf60b9140], facing(0).
I Camera3DeviceImpl: int hw::Camera3DeviceImpl::getOrientation(): instance[0x0xf60b9140], orientation(270).
W CameraService: doUserSwitch: Received notification of user switch with no updated user IDs. [B]//I don't like this - it may cause the reject issue when camera is being used[/B]

The camera doesn't crash with very weird reject errors and doesn't die because of invalid values, but still doesn't work. Here is log again with my comments:

I CameraManagerGlobal: Connecting to camera service
I CameraService: CameraService::connect call (PID -1 "media", camera ID 0) for HAL version default and Camera API version 1 [B]//I'm not sure if process ID -1 is right[/B]
E CameraService: CameraService::connect X (calling PID 7265, calling UID 0) rejected (don't trust clientUid 0) [B]//Rejected for user with ID 0 (camera app PID is 7265)[/B]
E CameraService: initializeShimMetadata: Error initializing shim metadata: Status(-8): '1: validateConnectLocked:946: Untrusted caller (calling PID 7265, UID 0) trying to forward camera access to camera 0 for client media (PID 0, UID -1)' [B]//The app (ID 7265) running under user 0 is trying to pass the access to process "media" (PID 0) running under user -1[/B]

So it looks that there is problem with that every app is untrusted caller and won't be able to connect to camera. I'm not quite sure, why is that. Could be wrong permissions, wrong domain or whatever, I think it has to do something with the user, because there is something more when using OpenCamera app:

I CameraService: CameraService::connect call (PID -1 "net.sourceforge.opencamera", camera ID 0) for HAL version default and Camera API version 1 [B]//App requests for rear camera[/B]
E CameraService: CameraService::connect X (PID 6448) rejected (cannot connect from device user 0, currently allowed device users: ) [B]//The process is running under user 0 and there are not allowed users[/B]
W CameraBase: An error occurred while connecting to camera 0: Service not available [B] //This is report that the service rejected the request[/B]

This doesn't appear with stock camera app.

If anyone has a clue, it would be really helpful. :)