{"action":"created","issue":{"url":"https://api.github.com/repos/nelenkov/cryptfs-password-manager/issues/14","labels_url":"https://api.github.com/repos/nelenkov/cryptfs-password-manager/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/nelenkov/cryptfs-password-manager/issues/14/comments","events_url":"https://api.github.com/repos/nelenkov/cryptfs-password-manager/issues/14/events","html_url":"https://github.com/nelenkov/cryptfs-password-manager/issues/14","id":114415800,"number":14,"title":"Decryption unsuccessful on N5 running Stock 6.0 with ElementalX 6.03","user":{"login":"tejus","id":2006239,"avatar_url":"https://avatars.githubusercontent.com/u/2006239?v=3","gravatar_id":"","url":"https://api.github.com/users/tejus","html_url":"https://github.com/tejus","followers_url":"https://api.github.com/users/tejus/followers","following_url":"https://api.github.com/users/tejus/following{/other_user}","gists_url":"https://api.github.com/users/tejus/gists{/gist_id}","starred_url":"https://api.github.com/users/tejus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tejus/subscriptions","organizations_url":"https://api.github.com/users/tejus/orgs","repos_url":"https://api.github.com/users/tejus/repos","events_url":"https://api.github.com/users/tejus/events{/privacy}","received_events_url":"https://api.github.com/users/tejus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-31T15:07:47Z","updated_at":"2015-12-15T19:28:39Z","closed_at":null,"body":"Nexus 5 D821\r\nStock 6.0 build MRA58K\r\nTWRP 2.8.7.1\r\nElementalX kernel 6.03\r\nSuperSU v2.52\r\nBootloader state Unlocked\r\nSELinux Enforcing\r\n\r\nInitially had a PIN and location based Smart Lock enabled. Encrypted it successfully and rebooted a couple of times to make sure. Then changed disk encryption password using this app, confirmed the password I entered was correct in the pop up after it was done. Rebooted to TWRP recovery, saw that the password was reported as wrong. Rebooted to System, again password seems wrong. Earlier pin isn't not working either, of course.\r\n\r\nI am 100% sure the password I'm entering is correct, but decryption fails during boot up and in TWRP. I do have the necessary backups (Nandroid, Titanium) on my computer of course, so I will try again on 100% stock (/system, /data, /recovery, but with chainfire's /boot so as to root) after battery charges up and report back."},"comment":{"url":"https://api.github.com/repos/nelenkov/cryptfs-password-manager/issues/comments/164867058","html_url":"https://github.com/nelenkov/cryptfs-password-manager/issues/14#issuecomment-164867058","issue_url":"https://api.github.com/repos/nelenkov/cryptfs-password-manager/issues/14","id":164867058,"user":{"login":"gavinhungry","id":744538,"avatar_url":"https://avatars.githubusercontent.com/u/744538?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinhungry","html_url":"https://github.com/gavinhungry","followers_url":"https://api.github.com/users/gavinhungry/followers","following_url":"https://api.github.com/users/gavinhungry/following{/other_user}","gists_url":"https://api.github.com/users/gavinhungry/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinhungry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinhungry/subscriptions","organizations_url":"https://api.github.com/users/gavinhungry/orgs","repos_url":"https://api.github.com/users/gavinhungry/repos","events_url":"https://api.github.com/users/gavinhungry/events{/privacy}","received_events_url":"https://api.github.com/users/gavinhungry/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T19:28:39Z","updated_at":"2015-12-15T19:28:39Z","body":"@nelenkov,\r\n\r\nYou're right - compare `cryptfs_changepw` in `cryptfs.c` in AOSP 6.0.1_r3 to CyanogenMod 13:\r\nhttps://android.googlesource.com/platform/system/vold/+/android-6.0.1_r3/cryptfs.c#3241\r\nhttps://github.com/CyanogenMod/android_system_vold/blob/cm-13.0/cryptfs.c#L3365\r\n\r\nSeems to have been introduced with this commit:\r\nhttps://github.com/CyanogenMod/android_system_vold/commit/a7219c6c66b1bdcad495f3b76be0eb773180b78a#diff-b6e842eb16158d66860db2bb0b11a9da\r\n"}}