[Xperia Z1 Compact Original Android Development] munjeni:
Seems camera if working, only problem is preview... maybe camera preview start working if you add to build.prop:

persist.camera.preview.ubwc=0

or

persist.camera.preview.ubwc=1

There is a ton of getprop parameter which was not present in previous hal! Here is various new prop values in our new camera hal and its default values, you can try various diferent values probably to get camera working!

+ property_get("service.bootanim.exit", value, "0");
+ property_get("service.bootanim.exit", value, "0");
+ property_get("persist.camera.preview_yuv", value, "0");
+ property_get("persist.camera.preview_raw", value, "0");
+ property_get("persist.camera.video_raw", value, "0");
+ property_get("persist.camera.raw.format", raw_format, "17");
+ property_get("persist.camera.raw_yuv", value, "0");
+ if (property_get("persist.sys.exif.make", value, "") > 0 ||
+ if (property_get("persist.sys.exif.model", value, "") > 0 ||
+ property_get("persist.camera.kpi.debug", prop, "1");
+ property_get("camera.lowpower.record.enable", prop, "0");
+ property_get("persist.camera.nonzsl.yuv", value, "0");
property_get("persist.camera.dumpmetadata", value, "0");
+ property_get("persist.camera.preview_raw", value, "0");
+ property_get("persist.camera.video_raw", value, "0");
+ property_get("persist.camera.ltmforseemore", value, "1");
+ property_get("persist.camera.aux.preview.size", prop, "0");
+ property_get("persist.camera.aux.picture.size", prop, "0");
property_get("persist.camera.opt.livepic", value, "1");
+ property_get("persist.camera.liveshot.size", value, "");
+ property_get("persist.camera.preview.ubwc", prop, "1");
+ property_get("persist.camera.tnr.video", video_value, VALUE_OFF);
+ property_get("persist.camera.tnr.preview", preview_value, video_value);
property_get("persist.camera.zsl.backlookcnt", prop, "2");
property_get("persist.camera.zsl.queuedepth", prop, "2");
+ property_get("persist.camera.dual_led_calib", value, "0");
property_get("persist.camera.zsl.mode", value, "0");
+ property_get("persist.camera.instant.capture", prop, "0");
+ property_get("persist.camera.ae.capture.bound", prop, "7");
+ property_get("persist.camera.instant.aec", prop, "0");
+ property_get("persist.camera.ae.instant.bound", prop, "7");
+ property_get("persist.camera.mem.usecache", prop, "");
+ property_get("persist.camera.video.ubwc", prop, "1");
+ property_get("persist.camera.raw.format", raw_format, "17");
+ property_get("persist.camera.dcrf.enable", prop, "1");
+ property_get("persist.camera.eztune.enable", prop, "0");
property_get("persist.camera.raw_yuv", value, "0");
+ property_get("persist.camera.preview.seemore", prop, "0");
+ property_get("debug.gralloc.gfx_ubwc_disable", value, "0");
+ property_get("persist.camera.longshot.stages", prop, "0");
+ property_get("persist.camera.tn.disable", prop, "0");
+ property_get("persist.camera.dumpimg", prop, "0");
+ property_get("debug.gralloc.gfx_ubwc_disable", value, "0");
+ property_get("persist.camera.preview.ubwc", prop, "1");
+ property_get("persist.camera.video.ubwc", prop, "1");
+ property_get("persist.debug.sf.showfps", prop, "0");
+ property_get("persist.debug.sf.showfps", prop, "0");
property_get("persist.camera.raw.dump", prop, "0");
+ property_get("persist.camera.tnr.preview", prop, "0");
+ property_get("service.bootanim.exit", value, "0");
+ property_get("service.bootanim.exit", value, "0");
+ property_get("camera.eis.enable", eis_prop, "0");
+ property_get("persist.camera.facedetect", prop, "1");
+ property_get("persist.camera.hal3hfr.enable", prop, "0");
+ property_get("persist.tnr.process.plates", prop, "0");
+ property_get("persist.camera.kpi.debug", prop, "1");
property_get("persist.camera.global.debug", prop, "0");
property_get("persist.camera.HAL3.enabled", prop, "1");
+ property_get("persist.camera.dual.camera", prop, propDefault);
property_get("persist.camera.hal.debug", prop, "0");
+ property_get("persist.camera.dual.camera", prop, "0");
+ property_get("persist.camera.aux.camera", prop, "0");
+ property_get("persist.camera.kpi.debug", prop, "0");

Or probably disable hal3:

persist.camera.HAL3.enabled=0

Let me know!