yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 General] Spannaa:
How?

Titanium backup needs root to create the backup in the first place.

Tapatalked via OnePlus 2
[OnePlus 2 General] scoobyjenkins:
You lose data when unlocking bootloader, have you not done that yet? Your best bet may be to just backup your files to a pc, don't think you can backup data without recovery or root and you need unlocked bootloader for that!

Tapatalked that shiznit.
[OnePlus 2 General] elandroido:
That is remarkably correct...
[OnePlus 2 General] natedino13:
Today I decided I would update to the latest version of Oxygen so the notification would go away. I tried getting into TWRP recovery with no success. I then checked fastboot to see what it says for my device info and get this

C:\SDK\android-sdk-windows\platform-tools>fastboot oem device-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

OKAY [ 0.080s]

finished. total time: 0.081s

Now I had successfully unlocked, flashed twrp, made a nandroid backup and rooted a few weeks back. I am currently still rooted but apparently no longer unlocked, which also means I lost custom recovery.

Does this mean I will have to go through the process of unlocking and flashing twrp again?
[OnePlus 2 General] Spannaa:
If you didn't re-lock the bootloader yourself via fastboot then you may not be able to unlock it again using fastboot.

You say you can't get in to TWRP but you didn't say whether the device boots or not.

If it does:

Is OEM unlocking enabled in developer options?

Is USB debugging enabled in developer options?

If it doesn't:

You probable need to read the hard-brick recovery thread.
[OnePlus 2 General] natedino13:
It does boot. When I try to get to recovery it does nothing. Then when I turn on without trying to get to recovery it goes through the Optimizing app.

I noticed that I had turned off OEM unlocking. Turning back on does not change the device info from fastboot nor does it allow twrp recovery.

USB Debugging is on
[OnePlus 2 General] Spannaa:
Optimising apps occurs when the dalvik-cache has been wiped so it shouldn't happen at every boot.

Not sure what turning off OEM unlocking does after you've unlocked your bootloader but it may re-enable device protection.
[OnePlus 2 General] natedino13:
After reading this forum it seems as though I have to do this to fix my problem. Thanks for pointing me in this direction. I would likely not have thought to look in that forum for my problem since my phone still boots.
[OnePlus 2 General] Gadget46boss:
Unable to Update My OS

i got an OS update "OnePlus2Hydrogen_14.A.12_012_1511282157"

But when the download gets complete, it boots into TWRP recovery, and tries to install. But Finally i get result " Installation Failed"
[OnePlus 2 General] Spannaa:
What is the full error message in TWRP?

Can you boot into TWRP and flash the update zip manually?

Tapatalked via OnePlus 2
[OnePlus 2 General] Gadget46boss:
Processing bar pops up, after 3-5 minutes it shows "ERROR: binary folder could not found"

how to flash the update zip manually? where it will be after download is completed?
[OnePlus 2 General] Spannaa:
You need to find the zip using a file manager with hidden file/folders enabled - I don't know where it'll be as I don't use Hydrogen but Oxygen zips are downloaded to a .OnePlusOta folder in internal storage.

Once you've found the zip, boot into TWRP, click install, navigate to the zip, select it and then flash it.
[OnePlus 2 General] Gadget46boss:
Thanks for the help [MENTION=2948558]Spannaa[/MENTION] but i tried this already, no use! had same issue when i try to manually flash the zip.

is there any link to manually download this zip file?
[OnePlus 2 General] Spannaa:
You could have tried using search - it's not difficult :rolleyes:

http://xdaforums.com/oneplus-2/development/rom-h2os-hydrogen-os-ota-clean-stable-t3195636/page76

Post #752

Read the rest of the thread too as it tells you how to install the zip and the issues that people have had.

Any problems, ask in that thread, not here ;)
[OnePlus 2 General] outzen:
fastboot oem unlock and oem device-info

Hi

Just got a new OPT - old one had broken homebutton - now I can't oem unlock!!

Just getting this:

C:\Android>fastboot devices

c3b3f831 fastboot

C:\Android>fastboot oem device-info

...

FAILED (command write failed (Unknown error))

finished. total time: 5.003s

Anybody know why?

Oem-unlock enabled in developer.

USB-debug enabled in developer

Oxygen 2.1.2
[OnePlus 2 General] v7:
Try different USB ports.If you used a USB 3.0 port,try a 2.0 one.

__

v7

XDA Assist
[OnePlus 2 General] bebjo:
Solved

Seems like it was a driver mess - solved ;)
[OnePlus 2 General] nivilesh:
Twrp problem

I typed fastboot erase cache command after installing twrp. Now I'm unable to clear cache or dalvik cache. It says E:error mounting cache. Please help.
[OnePlus 2 General] MarlX:
i seem can't install twrp recovery, it say okay but when i reboot recovery it still the old one where there is option to choose language before going recovery. what did i miss?

C:\adb>fastboot flash recovery twrp-2.8.7.0-oneplus2.img

target reported max download size of 536870912 bytes

sending 'recovery' (28144 KB)...

OKAY [ 0.824s]

writing 'recovery'...

OKAY [ 0.234s]

finished. total time: 1.059s
[OnePlus 2 General] Spannaa:
Maybe the last step of section 2 in the first post?
[OnePlus 2 General] MarlX:
yes, my bad. didn't know that it matter. ?

EDIT: it's not the step 2 (if you mean the md5 thingy?), it is the last steps:

-Wait for the recovery to flash, it'll only take a few seconds, you'll get a finished message in your command prompt window once it's done. It's now safe to disconnect your usb cable.

-Use the recovery button combo (power + volume down) to boot directly into recovery now, once you've booted into TWRP once you can reboot the phone as normal.

Sent from my ONE A2001
[OnePlus 2 General] Spannaa:
Yes, I said the last step of section 2 not the 2nd step of section 2!

Tapatalked via OnePlus 2
[OnePlus 2 General] frankarora:
Hey there .....need a help i forget my password.....so i cant unlock My OEM unlocking because it is asking for password....kindly help....thanks in advance
[OnePlus 2 General] Spannaa:
Quoting the whole of the first post and asking the same thing in three different forums isn't going to get your help any quicker!

Tapatalked via OnePlus 2
[OnePlus 2 General] frankarora:
kindly help than dear...u guys are life saver
[OnePlus 2 General] Heisenberg:
Guys, seriously, it took me a whole five minutes of searching to locate the TWRP recovery for this device. Instead of filling up an

guide

thread with questions, take the time and the initiative to research first, it isn't that hard to find answers. I'm adding a link to the recovery in the OP.
[OnePlus 2 General] khr0n0s:
I got mine from the Chinese forum, but a quick google revealed this link. If it doesn't work then let me know and I will upload the one I used:

http://androiding.how/download-oneplus-2-twrp-recovery/

EDIT: English version of the tool / twrp that I used here:

https://forums.oneplus.net/threads/...ocker-rooter-and-recovery-flasher-aio.336009/
[OnePlus 2 General] Straynart:
The thing is when I search for TWRP for OnePlus TWO, there isn't [even on the TWRP website], so I'd rather wait for anyone who could tell me "this version works with the OPTwo", that's all.

I search somewhere else and find one which works.

Anyway, thanks for your reply.

---------- Post added at 01:41 PM ---------- Previous post was at 01:40 PM ----------

Thanks for you reply. I was also searching and I found this one which works. So it's ok for me now.
[OnePlus 2 General] Heisenberg:
Fine, but this isn't a q&a thread, this is a guide thread, there's a q&a section here:

http://xdaforums.com/oneplus-2/help

And there's a dedicated q&a thread here:

http://xdaforums.com/oneplus-2/help/qa-noob-friendly-qa-help-thread-t3146584

And as I said it only took me a few minutes to find the recovery, if I can find it in five minutes then it shouldn't be that difficult for anyone else to find it, and these questions certainly shouldn't be filling up this thread.
[OnePlus 2 General] Stephen:
[MENTION=4153349]Heisenberg[/MENTION] it might be worth noting that fastboot oem unlock will wipe the phone when it boots up.
[OnePlus 2 General] Heisenberg:
It already says that, in the underlined text at the bottom of the bootloader unlocking section :)
[OnePlus 2 General] andymiro:
Can't get TWRP installed... I'm not new to this... Followed the guide completely just to be sure I didn't forget anything. I unlocked the bootloader at least I think so. See below

C:\Users\Andy\AppData\Local\Android\android-sdk\platform-tools>fastboot oem device-info

...

(bootloader) Device tampered: false

(bootloader) Device unlocked: true

(bootloader) Device is_verified: false

(bootloader) Charger screen enabled: false

(bootloader) Display panel:

(bootloader) console_locked: 1

(bootloader) exec_console_unconsole: 0

OKAY [ 0.078s]

finished. total time: 0.078s

Installed TWRP

C:\Users\Andy\AppData\Local\Android\android-sdk\platform-tools>fastboot flash recovery twrp.img

target reported max download size of 536870912 bytes

sending 'recovery' (25956 KB)...

OKAY [ 0.940s]

writing 'recovery'...

OKAY [ 0.219s]

finished. total time: 1.174

I booted into recovery manually by holding power + Down but I get the stock Oneplus recovery... at least I think it is. It doesn't resemble TWRP at all. I tried to flash supersu zip and it fails every time. Where did I go wrong?
[OnePlus 2 General] NOSTALGIA:
seems that your bootloader is still locked..

try again the process..
[OnePlus 2 General] andymiro:
Did it again 3 more times with no luck... did it a 4th and I unlocked the bootloader and flashed TWRP during the same fast boot sesssion.. I also manually reset the device without using the fastboot reset command.. not sure why but it worked after that. Can't explain it...
[OnePlus 2 General] Heisenberg:
Well your bootloader was unlocked to begin with:

As for not being able to boot into TWRP, I'm not sure, perhaps the manual reset was what fixed your problem.
[OnePlus 2 General] andymiro:
(bootloader) Device unlocked: true = bootloader "IS" unlocked. Just checked it again and it still says true even though I'm able to get into TWRP. Anyway.. it's done.. going to bed.
[OnePlus 2 General] Heisenberg:
I know that, that's exactly what I was saying. Your bootloader was always unlocked, therefore you didn't need to keep trying three or four times, it was already done.

What do you mean it says true even though you're able to boot into TWRP? Those are the exact conditions you want to be able to flash and boot into TWRP, you're not making sense.
[OnePlus 2 General] dm227:
Just a suggestion, but having had the same issue with my OPO and now my OP2 -

When flashing custom recovery, rebooting using the command line "fastboot reboot" and then booting into recovery as outlined in your guide just takes me back to the stock oneplus recovery. Instead, hard rebooting straight into recovery immediately after flashing twrp.img worked and took me to the custom recovery.

The other thing not mentioned in this guide that happened on my phone is that when I unlocked the bootloader, a chinese screen came up with chinese text and two options. The top option translates as 'Proceed' the bottom option as 'Cancel' - so I clicked proceed.

Just thought I would let you know, Kudos for the guide, and keep up the good work :)
[OnePlus 2 General] chris264:
Good evening, the instructions also works under Windows 10? Nice greetings

OnePlus One
[OnePlus 2 General] Stephen:
Yes they should do. I have Windows 10 on my PC. Currently I am using a Nexus 6, while I am waiting for my 2 to arrive. Fastboot and ADB work without any issues.
[OnePlus 2 General] matrix.bharath:
How To Unroot and relock the bootloader, once we root and unlock will it say tampered in the Oneplus tools ? will service be able to figure?
[OnePlus 2 General] chris264:
Now wanted to flash the recovery. As error message now stands there, the image was not found or misspelled.

OnePlus One
[OnePlus 2 General] andymiro:
Sorry... I could have sworn you said the bootloader was sill locked... It was 3 am and I was beyond tired. I just wanted it to work. The hard reboot to recovery instead of rebooting through adb seems to be the trick to get it into TWRP Recovery the first time... been working normally since.
[OnePlus 2 General] Heisenberg:
To unroot just go into the SuperSU app and choose the unroot option. To lock your bootloader you give the following fastboot command:

fastboot oem lock

Your tamper flag will remain tripped but it doesn't matter because having an unlocked/rooted device doesn't affect your warranty.

It seems the problem here is obvious then. Please copy/paste the text from the command prompt here so I can see.
[OnePlus 2 General] chris264:
Good morning, I upload this afternoon an image. When I'm on the computer again. Nice greetings

OnePlus One
[OnePlus 2 General] Spannaa:
Use the lock manager in Android device manager:

https://www.google.co.uk/android/devicemanager?u=0

BTW, double/multiple posting is against the XDA rules.

Tapatalked via OnePlus 2
[OnePlus 2 General] frankarora:
thanks for the help ...i m noob but not that much.....i tried almost every possible way....still trying.....thanks
[OnePlus 2 General] Spannaa:
If Android device manager doesn't work for you, you may have to factory reset...

Tapatalked via OnePlus 2
[OnePlus 2 General] hitulg:
I don't want to loose my data after unlocking the bootloader. Please help! I've about 30GB of data in my OP2. It's hectic to backup the data onto my PC. Any solutions?
[OnePlus 2 General] spicediablo:
If the data is not app data, then you can just copy the internal memory out to pc and copy back when you have unlocked the bootloader

Sent from Oneplus²
[OnePlus 2 General] hitulg:
Is flashing Xposed harmful to the device in terms of battery or hardware? My earlier device used to drain a lot with Xposed installed.
[OnePlus 2 General] razrion:
Thank..great n really helpful..:)
[OnePlus 2 General] tarun123t:
Depends on what modules you are going to use. I am using Power Nap, Greenify and Amplify. I did not find any battery drain. Its working like a charm.
[OnePlus 2 General] oneplus2user343:
Difficulty on Mac OS

Could someone clarify how to go about the SDK tools process on Mac OS?
[OnePlus 2 General] manjartens:
Hello,

really need some help how to unlock my OPT.

Bought a used Device, dont know if bootloader was unlocked before. So i tried it, doin it step by step using this guide. Device serial number is shown correctly in cmd Terminal. After trying to unlock bootloader, it Shows succesfull on the PC, but there is no message on phone Display and it does Not reboot. OEM Device Info gives following info:

Tampered: false

Unlocked : true

Is verified: false

Charger screen:false

Display panel: (empty)

Console locked: 1

Exec unconsole:0

When i try to Flash recovery twrp it says cannot Lord recovery (...). Img

What am i doing wrong?

Using win 7, 64bit

Thanks in avancierte!

Any hints would be appreciated! Thanks in
[OnePlus 2 General] Spannaa:
It looks like your bootloader is unlocked so, following step #2 from the first post exactly should just work.
[OnePlus 2 General] manjartens:
Yes, Problem solved, thanks. Was just a typo....

Gesendet von meinem ONE A2003 mit Tapatalk
[OnePlus 2 General] koalakitty:
So I was going to install a rom and thought it would be a good idea to first wipe the system through TWRP.

Well, now I have no OS installed on my one plus two and no way of moving over a rom to the internal storage

Is there any fix for this?

I can load Fastboot and TWRP
[OnePlus 2 General] scoobyjenkins:
Didn't you have the rom ready in storage or did you wipe that too? You should be able to sideload the rom zip if you're connected to the PC while in TWRP, though haven't tried that on this device.

Tapatalked that shiznit.
[OnePlus 2 General] koalakitty:
I didnt have it ready..

I tried sideloading but i just get error: device not found
[OnePlus 2 General] elandroido:
Mtp works when in twrp... Just copy the rom to sdcard...
[OnePlus 2 General] scoobyjenkins:
I don't know what to suggest other than booting into fastboot, checking it's recognised with the command in the OP, booting into recovery from there and following this: https://twrp.me/faq/ADBSideload.html

If that doesn't work, you may either have to fastboot flash a stock rom or get an official oneplus usb c adapter to try use OTG in recovery, though you may have a hard time getting one and most 3rd party adapters won't work

Tapatalked that shiznit.
[OnePlus 2 General] koalakitty:
>Thanks for helping out!

I finally found a stock rom and flashed it
[OnePlus 2 General] mal1sh:
when i try fastboot oem unlock

FAILED (remote: oem unlock is disabled)

whats wrong?

when i typeng fastboot devices its give me S/N of my devise
[OnePlus 2 General] Spannaa:
Did you enable oem unlocking in settings > developer options before trying this?

Tapatalked via OnePlus 2
[OnePlus 2 General] pritesh1996:
-I backup my stock rom using nandroid backup!

So i there any way to use nandroid backup files as unbrick file? When device is hard bricked or soft bricked?

-Unbrick oneplustwo via nandroid backup file when device is hard bricked?

(when we do not use twrp or any recovery)
[OnePlus 2 General] CodeIndia:
Will this method work for oos 2.2 ?
[OnePlus 2 General] Spannaa:
If you mean the method(s) in post #1 then yes.

Try to be a bit more specific in your questioning - it saves time in the long run ;)
[OnePlus 2 General] it_mighty:
Hydrogen OS not allowing to do setup

Do not know if this is right forum, as I am not getting reply from any other place. kindly help

I installed several versions of H2 OS in my Oneplus 2 but after first boot of installation it goes in to lock screen asking for 4 digit password. After four consecutive unsuccessful entries it goes for lock mode for a minute and I am not able to proceed further for setup.

Please help.
[OnePlus 2 General] SysAdmNj:
Hello good people, twrp will not flash for me. It says it flashed ok in fastboot but wont boot into twrp. Is there a confirmed working version for op2?
[OnePlus 2 General] v7:
Try to hotboot the recovery.

fastboot boot filename.img

If you successfully boot to recovery,flash the recovery from it.

___

v7

XDA Assist
[OnePlus 2 General] SysAdmNj:
Thanks, that worked. Why do you think I was having issues?
[OnePlus 2 General] v7:
You can use the

fastboot flash recovery recovery.img

to flash the recovery.But after flashing do not boot to the system(fastboot reboot)as this will overwrite the recovery.Boot into TWRP once before booting to system.

___

v7

XDA Assist
[OnePlus 2 General] SysAdmNj:
I thought of doing that but whats the fastboot command to boot into recovery?
[OnePlus 2 General] v7:
There's no fastboot command to boot.to recovery.You have to unplug the device and manually boot to recovery using hardware keys.

___

v7

XDA Assist
[OnePlus 2 General] arielpa:
I rooted my OP2 and my WiFi doesnt turn on

I rooted my OP2 and my WiFi doesnt turn on.

Please help me.
[OnePlus 2 General] v7:
Dirty flash the ROM.

___

v7

XDA Assist
[OnePlus 2 General] arielpa:
What does it mean?

What does it mean?
[OnePlus 2 General] v7:
Flash the ROM in recovery.

___

v7

XDA Assist
[OnePlus 2 General] arielpa:
What ROM?
[OnePlus 2 General] v7:
Flash the stock Oxygen full ROM from the recovery.That should solve the WiFi issue.

___

v7

XDA Assist
[OnePlus 2 General] spicediablo:
You can try to boot using below command :

fastboot boot<recovery file full name>

See if it works...

Sent from Oneplus²
[OnePlus 2 General] vazovskiiii:
after phone discharged i have got only fastboot mode working but i have device 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

OKAY [ 0.076s]

i don't understand how it locked i have used it 6 month and had no problem it was unlocked, now with unbrick guide didn't helped me because tool does not see the phone to be unlocked, maybe because it is recognised as QUALCOMM-HS USB Diagnostics 900E instead of QUALCOMM-HS USB Diagnostics 9006

any suggestions?
[OnePlus 2 General] elandroido:
If you have fastboot working you can flash twrp... Then you can flash a rom... You might have to unlock the device though before flashing twrp...
[OnePlus 2 General] SimoneBotega:
I'm trying to flash the Flyme but it appears "error executing updater binary in zip...". What should I do?
[OnePlus 2 General] Spannaa:
I'd ask in the Flyme rom thread.

Tapatalked via OnePlus 2
[OnePlus 2 General] OneDroid2:
adb/fastboot won't see my phone

Hi Guys,

I tried to follow this guide but I am stuck already. I did everything as described in the op, but adb (adb devices command) just doesnt see my phone.

To provide some more info:

1: I did use all the links provided by the op (no strange sources).

2: I did install the SDK with only the named packages from the op (later tried to add the usb driver without luck).

3: I did install the adb/fastboot drivers and rebooted.

4: I enabled usb debugging on my phone.

5: I did add my vendor id into adb_usb.ini (resolved the same problem for others, but not for me).

6: When I use the command adb connect phone ip it does connect. If then given the adb devices command it says "xxx.xxx.xxx.xx:5555 device".

So I thought maybe I can do it this way, lets check if fastboot works. So I booted my phone @ fastboot mode, tried the command "fastboot devices" and... nothing.

I have lots of experience with computers but fairly new when it comes to android and I am out of options/to scared to go forward on this moment (I don't want to kill my phone trying something stupid) so I really hope u guys can help me out/one step forward on this one.

OneDroid2
[OnePlus 2 General] Spannaa:
Assuming you're using a Windows PC, which OS are you running?

If it's Windows 8, 8.1 or 10, you may have to disable driver signature verification.
[OnePlus 2 General] OneDroid2:
thx for the quick response. I am on Windows 7.
[OnePlus 2 General] Spannaa:
Mmm...

I just installed the drivers that are included on the phone - they appear as a CD drive on my Windows 7 PC when I connect the phone via USB.

Tapatalked via OnePlus 2
[OnePlus 2 General] OneDroid2:
Yes, it did the trick! My god I am happy!! Didn't thought it would be so easy to find a solution. No Time to finish the other steps at the moment but I hope I find some time for it this weekend. Thank you for thinking with me!!
[OnePlus 2 General] jbarcus81:
I'm brand new to this... But is there any way to root, etc. without a computer? I only ask because I'm an idiot and didn't order the adapter for USB 3.1...
[OnePlus 2 General] v7:
You can use the stock USB cable to connect to PC.

___

v7

XDA Assist
[OnePlus 2 General] jbarcus81:
I'll have to try!

Oh wow.. Now I feel stupid.. it worked! But you already knew that.. haha! THANKS!~!
[OnePlus 2 General] Erik1805:
Is it also possible to relock the bootloader of you want to go back to stock?
[OnePlus 2 General] Spannaa:
It's possible, but not recommended.

Re-locking your bootloader can cause serious problems if you ever want to unlock it again.
[OnePlus 2 General] mohamm3edadam:
i had unlocked my bootloader and was running hydrogen os on it. But when i treid changing my custom rom i couldnt get into recovery and couldnt flash recovery as well. my bootloader was locked on checking and when i tried unlocking it, it never seems to happen my phone doesnt switch on it only goes to the one ples logo and switches off and even after giving the command my bootloader stays locked. Can you please help me out on this please ? im reeally worried.
[OnePlus 2 General] Spannaa:
Sounds like it's soft-bricked...

This should sort you out (ignore section C though).