[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] user7743:
I have been trying to get encryption to work on my T325 as well and have the same issue. When hitting encrypt in the UI, the tablet gois into the boot logo and simply remains there. If you force power off and back on the tablet starts fine but is not encrypted.

I have tried this process whilst connected to logcat and the output is below.

I suspect the main issue is to do with permissions on the keymaste(r) files but I am no clueless as to how to trouble shoot this further. In the directory /vendor/firmware/keymaster/ the files have permission 644, in the directory /firmware/image/ where they are synlinked they had permission 440 as well as different owner/group.

Any advice on how to troubleshoot this further and get encryption working as this is a must for me to retrieve my work mail.

I/Timeline( 7104): Timeline: Activity_idle id: android.os.BinderProxy@1413b418 time:465311
I/ActivityManager( 701): Displayed com.android.settings/.CryptKeeperConfirm$Blank: +56ms
D/OpenGLRenderer( 7104): endAllStagingAnimators on 0x9ea9db80 (RippleDrawable) with handle 0xaee794c0
I/Timeline( 701): Timeline: Activity_windows_visible id: ActivityRecord{3f955f54 u0 com.android.settings/.CryptKeeperCo
nfirm$Blank t1251} time:465693
I/ServiceManager( 246): service 'android.security.keystore' died
D/Cryptfs ( 247): Just asked init to shut down class main
W/AudioSystem( 5361): AudioPolicyService server died!
W/IMediaDeathNotifier( 701): media server died
W/AudioSystem( 701): AudioFlinger server died!
W/AudioSystem( 701): AudioPolicyService server died!
W/SoundTrigger( 701): Sound trigger service died!
W/AudioSystem( 1163): AudioFlinger server died!
I/ServiceManager( 246): service 'media.audio_flinger' died
I/ServiceManager( 246): service 'media.player' died
I/ServiceManager( 246): service 'media.camera' died
I/ServiceManager( 246): service 'media.audio_policy' died
I/ServiceManager( 246): service 'media.sound_trigger_hw' died
W/IMediaDeathNotifier( 864): media server died
E/AudioService( 701): Media server died.
D/Cryptfs ( 247): unmounting /mnt/shell/emulated succeeded
I/ServiceManager( 246): service 'drm.drmManager' died
I/lowmemorykiller( 245): ActivityManager disconnected
I/lowmemorykiller( 245): Closing Activity Manager data connection
I/ServiceManager( 246): service 'dbinfo' died
I/ServiceManager( 246): service 'cpuinfo' died
I/ServiceManager( 246): service 'permission' died
I/ServiceManager( 246): service 'processinfo' died
I/ServiceManager( 246): service 'audio' died
I/ServiceManager( 246): service 'DockObserver' died
I/ServiceManager( 246): service 'usb' died
I/ServiceManager( 246): service 'serial' died
I/ServiceManager( 246): service 'uimode' died
I/ServiceManager( 246): service 'jobscheduler' died
I/ServiceManager( 246): service 'backup' died
I/ServiceManager( 246): service 'appwidget' died
I/ServiceManager( 246): service 'voiceinteraction' died
I/ServiceManager( 246): service 'diskstats' died
I/ServiceManager( 246): service 'samplingprofiler' died
I/ServiceManager( 246): service 'commontime_management' died
I/ServiceManager( 246): service 'dreams' died
I/ServiceManager( 246): service 'cmsettings' died
I/ServiceManager( 246): service 'assetatlas' died
I/ServiceManager( 246): service 'print' died
I/ServiceManager( 246): service 'restrictions' died
I/ServiceManager( 246): service 'media_session' died
I/ServiceManager( 246): service 'themes' died
I/ServiceManager( 246): service 'killswitch' died
I/ServiceManager( 246): service 'media_router' died
I/ServiceManager( 246): service 'trust' died
I/ServiceManager( 246): service 'fingerprint' died
I/ServiceManager( 246): service 'launcherapps' died
I/ServiceManager( 246): service 'edgegestureservice' died
I/ServiceManager( 246): service 'media_projection' died
I/ServiceManager( 246): service 'imms' died
I/ServiceManager( 246): service 'cmstatusbar' died
I/ServiceManager( 246): service 'profile' died
I/ServiceManager( 246): service 'cmtelephonymanager' died
I/ServiceManager( 246): service 'cmhardware' died
I/ServiceManager( 246): service 'torch' died
I/ServiceManager( 246): service 'network_management' died
I/ServiceManager( 246): service 'textservices' died
I/ServiceManager( 246): service 'network_score' died
I/ServiceManager( 246): service 'netstats' died
I/ServiceManager( 246): service 'netpolicy' died
I/ServiceManager( 246): service 'wifip2p' died
I/ServiceManager( 246): service 'wifi' died
I/ServiceManager( 246): service 'wifiscanner' died
I/ServiceManager( 246): service 'rttmanager' died
I/ServiceManager( 246): service 'ethernet' died
I/ServiceManager( 246): service 'connectivity' died
I/ServiceManager( 246): service 'servicediscovery' died
I/ServiceManager( 246): service 'updatelock' died
I/ServiceManager( 246): service 'notification' died
I/ServiceManager( 246): service 'devicestoragemonitor' died
I/ServiceManager( 246): service 'location' died
I/ServiceManager( 246): service 'country_detector' died
I/ServiceManager( 246): service 'search' died
I/ServiceManager( 246): service 'dropbox' died
I/ServiceManager( 246): service 'wallpaper' died
I/ServiceManager( 246): service 'telecom' died
I/ServiceManager( 246): service 'sensorservice' died
I/ServiceManager( 246): service 'batterystats' died
I/ServiceManager( 246): service 'appops' died
I/ServiceManager( 246): service 'power' died
I/ServiceManager( 246): service 'display' died
D/SurfaceFlinger( 248): Set power mode=2, type=0 flinger=0xb6482000
D/SurfaceFlinger( 248): Screen type=0 is already mode=2
I/ServiceManager( 246): service 'hardware' died
I/ServiceManager( 246): service 'batterymanager' died
I/ServiceManager( 246): service 'usagestats' died
I/ServiceManager( 246): service 'webviewupdate' died
I/ServiceManager( 246): service 'scheduling_policy' died
I/ServiceManager( 246): service 'telephony.registry' died
I/ServiceManager( 246): service 'entropy' died
I/ServiceManager( 246): service 'account' died
I/ServiceManager( 246): service 'content' died
I/ServiceManager( 246): service 'user' died
I/ServiceManager( 246): service 'meminfo' died
I/ServiceManager( 246): service 'gfxinfo' died
I/ServiceManager( 246): service 'activity' died
I/ServiceManager( 246): service 'package' died
I/ServiceManager( 246): service 'vibrator' died
I/ServiceManager( 246): service 'consumer_ir' died
I/ServiceManager( 246): service 'alarm' died
I/ServiceManager( 246): service 'window' died
I/ServiceManager( 246): service 'input' died
I/ServiceManager( 246): service 'bluetooth_manager' died
I/ServiceManager( 246): service 'procstats' died
I/ServiceManager( 246): service 'input_method' died
I/ServiceManager( 246): service 'accessibility' died
I/ServiceManager( 246): service 'mount' died
I/ServiceManager( 246): service 'lock_settings' died
I/ServiceManager( 246): service 'device_policy' died
I/ServiceManager( 246): service 'statusbar' died
I/ServiceManager( 246): service 'clipboard' died
I/ServiceManager( 246): service 'isub' died
I/ServiceManager( 246): service 'sip' died
I/ServiceManager( 246): service 'simphonebook' died
I/ServiceManager( 246): service 'iphonesubinfo' died
I/ServiceManager( 246): service 'isms' died
I/ServiceManager( 246): service 'phone' died
D/libEGL ( 7831): loaded /vendor/lib/egl/libEGL_adreno.so
D/libEGL ( 7831): loaded /vendor/lib/egl/libGLESv1_CM_adreno.so
D/libEGL ( 7831): loaded /vendor/lib/egl/libGLESv2_adreno.so
I/Adreno-EGL( 7831): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BF.1.1.1.C2.05.00.00.04
6.002_msm8974_LA.BF.1.1.1.C2__release_AU ()
I/Adreno-EGL( 7831): OpenGL ES Shader Compiler Version: E031.25.03.00
I/Adreno-EGL( 7831): Build Date: 01/06/15 Tue
I/Adreno-EGL( 7831): Local Branch: mybranch6793908
I/Adreno-EGL( 7831): Remote Branch: quic/LA.BF.1.1.1.c2
I/Adreno-EGL( 7831): Local Patches: NONE
I/Adreno-EGL( 7831): Reconstruct Branch: AU_LINUX_ANDROID_LA.BF.1.1.1.C2.05.00.00.046.002 + NOTHING
E/BootAnimation( 7831): couldn't find audio_conf.txt
D/BootAnimation( 7831): Use save memory method, maybe small fps in actual.
E/QCOM PowerHAL( 7831): Failed to acquire lock.
D/Cryptfs ( 247): unmounting /data succeeded
D/QSEECOMAPI: ( 247): QSEECom_get_handle sb_length = 0x2000
D/QSEECOMAPI: ( 247): App is not loaded in QSEE
E/QSEECOMAPI: ( 247): Error::Cannot open the file /vendor/firmware/keymaster/keymaster.mdt
E/QSEECOMAPI: ( 247): Error::Loading image failed with ret = -1
D/QSEECOMAPI: ( 247): QSEECom_get_handle sb_length = 0x2000
D/QSEECOMAPI: ( 247): App is not loaded in QSEE
E/QSEECOMAPI: ( 247): Error::Cannot open the file /firmware/image/keymaste.mdt
E/QSEECOMAPI: ( 247): Error::Loading image failed with ret = -1
E/QCOMKeyMaster( 247): Loading keymaster app failed
E/Cryptfs ( 247): could not open keymaster device in keystore (Operation not permitted)
E/Cryptfs ( 247): Failed to init keymaster
F/libc ( 247): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x3c in tid 317 (vold)
F/libc ( 247): Unable to open connection to debuggerd: Connection refused
I/Vold ( 7847): Vold 2.1 (the revenge) firing up
D/Vold ( 7847): Volume sdcard1 state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 7847): Volume usbdisk state changing -1 (Initializing) -> 0 (No-Media)
I/Cryptfs ( 7847): Check if PFE is activated on Boot
E/Cryptfs ( 7847): PFE not activated
D/Vold ( 7847): Volume sdcard1 state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 7847): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 65, PARTN 1
D/Vold ( 7847): Volume sdcard1 state changing 2 (Pending) -> 1 (Idle-Unmounted)
D/BootAnimation( 7831): Use save memory method, maybe small fps in actual.
E/QCOM PowerHAL( 7831): Failed to acquire lock.