Here you can download redmi 6a latest miui 11 flash file or stock rom. Flashing redmi 6a will fix boot loop (hang on logo) and hanging problems. You will get rid of any software related problems, if you flash your redmi 6a with correct flash file.
Remember before flashing
Flashing your mobile device will permanently erase or format all data or files stored in your device internet storage.
Charge device battery at least 50% before going to flash or installing firmware.
Use a original usb cable during flashing.
Make your pc viruses free.
Always flash latest and original flash file matching device models.