can't boot into recovery - Xperia Z5 Compact Q&A, Help & Troubleshooting

I want to install lineageOS on my Xperia Z5C (I followed these instructions: https://wiki.lineageos.org/devices/suzuran/instal) . The problem is that my phone won't boot into recovery (bootloader is unlocked), after I flashed the recovery onto the phone (I downloaded the suggested recovery file from this page https://forum.xda-developers.com/crossdevice-dev/sony/twrp-3-1-0-z5-z5c-z5p-t3571050) .
Flashing the recovery file on the phone seems successful to me, because in the Terminal this is displayed:
sh recovery recovery_v3.2.3_22.08.2018.img
target didn't report max-download-size
sending 'recovery' (17352 KB)...
OKAY [ 0.821s]
writing 'recovery'...
OKAY [ 0.180s]
finished. total time: 1.001s
I tried to boot into recovery with all 3 methods known to me: with key combination power on + volume down; via adb with adb reboot recovery and with the quick reboot app. Every time the phone is just booting into android again.
I tried to find people reporting the same problem but I was not really successful.

Related

Oneplus x not booting into recovery - soft bricked(no os); please help!!

OnePlus X (Onyx) - Soft bricked
Boots into Fastboot mode, gets detected by PC.
No OS, No Recovery.
Problem: Recovery gets flashed successfully using adb and fastboot. But when trying to boot into recovery using commands, it says FAILED (remote:dtb not found); and when trying to boot into recovery using physical buttons, then it just stays on the OnePlus boot logo till eternity.
I tried using a flash tool as well(got from XDA), but the result is same.
Here is a look from cmd:
C:\platform-tools>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.002s]
finished. total time: 0.003s
C:\platform-tools>fastboot flash recovery twrp-3.0.2-0-onyx.img
target reported max download size of 536870912 bytes
sending 'recovery' (14758 KB)...
OKAY [ 0.466s]
writing 'recovery'...
OKAY [ 0.260s]
finished. total time: 0.728s
C:\platform-tools>fastboot boot twrp-3.0.2-0-onyx.img
downloading 'boot.img'...
OKAY [ 0.465s]
booting...
FAILED (remote: dtb not found)
finished. total time: 0.505s
I tried flashing twrp 2.8.7.0(onyx) but still I got the same error. (remote:dtb not found). No matter what, but it just won't boot into recovery.
How it happened:
Long back, I unlocked my bootloader, installed twrp recovery and also achieved root access. Then I flashed CM13. It was working quite fine. But then OOS 3(Official) came out for OnePlus X, so I decided to download it and flash it too. It was working all fine. But then I realised that I lost my root access and my recovery was changed back to stock OnePlus recovery. After that I tried for 2 days to flash twrp back, but I continued to get that (remote:dtb not found) error. It was quite desperate; then I thought to lock the bootloader back and unlocking it back again. But the moment I used the command "fastboot oem unlock", my phone didn't ask me for a yes or no, so I tried restarting it. But it was too late, my phone got soft-bricked till then. I am trying to fix this since days, PLEASE SOMEONE HELP!!
Try to create a Thread in the One Plus X Section .

Oneplus x soft bricked; won't boot into recovery (no os) please help!

OnePlus X (Onyx) - Soft bricked
Boots into Fastboot mode, gets detected by PC.
No OS, No Recovery.
Problem: Recovery gets flashed successfully using adb and fastboot. But when trying to boot into recovery using commands, it says FAILED (remote:dtb not found); and when trying to boot into recovery using physical buttons, then it just stays on the OnePlus boot logo till eternity.
I tried using a flash tool as well(got from XDA), but the result is same.
Here is a look from cmd:
C:\platform-tools>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.002s]
finished. total time: 0.003s
C:\platform-tools>fastboot flash recovery twrp-3.0.2-0-onyx.img
target reported max download size of 536870912 bytes
sending 'recovery' (14758 KB)...
OKAY [ 0.466s]
writing 'recovery'...
OKAY [ 0.260s]
finished. total time: 0.728s
C:\platform-tools>fastboot boot twrp-3.0.2-0-onyx.img
downloading 'boot.img'...
OKAY [ 0.465s]
booting...
FAILED (remote: dtb not found)
finished. total time: 0.505s
I tried flashing twrp 2.8.7.0(onyx) but still I got the same error. (remote:dtb not found). No matter what, but it just won't boot into recovery.
How it happened:
Long back, I unlocked my bootloader, installed twrp recovery and also achieved root access. Then I flashed CM13. It was working quite fine. But then OOS 3(Official) came out for OnePlus X, so I decided to download it and flash it too. It was working all fine. But then I realised that I lost my root access and my recovery was changed back to stock OnePlus recovery. After that I tried for 2 days to flash twrp back, but I continued to get that (remote:dtb not found) error. It was quite desperate; then I thought to lock the bootloader back and unlocking it back again. But the moment I used the command "fastboot oem unlock", my phone didn't ask me for a yes or no, so I tried restarting it. But it was too late, my phone got soft-bricked till then. I am trying to fix this since days, PLEASE SOMEONE HELP!!

How to install a custom recovery and root?

Hi ,
I'm a noob in this and i need help ... i searched some guides on this forum , but i dont understand much from them i get stuck at one point ... That's why im asking for help.
How do i install a custom recovery on my tablet to then get root access ??
Currently what i did is got the Sony Xperia Z3 Tablet Compact Wifi IMG from TWRP , then went to the adb folder and opened command prompt using Shift + right click > Open a Command Prompt Here.
I then went to flashboot mode in my tablet ( i was holding volume up , then connected my tablet to the laptop) , a blue LED light showed up.
I typed "fastboot devices" in the command prompt , and it gave me a code so i knew the device was recognized . I then placed the TWRP img into the adb folder and renamed it "twrp" (because it was named twrp-3.0.2.0-scropion_windy.img) and typed in the command prompt "fastboot flash recovery twrp.img"
i got this in return :
target didn't report max-download-size
sending 'recovery' (12316 KB)...
OKAY [ 0.390s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.398s
no recovery tho , cant enter it i heard that you need to press a key when a purple led shows up , but there's no led and even if i try a button combination , it wont work.
Pleaseeee help me guys!!! i really want root access
btw im using the adb from the android studio file
EDIT:
I re-locked my bootloader and then UNLOCKED it again.... and now it says this :
target didn't report max-download-size
sending 'recovery' (12372 KB)...
OKAY [ 0.392s]
writing 'recovery'...
OKAY [ 0.832s]
finished. total time: 1.230s
But i still dont have the bootloader.... no led light , no button combination works :/

How to put the recovery on my redmi note 4?

Sure its maybe asked before but followed all the treads but can't come any further.
I did all what was written but it does not work.
In CMD message cannot load twrp_mido.img all is on place on my PC (Windows 10) and the files in my phone.
tried again and again, my phone is not locked and in developer USB debug is also checked.
Superuser is installed
Even tried with flashify and starting it tells You don't have ROOT/Superuser access on your device, which is strange as i have a Root unlocked.
So maybe someone has any idea what to do next?
target reported max download size of 536870912 bytes
sending 'recovery' (29604 KB)...
OKAY [ 0.667s]
writing 'recovery'...
OKAY [ 0.168s]
finished. total time: 0.842s
ok well finally I got a ok with fastboot flash recovery twrp_mido.img but rebooting will not start the TWRP recovery but the Redmi recovery.
so whats next?
fastboot boot twrp_mido.img
Sent from my Redmi Note 4 using Tapatalk
Unetwork said:
target reported max download size of 536870912 bytes
sending 'recovery' (29604 KB)...
OKAY [ 0.667s]
writing 'recovery'...
OKAY [ 0.168s]
finished. total time: 0.842s
ok well finally I got a ok with fastboot flash recovery twrp_mido.img but rebooting will not start the TWRP recovery but the Redmi recovery.
so whats next?
Click to expand...
Click to collapse
after flashing twrp recovery.(on fastboot screen) press volume up+power butten until restart and shows mi logo.when mi logo appears release power button only(hold volume+ button) you will be able to boot twrp recovery
1, flash twrp.img with your PC.
2, DON'T reboot now. Because MIUI will recover it's original recovery.img when reboot. After flashing twrp.img, try this command in cmd:
fastboot boot yourTwrpImgName
e.g. fastboot boot twrp_mido.img
or, press power key and volume up for a long time until it shows Mi logo. And then release volume up only.
3, wait a moment.
4, reboot by twrp. It will ask you if want to prevent recovering stock recovery image. Slide this block.
5, enjoy it.
Sorry for my bad English.

fastboot boot twrp.img FAILED (remote: unknown command)

Hey guys,
I have an European LG G5 H850 with an unlocked bootloader. It is my first time rooting, and after unlocking the bootloader, I wanted to boot TWRP once, but I didn't want to install it, but instead keep the stock recovery untouched. So I booted into the bootloader, entered "fastboot boot twrp.img" and I got this message:
downloading 'boot.img'...
OKAY [ 0.462s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.482s
I have absolutely no idea what I'm doing wrong. I made sure twrp.img is referring to the correct file, and I tried both the Android SDK platform tools and the 15 seconds ADB installer, but none of them worked. When I try flashing the recovery with "fastboot flash recovery twrp.img", it seems to work because this appears:
target reported max download size of 536870912 bytes
sending 'recovery' (20900 KB)...
OKAY [ 0.471s]
writing 'recovery'...
OKAY [ 0.198s]
finished. total time: 0.670s
But when I try to boot into the bootloader again, it just gives me the option to do a factory reset, nothing else. So I assume that something went wrong. I have absolutely no idea what it could be, so please help me. I also asked on reddit, but didn't get any answers so far. Any help would be greatly appreciated!
Thanks in advance!
JonSchnee777 said:
Hey guys,
I have an European LG G5 H850 with an unlocked bootloader. It is my first time rooting, and after unlocking the bootloader, I wanted to boot TWRP once, but I didn't want to install it, but instead keep the stock recovery untouched. So I booted into the bootloader, entered "fastboot boot twrp.img" and I got this message:
downloading 'boot.img'...
OKAY [ 0.462s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.482s
I have absolutely no idea what I'm doing wrong. I made sure twrp.img is referring to the correct file, and I tried both the Android SDK platform tools and the 15 seconds ADB installer, but none of them worked. When I try flashing the recovery with "fastboot flash recovery twrp.img", it seems to work because this appears:
target reported max download size of 536870912 bytes
sending 'recovery' (20900 KB)...
OKAY [ 0.471s]
writing 'recovery'...
OKAY [ 0.198s]
finished. total time: 0.670s
But when I try to boot into the bootloader again, it just gives me the option to do a factory reset, nothing else. So I assume that something went wrong. I have absolutely no idea what it could be, so please help me. I also asked on reddit, but didn't get any answers so far. Any help would be greatly appreciated!
Thanks in advance!
Click to expand...
Click to collapse
The "fastboot boot twrp.img" command didn't work for me either, but the keystroke to do a "factory reset" -- which is really a keystroke to enter recovery -- did work. Specifically, I
powered down the LG G5 completely (nothing attached to the USB-C port, or battery pull)
with the power off (preferably via battery pulled), held down the Volume Down and Power/Fingerprint buttons
As soon as the LG logo appeared, released and re-pressed the Power/Fingerprint button, all the while continuing to hold down Volume Down
Held down both while the LG logo showed, releasing them after the white screen appeared asking whether you want to do a full erase. Answer yes (Press and release Volume Down until the Yes is grey, then press Power/Fingerprint button)
It prompts you once again. Answer yes again the same way.
At this point after a few seconds, TWRP starts. It hasn't actually done an erase.
This is important: after fastboot flash recovery twrp.img, you need to pull the battery to power down, and then follow the instructions above to enter TWRP. Do not boot into system with the stock ROM after fastboot. It will replace TWRP with the stock recovery at boot time, and in that scenario, the full erase mentioned above actually does erase data and internal storage.
TWRP will on first start change the system image (once you "allow modification") so that the stock ROM stops replacing it at boot time.
If you did boot up the stock ROM after fastboot, you will need to re-enter fastboot and flash TWRP again (power down with USB-C port clear, hold down Volume Up, insert USB-C cable, fastboot flash recovery twrp.img). Then pull the battery with fastboot still running, then boot into TWRP as above.
Unfortunately most writeups aren't crystal clear about the correct sequence of steps. Most cover some steps and gloss over others.
You aren't doing anything wrong.
LG did not put the typical Fastboot commands into the bootloader.
Fastboot flash does not work either.
You need to follow the other methods available on xda to get TWRP on your device.
Edit: woops. That's only with H830. Follow the instructions in the H850 TWRP thread.
Sent from my LG-H830 using Tapatalk

Categories

Resources