summaryrefslogtreecommitdiff
path: root/static/js/web-install.js
AgeCommit message (Collapse)Author
2021-04-11update fastboot.js to 1.0.9Daniel Micay
2021-04-06Create an alert if user tries to leave during download or installation.flawedworld
2021-03-07update fastboot.js to 1.0.8Daniel Micay
2021-03-06update fastboot.js to 1.0.7Daniel Micay
2021-03-01update fastboot.js to fix Pixel 2 flashDaniel Micay
2021-03-01Add ability to remove non-stock key via WebUSB.flawedworld
2021-02-17update fastboot.js to v1.0.5Daniel Micay
2021-02-03Update fastboot.js to fix Pixel 3 flashingDanny Lin
2021-01-31web-install: Update fastboot.js to fix fastbootd flashingDanny Lin
The fastbootd flashing path was missing a progress callback.
2021-01-31web-install: Update fastboot.js to fix waiting for rebootsDanny Lin
2021-01-31web-install: Show download progressDanny Lin
Getting progress with the fetch() API is complicated and requires us to stream the data and create the blob ourselves, so use XMLHttpRequest instead to get live progress updates.
2021-01-31web-install: Implement flashing progress callbacksDanny Lin
2021-01-31Update fastboot.js for live progress updatesDanny Lin
2021-01-29Update fastboot.js to fix fastbootd flashing from AndroidDanny Lin
The fastbootd flashing path was missing a reconnect callback.
2021-01-29avoid inline CSS to fix CSP issueDaniel Micay
2021-01-29web-install: Implement Android reconnection callbackDanny Lin
On Android, Chromium does not support automatic reconnection. The user must manually pair the device after every reboot in order for fastboot.js to reconnect to it. Unfortunately, this requires the user of the library to get involved because USB device connction requests are only allowed as the result of explicit user action, so we need to add a reconnect request callback for the user to handle.
2021-01-29Update fastboot.js for AVB key flashing fixDanny Lin
2021-01-27web-install: Remove stray log messageDanny Lin
This was never meant to be shipped.
2021-01-27web-install: Handle bootloader lock/unlock errorsDanny Lin
2021-01-27web-install: Rethrow errors after handlingDanny Lin
After handling errors and showing them to the user, we can rethrow them to make them show up in the console. This helps greatly with debugging.
2021-01-27Update web installer for fastboot.js updatesDanny Lin
Some of the API and paths have changed, so this needs to be updated accordingly. The most prominent change is the removal of BlobStore and downloading support from fastboot.js, because a fastboot library should not be responsible for downloading files.
2021-01-23Switch to new bundled fastboot.jsDanny Lin
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-23Update web install for fastboot.js and zip.js updatesDanny Lin
2021-01-23Implement web install using fastboot.jsDanny Lin
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-16simpler to avoid using adb like the current guideDaniel Micay
2021-01-05add stub download implementationDaniel Micay
2021-01-05add locking to web install proof of conceptDaniel Micay
2021-01-05add structure to WebUSB proof of concept pageDaniel Micay
2021-01-05add foundation for WebUSB-based install pageDaniel Micay