[Moto G Stylus 5G] 1031shadow:
EDIT : THIS ERROR ONLY HAPPENS ON WINDOWS. GO TO THE TELEGRAM GROUP IN THE BOTTOM LINK AND INSTALL PIZZAG'S MINT LINUX. AS IT HAS ADB AND FASTBOOT DRIVERS BAKED IN. ROMS FLASH FLAWLESSLY ON LINUX. IF YOU HAVE ANY PROBLEMS CONTACT THE DEVS VIA TELEGRAM.

C\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>fastboot flash boot boot.img

1031shadow said:

Sending 'boot_a' (98304 KB) OKAY [ 3.350s]

Writing 'boot_a' OKAY [ 1.409s]

Finished. Total time: 4.808s

ADD HERE fastboot reboot fastboot then it should reboot to twrp fast boot then the super.img will flash correctly

C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>fastboot flash super super.img

Sending sparse 'super' 1/5 (774340 KB) OKAY [ 26.719s]

Writing 'super' OKAY [ 0.049s]

Sending sparse 'super' 2/5 (784673 KB) FAILED (Write to device failed (no link))

fastboot: error: Command failed

C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>fastboot erase userdata

Erasing 'userdata' OKAY [ 0.016s]

Finished. Total time: 0.016s

C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>fastboot erase metadata

Erasing 'metadata' OKAY [ 0.016s]

Finished. Total time: 0.016s

C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>fastboot reboot

Rebooting OKAY [ 0.000s]

Finished. Total time: 0.000s

C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>ECHO

ECHO is on.

C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>ECHO Device Flashing Should Be Finished

Device Flashing Should Be Finished

C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>ECHO Device Should Be Rebooting To Android

Device Should Be Rebooting To Android

C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>ECHO

ECHO is on.

C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>ECHO PRESS ENTER TO EXIT

PRESS ENTER TO EXIT

C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>PAUSE

IF ANYONE HAS AN ERROR LIKE THE ONE ABOVE . WHERE EVERYTHING FLASHES

BUT SUPER.IMG or system a.img

edit the script and make this change

RIGHT CLICK THE SCRIPT THEN EDIT GO TO THE LINE AFTER

FASTBOOT FLASH BOOT BOOT.IMG AND ADD THIS fastboot reboot fastboot IT SHOULD LOOK LIKE THIS:

fastboot flash boot_a boot.img

ECHO

ECHO

fastboot reboot fastboot

ECHO

ECHO

SLEEP 2

fastboot flash system_a system.img

this fixes super.img (no link FAILED (Write to device failed (no link))

and system A.img (FAILED (Write to device failed (no link))

ALSO YOU SHOULD INSTALL SYSTEM WIDE ADB AND DOWNLOAD GOOGLES PLATFORM

(ON WINDOWS AND LINUX IF NOT ALREADY INSTALLED)

TOOLS AFTER INSTALL. GO TO THE ROOT OF YOUR HARD DRIVE IN THE ADB FLODER AND REPLACE THE ALL THE FILES THERE FOR THE ONES IN THE PLATFORM TOOLS YOU DOWNLOADED FROM GOOGLE. IF YOU HAVE A RYZEN CPU DOWNLOAD AND INSTALL THE FIXES FOR FASTBOOT

for system wide adb

credit goes to

Snoop05 for system wide adb

The new telegram account has several moto devices unified in one group they also have a chat room where other users and the actual devs will respond to your inquiries or you can message them directly on telegram.

Another thing is windows is trash if you want the best compatibility with the ROM flasher he provides you can install his mint Linux with adb and fastboot installed also has dump and build tool for those who like his ROMs .

the above error only happens in Windows I've tested on Linux and it works without having to edit the script

all credit goes to

A-Team @pizzaG

Mod edit: TG link removed.​