Unable to Install TWRP / Cyanogenmod on Moto G 2013 I have a Moto G 2013 (XT1033). The device does not boot successfully - only shows the logo and then just shows a blank screen. So I tried to install Cyanogenmod hoping it might work out. I have unlocked the bootloader.

I tried installing TWRP recovery image (3.0.2.0) from TWRP official site using the command

$ fastboot erase recovery
erasing 'recovery'...
(bootloader) Erase allowed in unlocked state
OKAY [  0.046s]
finished. total time: 0.046s
$
$ fastboot flash recovery twrp-3.0.2-0-falcon.img 
target reported max download size of 536870912 bytes
sending 'recovery' (9488 KB)...
OKAY [  0.331s]
writing 'recovery'...
OKAY [  0.175s]
finished. total time: 0.507s


And the device shows the following text:

cmd: getvar:partition-type:recovery
cmd: erase:recovery
cmd: getvar:partition-type:recovery
cmd: getvar:max-download-size
cmd: download:00944000
cmd: flash:recovery
Mismatched partition size (recovery)




When I boot into the recovery, it displays a Unlocked bootloader warning, then a blank screen for 2-3 seconds and then an image of resting android bot with a red exclamation over its belly, with "No command" caption.



No TWRP Recovery Screen.

Then I pressed Vol UP + Power button for 2-3 seconds and that displayed the Android system recovery screen. Now I selected "apply update from ADB". Then I tried the following command:

adb sideload cm-12.1-20151117-SNAPSHOT-YOG7DAO1K9-falcon.zip


I get the following error in the Android System Recovery screen:

E:failed to verify whole-file signature
E:signature verification failed
Installation aborted




The Cyanogenmod zip file is not corrupted since the SHA1 hash is the same as the one provided in Cyanogenmod downloads page. Please help me to install Cyanogenmod on Moto G (XT1033).

Thanks in Advance
As it's obviously the stock recovery you've used to flash CM, that won't work as it will do a signature check and thus reject the ZIP as being invalid. So here's what you do instead:


put cm-12.1-20151117-SNAPSHOT-YOG7DAO1K9-falcon.zip onto your device's SD card
boot into bootloader
now boot (not install) TWRP: fastboot boot twrp-3.0.2-0-falcon.img
TWRP will show up on your device. Chose "apply update from SD card", navigate to where you put your CM .zip, select it, confirm


Worked for me, though on a different device.