Commit Graph
4 Commits
Author SHA1 Message Date
Danny LinandDaniel Micay b88a4bcb88 Update web install for fastboot.js and zip.js updates 2021-01-23 21:10:18 -05:00
Danny LinandDaniel Micay bddb6ae5b7 Update fastboot.js for zip.js updates
This reduces the size of the zip.js libraries and improves flashing
speed by 1.7x due to the Pako inflate implementation.
2021-01-23 21:10:18 -05:00
Danny LinandDaniel Micay 713b4ef564 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
2021-01-23 03:28:02 -05:00
Danny LinandDaniel Micay bd2626b41e Include fastboot.js as submodule
This will be used for implementing a WebUSB-based installer.
2021-01-23 03:28:02 -05:00