From a3819e105093b8aced9d033ab9c9cd272444613b Mon Sep 17 00:00:00 2001 From: flawedworld <38294951+flawedworld@users.noreply.github.com> Date: Tue, 13 Jul 2021 20:08:46 +0000 Subject: [PATCH] Disable UART during flashing Co-authored-by: anupritaisno1 --- static/js/web-install.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/js/web-install.js b/static/js/web-install.js index 07b89b4e..89a6565a 100644 --- a/static/js/web-install.js +++ b/static/js/web-install.js @@ -217,6 +217,10 @@ async function flashRelease(setProgress) { 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 { safeToLeave = true; }