16 Commits

Author SHA1 Message Date
Danny Lin
dff5a750d1 Switch to new bundled fastboot.js
This simplifies cache busting greatly without needing to do further
processing on any fastboot.js code before deploying. It also removes the
need for a non-module script with global scope.
2021-01-23 23:08:12 -05:00
Danny Lin
b88a4bcb88 Update web install for fastboot.js and zip.js updates 2021-01-23 21:10:18 -05:00
Daniel Micay
16fa1065da add a temporary warning to the web install page 2021-01-23 04:03:48 -05:00
Danny Lin
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
Daniel Micay
426f11476e add post-installation to web-install 2021-01-16 17:30:49 -05:00
Daniel Micay
09a52d47e0 update web install prerequisites section 2021-01-16 17:29:59 -05:00
Daniel Micay
3f6de4a482 simpler to avoid using adb like the current guide 2021-01-16 17:28:51 -05:00
Daniel Micay
50ff36ba8d reorganize page metadata 2021-01-07 10:49:37 -05:00
Daniel Micay
e45941beb2 add flashing section to web install 2021-01-05 09:49:48 -05:00
Daniel Micay
d78ceb1e9b add stub download implementation 2021-01-05 09:46:56 -05:00
Daniel Micay
ebfef1f23b add locking to web install proof of concept 2021-01-05 08:57:15 -05:00
Daniel Micay
b11fbbcf0f add prerequisites section for web install 2021-01-05 08:55:54 -05:00
Daniel Micay
49b3a46dcd clarifying confirming unlock / lock 2021-01-05 08:11:12 -05:00
Daniel Micay
f63c74c8bd add structure to WebUSB proof of concept page 2021-01-05 07:44:57 -05:00
Daniel Micay
3fad67eee7 steer people away from WebUSB proof of concept 2021-01-05 07:12:31 -05:00
Daniel Micay
fe063f50fe add foundation for WebUSB-based install page 2021-01-05 05:34:45 -05:00