Installing TWRP on Mate 10 Lite FAILED (remote: Command not allowed) [NOUGAT] - General Questions and Answers

So it's my first time ever trying to root a phone and i can't install TWRP on my phone (Mate 10 Lite). My phone has both OEM unlocked and USB debugging on. I'm using ADB to install it.
That's what i get when i type in "fastboot flash recovery twrp.img" to the command window:
target reported max download size of 471859200 bytes
sending 'recovery' (25170 KB)...
OKAY [ 0.629s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.636s
twrp file I'm using: https://forum.xda-developers.com/ma...s-recoveries--other-development/twrp-t3737747
and the tutorial I followed: https://www.xda-developers.com/how-to-install-twrp/
It's my first time ever doing something like this so please be understanding.

Related

Failed remote command not allowed custom Rom (twrp)

Hi.
I've been trying to flash twrp my Huawai Mate 8 for a couple of weeks. I keep getting the error I mentioned in the title. The bootloader is unlooked, frp is looked. USB debugging is enabled. OEM is grey.
Android version 7.0, emui version 5.0.1. I've been using the official twrp and used adb files and fastboot from other sources as well as official files. The phone is NOT rooted.
Here is the full message:
fastboot flash recovery recovery.img
target reported max download size of 471859200 bytes
sending 'recovery' (22142 KB)...
OKAY [ 0.470s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.477s
I would appreciate any help as this problem has bugged me for so long by now. Thanks!!

OP6 bootloop issue FAILED (remote: Failed to load/authenticate boot image: Load Error

Hi all,
Long story short, I did wanna install Snapchat, but my phone was rooted with magisk, so I did wanna do an reinstall of the latest OP6 10 andr. version.
But now I get in a bootloop the issue I see now when I try with ADB on Windows laptop is the following: "FAILED (remote: Failed to load/authenticate boot image: Load Error)".
My commands I tried:
PS C:\adb> fastboot flash recovery_a C:\adb\twrp-3.4.0-1-enchilada.img
target reported max download size of 805306368 bytes
sending 'recovery_a' (31072 KB)...
OKAY [ 0.792s]
writing 'recovery_a'...
FAILED (remote: (recovery_a_b) No such partition)
finished. total time: 0.819s
PS C:\adb> fastboot flash recovery_b C:\adb\twrp-3.4.0-1-enchilada.img
target reported max download size of 805306368 bytes
sending 'recovery_b' (31072 KB)...
OKAY [ 0.793s]
writing 'recovery_b'...
FAILED (remote: (recovery_b_b) No such partition)
finished. total time: 0.834s
PS C:\adb> fastboot boot C:\adb\twrp-3.4.0-1-enchilada.img
downloading 'boot.img'...
OKAY [ 0.794s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 0.833s
PS C:\adb>
Help... I know how to unbrick this device, but I can't lose the WhatsApp data etc, I didn't back up.
Thanks!
Hey! I've run over a similar issue on op6t.
I'd recommend you doing what I've mentioned in this reply: https://forum.xda-developers.com/showpost.php?p=82995393&postcount=2

Pixel 3 won't let me flash anything

I have official android 11 without root or anything but it does not let me flash anything or boot and it tells me the fastboot of the mobile that is in the slot: B
PS C:\Users\vickd\Desktop\blueline-rp1a.200720.009> fastboot boot TWRP.img
downloading 'boot.img'...
OKAY [ 2.548s]
booting...
FAILED (remote: Error verifying the received boot.img: Invalid Parameter)
finished. total time: 5.862s
PS C:\Users\vickd\Desktop\blueline-rp1a.200720.009> Fastboot flash recovery TWRP.img
target reported max download size of 268435456 bytes
sending 'recovery' (65536 KB)...
OKAY [ 2.621s]
writing 'recovery'...
FAILED (remote: Not allowed to flash (recovery))
finished. total time: 2.773s
PS C:\Users\vickd\Desktop\blueline-rp1a.200720.009>
vickmen said:
I have official android 11 without root or anything but it does not let me flash anything or boot and it tells me the fastboot of the mobile that is in the slot: B
PS C:\Users\vickd\Desktop\blueline-rp1a.200720.009> fastboot boot TWRP.img
downloading 'boot.img'...
OKAY [ 2.548s]
booting...
FAILED (remote: Error verifying the received boot.img: Invalid Parameter)
finished. total time: 5.862s
PS C:\Users\vickd\Desktop\blueline-rp1a.200720.009> Fastboot flash recovery TWRP.img
target reported max download size of 268435456 bytes
sending 'recovery' (65536 KB)...
OKAY [ 2.621s]
writing 'recovery'...
FAILED (remote: Not allowed to flash (recovery))
finished. total time: 2.773s
PS C:\Users\vickd\Desktop\blueline-rp1a.200720.009>
Click to expand...
Click to collapse
TWRP has not worked on Pixel 3 since Android 9. There is a test build for Android 10 at https://forum.xda-developers.com/pixel-3/development/twrp-3-2-3-0-pixel-3-t3861622/page29, but the only response to that post was it did not work. There is nothing for Android 11.
dcarvil said:
TWRP has not worked on Pixel 3 since Android 9. There is a test build for Android 10 at https://forum.xda-developers.com/pixel-3/development/twrp-3-2-3-0-pixel-3-t3861622/page29, but the only response to that post was it did not work. There is nothing for Android 11.
Click to expand...
Click to collapse
Thank you, he enters me and everything but he asks me for a password, I put it on him and nothing but at least I know that my mobile is in good condition, I had been scared hahaha

now my device(mi a2 lite) is stuck in a boot loop and the device is locked after android 10 update

using cmd
when trying to unlock oem; giving:
FAILED (remote: OEM unlock is not allowed)
finished. total time: 0.011s
-----------------------------------------------------------------
when trying to flash boot or recovery; giving:
boot:
sending 'boot' (29069 KB)...
OKAY [ 0.765s]
writing 'boot'...
FAILED (remote: Partition flashing is not allowed)
finished. total time: 0.787s
recovery:
sending 'recovery' (42204 KB)...
OKAY [ 1.103s]
writing 'recovery'...
FAILED (remote: Partition flashing is not allowed)
finished. total time: 1.121s
-----------------------------------------------------------------
when trying to change the partition giving:
C:\Users\Rfastboot --set-active=b
fastboot: unknown option -- set-active=b
-----------------------------------------------------------------
please help!!!
FkReMy said:
using cmd
when trying to unlock oem; giving:
FAILED (remote: OEM unlock is not allowed)
finished. total time: 0.011s
-----------------------------------------------------------------
when trying to flash boot or recovery; giving:
boot:
sending 'boot' (29069 KB)...
OKAY [ 0.765s]
writing 'boot'...
FAILED (remote: Partition flashing is not allowed)
finished. total time: 0.787s
recovery:
sending 'recovery' (42204 KB)...
OKAY [ 1.103s]
writing 'recovery'...
FAILED (remote: Partition flashing is not allowed)
finished. total time: 1.121s
-----------------------------------------------------------------
when trying to change the partition giving:
C:\Users\Rfastboot --set-active=b
fastboot: unknown option -- set-active=b
-----------------------------------------------------------------
please help!!!
Click to expand...
Click to collapse
From what I found on the internet, I guess you didn't turn on the setting `oem allow unlock' in developer settings.
But isn't there `rescue party' (a subsystem of androids recovery which shows two options: 1) Try again 2) Factory data reset)?
If it is, just press that Try again button, wait until it boots into rescue party again and then press the Try again button again. Do that 5-7 times in a row (depending on the phone). Your phone should detect that your current slot is unbootable and should boot into the unupdated slot.
You could also try to find the stock image (or whatever image you have currently installed) and flash it within recovery (there should be a button labeled like `update...' or `sideload...' or something). That should also work.
If nothing helps, you could also factory data reset and hope that it works now...
If that also doesn't work, you could research abit about edl (emergency donwload mode) and how to use it to reflash your device.

error installing twrp

trying to install twrp,the bootloader is already unlocked.
this is what happens:
fastboot flash recovery recovery.img
target reported max download size of 805263360 bytes
sending 'recovery' (34200 KB)...
OKAY [ 0.728s]
writing 'recovery'...
(bootloader) Invalid partition name recovery
FAILED (remote failure)
finished. total time: 0.841s
fastboot boot recovery twrp.img also give a error
what is the solution ?
neozbr said:
trying to install twrp,the bootloader is already unlocked.
this is what happens:
fastboot flash recovery recovery.img
target reported max download size of 805263360 bytes
sending 'recovery' (34200 KB)...
OKAY [ 0.728s]
writing 'recovery'...
(bootloader) Invalid partition name recovery
FAILED (remote failure)
finished. total time: 0.841s
fastboot boot recovery twrp.img also give a error
what is the solution ?
Click to expand...
Click to collapse
OK:
1. First you need to root the device. Follow this guide. You will use adb to patch the boot.img file of your current firmware.
2. After you have rooted, you can install the unofficial TWRP for Android 10 Moto G8 Plus from here. The zip file will install through magisk. Works fine; I tested it last night.

Categories

Resources