OEM key algorithm
Example of a valid key
311D34773D275A92F485B3C2505F411D
Known information about the key
- Key length is 32 characters
- The key can only consist of numbers and letters from A to F letters (HEX format)
- It is the first half of a sha256
- The soc_id first half (which you can get with
fastboot oem get_key
) is 32 characters long, and gets hashed with sha256. The input of the sha256 is the unlock key repeated two times to make a 64 characters long string.
Below, a simple flowchart to show how unlocking the bootloader work: