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

Camera broken after installing Sailfish on Xperia xa2 plus

asked 2019-09-11 12:50:52 +0300

UweKern gravatar image

Hello I have installed Sailfish OS on a new Xperia xa2 plus. Until then, the camera was working on Android. Even after the unlock, the camera still worked.

Under Sailfish, the screen remains black, the camera does not show a picture.

After that, return to Android with EMMA Tool, but now the camera no longer works on Android too.

Any ideas?

Greeting Uwe Kern

PS: I have already asked Jolla, but they do not answer.

edit retag flag offensive close delete


If camera had been working upon Android might have suggested removing and re-installing under root (pkcon remove & pkcon install) jolla-camera, jolla-camera-settings and jolla-camera-lockscreen. Remember only latest devices running Android Pie that can be bootloader unlocked without breaking camera features and XA2 Plus is not one of them.

aspergerguy ( 2019-09-11 14:43:07 +0300 )edit

Very interesting. I haven't read any of this in the Sailfish OS installation instruction. But that would be worth mentioning. Is there a way to access the phone on Windows, or do I have to configure a Linux machine to do so. SSH is also part of Windows 10.

UweKern ( 2019-09-11 16:06:09 +0300 )edit

Presumably developer mode has been enabled in which case can use installed "Terminal" app upon device. If font too small tap upon three horizontal bars at top right of screen and under "Font size" tap +. Whilst essentially a Mac user, I am sure you can use the likes of "Putty" to SSH into device.

Although it was simple enough to backupTA upon Xperia X devices, this is no longer possible upon XA2 series although some features can be restored using a paid for application Xperifix:link text

aspergerguy ( 2019-09-11 16:38:26 +0300 )edit

Now, I restore Android by using EMMA again. And hey, the Camera works with the Android OS. The APP Xperifix dont support the a2 plus. 19 Euro for usless Software :) Back to Sailfish, same procedure as every year. No Cam. Next, i check to delete and reinstall the Moduls in Terminal. Camera is still broken, Any other ideas?

UweKern ( 2019-09-11 22:39:00 +0300 )edit

I had such problems inly with Advanced Camera app. Starting stock app always helps.

wosrediinanatour ( 2020-01-05 08:38:51 +0300 )edit

6 Answers

Sort by » oldest newest most voted

answered 2019-09-24 23:12:23 +0300

JohnW gravatar image

Exactly same problem, Camera of Xperia XA2 plus dual sim completely black after installing Sailfish 3. Helpdesk seemingly clueless. Here is their answer after having asked me to reinstall, which did not help.


Thank you for your message!

Sorry to hear that didn't help. This is very rare behaviour for the XA2 Plus that we have not yet run into during our testing. If you could record a log from the Android subsystem while starting the camera, then we might be able to see what's going on with your device.

Please enable Developer Mode, then on a terminal or ssh connection execute the following command:

/usr/libexec/droid-hybris/system/bin/logcat -c

This empties the Android log. Now start recording it to a file with:

/usr/libexec/droid-hybris/system/bin/logcat -f log.txt

This command will not stop writing the log to the file until you press Ctrl+c.

And start the camera. Once the camera is up and running, stop the log and email it to us.

It would also help to take a camera app log by running the following from a nemo terminal (not root):

GST_DEBUG=4 jolla-camera > camera-log.txt 2>&1

It might also help to completely reinstall Android with Sony's Emma tool, verify that the camera works, then reflash Sailfish again. This would reset certain files that Sailfish does not touch, but may be needed for the camera to work correctly. It's a long shot though. Sincerely, Jolla Customer Care

edit flag offensive delete publish link more

answered 2020-01-04 18:36:59 +0300

NuklearFart gravatar image

i had it with standard xa2, but i also have that flash light does not work by first try. i could simply switch to selfie and back and worked. flashlight i only need to start twice. but as i said, standard xa2, no plus, no dual sim so maybe no help for you

edit flag offensive delete publish link more


Also having that problem occasionally on XA2 "regular". Hadn't thought of switching to selfie, just rebooted instead.

Tanghus ( 2020-05-06 13:35:25 +0300 )edit

answered 2019-09-11 14:05:50 +0300

sunburnedpenguin gravatar image

@UweKern, the same thing has recently begun happening to my Xperia X off and on, I guess since after the update to Seitseminen ( What appears to temporarily fix it for me is to reboot and then run the CSD tool (Settings-->About product-->tap build number 5x-->accept-->All tests-->scroll down to "Main camera and flash"). It will again fail again and show only black at some point, and I'll have to go through the reboot/CSD process again.

edit flag offensive delete publish link more


Hi, i check the camera with the test and only get the error fail. Reboot the device 3 times, same error. UweKern

UweKern ( 2019-09-11 23:27:19 +0300 )edit

answered 2019-09-12 23:05:20 +0300

peakki gravatar image

I've had problems with camera starting with XA2 Dual-Sim. When using android apps for some time, camera app doesn't work or android camera. Workaround before patch: shutdown android support and restart it.

edit flag offensive delete publish link more



Hello, i installed Sailfish on 2 brandnew XA2 plus dual sim and the camera don't work after install. I installed the free Version (without Android Support) too, the same Problem. After a clean Install, the camera is directly broken. Now, i work with Android :(.

Very bad, because i dont like Google anymore. Don't be Evil. Don't make me laugh!

I had great hope in Sailfish, but there is no answer to them. No support. I was looking forward to the next update.

UweKern ( 2019-09-13 10:58:10 +0300 )edit

No. Android 8.1 was installed.

UweKern ( 2019-09-13 12:11:55 +0300 )edit

I have just to confirm @peakki w/a. I do the same when camera stop work in sailfish. Someone should fill bug report against it (or maybe sb already did?)

Edit: Answering myself: https://together.jolla.com/question/207247/bug-camera-app-wont-open-xa2-30310/ Unfortunately it is not tracked by Jolla :(

pemek ( 2019-09-25 12:06:05 +0300 )edit

answered 2020-01-04 13:26:25 +0300

Eija gravatar image

I have the same problem with Xperia XA2 Ultra. Camera worked in Android, but in Sailfish, I only get black screen in camera app.

Went back to Android and camera worked again. Installed Sailfish again and camera not working.

edit flag offensive delete publish link more


My problem was solved. I had downloaded image for a wrong Xperia XA2 model. Because everything else than camera and SD card worked (the latter problem I thought was because of the card itself), it was quite difficult to find out what was wrong. However, Jolla helpdesk was very nice and helpful and finally they figured out the problem.

Eija ( 2020-01-21 18:30:52 +0300 )edit

answered 2020-05-05 02:57:55 +0300

GZZ gravatar image

The same problem, maybe a physical problem or bad conection? in my case making presure in the right of the camera i can recovery the image momentarily. I think the conector is floating over the pins. minute 2:57 https://www.ifixit.com/Teardown/Sony+Xperia+XA2+Teardown/110666. Finally whit a lamp and a knife a dissasembly the phone and press in the conector that solved the problem in my case.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools



Asked: 2019-09-11 12:50:52 +0300

Seen: 1,232 times

Last updated: May 05 '20