We have moved to a new Sailfish OS Forum. Please start new discussions there.
6

[XA2] [3.0.2] No camera, flashlight after flashing v17B [answered]

asked 2019-03-31 13:36:49 +0300

Direc gravatar image

Hello and great Sunday, sailors!

I updated my Sony Xperia XA2 Ultra to SFOS 3.0.2 some time ago, and yesterday decided to update firmware from v16 to v17B. All was good, until I tried to use camera. Here's how the situation was:

  • Camera started, but with black viewfinder
  • Couldn't switch to front camera (button stayed active/pressed)
  • Flashlight didn't work, system tells me "Meneillään" aka. "Ongoing" I guess when clicking the icon the second time
  • WhatsApp quickly flashes black and returns when trying to use camera
  • Camera emits a fail at start while connecting to camera service via DBus when started on command line

I rebooted my phone a few times, turned it off and later back on, still no camera. I even removed and re-installed the Camera app, still the same.

Then I remembered having read something about some changer or additions in Android camera API, can't remember where. There was also something about camera resolutions, so I went to Settings > Applications > Camera:

  • Front camera had a resolution set
  • Main camera didn't have resolution set; no item was selected
  • I selected a resolution for the main camera and exited the page
  • I checked it again, resolution is still selected

Et voilá! Camera now works!

It looks like the camera system doesn't properly handle the transition from v16 to v17B, trying to use something that only works in v16 but has changed in v17B. Selecting the resolution by hand once from the list, which is generated correctly, fixes the issue. Now flashlight, Camera and WhatsApp camera all work as expected.

Perhaps this is something worth fixing? Thanks!

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Direc
close date 2019-04-26 16:47:50.681220

Comments

H4493, none of the above issues.

Kopekenscheich ( 2019-03-31 14:28:18 +0300 )edit

Sounds quite weird. Re-flashing might do the trick. I think there's no quick fkx for this kind of issues

Sakke ( 2019-04-01 09:21:01 +0300 )edit

1 Answer

Sort by » oldest newest most voted
3

answered 2019-04-01 09:35:38 +0300

Andy Branson gravatar image

Sony removed the previous maximum camera resolution in v17. The camera resolution is persistent in Sailfish, so if you update your vendor blobs then your selected camera resolution might no longer be available. In this case you'd have to select a new one in the camera settings.

While you're free to update your vendor blobs if you wish, there's not much to be gained in Sailfish for doing so yet and so it's not something that's really going to be supported. You might find little quirks like this.

edit flag offensive delete publish link more

Comments

Thanks for the clarification.

My motive for v17B is - besides bleeding edge - hope of getting at least some security fixes in. I don't know if there are any, as I couldn't find even a changelog. But, it is supported, so I installed it.

Direc ( 2019-04-01 15:20:01 +0300 )edit

woaw didn't saw it. i'm not sure to understand the motivation behind it. i don't think i'm stupid, maybe my english is a little bit basic. thanks for the info. I observe with v16 many artifacts in the pictures for the maximal resolution. Would explain why i didn't found some of then in v17b.

Maybe that gives the opportunity to use a bigger software zoom. that's sad that sfos don't give the zoom factor back on zooming for having an idea.
@Andy Branson do you think that is possible to add this "display zoom factor by using it" on the dev-team checklist?

cemoi71 ( 2019-04-02 01:50:19 +0300 )edit

@Andy Branson there is a lot to gain with v17B blob - it's called battery life. It's much better. And v17B is already supported and even recommended by Jolla with 3.0.2.

as400 ( 2019-04-02 10:58:52 +0300 )edit

@as400 correct, but after reading andys answer that a new version would be interesting for having better camera (at last) and maybe improvment by other features

cemoi71 ( 2019-04-02 11:16:19 +0300 )edit

Question tools

Follow
3 followers

Stats

Asked: 2019-03-31 13:36:49 +0300

Seen: 910 times

Last updated: Apr 01 '19