Cant Install TWRP on Xperia F5321 - Sony Xperia X Compact Questions & Answers

Hello
i have followed all the guides in order to install the latest version of TWRP in mi X Compact in order to Magisk, but im having this issue on the fastboot comand:
Sending 'recovery' (21552 KB) OKAY [ 0.724s]
Writing 'recovery' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
i have serched for solutions but nothing seems to work, its the first time i try to install TWRP on this phone so its never been rooted (Bootloader is not unlocked) and everyting has alredy been updated to the latest version, any help?
Thanks in advance!

i just unlocked the bootloader, and still gives me the "FAILED (remote: Command not allowed)" error when flashin TWRP trough fastboot HELP PLEASE

Black Swift said:
i just unlocked the bootloader, and still gives me the "FAILED (remote: Command not allowed)" error when flashin TWRP trough fastboot HELP PLEASE
Click to expand...
Click to collapse
Try fastboot boot twrp.img

just tried it, i got a message on my phone screen:
"your device has failed verification and will not work properly"
then phone restarts
in the windows power shell i get this message:
FAILED (Status read failed (Too many links))
I just seem to be unable to install TWRP on this phone :C

Help please!!!

i just tried a different cable, im still getting the "comand not allowed" message, can anyone help me please??

Related

Need help, tried to flash and now NP stuck at Google boot screen with unlock icon

Hello,
I'll start off by apologizing for being a noob. I tried to follow the instructions found here but somehow I got stuck in a state where my NP won't boot up. It is stuck at the Google black screen with an unlock icon. I tried to flash the 2.1 Lollirock rom and now i'm stuck in this state.
I have the NP plugged in and can get to the bootloader screen but I can't seem to figure out how to fix this. I downloaded the boot.img and system.img files from the Lollirock XDA page.
Steps I did:
At the bootloader page -
1) fastboot oem unlock (twice)
2) the bootloader screen then said it was unlocked
3) flashboot boot boot.img
4) flashboot flash system system.img
5) flashboot -w
Everything was successful with no errors so I put enabled Normal Boot in the bootloader and it just sits at the Google screen for about a minute and loops.
I tried to download fugu-lmy48n-factory-3b9d8638.tgz from the nexus stock image page and tried flashboot flash system fugu-lmy48n-factory-3b9d8638.tgz and got the error:
< waiting for device >
target reported max download size of 536870912 bytes
erasing 'system'...
OKAY [ 1.223s]
sending 'system' (457721 KB)...
OKAY [ 16.014s]
writing 'system'...
FAILED (remote: flash_cmds error!
)
finished. total time: 18.417s
I unzipped the TGZ file and tried with the TAR file and got the same error.
Then I flashed CM Recovery and that worked and I can get into CM Recovery thinking I can just update with the CM12.1 rom. The problem is that I don't have the zip on the device's sd card so I had to push from ADB by doing -
ADB sideload cm-12.1-20150520-UNOFFICIAL-fugu.zip
and it starts and goes for about 46% and stops with CM Recovery stating:
E: Failed to verify whole-file signature
E: signature verification failed
Installation aborted.
I googled this and people said to turn off signature verification since most roms are signed but I can't find any instructions on how to do that....
I also found an OTA zip of 6.0 and when updating from CM via ADB sideload, it gives me the error:
E: Error in /sideload/package.zip
(Status 7)
So that's where I'm at....not sure what to do next so any help you guys can provide would GREATLY be apprciated. Thanks!!!
Disregard, I think I got it figured out. I guess I was in stock recover and not in CM Recovery. Flashed CM Recovery again and I was able to flash CM12.1. RIght now it's sitting at the loading screen with the happy blue android face.

FAILED (remote: flash_cmds error!)

Hi @all,
i just messed something up while testing several custom roms for my Zenfone5 so actually i cant write system neither by "sideload" nor by "fastboot flash system". i always get the a mistake like:
Code:
FAILED (remote: flash_cmds error!)
Actually i cant find a mistake by myself. Is it located in my PC or in my phone? i already searched for an errorlist for fastboot but that doesn't get me any results...
and as we say in germany:
Vielen Dank im Vorraus!
Vere'Athor
You're trying to flash a wrong file.
What's the command you're running?
I get the same error running this command:
fastboot.exe flash recovery recovery.img
I cant erase this partition too. When i run this:
fastboot.exe erase recovery
I get this:
FAILED (remote: unable to format)
¨
Please Help
Waërloga666 said:
I get the same error running this command:
fastboot.exe flash recovery recovery.img
I cant erase this partition too. When i run this:
fastboot.exe erase recovery
I get this:
FAILED (remote: unable to format)
¨
Please Help
Click to expand...
Click to collapse
Can you post a link to recovery you are trying to flash? (I will test it)
Can anyone help me out? I tried to install CM 13.1 in Zenfone 5 but when it gets to "writing boot" the following message appears:
FAILED (remote: flash_cmds error!)
How could i solve this? txs everyone
(If any of you guys could text in Portuguese i would be very pleasant)
if u want to flash custom rom
all u need is to unlock bootloader
take a look on this thread using auto.bat for unlock bootloader!
https://forum.xda-developers.com/zenfone-5/general/recovery-twrp-2-8-6-0-asus-zenfone-5-t3136263
after unlocked try flash TWRP again
to confirm success unlocked not!
if fail it will show error failed
just follow step by step read thru!
hope it helps
good luck !
I am Having The Same Error (FAILED (remote: flash_cmds error!)
What To do

fastboot Failed (remote: command unknown)

Hi
I have Lenovo Tablet 2 Pro 1380L. I have simpley bricked it by flashing wrong firmware.
the problem is that when I boot it into FASTBOOT I cannot flash any IMG file and I get an error message that says "FAILED (remote command unknown)"
any idea why I'm getting such message ?

Not able to flash Recovery via fastboot

Hi Guys I am Having a problem with my Asus Zenfone Max Pro M2 (X01BDA) , I am not able to flash Twrp or i can't even flash anything via Fastboot.......
When I type the Commands in my PC i get this error :-
While flashing recovery :-
C:\adb>fastboot flash recovery recovery.img
Sending 'recovery' (29664 KB) FAILED (Write to device failed (Invalid argument))
fastboot: error: Command failed
While booting Recovery:-
C:\adb>fastboot boot recovery.img
Sending 'boot.img' (29664 KB) FAILED (Write to device failed (Too many links))
fastboot: error: Command failed
i have tried everything but still does'nt work Please help !!!
Check if you are entering the file name correctly with "fastboot flash recovery recovery.img"
Here in recovery.img instead of "recovery" write the filename of the recovery you downloaded.
Is your bootloader unlocked?
same problem here... can't seem find the solution. please help anybody. bootloader has been unlocked, all the name type correctly. but it just FAILED (Write tot device failed (Unknown error)) and the phone suddenly says press any key to shutdown.
richardson2001 said:
Hi Guys I am Having a problem with my Asus Zenfone Max Pro M2 (X01BDA) , I am not able to flash Twrp or i can't even flash anything via Fastboot.......
When I type the Commands in my PC i get this error :-
While flashing recovery :-
C:\adb>fastboot flash recovery recovery.img
Sending 'recovery' (29664 KB) FAILED (Write to device failed (Invalid argument))
fastboot: error: Command failed
While booting Recovery:-
C:\adb>fastboot boot recovery.img
Sending 'boot.img' (29664 KB) FAILED (Write to device failed (Too many links))
fastboot: error: Command failed
i have tried everything but still does'nt work Please help !!!
Click to expand...
Click to collapse
RetsuS said:
same problem here... can't seem find the solution. please help anybody. bootloader has been unlocked, all the name type correctly. but it just FAILED (Write tot device failed (Unknown error)) and the phone suddenly says press any key to shutdown.
Click to expand...
Click to collapse
Try this:
1. AMD Bug? - https://forum.xda-developers.com/t/fix-fastboot-issues-on-ryzen-based-pcs.4186321/
2. Switch Device from "Charging" to "File Transfer" Mode
3. Install the latest Device Driver or Universal USB Driver - https://www.androidfilehost.com/?fid=2188818919693784734
4. Placed the latest platform-tools with the Img File directly under the C Drive
5. Try another USB Cable
6. Use another USB Port (USB 3.0 Port to USB 2.0)
7. Try to execute Fastboot Command without connecting your Phone,
and once it says "waiting for device" plug in your USB Cable
8. Windows: Click "Change advanced power setting" on your chosen Plan and expand "USB Settings". Under "USB Settings" Section, expand "USB selective suspend setting" and change it to "Disabled" for On Battery and Plugged In.
9. Try another PC
Code:
adb reboot bootloader
fastboot devices
fastboot flash recovery recovery.img
I hope it helps (∩_∩)

image verification error, TWRP Install failed.

Hello, I'm new here so if I miss any Forum rules please let me know.
TL;DR: I unlocked the bootloader of my VNS-L31 with PotatoNV and now I get the Message FAILED (remote: 'image verification error')
So, i want to install a Custom ROM in order to get OTG Support for my Smartphone. I'm new to this but as I figured out I need to do the following Steps.
1. Unlock Bootloader using PotatoNV
2. Install TWRP
3. Root via SU
3. Install CustomRom via TWRP
I think I managed to unlock my bootloader as I get the "your device cant be trusted" message every time I boot. I can enter fastboot mode with ADB and my device is recognized when it's in fastboot mode. when I try now to install TWRP (i tried different versions) I get the following message:
J:\Smartphone\TWRP\platform-tools_r31.0.2-windows\platform-tools>fastboot flash recovery twrp-3.1.1-0-venus.img
Sending 'recovery' (24464 KB) OKAY [ 0.648s]
Writing 'recovery' FAILED (remote: 'image verification error')
fastboot: error: Command failed
Reading the Forums suggested to relock the Bootloader and then unlock it again in good old " did you turn it off and on again" manner. but when I googled how to relock and unlock I got the warning that a lot of devices cant be unlocked a second time. So should I try to relock it via fastboot ? if I do so, can I unlock it again with the new unlockcode i set in PotatoNV, or do I need to open my phone for Testpoint mode and unlock it with PotatoNV again?
so hopefully i didn't miss any necessary information and someone here can help me or point me in the right direction
greetings
Elfenfreund
PS: Pardon my Writing. It's late and my English is not very trained.
No need to relock. Just unlock it again using the code given by the Potato. Then try flashing again the image.

Categories

Resources