Chosen Solution
Hi, Few days back my both cameras and flash stopped working. we don’t have a apple shop in our city. when I open camera app it’s black but no errors even for flash. and when I run secondary camera apps, It just closes after 2 seconds.
Both cameras are powered by the same voltage rail; this is provided by U3200. There are some other voltage rails at play also but if they were bad, most of your phone wouldn’t work either. The Flash however is on a totally different circuit (U3300) but it does communicate with the RCAM via the I2C lines so it’s possible that a “dead” RCAM causes the flash to shutdown. Was this phone repaired or dropped shortly before this occurred? For the two cameras, you clearly have a logic board issue IMO. This is not a DIY repair, you should have it looked at by an experienced micro-solderer.
try a new rear camera first as this can sometimes stop both from working.