Boot loop after messing with the smallest width option in developer options. (Redmi 5 plus)
Wipe all data and restart. That's what I did after I made the same mistake of changing the width drastically from 392 to 1000.
It messes with the UI and goes into a loop.