fs_mgr: Remove bootloader restrictions for adb remount

Change-Id: Iac550fc2ed01da220bf6cd472d0dd1905e78221d
Signed-off-by: Dmitrii <bankersenator@gmail.com>
This commit is contained in:
Vishalcj17 2023-11-04 01:25:00 +09:00 committed by DigiGoon
parent f37c6338e8
commit 3a5ea0faf2

View file

@ -634,8 +634,9 @@ int main(int argc, char* argv[]) {
LOG(ERROR) << "Device must be userdebug build";
return EXIT_FAILURE;
}
#if ALLOW_ADBD_DISABLE_VERITY == 0 // "user" build
#if 0
// We already use safety net hacks which spoof to green state.
// Remove this check completely.
if (android::base::GetProperty("ro.boot.verifiedbootstate", "") != "orange") {
LOG(ERROR) << "Device must be bootloader unlocked";
return EXIT_FAILURE;