I unlocked the boot loader and tried it, but it didn't succeed.
I think you may need to format the data partition in TWRP rather than just wipe it. I switch between android versions quite frequently on some of my devices (when testing different ROMs), and if I don't format data, then I see the symptoms you describe
cd /system/system/priv-app
rm -rf SetupWizard
adb root
adb shell logcat -b all -d > logcat
adb pull /sys/fs/selinux/policy
cd sys/fs/pstore
cp * /sdcard
Very good! :good: