Can't flash TWRP [Oxygen OS & OnePlus recovery] - ONE Q&A, Help & Troubleshooting

I am on Oxygen OS (2.1.4) with OnePlus recovery and am trying to install TWRP recovery without any success.
I followed the fastboot method rather than the stupid toolkit
All the steps go through easily with success messages but every time after completion I boot into recovery, it still is OnePlus Recovery and not TWRP
Note - There's not option called "Update Cyanogen recovery" to uncheck under developer options because as I said, I'm on OnePlus Recovery
P.S - I have a Mac and followed the tutorial via terminal under the path ~/Library/Android/sdk/platform-tools

Nimsrules said:
I am on Oxygen OS (2.1.4) with OnePlus recovery and am trying to install TWRP recovery without any success.
I followed the fastboot method rather than the stupid toolkit
All the steps go through easily with success messages but every time after completion I boot into recovery, it still is OnePlus Recovery and not TWRP
Note - There's not option called "Update Cyanogen recovery" to uncheck under developer options because as I said, I'm on OnePlus Recovery
P.S - I have a Mac and followed the tutorial via terminal under the path ~/Library/Android/sdk/platform-tools
Click to expand...
Click to collapse
After it successfully flashes TWRP
Turn off the phone by long pressing button, do not fastboot reboot
Then use power button + volume up combo and it should boot to TWRP

Renosh said:
After it successfully flashes TWRP
Turn off the phone by long pressing button, do not fastboot reboot
Then use power button + volume up combo and it should boot to TWRP
Click to expand...
Click to collapse
I think you missed the entire premise. I'm not able to flash TWRP over the OnePlus Recovery in the first place let alone boot into it.

Nimsrules said:
I think you missed the entire premise. I'm not able to flash TWRP over the OnePlus Recovery in the first place let alone boot into it.
Click to expand...
Click to collapse
He was correct. Try that.

drmuruga said:
He was correct. Try that.
Click to expand...
Click to collapse
I'm afraid he wasn't. However, instead of keep trying to install TWRP, I simply booted into its image via
Code:
./fastboot boot recovery.img
and flashed Paranoid Android.

Nimsrules said:
I'm afraid he wasn't. However, instead of keep trying to install TWRP, I simply booted into its image via and flashed Paranoid Android.
Click to expand...
Click to collapse
You claimed all the steps went through successfully which can only mean you fastboot flashed TWRP (fastboot flash recovery recovery.img) and it showed success but if you reboot to recovery its still Oxygen recovery.
Your wording was misleading. My advise only applies if the flash was successful.

Do not reboot after flashing twrp, you have to shutdown, off the phone after flashing twrp...If you reboot, stock recovery will overwrite twrp..All you have to do is very simple, fastboot twrp, off the phone, enter twrp ( power + volume down) and done!...twrp will forever be your recovery..
Sent from my A0001 using Tapatalk

Did it worked?
Nimsrules said:
I'm afraid he wasn't. However, instead of keep trying to install TWRP, I simply booted into its image via
Code:
./fastboot boot recovery.img
and flashed Paranoid Android.
Click to expand...
Click to collapse
Did it worked? I'm in the same situation.
I own a Oneplus one with OxygenOs and I'm trying to change it to lineage but the new flashed TWRP is not showing up when entering at recovery mode.
Where did you enter the code? In your abd path by terminal or at the phone's path by x?

It works!
Renosh said:
After it successfully flashes TWRP
Turn off the phone by long pressing button, do not fastboot reboot
Then use power button + volume up combo and it should boot to TWRP
Click to expand...
Click to collapse
It works for me using volume down+power button. Thank you!

Related

[Q] Getting back recovery and root after OTA to CM12s

Hello,
I have recived the OTA today and I flashed it and now I dont have a custom recovery and root. What steps do I need to take to get those things back? I have tried to use this guide https://forums.oneplus.net/threads/...oader-install-custom-recovery-and-root.64487/ but after flashing recovery.img through ADB I still have normal CM recovery.
Go to Developer Options in Settings and disable the "update CM recovery" option.
Transmitted via Bacon
It has been disabled the whole time
Ok. So you say you're flashing the recovery through adb but that's impossible so I'm assuming you're flashing with fastboot, right?
Transmitted via Bacon
I'm not really good in those names.. I have isnerted a screenshot from this program.
xamilek555 said:
I'm not really good in those names.. [emoji14] I have isnerted a screenshot from this program.
Click to expand...
Click to collapse
Looks ok. Where are you getting the recovery from? Did you rename it to "recovery.img" for a reason?
Transmitted via Bacon
I've got that file from TWRP website and I renamed it to recovery.img. I have succesfully booted into this recovery with a command "fastboot boot recovery.img" which allowed me to flash root and xposed form it but after rebooting the phone the old recovery remains...
I have the same problem. Flash TWRP says it's flashed OK, but when I reboot to recovery it's still stock.
Linnyuk said:
I have the same problem. Flash TWRP says it's flashed OK, but when I reboot to recovery it's still stock.
Click to expand...
Click to collapse
Try updating the Android SDK. That's what worked for me. ?
Sent from my A0001 using Xparent BlueTapatalk 2
I've downloaded fresh verison today so it isnt the solution in my case :/
Somebody gave me this solution and it worked!
fastboot erase recovery
fastboot reboot-bootloader
fastboot flash recovery recovery.img
xamilek555 said:
I've downloaded fresh verison today so it isnt the solution in my case :/
Somebody gave me this solution and it worked!
fastboot erase recovery
fastboot reboot-bootloader
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Same situation here...this solution isn't working for me, same problem, always Cyanogen based recovery...
After flashing new recovery, when you go to reboot, hold down Vol-Down and Power before it boots into the OS and it should load the new recovery. Had this problem myself earlier today, if you let it boot to the OS, it flashes back the CM recovery.
mozyman said:
After flashing new recovery, when you go to reboot, hold down Vol-Down and Power before it boots into the OS and it should load the new recovery. Had this problem myself earlier today, if you let it boot to the OS, it flashes back the CM recovery.
Click to expand...
Click to collapse
It works! I think it because of the dev settings into CM12S which force the recovery to be CM12S' one.
Thanks
Messatsu said:
It works! I think it because of the dev settings into CM12S which force the recovery to be CM12S' one.
Thanks
Click to expand...
Click to collapse
I'm having the same problem, can someone go over start to finish how they fixed this issue?
What worked for me
I previously had TWRP installed, wiped and did the C12S flash but didn't flash SuperSu before rebooting. This removed TWRP and brought me to Cynogen Recovery whenever going into recovery mode (Vol Dwn + Power). This also removed the root from my phone. To fix this took some digging and I came up with the following solutions as long as you had TWRP installed at one point. If not then unlock your boot loader and re install. I named my TWRP File Recovery just to keep things simple, but whatever your TWRP Filename is put that in at #5.
1) Enter Fastboot Mode (Vol Up + Power)
2) On your computer open command prompt (Ctrl R)
3) Plug your phone in
4) Type the following minus the quotes
"cd desktop/android-sdk-windows/platform-tools"
5) fastboot boot recovery.img
This will boot your TWRP, you can then go to flash your SuperSu file and you're done!
im having this issue too : /
mozyman said:
After flashing new recovery, when you go to reboot, hold down Vol-Down and Power before it boots into the OS and it should load the new recovery. Had this problem myself earlier today, if you let it boot to the OS, it flashes back the CM recovery.
Click to expand...
Click to collapse
I've tried so many things today, this is the only thing that worked. Thank You!
mozyman said:
After flashing new recovery, when you go to reboot, hold down Vol-Down and Power before it boots into the OS and it should load the new recovery. Had this problem myself earlier today, if you let it boot to the OS, it flashes back the CM recovery.
Click to expand...
Click to collapse
It works! I had the issue and this procedure solved it ! Thanks !!! :good::good::good:
Hi all,
I have just installed CM12s on my OPO and it was meant to install TWRP but each time i go into recovery to install SuperSU its still CM Recovery
1) Enter Fastboot Mode (Vol Up + Power)
2) On your computer open command prompt (Ctrl R)
3) Plug your phone in
4) Type the following minus the quotes
"cd desktop/android-sdk-windows/platform-tools"
5) fastboot boot recovery.img
Click to expand...
Click to collapse
I have done that and yey TWRP appeared and i Installed SuperUser but when i clicked on the app it said there was an issue with the binary, so i thought i would reboot into recovery and install it again...but CM recovery appeared again
Originally Posted by mozyman
After flashing new recovery, when you go to reboot, hold down Vol-Down and Power before it boots into the OS and it should load the new recovery. Had this problem myself earlier today, if you let it boot to the OS, it flashes back the CM recovery.
Click to expand...
Click to collapse
I thought i would give that a try but nothing seems to happen, the screen just goes black. Im reboting my OPO and when the white OPO logo appears im holding the buttons down....is this too soon or too late?
Originally Posted by xamilek555
I've downloaded fresh verison today so it isnt the solution in my case :/
Somebody gave me this solution and it worked!
fastboot erase recovery
fastboot reboot-bootloader
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
I have even attempted to do that but it doesnt seem to work....
Can someone help me out here....
After flashing new recovery, when you go to reboot, hold down Vol-Down and Power before it boots into the OS and it should load the new recovery. Had this problem myself earlier today, if you let it boot to the OS, it flashes back the CM recovery.
Click to expand...
Click to collapse
it works thank you...!!

How to Flash Custom Recovery ?

can some one tell me how to root and how to Flash Custom Recovery ? STep by Step would be great.
I'm also looking for a step by step guide.
ps2lover said:
can some one tell me how to root and how to Flash Custom Recovery ? STep by Step would be great.
Click to expand...
Click to collapse
ohmigother said:
I'm also looking for a step by step guide.
Click to expand...
Click to collapse
For step by step, you guys can check this site.
beritahuaja.blogspot.my/2015/10/how-to-root-xiaomi-mi4c.html?en
For latest TWRP recovery, check here to choose the correct recovery and download
en.miui.com/thread-169401-1-1.html
Note: after download, replace your latest TWRP .img to overwrite the recovery.img
Flashed TWRP 2.8.7.0 and then flashed super su 2.46. Successfully rooted. Works like a charm.
Sent using xda premium
I keep failing to installl the recovery.
I do all the fastboot stuff then boot to recovery and it's always mi recovery not twrp
https://imgur.com/S2hsDgC
what now?
w1ll1m said:
I keep failing to installl the recovery.
I do all the fastboot stuff then boot to recovery and it's always mi recovery not twrp
https://imgur.com/S2hsDgC
what now?
Click to expand...
Click to collapse
Try another way here, for entering twrp.
After you flashed the recovery successfully. Do not type the command of "fastboot reboot".
On your phone, press and hold the POWER and UP VOLUME buttons together until you enter the TWRP recovery. (It will power off and boot up recovery)
Note: Do not let it boot to normal system startup. This this case, you need to reflash the recovery via fastboot and follow the steps above again.
After you have root the phone successfully, you can enter the TWRP recovery without flashing via fastboot already.
Hope above help you.
keatbo said:
Try another way here, for entering twrp.
After you flashed the recovery successfully. Do not type the command of "fastboot reboot".
On your phone, press and hold the POWER and UP VOLUME buttons together until you enter the TWRP recovery. (It will power off and boot up recovery)
Note: Do not let it boot to normal system startup. This this case, you need to reflash the recovery via fastboot and follow the steps above again.
After you have root the phone successfully, you can enter the TWRP recovery without flashing via fastboot already.
Hope above help you.
Click to expand...
Click to collapse
Thanks, I will gice it a try.
Need to charge laptop battery first
Edit
What you said works, however there is a problem.
The touchscreen doesn't recognise any touches.
Edit
It's working now. That was weird
w1ll1m said:
Thanks, I will gice it a try.
Need to charge laptop battery first
Edit
What you said works, however there is a problem.
The touchscreen doesn't recognise any touches.
Edit
It's working now. That was weird
Click to expand...
Click to collapse
If the touches screen doesn't work, It might be the TWRP recovery issue. You can try flash other version to solve the problem.
Anyway, great to know everything works for you now.
I've this issue.
TWRP is installed but:
- if I boot via [power]+[vol+] I enter in old stock recovery
- if I boot via fastboot using command "fastboot boot recovery.img", TWRP is loaded correctly
You said:
keatbo said:
Try another way here, for entering twrp.
After you flashed the recovery successfully. Do not type the command of "fastboot reboot".
Click to expand...
Click to collapse
Ok this point
keatbo said:
On your phone, press and hold the POWER and UP VOLUME buttons together until you enter the TWRP recovery. (It will power off and boot up recovery)
Click to expand...
Click to collapse
--> you mean I have to do this while phone is still in fastboot mode?
---------- Post added at 10:15 AM ---------- Previous post was at 10:03 AM ----------
keatbo said:
If the touches screen doesn't work, It might be the TWRP recovery issue. You can try flash other version to solve the problem.
Click to expand...
Click to collapse
on my mi4c, when I boot TWRP 2.8.7.1, touchscreen NEVER works at first time.
But if I wait 2-3 minutes, leaving phone running TWRP, after this touchscreen start working
_PeTiT_ said:
--> you mean I have to do this while phone is still in fastboot mode?
Click to expand...
Click to collapse
Yes do it while in fastboot mode.
on my mi4c, when I boot TWRP 2.8.7.1, touchscreen NEVER works at first time.
But if I wait 2-3 minutes, leaving phone running TWRP, after this touchscreen start working
Click to expand...
Click to collapse
Yes very first time after I flashed and entered the TWRP recovery successfully, I need to wait for few minutes and the touchscreen only start working.
Then I have flashed a few other versions of TWRP, I have forgotten which one I have flashed already, my TWRP recovery works immediately without any touchscreen issue.
Is twrp available from flashify?
https://play.google.com/store/apps/details?id=com.cgollner.flashify
I just created a guide here: http://forum.xda-developers.com/mi-4c/development/flash-twrp-using-flashify-app-pc-dev-rom-t3230355

Need Help. Nexus 5 says google when trying to turn on

I was trying to get the latest twrp '2.8.7.2'. I downloaded it and flashed the img to recovery and nothing seemed to happen so I tried flashing it to boot then I tried to reboot the system. Now when I try to turn it on I get stuck on the Google like it is turning but it just gets stuck. I tried Charging it now when I charge it I get stuck on the battery logo. When I try booting it Booting it into recovery(twrp) I get a black screen. I can tell the Screen is on because of the dim glow it gives off but it is not doing anything. Note: I am some what of a noob when it comes to this stuff, My nexus 5 was running Marshmallow, and I was running the Xtra smooth rom (it is very close to stock). Plz help. I have also just found out that the reason im getting the bootloop is I flashed the wrong version of TWRP need a fix PLZ HELP.
Did you try flashing stock recovery or twrp 2.8.7.1?
audit13 said:
Did you try flashing stock recovery or twrp 2.8.7.1?
Click to expand...
Click to collapse
I cant flash anything because it is stuck. If you can tell me how to do that it would be great. also I gave you the thanks thing.
Judah04 said:
I cant flash anything because it is stuck. If you can tell me how to do that it would be great. also I gave you the thanks thing.
Click to expand...
Click to collapse
All you have to do is boot into your bootloader (Power + Volume Up + Volume Down at the same time) and flash the stock recovery.
fastboot flash recovery recovery.img
Chances are you flashed an incorrect version of TWRP meant for another phone hence the boot loop.
asawoszc said:
All you have to do is boot into your bootloader (Power + Volume Up + Volume Down at the same time) and flash the stock recovery.
fastboot flash recovery recovery.img
Chances are you flashed an incorrect version of TWRP meant for another phone hence the boot loop.
Click to expand...
Click to collapse
When i boot into recovery mode the screen is on but it is black.
asawoszc said:
All you have to do is boot into your bootloader (Power + Volume Up + Volume Down at the same time) and flash the stock recovery.
fastboot flash recovery recovery.img
Chances are you flashed an incorrect version of TWRP meant for another phone hence the boot loop.
Click to expand...
Click to collapse
Also yes i do think I flashed the wrong TWRP. how do I flash the correct TWRP when I can't even get back into a tool to flash it?
Judah04 said:
When i boot into recovery mode the screen is on but it is black.
Click to expand...
Click to collapse
You dont need recovery, you need bootloader.
telep said:
You dont need recovery, you need bootloader.
Click to expand...
Click to collapse
Can you please explain to me exactly what to do. thank you. also my bootloader is unlocked. I also can get to fastboot so what is the diffrence between bootloader and fastboot.
Hold down the volume +, volume -, and power button. You'll be taken to a screen with the word START at the top. Now, connect the phone to your Windows computer using the USB cable, open a command prompt and type "fastboot flash recovery nameof twrpfile.img", press the enter key, use the volume button to select recovery, use the power button to enter recovery, press the power button, press volume + button, and you should enter TWRP.
Thank you but I do not own a windows computer
Then look up the respective commands. You flashed twrp over your kernel, you need to flash a proper boot.img (kernel) if you want the phone to boot. Fastboot is ran through bootloader. Flash the proper kernel in bootloader using fastboot.
wangdaning said:
Then look up the respective commands. You flashed twrp over your kernel, you need to flash a proper boot.img (kernel) if you want the phone to boot. Fastboot is ran through bootloader. Flash the proper kernel in bootloader using fastboot.
Click to expand...
Click to collapse
Thank you this sounds like it will work. But can you put it in more simple terms and give me links? plz. thx in advance.
Do you have access to a Windows computer to flash the commands? How did you flash TWRP?
audit13 said:
Do you have a computer?
Click to expand...
Click to collapse
I have a macbok air running mac os x 10.5.8.
audit13 said:
Do you have access to a Windows computer to flash the commands? How did you flash TWRP?
Click to expand...
Click to collapse
I flashed TWRP using the TWRP app it installed TWRP 2.8.7.1 I also unlocked the bootloader with a similar app.
This might help: http://forum.xda-developers.com/goo...olkit-root-twrp-recovery-unroot-11-6-t2515640
audit13 said:
This might help: http://forum.xda-developers.com/goo...olkit-root-twrp-recovery-unroot-11-6-t2515640
Click to expand...
Click to collapse
Just cheked it out I tried it and it didn't work but thx anyway. btw I am running android 6.0.
audit13 said:
This might help: http://forum.xda-developers.com/goo...olkit-root-twrp-recovery-unroot-11-6-t2515640
Click to expand...
Click to collapse
It might not have been working because I did not enable USB Debuging. :crying:
USB debugging is required for adb commands. With fastboot mode, debugging isn't necessary.
audit13 said:
USB debugging is required for adb commands. With fastboot mode, debugging isn't necessary.
Click to expand...
Click to collapse
Can you please walk me through this i am some what of a beginner when it comes to some of these things. I can try the tool kits agin but need help.

Stuck in boot

Hi! My Oneplus One is stuck in boot (the oneplus logo).
I can get into fastboot but not recovery. I have followed some softbrick guides and the problem that I have is that even after flashing twrp as recovery I cant get into recovery. when I try to start it to recovery (volume up + power) I only get to the oneplus logo again. and when I use "fastboot boot twrp.img" the backlight comes on but the fastboot image stays, fastboot doesnt recognize it from this point so i have to restart it into fastboot mode again.
i have tried to flash the factory images, but nothing seems to change.
I dont know what to do, pls help..
After flashing recovery from fastboot, do NOT issue the reboot command. Press and hold the power button till phone powers off. If you issue the reboot command from fastboot, custom recovery will be lost. Also, don't know which twrp version you are trying to flash, but I would suggest flashing 2.8.6.0 first, then after you know you can get into recovery, you can flash another version.
Additionally, to boot to recovery you have to hold
volume down + power
volume up + power brings you to fastboot
Last but not least,
fastboot boot twrp.img
does not boot the recovery which is on your device, but the recovery image which is located inside your fastboot folder on your pc.
kenboyles72 said:
After flashing recovery from fastboot, do NOT issue the reboot command. Press and hold the power button till phone powers off. If you issue the reboot command from fastboot, custom recovery will be lost. Also, don't know which twrp version you are trying to flash, but I would suggest flashing 2.8.6.0 first, then after you know you can get into recovery, you can flash another version.
Click to expand...
Click to collapse
Ok, I did not know that the reboot command removes the custom recovery. Im almost certain that i've tried just powering down and trying recovery before too tho.
I was trying to flash twrp 3.0.0.0 so i'll try 2.8.6.0 asap
AcmE85 said:
Additionally, to boot to recovery you have to hold
volume down + power
volume up + power brings you to fastboot
Last but not least,
fastboot boot twrp.img
does not boot the recovery which is on your device, but the recovery image which is located inside your fastboot folder on your pc.
Click to expand...
Click to collapse
oops, i ofcourse ment that i try to get to recovery by volume down+power, and i know fastboot boot twrp.img boots from the .img on the computer, i just think its peculiar that nothing happens.
nothing has really happend after this, so i still need help.
summary: bump
I don't really get what you say. Perhaps i don't experiences before. @kenboyles72 is correct, official ROM may delete custom recovery (you can change the setting). Then @AcmE85 gives you an option, but it does not work.
Here is my option:
1. download any custom rom. The best idea is as minimum MB as possible. (Flash ROM directly from your PC)
2. flash your recovery, do NOT reboot. (fastboot flash recovery rec.img)
3. flash your ROM. (fastboot flash zip rom.zip)
Let's see if this would help you.
I had some issues a while back, where I was caught in a bootloop and flashing another rom. So I followed this guide, https://www.reddit.com/r/oneplus/comments/31sf0x/guide_how_to_return_from_oxygenos_to_stock_cm11s . You can skip flashing the userdata.img to keep all data on sdcard. Also you can substitute flashing twrp recovery img for stock recovery. I myself went ahead and flashed all stock just to make sure everything booted correctly, then went into dev options and disabled update cm recovery, booted back to fastboot and flashed twrp 2.8.6.0. Evey thing worked like a charm.
Flasing stock rom did not affect anything noticeably.. phone is still stuck in boot/fastboot
Just to confirm, have you tried either/both of these:
http://forum.xda-developers.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541
http://forum.xda-developers.com/oneplus-one/general/guide-unbrick-oneplus-one-t3013732
I have followed the return to stock guide, but not the unbrick, since my phone is softbricked, not hardbricked.
I have followed this guide tho, to no avail https://m.reddit.com/r/oneplus/wiki/devices/one/brickguide
the strange thing is that i didnt cause this. The phone started randomly overheating and one time it just never booted up.

Twrp red exclamation

Tried installing​ twrp but everytime I reboot the red exclamation keeps popping if I choose recover as I fail to install the latest twrp. Any fix? Thank you. Currently on stock MM and not rooted.
Try it in this order:
1. fastboot flash recovery twrpfilename.img
2. fastboot boot twrpfilename.img
berbat0v said:
Try it in this order:
1. fastboot flash recovery twrpfilename.img
2. fastboot boot twrpfilename.img
Click to expand...
Click to collapse
Still the same. Already tried that on latest twrp.
Can you take a photo of it and post here?
aciupapa said:
Can you take a photo of it and post here?
Click to expand...
Click to collapse
I'll post it tomorrow. Still wonder why can't i install the recovery. Can't wait to flash nougat ROMS right now. Nexus is so complicated compared to my previous LG G2.
Every time I reboot to system I still can't go to recovery as the exclamation persists when I press recovery on fastboot mode. What could be missing?
Hiyaslalabs said:
Every time I reboot to system I still can't go to recovery as the exclamation persists when I press recovery on fastboot mode. What could be missing?
Click to expand...
Click to collapse
On the exclamation screen if you press and hold the power button and then press the volume up button you will go into stock recovery. If you want TWRP, I say restart from scratch. Its never failed me. Update to the latest bootloader by flashing the latest factory image(M4B30Z) with instructions found here: https://developers.google.com/android/images#hammerhead
Keep the bootloader unlocked then flash the latest twrp and see the result.
Device is already in latest stock marshmallow. Still the same.
berbat0v said:
Try it in this order:
1. fastboot flash recovery twrpfilename.img
2. fastboot boot twrpfilename.img
Click to expand...
Click to collapse
This helped me, thanks very much.
Rebooting with adb reboot recovery or fastboot reboot-recovery did not work and resulted in the red exclamation mark android.
Android version for my bullhead device is Oreo
Edit: The red exclamation is just stock recovery btw. You can still enter recovery mode with Power Button + Tap Volume Up.

Categories

Resources