Failed to decrypt master key I:TW_CRYPTO_USE_SYSTEM_VOLD := true I:Attempting to use system's vold for decryption... Setting up folders and permissions... mv: can't rename 'firmware': No such file or directory mv: can't rename 'vendor': No such file or directory Symlinking vendor folder... Symlinking firmware files... ls: cmnlib.b00: No such file or directory No cmnlib.b00 in /firmware/image ln -s /system/etc/firmware/cmnlib.b00 /firmware/image/cmnlib.b00 ln -s /system/etc/firmware/cmnlib.b01 /firmware/image/cmnlib.b01 ln -s /system/etc/firmware/cmnlib.b02 /firmware/image/cmnlib.b02 ln -s /system/etc/firmware/cmnlib.b03 /firmware/image/cmnlib.b03 ln -s /system/etc/firmware/cmnlib.b04 /firmware/image/cmnlib.b04 ln -s /system/etc/firmware/cmnlib.b05 /firmware/image/cmnlib.b05 ln -s /system/etc/firmware/cmnlib.mdt /firmware/image/cmnlib.mdt ln -s /system/etc/firmware/cmnlib64.b00 /firmware/image/cmnlib64.b00 ln -s /system/etc/firmware/cmnlib64.b01 /firmware/image/cmnlib64.b01 ln -s /system/etc/firmware/cmnlib64.b02 /firmware/image/cmnlib64.b02 ln -s /system/etc/firmware/cmnlib64.b03 /firmware/image/cmnlib64.b03 ln -s /system/etc/firmware/cmnlib64.b04 /firmware/image/cmnlib64.b04 ln -s /system/etc/firmware/cmnlib64.b05 /firmware/image/cmnlib64.b05 ln -s /system/etc/firmware/cmnlib64.mdt /firmware/image/cmnlib64.mdt ln -s /system/etc/firmware/keymaste.b00 /firmware/image/keymaste.b00 ln -s /system/etc/firmware/keymaste.b01 /firmware/image/keymaste.b01 ln -s /system/etc/firmware/keymaste.b02 /firmware/image/keymaste.b02 ln -s /system/etc/firmware/keymaste.b03 /firmware/image/keymaste.b03 ln -s /system/etc/firmware/keymaste.b04 /firmware/image/keymaste.b04 ln -s /system/etc/firmware/keymaste.b05 /firmware/image/keymaste.b05 ln -s /system/etc/firmware/keymaste.b06 /firmware/image/keymaste.b06 ln -s /system/etc/firmware/keymaste.mdt /firmware/image/keymaste.mdt Starting services... vdc cryptfs result: 200 0 -1 res=0 mv: can't rename 'firmware-orig': No such file or directory mv: can't rename 'vendor-orig': No such file or directory ---- DMESG LOG FOLLOWS ---- [ 0.000000] c0 0 Reserved memory: allocated memory for 'qseecom_region' node: base 0x00000000fe400000, size 20 MiB [ 0.000000] c0 0 Reserved memory: initialized node qseecom_region, compatible id shared-dma-pool [ 0.000000] c0 0 Kernel command line: sched_enable_hmp=1 sched_enable_power_aware=1 androidboot.rpmdevice=290000.qcom,rpm-stats-ver console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 user_debug=31 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 cma=16M@0-0xffffffff androidboot.hardware=htc_pme androidkey.dummy=1 androidboot.selinux=permissive buildvariant=eng androidboot.bootdevice=7464900.sdhci androidboot.verifiedbootstate=red androidboot.veritymode=enforcing androidboot.keymaster=1 androidboot.serialno=HT64TBN01597 gpt androidboot.bootreason= androidboot.alarmid= androidboot.baseband=msm mdss_mdp.panel=1:dsi:0:htc,pme_tianma_hx8396c2_cmd:1:htc,pme_tianma_hx8396c2_cmd:cfg:split_dsi kernelflag=0x00000000 debugflag=0x00000000 androidboot.devicerev=2 bootloaderflag=0x00040000 radioflag=0x00000000 radioflagex1=0x00000000 radioflagex2=0x00000000 cpumask=0x00000000 androidboot.ddrinfo=00000001 androidboot.ddrstart=0x80000000 androidboot.ddrsize=4GB kmemleak=off color_ID=BLK00 emmc.wp=0 msm.hw_ver<6>[ 0.000000] c0 0 log_buf_len individual max cpu contribution: 32768 bytes [ 0.495523] c1 1 platform soc:qcom,ion:qcom,ion-heap@27: assigned reserved memory node qseecom_region [ 1.280652] c3 1 QSEECOM: qseecom_probe: qseecom.qsee_version = 0x1000000 [ 1.280722] c3 1 QSEECOM: qseecom_retrieve_ce_data: Device does not support PFE [ 1.280733] c3 1 QSEECOM: qseecom_probe: no-clock-support=0x1<4>[ 1.280743] c3 1 QSEECOM: qseecom_probe: qsee reentrancy support phase is not defined, setting to default 0 [ 1.281222] c3 1 QSEECOM: qseecom_probe: qseecom.whitelist_support = 0 [ 2.503003] c3 1 init: init.recovery.vold_decrypt.rc: 28: invalid keyword 'cgroup' [ 2.503028] c3 1 init: init.recovery.vold_decrypt.rc: 39: invalid keyword 'cgroup' [ 2.503075] c3 1 init: (Parsing init.recovery.vold_decrypt.rc took 0.00s.) [ 3.550242] c3 1 init: avc: denied { set } for property=ro.crypto.state pid=462 uid=0 gid=0 scontext=u:r:recovery:s0 tcontext=u:object_r:vold_prop:s0 tclass=property_service permissive=1 [ 5.376655] c3 485 [DECRYPT]Starting services... [ 5.393005] c0 1 init: Starting service 'qseecomd'... [ 5.423502] c0 1 init: Starting service 'vold'... [ 5.485766] c2 536 type=1400 audit(6360259.823:24): avc: denied { getattr } for pid=520 comm="qseecomd" path="/dev/block/platform/soc/7464900.sdhci" dev="tmpfs" ino=8119 scontext=u:r:tee:s0 tcontext=u:object_r:block_device:s0 tclass=dir permissive=1 [ 5.485889] c2 536 type=1400 audit(6360259.823:25): avc: denied { getattr } for pid=520 comm="qseecomd" path="/dev/block/mmcblk0rpmb" dev="tmpfs" ino=8159 scontext=u:r:tee:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=1 [ 5.485999] c2 536 type=1400 audit(6360259.823:26): avc: denied { read write } for pid=520 comm="qseecomd" name="mmcblk0rpmb" dev="tmpfs" ino=8159 scontext=u:r:tee:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=1 [ 5.486116] c2 536 type=1400 audit(6360259.823:27): avc: denied { open } for pid=520 comm="qseecomd" path="/dev/block/mmcblk0rpmb" dev="tmpfs" ino=8159 scontext=u:r:tee:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=1 [ 5.519694] c2 536 type=1400 audit(6360259.876:28): avc: denied { setgid } for pid=520 comm="qseecomd" capability=6 scontext=u:r:tee:s0 tcontext=u:r:tee:s0 tclass=capability permissive=1 [ 5.519841] c2 536 type=1400 audit(6360259.876:29): avc: denied { setuid } for pid=520 comm="qseecomd" capability=7 scontext=u:r:tee:s0 tcontext=u:r:tee:s0 tclass=capability permissive=1 [ 5.519927] c2 520 capability: warning: `qseecomd' uses 32-bit capabilities (legacy support in use) [ 5.521198] c0 536 type=1400 audit(6360259.880:30): avc: denied { read write } for pid=538 comm="qseecomd" name="qseecom" dev="tmpfs" ino=16588 scontext=u:r:tee:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1 [ 5.524191] c2 536 type=1400 audit(6360259.880:31): avc: denied { open } for pid=538 comm="qseecomd" path="/dev/qseecom" dev="tmpfs" ino=16588 scontext=u:r:tee:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1 [ 5.524298] c2 536 type=1400 audit(6360259.880:32): avc: denied { ioctl } for pid=538 comm="qseecomd" path="/dev/qseecom" dev="tmpfs" ino=16588 ioctlcmd=970a scontext=u:r:tee:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1 [ 5.536777] c2 536 type=1400 audit(6360259.893:33): avc: denied { write } for pid=538 comm="qseecomd" name="property_service" dev="tmpfs" ino=16560 scontext=u:r:tee:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=1 [ 5.536892] c2 536 type=1400 audit(6360259.893:34): avc: denied { connectto } for pid=538 comm="qseecomd" path="/dev/socket/property_service" scontext=u:r:tee:s0 tcontext=u:r:init:s0 tclass=unix_stream_socket permissive=1 [ 5.543198] c2 538 QSEECOM: qseecom_load_app: App (keymaste) does'nt exist, loading apps for first time [ 5.562147] c2 538 QSEECOM: qseecom_load_app: scm_call to load app failed [ 5.562156] c2 538 QSEECOM: qseecom_ioctl: failed load_app request: -22 [ 6.442519] c0 485 [DECRYPT]About to run vdc... [ 6.443696] c2 536 type=1400 audit(6360260.800:35): avc: denied { execute } for pid=485 comm="init.vold_decry" name="vdc" dev="mmcblk0p62" ino=898 scontext=u:r:recovery:s0 tcontext=u:object_r:vdc_exec:s0 tclass=file permissive=1 [ 6.447073] c0 536 type=1400 audit(6360260.803:36): avc: denied { execute_no_trans } for pid=550 comm="init.vold_decry" path="/system/bin/vdc" dev="mmcblk0p62" ino=898 scontext=u:r:recovery:s0 tcontext=u:object_r:vdc_exec:s0 tclass=file permissive=1 [ 6.471246] c1 536 type=1400 audit(6360260.830:37): avc: denied { write } for pid=550 comm="vdc" name="cryptd" dev="tmpfs" ino=16818 scontext=u:r:recovery:s0 tcontext=u:object_r:vold_socket:s0 tclass=sock_file permissive=1 [ 6.471879] c1 536 type=1400 audit(6360260.830:38): avc: denied { connectto } for pid=550 comm="vdc" path="/dev/socket/cryptd" scontext=u:r:recovery:s0 tcontext=u:r:vold:s0 tclass=unix_stream_socket permissive=1 [ 6.475497] c0 485 [DECRYPT]vdc returned an error 0 [ 7.477253] c0 485 [DECRYPT]Stopping services... [ 7.501584] c1 1 init: Service 'vold' is being killed... [ 7.511402] c1 1 init: Service 'vold' (pid 527) killed by signal 9 [ 7.535689] c1 1 init: Service 'qseecomd' is being killed... [ 7.540709] c0 1 init: Service 'qseecomd' (pid 520) killed by signal 9 [ 7.541142] c2 485 [DECRYPT]Finished. ---- DMESG LOG ENDS ---- Failed to decrypt data.