Hi, thank you for this scripts, i was searching for this, but unfortunately i have a problem with gpt.bin and it says that its a downgrade... i recently ran into problem with my moto z, when i woke up morning i saw that my phone is misbehaving and not functioning correctly , then i tried to run the recovery but it was corrupted and it didn't want to even open it, just showed me android laying with a red sign on it! it was so strange, after struggling with it i decided to unlock my phone and flashed twrp recovery, since i unlocked my phone, it wiped the entire phone along with OS. and i tried to install different roms (custom/stock) without any luck , it wont let me install stock roms with RSD or these commands. and for the custom roms it installed without problem but when it starts up its so messed up and can't do anything but only turning of the phone since nothing works...fastboot flash partition gpt.bin
fastboot flash motoboot boot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12
fastboot flash system system.img_sparsechunk.13
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
Keep in mind depending on the region you're flashing you may have a different number of sparse chunks (I think VZW has like 16, where as stock has like 13) You just enter the amount of sparse chunks you need to flash.
these commands are my last shots, but without a proper gpt.bin i cant install anything correctly...
my phone model is: AP3775AE7X3. it's Malaysian version but i bought it in Russia...
i appreciate you if you can help me out.
Thanks in advance, Arman.