TWRP not installing

Bayernholic

Member
Jul 9, 2016
17
4
0
I recently unlocked my T-Mobile HTC U11 and I'm trying to flash TWRP recovery on it. However, when I enter the command "fastboot flash recovery twrp-3.1.1.img", command prompt gives me an error "FAILED (remote: Not allowed on PRODUCTION device)." My Fastboot screen shows me:
FastBoot
Product name - QC_Reference_Phone
Variant - MSM UFS
Bootloader version -
Baseband version -
SECURE BOOT - PRODUCTION
SECURE STATE - S-ON
DEVICE STATE - UNLOCKED (U)
***Software status: Official ***

Any Help would be appreciated :D
 
Last edited:

jsaxon2

Senior Member
Mar 3, 2010
970
701
123
Lock Haven, PA
I recently unlocked my T-Mobile HTC U11 and I'm trying to flash TWRP recovery on it. However, when I enter the command "fastboot flash recovery twrp-3.1.1.img", command prompt gives me an error "FAILED (remote: Not allowed on PRODUCTION device)." My Fastboot screen shows me:
FastBoot
Product name - QC_Reference_Phone
Variant - MSM UFS
Bootloader version -
Baseband version -
Serial Number - FA76C0500145
SECURE BOOT - PRODUCTION
SECURE STATE - S-ON
DEVICE STATE - UNLOCKED (U)
***Software status: Official ***

Any Help would be appreciated :D
I haven't unlocked yet, but did you try and use htc_fastboot.exe instead or vanilla fastboot? Not sure if it is required or not.
 

Bayernholic

Member
Jul 9, 2016
17
4
0
I haven't unlocked yet, but did you try and use htc_fastboot.exe instead or vanilla fastboot? Not sure if it is required or not.
Well this is my first HTC phone so I'm not exactly sure what htc_fastboot.exe is :( but if I find a link or something I will check that out. Thanks :good:
 

Retrogore

Member
Apr 19, 2017
5
1
0
Did you unlock the boot loader from htcdev with the code that they emailed you with? If the boot loader is locked it will reject the twrp flash.
 

Bayernholic

Member
Jul 9, 2016
17
4
0
Flash recovery in download mode, not in bootloader mode.
I tried that and it did install correctly but now when I go to Reboot to Recovery, it says " Your device can't be check for corruption. Please lock the bootloader" and proceeds to reboot my phone. I tried to lock my bootloader with fastboot but when I type "fastboot oem lock" it gives an error saying "Failed (remote: unknown command)"
 

Kisakuku

Senior Member
Oct 31, 2011
2,590
4,617
203
I tried that and it did install correctly but now when I go to Reboot to Recovery, it says " Your device can't be check for corruption. Please lock the bootloader" and proceeds to reboot my phone. I tried to lock my bootloader with fastboot but when I type "fastboot oem lock" it gives an error saying "Failed (remote: unknown command)"
Check MD5 of twrp-3.1.1-0-ocn.img. Should be 925ebc3f6416dd8ac7b509670ca26095.
 

A San

Senior Member
Oct 23, 2008
97
5
0
May I ask, what is the difference result, install TWRP in download mode and bootloader mode? Thx

Sent from my HTC U11 using XDA Developers 2016 Premium
 

schmeggy929

Recognized Themer
Apr 13, 2008
2,781
1,917
193
New Jersey
May I ask, what is the difference result, install TWRP in download mode and bootloader mode? Thx

Sent from my HTC U11 using XDA Developers 2016 Premium
When booting to TWRP use bootloader mode(does not install TRWP on Device), Installing TRWP requires Download Mode(replaces stock recovery with TWRP).
 

A San

Senior Member
Oct 23, 2008
97
5
0
When booting to TWRP use bootloader mode(does not install TRWP on Device), Installing TRWP requires Download Mode(replaces stock recovery with TWRP).

Ok, I understand.
So do I need to backup the stock recovery first before change it to TWRP recovery. If yes how to backup?

Sent from my HTC U11 using XDA Developers 2016 Premium
 

schmeggy929

Recognized Themer
Apr 13, 2008
2,781
1,917
193
New Jersey
Ok, I understand.
So do I need to backup the stock recovery first before change it to TWRP recovery. If yes how to backup?

Sent from my HTC U11 using XDA Developers 2016 Premium
TWRP.img in fastboot folder
reboot to bootloader mode
in CMD type: fastboot boot twrp.img( device will reboot to recovery)
click Keep Read Only
click backup
select System Image, Boot and Recovery
swipe to backup
All this to be able to Take OTA update, restore System Image and Boot reboot take OTA.
 
  • Like
Reactions: A San

USMC retired

Recognized Themer
Mar 10, 2011
678
398
0
Corn Country
TWRP.img in fastboot folder
reboot to bootloader mode
in CMD type: fastboot boot twrp.img( device will reboot to recovery)
click Keep Read Only
click backup
select System Image, Boot and Recovery
swipe to backup
All this to be able to Take OTA update, restore System Image and Boot reboot take OTA.

Im guessing he forgot to rename twrp
 

A San

Senior Member
Oct 23, 2008
97
5
0
TWRP.img in fastboot folder

reboot to bootloader mode

in CMD type: fastboot boot twrp.img( device will reboot to recovery)

click Keep Read Only

click backup

select System Image, Boot and Recovery

swipe to backup

All this to be able to Take OTA update, restore System Image and Boot reboot take OTA.

Ok. It's done. Thx alot.
Another question I want to ask. Why before I install the TWRP Recovery, when I go to recovery, the screen only shows Red Phone with Cross?

Sent from my HTC U11 using XDA Developers 2016 Premium
 

schmeggy929

Recognized Themer
Apr 13, 2008
2,781
1,917
193
New Jersey
Ok. It's done. Thx alot.
Another question I want to ask. Why before I install the TWRP Recovery, when I go to recovery, the screen only shows Red Phone with Cross?
It has been a long time since I have seen that, but I do believe that is what the stock recovery looks like.