• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Fastboot can't flash/boot custom recoveries and other functions

Search This thread

nitish159

Senior Member
Apr 3, 2012
120
232
Hello, I recently unlocked the bootloader on my device realme 2 pro as instructed by Realme on :- https://c.realme.com/in/post-details/1085078965883764736
I got my bootloader to be unlocked however, I can't do anything past it now be it flashing a custom recovery, erasing cache, booting to a custom recovery or anything. I get different error messages whenever I give commands. Everyone else is able to flash custom recoveries and all just not me :crying: . I tried 4 different USB cables, all the possible USB ports, two computers, windows as well as linux, nothing works for me.

Below are a few commands I tried -
Code:
D:\nitis\Desktop\platform-tools>fastboot devices
77620a7 fastboot

D:\nitis\Desktop\platform-tools>fastboot flash recovery twrp.img
Sending 'recovery' (28484 KB)                      FAILED (Write to device failed (No such file or directory))
Finished. Total time: 0.004s

D:\nitis\Desktop\platform-tools>fastboot flash recovery twrp.img
Sending 'recovery' (28484 KB)                      FAILED (remote: 'Requested download size is more than max allowed
')
Finished. Total time: 0.007s

D:\nitis\Desktop\platform-tools>fastboot flash recovery twrp.img
Sending 'recovery' (28484 KB)                      FAILED (remote: 'unknown command')
Finished. Total time: 0.005s

D:\nitis\Desktop\platform-tools>fastboot erase cache
Erasing 'cache'                                    FAILED (remote: 'Check device console.')
Finished. Total time: 0.004s

D:\nitis\Desktop\platform-tools>fastboot getvar all
getvar:all FAILED (remote: 'unknown command')
Finished. Total time: 0.002s

D:\nitis\Desktop\platform-tools>fastboot getvar all
getvar:all FAILED (remote: 'GetVar Variable Not found')
Finished. Total time: 0.002s

D:\nitis\Desktop\platform-tools>fastboot getvar all
getvar:all FAILED (remote: 'unknown command')
Finished. Total time: 0.002s

D:\nitis\Desktop\platform-tools>fastboot getvar all
(bootloader) unlocked:yes
(bootloader) off-mode-charge:0
(bootloader) charger-screen-enabled:0
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4209
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) variant:SDM EMMC
(bootloader) partition-type:cache:ext4
(bootloader) partition-size:cache: 0x10000000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0xC8DFF7E00
(bootloader) partition-type:system:ext4
(bootloader) partition-size:system: 0x150000000
(bootloader) secure:yes
(bootloader) serialno:77620a7
(bootloader) product:QC_Reference_Phone
(bootloader) max-download-size:536870912
(bootloader) kernel:uefi
all:
Finished. Total time: 0.021s

D:\nitis\Desktop\platform-tools>fastboot boot twrp.img
Downloading 'boot.img'                             FAILED (Write to device failed (Too many links))
Finished. Total time: 0.219s

D:\nitis\Desktop\platform-tools>fastboot boot twrp.img
Downloading 'boot.img'

PS. I knew for a fact getvar all worked so I rebooted my phone in bootloader to get the values so that someone might be able to guide me as to what's wrong.