[HELP] Recovery Bricked and can't reflash - OnePlus 2 Q&A, Help & Troubleshooting

Hello,
I've decided to install the Beta version of Oxygenos 3.0. Since my phone came from the OnePlus support, I've unlocked the oem, installed TWRP and flashed the Oxygen zip.
However, a day later I've spotted important touchscreen issues (I can't use the touchscreen sometimes).
To see if it is a software problem, I've decided to go to the recovery to reflash a backup. When I try to go to recovery mode, nothing Happen! (Just the oneplus logo ).
So, i've decided to reinstall TWRP by flashing it with fastboot.
"fastboot flash recovery recovery.img" -> OK
"fastboot boot recovery.img"
downloading 'boot.img' ...
OKAY [0.702s]
booting...
FAILED (remote: dtb not found)
Click to expand...
Click to collapse
I've tried to install the stock recovery but I've the same error.
PLEEEASE HELP. I've waited a week to receive my phone because it had a problem but it's broke again :crying:
Note: I can go in Android normally (but with the touchscreen problem)

http://forum.xda-developers.com/oneplus-2/general/firstaid-zip-revert-h2os-mm-beta-to-lp-t3306967 try this.

This happened to me too except I would not boot into the OS or recovery. I ended up going into fast boot and formatting the System, recovery and data partitions. Here is what I typed.
fastboot format system
fastboot format recovery
fastboot format data
I am not sure if you have to format the data but I did.
After that I flashed TWRP
fastboot flash recovery recovery.img
Then I booted into recovery and was able to restore.

AndroidBeginNinja said:
http://forum.xda-developers.com/oneplus-2/general/firstaid-zip-revert-h2os-mm-beta-to-lp-t3306967 try this.
Click to expand...
Click to collapse
Thank you,
I've done this and I had a working recovery, (bootloop if I try to boot up normaly but it's not a problem I just have to flash a rom)
Trey22200 said:
This happened to me too except I would not boot into the OS or recovery. I ended up going into fast boot and formatting the System, recovery and data partitions. Here is what I typed.
fastboot format system
fastboot format recovery
fastboot format data
I am not sure if you have to format the data but I did.
After that I flashed TWRP
fastboot flash recovery recovery.img
Then I booted into recovery and was able to restore.
Click to expand...
Click to collapse
I've tested your manipulation and it worked well too.
For those having the same problem OR want to install Oxygen OS the CLEAN WAY, read this post before: https://forums.oneplus.net/threads/installation-instructions-faqs-oxygenos-3-0-0.439108/
It is very important to read the faq before flashing and doing **** like me.

http://forum.xda-developers.com/one...overy-teamwin-recovery-project-3-0-0-t3310713 flash this first before you flash oos3

Related

Pls Help Impossible to flash a new recovery img

So guys basically, I wanted to give F2FS a shot, I downloaded the recoveries that the thread told me to, flashed either of them using the fastboot flash boot filename.img
With both of them, and even the latest official TWRP I get this:
sending 'boot' (8182 KB)... OKAY [ 1.056s]
writing 'boot'... OKAY [ 0.182s]
finished. total time: 1.238s
and on my Bootloader screen I get the message FASTBOOT STATUS OKAY
So, you'd think all went fine.
Rebooting into recovery reveals that I have the exact same recovery as before, I've tried like 10 times and the result is always the same one
Are you sure the one you flashed is different to the previous one? Which recovery do you have now and which do you want to flash?
XxM4tzexX said:
Are you sure the one you flashed is different to the previous one? Which recovery do you have now and which do you want to flash?
Click to expand...
Click to collapse
I have TWRP 2.7.0.1 and I'm trying to flash either KT recovery or the latest TWRP 2.7.1.0, I'll try flashing CWM and then change back to one of those to see if I can manage to do that
fastboot boot filename.img worked and I managed to change my filesystems, I'll try creating the zip as the recovery keeps going reverting and 2.7.0.1 isn't able to read my partitions now, I'll update with the results and so far I just booted up and everything seems to be going well.
Edit: Ok, I DL'ed an official TWRP 2.7.1.0 zip and flashed it, my recovery updated successfully, however it isn't able to read my /cache or /data partitions, next, I replaced the recovery.img with the exact same img I used to convert to F2FS (the one provided here) and again booted into the functional recovery through fastboot boot filename.img, I flashed the new zip file and everything seemed to be fine, rebooting to recovery shows that the original TWRP 2.7.1.0 wasn't replaced as I'm unable to mount the data or cache partitions.
Also worth mentioning that using the TWRP manager from the playstore to try to flash .imgs does not work either
The fastboot method listed above is to flash a kernel not recovery, if your trying to flash a new recovery you run
fastboot flash recovery nameofrecovery.img
Sent from my Nexus 4 using XDA Premium 4 mobile app
Fidelator said:
So guys basically, I wanted to give F2FS a shot, I downloaded the recoveries that the thread told me to, flashed either of them using the fastboot flash boot filename.img
Click to expand...
Click to collapse
fastboot flash recovery filename.img
uDude

[Q] Stuck at boot animation after flashing 5.1

I was using 5.0.1, with stock bootloader, stock recovery, actually stock everything except SuperSU added.
I downloaded the 5.1 image from Google, and tried flashing it:
fastboot flash bootloader bootloader-mako-makoz30f.img
fastboot reboot-bootloader
fastboot flash radio radio-mako-m9615a-cefwmazm-2.0.1701.06.img
fastboot reboot-bootloader
fastboot update image-occam-lmy47o.zip
Got some missing sig errors, and "failed to allocate xxxxxxxxx bytes" error. Thus after searching for more information I ended up unpacking image-occam-lmy47o.zip and running:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cache cache.img
Then rebooted. The result is an endless boot animation, regardless of anything I try. Tried restoring my TWRP backup, reflashing 5.1, reflashing 5.0.1, always the same. Last logcat line at boot:
E/kickstart( 233): Sahara protocol completed
Then it's just stuck there. For minutes. For tens of minutes. Looks like forever. Anyone else ever seen this problem, and happens to have a solution? (Preferably without losing my data)
Edit: After a few hours I restored the original (or so I hope) state, by wiping, then flashing 5.0.1, then restoring my backup. But now I don't dare to try flashing 5.1 again. Still would love to hear ideas from who might have seen this problem and knows a solution.
After you've flashed the factory image boot into the stock recovery and do a factory reset.
Sent from my Nexus 9 using XDA Free mobile app
IVBela said:
I was using 5.0.1, with stock bootloader, stock recovery, actually stock everything except SuperSU added.
I downloaded the 5.1 image from Google, and tried flashing it:
fastboot flash bootloader bootloader-mako-makoz30f.img
fastboot reboot-bootloader
fastboot flash radio radio-mako-m9615a-cefwmazm-2.0.1701.06.img
fastboot reboot-bootloader
fastboot update image-occam-lmy47o.zip
Got some missing sig errors, and "failed to allocate xxxxxxxxx bytes" error. Thus after searching for more information I ended up unpacking image-occam-lmy47o.zip and running:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cache cache.img
Then rebooted. The result is an endless boot animation, regardless of anything I try. Tried restoring my TWRP backup, reflashing 5.1, reflashing 5.0.1, always the same. Last logcat line at boot:
E/kickstart( 233): Sahara protocol completed
Then it's just stuck there. For minutes. For tens of minutes. Looks like forever. Anyone else ever seen this problem, and happens to have a solution? (Preferably without losing my data)
Edit: After a few hours I restored the original (or so I hope) state, by wiping, then flashing 5.0.1, then restoring my backup. But now I don't dare to try flashing 5.1 again. Still would love to hear ideas from who might have seen this problem and knows a solution.
Click to expand...
Click to collapse
You only really need to flash the following (unless there is a new bootloader and radio):
fastboot flash boot boot.img
fastboot flash recovery recovery.img (if you are running custom recovery you can skip flashing this)
fastboot flash system system.img
metpage said:
You only really need to flash the following (unless there is a new bootloader and radio):
fastboot flash boot boot.img
fastboot flash recovery recovery.img (if you are running custom recovery you can skip flashing this)
fastboot flash system system.img
Click to expand...
Click to collapse
There was a new radio, but that worked (I accidentally booted normally after flashing it). The rest is the same that I did, except the cache, guess next time I'll try doing it without flashing that one. Do I not have to wipe the cache partition either? (And no custom recovery here, I boot TWRP from my PC via fastboot.)
Edit: Who understands this.... I tried it again tonight, flashed radio, then fastboot update image-occam-lmy47o.zip worked, no error this time, no unpacking, nothing. Just a successful update this time.
Guess that wipe was needed, maybe something was already corrupted before I tried flashing the first time.
Case closed.

Flashed N, now fastboot boot twrp-3.0.0-1-angler.img hangs

Ideas on what is going on?
I have heard that maybe doing a
Code:
fastboot flash recovery "twrp 3.0.0-1".img
fastboot format userdata
fastboot reboot recovery
might work but i am just wanting to boot it and not wipe my data.
JustusIV said:
Ideas on what is going on?
I have heard that maybe doing a
Code:
fastboot flash recovery "twrp 3.0.0-1".img
fastboot format userdata
fastboot reboot recovery
might work but i am just wanting to boot it and not wipe my data.
Click to expand...
Click to collapse
It should be - fastboot flash recovery twrp-3.0.0-0-angler.img
and, fastboot reboot recovery, is not a command under fastboot.
Don't you have a TWRP backup? Why's it matter if it wipes the data?
Im on stock N.
I just want to boot twrp without flashing but it hangs. I am starting to think its a known issue and will be resolved later.
http://forum.xda-developers.com/apps/supersu/wip-android-n-preview-t3335726
But as TWRP isn't working yet on all N Preview devices either
Click to expand...
Click to collapse

Unable to flash TWRP (remote: dtb not found)

When I try to flash TWRP (via "fastboot flash recovery twrp.img" then "fastboot boot twrp.img") I receive the following error:
Downloading 'boot.img'
OKAY [1.477s]
booting...
FAILED (remote: dtb not found)
finished. total time: 1.534s
I've tried manually booting it into recovery with power button and volume down but it just freezes on the oneplus logo where I have to turn off and on again.
Any help is greatly appreciated!
I found the solution.
For anyone else with this problem
http://forum.xda-developers.com/showpost.php?p=66336492&postcount=3
that link just saved me!
I tried this recovery (I had the same problem as the OP) but although I can boot into twrp, I get stuck on the oneplus logo if I try a normal boot?
Sent from my Nexus 9 using XDA-Developers mobile app
I managed to get it working by flashing CM after flashing the recovery.
Sent from my Nexus 9 using XDA-Developers mobile app
Next time, correct command is the following:
Fastboot flash recovery twrp.img
You tried to flash the recovery image onto the kernel/boot partition, luckily it doesn't allow this, unless it's an actual kernel image fitting that partition. ?
pitrus- said:
Next time, correct command is the following:
Fastboot flash recovery twrp.img
You tried to flash the recovery image onto the kernel/boot partition, luckily it doesn't allow this, unless it's an actual kernel image fitting that partition. ?
Click to expand...
Click to collapse
Actually, fastboot boot twrp.img boots the TWRP image without flashing it.
fastboot flash recovery twrp.img flashes the TWRP image to the recovery partition.
Both are valid commands and have their uses.
fastboot flash boot twrp.img would be the command to try to flash the recovery image to the boot partition and shouldn't be used.
Spannaa said:
fastboot flash boot twrp.img would be the command to try to flash the recovery image to the boot partition and shouldn't be used.
Click to expand...
Click to collapse
That's exactly what I meant to convey.
Similar problem while flashing recovery
hi,
After OOS3.0 installation my OP2`s recovery is not working. i tried installing it again and it shows the error :
FAILED <data Transfer failure <unknown error>>
Please help
bhanuodin said:
hi,
After OOS3.0 installation my OP2`s recovery is not working. i tried installing it again and it shows the error :
FAILED <data Transfer failure <unknown error>>
Please help
Click to expand...
Click to collapse
Are you sure you flashed the correct OOS3 bootloader compatible version of TWRP? Latest official 3.0.0-2 should be compatible.
pitrus- said:
Are you sure you flashed the correct OOS3 bootloader compatible version of TWRP? Latest official 3.0.0-2 should be compatible.
Click to expand...
Click to collapse
how do i flash a bootloader? problem is that i am unable to flash/write on recovery partition. every time it gives the same error mentioned above.
bhanuodin said:
how do i flash a bootloader? problem is that i am unable to flash/write on recovery partition. every time it gives the same error mentioned above.
Click to expand...
Click to collapse
The bootloader (also called fastboot) comes with the original ROM. In your case you're already on the newer bootloader since you flashed OOS3 which means you will have to flash recoverys and ROMs compatible with this newer bootloader.
This TWRP should be compatible
https://dl.twrp.me/oneplus2/twrp-3.0.2-1-oneplus2.img.html
Also you can't run ROMs not compatible with this newer bootloader (which means pretty much any ROM that's not using the official Cyanogenmod source tree for building). That is except for OOS3 or newest HOS of course since these are made for the newer bootloader.
However I would say the error message you get might be caused by bad cable, faulty driver setup, faulty fastboot tool version or in worst case damaged partition layout on phone. The last one can be fixed by the Qualcomm OOS2 factory restore solution.
Hi, i am having the same problem.
some background: I was on Oxygen OS 2.x.x, i wanted to upgrade to Exodus 6. I had the older version of TWRP. So I tryed to install the new twrp image within twrp. When i rebooted i couldnt boot into twrp, receiving the same error message as in OP title, when using fastboot.
Using the tool all in one toolkit I was able to flash stock recovery.
But I still cant flash Twrp.
I can still boot into system though.
Any advice? Thanks.
That explains why you're having problems. You're doing it the wrong way.
First you must upgrade the bootloader by either flashing the convert to Marshmallow zip file which also installs the correct TWRP for the new bootloader (easiest way). Or you could flash the latest official OOS3, then fastboot flash the latest TWRP and from there format system and flash the ROM that's using the newer bootloader.
Does that Link work with oneplus x also? Having same problem as Higgings when trying to install twrp and cyanogenmod.
thnx a lot for sharing
:good:
Higgings said:
I found the solution.
For anyone else with this problem
http://forum.xda-developers.com/showpost.php?p=66336492&postcount=3
Click to expand...
Click to collapse

Need help asap please. Keeps booting to twrp.

I am in a twrp boot loop except when I boot through fastboot>Start. It boots to OS. If I cold boot, it boots to twrp.
I followed this guide. here
I downloaded mfastboot
Entered the cmd to clear. Still boots to trwp.
C:\Users\Admin\AppData\Local\Android\sdk1\platform-tools>mfastboot oem fb_mode_c
lear
...
OKAY [ 0.000s]
finished. total time: 0.000s
Click to expand...
Click to collapse
Ok it's bricked.
I tried to restore an image backup "working one", it stops at restoring system, shutsdown and boots back into twrp.
I am going to try this. Restoring stock 7.0 through fastboot. This sux.
https://forum.xda-developers.com/moto-x-style/general/xt1575-moto-x-pure-edition-factory-t3704142
following this guide fixed it. I freaked out.
https://forum.xda-developers.com/moto-x-style/general/xt1575-moto-x-pure-edition-factory-t3704142
Was this your first time flashing TWRP? It sounds like you flashed the image to boot and not recovery...
fastboot flash twrp.img
Will result in the issues you stated, basically a "soft brick" condition.
fastboot flash recovery twrp.img
Is the correct format for the command. Without specifying the partition to flash, fastboot assumes it needs to go to boot... And if you don't have the original boot.img file it us unrecoverable.
acejavelin said:
Was this your first time flashing TWRP? It sounds like you flashed the image to boot and not recovery...
fastboot flash twrp.img
Will result in the issues you stated, basically a "soft brick" condition.
fastboot flash recovery twrp.img
Is the correct format for the command. Without specifying the partition to flash, fastboot assumes it needs to go to boot... And if you don't have the original boot.img file it us unrecoverable.
Click to expand...
Click to collapse
Nope, not first time flashing twrp, been doing it for a few years.
The rom is bad that I installed. It makes twrp freeze as well and shutdown.
But I followed this guide https://forum.xda-developers.com/moto-x-style/general/xt1575-moto-x-pure-edition-factory-t3704142 and then reflashing latest twrp and restoring stock nougat rooted image backup I made worked.
Take a look here > https://forum.xda-developers.com/showpost.php?p=77204890&postcount=18

Resources