Sonim Xp3900 - Flashlight Not Turning On

I have a Sonim Xp3900 and when I try to use the flashlight it tells me in notifications that the flashlight won’t turn on because the camera is running.
I forced closed it and I still get that notification.
I don’t mind the notification I want the flashlight to work.
Any ideas?

take the battery out of the phone and while its out press the end button for 90 seconds

Thanks for your help but did not fix it

the next step is preforming a factory data reset

You could back everything up with the backup and restore app

please note that your notes will not be backed up

Thanks for all the help here
Not ready for a reset
I’m sure there’s gotta be a way to do it via adb

Which apps did you force stop

Camera

Try clearing data of both just make sure you pictures are backed up because im not sure where its backed up to

The truth is that I have a version that comes without a camera but I once swapped the motherboard and added a camera so after I swapped it back there actually is no camera on the phone but since I did that I cannot use the flashlight

Did you uninstall the camera app because it is not needed

Wdym it is not needed?

You said you swapped it back so why do you need the camera. Is this the stock camera from a Sonim that has camera?

Exactly my point, even after swapping back and uninstalling the camera I still get this error

This is what I see in notifications
If someone can pls help resolve this