I have a Moto G (xt1032) and few weeks ago I tried to install cm14.1. But somewhere it didn't work. Since then I cannot boot. And I can't install a new custom rom. I have Cyanogenmod Recovery. When I try to use fastboot/adb it did not work. because the device is unauthorized. The only thing that is working is adb sideload. But when I tried to install a custom rom a error happend:
This package is for device: xt1032, ... this device is .
I tried to remove the assert command from updater-script, but when I reziped the file and tried to install it, a signature validation error occurred.