fs_mgr: Remove bootloader restrictions for adb remount
Change-Id: Iac550fc2ed01da220bf6cd472d0dd1905e78221d Signed-off-by: Dmitrii <bankersenator@gmail.com>
This commit is contained in:
parent
f37c6338e8
commit
3a5ea0faf2
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue