commit | 46b17385852e9e8aae11f4be107d6ac2a0c35f6c | [log] [tgz] |
---|---|---|
author | Danny Lin <danny@kdrag0n.dev> | Wed Oct 07 00:24:54 2020 -0700 |
committer | Jackeagle <jackeagle102@gmail.com> | Sat Dec 17 09:20:03 2022 -0500 |
tree | 970a1693f1c00a44a3817eb3450fe3e69b9c7d50 | |
parent | 3e7dbda8caa41527bf62be3ea33ddf91bd58ae19 [diff] |
init: Check for fastbootd before spoofing safetynet props The real prop values must be retained in recovery/fastbootd in order for fastbootd to allow/deny flashing correctly based on the bootloader lock state. This is accomplished by checking androidboot keys in the kernel cmdline and bootconfig (necessary on Pixel 6), and not spoofing anything if the boot isn't a normal full-blown Android boot. @jhenrique09 - Adapt to PE Change-Id: I8795b16a90eea4e5a03f64a7a56478f01144256b