This experience occurred when I tried repairing the Redmi Note 4 Mediatek (Nickel) brick. Insert the firmware into the SP Flash Tool, and checked all partitions. However, the cust.img file has been replaced with a smaller size than the original. I tried twice with Download Only and Firmware Upgrade. Both failed, and a BROM ERROR STATUS DA EXCEED MAX NUM message appeared.