Cant flash recovery or system - Moto G 2014 LTE Q&A, Help & Troubleshooting

Hello everyone,
today I wanted to downgrade my motorola moto g 2014 LTE from cm13 to cm12.1. I tried to flash the older system zip from cm recovery but I got stuck in a bootloop.
Via fastboot I then erased the system, the cache and the recovery (I also wanted to put TWRP on) but after I flashed the recovery, and I booted into Recovery it said "Invalid boot image header".
I also couldn't flash the system, it said:
[email protected]:~/android-sdk-linux/platform-tools$ sudo fastboot flash system cm-12.1-20151117-SNAPSHOT-YOG7DAO1K5-thea.zip
target reported max download size of 536870912 bytes
sending 'system' (257562 KB)...
OKAY [ 14.939s]
writing 'system'...
(bootloader) Battery Low!!
FAILED (remote failure)
finished. total time: 14.974s
thanks in advance,
Riderson

Flash this TWRP recovery - http://forum.xda-developers.com/mot...recovery-twrp-2-8-6-0-touch-recovery-t3088800
And flash CM ROM or any other ROM zip via this recovery.

RaviWL said:
Flash this TWRP recovery - http://forum.xda-developers.com/mot...recovery-twrp-2-8-6-0-touch-recovery-t3088800
And flash CM ROM or any other ROM zip via this recovery.
Click to expand...
Click to collapse
You helped me solve my problem!
Actually this time I just picked a different mirror at the twrp website and now it works!
Got cm12 back!

Related

Will I be forever stuck at 4.2.2 if I cant flash recovery?

I have tried everything I have read on here and I cant seem to flash recovery. I used pwnmymoto to gain root when I first received my moto x. When the camera update came I thought I unrooted and flashed back to stock becasue I was able to get the OTA. Yesterday I could not install the OTA 4.4 because it gave me a error sign. I tried to flash recovery using fastboot but everytime now matter what I do this shows up:
colins-air:Android Tools colinj22$ ./fastboot flash recovery recovery.img
(bootloader) Variable not supported!
target reported max download size of 805306368 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.798s]
writing 'recovery'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.848s
colins-air:Android Tools colinj22$
Can someone please help me. I am fairly new to fastboot and I am on a Mac and I have read everything in these threads and nothing seems to help. Can I erase everything and somehow start from scratch?
Thank you all!
colinj22 said:
I have tried everything I have read on here and I cant seem to flash recovery. I used pwnmymoto to gain root when I first received my moto x. When the camera update came I thought I unrooted and flashed back to stock becasue I was able to get the OTA. Yesterday I could not install the OTA 4.4 because it gave me a error sign. I tried to flash recovery using fastboot but everytime now matter what I do this shows up:
colins-air:Android Tools colinj22$ ./fastboot flash recovery recovery.img
(bootloader) Variable not supported!
target reported max download size of 805306368 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.798s]
writing 'recovery'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.848s
colins-air:Android Tools colinj22$
Can someone please help me. I am fairly new to fastboot and I am on a Mac and I have read everything in these threads and nothing seems to help. Can I erase everything and somehow start from scratch?
Thank you all!
Click to expand...
Click to collapse
try using a different fastboot besides the one you are using. also make sure you are trying to flash the right FW version. you can't downgrade FW so it needs to be the FW version that is currently on the device.
try the second link in the OP of this thread for a different fastboot
http://forum.xda-developers.com/showthread.php?t=2489249
Flashing recovery requires a unlocked boot loader, you're obviously on Verizon and unless you have a DE moto you can't flash recovery due to your boot loader being locked
Sent on my Moto X
Incorrect^
Sent from my XT1060 using Tapatalk

Help flashing recovery failed

So I wanted to flash TRWP recovery via fastboot but everytime I try it it fails saying:
Code:
D:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery TWRP.img
target reported max download size of 1514139648 bytes
sending 'recovery' (12534 KB)...
OKAY [ 1.593s]
writing 'recovery'...
FAILED (remote: image update error)
finished. total time: 1.740s
My bootloader is unlocked and S-off
(Maybe its worth mentioning that my phone is stuck in the bootscreen)
Anyone who knows what the problem could be?
zabdelicious said:
So I wanted to flash TRWP recovery via fastboot but everytime I try it it fails saying:
Code:
D:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery TWRP.img
target reported max download size of 1514139648 bytes
sending 'recovery' (12534 KB)...
OKAY [ 1.593s]
writing 'recovery'...
FAILED (remote: image update error)
finished. total time: 1.740s
My bootloader is unlocked and S-off
(Maybe its worth mentioning that my phone is stuck in the bootscreen)
Anyone who knows what the problem could be?
Click to expand...
Click to collapse
Ok I managed to flash TWRP, but theres another problem... I wanted to flash a stock htc m7 rom via an otg cable and flash drive. The rom is in the root of the stick but when I select the stick in twrp its empty
zabdelicious said:
Ok I managed to flash TWRP, but theres another problem... I wanted to flash a stock htc m7 rom via an otg cable and flash drive. The rom is in the root of the stick but when I select the stick in twrp its empty
Click to expand...
Click to collapse
What format is your usb stick? NTFS won't work with otg, try formatting the usb as fat32 copy the rom back on and try again.
What version of TWRP are you using? Newer versions use MTP in recovery so you can just 'drag and drop' the rom to your storage from recovery mode
Sent from my SM-T230 using Tapatalk
Danny201281 said:
What format is your usb stick? NTFS won't work with otg, try formatting the usb as fat32 copy the rom back on and try again.
What version of TWRP are you using? Newer versions use MTP in recovery so you can just 'drag and drop' the rom to your storage from recovery mode
Click to expand...
Click to collapse
Thanks now it worked, however there occurred another problem. When I flash the rom via otg, the phone reboots and is again stuck in the htc logo screen. I've waited couple of minutes but nothing happened
zabdelicious said:
Thanks now it worked, however there occurred another problem. When I flash the rom via otg, the phone reboots and is again stuck in the htc logo screen. I've waited couple of minutes but nothing happened
Click to expand...
Click to collapse
Which version of twrp are you using? And which rom are you flashing? Also normally I would recommend copying the rom from the OTG to the internal storage then install it from there. :good:
It's also worth noting a successful clean install can take 15 to 20 min to pass the htc boot logo, on first boot.
Sent from my SM-T230 using Tapatalk

I think I soft bricked my phone. flashing "no command"

I've got a moto x '14 verizon XT1096. Tried to use fastboot to load twrp to eventually get to install Cm13. However, it threw this message:
C:\adb>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (0 KB)...
OKAY [ 0.006s]
writing 'recovery'...
(bootloader) Invalid boot image
FAILED (remote failure)
finished. total time: 0.024s
Dumbass me thought it would be a good idea to unplug the device and simply try again. Well, what a bad decision. The phone now flashes the "no command" robot on it's back. yes, flashes. i can get back to fastboot, but after this i'm not sure what to do.
Thanks in advance. I'm fairly new at this, be easy on me.
Try this. This is my mini guide I wrote in another thread.
Well, at first I tried to flash twrp through fastboot but the original recovery override the twrp recovery.
So, what I did, instead of flashing, I just temporary booted into twrp.
adb reboot bootloader
fastboot boot twrp.img (and not fastboot flash recovery twrp.img)
Then phone booted into twrp, I flash supersu 2.46.
Then I easily downloaded twrp manager from google play and installed twrp recovery to my xt1096.
Have fun
Use this https://twrp.me/devices/motorolamotox2014.html
Click to expand...
Click to collapse

Can't flash recovery (remote:not allowed)

Hi guys I have a problem now when trying to flash custom recovery using adb fastboot this log always appear:
fastboot flash recovery recovery.img
sending 'recovery' (10704 KB)...
OKAY [ 0.341s]
writing 'recovery'...
#FAILED (remote: Command not allowed)
finished. total time: 0.345s
SO,I dialed *#*#7378423#*#* and I found that my bootloader is unlocked
then I USED sony flash tool and flashed official 4.4.2 then tried and nothing
WIPED EVERY THING then flashed official 5.1.1 and tried to flash recovery and nothing happened
so I ROOTED 5.1.1 by KINGOROOT and dowloaded flashify then when tried to flash recovery.img it gives me message (recovery partition not found) and so are the boot (boot partition not found)
what can I do help please !
No one can fix my problem?!!
I just did it .....same problem like you. I rename the recovery img to boot.img then flash it to boot.img . Then it boot up twrp.
tllim73 said:
I just did it .....same problem like you. I rename the recovery img to boot.img then flash it to boot.img . Then it boot up twrp.
Click to expand...
Click to collapse
But thus I will flash boot not recovery, I know it will work because I did that but the orginal problem isn't solved

Flash TWRP impossible

Hello,
I can not flash a recovery on my P9 (EVA L09C432B399) to be able to root my P9. It is under 5.0.1 and android 7.
I tried a lot of TWRP.
Thank you for your help
Did you unlock bootloader, before trying to install twrp recovery ?
Yes it's unlock
chuppito said:
Hello,
I can not flash a recovery on my P9 (EVA L09C432B399) to be able to root my P9. It is under 5.0.1 and android 7.
I tried a lot of TWRP.
Thank you for your help
Click to expand...
Click to collapse
It must be TWRP for EMUI 5.01
https://forum.xda-developers.com/p9/development/twrp-t3565703
There is an enhanced version here
https://forum.xda-developers.com/p9/development/rom-huawei-p9-magicrainbow-v4-t3759292
Btw, Fastboot reporting error or what is exactly the problem?
zgfg said:
It must be TWRP for EMUI 5.01
https://forum.xda-developers.com/p9/development/twrp-t3565703
There is an enhanced version here
https://forum.xda-developers.com/p9/development/rom-huawei-p9-magicrainbow-v4-t3759292
Btw, Fastboot reporting error or what is exactly the problem?
Click to expand...
Click to collapse
thank you, the 2 links recovery do not work on my P9.
So I unlocked the bootloader.
I do :
adb reboot bootloader
fastboot flash recovery "the name of recovery.img"
as soon as i get the message okay, i reboot on the recovery and i still have the recovery stock installed.
The message after validating :
target reported max download size of 471859200 bytes
sending 'recovery' (25254 KB)...
OKAY [ 0.823s]
writing 'recovery'...
OKAY [ 0.325s]
finished. total time: 1.152s
chuppito said:
thank you, the 2 links recovery do not work on my P9.
So I unlocked the bootloader.
I do :
adb reboot bootloader
fastboot flash recovery "the name of recovery.img"
as soon as i get the message okay, i reboot on the recovery and i still have the recovery stock installed.
The message after validating :
target reported max download size of 471859200 bytes
sending 'recovery' (25254 KB)...
OKAY [ 0.823s]
writing 'recovery'...
OKAY [ 0.325s]
finished. total time: 1.152s
Click to expand...
Click to collapse
ha you have 1 error when you flash recovery write command fastboot reboot hold vol+ button and push enter when phone reboot unplug usb cable fast before reboot recovery in another time stock recovery back and must flash twrp again good luck
It's good he finally flash the second time the TWRP 3.1.1-1 by oldDroid - extended Version.
Root done thanks a lot for this second link
I booted with volume + so he probably already had a TWRP.
Thank you

Categories

Resources