[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] nighterman:
Device encryption does not seem to work on 05/11/2016 build :crying::crying:

11-07 19:09:59.614 402 402 I ServiceManager: service 'launcherapps' died
11-07 19:09:59.614 402 402 I ServiceManager: service 'media_projection' died
11-07 19:09:59.622 402 402 I ServiceManager: service 'imms' died
11-07 19:09:59.622 402 402 I ServiceManager: service 'cmstatusbar' died
11-07 19:09:59.622 402 402 I ServiceManager: service 'profile' died
11-07 19:09:59.650 401 401 I lowmemorykiller: ActivityManager disconnected
11-07 19:09:59.650 401 401 I lowmemorykiller: Closing Activity Manager data connection
11-07 19:10:00.109 400 457 I PerMgrSrv: modem voter did not reregister after crash. Powering down
11-07 19:10:00.109 400 457 D PerMgrSrv: modem new state: going off-line
11-07 19:10:00.319 352 364 E FrameworkListener: read() failed (Connection reset by peer)
11-07 19:10:00.403 399 1510 E QC-QMI : qmi_client [399]: unable to connect to server, errno=[111:Connection refused], attempt=2
11-07 19:10:00.609 400 457 D PerMgrSrv: modem new state: is off-line
11-07 19:10:01.403 399 1510 E QC-QMI : qmi_client [399]: unable to connect to server, errno=[111:Connection refused], attempt=3
11-07 19:10:01.417 602 602 I MSM-irqbalance: Decided to move IRQ65 from CPU1 to CPU2
11-07 19:10:02.010 352 7740 D QSEECOMAPI: : QSEECom_dealloc_memory
11-07 19:10:02.010 352 7740 D QSEECOMAPI: : QSEECom_shutdown_app, app_id = 3
11-07 19:10:02.011 352 7740 I Cryptfs : Using scrypt with keymaster for cryptfs KDF
11-07 19:10:02.025 7741 7744 D libEGL : loaded /vendor/lib64/egl/libEGL_adreno.so
11-07 19:10:02.128 7741 7744 D libEGL : loaded /vendor/lib64/egl/libGLESv1_CM_adreno.so
11-07 19:10:02.146 7741 7744 D libEGL : loaded /vendor/lib64/egl/libGLESv2_adreno.so
11-07 19:10:02.171 7741 7744 I Adreno : QUALCOMM build : 36240ec, Id385c0b2ba
11-07 19:10:02.171 7741 7744 I Adreno : Build Date : 05/12/16
11-07 19:10:02.171 7741 7744 I Adreno : OpenGL ES Shader Compiler Version: XE031.06.00.02
11-07 19:10:02.171 7741 7744 I Adreno : Local Branch : mybranch19725225
11-07 19:10:02.171 7741 7744 I Adreno : Remote Branch : quic/LA.BR.1.3.3_rb2.17
11-07 19:10:02.171 7741 7744 I Adreno : Remote Branch : NONE
11-07 19:10:02.171 7741 7744 I Adreno : Reconstruct Branch : NOTHING
11-07 19:10:02.178 7741 7744 E cutils-trace: Error opening trace file: No such file or directory (2)
11-07 19:10:02.188 7741 7744 E BootAnimation: Get Carrier Animation file,since it's not support carrier
11-07 19:10:02.188 7741 7744 E BootAnimation: Get Carrier Animation file,since it's not support carrier
11-07 19:10:02.188 7741 7744 E BootAnimation: Get Carrier Animation file,since it's not support carrier
11-07 19:10:02.191 7741 7744 D BootAnimation: Free memory: 1531636, max texture size: 16384
11-07 19:10:02.191 7741 7744 D BootAnimation: Disabled bootanimation texture cache, FPS drops might occur.
11-07 19:10:02.404 399 1510 E QC-QMI : qmi_client [399]: unable to connect to server, errno=[111:Connection refused], attempt=4
11-07 19:10:02.439 352 7740 I Cryptfs : keymaster module name is Keymaster QCOM HAL
11-07 19:10:02.439 352 7740 I Cryptfs : keymaster version is 3
11-07 19:10:02.439 352 7740 I Cryptfs : Found keymaster0 module, using keymaster0 API.
11-07 19:10:02.439 352 7740 D QSEECOMAPI: : QSEECom_get_handle sb_length = 0x2000
11-07 19:10:02.439 352 7740 D QSEECOMAPI: : App is already loaded QSEE and app id = 3
11-07 19:10:02.441 352 7740 I Cryptfs : Signing safely-padded object
11-07 19:10:02.443 352 7740 E QSEECOMAPI: : Error::send modified command ioctl failed wtih ret = -1, errno = 12
11-07 19:10:02.443 352 7740 E QCOMKeyMaster: Sign data command failed resp->status = -1 ret =-1
11-07 19:10:02.443 352 7740 D QSEECOMAPI: : QSEECom_dealloc_memory
11-07 19:10:02.443 352 7740 D QSEECOMAPI: : QSEECom_shutdown_app, app_id = 3
11-07 19:10:02.443 352 7740 E Cryptfs : Signing failed
11-07 19:10:02.443 352 7740 E Cryptfs : scrypt failed
11-07 19:10:02.443 352 7740 E Cryptfs : Cannot create encrypted master key
11-07 19:10:02.443 352 7740 E Cryptfs : Error enabling encryption after framework is shutdown, no data changed, restarting system
11-07 19:10:03.405 399 1510 E QC-QMI : qmi_client [399]: unable to connect to server, errno=[111:Connection refused], attempt=5

After trying to encrypt the device it ends up in a endless boot loop.

Santhosh could you please take a look to it?