phone stopped charging through the charger it came with but charges fine through a power bank. The charger is not damaged in any way. :Rog phone 2; rooted: no.
It got somehow fixed without me having to do anything. Maybe the dozen restarts did the job. Sorry for the late reply but i totally forgot that i posted a discussion here.