To factory reset Android without losing messages and call logs, enable Google backup first by turning on “Back up other device data” in Settings > Google > Backup. After reset, restore data during ...
After an Android device is factory reset, the system may require verification of the Google account that was previously ...