Camera Firmware not installed on GT-I9515L TL;DR

My Rear Camera doesn't work and the Firmware version for it is null and I think I need to install it manually. How do I do that in a Samsung Galaxy S4 GT-I9515L with PDA I9515LUBU1BOJ1 and CSC I9515LZTM1BOI1?



Everytime I open my camera app, I get a black screen and some of those times it shows a Updating Camera Firmware. Please Wait...

When researching the web,  I found the *#0*# code that tells me Data Line Fail and Camera Failed when I hit the Mega Cam buttom.

Also, the *#34971539# code shows me that I have no firmware installed:

Rear Camera (Main)
Cam FW Ver: null
Phone FW Ver: S13F0LAGE10


What I tried:


Factory Reset. After this, the Google Account got in and re-installed every app and restored every data, but I didn't consider this being the problem due to the Cam FW Ver: null appearing to state that I have no Camera Firmware currently installed.
Phone Firmware Update. I found a Firmware on SamMobiles that matches my Country and Carrier dated 2 weeks ago for Android 5.0.1. I know I hadn't gotten this from OTA because although I use TIM carrier, my phone had the Claro carrier logo, so technically my provider and the firmware didn't match each other. I successfully installed the 5.0.1 firmware and the phone works perfectly, except the camera problem that still persists (no Firmware version).


My guess is that I have to install the camera firmware manually, but I have no idea how to do it. I'd love if somebody could point me to the direction in which I can find the solution.

When opening the app, it gives some freezes, but it's possible to hit the switch camera and use the front camera regularly.

Thank you very much.
Unfortunately, I could not find a software solution, so I took it to the warranty and they fixed it by replacing the camera.