I am not able to install or boot TWRP recovery on my Redmi Note 5 Pro and I am getting this error on Linux terminal:
Code:
~$ sudo fastboot devices
2029cac7 fastboot
~$ sudo fastboot boot /home/ubuntu/Desktop/twrp.img
downloading 'boot.img'...
FAILED (remote: unknown command)
finished. total time:0.001s
~$ sudo fastboot flash recovery /home/ubuntu/Desktop/twrp.img
target didn't report max-download-size
sending 'recovery' (36240 KB)...
FAILED (remote: unknown command)
finished. total time: 0.001s
Bootloader status says already unlocked on the settings screen and after MIUI update 8.5.2, I am facing this issue. And I was having the custom recovery already installed before I updated. Tried different cables, and different devices too :/
It seems none of the fastboot commands is now working(except the reboot commands) What to do now?
gavi7566 said:
I am not able to install or boot TWRP recovery on my Redmi Note 5 Pro and I am getting this error on Linux terminal:...
Click to expand...
Click to collapse
I don't have this device but, you should be able to obtain some member guidance within the following thread that's specific to your device.
https://forum.xda-developers.com/showthread.php?t=3778049
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Related
Here is what I did.
Phone was running with Android 6.0+EMUI4.0 beta version. I unlocked the bootloader by acquiring unlock code from Huawei website.
After unlocking bootloader, when I try to flash TWRP, it says
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery kiwi_twrp_5-14_recovery.img
target reported max download size of 266338304 bytes
sending 'recovery' (45116 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 5.008s
I tried above procedure several times but no luck. So I rebooted my devices, and then booted it again in bootloader mode and then fired command to flash recovery, but this time new error came:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery kiwi_twrp_5-14_recovery.img
target reported max download size of 266338304 bytes
sending 'recovery' (45116 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 5.008s
In both of the above cases fastboot devices working good and showing my device in the list. Please help me here :crying:
[SOLVED]
WIth USB 3.0 ports on my computer, fastboot didn't seem to flash the recovery. @elry567 suggested to use USB 2.0 port and fastboot worked like a charm with that
pank.dhnd said:
[SOLVED]
WIth USB 3.0 ports on my computer, fastboot didn't seem to flash the recovery. @elry567 suggested to use USB 2.0 port and fastboot worked like a charm with that
Click to expand...
Click to collapse
but still on windows 10 unable to run Shift + Command Prompt on the adb folder aswell it reboots on adb but still not able to open the .img file
kartrikpal said:
but still on windows 10 unable to run Shift + Command Prompt on the adb folder aswell it reboots on adb but still not able to open the .img file
Click to expand...
Click to collapse
are you serious ? you can't right click and choose open command prompt here ?
and what .img are you trying to open ? are you trying to flash twrp ?
Code:
C:\fastboot>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
C:\fastboot>adb devices
List of devices attached
GFMDU1********** device
C:\fastboot>adb reboot bootloader
C:\fastboot>fastboot boot C:\fastboot\kiwi_recovery.img
downloading 'boot.img'...
OKAY [ 1.433s]
booting...
OKAY [ 0.020s]
finished. total time: 1.455s
C:\fastboot>fastboot reboot
< waiting for device >
rebooting...
finished. total time: 0.002s
C:\fastboot>
clsA said:
are you serious ? you can't right click and choose open command prompt here ?
and what .img are you trying to open ? are you trying to flash twrp ?
Code:
C:\fastboot>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
C:\fastboot>adb devices
List of devices attached
GFMDU1********** device
C:\fastboot>adb reboot bootloader
C:\fastboot>fastboot boot C:\fastboot\kiwi_recovery.img
downloading 'boot.img'...
OKAY [ 1.433s]
booting...
OKAY [ 0.020s]
finished. total time: 1.455s
C:\fastboot>fastboot reboot
< waiting for device >
rebooting...
finished. total time: 0.002s
C:\fastboot>
Click to expand...
Click to collapse
Yes, i'm unable to do that, instead just unlocked my Phone using Windows 10 and Flashed Twrp.img using Ubuntu - Using Linux its that easy but on Windows 10 it force closes ! I could not find solution .
@clsA
Anyways i'm done with Flashing but after first boot there was seemless WiFi speed seen as i have 2MbPs connection but after few hours of restoring my apps using PS it started to load slow - is there any fixes ?
pank.dhnd said:
[SOLVED]
WIth USB 3.0 ports on my computer, fastboot didn't seem to flash the recovery. @elry567 suggested to use USB 2.0 port and fastboot worked like a charm with that
Click to expand...
Click to collapse
Thank you very much...i should have come here before spending my 1 hour on trying everything else!!:good::good:
pank.dhnd said:
[SOLVED]
WIth USB 3.0 ports on my computer, fastboot didn't seem to flash the recovery. @elry567 suggested to use USB 2.0 port and fastboot worked like a charm with that
Click to expand...
Click to collapse
That is great, I'll keep it in mind always when I face issues
Hi everyone !
I'm a little stuck now, so i really need your help !
I want to install LineageOS on my Xiaomi redmi note 4. So i followed the installation instructions on official Lineage website.
At the step "Install TWRP recovery" i'm stuck.
Here are the logs :
Code:
> $ fastboot flash recovery twrp-3.1.0-0-mido.img
target reported max download size of 134217728 bytes
sending 'recovery' (26840 KB)...
OKAY [ 1.328s]
writing 'recovery'...
FAILED (remote: size too large)
finished. total time: 1.331s
So after searching on the web I tried splitting img into chunks with the following command :
Code:
> $ fastboot flash -S 20M recovery twrp-3.1.0-0-mido.img
Invalid sparse file format at header magi
sending sparse 'recovery' (20476 KB)...
OKAY [ 1.015s]
writing 'recovery'...
FAILED (remote: sparse image size span overflow.)
finished. total time: 1.019s
I choosed 20M for my chunks randomly (inferior to recovery image of 26840KB).
Other informations :
I can't boot to origin system
I can access to fastboot
I can use adb but my device is in sideload mode
Please feel free to answer if you have any idea.
You're great! Thanks.
Did you already unlock the bootloader? It seems not yet..
crok.bic said:
Did you already unlock the bootloader? It seems not yet..
Click to expand...
Click to collapse
Yes I did !
Code:
> $ fastboot getvar all
...
(bootloader) unlocked: yes
...
Are you sure you have Mido and not Nikel? Is your SoC is Snapdragon or MTK?
And why are you flashing *not* the latest version (3.1.0.0 instead of 3.1.1.0)?
Use this Minimal ADB if you are not using this one:
https://forum.xda-developers.com/showthread.php?t=2317790
And use this TWRP instead the one you are trying to use if you really have a Mido phone:
https://dl.twrp.me/mido/twrp-3.1.1-0-mido.img.html
crok.bic said:
Are you sure you have Mido and not Nikel? Is your SoC is Snapdragon or MTK?
And why are you flashing *not* the latest version (3.1.0.0 instead of 3.1.1.0)?
Use this Minimal ADB if you are not using this one:
https://forum.xda-developers.com/showthread.php?t=2317790
And use this TWRP instead the one you are trying to use if you really have a Mido phone:
https://dl.twrp.me/mido/twrp-3.1.1-0-mido.img.html
Click to expand...
Click to collapse
I'm not sure if it's Mido or Nikel.
Do you have a link for Nikel ? Because it doesn't appear in twrp list :\
For adb i've downloaded with
Code:
sudo apt-get install android-tools-adb
I've tried with 3.1.1-0-mido and same error than 3.1.0 :\
@crok you really rock !
I've tried with this link of Nikel : https://xiaomifirmware.com/downloads/twrp-custom-recovery-redmi-note-4-mtk/
And I'm having the recovery mode!
I continue the tutorial !
Great news. Please mark the thread [solved] just to help people who has the same trouble and seeking for info/solution.
Hi everyone.
I had a working Lineage OS 14.1 installed on my yureka device.
I got the newer version TWRP and instead of going to install the latest update from COMMAND PROMPT , i used FLASFHFIRE and this corrupted my device.
My phone when switched OFF shows the battery indications of charging, when connected to charger.
But, doesn't start when switched ON and when connected to laptop, shows the YU logo and goes into FASTBOOT mode.
Code:
$ fastboot devices & $ fastboot -i 0x1ebf devices
detects the phone and gives this
4a252f6 fastboot
Click to expand...
Click to collapse
But, any other FASTBOOT command to flash the boot or recovery fails with error , for the first run
Error 1 :
Code:
D:\RootingKit\platform-tools>fastboot flash boot 15_April_2018_Boot.img
target reported max download size of 268435456 bytes
sending 'boot' (20480 KB)...
FAILED (data write failure (Unknown error))
finished. total time: 5.001s
And successive runs shows a different error
Error 2:
Code:
D:\RootingKit\platform-tools>fastboot flash boot 15_April_2018_Boot.img
target didn't report max-download-size
sending 'boot' (20480 KB)...
FAILED (command write failed (No error))
finished. total time: 0.000s
Now, when i remove the cable and connect it back then again the first error message is observed.
I have tried all cables from different phones, samsung xperia yureka and others and not able to flash. Also, i have tried on different USB ports of my laptop and no SUCCESS.
Please help me out here.
Hello guys, i bricked my phone and now i get errors:
Error!
Func NO : 11 (reovery image)
Error NO : 2 (load failed!)
I have unlocked bootloader, access to fastboot and stock recovery. Any idea how to fix it?
I can't flash anything becouse i get error FAILED (remote: Command not allowed). I have driver for my phone (Android ADB Interface)
D:\ROOT\Minimal ADB and Fastboot>fastboot devices
9WV7N18425025395 fastboot
D:\ROOT\Minimal ADB and Fastboot>fastboot flash ramdisk patched_ramdisk.img
target reported max download size of 471859200 bytes
sending 'ramdisk' (8638 KB)...
OKAY [ 0.268s]
writing 'ramdisk'...
FAILED (remote: Command not allowed)
finished. total time: 0.276s
D:\ROOT\Minimal ADB and Fastboot>
edit.
I had to relock bootloader and i get access to stock recovery, form there i can dowload software last version
IDeeJay91 said:
Hello guys, i bricked my phone and now i get errors:
Error!
Func NO : 11 (reovery image)
Error NO : 2 (load failed!)
I have unlocked bootloader, access to fastboot and stock recovery. Any idea how to fix it?
I can't flash anything becouse i get error FAILED (remote: Command not allowed). I have driver for my phone (Android ADB Interface)
D:\ROOT\Minimal ADB and Fastboot>fastboot devices
9WV7N18425025395 fastboot
D:\ROOT\Minimal ADB and Fastboot>fastboot flash ramdisk patched_ramdisk.img
target reported max download size of 471859200 bytes
sending 'ramdisk' (8638 KB)...
OKAY [ 0.268s]
writing 'ramdisk'...
FAILED (remote: Command not allowed)
finished. total time: 0.276s
D:\ROOT\Minimal ADB and Fastboot>
edit.
I had to relock bootloader and i get access to stock recovery, form there i can dowload software last version
Click to expand...
Click to collapse
https://forum.xda-developers.com/huawei-p20-lite/help/solution-nova-3e-p20-lites-brock-bolt-t3816608 my Solution
César Terrazas said:
https://forum.xda-developers.com/huawei-p20-lite/help/solution-nova-3e-p20-lites-brock-bolt-t3816608 my Solution
Click to expand...
Click to collapse
i cant used this method becouse i had FRP locked and i cant flash anything...
IDeeJay91 said:
Hello guys, i bricked my phone and now i get errors:
Error!
Func NO : 11 (reovery image)
Error NO : 2 (load failed!)
I have unlocked bootloader, access to fastboot and stock recovery. Any idea how to fix it?
I can't flash anything becouse i get error FAILED (remote: Command not allowed). I have driver for my phone (Android ADB Interface)
D:\ROOT\Minimal ADB and Fastboot>fastboot devices
9WV7N18425025395 fastboot
D:\ROOT\Minimal ADB and Fastboot>fastboot flash ramdisk patched_ramdisk.img
target reported max download size of 471859200 bytes
sending 'ramdisk' (8638 KB)...
OKAY [ 0.268s]
writing 'ramdisk'...
FAILED (remote: Command not allowed)
finished. total time: 0.276s
D:\ROOT\Minimal ADB and Fastboot>
edit.
I had to relock bootloader and i get access to stock recovery, form there i can dowload software last version
Click to expand...
Click to collapse
I've the same problem if you get the solution please inform me as well
Thanks
IDeeJay91 said:
i cant used this method becouse i had FRP locked and i cant flash anything...
Click to expand...
Click to collapse
Watch a YouTube tutorial to umlock FRP
Hi guys
I have a problem. XIAOMI REDMI NOTE 4 SNAPDRAGON
I had unlock phone and installed [email protected]
I have tried some ROM and everything works great but the battery went fast so i decided to try: Lineage os 160-20210205 nighty santoni
-Transfer it on sd card
-Wipe system data cache dalvik storage?
And they to flash new ROM but it went failed.
I thought need to get TWRP and got :
-TWRP 3.5.0_9-0- santoni
After I connected to my PC Linux Pop os
Used terminal :
fastboot flash recovery '/home/mati/Downloads/twrp-3.5.0_9-0-santoni.img'
target reported max download size of 536870912 bytes
sending 'recovery' (25004 KB)...
OKAY [ 0.842s]
writing 'recovery'...
OKAY [ 0.191s]
finished. total time: 1.033s
[email protected]:~$ fastboot reboot recovery
fastboot: usage: unknown reboot target recovery
[email protected]:~$ boot into recovery mode
Command 'boot' not found, did you mean:
command 'toot' from deb toot (0.27.0-1)
command 'hboot' from deb lam-runtime (7.1.4-6build2)
command 'boom' from deb doomsday (2.2.2+ds1-1)
command 'boom' from deb prboom-plus (2:2.5.1.7um+git89-1)
command 'booth' from deb booth (1.0-205-gc9e90fe-1)
command 'bolt' from deb bolt-lmm (2.3.4+dfsg-2build1)
command 'brot' from deb fortunes-de (0.34-1)
Try: sudo apt install <deb name>
[email protected]:~$
It doesn't work it says
The system has been destroyed.
I am only on fastboot mode and can't do anything
zenon9 said:
Hi guys
I have a problem. XIAOMI REDMI NOTE 4 SNAPDRAGON
I had unlock phone and installed [email protected]
I have tried some ROM and everything works great but the battery went fast so i decided to try: Lineage os 160-20210205 nighty santoni
-Transfer it on sd card
-Wipe system data cache dalvik storage?
And they to flash new ROM but it went failed.
I thought need to get TWRP and got :
-TWRP 3.5.0_9-0- santoni
After I connected to my PC Linux Pop os
Used terminal :
fastboot flash recovery '/home/mati/Downloads/twrp-3.5.0_9-0-santoni.img'
target reported max download size of 536870912 bytes
sending 'recovery' (25004 KB)...
OKAY [ 0.842s]
writing 'recovery'...
OKAY [ 0.191s]
finished. total time: 1.033s
[email protected]:~$ fastboot reboot recovery
fastboot: usage: unknown reboot target recovery
[email protected]:~$ boot into recovery mode
Command 'boot' not found, did you mean:
command 'toot' from deb toot (0.27.0-1)
command 'hboot' from deb lam-runtime (7.1.4-6build2)
command 'boom' from deb doomsday (2.2.2+ds1-1)
command 'boom' from deb prboom-plus (2:2.5.1.7um+git89-1)
command 'booth' from deb booth (1.0-205-gc9e90fe-1)
command 'bolt' from deb bolt-lmm (2.3.4+dfsg-2build1)
command 'brot' from deb fortunes-de (0.34-1)
Try: sudo apt install <deb name>
[email protected]:~$
It doesn't work it says
The system has been destroyed.
I am only on fastboot mode and can't do anything
Click to expand...
Click to collapse
that's incompatible twrp
You need to download a compatible twrp for mido