Ask / Submit
1

Camera doesn't work on XA2 plus [answered]

asked 2019-06-10 13:46:16 +0300

Linuxovod gravatar image

updated 2019-06-10 18:07:03 +0300

Just installed 3.0.3.10 on XA2 Plus - seems camera application doesn't have an access to camera hardware, screen is black.

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by molan
close date 2019-06-12 14:03:19.497567

4 Answers

Sort by » oldest newest most voted
1

answered 2019-06-10 15:44:57 +0300

Linuxovod gravatar image

In console log I see following:

$ GST_DEBUG=3 jolla-camera
[D] unknown:0 - Using Wayland-EGL
[W] unknown:0 - Error: cannot create camera service, the 'camerabin' plugin is missing for GStreamer 1.14.
Please install the 'bad' GStreamer plugin package

But gstreamer1.0-plugins-bad-1.14.1+git4-1.6.3.jolla.armv is already installed.

edit flag offensive delete publish link more
1

answered 2019-06-12 00:36:45 +0300

Linuxovod gravatar image

Reinstalled SFOS and selected English (UK) on first boot - now everything works fine.

edit flag offensive delete publish link more

Comments

Good that the device is not broken!

Did you use the same packages while flashing? Did you do anything differently?

Direc ( 2019-06-12 08:27:35 +0300 )edit

Good question. I didn't have error messages while flashing device for the first time, but when I tried to reflash on the same linux desktop computer, fastboot started to produce "protocol error" on random stages. After it, just to test device, I flashed Android 8 on windows laptop with the other USB cable and tested all device features. Next step - booted Fedora on the same laptop and flashed SFOS again with same data. Also, Russian language was selected after the first flash and English (UK) - after second. So I can't say right now what was the reason of mailfunction - broken front USB port/cable on desktop computer or language selection.

Linuxovod ( 2019-06-12 11:07:36 +0300 )edit

maybe it has to do with "USB connection not working correctly with some USB connectors" problem reported in the install instructions ?

(I'm also hit by this problem: connection works flawlessly on my workstation, but fails randomly on my laptop)

and somehow, on your first attempt, it happened at a point where just enough was successfully copied to make the phone bootable, but still misses critical bits?

DrYak ( 2019-06-14 09:42:22 +0300 )edit

I had some other problems like jolla-messages segfaults, all were fixed after reflash

Linuxovod ( 2019-06-14 12:08:43 +0300 )edit

that really stinks like corruptions on the USB connection...

luckily, only the flash process is affected by that. SSH connection in dev mode works no matter which computer I throw at the smartphone.

DrYak ( 2019-06-14 17:18:05 +0300 )edit
0

answered 2019-06-10 17:09:57 +0300

Direc gravatar image

Perhaps this helps: https://together.jolla.com/question/202832/xa2-302-no-camera-flashlight-after-flashing-v17b/?answer=202879#post-id-202879

TL;DR: try selecting a resolution in Settings > Applications > Camera.

edit flag offensive delete publish link more

Comments

Resolution is already selected. I tried to switch to other and back it didn't help. And I'm on v16 blob.

Linuxovod ( 2019-06-10 17:15:51 +0300 )edit

Flashed blob v17B - no difference, camera is still dead.

Linuxovod ( 2019-06-10 18:06:10 +0300 )edit
0

answered 2019-06-11 22:35:46 +0300

Nerevareeeeeee gravatar image

updated 2019-06-12 00:11:11 +0300

Disclaimer:I have no idea what I'm doing

My guess it's missing some library or transport.

Is /usr/lib/gstreamer-1.0/libgstcamerabin.so in place?

I'm, being lazy, would've reinstalled (pkcon update & pkcon install) whole jolla-camera or gstreamer1.0 and gstreamer1.0-plugins-bad.

Alternatively:

pkcon install binutils
strip --remove-section=.note.ABI-tag /usr/lib/gstreamer-1.0/libgstcamerabin.so
edit flag offensive delete publish link more

Comments

Offtop, but anybody know, when XA2 camera get her resolution (23MP) instead 16 as now?

pearly dragon ( 2019-06-13 08:30:33 +0300 )edit

Question tools

Follow
2 followers

Stats

Asked: 2019-06-10 13:46:16 +0300

Seen: 297 times

Last updated: Jun 12