How to boot into TWRP from a bootloop Nokia 6.1 Plus - Nokia 6.1 Plus (X6) Guides, News, & Discussion

I was installing a new custom ROM on my X6 and I forgot to change the slot after installing it. I proceeded to rebooting and my device was stuck in a bootloop. I struggled to power off the device but I couldn't. So after hours of trying to get into the bootloader, I found a solution.
You will need your USB cable, a `trwp.img` and a machine with `adb` and `fastboot`.
Connect the phone to the machine and execute the command below before the phone boots for the next round.
```
$ fastboot boot twrp-boot.img
```
You should get something like this:
```
< waiting for any device >
downloading 'boot.img'...
OKAY [ 1.444s]
booting...
OKAY [ 5.148s]
finished. total time: 6.592s
```
Fastboot will attach itself to the device before reaching the AndroidOne logo and boot the TWRP image.
That's it.

Related

[Q] Xperia Go: backup with broken screen.

Hi,
I broke the screen of my Xperia Go completely. My problem is that I have some very important pictures on my phone, which I would like to back up.
Unfortunately I did not activate usb-debugging before, so pulling the files with adb will not work.
I managed to unlock the bootloader over command-line and booting the phone into fastboot mode.
I read somewhere that you can boot a recovery image(with adb enabled) in fastboot mode and connect to your device this way.
Unfortunately this did not work out for me. After I load clockworkmod recovery into the bootloader I'm not able to connect via adb.
The output is:
Code:
./fastboot boot ~/Downloads/recovery-clockwork-6.0.4.5-u8951-R3.img
downloading 'boot.img'...
(bootloader) USB download speed was 17900kB/s
OKAY [ 0.467s]
booting...
(bootloader) Download buffer format: boot IMG
OKAY [ 0.022s]
finished. total time: 0.489s
After this
Code:
./adb devices
returns an empty list. I also tried
Code:
./fastboot reboot
and
Code:
./fastboot reboot-bootloader
after that, but both commands get stuck.
Any ideas what I am doing wrong?
are you positive that the screen doesnt work at all? you could try to navigate the menus "blind" and enable debugging?

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!!

[Root] Is my phone bricked ?

Hi all,
First of all, sorry for my english...
I've got a problem to root a phone.
I followed this guide :
https://forum.xda-developers.com/android/development/root-ulefone-armor-2-easy-rooting-t3780055
But I just realized, it's for ulefone Armor 2, while I try to root a Armor 2S..
I followed instructions, but I've got a problem on the point 2.
Code:
C:\Users\greg\Downloads\root\platform-tools>fastboot.exe flashing unlock
(bootloader) Start unlock flow
OKAY [ 5.301s]
Finished. Total time: 5.305s
C:\Users\greg\Downloads\root\platform-tools>fastboot.exe flash recovery recovery.img
Sending 'recovery' (15218 KB) OKAY [ 0.405s]
Writing 'recovery' OKAY [ 0.356s]
Finished. Total time: 0.777s
C:\Users\greg\Downloads\root\platform-tools>fastboot boot recovery.img
Downloading 'boot.img' OKAY [ 0.392s]
booting FAILED (remote: 'invalid ramdisk address: overlap with the download image')
Finished. Total time: 0.417s
After few test, who doesn't work at all, I've decide to reboot my phone.
Now, It's stuck on the main screen with this text :
Code:
Orange State
Your device has been unlocked and can't be trusted
Your device will boot in 5 seconds.
And after 5 seconds, the screen go black for one second and return to the message.
And I can't go to recovery mode anymore. Volume+ and Power button don't do anythong but show this "Orange state" screen.
Please tell me there is a solution to unbrick this phone..
Thanks in advance
Try to relock again bootloader with command : fastboot oem lock maybe it can fix that issue but do at your own risk !!!
Thank you for your answer, but the phone is not recognized by the computer at this point.
I can not send command from the PC (adb or fastboot)
Try some key combination keys like :
hold Vol + and plug usb
hold Vol - and plug usb
hold Vol + ; Vol - and plug usb
If that doesn't work , let your battery to be completely empty 0% and repeat process . Good luck

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