Released September 25, 2015. Model A1688/A1633.
Repair of this device is similar to previous generations, requiring screwdrivers and prying tools. Available as GSM or CDMA / 16, 64, or 128 GB / Silver, Gold, Space Gray, or Rose Gold options.

Ambient light sensor not working

Hello -

Phone screen was cracked, replaced the glass via ebay service. Prior to replacing the glass i had no issue with the ambient auto light sensor dimming the screen based upon how dark or bright the room is.

Now the ambient light sensor does not work at all and is frustrating. I replaced the camera/light/prox flex with two known good and still no go. If you turn off and then back on the ambient light sensor it auto adjusts to just under medium brightness.

i have the same issue and i also can't fix it. I orderd 10 cables from 10 different shops. When i connect the old cable with the broken microphone, the autobrightness adjust works fine, with the 10 cables it goes to under medium brightness.

Yeah very well could be the glass, some of the cheaper lenses don't allow proper light detection. If you replaced the front flex I'm sure you would have made sure that the sensor is correctly situated.

Well the black hole above the earpiece is for the proximity sensor, the ambient light sensor is invisible from the front side. How to fix it would depend on whether its getting too much light or not enough. Test this by putting your thumb over the sensor, it should dim down. Then try putting a bright light up to it, it should brighten. When looking at the lens of an apple original screen, the housing for the light sensor has a white dot over it.

Does the camera and proximity sensor still work? Does it still have the plastic bracket around the ambient light sensor? If the plastic bracket is missing, that can often cause this issue, especially if its happening with multiple flex cables.

You should have both the clear plastic pieces circled in this pic. If you don't then they probably lost them and didn't think it was important due to inexperience / laziness.

Resources

Repairability

Stay in the loop

It's time to speak out for your right to repair

We have a chance to guarantee our right to repair electronic
equipment—like smartphones, computers, and even farm equipment. This is a once-in-a-generation
chance to protect local repair jobs—the corner mom-and-pop repair shops that
keep getting squeezed out by manufacturers.

Join the cause and tell your state representative to support Right to Repair. Tell them you believe repair should be fair, affordable, and accessible. Stand up for your right to repair!