summaryrefslogtreecommitdiff
path: root/libcutils/socket_network_client_unix.cpp
diff options
context:
space:
mode:
authorDanny Lin <danny@kdrag0n.dev>2020-10-07 00:24:54 -0700
committerJulian Veit <claymore1298@gmail.com>2023-04-15 08:00:08 +0200
commit422e786928d645844cf86678dc5c2fc0027a73fa (patch)
tree3dad92c6e3b10ff80b5ea596bb83f40c6e1c2bb0 /libcutils/socket_network_client_unix.cpp
parent4c06a040222ccdc76049427e0bb62f0718209f96 (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: I66d23fd91d82906b00d5eb020668f01ae83ec31f Former-commit-id: 33d4578679733fb2d6fd0fd9b7baba8fd5f0be57 Change-Id: I17630a84c64ce96735fd6141c4dcf163cb7308fd
Diffstat (limited to 'libcutils/socket_network_client_unix.cpp')
0 files changed, 0 insertions, 0 deletions