Download redmi 4a (device codename is rolex) only emmc replace/ change modified flash file, This flash file is used for emmc ic replaced or changed redmi 4a mobile.
After Replace/change mobile emmc ic Mobile will be restarting on boot logo to fix this issue you must flash this modified mmc Replace Flash File.
FLASH TOOL: Xiaomi Flash Tool Support
How to install Emmc Replace Flash File
Step 1: Download the Modified Flash File Stock ROM on the Windows PC by double-checking the compatibility. Then extract and get the workable extensions on the PC
Step 2: Download Xiaomi Flash Tool Free on the PC and unzip
Step 3: Move to the installation through the exe file from the folder
Step 4: Continue to “Browse” by entering the tool interface
Step 5: Then attach the ROM file
Step 6: Switch Xiaomi device into the Fastboot mode or Download Mode. (So turn off the device and simply take a long press and hold the keys of Volume Down and Power keys)
Step 7: Then connect the device to the PC with a proper USB cable which is in the Fastboot mode
Step 8: Now you can enter the tool interface and check whether the device is connected
Step 9: Then select the most suitable flashing option from all three “Flash all”, “Flash all except storage” and “Flash all except data and storage”
Step 10: Hit flash from the top of the window and wait for several minutes
Step 11: Once the process is done you can reboot and finalize the process successfully.