summaryrefslogtreecommitdiff
path: root/static/js/web-install.js
AgeCommit message (Collapse)Author
2023-01-09Cancel snapshots on devices which are always capable of doing soflawedworld
2022-12-15reduce fastboot.js memory usageDaniel Micay
2022-11-18Revert "cancel snapshot update if one is in progress"Daniel Micay
This reverts commit 135ebf512171641c9488c6fae2d3c45b3928343e.
2022-11-17cancel snapshot update if one is in progressrandomhydrosol
Signed-off-by: randomhydrosol <randomhydrosol@glassrom.org>
2022-11-01update fastboot.js revisionDaniel Micay
2022-10-17update fastboot.js for Pixel 7 / Pixel 7 ProDaniel Micay
2022-10-17publish experimental Pixel 7 / Pixel 7 Pro supportDaniel Micay
2022-10-17Rename gs101Devices to tensorDevices and add 7th gen devicesflawedworld
2022-08-28Erase DPM on GS101 devicesflawedworld
2022-08-28update fastboot.jsDaniel Micay
2022-08-27use GrapheneOS fastboot.js forkDaniel Micay
2022-08-25always use stable channel for web installer againDaniel Micay
2022-08-25temporarily use Beta for 6th generation installsDaniel Micay
2022-08-25unhide Pixel 6a supportDaniel Micay
2022-08-25begin adding Pixel 6a (bluejay) supportDaniel Micay
2022-01-05remove unhelpful loggingDaniel Micay
2021-12-17Erase msadp on Qualcomm devicesflawedworld
2021-12-17Erase FIPS partition on GS101 devicesflawedworld
2021-12-17reuse product from getLatestReleaseDaniel Micay
2021-12-17Erase apdp on Qualcomm devicesflawedworld
2021-12-02add raven/oriole to web installerDaniel Micay
2021-11-27update fastboot.js to v1.1.1Daniel Micay
2021-09-07launch experimental Pixel 5a supportDaniel Micay
2021-08-31Disable UART during flashingflawedworld
Co-authored-by: anupritaisno1 <www.anuprita804@gmail.com>
2021-07-14add supported device check for web install fetchDaniel Micay
2021-04-11add version to fastboot.js library pathDaniel Micay
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