[GUIDE] How to enable all cameras on Xperia 10 V

Had same issue but then realized you have to disable all the repos then you update will apply.

Can you avoid putting code on US-based, Microsoft-owned GitHub? Part of the reason I am using Sailfish OS is to not have to interact or share data with US Big Tech.

2 Likes

Update for 5.2.0.22 as new tag:

If you had it already applied for 5.1 you just need to redo the preparation step and step I. II and IV

1 Like

I can push it to another git hosting service too, any recommendation?

1 Like

Hi @balta, here are the logs of the community meeting where implementation by @Jolla was raised:

4 Likes

@rainemak and @mal thanks for looking into this for the community meeting.

If I understand it correctly you have no time right now to look into it directly but you would be open for contributions in the form of Pull Requests? So I would have a few questions and clarifications for my fixes before preparing clean PRs:

  1. The camera subsystem has to be enabled on the 10 V, but as you intentionally disabled it I think I would not need to create a PR to activate it again in the device configuration?
  2. The main camera really just needs a kernel patch in my approach. The changes are largely taken from the Lineage OS kernel but shortened to the needed parts to get the camera working with the stock v4b binaries. The recommended binaries from your installation guide will not work, you would need to adjust that. The needed changes are in the camera techpack from Sony, not in your repositories. Would you like to get it as a build-time patch in mer-hybris/droid-src-sony?
  3. The tele camera right now needs one binary patched to get it working and another binary added from the stock files for improved camera tuning and so improved image quality. Would you be fine with a kernel side workaround patch that ignores the values from the patched file so that the binary patch would not be needed to at least get it working? If so I would try if this is possible. Patching and adding additional files could still be an optional step for the user for improved quality.
  4. My patches for gst-droid and droidmedia are for allowing software encoding if hardware encoding is missing with additions that where at least needed in this case, I do not know if they benefit anything besides that software encoding workaround. Would you also be interested into a PR here? I know that @parth007 has already showed these patches are not needed if the hardware encoder is available, but this again requires binary files from Sony stock firmware right now. I’m still looking into a way to get hardware encoding without these binary files.
  5. I do not know if I can create a PR somewhere for the switched labels in the camera application, are the default values for the camera configuration device specific?
  6. For testing the changes against other supported devices I only have a 10 II and XA2 Plus laying around, especially if the changes would affect somehow the 10 IV I could not test myself.
3 Likes

Codeberg is a German-non-profit such that it’s not “vibecoded”

I believe once camera video recording will be fixed for 10 V - same fox may be applied for 10 Iv as well. Because when i was investigating the problem of no working video record for camera - i was facing same problems as missing encoder, kernel part, droidmedia, gst, etc..

It is “fixed”, as my step IV in the guide allows the usage of software encoder, or as alternative the way of parth007 with using the codec files from the stock firmware. But both ways are not perfect or even usable for upstream.

For the 10 IV you could try to simply use the rpms I provided (but do make backups!) or rebuild at least droidmedia for murray. gst-droid should be device independent.

New version of the guide with an updated droidmedia RPM is available:

This new version of droidmedia contains a commit by Jolla to allow the usage of Camera2 API. Using this RAWfish-ir can be used, but the app does not contain any profile for the Xperia 10 V yet.

If you already have the guide applied you just need to update the droidmedia RPM and reboot.

3 Likes

Great input again!
Thank you!
I wonder if you shall PM @mal so that he, you and @parth007 can debug details for mainstream?

I can’t wait to see all those great items fitted in @Jolla’s port :blush::blush::blush:.

Oh also I am wondering: are you and/or @parth007 interested to have a look at the sound issues? Like speakers not being stereo at the moment, or also 3.5mm Jack somehow not working…
Sound+Camera would make the 10 V so perfect…

3 Likes

On sound, both speakers play for me in some apps. For example, Finetune (from Storeman) streaming YouTube comes out on both speakers, so it might depend on the app or the volume level and not the hardware still not sure need to test it more. I can’t test the 3.5 mm jack since I don’t have a wired headset, but USB-C earphones work fine.

Thanks for your feedback. I was reading that both speakers give one side (right?) instead of being stereo, and usb-c microphone not working…
Reports from here, i encourage you to read feedbacks:

I just asked in the next community meeting about what is the smoothest way to get your work included in the official port. The sooner the better :slight_smile: : Community meeting on November 12, 2026 - #7 by yusssufff

Would be great if you could be available to be join the meeting as well!

3 Likes

Can these fixes damage/break Xperia 10 IV + Sailfish OS?

This is only tested on a 10 V, but for several weeks now. I do not know what can directly work on a 10 IV.

Thank you for this @balta.

I had a Xperia 10 V lying around and tried your tweak on a completely fresh install of SFOS. I did upgrade it to the latest version (5.2.0.22) prior that. The end result for me was that all of the three camera lenses now works, selfie camera works and the flash light works but video recording still crashes with Jolla’s camera application.

Just out of curiosity, I tried also with Open Camera application in AAS and it shows a black screen and states that “FAILED TO OPEN CAMERA, CAMERA MAY BE IN USE BY ANOTHER APPLICATION ID:0”. Selfie camera gives the same except ID is 1.

1 Like