If you own Any Xiaomi smartphone or MIUI ROM on any supported device which includes 3rd Party Phones running MIUI. If you are facing lag on your phone or your app gives you an error message, then we recommend you to clear the app data on your MIUI device it includes but not limited to Xiaomi MI 5C.
We are using Xiaomi Mi 5c for this guide which features a 5.15 inches IPS LCD display with a screen resolution of 1080 x 1920 pixels.
The device is powered by Xiaomi Surge S1 processor under Mali-T860MP4 GPU. The handset packs 64GB variant with 3GB of RAM. Xiaomi Mi 5c sports a Single rear camera with 12MP camera and Single 8MP single shooter.
The smartphone is running on Android 7.1 Nougat under MIUI 8 software package and backed by 2860 mAh battery. It has a fingerprint reader on the front.
Steps to clear App data on Xiaomi MIUI device
  • Open settings
  • Tap on Manage apps
  • Look for the app that you want to clear app data or cache, You can search it as well.
  • For Ex: If you tap on Calendar app, Now tap on App
  • Now click on Clear data button
  • At bottom you will see Clear data Tap on it.
  • Now Chose Clear all data or Clear Cache
  • Confirm Deleting all data by pressing OK
That’s it! Done!

Source