Question: how to transfer data from redmi 5a to laptop?
Answer: Take the USB cable you use to charge your phone's battery and plug it into a USB port on your computer.
You will be prompted to select that you want to use your phone as a multimedia device. ... 
Your computer will then recognize your Xiaomi Redmi 5A as a remote device.