The future of flashing custom ROMs will be through a web browser
For some people, the urge to dip their toes into the aftermarket development scene comes and goes. Sometimes we claim to be satisfied with a new phone, pretending it has everything we need. Right after the honeymoon period ends, we fall back to old habits and quickly want to dive into the world of rooting and custom ROMs. While there are various generic or device-specific flashing guides available to help you, it can still be a daunting task for a new user trying to understand what all those terms and programs are for. Even for power users, sometimes you just can’t get your PC (or Mac) to recognize your Android phone, no matter how many times you mess with system settings.
Kdrag0n also wrote the web installer for the privacy-focused GrapheneOS project, which he credits for funding the initial development of this project.
An experimental version of our web-based installer for GrapheneOS is now available:https://t.co/29OBsANCta
This can be used from browsers with WebUSB support. Most Chromium-based browsers are supported including Chrome, Edge and Brave. No need to run any additional software.
— GrapheneOS (@GrapheneOS) January 24, 2021
Chromium has supported WebUSB since version 61, so any Chromium-based browser (e.g. Google Chrome or Microsoft Edge) installed on your PC can use the web flashing tool coded on top of fastboot.js. On Windows, you may also need to install a driver for the Fastboot interface, but it will be automatically downloaded and installed via Windows Update in most cases.