When I want to flash recovery by fastboot I get this, why is it?
C:\Program Files\Minimal ADB and Fastboot>fastboot flash recovery c50.img
target reported max download size of 268435456 bytes
sending 'recovery' (11076 KB)...
OKAY [ 0.500s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.632s
Ginosasia said:
When I want to flash recovery by fastboot I get this, why is it?
C:\Program Files\Minimal ADB and Fastboot>fastboot flash recovery c50.img
target reported max download size of 268435456 bytes
sending 'recovery' (11076 KB)...
OKAY [ 0.500s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.632s
Click to expand...
Click to collapse
try fastboot boot.
Also, how did you get into fastboot? are you using a patched bootloader? If so, can you link it?
Related
Hi,
I have a US996 and I am trying to use this guide.
Ok i can't post urls so it is the: highonandroid how-to-root-lg-v20-attsprintverizonkorean
I have all the files. The driver is working (windows) and I can complete all the step to get the phone into fastboot mode and step3 does reset the phone. The trouble is step3 is reorting an error when attempting to write twrp "FAILED (remote: device is locked. Cannot flash images)"
here is a log from step three:
C:\Users\user\Downloads\fastboot>fastboot flash boot boot1.img
C:\Users\user\Downloads\fastboot>fastboot flash recovery twrp-3.2.3-0-us996.img
C:\Users\user\Downloads\fastboot>fastboot flash boot boot1.img
C:\Users\user\Downloads\fastboot>fastboot flash recovery twrp-3.2.3-0-us996.img
C:\Users\user\Downloads\fastboot>fastboot flash boot boot1.img
C:\Users\user\Downloads\fastboot>fastboot flash recovery twrp-3.2.3-0-us996.img
C:\Users\user\Downloads\fastboot>fastboot flash boot boot1.img
C:\Users\user\Downloads\fastboot>fastboot flash recovery twrp-3.2.3-0-us996.img
C:\Users\user\Downloads\fastboot>fastboot flash boot boot1.img
C:\Users\user\Downloads\fastboot>fastboot reboot
here is an associated error log
target reported max download size of 536870912 bytes
sending 'boot' (40960 KB)...
OKAY [ 1.061s]
writing 'boot'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 1.081s
target reported max download size of 536870912 bytes
sending 'recovery' (28928 KB)...
OKAY [ 0.757s]
writing 'recovery'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 0.770s
target reported max download size of 536870912 bytes
sending 'boot' (40960 KB)...
OKAY [ 1.055s]
writing 'boot'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 1.071s
target reported max download size of 536870912 bytes
sending 'recovery' (28928 KB)...
OKAY [ 0.753s]
writing 'recovery'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 0.770s
target reported max download size of 536870912 bytes
sending 'boot' (40960 KB)...
OKAY [ 1.062s]
writing 'boot'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 1.080s
target reported max download size of 536870912 bytes
sending 'recovery' (28928 KB)...
OKAY [ 0.760s]
writing 'recovery'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 0.780s
target reported max download size of 536870912 bytes
sending 'boot' (40960 KB)...
OKAY [ 1.052s]
writing 'boot'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 1.070s
target reported max download size of 536870912 bytes
sending 'recovery' (28928 KB)...
OKAY [ 0.763s]
writing 'recovery'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 0.780s
target reported max download size of 536870912 bytes
sending 'boot' (40960 KB)...
OKAY [ 1.062s]
writing 'boot'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 1.080s
rebooting...
finished. total time: 0.020s
this seems like the boot loader is locked some how. any ideas for this?
What about friends, it happens that I wanted to install TWRP to my OP6T, but it did not go well ... I followed the steps and when I gave "Reboot Recovery", I entered the fastboot mode, and it did not happen there, it did not allow me to flash the rom, the stock recovery, or the TWRP, tells me the following ...
This happens when wanting to boot the twrp.img:
PS C:\Users\vhr07\Desktop> fastboot devices
785694ef fastboot
PS C:\Users\vhr07\Desktop> fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 0.713s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 0.746s
PS C:\Users\vhr07\Desktop>
--------------------------------------------------------------------------------------------
This happens when you want to install the recovery stock:
PS C:\Users\vhr07\Desktop> fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (65536 KB)...
OKAY [ 1.518s]
writing 'recovery'...
FAILED (remote: (recovery_b) No such partition)
finished. total time: 1.536s
PS C:\Users\vhr07\Desktop>
---------------------------------------------------------------------------------------------
I install the recovery by means of "boot" and it says OK, but when wanting to boot I get error:
PS C:\Users\vhr07\Desktop> fastboot flash boot recovery.img
target reported max download size of 536870912 bytes
sending 'boot' (65536 KB)...
OKAY [ 1.518s]
writing 'boot'...
OKAY [ 0.271s]
finished. total time: 1.794s
PS C:\Users\vhr07\Desktop> fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 1.506s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 1.547s
PS C:\Users\vhr07\Desktop>
---------------------------------------------------------------------------------------------
These were my last attempts ...:
PS C:\Users\vhr07\Desktop> fastboot flash recovery twrp.img
target reported max download size of 536870912 bytes
sending 'recovery' (30948 KB)...
OKAY [ 0.719s]
writing 'recovery'...
FAILED (remote: (recovery_b) No such partition)
finished. total time: 0.734s
PS C:\Users\vhr07\Desktop> fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (65536 KB)...
OKAY [ 1.508s]
writing 'recovery'...
FAILED (remote: (recovery_b) No such partition)
finished. total time: 1.525s
PS C:\Users\vhr07\Desktop> fastboot flash recovery twrp.zip
target reported max download size of 536870912 bytes
sending 'recovery' (16849 KB)...
OKAY [ 0.391s]
writing 'recovery'...
FAILED (remote: (recovery_b) No such partition)
finished. total time: 0.406s
PS C:\Users\vhr07\Desktop> fastboot flash recovery_b recovery.img
target reported max download size of 536870912 bytes
sending 'recovery_b' (65536 KB)...
OKAY [ 1.523s]
writing 'recovery_b'...
FAILED (remote: (recovery_b_b) No such partition)
finished. total time: 1.538s
PS C:\Users\vhr07\Desktop> fastboot flash boot_b recovery.img
target reported max download size of 536870912 bytes
sending 'boot_b' (65536 KB)...
OKAY [ 1.517s]
writing 'boot_b'...
OKAY [ 0.301s]
finished. total time: 1.824s
PS C:\Users\vhr07\Desktop> fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 1.511s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 1.549s
PS C:\Users\vhr07\Desktop> fastboot flash boot twrp.img
target reported max download size of 536870912 bytes
sending 'boot' (30948 KB)...
OKAY [ 0.714s]
writing 'boot'...
OKAY [ 0.154s]
finished. total time: 0.874s
PS C:\Users\vhr07\Desktop> fastboot flash boot_b twrp.img
target reported max download size of 536870912 bytes
sending 'boot_b' (30948 KB)...
OKAY [ 0.717s]
writing 'boot_b'...
OKAY [ 0.181s]
finished. total time: 0.904s
PS C:\Users\vhr07\Desktop> fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 0.716s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 0.746s
----------------------------------------------------------------------------
Please, I need your help I promise not to ROOT again the hahaha team
I would pay if necessary
PD: already tried with bootloader unlocked and blocked
UPDATE: MSMTools, stuck on "PARAM PREPROCESSING"
https://imgur.com/qiaF8oh
First, flash the original boot.img again:
> fastboot flash boot_a boot.img
> fastboot flash boot_b boot.img
Then follow the instructions in https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482.
foobar66 said:
First, flash the original boot.img again:
> fastboot flash boot_a boot.img
> fastboot flash boot_b boot.img
Then follow the instructions in https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482.
Click to expand...
Click to collapse
Same situation
PS C:\Users\vhr07\Desktop> fastboot devices
785694ef fastboot
PS C:\Users\vhr07\Desktop> fastboot flash boot_a boot.img
target reported max download size of 536870912 bytes
sending 'boot_a' (65536 KB)...
OKAY [ 1.500s]
writing 'boot_a'...
OKAY [ 0.308s]
finished. total time: 1.814s
PS C:\Users\vhr07\Desktop> fastboot flash boot_b boot.img
target reported max download size of 536870912 bytes
sending 'boot_b' (65536 KB)...
OKAY [ 1.498s]
writing 'boot_b'...
OKAY [ 0.345s]
finished. total time: 1.849s
PS C:\Users\vhr07\Desktop> fastboot boot boot.img
downloading 'boot.img'...
OKAY [ 1.505s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 1.537s
PS C:\Users\vhr07\Desktop>
Seem look like usb debug not authorize pc
i had the same issue, and i was able to resurrect my phone, here's what i did:
Download both files from here
Once u are finished:
1.- Turn off ur phone
2.- Press volume up + volume down (at the same time, DONT PRESS POWER BUTTON) and plug ur phone into ur computer (the phone will go into QDL mode)
3.- Open msmdownloadtools mclaren
4.- Press START
5.- Wait for it to finish
You will have H2OS installed... now install OOS
This should work for you, since i was on the same boat as you. Good Luck!
efebe said:
i had the same issue, and i was able to resurrect my phone, here's what i did:
Download both files from here
Once u are finished:
1.- Turn off ur phone
2.- Press volume up + volume down (at the same time, DONT PRESS POWER BUTTON) and plug ur phone into ur computer (the phone will go into QDL mode)
3.- Open msmdownloadtools mclaren
4.- Press START
5.- Wait for it to finish
You will have H2OS installed... now install OOS
This should work for you, since i was on the same boat as you. Good Luck!
Click to expand...
Click to collapse
MSMTools stuck on this
https://imgur.com/qiaF8oh
Vlodayax said:
MSMTools stuck on this
https://imgur.com/qiaF8oh
Click to expand...
Click to collapse
Click "stop" then "exit" and kill the program and start over. Keep trying. I was down a whole day and a half after trying to flash a Rom. I made it worst after wiping the system and the MSM tool saved my a$$.
Sent from my OnePlus6T using XDA Labs
I successfully unlocked my bootloader last night. I went through the process of patching the img file through magisk to root and flashed it via fastbooot. I have been stuck in a loop since. I can still get into fastboot. I have tried Smart Assistant and RSD but they wont detect my phone.
I tried a using different firmware as others have posted and i'm still stuck.
here is my process on powershell:
PS C:\Android> fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (45 KB)...
OKAY [ 0.002s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.092s]
finished. total time: 0.095s
PS C:\Android> fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (7419 KB)...
OKAY [ 0.179s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'emmc_appsboot.mbn' to 'aboot'
(bootloader) - flashing 'rpm.mbn' to 'rpm'
(bootloader) - flashing 'tz.mbn' to 'tz'
(bootloader) - flashing 'devcfg.mbn' to 'devcfg'
(bootloader) - flashing 'cmnlib_30.mbn' to 'cmnlib'
(bootloader) - flashing 'cmnlib64_30.mbn' to 'cmnlib64'
(bootloader) - flashing 'keymaster64.mbn' to 'keymaster'
(bootloader) - flashing 'prov.mbn' to 'prov'
(bootloader) - flashing 'sbl1.mbn' to 'sbl1'
OKAY [ 0.317s]
finished. total time: 0.497s
PS C:\Android> fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.001s]
finished. total time: 0.002s
PS C:\Android> fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (65900 KB)...
OKAY [ 1.527s]
writing 'modem'...
OKAY [ 0.512s]
finished. total time: 2.040s
PS C:\Android> fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (11612 KB)...
OKAY [ 0.270s]
writing 'fsg'...
OKAY [ 0.089s]
finished. total time: 0.361s
PS C:\Android> fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.015s]
finished. total time: 0.015s
PS C:\Android> fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.015s]
finished. total time: 0.016s
PS C:\Android> fastboot flash bluetooth BTFM.bin
error: cannot load 'BTFM.bin'
PS C:\Android> fastboot flash dsp dspso.bin
error: cannot load 'dspso.bin'
PS C:\Android> fastboot flash dsp dspso.bin
error: cannot load 'dspso.bin'
PS C:\Android> fastboot flash dsp adspso.bin
target reported max download size of 536870912 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.380s]
writing 'dsp'...
OKAY [ 0.104s]
finished. total time: 0.486s
PS C:\Android> fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (2633 KB)...
OKAY [ 0.062s]
writing 'logo'...
OKAY [ 0.044s]
finished. total time: 0.107s
PS C:\Android> fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (32768 KB)...
OKAY [ 0.789s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.641s]
finished. total time: 1.431s
PS C:\Android> fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
sending 'system' (256852 KB)...
OKAY [ 5.933s]
writing 'system'...
OKAY [ 1.093s]
finished. total time: 7.028s
PS C:\Android> fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
sending 'system' (262141 KB)...
OKAY [ 6.062s]
writing 'system'...
OKAY [ 1.102s]
finished. total time: 7.166s
PS C:\Android> fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
sending 'system' (234600 KB)...
OKAY [ 5.424s]
writing 'system'...
OKAY [ 0.955s]
finished. total time: 6.379s
PS C:\Android> fastboot flash system system.img_sparsechunk.3 target reported max download size of 536870912 bytes
sending 'system' (259529 KB)...
OKAY [ 5.998s]
writing 'system'...
OKAY [ 1.075s]
finished. total time: 7.075s
PS C:\Android> fastboot flash system system.img_sparsechunk.4
target reported max download size of 536870912 bytes
sending 'system' (262141 KB)...
OKAY [ 6.061s]
writing 'system'...
OKAY [ 1.114s]
finished. total time: 7.177s
PS C:\Android> fastboot flash system system.img_sparsechunk.5
target reported max download size of 536870912 bytes
sending 'system' (252895 KB)...
OKAY [ 5.852s]
writing 'system'...
OKAY [ 1.144s]
finished. total time: 6.997s
PS C:\Android> fastboot flash system system.img_sparsechunk.6
target reported max download size of 536870912 bytes
sending 'system' (262140 KB)...
OKAY [ 6.070s]
writing 'system'...
OKAY [ 1.092s]
finished. total time: 7.163s
PS C:\Android> fastboot flash system system.img_sparsechunk.7
target reported max download size of 536870912 bytes
sending 'system' (260863 KB)...
OKAY [ 6.071s]
writing 'system'...
OKAY [ 1.883s]
finished. total time: 7.955s
PS C:\Android> fastboot flash system_b system_other.img
error: cannot load 'system_other.img'
PS C:\Android> fastboot flash oem oem_other.img
target reported max download size of 536870912 bytes
sending 'oem' (43696 KB)...
OKAY [ 1.012s]
writing 'oem'...
OKAY [ 0.219s]
finished. total time: 1.233s
PS C:\Android> fastboot flash oem oem.img
target reported max download size of 536870912 bytes
sending 'oem' (68308 KB)...
OKAY [ 1.584s]
writing 'oem'...
OKAY [ 0.300s]
finished. total time: 1.887s
PS C:\Android> fastboot erase carrier
erasing 'carrier'...
OKAY [ 0.032s]
finished. total time: 0.033s
PS C:\Android> fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.082s]
finished. total time: 0.083s
PS C:\Android> fastboot erase ddr
erasing 'ddr'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.004s
PS C:\Android> fastboot erase ddr
erasing 'ddr'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.004s
PS C:\Android> fastboot reboot
rebooting...
finished. total time: 0.001s
You need to wipe everything with fastboot commands. Then flash stock again. Also there's no need to do any of that anymore to get root. Just flash the latest magisk in TWRP next time.
Phalanx7621 said:
You need to wipe everything with fastboot commands. Then flash stock again. Also there's no need to do any of that anymore to get root. Just flash the latest magisk in TWRP next time.
Click to expand...
Click to collapse
Thank you for the reply
Should "Fastboot erase" wipe it all out?
do you know where I can the correct stock room for XT1962-1?
Sent from my SM-N975U using Tapatalk
Extract all files from stock zip and run flashall.bat file at command prompt with phone connected in bootloader mode. This will flash and erase all to correct retail stock at Lolinet mirror
https://mirrors.lolinet.com/firmware/moto/river/official/RETAIL/
Flashall.bat file
Extract into adb folder (same as all files in stock zip file)
HueyT said:
Extract into adb folder (same as all files in stock zip file)
Click to expand...
Click to collapse
Thank you for your help!! I'll let you know how it goes
Sent from my SM-N975U using Tapatalk
HueyT said:
Extract into adb folder (same as all files in stock zip file)
Click to expand...
Click to collapse
Update: I'm back up and running! I really appreciate the help! my bootloader is still unlocked, what is the best way to root this device?
dnsource said:
Update: I'm back up and running! I really appreciate the help! my bootloader is still unlocked, what is the best way to root this device?
Click to expand...
Click to collapse
Install TWRP and then flash Magisk 20.2 and Magisk Manager APK
While patching the boot.img for your first installation, did you choose "Preserve force encryption" in "Advanced Settings"?
My OP2 is bricked, just only use fastboot mode, when i use "fastboot oem unlock" command, it show ok & complete, and then offline suddenly.
So i try fastboot mode again, flash recovery, it show the phone is locked.
Can anyone help me ?
C:\WINDOWS\system32>fastboot oem unlock
...
OKAY [ 0.118s]
finished. total time: 0.118s
C:\WINDOWS\system32>fastboot flash recovery c:\twrp-3.2.1-0-oneplus2.img
target reported max download size of 536870912 bytes
sending 'recovery' (22180 KB)...
OKAY [ 0.653s]
writing 'recovery'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 0.673s
This phone have probably softbrick or hardbrick and bootloop and intro to recovery (no erecovery) gets a rescue mode screen
I have tried with the "potatonv" tool and trying to flash a stock rom and a custom recovery but none work and I have the bootloader unlocked but I get these following results:
>fastboot flash RECOVERY RECOVERY.img
target reported max download size of 471859200 bytes
sending 'RECOVERY' (36118 KB)...
OKAY [ 0.986s]
writing 'RECOVERY'...
FAILED (remote: Command not allowed)
finished. total time: 1.012s
>fastboot flash recovery RECOVERY.img
target reported max download size of 471859200 bytes
sending 'recovery' (36118 KB)...
OKAY [ 1.000s]
writing 'recovery'...
FAILED (remote: flash write prim vrl failure)
finished. total time: 1.468s