fastboot - not booting to recovery. - Xiaomi Redmi Note 5 / 5 Plus Questions & Answers

Hello, owner of the RN 5 here
After the command fastboot boot twrp.img my device do not enter the twrp, but displays the mi logo and "unlocked" status.
The same happens when I use orange fox recovery.
What might have caused that?
The device is unlocked (the official way) .
Connection (cable, drivers, etc) seems to be ok (anyhow I did unlocked the BL)
C:\redmi-unlock\platform-tools_r30.0.2-windows\platform-tools>fastboot devices
ec976afd fastboot
C:\redmi-unlock\platform-tools_r30.0.2-windows\platform-tools>fastboot boot C:\redmi-unlock\twrp-3.3.1-0-vince.img
Sending 'boot.img' (36784 KB) OKAY [ 0.778s]
Booting OKAY [ 0.143s]
Finished. Total time: 0.964s
C:\redmi-unlock\platform-tools_r30.0.2-windows\platform-tools>
Please, advice

tman_pl said:
Hello, owner of the RN 5 here
After the command fastboot boot twrp.img my device do not enter the twrp, but displays the mi logo and "unlocked" status.
The same happens when I use orange fox recovery.
What might have caused that?
The device is unlocked (the official way) .
Connection (cable, drivers, etc) seems to be ok (anyhow I did unlocked the BL)
C:\redmi-unlock\platform-tools_r30.0.2-windows\platform-tools>fastboot devices
ec976afd fastboot
C:\redmi-unlock\platform-tools_r30.0.2-windows\platform-tools>fastboot boot C:\redmi-unlock\twrp-3.3.1-0-vince.img
Sending 'boot.img' (36784 KB) OKAY [ 0.778s]
Booting OKAY [ 0.143s]
Finished. Total time: 0.964s
C:\redmi-unlock\platform-tools_r30.0.2-windows\platform-tools>
Please, advice
Click to expand...
Click to collapse
Flash OrangeFox Recovery by using the fastboot flash recovery recovery.img command
Reboot into OrangeFox by pressing the power + volume up keys, until you see the OrangeFox splash screen (the keys may be may vary on your device)
From here
Installing OrangeFox Recovery
wiki.orangefox.tech

Copy the downloaded recovery image (.img file) to the folder where you have placed your ADB and Fastboot.
Or read this
Android Tip: Boot into twrp or cwm recovery without flashing
Yes, that’s true. You can boot into any recovery of your choice on your Android phone by following this guide. No need to flash and replace the stock bootloader. Though I have tested this met…
aubykhan-wordpress-com.cdn.ampproject.org

joke19 said:
Copy the downloaded recovery image (.img file) to the folder where you have placed your ADB and Fastboot.
Or read this
Click to expand...
Click to collapse
Well, that didnt work - copying both twrp and orange recovery changed nothing (still MI logo and "unlocked" status after the command fastboot boot image_file.img).

joke19 said:
Flash OrangeFox Recovery by using the fastboot flash recovery recovery.img command
Reboot into OrangeFox by pressing the power + volume up keys, until you see the OrangeFox splash screen (the keys may be may vary on your device)
From here
Installing OrangeFox Recovery
wiki.orangefox.tech
Click to expand...
Click to collapse
Well, I am not an expert - I am just affraid of doing that while fastboot boot file.img didnt work. Is it safe?
I guess I have onlu one chance to try.. Will you help me in case I dont succeed?

tman_pl said:
Well, I am not an expert - I am just affraid of doing that while fastboot boot file.img didnt work. Is it safe?
I guess I have onlu one chance to try.. Will you help me in case I dont succeed?
Click to expand...
Click to collapse
When you download the right recovery it will work

Or ask here
[Official][Recovery][TWRP]TWRP For Xiaomi Redmi 5 Plus/Redmi Note 5
Team Win Recovery Project 3.x, or TWRP3.x for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven...
forum.xda-developers.com

Maybe this can be a problem
Maximum Path Length Limitation - Win32 apps
Maximum path length limitation.
docs.microsoft.com

OMG, I am soooo lame.
I just installed android app "Device ID" and it turned out I AM ON WHYRED codename (not venice). I was pretty sure whyred = RN5 Pro, while regular RN5 - vince...
Well, Mi forum https://c.mi.com/thread-1911812-1-1.html confirms what I thought, but...
soooo ashamed.
Now I have to read again and check everything again..

Related

[RECOVERY][cherry] TWRP 2.8.7.0 touch recovery for Huawei G620S, Honor 4/4X

Team Win Recovery Project 2.x, or twrp2 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Features:
All function in a normal TWRP
Support F2FS file system!
Battery capacity display works well!
Supported device:
C8817D
C8817E
G621-TL00
G620S-UL00
G620S-L01
Che1-CL20
Che1-CL10
Che1-L04
Install guide:
1. Install fastboot tools from google's sdk on your PC
2. Enter fastboot mode
3. Run "fastboot flash recovery twrp2.8.7.0_cherry_en_f2fs.img" in command line
4. Reboot and enjoy it
Download:
https://s.basketbuild.com/filedl/devs?dev=dianlujitao&dl=dianlujitao/cherry/twrp2.8.7.0_cherry_en_f2fs.img
XDA:DevDB Information
TWRP, Tool/Utility for all devices (see above for details)
Contributors
dianlujitao
Source Code: https://github.com/dianlujitao/android_device_huawei_cherry/tree/twrp
Version Information
Status: Stable
Current Stable Version: 1
Stable Release Date: 2015-09-12
Created 2015-09-12
Last Updated 2015-09-17
Hi, thank you for your good work...
i would like to mention i made a back up of stock rom with your twrp for 620s-L01...
When i restore that back up, i don't have ril connection, i am not asked for my code pin
I am unable to flash recovery . It is showing success in fastboot but stock recovery is booted even after flashing this recovery. I am able to boot into recovery by connecting to pc. (fastboot boot twrp2.8.7.0_cherry_en_f2fs.img). What to do?
Madhunath said:
I am unable to flash recovery . It is showing success in fastboot but stock recovery is booted even after flashing this recovery. I am able to boot into recovery by connecting to pc. (fastboot boot twrp2.8.7.0_cherry_en_f2fs.img). What to do?
Click to expand...
Click to collapse
do " sudo fastboot boot twrp2.8.7.0_cherry_en_f2fs.img"
Madhunath said:
I am unable to flash recovery . It is showing success in fastboot but stock recovery is booted even after flashing this recovery. I am able to boot into recovery by connecting to pc. (fastboot boot twrp2.8.7.0_cherry_en_f2fs.img). What to do?
Click to expand...
Click to collapse
You should flash the latest official release.
I met the same issue and solved it by this.
It seems that the very very old bootloader will restore official recovery and boot automatically.
desalesouche said:
Hi, thank you for your good work...
i would like to mention i made a back up of stock rom with your twrp for 620s-L01...
When i restore that back up, i don't have ril connection, i am not asked for my code pin
Click to expand...
Click to collapse
When backup a AOSP-based build, select system,data,boot partition is OK.
I don't use emui, but I backup and restore a cm, it's okey
Any mirror on this? Basketbuild is not working with me...
jerryhou85 said:
Any mirror on this? Basketbuild is not working with me...
Click to expand...
Click to collapse
http://bbs.zhiyoo.com/thread-9673037-1-1.html
Please, dear friend now for Perth che2-l11
PleasePleasePleasePlease
Hi Sir will you try to compile M twrp?
desalesouche said:
Hi Sir will you try to compile M twrp?
Click to expand...
Click to collapse
Tried on nubia z9 max, nothing different
Hi Guys,
I attempted to install the twrp recovery and fastboot seemed to install it ok, but I can't get into it via vol-up & power. when i try to boot the recovery using fastboot (under windows) i get the following :
C:\ADB>fastboot boot twrp2.8.7.0_cherry_en_f2fs.img
downloading 'boot.img'...
OKAY [ 0.332s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.343s
The phone is running the new che2-l11 lollipop 5.1 build ... could this be the problem? The phone IS unlocked.
Just tried it again on a different pc. and the phone is sitting on the honor boot screen with vol-up & power.
martzweb said:
Hi Guys,
I attempted to install the twrp recovery and fastboot seemed to install it ok, but I can't get into it via vol-up & power. when i try to boot the recovery using fastboot (under windows) i get the following :
C:\ADB>fastboot boot twrp2.8.7.0_cherry_en_f2fs.img
downloading 'boot.img'...
OKAY [ 0.332s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.343s
The phone is running the new che2-l11 lollipop 5.1 build ... could this be the problem? The phone IS unlocked.
Just tried it again on a different pc. and the phone is sitting on the honor boot screen with vol-up & power.
Click to expand...
Click to collapse
This recovery is for Qualcomm 410 varient
may i ask you to update twrp for cm12.1? it seems to be broken due to cm12.1 update?
i would like to add some more device .
What the hell does Cherry have to do with anything? This is a Cherry recovery?
Honor 4x model Che2-L11 custom recovery
hi
I installed twrp for Honor 4x model Che2-L11 and worked perfect
1-install ADB Fastboot
copy TWRP_2.8.7.x_P8Lite_kirin_v2.img ADB Fastboot installation folder
hold shift key and write click on ADB Fastboot installation folder choose "open command window here"
2-run adb reboot bootloader
3- run fastboot.exe flash recovery "TWRP_2.8.7.x_P8Lite_kirin_v2.img"
note phone must be unlocked and aslo installphone driver
HiSuite (install it driver included)
note:
to check phone is connected
run
adb devices
fastboot device
twrp2.8.7.0_cherry_en_f2fs.img not worke for me(Honor 4x model Che2-L11)
download img:
http://forum.xda-developers.com/showpost.php?p=62598513&postcount=156
help
hi please help me, how can i install cynogen mod in honor 4x,
please hlep me step by step
i have che1-L04
Is twrp3 coming?
Can I use this twrp recovery for my Che2-UL00 please?
Never mind, just being dumb... I fixed it myself

Remove RFP Lock Huawei Y6

Hi all,
I have a small problem, my phone does not boot and hanging on Logo. Now i can boot to fastboot menu, but i cannot really use it since i have FRP lock . Is there any chance to baypass it to make possible to flash recovery boot.img ?
When i try any command getting this error :
Code:
target reported max download size of 266338304 bytes
sending 'revocery' (4096 KB)...
OKAY [ 0.142s]
writing 'revocery'...
FAILED (remote: Necessary to unlock FRP! Navigate to Settings > Develope
finished. total time: 0.154s
Since my phone not booting i cannot use this option Please help
Hi, back again
As i can see, try not to mess with the names :revocery...
When you want to flash the boot.img don't change that name.
Just flash it like : fastboot flash boot boot.img
Use my last boot.img which i sent you. That's a good one out of my backup.
For the FRP (perhaps edit your thread tiltle ) i have no answer in a minute. Did the "fastboot oem unlock" gave anything better ?
raystef66 said:
Hi, back again
As i can see, try not to mess with the names :revocery...
When you want to flash the boot.img don't change that name.
Just flash it like : fastboot flash boot boot.img
Use my last boot.img which i sent you. That's a good one out of my backup.
For the FRP (perhaps edit your thread tiltle ) i have no answer in a minute. Did the "fastboot oem unlock" gave anything better ?
Click to expand...
Click to collapse
I have try also boot , try everything, not matter if youhave FRP lock fastboot oem unlock is only to unlock bootloader, which i have, that is not a problem.
See if this method works for you
http://forum.xda-developers.com/showthread.php?t=3261846
Sent from my Nexus 6 using Tapatalk
joyrida12 said:
See if this method works for you
http://forum.xda-developers.com/showthread.php?t=3261846
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
You cannot use this method since i have only FastBoot feature, adb is not possible to use, since phone never boot. This method can be used only for phones what can boot correctly, so unfortunately useless for me. but thx for link
michalss said:
You cannot use this method since i have only FastBoot feature, adb is not possible to use, since phone never boot. This method can be used only for phones what can boot correctly, so unfortunately useless for me. but thx for link
Click to expand...
Click to collapse
i have exactly the same problem. FRP is locked but my phone doenst boot. so how can i unlock the frp with the fastboot mode?
stiggu said:
i have exactly the same problem. FRP is locked but my phone doenst boot. so how can i unlock the frp with the fastboot mode?
Click to expand...
Click to collapse
same problem on my mate s
good to know that adb is not working for others
i thaught it was just me
I've the same problem , any idea ??
michalss said:
Hi all,
I have a small problem, my phone does not boot and hanging on Logo. Now i can boot to fastboot menu, but i cannot really use it since i have FRP lock . Is there any chance to baypass it to make possible to flash recovery boot.img ?
When i try any command getting this error :
Code:
target reported max download size of 266338304 bytes
sending 'revocery' (4096 KB)...
OKAY [ 0.142s]
writing 'revocery'...
FAILED (remote: Necessary to unlock FRP! Navigate to Settings > Develope
finished. total time: 0.154s
Since my phone not booting i cannot use this option Please help
Click to expand...
Click to collapse
activate "Developer options"
playing several times "compilation"
go to options and enable developer
"Enable OEM unlock"
Hey , the problem is the device won't boot , so how can we enable developer option?!!!!
Sent from my iPhone using Tapatalk
There was a time when xda where the place to get the right answer and quick!
nowadays most topics are full of people with same problem and no dev to come to help, pity.
on topic: I have the same problem, ( mine is a Y6 pro) and before bricking it I had debugging and oem unlock enabled but now can't flash boot etc using fastboot ( error , denied ..) and can't use spflashtools either : preloader vcom appears for 1 second and then disappears and phone turns on.
tried many drivers, 3 Os'es (7, 8.1 ,10) still no luck.
porcha18 said:
activate "Developer options"
playing several times "compilation"
go to options and enable developer
"Enable OEM unlock"
Click to expand...
Click to collapse
Danke!!!!!!!!!!!!! Nach ewigem Suchen diese einfache Lösung. Vielen Dank!! Tag gerettet
the same issue
Good day, i have the same issue on my p9 EVA-L19.
FRP lock. And i can't do anything...
My warranty says that they cannot recover data from the phone, but the information is very important. I need to unlock FRP and somehow boot into TWRP or something to recover my data.
Please help someone if you had a same issue and results.
For the Huawei Y6 you can return to Stock.
Try to fastboot boot recovery-twrp.img and put your stock firmware (dload) folder to the rootdir at your sdcard.
Reboot your device to bootloader and hold down vol+ + vol- and use the command: fastboot boot stockrecovery.img (keep the keys pressed until the stock recovery comes up and starts installing your stock rom.
You will see an emui logo and the recovery will install the complete stock rom if you did everything right.
Retry to boot the stock recovery with this way if it is not working at the first try.
EDIT: after i wiped /system and and all the other stuff i was able to flash stock recovery via fastboot.
Runner85sx said:
For the Huawei Y6 you can return to Stock.
Try to fastboot boot recovery-twrp.img and put your stock firmware (dload) folder to the rootdir at your sdcard.
Reboot your device to bootloader and hold down vol+ + vol- and use the command: fastboot boot stockrecovery.img (keep the keys pressed until the stock recovery comes up and starts installing your stock rom.
You will see an emui logo and the recovery will install the complete stock rom if you did everything right.
Retry to boot the stock recovery with this way if it is not working at the first try.
EDIT: after i wiped /system and and all the other stuff i was able to flash stock recovery via fastboot.
Click to expand...
Click to collapse
Is there a way to do this on a mac?
Ive got adb enabled on terminal and I have a recovery.img file in my downloads though Im not sure if its the right one.
I typed in fastboot devices and then fastboot flash recovery recovery.img but it said cannot load recovery.img
anditan said:
Is there a way to do this on a mac?
Ive got adb enabled on terminal and I have a recovery.img file in my downloads though Im not sure if its the right one.
I typed in fastboot devices and then fastboot flash recovery recovery.img but it said cannot load recovery.img
Click to expand...
Click to collapse
your recovery location in adb is wrong probably. try changing it to the correct path. atleast thats what worked for me
man u can'T do anything because FRP is ACTIVATED !!!
No solution till now
Use the Huawei Swype bypass Method
michalss said:
Hi all,
I have a small problem, my phone does not boot and hanging on Logo. Now i can boot to fastboot menu, but i cannot really use it since i have FRP lock . Is there any chance to baypass it to make possible to flash recovery boot.img ?
When i try any command getting this error :
Code:
target reported max download size of 266338304 bytes
sending 'revocery' (4096 KB)...
OKAY [ 0.142s]
writing 'revocery'...
FAILED (remote: Necessary to unlock FRP! Navigate to Settings > Develope
finished. total time: 0.154s
Since my phone not booting i cannot use this option Please help
Click to expand...
Click to collapse
Try to do:
fastboot boot recovery.img
This will boot up the device with the given image. With that you can put a custom rom to your sd-card and flash it.
I will upload a Nandroid (stock system, recovery, boot) from my Y6 SCL-L01 soon.
With that you can restore boot and recovery with twrp. For this way you don't need to have a frp unlock.
Procedure:
fastboot boot recovery-twrp.img
Put your stock firmware (dload folder) to the sdcard.
Put my Nandroid to your sdcard.
Restore my Nandroid, reboot your device with Vol+ and Vol- pressed.
This way only works for SCL-L01 up to SCL-L04.
I need to create an extra recovery.img that includes a dt image that fits for all SCL variants.
Work in progress...
I have just removed frp today, but its not free method, unfortunately

Does boot normal instead of TWRP Recovery

Hi all,
I have the following problem: My Sony Xperia Z5 compact will not boot into recovery, but instead resumes a normal boot. I have unlocked the bootloader following the official instructions by Sony. The flashing of the recovery also seems to work fine:
Code:
$ sudo fastboot flash recovery ./twrp_recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (19800 KB)...
OKAY [ 0.611s]
writing 'recovery'...
OKAY [ 1.099s]
finished. total time: 1.710s
But both booting with Volume down+Power and with "adb reboot recovery" just boots/reboots into android.
So far I've tried both versions from here (recovery_v3.1.1.img and recovery_suzuran_230218.img), this and the newest from here (recovery_v3.2.1_17.02.2018.img).
I'm already thanking for any help in advance.
Cheers
orthen2112 said:
Hi all,
I have the following problem: My Sony Xperia Z5 compact will not boot into recovery, but instead resumes a normal boot. I have unlocked the bootloader following the official instructions by Sony. The flashing of the recovery also seems to work fine:
Code:
$ sudo fastboot flash recovery ./twrp_recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (19800 KB)...
OKAY [ 0.611s]
writing 'recovery'...
OKAY [ 1.099s]
finished. total time: 1.710s
But both booting with Volume down+Power and with "adb reboot recovery" just boots/reboots into android.
So far I've tried both versions from here (recovery_v3.1.1.img and recovery_suzuran_230218.img), this and the newest from here (recovery_v3.2.1_17.02.2018.img).
I'm already thanking for any help in advance.
Cheers
Click to expand...
Click to collapse
Recovery works fine. Hold Vol Down + Power when phone is completely off until you feel a vibration, then wait. There have been issues in the past where Magisk was keeping the phone from thoroughly turning off - if you have that issue - hold Vol Up + Power to force shutdown, then Vol Down + Power after a bit to boot to recovery.
trax7 said:
Recovery works fine. Hold Vol Down + Power when phone is completely off until you feel a vibration, then wait. There have been issues in the past where Magisk was keeping the phone from thoroughly turning off - if you have that issue - hold Vol Up + Power to force shutdown, then Vol Down + Power after a bit to boot to recovery.
Click to expand...
Click to collapse
I've actually already tried that. The shutdown with [Vol Up + Power] gets confirmed with 3 vibrations. Switching on with [Vol Down + Power] just boots to android again.
Flashing the recovery "on top" of another recovery with "sudo fastboot flash recovery ./twrp_recovery.img" should be no problem, since it replaces the previous recovery. Right?
orthen2112 said:
I've actually already tried that. The shutdown with [Vol Up + Power] gets confirmed with 3 vibrations. Switching on with [Vol Down + Power] just boots to android again.
Flashing the recovery "on top" of another recovery with "sudo fastboot flash recovery ./twrp_recovery.img" should be no problem, since it replaces the previous recovery. Right?
Click to expand...
Click to collapse
Actually it flashes it unto the FOTAKernel partition. Afaicr we needed to hook and chain-load the recovery after kernel launches on the Z5 line.
I flashed mine on Windows with the latest fastboot drivers and just did "fastboot flash recovery twrp.img". Your command looks okay and it passes tho so I dont suppose your mistake is there.
Here's what you can try - fastboot flash boot twrp.img
Flash it to the kernel partition and see what happens - if ur phone boots normally then the flashing never happened even if it says it did... :laugh:
trax7 said:
Actually it flashes it unto the FOTAKernel partition. Afaicr we needed to hook and chain-load the recovery after kernel launches on the Z5 line.
Click to expand...
Click to collapse
I have to admit I didn't understand very much in those to sentences.
trax7 said:
I flashed mine on Windows with the latest fastboot drivers and just did "fastboot flash recovery twrp.img". Your command looks okay and it passes tho so I dont suppose your mistake is there.
Click to expand...
Click to collapse
Any ideas where else I can look
trax7 said:
Here's what you can try - fastboot flash boot twrp.img
Flash it to the kernel partition and see what happens - if ur phone boots normally then the flashing never happened even if it says it did... :laugh:
Click to expand...
Click to collapse
So, that did work. Now the smartphone boots TWRP instead of Android. So this means I just replaced my bootloader, yes? What happens if I flash LineageOS from this TWRP? I believe flashing a ROM only writes to /system, is that right? And how to best replace the bootloader?
Anyhow, thanks
orthen2112 said:
I have to admit I didn't understand very much in those to sentences.
Any ideas where else I can look
So, that did work. Now the smartphone boots TWRP instead of Android. So this means I just replaced my bootloader, yes? What happens if I flash LineageOS from this TWRP? I believe flashing a ROM only writes to /system, is that right? And how to best replace the bootloader?
Anyhow, thanks
Click to expand...
Click to collapse
Okay, now we know flashing occurs. You can do anything u want from that TWRP. You didn't replace your bootloader, you replaced your kernel. We can't touch the bootloaders, they are a completely different story :d
Flashing is mostly done to /system - yes but it's not limited to that. That's just the most useful partition as you can already modify most of the others you would be interested in.
Flashing LineageOS will replace your firmware and your kernel.
trax7 said:
Okay, now we know flashing occurs. You can do anything u want from that TWRP. You didn't replace your bootloader, you replaced your kernel. We can't touch the bootloaders, they are a completely different story :d
Flashing is mostly done to /system - yes but it's not limited to that. That's just the most useful partition as you can already modify most of the others you would be interested in.
Flashing LineageOS will replace your firmware and your kernel.
Click to expand...
Click to collapse
Thank you very much!
I flashed the ROM, using the TWRP on /boot without problems and now I can also boot /recovery!
orthen2112 said:
Thank you very much!
I flashed the ROM, using the TWRP on /boot without problems and now I can also boot /recovery!
Click to expand...
Click to collapse
Glad I helped! The mods can close the thread now, I guess.
Okay, big problem here! Save me please :fingers-crossed:
I had the same problem : flashing twrp to recovery seemed to work but I was unable to boot on recovery while pressing voldown + power or with "adb reboot recovery", the phone would do a normal boot instead.
Seeing how trax7's suggestion solved orthen2112's problem, I tried the same. Bad luck, now I cannot boot AT ALL. The phone vibrates once but the screen remains black, it does not boot on TWRP, nor on regular android. Please tell me it is not bricked...
I can still go into fastboot mode.
EDIT:
When I try to boot directly on an image of TWRP (I tried several versions) using "fastboot boot recovery.img" I get "FAILED (remote: dtb not found)"
fetchaspade said:
Okay, big problem here! Save me please :fingers-crossed:
I had the same problem : flashing twrp to recovery seemed to work but I was unable to boot on recovery while pressing voldown + power or with "adb reboot recovery", the phone would do a normal boot instead.
Seeing how trax7's suggestion solved orthen2112's problem, I tried the same. Bad luck, now I cannot boot AT ALL. The phone vibrates once but the screen remains black, it does not boot on TWRP, nor on regular android. Please tell me it is not bricked...
I can still go into fastboot mode.
EDIT:
When I try to boot directly on an image of TWRP (I tried several versions) using "fastboot boot recovery.img" I get "FAILED (remote: dtb not found)"
Click to expand...
Click to collapse
Is your bootloader unlocked? Do you have the latest drivers + adb/fastboot installed?
trax7 said:
Is your bootloader unlocked? Do you have the latest drivers + adb/fastboot installed?
Click to expand...
Click to collapse
Thank you for your answer, sorry I did not notice.
My bootloader was indeed unlocked and I had adb + fastboot (on a linux distribution, never had to fetch specific drivers). In the end I tried to use flashtool to flash the stock Android L rom I had used for the downgrade (to backup the TA with the DRM keys before unlocking bootloader) which worked (I could not flash only the kernel image on boot). Then I tried again to boot on TWRP directly from fastboot mode without flashing anything: same error. I then downloaded a few recent stock Android N roms from xperifirm which flashtool could not unzip for some reason, then I found an Australian image elsewhere, and this time flashtool would accept it. So, back to Android N, I tried to flash TWRP again and it worked at last. I'm now running on the Lineage14.1+microG rom (so much better than stock roms I still can't believe it).
I guess TWRP, including old versions I tried, would not boot along the stock Android L rom that was currently flashed so I had to upgrade beforehand. I hope this will help people in the future.
Note for others, I thought I had the same problem as OP, but after doing as trax said with fastboot flash boot twrp.img it didnt boot at all(but did give a single vibrate). What worked for me is following Fetchaspade's instructions. For some reason it is not possible to go into recovery mode with lollipop, but having flashed with nougat I can now get into recovery mode with TWRP.
elfae said:
Note for others, I thought I had the same problem as OP, but after doing as trax said with fastboot flash boot twrp.img it didnt boot at all(but did give a single vibrate). What worked for me is following Fetchaspade's instructions. For some reason it is not possible to go into recovery mode with lollipop, but having flashed with nougat I can now get into recovery mode with TWRP.
Click to expand...
Click to collapse
Ofc that the latest recovery wont work for an Android version it wasn't made for (it would probably work on Marshmallow but Lollipop is too old). A different recovery would work there, the old zxz recovery if i remember correctly.
Also you can fastboot boot the recovery image directly.
Thanks for clarifying Trax, I was not aware that the latest version of TWRP was not backwards compatible with earlier android versions. My reason for posting is because I expect there will be more people following the instructions here; https://wiki.lineageos.org/devices/suzuran/install. They will need to downgrade to make a backup of their TA partition, and as I did probably forget to go back to a newer stock version since it is not mentioned in the lineageOS step by step guide.
elfae said:
Thanks for clarifying Trax, I was not aware that the latest version of TWRP was not backwards compatible with earlier android versions. My reason for posting is because I expect there will be more people following the instructions here; https://wiki.lineageos.org/devices/suzuran/install. They will need to downgrade to make a backup of their TA partition, and as I did probably forget to go back to a newer stock version since it is not mentioned in the lineageOS step by step guide.
Click to expand...
Click to collapse
You dont *have to* backup TA... It's only to preserve your original keys if you want. All of the custom kernels here emulate them anyway if you dont have the backup and LOS doesn't benefit from them at all.

[TWRP][UNOFFICIAL] TWRP 64 bit for ALI

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Unlocked bootloader is required.
​
Installation
To temporarily boot this recovery:
Code:
fastboot boot mali.img
To permanently install it:
fastboot flash recovery mali.img
Done!
Download
Mega
XDA:DevDB Information
TWRP for Moto G6, Tool/Utility for the Moto G6
Contributors
@Electimon
@dejello
Version Information
Status: Beta
Created 2019-04-27
Last Updated 2019-04-27
It's of no use now that there are no 64 bit roms.
Chirag91 said:
It's of no use now that there are no 64 bit roms.
Click to expand...
Click to collapse
We already have an Android 10 X64 Rom in testing, and also an X64 version of Orange Fox Recovery.
Wvanderlei21 said:
We already have an Android 10 X64 Rom in testing, and also an X64 version of Orange Fox Recovery.
Click to expand...
Click to collapse
That's wonderful is radio, bluetooth working?
Chirag91 said:
That's wonderful is radio, bluetooth working?
Click to expand...
Click to collapse
Practically everything works, the developer is only correcting some small bugs ...
Electimon said:
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Unlocked bootloader is required.
​
Installation
To temporarily boot this recovery:
Code:
fastboot boot mali.img
To permanently install it:
fastboot flash recovery mali.img
Done!
Download
Mega
XDA:DevDB Information
TWRP for Moto G6, Tool/Utility for the Moto G6
Contributors
@Electimon
@dejello
Version Information
Status: Beta
Created 2019-04-27
Last Updated 2019-04-27
Click to expand...
Click to collapse
Can you upload it to another site? My transfer quota is exceeded in mega...
Someone knows how to downgrade this recovery?
Decryption doesn't work just like dejellos TWRP.
Source
Where is the source for this recovery?
it says image is corrupt but when i booted it it worked
sans1131 said:
it says image is corrupt but when i booted it it worked
Click to expand...
Click to collapse
The bootloader is expecting the stock recovery.img; not mali.img. it is also expecting a certain hash and other identifying features.
To the bootloader the image is corrupted. To us, it`s a modern miracle.
sans1131 said:
it says image is corrupt but when i booted it it worked
Click to expand...
Click to collapse
not OEM = corrupt
in combination with a unlocked bootloader = every image is corrupt, even OEM ones
is it normal, that when Im restoring a backup of a rom it is like fresh installing the rom? None of my installed apps are restored, all app data is gone... Did I something wrong or is this custom recovery not working correctly. I mean why should I do a 9gigabyte backup and restore it to get the same result as I could have when simply flashing the 600MB ROM zip
externus said:
is it normal, that when Im restoring a backup of a rom it is like fresh installing the rom? None of my installed apps are restored, all app data is gone... Did I something wrong or is this custom recovery not working correctly. I mean why should I do a 9gigabyte backup and restore it to get the same result as I could have when simply flashing the 600MB ROM zip
Click to expand...
Click to collapse
Did you backup /data??
WoKoschekk said:
Did you backup /data??
Click to expand...
Click to collapse
I backed up everything that was available. I think for Data was something like "no ext." mentioned.
Did I had to Mount something before backup/restore?
Its some years ago that I used a custom recovery because of that I was curious about my problem.
externus said:
I backed up everything that was available. I think for Data was something like "no ext." mentioned.
Did I had to Mount something before backup/restore?
Its some years ago that I used a custom recovery because of that I was curious about my problem.
Click to expand...
Click to collapse
No, it's not necessary to mount any partition.
Maybe decryption issues?
Ever since installing this, rebooting always goes into the bootloader. From the bootloader, I can boot into system or recovery without a problem, but... well, there must be a way to fix this. I know that others have the same problem, but has anyone found a fix?
Cheers
fastboot flash recovery mali.img
target reported max download size of 534773760 bytes
sending 'recovery' (21620 KB)...
OKAY [ 0.505s]
writing 'recovery'...
(bootloader) Image not signed or corrupt
OKAY [ 0.355s]
finished. total time: 0.860s
--> when booting into recovery: "no command". ---> there a fix? Using the "boot" command it is working perfectly, but I'd like to flash so I can install Official RR ROM
fabit00 said:
fastboot flash recovery mali.img
target reported max download size of 534773760 bytes
sending 'recovery' (21620 KB)...
OKAY [ 0.505s]
writing 'recovery'...
(bootloader) Image not signed or corrupt
OKAY [ 0.355s]
finished. total time: 0.860s
--> when booting into recovery: "no command". ---> there a fix? Using the "boot" command it is working perfectly, but I'd like to flash so I can install Official RR ROM
Click to expand...
Click to collapse
Flash TWRP and boot directly into recovery by using Vol-/+ and Power. Do not boot the device into system!
WoKoschekk said:
Flash TWRP and boot directly into recovery by using Vol-/+ and Power. Do not boot the device into system!
Click to expand...
Click to collapse
Okay, so:
1. security settings to lock option "password" instead of "pattern" (why you will see in step 7 & 8.)
2. power off
3. power button + volume down --> bootloader
4. in powershell putting "fastboot flash recovery mali.img" command with the output of post #18
5. via volume down button selecting "boot into recovery"
6. TWRP shows up with the "decription"
7. I enter the password which I set in the OS in step 1
8. "decription error" --> okay, so I cancel, then going to
9. "Install" in TWRP ---> /sdcard nothing there, altough there should be my zips (RR and magisk)
Thanks!
Edit:
Model XT1925-5 with latest Stock ROM (PPSS29.55-337-7-10) installed and bootloader unlocked (of course)

Z5C refuses to load TWRP

Hey all,
I have a new z5c running 32.4.A.1.54 stock.
I flash TWRP (I have tried a few different versions) using Fastboot on Ubuntu20.04, it all runs fine no errors, and appears to flash as it should.
But the phone will not load TWRP, from the phone itself, I have tried a million different ways.
The only way it loads is by
fastboot boot twrp.img
But when I do this .. android will not then start .. hangs on Sony logo
I have to reflash the stock rom to get it to work again
If I run
fastboot reboot recovery
I get:
fastboot: usage: unknown reboot target recovery
even tho:
fastboot devices
correctly identifies the device
I would like to root and use custom rom, but have not yet been able to get past this TWRP hurdle
Has anyone experience of this, or any ideas?
You've flashed TWRP in a wrong way! Please search for help in my several ROM threads.
Well, thanks for your answer, really, I appreciate it
But I have flashed it again and again and followed your threads and other threads
I'm not a newbie, i have flashed TWRP and roms to a few phones, inc Z1C and a couple of Z3Cs
I have adb, and fastboot installed
Bootloader unlocked
USB debugging
Recommended stock
I have downloaded multiple .img files, including your 3.6.1 version
I run fastboot
and
fastboot flash recovery twrp.img
The phone will not reboot into TWRP, using buttons nor fastboot, only into android, unless I then run
fastboot boot twrp.img
Then TWRP runs, but when I then reboot, I just hit the SONY logo if I have not flashed a ROM or a bootloop if I have.
And from there will not return to TWRP at all.
What am I missing?
I'm very confused as everything you're talking about is working here and for other users flawlessly.
Really, I don't know what's wrong at your side.
Berni-0815 said:
I'm very confused as everything you're talking about is working here and for other users flawlessly.
Really, I don't know what's wrong at your side.
Click to expand...
Click to collapse
Yes, that makes 2 of us!
Ugh.
Did you try what I told you in this post?
With that, LineageOS 19.1 MUST boot up!
If not, I don't know further...
Berni-0815 said:
Did you try what I told you in this post?
With that, LineageOS 19.1 MUST boot up!
If not, I don't know further...
Click to expand...
Click to collapse
I did try that as recommended, thanks
I am flashtool-ing back to the stock again, after being again stuck on boot with TWRP inaccessible
I will give it one last go
Thanks, man
How do I buy you a coffee?
That's all really weird; since it works here since years.
From a fresh fully-functional stock install
Following this simple process exactly
Devices with only TWRP.IMG​
If your device only has the IMG file, then execute the below command: fastboot flash recovery twrp.img
Now execute the below command to boot your device to the TWRP recovery. fastboot boot twrp.img
Once it boots to TWRP, you could then boot it to the OS, via the Reboot > System option in TWRP.
From here;
https://www.getdroidtips.com/flash-twrp-recovery-android/
After 3. it gets to SONY logo and hangs
Same every time
Obviously not a problem with your or any other custom ROM
The only way out from here is to Flashtool the stock again
Geez
I'm giving up on TWRP and custom ROM
I'll go for the rooted, debloated, degoogled stock as best as I can get it
Thanks v much for the support!
I've NEVER used the command
Code:
fastboot boot twrp.img
I've always flashed TWRP like this:
Shutting down device
Waiting some time
Pressing volume up and plugging usb cable
Enter this command in a terminal window:
Code:
fastboot flash recovery TWRP_3.6.1_9-0-recovery_suzuran_2022-03-09.img
After unplugging the usb cable and waiting some time I rebooted into TWRP by pressing power and volume down simultaneously.
That worked since years flawlessly!
Berni-0815 said:
I've NEVER used the command
Code:
fastboot boot twrp.img
I've always flashed TWRP like this:
Shutting down device
Waiting some time
Pressing volume up and plugging usb cable
Enter this command in a terminal window:
Code:
fastboot flash recovery TWRP_3.6.1_9-0-recovery_suzuran_2022-03-09.img
After unplugging the usb cable and waiting some time I rebooted into TWRP by pressing power and volume down simultaneously.
That worked since years flawlessly!
Click to expand...
Click to collapse
That command is the only way that twrp has loaded for me
Right .. deep breath ... one last go at this using yr suggestion,
thanks
Nope
Same again
All goes as it should
Power and volume down simultaneously
Boots into Android
adb reboot recovery
Also boots into android
If I was now to run
fastboot boot twrp.img
It would run TWRP the one time, but just hang on SONY logo when rebooted
Ho hum.
kaivalyam said:
Power and volume down simultaneously
Boots into Android
Click to expand...
Click to collapse
That SHOULD NOT happen if you've flashed TWRP in the only right way.
I'm sorry, but I don't believe that...
Berni-0815 said:
That SHOULD NOT happen if you've flashed TWRP in the only right way.
I'm sorry, but I don't believe that...
Click to expand...
Click to collapse
Well, its not a particularly complicated process
I have described exactly what I have done
I have done it multiple times
And that is what happens
As I said: I've never seen that and that's not reported very often by other users.
And if, then it has been an error in flashing.
Highly unlikely that you're devices so called FOTA partition is damaged so that the command
Code:
fastboot flash recovery <name of the recovery image>
fails.
Code:
fastboot flash boot <name of the boot image>
flashes the boot partition and that's not the same as the FOTA partition.
I have to believe you but somehow I can't.
I understand
fastboot flash recovery <name of the recovery image>
Doesn't fail exactly ... it runs fine .. no errors
Code:
~/Dev/Z5/twrp/3.6.1$ fastboot flash recovery TWRP_3.6.1_9-0-recovery_suzuran_2022-03-09.img
target reported max download size of 536870912 bytes
sending 'recovery' (22668 KB)...
OKAY [ 0.570s]
writing 'recovery'...
OKAY [ 0.395s]
finished. total time: 0.965s
But then the phone will only boot android
~~~
Unless
I run;
fastboot flash boot <name of the boot image>
Again, runs fine .. no errors
Code:
~/Dev/Z5/twrp/3.6.1$ fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 0.552s]
booting...
OKAY [ 0.561s]
finished. total time: 1.113s
This boots TWRP but then after that the phone hangs at boot and will neither start Android or TWRP
It is indeed very strange.
Look at your own code:
Code:
~/Dev/Z5/twrp/3.6.1$ fastboot boot twrp.img
downloading 'boot.img'...
From where is boot.img downloaded? And where is it stored internally?
Have you flashed system.img too?
There goes something terribly wrong at your side.
Thanks for your patience
Yes I'm sure you're right, probably user error, although I am having trouble seeing what that is exactly ...
So, using Ubuntu, I am in the directory that contains the twrp.img file (most times I have renamed it this)
Is that correct so far?
From there I run
fastboot flash recovery twrp.img
All good, as above, but TWRP does not load, ever, using buttons or adb, unless I then run
fastboot boot twrp.img
TWRP then runs
But the phone will not boot into anything from there
Yes, I thought that was a little odd ...
"downloading" : I assumed it meant it was transferring the file across, or accessing it, from my pc to the device
"'boot.img" : I assumed fastboot had changed the filename to what it needed it to be ...
Is the problem around this?
You can name the recovery image file as you like it to be named.
Have you disconnected the USB cable after flashing?
Have you waited some time before trying to boot anything?
If you can boot TWRP, you can fetch a LOG file at the "Advanced" menu. Please send me this LOG file via PM (it may contain personell data!).

Categories

Resources