Android SDK Platform-Tools r31.0.3 for Windows: What You Need to Know
To start building, ensure the tools are correctly initialized in your environment: platform-tools r31.0.3-windows
The platform-tools package is defined by three primary utilities: Android Debug Bridge (ADB): Android SDK Platform-Tools r31
fastboot devices.fastboot erase boot and fastboot erase system. (R31.0.3 handles the partition table alignment perfectly on Windows).fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash vbmeta vbmeta.img (if applicable)
fastboot set_active other (This command is stable in r31.0.3).fastboot -w (The -w flag works every time in this version).fastboot reboot.