Originally Posted by i2andog
Can you access your phone with ADB when it is stuck in the bootloop? If so, execute these commands with ADB:
adb shell wm density reset
If this doesn't work, check for a file in '/data/property/persist.sys.lcd_density' (without quotation marks) and delete it, then reboot. Your device should fallback to the default DPI. (In build.prop). You can do this using the terminal within TWRP, with these commands (after you mounted the /data partition):
If both did not work, you probably have to factory reset your phone. You could try to reflash the stock firmware before resetting.