Implement web install using fastboot.js

This implements the WebUSB-based web installer using fastboot.js to
act as a fastboot client. A bare minimum UI with a plain-text
status/progress caption for each step is included, as well as a plain
button to trigger it and basic error handling.

WebADB has been removed now that we are only using fastboot.js.

Initial features:

- Unlocking and locking the bootloader
- Downloading the latest GrapheneOS release available for the device
- Flashing the factory images zip
- Reusing USB connections
This commit is contained in:
Danny Lin
2021-01-22 20:14:00 -08:00
committed by Daniel Micay
parent bd2626b41e
commit 713b4ef564
4 changed files with 105 additions and 1123 deletions

View File

@@ -150,6 +150,11 @@ footer a, footer a:visited {
list-style-type: none;
}
.error-text {
/* Baseline Material error color */
color: #b00020;
}
/* latin */
@font-face {
font-family: 'Roboto';