yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 General] n0r!S:
Stuck to install TWRP

Hi guys. I followed the guide instructions everything went well.

I perfectly unlocked the phone

Then i used the command

fastboot flash recovery TWRP.img

the prompt showed "okey"

then i unplugged the phone and pressed POWER + VOL DOWN

And my phone stay locked to the OnePlus Logo...

Any idea?
[OnePlus 2 General] Spannaa:
You didn't say what rom version you were on but, if it's OOS 3.0.2, the official versions of TWRP don't work as they're not compatible with the new bootloader.

Grarak's TWRP Recovery with USB OTG support works though.

Since you can't access your current recovery, you'll need to install it via fastboot using the command: fastboot flash recovery Grarak_recovery.img and then boot directly into it using the button combo.
[OnePlus 2 General] n0r!S:
Yup it's working fine now. Thanks

Is superSU compatible with OOS 3.0.2?
[OnePlus 2 General] Spannaa:
These two slightly modified versions are:

Modified SuperSU v2.74 TWRP flashable zip

Modified SuperSU v2.67 TWRP flashable zip
[OnePlus 2 General] adity:
I installed a custom version of twrp. It is available in the index thread in general section. Works fine
[OnePlus 2 General] Ashish3640:
Thanks for the links:)

2.74 worked for me:D
[OnePlus 2 General] hitulg:
I'm using OnePlus Two running stock OOS 3.0.1 rooted with TWRP installed. I want to update to OOS 3.0.2. I want to run my OP2, 3.0.2 rooted and TWRP installed. What is the procedure to do it? I'm little confused about flashing which zip, please help me asap. Last time I tried, I faced a bootloop.﻿
[OnePlus 2 General] elandroido:
Lol "asap"
[OnePlus 2 General] ashish7620:
i have op2 running on oxygen 3.0.1 i am unable to root the phone through twrp .whenever i try to flash superSu from twrp it goes in bootloop..cn ny1 help
[OnePlus 2 General] Imtigr:
guys need help.

i have mistakenly erased my OS from TWRP. is there any way i can send through a rom to my phone memory? ADB sideload option doesnot work for me, I have downloaded a tool called windroid toolkit to transfer files but it keeps asking me enable "USB debugging" which is cannot as i do not have access or my phone boot up. on TWRP sideload it says "No devices/emulators found.

Can someone help or guide me on how to send a rom to my phone memory?

Thanks in advance
[OnePlus 2 General] Spannaa:
Use fastboot.

You can find fastboot zips in post #2 of this thread
[OnePlus 2 General] Imtigr:
hi,

which one should i download? signed flashable zips? or OTA incremental updates?

What should i type?

please help?
[OnePlus 2 General] elandroido:
Read post #2 in the mentioned thread. The Zips there contain a batch script which just hast to be executed.
[OnePlus 2 General] Imtigr:
downloaded and used the scripts after installing the files it restarts but then again it hangs in the logo screen

I have noticed that it shows an error "cannot load system.img" and all other completes, the phone restarts but hangs again??
[OnePlus 2 General] elandroido:
Please execute as administrator there command "fastboot devices" while your device is in fastboot mode and check if it is shown as device...

You need to install fastboot for this of course...
[OnePlus 2 General] BAPEstaSWE:
I got all the way to the point of installing SuperSU and rebooting, now stuck in a boot loop. :\ Where do I go from here?
[OnePlus 2 General] scoobyjenkins:
Can you get back to TWRP? Did you make a backup first? I've heard the latest version does that with OOS and I had lockscreen issues with my current rom with that version. V2.52 should be OK, v2.68 is OK here but don't know about OOS. If you didn't back up but have a flashable OOS, try wipe system and caches and flash that then an older SuperSU.

*Edit* I posted before realising this is OP2 and I have OP3 but the same may still apply!

Tapatalked that shiznit.
[OnePlus 2 General] Spannaa:
The guide needs updating for OOS3 as the official SuperSU zip only works if you force a systemless installation.

I've modified the original zips to do this and added links at the bottom of this thread.
[OnePlus 2 General] BAPEstaSWE:
I followed OnePlus official root guide on Youtube. I did not make a Nandroid backup since the guide included a step of doing a adb backup in the command prompt, however, I do not know where to find and restore this backup. I used SuperSU v2.46.

I don't really know how to get a ROM on the device now. My PC recognizes that the device is connected, but I cannot transfer files to it.

EDIT: I managed to flash OOS3 on the phone again, tried to install a newer version of SuperSU(v2.76) but I got stuck in a boot loop again. Not really sure why it's getting stuck in a boot loop.
[OnePlus 2 General] knpk13:
[MENTION=2948558]Spannaa[/MENTION] gave you the correct answer. Clean flash OOS then flash this SuperSU zip instead of the one you have.

This zip forces systemless root.

https://www.androidfilehost.com/?fid=24591000424944601&#39

For custom Roms you can use the normal SuperSU zip.
[OnePlus 2 General] spicediablo:
I am on oos 2.1 and I tried to flash the latest recovery 3.0.2-2 but after flashing it just stuck at the oneplus icon when i use the power+volume down combo. Did I do anything wrong? I have enabled USB debugging and have unlocked my device...
[OnePlus 2 General] Spannaa:
TWRP 3.0.2-2 isn't compatible with the old bootloader, use v3.0.2-0
[OnePlus 2 General] spicediablo:
ic. Just got my replacement phone and it is only oos2.1, so thinking what is the fastest way to update to cm13 nightlies... I have to upgrade to oos3.x.x first right?
[OnePlus 2 General] elandroido:
Right
[OnePlus 2 General] zsk.khan:
i am on oxygen 3.0.2 version today i was trying to root my device by OnePlus 2 tool kit but i could only succeeded in unlocking bootloader twrp is not flashing please help me
[OnePlus 2 General] fonfox:
After flash twrp do Boot direkt in twrp. not in stock Rom else this will overwrite the recovery to stock.
[OnePlus 2 General] zsk.khan:
is there any possibility to flash twrp in unlock bootloader without PC?
[OnePlus 2 General] elandroido:
you can try this https://play.google.com/store/apps/details?id=com.cgollner.flashify

never tried it myself though
[OnePlus 2 General] zsk.khan:
but it also needs root permission without root i cant use this..
[OnePlus 2 General] elandroido:
without root I think you definitely need a pc in order to flash recovery...
[OnePlus 2 General] zsk.khan:
okay onething more why it not flashing by OnePlus 2 tool kit ? there was written that if there is okay then congratulations you have flashed recovery but when i tried first then i got stuck at boot
[OnePlus 2 General] elandroido:
no idea about op2 toolkit...

but I would just flash my recovery with fastboot, is the easiest and most reliable way....
[OnePlus 2 General] zsk.khan:
okay i will try this thread trick tomorrow....
[OnePlus 2 General] neowolfx:
OxygenOS based on Android Lollipop 5.1.1 with Qualcomm Snapdragon 810 (64 bit with 1.8GHz Octa-core SoC) featuring 4G LTE, Adreno 430 GPU; 4GB LPDDR4 RAM; 64GB eMMC5 storage

The oxigenos change how to root the device??
[OnePlus 2 General] neowolfx:
Hi I have Original MM on my oneplus2.

I try :

You can test adb by connecting your device to your PC while booted into Android (making sure that adb/usb debugging is enabled in Settings>Developer Options) with the screen unlocked and issuing this command:

But I dont see my device and I install the universal usb.

This step: (making sure that adb/usb debugging is enabled in Settings>Developer Options)

On settings I dont see the developermode.

Anyone can help me?
[OnePlus 2 General] Spannaa:
Do you mean you don't have developer options in settings?

If so, open settings > about phone and tap "build number" seven times.
[OnePlus 2 General] neowolfx:
Thanks this it!! We need add this to the instructions!!
[OnePlus 2 General] Spannaa:
Or you could just Google it - it's common knowledge and the method has been the same for a very long time now...
[OnePlus 2 General] amitgudwill:
Why can't i install OTA updates after unlocking the bootloader of my OP2?
[OnePlus 2 General] Spannaa:
You should be able to, as long as you haven't rooted or modified any system files.
[OnePlus 2 General] amitgudwill:
I have just unlocked the bootloader and installed twrp. I rooted it with superSU and currently using boefella kernel.

Now please tell me what should i do to istall the ota update.
[OnePlus 2 General] Spannaa:
You can't flash OTA update zips on a rooted phone so you'll need to flash the full, signed flashable zip followed by the SuperSu & Boeffla kernel zips.
[OnePlus 2 General] amitgudwill:
Ok thanks!

I wasn't having enough data to download the full signed flash and the speed was also too low here in my region.

So i came up with an idea i would like to share with you all. What i did is i just downloaded the 29 mb 3.1.0 ota zip, restored the Boot (kernel) and system (rom) partitions which i had backed up earlier using twrp (it returned me to stock and also worked as i was flashing full signed rom zip) and immediately after that flashed the 3.1.0 ota zip. Wiped catche/dalvik and Voila! I'm on 3.1.0 now.

Thanks!
[OnePlus 2 General] Spannaa:
Yep, if you have a nandroid of fully stock, OOS 3.0.2, restoring it and then flashing the OOS 3.1.0 OTA update zip will work.
[OnePlus 2 General] Naane Raja:
Bootloader Unlocked! unable to install TWRP! Need Help

Im currently on 2.2.1 OOS!

TWRP3.0.2-2 flash was successful, But while booting into TWRP using (power+volume Down) it stucks at oneplus logo!

Help me please!!
[OnePlus 2 General] Spannaa:
TWRP 3.0.2-2 doesn't work with OOS 2.2.1 - it only works with the new OOS 3 bootloader.

You'll need to fastboot flash your old version of TWRP to get going again.
[OnePlus 2 General] Naane Raja:
which version supports oos2.2.1?
[OnePlus 2 General] Spannaa:
I think the last one was v3.0.2-0
[OnePlus 2 General] Jespaa:
Uhm my OP2 doesn't want to keep TWRP.. I'm doing everything like it's told to, but after flashing I go to TWRP, boots in to TWRP normally then reboot into system and when going back to recovery it is no longer TWRP but OP own recovery.. :rolleyes: I assume that I have to go to system before flashing SuperSu in TWRP or can I flash it right after flashing TWRP from fastboot, will that help to keep TWRP as recovery? Or what is the solution here? I doubt that I did something wrong cause I followed the guide step-by-step.. Everything seems to be normal for me in fastboot mode and unlock is true etc..
[OnePlus 2 General] dansou901:
You forgot to tick the allow oem unlock option from developer settings
[OnePlus 2 General] Jespaa:
Nope, it's ticked. It shouldn't let me unlock it via fastboot if it's not ticked, right? And it showed in oem device-info that unlock is true.
[OnePlus 2 General] Spannaa:
Once you've flashed TWRP via fastboot, don't boot system, boot directly into TWRP by pressing the volume down & power buttons at the same time and holding them for a few seconds.

Once TWRP has booted, flash the SuperSU zip (a modified one if you're running OOS 3) and then reboot system.
[OnePlus 2 General] Jespaa:
Yeah, got it working a little earlier. And I did boot into recovery after flashing and after I got into recovery I booted into system. Dunno what I did, pretty much the same as in the morning but now it worked. :silly:
[OnePlus 2 General] amitgudwill:
Hey,

I am on stock ROM, BL unlocked no root yet. System updates is showing that 3.1.0 version is available for download and it's about 29mb. I download it and click on install. The installation process starts and the phone reboots. But again it shows current system version as OOS 3.0.2 and update for 3.1.0 again appears for download. Can't I update it when bootloader is unlocked?
[OnePlus 2 General] Spannaa:
OTA incremental update zips will fail on rooted devices or devices with modifications to system files but having an unlocked bootloader shouldn't stop you updating from OOS 3.0.2 > OOS 3.1.0

If you can't update via the OTA update zip, try the full, signed flashable zip instead.
[OnePlus 2 General] amitgudwill:
Thanks sir for the quick response.

I haven't flashed supersu yet neither I have modified system files. But yes, I have installed TWRP. Does that mean modifying system files? Please help.
[OnePlus 2 General] Spannaa:
You didn't say you had TWRP installed (but TWRP doesn't modify any system files)!

If you just click on install, it'll fail because it's expecting stock recovery.

You need to boot into TWRP, find the OTA update zip (OnePlus2Oxygen_14_OTA_019-020_patch_1608262242.zip) and flash it manually.

If it still doesn't work, download and flash the full, signed flashable zip.
[OnePlus 2 General] amitgudwill:
OK thanks.

So u mean I can install ota update easily (by just hitting install button) if I revert back to stock recovery?
[OnePlus 2 General] elandroido:
Yes you can :)
[OnePlus 2 General] amitgudwill:
So can u tell me how can I get back to stock recovery?
[OnePlus 2 General] elandroido:
You can download it from Oneplus site.
[OnePlus 2 General] amitgudwill:
I downloaded the stock recovery form oneplus site but it didn't work for me. After flashing successfully via fastboot, the recovery didn't work. Whenever I try to start the recovery, the phone is struck at oneplus logo. Can u please provide some valid link to the recovery and is the recovery for OOS2 different from OOS3?
[OnePlus 2 General] elandroido:
OOS2 jedes a different recovery.

Just google for the right oneplus2 recovery, either lollipop (OOS2) or for marshmallow you can use the latest one from Oneplus site.

Seriously the download is really easy to google, I am not going to do that for you.
[OnePlus 2 General] amitgudwill:
Thanks sir for your quick replies.

I browsed through the oneplus site and found out the right recovery for oos3. Downloaded the ota update and install. The phone rebooted and recovery appeared saying installing update. But suddenly in the midway, it displays update failed.

I don't know where m going wrong?
[OnePlus 2 General] elandroido:
Maybe your system is modified. Just flash the latest full zip from oneplus site using oneplus recovery, then you are fine.
[OnePlus 2 General] Spannaa:
If the OTA update fails when you flash it via the official recovery then there must be something in your system partition that isn't fully stock.

If you flash it via the latest TWRP (v3.0.2-2) there'll be a message on your screen telling you what the issue is but unfortunately, the stock recovery doesn't tell you.

Like I said earlier, boot into TWRP, find the OTA update zip (OnePlus2Oxygen_14_OTA_019-020_patch_1608262242.zip) using TWRP's file manager and then and then flash it manually. If it still fails, you'll see the error message telling you why and if you can't fix it, download and flash the full, signed flashable zip instead.
[OnePlus 2 General] matrix.bharath:
Thanks, how about OTA, will i receive OTA updates after Rooting or not? how to flash updates after rooting? can i just unroot and relock and i will get OTA? can you please confirm this ?
[OnePlus 2 General] chris264:
I hope the picture reaches them
[OnePlus 2 General] Heisenberg:
This is unknown still. But if this device is anything like the OPO you'll still receive OTA's, you'll be able to flash them with TWRP, you won't need to relock/unroot.

Do you have TWRP.img in your platform-tools folder? The error you're getting there is saying that it can't find the recovery image there.
[OnePlus 2 General] chris264:
Yes've img then copied to the folder. Nice greetings

OnePlus One
[OnePlus 2 General] shreyas.kukde:
Rooting the device now!
[OnePlus 2 General] Heisenberg:
Can I see a screenshot of the folder please?
[OnePlus 2 General] billy_boolean:
Never mind, wrong recovery
[OnePlus 2 General] chris264:
Here my Screenshot.
[OnePlus 2 General] maurydes:
hi mate,in this folder (on white space)click shift bottom amd right click on mouse it open command prompt directly in the folder then (from android)adb reboot bootloader qhwn you are in bootloader fastboot flash recovery(and drag and drop the img file in the line) and go, after this if you want go in recovery fastboot boot (drag and drop img file in the line) and phone boot in recovery:good: working on my OPO (think my opo2 arrives tomorrow):D
[OnePlus 2 General] dilgit:
I just got my "Chineese" OP2 with OxygenOS 2.0 installed from OppoMart. I have done

all needed according to instructions on this excellent thread, but still, I'm unable to install twrp.img

I have USB debugging and unknown sources enabled. I don't even know whether my bootloader

has been unlocked... What am I doing wrong? Please help...
[OnePlus 2 General] dilgit:
This is what I see after unlocking bootloader and installing twrp...
[OnePlus 2 General] maurydes:
In bootloader have you try to do "fastboot boot recovery.img? For recovery.img i mean you recovery name yes?

Inviato dal mio LG-H815 utilizzando Tapatalk
[OnePlus 2 General] Heisenberg:
I'm pretty sure the problem here is that you have file extensions turned off in Windows Explorer, so the filename there is actually "twrp.img.img". Turn on file extensions so you can see the .exe, .zip, .img etc and you'll see what I mean.
[OnePlus 2 General] Heisenberg:
Is the file in your folder actually called "recovery.img"? Unless you renamed it I doubt it is, it'd be called "twrp.img". You need to make sure the command you're issuing is correct for the filename. If the file is called twrp.img then the command would be:

fastboot flash recovery twrp.img

If the file is called cwm.img then the command would be:

fastboot flash recovery cwm.img
[OnePlus 2 General] dilgit:
Thanks. This is exactly what I was typing "fastboot flash recovery twrp.img"

But still, when I boot to recovery I get the basic recovery and not twrp and

I cannot install supersu zip file..
[OnePlus 2 General] Heisenberg:
How are you rebooting?
[OnePlus 2 General] dilgit:
I think I just type "fastboot reboot" and after boot I power off and than boot to recovery
[OnePlus 2 General] Heisenberg:
You're not following the directions of the guide then.
[OnePlus 2 General] dilgit:
THANK YOU!! I did it. Such a small nuance, I did not pay attention to it. My phone is now rooted.
[OnePlus 2 General] freeman_g:
I have a question about bootloader. I know that in Hydrogen OS it is necessary to allow unlocking bootloadrer in Developers options. Do I need to to such thing in Oxygen? I can't find this option here.

It is important as I have actually bricked Nexus 6 as bootloader was locked and I failured during update. You have a strange situation as you need to flash an image with unlocked bootloader but you can't unlock it as you can't boot current OS. And there are many complains like that in the internet (the only solution was to go to service)
[OnePlus 2 General] amitgudwill:
twrp gives info nothing more than error 7 while flashing the ota zip.

And yes, it seems like flashing the full signed zip is the only last hope.
[OnePlus 2 General] Spannaa:
There should be the reason for the error above the error 7 message.

Flashing the full signed zip is always the easiest way to update - I've never used an OTA update zip.
[OnePlus 2 General] Brandon Indar:
thanks
[OnePlus 2 General] amitgudwill:
hey guys.

m in a big trouble. please help!

I FLASHED H2OS, it was good but he network drops were too much. i wiped it using twrp and restored my OOS backup. the signal problem still persisted so i decided to clean flash oos3.1.0 zip once again using twrp. But this time, things went worse. Both sims are not getting detected no matter what rom i flash now. I restored h2os backup again but no luck. please help me guys!!!
[OnePlus 2 General] dansou901:
I think you need to flash OOS modem for the sims to work and maybe you need to restore an EFS backup if you have one.
[OnePlus 2 General] amitgudwill:
Sir it would be really helpful if u could provide me with some link for the modems for oos3.0.2 or above. YES i tried to restore the efs backup, infact i tried to restore the complete backup which i did before flashing h2os but it didn't help. I don't know why! ! Please help me guys!!
[OnePlus 2 General] dansou901:
Just get the full oos zip from Oneplus site and flash.
[OnePlus 2 General] amitgudwill:
just did that!

tried flashing via twrp, everything goes successful but still no signal in the end.

also flashed fastboot flashable zip of oos3.0.2 via fastboot but still no luck.

i browsed through oneplus forums just now and some other xda forum where devs have recommended flashing h2os again. just hoping it to work for me as oneplus is the only phone i've got right now.

BTW thanks for your help mate! if u find something that may be useful for me, please post it!
[OnePlus 2 General] Spannaa:
AFAIK, when you flash the new H2OS, the modem & firmware is updated and the EFS data amended. This EFS data isn't compatible with the OOS modem which is why so many people are having issues reverting back.

TWRPs EFS backup option doesn't actually backup the two EFS data partitions so, unless you took a manual EFS backup, returning to H2OS may be your only option for now.
[OnePlus 2 General] amitgudwill:
Thanks sir! I am back on h2os now and signals are back.

So do u mean that therr is no way I can get back to Oos or any other rom for now? If there is a way, then please guide me.

And why doesn't TWRPs backup EFS partition? If it can't, then what's the right way to backup EFS partition.

Thanks for ur help sir!!:D
[OnePlus 2 General] Spannaa:
AFAIK, there is no way to revert from H2OS to OOS at the moment.

You could have backed up your EFS data partitions via a root terminal, [MENTION=631273]Chainfire[/MENTION]'s FlashFire app or by using the flashable zip below, but if you've already flashed H2OS, it's too late now.

EFS_Backup.zip

Backs up EFS partitions (modemst1 & modemst1) and includes Restore_EFS.bat to restore EFS via fastboot.
[OnePlus 2 General] kollen:
Ok so I'm doing this for the first time (obviously). I have been following Heisenberg's guide, It started pretty good until... Number three "How To Make A Nandroid Backup With TWRP Recovery".

In TWRP I do not get the option to do a backup. I get these options

- Install from local

-Install from USB

-Wipe data and cache

-Advanced

-Reboot

A big thank you too anyone who can point me in the right direction.
[OnePlus 2 General] Mrx65:
Hi

I was on Oxygen OS 3-1 absolutely stock

I just followed the guide in 1st post in order to unlock bootloader and to install TWRP recovery 3.0.2-2 ...everything went good.

I successfully rebooted in twrp recovery, then flashed supersu 2.78 (stable) in order to enable root, wipe cache and dalvik/art-cache, then reboot to system...

Oneplus logo appears, as usual, then the bootanimation with red ball and the two little white balls rounding ...and nothing else ... :crying:

System don't boot...

I can access twrp recovery, I already wiped /data, the two cache but nothing, system don't boot anymore, only the bootanimation... I've a nandroid backup, but unortunately I made it ony ater flashing supersu...

What gone wrong..? What can I do...?

I'm forced to wipe everything, /system, /data, the two cache and clean flash the .zip o the oicial oxygen os 3.1 ...?

May I flash stock Oxygen OS through twrp??

Thanks
[OnePlus 2 General] elandroido:
Seems you have stock recovery still.

You need to boot right into twrp after twrp installation, otherwise stock rom installs stock recovery again...

---------- Post added at 09:05 PM ---------- Previous post was at 09:03 PM ----------

You need a special supersu or force systemless installation of standard super su afaik.

Otherwise system will not boot.
[OnePlus 2 General] Mrx65:
Thank you for your reply but... I haven' t undersand what I' ve to do... Sorry, I' m not so expert..

Simply, how to root OP2 stock OOS 3.1 unlocked + twrp ??

Inviato dal mio Nexus 7 utilizzando Tapatalk
[OnePlus 2 General] Jyoti_re:
U have boot loop because of flashing wrong SuperSU as 2.78 not supporting OOS3.1

Now as u have full wiped u have to flash stock oxygen rom via TWRP

If u want to root access then download modified SuperSU which support OOS 3.1and flash it via TWRP recovery.