Then I flashed CM11 M8. A clean install. Double wiped everything (cache, system, Dalvik, etc.). Flashed ROM (cm-11-20140708-SNAPSHOT-M8-hlte) and GApps (gapps-kk-20140606-signed).
Since then I've been getting this message when I boot the phone: "kernel is not seandroid enforcing / set warranty bit kernel".
I'm not sure what went wrong. Could it be kernel related? My kernel version is 3.4.0-g6c608ee.
Any help is welcome.