Disable UART during flashing
Co-authored-by: anupritaisno1 <www.anuprita804@gmail.com>
This commit is contained in:
parent
0e2e39ad52
commit
a3819e1050
@ -217,6 +217,10 @@ async function flashRelease(setProgress) {
|
|||||||
setProgress(`${userAction} ${userItem}...`, progress);
|
setProgress(`${userAction} ${userItem}...`, progress);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
setProgress("Disabling UART...");
|
||||||
|
// See https://android.googlesource.com/platform/system/core/+/eclair-release/fastboot/fastboot.c#532
|
||||||
|
// for context as to why the trailing space is needed.
|
||||||
|
await device.runCommand("oem uart disable ");
|
||||||
} finally {
|
} finally {
|
||||||
safeToLeave = true;
|
safeToLeave = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user