yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 General] elvasoshexai:
I'm still on stock OOS 2.2 and installed TWRP. i followed the instructions making sure to force boot twrp before booting into OOS. However every time i reboot normally from twrp into OOS and reboot to recovery again, I'm back onto the stock recovery. is this expected, or am i doing something wrong?
[OnePlus 2 General] Spannaa:
You're doing something wrong!

Tapatalked via OnePlus 2
[OnePlus 2 General] elvasoshexai:
any idea what might be wrong? i unlocked bootloader and then proceeded to install twrp. once complete, i force booted to twrp. then from twrp rebooted to system. then its gone. tried multiple times
[OnePlus 2 General] Spannaa:
That should be enough, but obviously it isn't in your case.

Is oem unlocking still enabled?

Are you rooted too?

Tapatalked via OnePlus 2
[OnePlus 2 General] elvasoshexai:
yes, oem unlocking is still enabled.

not rooted.

the very first time i booted to twrp, it asked if i wanted to keep system unmodified or alow modify and i said keep unmodified. not sure if that make a difference. it never popped up again on subsequent tries reflashing twrp
[OnePlus 2 General] elandroido:
There is your error... You need to allow modification...
[OnePlus 2 General] Spannaa:
Yep, read the “system read only option" section in the TWRP 2.8.7.0 release notes.

Tapatalked via OnePlus 2
[OnePlus 2 General] mohamm3edadam:
thanks a lot buddy :D i had wastd hours thinking it was hard bricked. You just showed me the right way :') thanks a lot again. You saved my phone
[OnePlus 2 General] elvasoshexai:
Thanks, unchecked it under mount and it worked.
[OnePlus 2 General] plantunes:
I'm facing problems when trying to install the adb drivers available on the 1st post.

Does Windows 10 require diferent drivers maybe?
[OnePlus 2 General] maurydes:
No drivers is the same but on win 10 you need to disable check signature driver verification in windows otherwise driver not install,check on google or youtube here a lot of tutorial[emoji6]

Mate 8
[OnePlus 2 General] ReginaldRektHisPhone:
Wiped everything, Bootloader is locked, only TWRP (maybe), stuck in Fastboot Mode

Hey guys,

found this thread while searching for a solution to my OPT situation here - I accidentally wiped everything in TWRP (most importantly the 'system' partition) and somehow managed to relock the bootloader. So now I am left with a device that can only boot into fastboot mode because else it's stuck in a bootloop and that I can't flash anything onto because of the locked bootloader. Fastboot reboot(-)recovery isn't a command apparently, although I've read that it worked at some point (in an older version maybe?). When I am trying to "flash all file.zip" fastboot 'stops working', but not only on my desktop but also on my notebook. The zips (yep, tried multiple) don't seem to be damaged (Tested in WinRar) and I also tried reinstalling fastboot/adb multiple times with different setup .exes. I am running out of ideas here - I basically need something to unlock my bootloader without sending it into a bootloop when rebooting afterwards. Any ideas? Help is very much appreciated!
[OnePlus 2 General] scoobyjenkins:
A quick Google search found me this: http://www.ibtimes.co.uk/how-quickly-unbrick-oneplus-2-oxygen-os-2-0-1516574 I haven't had a need to try it so I guess try at your own risk but should be worth a try! So long as you can get it running OOS, you should be able to follow the instructions in the OP to start again with unlocking etc. But worth checking whether or not it's actually locked first as per the instructions!

Tapatalked that shiznit.
[OnePlus 2 General] OrzBus:
This may sound like a noob question as i am new to oneplus device, just moved over from a Galaxy SIV. I was able to unlock bootloader and root. Made a couple tweaks to system files such as redezined graphics and changed system sounds. I unchecked allow oem bootloader unlock and was able to run fine. Yesterday i booted into recovery but got stuck in bootloop and no other way than "fastboot continue". Fixed evrrything with qualcomm drivers and the recovery tool. My question is, is it mandatory for the oem unlock to stay checked in tge dev options or it can be unchecked once bootloader is unlocked?
[OnePlus 2 General] Spannaa:
Leave it checked - there have been issues when some users have it unchecked and something goes wrong.
[OnePlus 2 General] OrzBus:
I unchecked mine and everything was well until it triggered my recovery to go missing. I think it happened when using the TWRP Manager from the playstore or flashify who had the wrong recovery path. Thanks:good::D
[OnePlus 2 General] INSM Sin:
was running kingmerican h2os, tried updating from recovery that rom installed to 3.0.0 twrp. flash didn't work out so someone suggested flashing through fastboot. fastboot said device was locked so i did oem unlock. now it sits at first oneplus screen with android on bottom. oem unlock is still available, but after issuing command, phone goes back to oneplus screen. help is greatly appreciated.

edit--

here is fastboot info

(bootloader) Device tampered: true

(bootloader) Device unlocked: false

(bootloader) Device is_verified: false

(bootloader) Charger screen enabled: false

(bootloader) Display panel:

(bootloader) console_locked: 1

(bootloader) exec_console_unconsole: 0

i guess phone is softbricked. anyone know at which point my device became bl locked again? weird...
[OnePlus 2 General] jemcik:
https://forums.oneplus.net/threads/mega-unbrick-guide-for-a-hard-bricked-oneplus-2.347607/

use method 3, just went through it, all is ok
[OnePlus 2 General] INSM Sin:
thanks, did it a few days ago and after driver complication I got it to work. if anyone has a problem where twrp won't boot, but fastboot and rom will, use command

fastboot continue

restart and device should be able to load recovery again. not sure if it's a bug with recovery or...
[OnePlus 2 General] Harpratap:
Has anyone tried universal root methods on oneplus 2? I don't want to wipe data before I unlock my bootloader. So was wondering if somehow I'm able to achieve root access to take a TB backup and then proceed to unlock and flash a recovery. Do we have any auto-root or universal root methods? Kingroot worked for someone for oneplus X, not sure if its safe to use it on our device.
[OnePlus 2 General] Spannaa:
I wouldn't mess with unsupported rooting methods if I were you.

Tapatalked via OnePlus 2
[OnePlus 2 General] Mohdsaifulk47@gmail.com:
Want root my phone
[OnePlus 2 General] carabinieri5675:
Do it.
[OnePlus 2 General] W@r10ck:
Hi guys this will be my first time to root a pure android device. Im no stranger on rooting samsung devices. My question is, will there be any problem rooting newer versions of android as soon as they come out? like as soon as marshmallow comesout do i just flash it over then root? coz for samsung devices you will have to wait awhile till proper rooting comes out for newer update. There should be no problem rooting my OP2 im currently running the latest one 2.2. This time i wont worry tripping knox(that b*llsh*t) . Im so Happy with my OP2. I had different samsung devices and so far this is the best android and battery experience I ever had.
[OnePlus 2 General] fcjan:
I have the same problem after updating from 2.2.0 to 2.2.1, it's not bricked but now I can't install custom recovery or root it, do I really have to wipe everything and return to stock? It doesn't make sense

FIXED: I was using TWRP 3, older version worked
[OnePlus 2 General] frankarora:
hi all...followed the instructions.....unlocked my boot loader it is saying device unlocked : TRUE....but when flashing TWRP it is giving this error plz help......

Error: cannot load recovery.img ???? please help
[OnePlus 2 General] Jyoti_re:
Go to developer option and tap on OEM Unlock then flash recovery through firstboot mode.

---------- Post added at 03:44 PM ---------- Previous post was at 03:41 PM ----------

Have ur Device OEM Unlocked ?
[OnePlus 2 General] Wolverine™:
I am using OnePlus 2 (ONE A2001) 4GB RAM, 64GB Storage.

but i can't update my phone Oxygen OS version. can't do anything.. plz help me.
[OnePlus 2 General] Spannaa:
Start by explaining exactly what you've tried already...

Tapatalked via OnePlus 2
[OnePlus 2 General] Jespaa:
Is there any way to backup all app data e.g.? Int storage is easy to backup to PC but how about app data? I tried searching this thread but didn't really catch anything useful..
[OnePlus 2 General] doveoscar:
NOTE: I have fixed the phone, decrypted it, and installed Oxygen 2.2.1 and twrp 3 but it was a heck of a job. I'm willing to help anybody stuck in a similar fix.

I wonder if anybody can suggest anything that might help? I have a OP2 A2003, I encrypted it (which I wish I hadn't done) and installed TWRP 2.8.7 which turned out to be pointless as it couldn't read the encrypted data, I had hoped to root the phone. I tried to do a factory wipe, which failed (due to the encryption?) and left the phone bricked. Turning encryption on seems to completely mess things up.

I recovered it as per https://forums.oneplus.net/threads/mega-unbrick-guide-for-a-hard-bricked-oneplus-2.347607/.

Some three months later the Oxygen OTA update to 2.2.1 downloaded, but it repeatedly fails to install. I tried to install it manually via adb, it failed again, below:

$ adb sideload Oxygen.zip

error: closed

so I installed TWRP3 which, according to all I've read, supports encryption, intending to do it that way...

..But as far as I can tell, TWRP3 doesn't support encrypted data on the OPT; it reports 0MB on the data partition and won't mount it; and I can't find anyway to enter my PIN, so no wonder. Have I missed something, or is all the talk about TWRP3 supporting encryption on the OPT wrong?

Anyway I flashed back to stock, and stock recovery doesn't ask for a PIN either, so I guess it can't read the encrypted data either - it doesn't seem to see anything to install, though I've put the update zip all over the place. What a bodged implementation of encryption.

As it is I have a phone stuck on Oxygen 2.2.0 which I guess means I will be locked out of the Marshmallow/Oxygen update when it arrives. The OTA doesn't work, it doesn't work with adb/fastboot and when I put it on the device neither TWRP3 nor stock recovery can then see it.

Any suggestions most welcome.
[OnePlus 2 General] pcurator:
Can someone please help me out here? I tried everything but I've no luck. I've searched far and wide but I've had no luck. I've the A2005 model.

Here are my steps.

1. I installed drivers successfully

2. I ran MSM8994DownloadTool.exe and click on start

3. The device reboot but get stuck in a loop. (All I see is a oneplus logo).

I was able to to get to fastboot mode but I cannot flash the recovery as the bootloader is locked.

I also try to do OEM unlock but i get this

C:\adb>fastboot oem unlock

...

FAILED (remote: oem unlock is disabled)

finished. total time: 0.010s

Please help me !!!

Thanks,
[OnePlus 2 General] doveoscar:
I had the same boot loop stuck on 1+ logo, only get to flashboot, but OEM unlock disabled. The answer for me was Method 1 from https://forums.oneplus.net/threads/mega-unbrick-guide-for-a-hard-bricked-oneplus-2.347607/ - make sure when you connect the phone that your device manager is seeing the right device. The first time I ran M8994DownloadTool.exe it stuck halfway, I rebooted the PC (and phone, as best as I could) and started again (no need to install driver again but ensure the PC is seeing the correct device before running the .exe), the second time it worked. Good luck.
[OnePlus 2 General] aditya28:
hi guys,

I tried to flashing twrp recovery 2.*** (3.0 was already installed) using flashify on my already rooted op2 (running on SkyDragon-H2OS-v2). And now I'm unable to boot into recovery.

things i tried:

# flashing recovery using fastboot (both twrp and stock). flashing was successful, still no luck.

#tried flashing via flashify again, still no luck

# tried unbricking method, but when I connect my phone holding volume+, windows recognizes something, but nothing visible anywhere in device manager.

Please guys, any way out will be helpful.

PS- I can boot normally to SkyDragon, phone is rooted and oem unlocked
[OnePlus 2 General] doveoscar:
I found that Windows 7 did not always recognise the Qualcomm device first time round, so it's worth a couple of reboots (PC and phone).

Also, did you make sure the phone was properly off by holding the power button for a good long time, then press volume up for about 10 seconds and keep it pressed whilst connecting phone to PC (ie not connect then power up)?
[OnePlus 2 General] aymahalawa:
Noe as the OxygenOS 3 came out, how i can root and install TWRP :confused:
[OnePlus 2 General] kenshiroSG24:
Follow this thread:

http://xdaforums.com/showthread.php?t=3209863
[OnePlus 2 General] _Epix_:
Is the OEM unlocking on the phone same as doing the steps to unlock the bootloader? If I check the OEM unlock do I still need to do the steps above again? Also, Im on OOS 3.0, is rooting the same or do I have to follow a different guide? Thanks!
[OnePlus 2 General] Uz986:
Hi i have A2001 model (chinese).

i want to ask can i use this method to unlock my bootloader and for recovery etc.

and can i use all roms available for international oneplus 2 model

edit: Used this method and even flashed custom rom...everything works fine
[OnePlus 2 General] jukyO:
[MENTION=4153349]Heisenberg[/MENTION]:

can you list the partitions layout on OPT?

Thanks!
[OnePlus 2 General] Spannaa:
I'm not [MENTION=4153349]Heisenberg[/MENTION] but:

mmcblk0p1: "modem"
mmcblk0p2: "bluetooth"
mmcblk0p3: "pmic"
mmcblk0p4: "pmicbak"
mmcblk0p5: "limits"
mmcblk0p6: "DDR"
mmcblk0p7: "sec"
mmcblk0p8: "fsg"
mmcblk0p9: "devinfo"
mmcblk0p10: "aboot"
mmcblk0p11: "abootbak"
mmcblk0p12: "apdp"
mmcblk0p13: "msadp"
mmcblk0p14: "dpo"
mmcblk0p15: "fsc"
mmcblk0p16: "ssd"
mmcblk0p17: "modemst1"
mmcblk0p18: "modemst2"
mmcblk0p19: "oem_dycnvbk"
mmcblk0p20: "oem_stanvbk"
mmcblk0p21: "param"
mmcblk0p22: "reserve1"
mmcblk0p23: "reserve2"
mmcblk0p24: "LOGO"
mmcblk0p25: "DRIVER"
mmcblk0p26: "sbl1"
mmcblk0p27: "sbl1bak"
mmcblk0p28: "sdi"
mmcblk0p29: "tz"
mmcblk0p30: "tzbak"
mmcblk0p31: "rpm"
mmcblk0p32: "rpmbak"
mmcblk0p33: "hyp"
mmcblk0p34: "hypbak"
mmcblk0p35: "boot"
mmcblk0p36: "recovery"
mmcblk0p37: "persist"
mmcblk0p38: "misc"
mmcblk0p39: "keystore"
mmcblk0p40: "config"
mmcblk0p41: "cache"
mmcblk0p42: "system"
mmcblk0p43: "userdata"
[OnePlus 2 General] jukyO:
Well, that seems weird then. At least from TWRP POV.

To make things short, I have lost my IMEI.

Restored EFS from TWRP backup, no luck.

Phone still shows:

OEM_NV_Backup The NV partition is invalid!

Checked EFS backup, it contains:

oem_stanvbk.emmc.win

So, this is:

mmcblk0p20: "oem_stanvbk"

Isn't EFS 'modemst1' and 'modemst2':

mmcblk0p17: "modemst1"

mmcblk0p18: "modemst2"

Please confirm, if my presumptions are correct.

If so, TWRP does not backup correct partitions!

Thanks in advance!
[OnePlus 2 General] Spannaa:
Yep, I thought a proper EFS backup should be modemst1 & modemst2

I don't know what the official TWRP backs up though as I don't use it.
[OnePlus 2 General] jukyO:
Do you have further ideas, whom to address this to? TWRP team?
[OnePlus 2 General] Spannaa:
I guess so.

A manual or scripted EFS backup is always safer though...
[OnePlus 2 General] jukyO:
Thanks. I find it out in the worst possible way :eek:

BTW,

how would you restore modemst1 and modemst2?

dd, but what options? From TWRP terminal or?

---------- Post added at 09:33 PM ---------- Previous post was at 09:10 PM ----------

Reported:

https://github.com/TeamWin/Team-Win-Recovery-Project/issues/667
[OnePlus 2 General] Spannaa:
If you've backed them up, you can restore via fastboot, terminal or even make a flashable zip
[OnePlus 2 General] jukyO:
Which I didn't.

Theoretically, if I would obtain those 2 files from somewhere;

Are there any known tools to modify them, so they fit my real data? There were some for Samsung devices.

Thanks!
[OnePlus 2 General] Spannaa:
IIRC, you used to be able to restore efs on the OPO by flashing color os but that was a while back and would need some serious searching to find out how it worked
[OnePlus 2 General] jukyO:
I'll try to grasp on this. Thanks.
[OnePlus 2 General] jukyO:
I guess you were referring to this:

http://xdaforums.com/oneplus-one/general/tutorial-how-to-fix-brocken-missing-efs-t3266355/

But is is for OPO.

Anything similar for OPT?
[OnePlus 2 General] Spannaa:
I did say it was for the OPO...

The Stock Reset to OxygenOS 2.2.0 tool might do it but I've never used it myself.
[OnePlus 2 General] jukyO:
This was the first thing I tried. No go . Even removed tampered bit before.
[OnePlus 2 General] oranium:
This is my bootloader status but I cannot flash twrp.

Anyone knows why or how to do it properly?

---------- Post added at 09:57 AM ---------- Previous post was at 09:30 AM ----------

Here is the screen shot of the executed commands that didn't work. [emoji26]
[OnePlus 2 General] spicediablo:
Hi, I would like to return my devices to stock for RMA. I just fastboot all including user image? Do I have to lock the bootloader? I was informed they will inspect before processing my RMA. Anybody RMA before? Advice needed please. Thanks!

Sent from Oneplus²
[OnePlus 2 General] Spannaa:
fastboot flash recovery recovery.img

Next time, use search...
[OnePlus 2 General] oranium:
That's the command I used but It wouldn't flash.
[OnePlus 2 General] Spannaa:
Didn't see that command in your screenshot but, if the path to recovery.img is correct and the filename is right, it should just work.
[OnePlus 2 General] elandroido:
Well I think the path to your recovery is wrong. Or is it really in desktop\desktop??? I suggest to use tab autocompletion for ensuring the correct path name... ;)
[OnePlus 2 General] oranium:
I'm going to try one more time.

Thank you

---------- Post added at 03:36 PM ---------- Previous post was at 02:51 PM ----------

I managed to flash it but it goes back to stock recovery.
[OnePlus 2 General] elandroido:
You need to boot right into recovery and patch system, otherwise os restores stock recovery... Do this either using hardware button combo or issue "fastboot boot recovery.img" right after flashing... Then twrp offers you to patch system for twrp survival... Just accept this...
[OnePlus 2 General] oranium:
So the command is "fastboot reboot recovery.img" ? And not as I tried which was "fastboot reboot bootloader"
[OnePlus 2 General] elandroido:
No it is "fastboot boot <path to your recovery.img>"... So the same as flash recovery only with boot instead of flash recovery... Good luck...
[OnePlus 2 General] gautigreek:
How to root the phone without losing all the data
[OnePlus 2 General] Spannaa:
Rooting doesn't wipe anything.

Or did you mean how to unlock your boot loader without your data being wiped?

Answer: You can't - backup your internal storage first.
[OnePlus 2 General] gautigreek:
yeah I wanna unlock the bootloader and root the device usually when we unlock the Bootloader it wipes the data and resets the phone right I wanna keep the data intact is it possible
[OnePlus 2 General] Spannaa:
No, not unless this method works.

I'd just back up your internal data and unlock the normal way.
[OnePlus 2 General] edvinb:
I'm on OS3, what's the most up to date and safest way to root? And wanna be able to install uodates later
[OnePlus 2 General] Spannaa:
Root by flashing the SuperSU zip via the modified TWRP (both can be found at the bottom of post #1 in this thread).

You won't be able to take OTA updates though - they won't install on rooted devices.
[OnePlus 2 General] AcIdSaMa:
Having same issues like most and having stock recovery come back after flashing twrp. Thing is when I try to turn off the phone and use hardware keys (Vol Down + Power) the phone freezes and doesn't boot anything.

When I use the command to boot in to recovery I get a failed message and it states "remote: dtb not found".

Anyone else have this issue just bought this phone from someone on Swappa has OOS 3.0 installed.

---------- Post added at 10:55 PM ---------- Previous post was at 10:42 PM ----------

Nvm got it working...:)
[OnePlus 2 General] SirMika:
whats going wrong when stock recovery comes back? i should root my OPT for a very first time (Previous ones i`v owned was rooted already)
[OnePlus 2 General] elandroido:
After installing twrp you need to boot _directly_ into twrp without booting OOS. Otherwise OOS overwrites recovery.

If you boot into twrp right away, twrp can patch your system to make twrp persist.
[OnePlus 2 General] NexusS4gFreak:
[QUsAcIdSaMa;66762747]Having same issues like most and having stock recovery come back after flashing twrp. Thing is when I try to turn off the phone and use hardware keys (Vol Down + Power) the phone freezes and doesn't boot anything.

When I use the command to boot in to recovery I get a failed message and it states "remote: dtb not found".

Anyone else have this issue just bought this phone from someone on Swappa has OOS 3.0 installed.

---------- Post added at 10:55 PM ---------- Previous post was at 10:42 PM ----------

Nvm got it working...:)[/QUOTE]

How? Ive tried using the toolbox which doesn't boot it into twrp, just stays on fastboot screen after the command is done. Ive tried flashing the recovery manually with same result. Also tried the recovery button sequence while it was on fastboot screen after flashing recovery and it doesn't boot into anything until I shut down the device and restart in normal boot mode. I've also tried using the fastboot boot recovery.IMG command immediately after flashing recovery and it failed saying remote: dtb not found
[OnePlus 2 General] SirMika:
what do i do wrong that i get error flashing twrp.img? i didi some how earlier, but OPT updated and i lost root..and now im stuck. bootloader is unlocked
[OnePlus 2 General] Spannaa:
Remote dtb not found indicates that the version TWRP you're trying to use isn't compatible with your bootloader.

If you're using OOS3 or H2OS MM, you need to use the modified TWRP.
[OnePlus 2 General] ssbnasa:
Hey all, sorry for the OT. Just got my OPT, rooted & flashed latest TWRP.

Now my query is, apart from general flashing steps do i need to flash anything else? like any firmware etc? or normal steps like just format, flash CM13 rom, flash gapps, flash supersu and you're done?

Or i'd be needing any additional zips to flash before using CM13 rom, coz i've seen lot of ppl here complaining about gapps crashing, stucking at OP logo, getting error 7 etc etc

Thanks in advance.
[OnePlus 2 General] migueli2:
Can't i just use this method https://www.youtube.com/watch?v=XN12gBcO3iU cause it seems much easier/simple ?!
[OnePlus 2 General] migueli2:
Guys I decided to use this post method and stuck in step 2.

---------- Post added at 04:57 PM ---------- Previous post was at 04:55 PM ----------

Everything went good and no errors but I can't boot into TWRP mode.

---------- Post added at 04:59 PM ---------- Previous post was at 04:57 PM ----------

Can be because I'm on beta 6.0.1 ?
[OnePlus 2 General] adity:
I've tried multiple times to install supersu v2. 65 on oos mm build. Gets stuck on oneplus logo
[OnePlus 2 General] migueli2:
Did you manage to install TWRP wprking?
[OnePlus 2 General] asad.rajput:
OnePlus Two Root

Hi All. When I flashed TWRP, the phone does not go into custom recovery by pressing the Vol Down+Power. Instead just goes into normal recovery. Any ideas? I realised that when I did oem unlock, the device tampered was false while device unlocked is still true.

Any ideas? Thanks﻿

---------- Post added 8th June 2016 at 12:04 AM ---------- Previous post was 7th June 2016 at 11:34 PM ----------

Hi All. When I flashed TWRP, the phone does not go into custom recovery by pressing the Vol Down+Power. Instead just goes into normal recovery. Any ideas? I realised that when I did oem unlock, the device tampered was false while device unlocked is still true.

Any ideas? Thanks﻿