[XA2] [3.0.2] No camera, flashlight after flashing v17B [answered]
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!
H4493, none of the above issues.
Kopekenscheich ( 2019-03-31 14:28:18 +0200 )editSounds 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 +0200 )edit