mardi 28 janvier 2020

Google’s Android Flash Tool makes flashing AOSP GSIs much easier

When Google released Android 8 Oreo, they introduced a major under-the-hood change to the way the Android OS framework and vendor drivers/the Linux kernel interact with one another. This project was given the name Project Treble, and it has made it possible for Android smartphones to boot a vanilla version of Android, called a Generic System Image (GSI), without requiring many modifications to the boot or vendor images. Google releases a freshly updated GSI every month to coincide with the latest Android security patch level, but they also continuously build new GSIs from the AOSP source tree. Until now, flashing one of these GSIs required knowledge of fastboot commands, but Google is making it easier than ever to flash these AOSP builds with the Android Flash Tool.

Announced today on the Android Developers Blog, the Android Flash Tool allows developers to flash an AOSP build from Google’s Continuous Integration Dashboard. This dashboard was launched last year, and it allows developers to easily download an image containing the latest AOSP changes without needing to manually compile AOSP every time. Developers who are working to submit changes to AOSP will find this tool to be useful, but other developers looking to test the latest build of AOSP may also find this tool to be handy.

Android Flash Tool

To get started with the Android Flash Tool, simply go to the website linked below on any web browser supporting the WebUSB API. This tool is essentially fastboot-in-a-browser-tab, so all the existing requirements to flash a GSI also apply to the Android Flash Tool. You’ll need a Project Treble-supported device, which includes devices that launched with Android 8.0 Oreo or newer. If you have a Pixel smartphone, then that means only the Pixel 2 or newer are supported. Next, you’ll need to have unlocked the bootloader on your phone. If you haven’t unlocked the bootloader already, the tool will prompt you to do so before it flashes—just be warned that doing so will wipe all the data on your phone. Finally, if you’re on a Windows PC, you’ll need to install the Android USB drivers before you can proceed.

Android Flash Tool

The post Google’s Android Flash Tool makes flashing AOSP GSIs much easier appeared first on xda-developers.



from xda-developers https://ift.tt/2vphEGJ
via IFTTT

Aucun commentaire:

Enregistrer un commentaire