How can MIUI read my previous MI Account ID and phone number on clean install?
For Mi 8 Lite, it is stored in /persist/fdsd/st. This file contains JSON structure with extra_email and extra_phone that matches what is displayed in the screen.  Also, after deleting this file, the initial setup step that asks for account activation is not displayed anymore.