You might want to consider doing the fastboot commands manually. If all commands are used, ant trace of XT1032 should be gone.
Then obviously something is remaining from the XT1032 firmware. If you have a Custom Recovery, try the wipe options there.
Alternatively, the following command in Fastboot might be enough: fastboot erase system
BTW, never use the Fastboot command: fastboot erase all
|Thread Tools||Search this Thread|