I posted the thread just made an account to respond.
I'd like to clarify that the screen (the glass) itself is not actually broken, but it might aswell be for what i was trying to accomplish.
Luckily after an hour or so when i manually rebooted it again the screen was flickering a lot less and i was able to set up my phone again after the factory reset.
Props to jclovis31976 who posted the probable cause of this phenomenon on the fixit.com forum and dexine who posted a good temporary fix for the problem (wich im yet to try out myself because i don't have the phone with me at the moment) :
Dexine posted:
Finally got this fixed. it sounds like the reason for this is that since the latest update your phone cannot decide whether to use hardware or software back light settings. I managed to make the problem go away by doing this:
Go to settings >> system >> About device.
Find "Build number" and click 6 times fast on it.
You will then get the message saying: "You are now a developer"
Come back to Home Screen, and then go back to Settings >> system >> Now you will see the "Developer Options"
Now go to Developer options >> Drawing Section or Rendering Section >> Find "Turn off hardware overlays" or "disable hardware overlays" >> This will force the phone to always use GPU for screen adjustments. no more flickering.
jclovis31976 posted:
In my research thus far, the AMOLED screen technology is to blame. When the display circuits get old or damaged, they don't sustain current at low power settings. In LED screens, a back light controls brightness, but AMOLED screens send current to each pixel for brightness control. If the circuit is damaged, or any corrosion has built up inside, this could attenuate the current below the point required to sustain light flow. I see this problem with some LED and CFL lights on motion sensor switches. Just enough current goes through the motion sensor to keep it's circuits active, and that current causes a flicker in the light.
Link to the thread i quoted:
https://nl.ifixit.com/Answers/View/272594/Flickering+screen+on+low+back+light