Tutorial for fixing the data corruption error
Do not use this if you do not have an nandroid back up on your PC or SD card don't blame me.
1. On twrp go to the wipe data menu select format data.
2 select internal storage
3 hit format all data on internal storage will be gone and bug will be fixed.
4 profit u must have a android back up or stock ROM on your SD card or PC don't blame me.
Sent from my One M8 using XDA Premium HD app