Valid warranty

Will i lose warranty of my nokia 6 if i do factory reset after oreo update?