[Q] TWRP fastboot boot problem - Moto X Q&A

I have a VZW dev edition with unlocked bootloader and running 4.4.2. I would like to boot (not flash) into TWRP to install SuperSU so that I can keep the stock recovery installed, but I get this error in both mfastboot and the regular fastboot:
C:\platform-tools>fastboot boot twrp-2.6.3.1-ghost-4.4.img
downloading 'boot.img'...
OKAY [ 0.844s]
booting...
(bootloader) Command restricted
FAILED (remote failure)
finished. total time: 0.953s
I'm running windows 8.1 and the unlocking process went without a problem.
It also doesn't work if I try: fastboot boot recovery twrp-2.6.3.1-ghost-4.4.img
Any ideas?
Thanks

Aeroman787 said:
I have a VZW dev edition with unlocked bootloader and running 4.4.2. I would like to boot (not flash) into TWRP to install SuperSU so that I can keep the stock recovery installed, but I get this error in both mfastboot and the regular fastboot:
C:\platform-tools>fastboot boot twrp-2.6.3.1-ghost-4.4.img
downloading 'boot.img'...
OKAY [ 0.844s]
booting...
(bootloader) Command restricted
FAILED (remote failure)
finished. total time: 0.953s
I'm running windows 8.1 and the unlocking process went without a problem.
It also doesn't work if I try: fastboot boot recovery twrp-2.6.3.1-ghost-4.4.img
Any ideas?
Thanks
Click to expand...
Click to collapse
your trying this the hard way. power down phone
hold volume - and power till you get into the bootloader and then hit volume - till you highlight recovery then hit volume + and presto your in recovery.
enjoy

Aeroman787 said:
I have a VZW dev edition with unlocked bootloader and running 4.4.2. I would like to boot (not flash) into TWRP to install SuperSU so that I can keep the stock recovery installed, but I get this error in both mfastboot and the regular fastboot:
C:\platform-tools>fastboot boot twrp-2.6.3.1-ghost-4.4.img
downloading 'boot.img'...
OKAY [ 0.844s]
booting...
(bootloader) Command restricted
FAILED (remote failure)
finished. total time: 0.953s
I'm running windows 8.1 and the unlocking process went without a problem.
It also doesn't work if I try: fastboot boot recovery twrp-2.6.3.1-ghost-4.4.img
Any ideas?
Thanks
Click to expand...
Click to collapse
Just flash TWRP, and you install root and SU and you're done. then reinstall stock recovery, seems like the simplest way to do it if what you tried is failing. Just don't forget you're rooted in case OTA comes your way.

The Moto X doesn't support booting just the recovery image like a Nexus device, unfortunately. All the posts I've read have indicated as such, yet to see anyone having successfully done so.
I'd do the same if I had a dev edition. I still don't understand why it doesn't support something so simple which should be available to any unlocked bootloader.

opps i did not understand what you was asking there is a simple way to do this.
Install TWRP with the mfastboot command then install SuperSU
then get the stock recovery img from the correct SBF zip and flash it also with the mfastboot command.
and presto root with stock recovery.

Related

[Q] Help? Softbrick, stuck in AP Fastboot: Security Version Downgraded / Boot Failure

Hey guys, I did something really stupid.
I acquired an Atrix HD through a third party, network/sim unlocked it to work on T-Mobile, and tried to flash 4.1.2 Mexican Retail (MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-MX) through RSD Lite 6.1.5 after removing the getvar command and.. it failed half way. I forgot to unlock the bootloader before flashing.
Now I'm stuck and I've tried almost everything to fix it. I've searched Google and XDA, in the process I have downloaded Myth Tools, sirhoover_atrixhd_utility, motochopper, motopocalypse, and moto-fastboot, tried them all to the best of my knowledge and nothing is working. I've even edited the XML file to exclude the files it fails on.
Common errors I encounter:
Fastboot reason: Boot failure
Fastboot reason: Flash failure
Partition (boot) Security Version Downgraded
Preflash Validation Failed for boot
Partition (system) Security Version Downgraded
PIV black validation for system failed
Invalid PIV image: system
Worst part is, I can't unlock my bootloader because I need ADB to do so! Recovery will give me ADB but only to sideload (available on certain recoveries I've managed to flash). If you have any ideas or information that could assist me in getting my phone back to normal, whether that's unlocking the bootloader through fastboot or flashing a stock rom sucessfully, I would greatly appreciate it! :good:
You don't need a unlocked bootloader to flash firmware through rsd.. Try flashing the stock att back.
Sent from my PACMAN MATRIX HD MAXX
deeje00 said:
You don't need a unlocked bootloader to flash firmware through rsd.. Try flashing the stock att back.
Sent from my PACMAN MATRIX HD MAXX
Click to expand...
Click to collapse
Thanks for your reply
I've tried flashing several stock firmwares already, I get preflash validation failed errors every time on boot.img and system.img
Here's the firmwares I have downloaded:
MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-MX
MB886_bell-user-4.1.2-9.8.2Q-8_MB886_FFW-11-4-release-keys-BellMobility-CA
MB886_att-user-4.1.1-9.8.0Q-97_MB886_FFW-20-27-release-keys-ATT-US_BuildA
7.7.1Q-144_MB886_MR1-22_SIGNED_CFC
7.7.1Q-115_MB886_FFW-14_SIGNED_CFC
I wish I knew exactly the version I had before I started flashing, but unfortunately I do not..
DaveTheRave said:
Thanks for your reply
I've tried flashing several stock firmwares already, I get preflash validation failed errors every time on boot.img and system.img
Here's the firmwares I have downloaded:
MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-MX
MB886_att-user-4.1.1-9.8.0Q-97_MB886_FFW-20-27-release-keys-ATT-US_BuildA
7.7.1Q-144_MB886_MR1-22_SIGNED_CFC
7.7.1Q-115_MB886_FFW-14_SIGNED_CFC
I wish I knew exactly the version I had before I started flashing, but unfortunately I do not..
Click to expand...
Click to collapse
Once your phone's OS has been upgraded, I don't think you can flash to an older firmware unless you have an unlocked bootloader. I'm not sure but that maybe the reason you're getting validation errors.
Did you try re-downloading the firmware?
audit13 said:
Once your phone's OS has been upgraded, I don't think you can flash to an older firmware unless you have an unlocked bootloader. I'm not sure but that maybe the reason you're getting validation errors.
Did you try re-downloading the firmware?
Click to expand...
Click to collapse
Just tried re-downloading everything on a brand new Windows install on a different computer, still having problems.
No matter how hard I try, I cannot get boot.img or system.img to flash from any Stock firmware, whether it's AT&T, Mex, or Bell
Using snap-fastboot:
snap-fastboot flash boot boot.img
sending 'boot' (10240 KB)...
OKAY [ 0.788s]
writing 'boot'...
Preflash validation failed
FAILED (remote failure)
snap-fastboot flash system system.img
sending 'system' (30720 KB)...
OKAY [ 2.343s]
writing 'system'...
Preflash validation failed
FAILED (remote failure)
I'm going to try making a Motorola Factory cable in the meantime. Any other suggestions?
EDIT: Factory cable didn't help.. is there a way to generate a higher security version? No matter what, the bootloader always displays Partition (boot/system) Security Version Downgraded
I really don't want this to end up being a paperweight
Is this where you got the firmware: http://sbf.droid-developers.org/dinara/list.php ?
Did you reboot each time you loaded a different set of fastboot files? Did you remove the previous fastboot files before installing a new set of fastboot files? Are you able to try this on a different computer?
I just got a new Atrix HD replacement and its showing firmware of 9.8.0Q-97_MB886_FFW-20 . Its not the same as the firmware available here: http://sbf.droid-developers.org/ .... I get the same error even after modifying the XML file in the SBF. Wonder if the last update caused an issue. Running into some similar issue with the replacement. Its not wanting to bootloader unlock.
Did you mount the system before installing?
Sent from my SAMSUNG-SGH-I537 using xda app-developers app
Found a fix for the AP Fastboot loop
List of commands to type in. ( in order)
1. adb reboot bootloader
2.fastboot oem fb_mode_set
3.fastboot oem fb_mode_clear
3.fastboot erase userdata
4.fastboot erase cache
5.fastboot reboot
Source:http://www.droidrzr.com/index.php/topic/17320-sticky-bit-fastboot/
Sorry I've been MIA, been busy with work.
TabascoTX said:
Found a fix for the AP Fastboot loop
List of commands to type in. ( in order)
1. adb reboot bootloader
2.fastboot oem fb_mode_set
3.fastboot oem fb_mode_clear
3.fastboot erase userdata
4.fastboot erase cache
5.fastboot reboot
Source:http://www.droidrzr.com/index.php/topic/17320-sticky-bit-fastboot/
Click to expand...
Click to collapse
Thanks for the reply! I wished this worked for me. After completing the steps successfully, I get:
Partition (boot) Security Version Downgraded
Fastboot Reason: Boot Failure
Code:
adb reboot bootloader
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
fastboot oem fb_mode_set
...
OKAY [ 0.006s]
finished. total time: 0.006s
fastboot oem fb_mode_clear
...
OKAY [ 0.005s]
finished. total time: 0.005s
fastboot erase userdata
erasing 'userdata'...
OKAY [ 3.095s]
finished. total time: 3.095s
fastboot erase cache
erasing 'cache'...
OKAY [ 1.669s]
finished. total time: 1.669s
fastboot reboot
rebooting...
finished. total time: 0.005s
audit13 said:
Is this where you got the firmware: http://sbf.droid-developers.org/dinara/list.php ?
Did you reboot each time you loaded a different set of fastboot files? Did you remove the previous fastboot files before installing a new set of fastboot files? Are you able to try this on a different computer?
Click to expand...
Click to collapse
That's exactly where I got my firmwares from. And to answer your question, I have tried this on different computers but I wasn't doing much rebooting when changing fastboot files.
DaveTheRave said:
...I have tried this on different computers but I wasn't doing much rebooting when changing fastboot files.
Click to expand...
Click to collapse
Try logging off and back on to see what happens. For me, using fastboot/adb commands on an x86 Win7 machine works more consistently than using an x64 Win7 machine.
TabascoTX said:
Found a fix for the AP Fastboot loop
List of commands to type in. ( in order)
1. adb reboot bootloader
2.fastboot oem fb_mode_set
3.fastboot oem fb_mode_clear
3.fastboot erase userdata
4.fastboot erase cache
5.fastboot reboot
Source:http://www.droidrzr.com/index.php/topic/17320-sticky-bit-fastboot/
Click to expand...
Click to collapse
When I run fastboot oem fb_mode_set, it just says "< waiting for any device >"
Sorry for the late reply. make sure you have adb installed and the drivers for the Atrix. Also,if possible and not in a boot loop or stuck in fastboot, device debugging should be enabled.
Boot problem
Hello here I have a problem and I made everything from my knowledge but It's not fixed.
I have a Motorola Droid Maxx X8 verison XI1080, version 4.4.4, built number SU4.21,
If I install or do something and I switch off and I turn on my phone it disappears as if it is never done and if I try to reinitialize the phone I have a error Fastboot Reason: Boot Failure
If I get the fastboot and I take recovery its said Boot up failed.
I did everything I flashed with RSD and I update it with Motorola update but still nothing we see that the flashing and the update works but on reboot Its has no effect on the phone its stays as if you did nothing.
Please help me! I look forward to a solution, I thank you more.
have u solved the problem
Please explain how u have solved the problem ,my moto g4 plus in same problems

[Q] can't erase/flash custom recovery

I have non-dev Verizon Moto X 4.4.2 unlocked using the chinese method.
I'm in fastboot right now and it says "Device is UNLOCKED. Status Code: 3" if that means anything.
Every time I tried to flash TWRP and I reboot to recovery...it's still the stock android recovery.
I also tried to erase the stock recovery but i get this message:
erasing 'recovery'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.094s
My motox is unlocked..so why doesn't it say permission denied and why can't i flash a custom recovery??
please help.
I'm not root btw.
Did you go into TWRP after flashing it?
You have to boot straight to recovery or it gets written over by the stock recovery
bigv5150 said:
You have to boot straight to recovery or it gets written over by the stock recovery
Click to expand...
Click to collapse
i thought i did but it boot straight into the OS instead of recovery...let me try again...
*edit*
ok wow i guess i didn't do it when i thought i did but i'm in TWRP now.
Thank you guys!
You probably hit the power button instead of volume+ the first time around.

Fastboot failed

When I try:
fastboot boot recovery.img
I only get this and it wont boot into the Cyanogen Recovery :/
downloading 'boot.img'...
OKAY [ 0.217s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.221s
Any idea what I can do?
Check to see what Fire OS version you have. If it is 5.11 then booting a custom recovery will not work til a new custom boot.img can be created for it.
tuckerwagner said:
When I try:
fastboot boot recovery.img
I only get this and it wont boot into the Cyanogen Recovery :/
downloading 'boot.img'...
OKAY [ 0.217s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.221s
Any idea what I can do?
Click to expand...
Click to collapse
As far as I know you can only do temporary recovery boots (either twerp or Cyanogen) using a PC to push the recovery image and then boot it.
Code:
adb reboot bootloader
fastboot TWRP_Fire_2.8.7.0.img
Is what works for me.
same problem. Any way to downgrade?
skola28 said:
same problem. Any way to downgrade?
Click to expand...
Click to collapse
Same here... Bought two, got one to work and I think my girlfriend let the other update and now I am getting the "FAILED (remote: unknown command)" on the other.....
Ugh, time to look at Amazon's return policy?
skola28 said:
same problem. Any way to downgrade?
Click to expand...
Click to collapse
If on 5.1.1, at this time,
cannot root
cannot boot custom recovery
cannot downgrade
once a the update.zip is captured, maybe a new twrp can be built
RW2112 said:
Check to see what Fire OS version you have. If it is 5.11 then booting a custom recovery will not work til a new custom boot.img can be created for it.
Click to expand...
Click to collapse
Turns out it is 5.1.1. I guess I will wait for a new boot.IMG unless there is a way to downgrade. Thanks for your help!

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

Installing twrp recovery from MacOS...

Hi,
Just got a used Tmobile LG G4 which had stock Marshmallow on it already. Have a working ADB setup on my Mac. Trying to follow these instructions from another post:
adb reboot bootloader (phone reboots to bootloader)
fastboot oem unlock (this wipes ALL data!!)
fastboot boot twrp-2.8.7.1-h811.img (phone boots TWRP)
The oem unlock command worked, I can just make out (if I squint!!) when i boot to bootloader mode that the bootloader is unlocked.
When I try fastboot boot twrp...img, I get the following output:
creating boot image...
creating boot image - 14723072 bytes
downloading 'boot.img'...
OKAY [ 0.433s]
booting...
FAILED (remote: dtb not found)
Any suggestions, am I doing something incorrectly?

Categories

Resources