diff options
| author | flawedworld <38294951+flawedworld@users.noreply.github.com> | 2021-07-13 20:08:46 +0000 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-08-31 02:33:37 -0400 |
| commit | a3819e105093b8aced9d033ab9c9cd272444613b (patch) | |
| tree | 5eec3cd364c2672b832be160d4530dc3b7916c34 /static/js/web-install.js | |
| parent | 0e2e39ad521838cc571a1c665326100aeba57bf5 (diff) | |
Disable UART during flashing
Co-authored-by: anupritaisno1 <www.anuprita804@gmail.com>
Diffstat (limited to 'static/js/web-install.js')
| -rw-r--r-- | static/js/web-install.js | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |
