Hi, Due I forgot device lock number I figured how you can ask on correct device lock or reset it. For this purpose is there app /usr/lib/qt5/plugins/devicelock/encpartition Arguments: Code: --is-set lockcode --check-code <oldcode> --clear-code <oldcode> --is-clear-device-set ??? --unset-clear-device ??? --imei <something> --clear-code <oldcode> --set-code <oldcode> <newcode> --set-config-key ??? --developermode ???? --clear-device <oldcode> True/False are returned via exit code where 0 - success, 1 - fail else as standard output. Configuration is stored at directory /usr/share/lipstick/devicelock/ and encrypted/hash key is stored at /usr/share/lipstick/devicelock/.devicelock.enc, quite interesting are stored texts at binary file encpartition: 41414141, 42424241, 123456789012345 and /dev/block/platform/msm_sdcc.1/by-name/QOTP . More on http://www.onlinedisassembler.com/odaweb/4fDoTf/0 Unfortunately still don't know how reset device lock without sending to repair facility or brute-force. Test all numbers with length 5 takes less than 3 hours on the phone with utilizing 20% of CPU.
--is-set lockcode --check-code <oldcode> --clear-code <oldcode> --is-clear-device-set ??? --unset-clear-device ??? --imei <something> --clear-code <oldcode> --set-code <oldcode> <newcode> --set-config-key ??? --developermode ???? --clear-device <oldcode>