[Q] Error flashing stock recovery

80 posts
Thanks Meter: 38
By theascended, Member on 12th April 2014, 05:56 AM
Post Reply Subscribe to Thread Email Thread
I'm on a locked, 4.4, non-DE. Rooted using SlapMyMoto .5c and have used MotoWpNoMo. Everything is fine, but I'd like to have the stock recovery back (since SlapMyMoto modified it).

I can flash the boot partition with the boot.img from the SBF, without issue. However, the recovery.img doesn't seem to work.

C:\Users\user\Desktop\adb>mfastboot flash recovery recovery.img
sending 'recovery' (10240 KB)...
OKAY [  0.960s]
writing 'recovery'...
Preflash validation failed
FAILED (remote failure)
finished. total time: 2.111s
On the phone, I see the error:

Failed to hab check for recovery: 0x56
preflash validation failed for recovery

Is there some way around this or do I need to RSD Lite back to 4.2.2, root again and restore?
15th April 2014, 02:56 AM |#2  
OP Member
Thanks Meter: 38
Not even a sarcastic reply.
15th April 2014, 07:47 PM |#3  
Senior Member
Thanks Meter: 564
Originally Posted by theascended

Not even a sarcastic reply.

Don't you know that just like pwnmymoto, slapmymoto disables recovery in order to disable write protection?
How did I do?
I was not sure of the answer & guessed!
Pretty that is the answer. Pwnmymoto did that to me anyway.
The Following User Says Thank You to aviwdoowks For This Useful Post: [ View ]
15th April 2014, 07:52 PM |#4  
OP Member
Thanks Meter: 38
Ha. Not quite sarcastic enough... needs more cow bell.

They don't actually disable recovery. They modify the recovery image so that instead of booting into recovery, WP is simply disabled and the phone boots as normal. My problem is that I can't seem to restore the stock recovery using the tools and images provided through Motorola's website. This also has me concerned that using RSDLite may not even work since RSDLite basically just scripts the installation of the images/partitions in a certain order.

I'm surprised I'm the only person who has hit this (and wants to fix it) given how many people used pwnmymoto, rockmymoto and any version of slapmymoto before the 1.0.
15th April 2014, 08:00 PM |#5  
Senior Member
Thanks Meter: 564
Flashing the (cam) 4 XML did work for me yet the root solution from there was too much for my old Mac. I wish I had tried the moto x tool kit aio utility.
15th April 2014, 08:16 PM |#6  
OP Member
Thanks Meter: 38
Also... turns out I may have been wrong about the recovery image being modified... looks like it was the partition table that was modified.

I sucked it up and decided to risk losing my data (since I didn't know what the ramifications to flashing the partition data would be). Flashing gpt.bin seems to have fixed the issue and allowed me to flash the stock recovery. For anyone who isn't familiar with what it is you need to flash and ends up in this thread:

mfastboot flash partition gpt.bin

I didn't lose any data and have noticed no discernible loss in functionality (root or write protect).
15th April 2014, 09:28 PM |#7  
KidJoe's Avatar
Recognized Contributor
Flag Thorndale/Romansville, PA
Thanks Meter: 1,574
not sure what you were trying to do.. but when I see hab check messages when trying to flash, it usually means you've got some miss-matched files/partitions on your phone.

the GPT.BIN has a little to do with security, etc.

Hopefully you are not in a state where you still have miss-matched files, because if you do, and you take an OTA, you could brick.
16th April 2014, 04:44 AM |#8  
OP Member
Thanks Meter: 38
Indeed, I'm minorly concerned about that too.

I was just trying to restore the original recovery image functionality. No particular reason right now, just wanted to. Like I said before, I rooted using slapmymoto .5C and am on the 4.4 OTA. The files I used to flash (gpt, boot and recovery) were from the 4.4 SBF ( I think I'm covered here, but I'm also not taking the current OTA until its rooted or I can unlock, neither of which seems likely to happen anytime soon.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes