I can not flash recovery .
This msg come.. What's solutions ?
When i command .. !
This is coming..
>fastboot flash recovery twrp-otus-2.8.7
target reported max download size of 299892736 bytes
error: cannot load 'twrp-otus-2.8.7': Unknown error
What i do ?
Sent from my MotoE2 using xda app-developers app
Related
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 guys i have honor 9 in error mode, i try to flash in fastboot but i have this error: C:\Users\Smart Genius\Desktop\Huawei Fastboot Flasher GSM HELP\adb>fastboot flash recovery recovery.img
target reported max download size of 471859200 bytes
sending 'recovery' (41012 KB)...
OKAY [ 0.887s]
writing 'recovery'...
FAILED (remote: partition length get error)
finished. total time: 1.127s
i try with hisuite but the phone is not supported.
any one can help me? thanks
i can't find any solution in the forum
frnds,
when i try to install twrp for my honor 8 lite oreo with cmd it shows like this;
(i unlocked oem and phone)
c:/adb>fastboot flash recovery RECOVERY-V2.img
target reported max downlod size of 471859200 bytes
sending 'recovery' (9100 KB)...
OKAY [ 0.313s]
writing ' recovery'....
FAILED (remote: partition length get error )
finished. total time: 0.322s
now i lost my stock recovery. how will i solve this problem .
i'm using a windows 10 pc
when i try to install a twrp the cmd shows this failed message
plzzz help me to solve this problem.
i hope you will find a solution for this.
frnds,
when i try to install twrp for my honor 8 lite oreo with cmd it shows like this;
(i unlocked oem and phone)
c:/adb>fastboot flash recovery RECOVERY-V2.img
target reported max downlod size of 471859200 bytes
sending 'recovery' (9100 KB)...
OKAY [ 0.313s]
writing ' recovery'....
FAILED (remote: partition length get error )
finished. total time: 0.322s
now i lost my stock recovery. how will i solve this problem .
i'm using a windows 10 pc
when i try to install a twrp the cmd shows this failed message
plzzz help me to solve this problem.
i hope you will find a solution for this.
alisonpoulose said:
frnds,
when i try to install twrp for my honor 8 lite oreo with cmd it shows like this;
(i unlocked oem and phone)
c:/adb>fastboot flash recovery RECOVERY-V2.img
target reported max downlod size of 471859200 bytes
sending 'recovery' (9100 KB)...
OKAY [ 0.313s]
writing ' recovery'....
FAILED (remote: partition length get error )
finished. total time: 0.322s
now i lost my stock recovery. how will i solve this problem .
i'm using a windows 10 pc
when i try to install a twrp the cmd shows this failed message
plzzz help me to solve this problem.
i hope you will find a solution for this.
Click to expand...
Click to collapse
You need to make this command :
fastboot flash ramdisk "patched_ramdisk.img"
Until yours [emoji846]
failed to install twrp
fastboot flash ramdisk "patched_ramdisk.img"
where did i get this file? did i need to rename the twrp.img to patched_ramdisk.img.
failed to install twrp
i renamed twrp.img to patched_ramdisk.img then thake cmd and typed like this;;;
c:/adb>fastboot flash ramdisk patched_ramdisk.img
error: cannot load 'patched_ramdisk.img
what will i do now plz help me to find a solution:::::
failed to install twrp
now i tried it again now it shows likes this
c/adb>fastboot flash ramdisk patched_ramdisk.img
target reported max downlod size of 471859200 bytes
sending 'ramdisk (31572 KB)...
OKAY [ 1.084s]
writing 'ramdisk'....
FAILED (remote: partition error)
finished. total time: 1.095s
here the failed message changed
in previous it is (remote: patition length error)
but now it changed to remote: partition error
bro plz help me to find a solution
i hope u can clarify it
thankyou
fastboot flash ramdisk "patched_ramdisk.img"
thanku brooooo it workssssss thanks alot
:good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good:
my twrp is red in colour others are blue
bro is there is any problem with my twrp
can i change it to blue colour
plz help me
hi, have some difficulties to flash twrp.img
i try fastboot flash recovery recovery.img but i get this error
Code:
B:\Download\Compressed\platform-tools-latest-windows\platform-tools>fastboot flash recovery recovery.img
target reported max download size of 535822336 bytes
sending 'recovery' (52396 KB)...
OKAY [ 5.923s]
writing 'recovery'...
FAILED (remote: partition table doesn't exist)
finished. total time: 5.947s
phone is unlock debug is enable and signature app verification is disable
P.S thx in advance
Try this
cappone said:
hi, have some difficulties to flash twrp.img
i try fastboot flash recovery recovery.img but i get this error
Code:
B:\Download\Compressed\platform-tools-latest-windows\platform-tools>fastboot flash recovery recovery.img
target reported max download size of 535822336 bytes
sending 'recovery' (52396 KB)...
OKAY [ 5.923s]
writing 'recovery'...
FAILED (remote: partition table doesn't exist)
finished. total time: 5.947s
phone is unlock debug is enable and signature app verification is disable
P.S thx in advance
Click to expand...
Click to collapse
Hi there,
was wondering did you put the recovery file into the installation folder of ADB
yes, thats not the the problem, i manage to root my phone but cant to write TWRP, i get the same msg tried many toolkits and results is the same...
Since Oreo: Partition names have changed and "recovery" changed to "recovery_ramdisk".
Try:
fastboot flash recovery_ramdisk twrp.img
hey there...
I own a moto z2 force running the latest version it supports - Android 9 Pie.
I have unlocked the bootloader of my phone...
When i was trying to install a custom recovery(TWRP), I faced the isuue of Invalid partition name recovery.
I have already cleared the stock recovery.
Please help me!!!
(bootloader) is-logical:recovery: not found
Sending 'recovery' (34224 KB)
OKAY [ 1.288s]
Writing 'recovery'
(bootloader) Invalid partition name
recovery FAILED (remote: '') fastboot: error: Command failed
Thanks in advance....
have you try typing recovery.img instead of recovery?
ineedroot69 said:
have you try typing recovery.img instead of recovery?
Click to expand...
Click to collapse
Thanks for the reply
did you mean
original with extension - recovery.img
new(as per suggestion) - recovery.img.img
because i had already tried recovery.img.. if you want me to try the second one, please do reply.
sksmi2002 said:
hey there...
I own a moto z2 force running the latest version it supports - Android 9 Pie.
I have unlocked the bootloader of my phone...
When i was trying to install a custom recovery(TWRP), I faced the isuue of Invalid partition name recovery.
I have already cleared the stock recovery.
Please help me!!!
(bootloader) is-logical:recovery: not found
Sending 'recovery' (34224 KB)
OKAY [ 1.288s]
Writing 'recovery'
(bootloader) Invalid partition name
recovery FAILED (remote: '') fastboot: error: Command failed
Thanks in advance....
Click to expand...
Click to collapse
Are you using this version?
https://forum.xda-developers.com/z2-force/development/twrp-3-1-1-0-moto-z2-force-nash-t3687421
Sent from my mata using XDA Labs
---------- Post added at 07:18 PM ---------- Previous post was at 07:13 PM ----------
Also see
https://forum.xda-developers.com/z2-force/how-to/guides-bootloader-twrp-custom-roms-root-t3805737.
Sent from my mata using XDA Labs
Looks like the x2 force has 2 system partition s
Try switching active partition then flash twrp
Sent from my mata using XDA Labs
sd_shadow said:
Looks like the x2 force has 2 system partition s
Try switching active partition then flash twrp
Sent from my mata using XDA Labs
Click to expand...
Click to collapse
please can you get me a guide on how to do so...
sksmi2002 said:
please can you get me a guide on how to do so...
Click to expand...
Click to collapse
Setting up and Using adb.exe and fastboot.exe https://forum.xda-developers.com/android/general/index-links-setting-using-adb-fastboot-t3495167
Sent from my Cosmo_Communicator using XDA Labs
I have same problem can you look?
Code:
[email protected]:~/Documents/Phone/ANDROID/MOTOROLA/Moto Z2 Force/TWRP$ fastboot flash recovery twrp-3.3.0-0-nash.img
(bootloader) is-logical:recovery: not found
Sending 'recovery' (30428 KB) OKAY [ 0.896s]
Writing 'recovery' (bootloader) Invalid partition name recovery
FAILED (remote: '')
fastboot: error: Command failed
[email protected]:~/Documents/Phone/ANDROID/MOTOROLA/Moto Z2 Force/TWRP$ fastboot flash recovery twrp-installer-3.3.1-0-nash.zip
(bootloader) is-logical:recovery: not found
Sending 'recovery' (17744 KB) OKAY [ 0.513s]
Writing 'recovery' (bootloader) Invalid partition name recovery
FAILED (remote: '')
fastboot: error: Command failed
[email protected]:~/Documents/Phone/ANDROID/MOTOROLA/Moto Z2 Force/TWRP$ fastboot getvar current-slot
current-slot: _b
Finished. Total time: 0.000s
[email protected]:~/Documents/Phone/ANDROID/MOTOROLA/Moto Z2 Force/TWRP$ fastboot flash boot_b twrp-3.3.0-0-nash.img
(bootloader) is-logical:boot_b: not found
Sending 'boot_b' (30428 KB) OKAY [ 0.865s]
Writing 'boot_b' OKAY [ 0.278s]
Finished. Total time: 1.145s
[email protected]:~/Documents/Phone/ANDROID/MOTOROLA/Moto Z2 Force/TWRP$ fastboot --set-active=a
Setting current slot to 'a' OKAY [ 0.238s]
Finished. Total time: 0.238s
[email protected]:~/Documents/Phone/ANDROID/MOTOROLA/Moto Z2 Force/TWRP$ fastboot flash boot_a twrp-3.3.0-0-nash.img
(bootloader) is-logical:boot_a: not found
Sending 'boot_a' (30428 KB) OKAY [ 0.836s]
Writing 'boot_a' OKAY [ 0.281s]
Finished. Total time: 1.118s
[email protected]:~/Documents/Phone/ANDROID/MOTOROLA/Moto Z2 Force/TWRP$ fastboot flash recovery twrp-3.3.0-0-nash.img
(bootloader) is-logical:recovery: not found
Sending 'recovery' (30428 KB) OKAY [ 0.855s]
Writing 'recovery' (bootloader) Invalid partition name recovery
FAILED (remote: '')
fastboot: error: Command failed
[email protected]:~/Documents/Phone/ANDROID/MOTOROLA/Moto Z2 Force/TWRP$ fastboot flash recovery twrp-installer-3.3.1-0-nash.zip
(bootloader) is-logical:recovery: not found
Sending 'recovery' (17744 KB) OKAY [ 0.490s]
Writing 'recovery' (bootloader) Invalid partition name recovery
FAILED (remote: '')
fastboot: error: Command failed
sd_shadow said:
Setting up and Using adb.exe and fastboot.exe https://forum.xda-developers.com/android/general/index-links-setting-using-adb-fastboot-t3495167
Sent from my Cosmo_Communicator using XDA Labs
Click to expand...
Click to collapse
@sd_shadow
---------- Post added at 10:39 AM ---------- Previous post was at 10:28 AM ----------
I can't flash recovery but I boot in it and this is how I use TWRP.