Daniel Micay
e3f0af6f3f
update fastboot.js revision
2022-11-01 18:55:40 -04:00
Daniel Micay
db964d7f9f
update fastboot.js for Pixel 7 / Pixel 7 Pro
2022-10-17 21:00:45 -04:00
Daniel Micay
e411cb3283
publish experimental Pixel 7 / Pixel 7 Pro support
2022-10-17 19:35:11 -04:00
flawedworld
2c4ec45c5a
Rename gs101Devices to tensorDevices and add 7th gen devices
2022-10-17 01:15:36 -04:00
flawedworld
b6f2134e8f
Erase DPM on GS101 devices
2022-08-28 16:42:09 -04:00
Daniel Micay
1fb198297d
update fastboot.js
2022-08-28 14:14:57 -04:00
Daniel Micay
450b3048ce
use GrapheneOS fastboot.js fork
2022-08-27 20:47:16 -04:00
Daniel Micay
66132efc9f
always use stable channel for web installer again
2022-08-25 23:15:08 -04:00
Daniel Micay
30411068f9
temporarily use Beta for 6th generation installs
2022-08-25 23:15:08 -04:00
Daniel Micay
92c2ef5f0b
unhide Pixel 6a support
2022-08-25 23:15:08 -04:00
Daniel Micay
6c400ba47f
begin adding Pixel 6a (bluejay) support
2022-08-25 23:15:08 -04:00
Daniel Micay
d298c41e6e
remove unhelpful logging
2022-01-05 05:47:47 -05:00
flawedworld
ac256a43bb
Erase msadp on Qualcomm devices
2021-12-17 17:30:48 -05:00
flawedworld
5b46fb8036
Erase FIPS partition on GS101 devices
2021-12-17 17:12:59 -05:00
Daniel Micay
083973a0ae
reuse product from getLatestRelease
2021-12-17 14:40:23 -05:00
flawedworld
079743da1a
Erase apdp on Qualcomm devices
2021-12-17 14:39:16 -05:00
Daniel Micay
f450a6a57d
add raven/oriole to web installer
2021-12-02 04:47:55 -05:00
Daniel Micay
a1a56d1ad2
update fastboot.js to v1.1.1
2021-11-27 02:05:59 -05:00
Daniel Micay
31376df595
launch experimental Pixel 5a support
2021-09-07 04:50:27 -04:00
flawedworld
a3819e1050
Disable UART during flashing
...
Co-authored-by: anupritaisno1 <www.anuprita804@gmail.com>
2021-08-31 02:33:37 -04:00
Daniel Micay
1636983d1f
add supported device check for web install fetch
2021-07-14 02:14:39 -04:00
Daniel Micay
747020407b
add version to fastboot.js library path
2021-04-11 23:25:22 -04:00
Daniel Micay
7262cb5733
update fastboot.js to 1.0.9
2021-04-11 23:19:51 -04:00
flawedworld
d7ed02a28f
Create an alert if user tries to leave during download or installation.
2021-04-06 22:14:59 -04:00
Daniel Micay
0be127ae01
update fastboot.js to 1.0.8
2021-03-07 00:56:08 -05:00
Daniel Micay
5450f94be1
update fastboot.js to 1.0.7
2021-03-06 21:09:55 -05:00
Daniel Micay
b618918ead
update fastboot.js to fix Pixel 2 flash
2021-03-01 16:11:40 -05:00
flawedworld
3e44e17ea8
Add ability to remove non-stock key via WebUSB.
2021-03-01 15:25:42 -05:00
Daniel Micay
393121b700
update fastboot.js to v1.0.5
2021-02-17 12:36:29 -05:00
Danny Lin
6d95c35ddf
Update fastboot.js to fix Pixel 3 flashing
2021-02-03 02:27:35 -05:00
Danny Lin
c94a665e89
web-install: Update fastboot.js to fix fastbootd flashing
...
The fastbootd flashing path was missing a progress callback.
2021-01-31 00:33:35 -05:00
Danny Lin
05b287cc2d
web-install: Update fastboot.js to fix waiting for reboots
2021-01-31 00:22:58 -05:00
Danny Lin
d44bafb8cf
web-install: Show download progress
...
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-31 00:10:26 -05:00
Danny Lin
cdafb40dd6
web-install: Implement flashing progress callbacks
2021-01-31 00:10:26 -05:00
Danny Lin
dfc01e016e
Update fastboot.js for live progress updates
2021-01-31 00:10:26 -05:00
Danny Lin
a96bb87e12
Update fastboot.js to fix fastbootd flashing from Android
...
The fastbootd flashing path was missing a reconnect callback.
2021-01-29 22:32:16 -05:00
Daniel Micay
cee89f384c
avoid inline CSS to fix CSP issue
2021-01-29 22:21:38 -05:00
Danny Lin
e582d6ca45
web-install: Implement Android reconnection callback
...
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-29 22:15:04 -05:00
Danny Lin
b0b811f167
Update fastboot.js for AVB key flashing fix
2021-01-29 17:47:40 -05:00
Danny Lin
c11249d678
web-install: Remove stray log message
...
This was never meant to be shipped.
2021-01-27 20:24:49 -05:00
Danny Lin
cc976583a6
web-install: Handle bootloader lock/unlock errors
2021-01-27 20:24:49 -05:00
Danny Lin
e5a7ae8ec0
web-install: Rethrow errors after handling
...
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-27 20:24:49 -05:00
Danny Lin
890abfdaff
Update web installer for fastboot.js updates
...
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-27 20:24:49 -05:00
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
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
3f6de4a482
simpler to avoid using adb like the current guide
2021-01-16 17:28:51 -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
f63c74c8bd
add structure to WebUSB proof of concept page
2021-01-05 07:44:57 -05:00