Get oreo Update On MI A1 jan 2018

Don't clear Google framework data. It will invalidate all tokens and as the google server are concerned it will be just like you've reset your device. You will lose GCM and all other sorts of things. Tokens will reinstate eventually but it might be hours, days or even weeks depending on the apps.

Don't get me wrong... there is nothing bad in cleaning those as long as you know what will be the drawback.

Furthermore it could affect the update of the android and cause issues. You might think they are from the update but it might actually come from clearing google framework data.