yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 General] spicediablo:
Deleted...

Baconized
[OnePlus 2 General] coala-lumpur:
I don't know exactly if this might help you:

http://xdaforums.com/oneplus-2/general/guide-make-oneplus-2-adb-devices-t3218332

But maybe it's a different problem described there?
[OnePlus 2 General] thesickness13:
I finally found the problem, thanks for the help. In case anyone who faced the same problem I had here is what I did. What happen was that my phone came with hydrogen OS, so what I did was download the stock oxygen OS and flash it. Then I was able to unlock bootloader. It seem to be an OS problem.
[OnePlus 2 General] sandeep.kodeti:
Okay so I did everything and everything went perfect but how I need to install ota updates.I can download updates but can't install...
[OnePlus 2 General] Heisenberg:
You can't install OTA updates with root, this has been discussed quite a lot in this thread, I'm willing to bet it's mentioned only a page or two back.
[OnePlus 2 General] sandeep.kodeti:
So can I download update zips and flash them using TWRP????
[OnePlus 2 General] Heisenberg:
Yes, go to the firmware mirror thread by [MENTION=2948558]Spannaa[/MENTION] and you'll find full flashable ROM zips that you can flash with TWRP.
[OnePlus 2 General] marbill:
TWRP gone after O2 2.1.1 update.

Fastboot flash it but only boot into stock recovery.

Anyone has the same problem?
[OnePlus 2 General] Heisenberg:
How are you rebooting after flashing TWRP again?
[OnePlus 2 General] marbill:
Solved by following oneplus guide

Thanks for asking.
[OnePlus 2 General] Heisenberg:
Ok, how did you solve it? I need to know if my guide needs adjusting. And I still need to know how you rebooted after flashing TWRP please.
[OnePlus 2 General] marbill:
I boot into twrp by the following steps,

After flashing twrp with fastboot, enter recovery by typing fastboot boot and press spacebar, then drag the twrp.img (from the window of the folder containing the twrp imge) into the same command window (or type the path and filename of your twrp image into the command window) and hit enter.

The link of the oneplus guide is:

https://forums.oneplus.net/threads/...lashing-recovery-roms-kernels-rooting.291274/
[OnePlus 2 General] Heisenberg:
Ok, but that isn't actually booting into the recovery partition on your phone, that's live booting the TWRP recovery from the image that's on your PC. Anyway, are you able to boot into TWRP without your phone connected to your PC?

I'm still waiting for your answer to the question I've asked twice now: after flashing TWRP initially, how did you reboot the phone directly after flashing? I mean before it was booting into the stock recovery instead of TWRP.
[OnePlus 2 General] marbill:
After flashing the twrp with fastboot initial, I reboot to system and use the advance power option to reboot to recovery. Which booted into stock recovery.

After booting with the PC twrp image with the steps mentioned above, I installed the supersu and reboot into system again and then successfully reboot into twry with the advance power option.

---------- Post added at 10:21 AM ---------- Previous post was at 10:17 AM ----------

Sorry for my typo and I hope the above addressed your question.
[OnePlus 2 General] Heisenberg:
Yes that answers my question. If you had read the guide properly you wouldn't have had all this trouble though. It states that after flashing the recovery you need to use the button combo to reboot directly into the recovery before you can boot into the OS. If you reboot normally like you did the OS patches TWRP with the stock recovery. So if you had just rebooted directly into the recovery as the guide says you would have had TWRP installed without having to do all that extra mucking around live booting and whatnot.
[OnePlus 2 General] marbill:
May be that was the issue. Thanks for your time and patience.
[OnePlus 2 General] Heisenberg:
That was definitely the issue, no problem, glad to help.
[OnePlus 2 General] F3niX:
Do I need to unlock bootloader for root, twrp and custom kernel? Can I just flash twrp and kernel directly?
[OnePlus 2 General] Heisenberg:
You must unlock your bootloader. You can't flash/boot a custom recovery with a locked bootloader, and you can't flash SuperSU, ROMs, kernels without a custom recovery.
[OnePlus 2 General] Pirmas:
I need to unroot. Is it possible?
[OnePlus 2 General] Heisenberg:
Of course, go into the Settings section of the SuperSU app and you'll find a full unroot option.
[OnePlus 2 General] alankstiyo:
is there any way to enable fastboot drivers? I cannot make them work :S I had to use this guide to make adb to work properly

http://xdaforums.com/oneplus-2/general/guide-make-oneplus-2-adb-devices-t3218332
[OnePlus 2 General] Spannaa:
Which drivers did you install?

The ones that come stored on the phone work fine here.
[OnePlus 2 General] alankstiyo:
tried the one coming on the device, some universal drivers and samsung ones and nothing

could you share your drivers? maybe mines are corrupted

I had the problem that adb did not recognize the op2 till using that guide
[OnePlus 2 General] Spannaa:
Just get them from the phone again - they're the ones I use.
[OnePlus 2 General] alankstiyo:
Those fail, tried several times and still nothing, even after installing android studio it didnt work
[OnePlus 2 General] Naman Bhalla:
Go to device manager while in fastboot and send us a screenshot.... Or gimme teamviewer id and I will see what is wrong.. :)
[OnePlus 2 General] alankstiyo:
This is how it looks when is only connected, adb seems to be working fine, fastboot drivers are not working but cannot make it work with the installer from the device
[OnePlus 2 General] Naman Bhalla:
I know the issue... Can you give me Teamviewer access and I will help you out ... :)
[OnePlus 2 General] alankstiyo:
pmed you the info
[OnePlus 2 General] alankstiyo:
it got fixed thanks to windows 10 update center lol thanks anyways!
[OnePlus 2 General] alankstiyo:
getting the following issue, any ideas?
[OnePlus 2 General] Heisenberg:
Your bootloader is locked, you need to unlock it.
[OnePlus 2 General] alankstiyo:
gah! the guides i read didnt say anything, will do it thanks!
[OnePlus 2 General] Heisenberg:
I guess you're reading the wrong guides then :p

Everything you need to know is within this guide.
[OnePlus 2 General] spicediablo:
Was wondering if I can still use my old fastboot which I was using for my oneplus one. Getting ready to unlock and root my OPT once i get it. Thanks.
[OnePlus 2 General] Spannaa:
It should be OK, but there's only one way to find out for sure ;)

XDA One'd via OnePlus 2
[OnePlus 2 General] spicediablo:
Haha, my android debug bridge version is 1.0.32. I am updating now just to be safe...;)

Updated: still 1.0.32.... but there is a revision something below...i guess that is updated then...

I have a question, since we do not have fastboot option anymore in OPT. Once I have rooted and have TWRP installed , when there is an OTA, how do I revert back to stock recovery to install it?

Previously in OPO, I would fastboot flash the ROM and apply OTA update through stock recovery...

Sorry I'm a bit confused since coming from CM12.1
[OnePlus 2 General] Spannaa:
You can flash an OTA update zip via TWRP but, if you're rooted or have made any modifications to /system it'll fail.

If you want to update and keep root, you need to either flash the new full rom zip or the older full rom zip and the OTA zip followed by the SuperSU zip.

XDA One'd via OnePlus 2
[OnePlus 2 General] spicediablo:
Got it.

Basically, these are the steps, flash old rom using TWRP->flash OTA using stock recovery-> install twrp and root. I think the SuperSU zip can only be flashed via TWRP. Recently I tried to flash using stock cm recovery and it returned error...
[OnePlus 2 General] Spannaa:
Almost!

Boot into TWRP and add the full, flashable zip, the OTA zip and the SuperSU zip to the flashing queue and flash them all in one hit.

XDA One'd via OnePlus 2
[OnePlus 2 General] spicediablo:
Learnt something today, no stock recovery needed for flashing OTA and can queue up flashes in TWRP. Thanks to expert Spannaa.

Anyway, I have downloaded the latest full ROM so i only need to queue 2 of them, full ROM and SuperSU...
[OnePlus 2 General] yuskhayru:
Finally i root this device. Seems battery life is abit improved after install greenify. Thanks for the tutorial!

Sent from my ONE A2001
[OnePlus 2 General] williamt31:
ADB Devices not working after flashing custom Rom

I'm kind of confused, I got my opt, and was able to root it and flash a rom no problem using adb 1.0.32. But now, I cannot connect using adb unless I enable adb over network, then I can manually connect via ip:port. I spent 2 hours going over every setting checking several different sources trying to see if I had some setting disabled but can't figure it out. I've since dirty flashed an update of the same rom 'resurrection remix' and same thing. When I spent last weekend playing with it I manually stopped and started the daemon but no change, this is all I got everytime. Running Win10, no bangs, same system I used to push rom. Any ideas? (PS I'd post in the ROM forum but I still don't have the min post count)

C:\Android>adb devices

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

List of devices attached

Nothing...
[OnePlus 2 General] Naman Bhalla:
http://xdaforums.com/showthread.php?t=3218332

[GUIDE][SOLUTION] OnePlus 2 not showing in ADB but shows in Fastboot
[OnePlus 2 General] Nuhro:
Any way to get back to 100% stock, with stock recovery and rom? Thanks
[OnePlus 2 General] shaimd7:
great guide
[OnePlus 2 General] yoel740:
can we root with stock recovery?
[OnePlus 2 General] v7:
No,stock recovery can flash only signed zips.Use TWRP to root the device.
[OnePlus 2 General] yoel740:
I mean after unlock bootloader, can we back to stock recovery to flash SU
[OnePlus 2 General] Heisenberg:
No, you cannot flash anything except official updates with the stock recovery.
[OnePlus 2 General] Qrek:
I don't know why but twrp on my OP2 can't mount anything (data, storage etc)

Anyone can help me?
[OnePlus 2 General] XLORX:
Awesome post. Thanks for taking the time to put the post together Heisenberg.
[OnePlus 2 General] LOL9988:
will it even erase internal storage?
[OnePlus 2 General] v7:
Unlocking Bootloader will format the Internal Storage.
[OnePlus 2 General] Shubham.S:
sd card??

Hello I have a problem understanding flashing of a custom rom

Sorry but I'm coming from Samsung galaxy s4 which has an sd card

I stored rom and data on sd card while flashing but op2 does not have sd card so can anyone please confirm which selection has to be made on advance wipe as in this thread it says to wipe data and then use sd but op2 does not have an sd

I do not wish to use a computer or transfer all files to otg

Would appreciate any help!

Sorry never used phone without sd card ..

Also I do not wish to dirty flash.

Thanks
[OnePlus 2 General] elandroido:
No advanced wipe... Just do the standard wipe, it will keep you internal SD contents...
[OnePlus 2 General] Shubham.S:
Are you sure it will remove the cache

And will it constitute as a clean install
[OnePlus 2 General] elandroido:
Yes... It will wipe cache, art cache and data without media... Which is basically a factory reset but keeping your internal sd card intact.

I always install my roms like this, and it is fine. :good:
[OnePlus 2 General] Shubham.S:
Really thanks

So how stable is xposed on stock rom

Yet to get my op2... Exited
[OnePlus 2 General] ThePresence:
After update I'm not able to change locksscreen wallpaper. Anyone facing same issues?
[OnePlus 2 General] Spannaa:
By using settings > display > lockscreen wallpaper?

Tapatalked via OnePlus 2
[OnePlus 2 General] spicediablo:
I tried changing mine through settings as specified by spanaa , it works for me

Sent from Oneplus²
[OnePlus 2 General] jramirezw:
Nandroid backup of international stock recovery

HI all,

So I made a backup of the stock recovery on my Oneplus 2 immediately after unlocking the bootloader. I got the idea from a post by [MENTION=4153349]Heisenberg[/MENTION] from about a month ago.

What I did was reboot into the bootloader live booted TWRP using

fastboot boot twrp-2.8.7.0-oneplus2.img

then I clicked Backup, ensured Recovery was the only thing selected, and swiped the blue arrow to the right. Just to verify that it works, I flashed TWRP using the method with the OP, restored the backup, and got back the stock recovery without any issue.

For anyone who wants to test it out, the attachment contains the TWRP folder from my internal storage as is, created with 7-Zip. All you have to do is extract the folder and drop it in your TWRP/BACKUPS/(serial number) folder. Not sure if it'll be useful to anyone, but I decided to share. Maybe someone who is more skilled than me can convert it into a fastboot image or flashable ZIP or something.
[OnePlus 2 General] Heisenberg:
The only issue with this is that your device serial number is one of the folder names with the TWRP folder.

TWRP/backups/<serial>/<backup name>

So firstly the backup won't show up on another phone, and you've also just given your serial number to everyone. You might want to remove that attachment and upland only the backup folder.
[OnePlus 2 General] jramirezw:
Crap... noted, thank you. File reuploaded.
[OnePlus 2 General] Shubham.S:
update

Hello I just received the 2.1.2 stock rom update but it failed

My device is rooted and has twrp and a few factory apps uninstalled

Could anyone please advise me on how to update with rom

,yes I have the nanodroid backup of the untouched system

Edit:I would rather not have data loss and is it possible to flash only the 25mb update alone

Thanks for any help
[OnePlus 2 General] Spannaa:
If you're rooted or have any system mods installed, the OTA will fail.

To update, flash the full 2.1.1 zip, the 2.1.2 OTA zip and the SuperSU zip.

You don't lose any data.

Tapatalked via OnePlus 2
[OnePlus 2 General] Shubham.S:
Thanks I already know that part

What I actually am asking is that I have the unmodified and untouched system partition backed up in my nanodroid backup.

Is there another way to use the above and not have to download 1 gb rom data as the connection sucks.

Also no custom kernel and not xposed.
[OnePlus 2 General] Spannaa:
If your nandroid of system is stock, unmodified 2.1.1 without root then you should be able to restore just system via TWRP and then flash the OTA.
[OnePlus 2 General] No-New-Phone:
[MENTION=4153349]Heisenberg[/MENTION], I just noticed that the issue "OTA on rooted OP2" is a frequent one. I received the phone today (bought it for my wife), and I knew I should watch out only because I will receive the OPX (mine! :) ) in a couple of days and found the warning in the FAQ section. (Titanium Backup is what I need the most when it comes to a device swap :) And maybe I'm not the only one.

That's why I would suggest a hint in Post No 1 to this issue, when it comes to "How to root your phone". Just like the warning "unlocking your bootloader will result in the loss of data". Maybe this would just smoothen the experience for new owners.
[OnePlus 2 General] Spannaa:
You can't take OTAs on a rooted OnePlus 2 but you don't lose anything apart from root and system mods when you update using a full flashable zip.

If a full flashable zip isn't available for the update, flashing the full zip for the version you're currently using followed by the OTA update zip and the SuperSU zip will give you exactly the same result.

It's not really an issue.

Tapatalked via OnePlus 2
[OnePlus 2 General] No-New-Phone:
True, and you will surely come to the point where you will find out.

Still I guess there could be a direct positive relationship between "loosing only system mods" and "amount of system mods" used by the individual user . That's why I'm doing no more than asking to add one (1) sentence to the op regarding this issue, as the headline of this guide states it's "for beginners" and they might be thankful.
[OnePlus 2 General] Heisenberg:
Sorry, but it isn't clear to me what you're wanting me to warn users about.
[OnePlus 2 General] bilottag:
Ok
[OnePlus 2 General] Heisenberg:
Can you please edit your post to remove that gigantic quote? Please don't quote the OP like that, it's a huge no-no on XDA. And while I appreciate your gratitude, it does state very clearly not to create "thanks" posts like this one.
[OnePlus 2 General] No-New-Phone:
My suggestion is to add at chapter 4 "rooting the device" the sentence:

NOTE that modifying your system partition (adding, deleting or modifying files) will break support for OTA updates. Workaround here https://forums.oneplus.net/threads/ota-zip-installation-instructions-oxygenos-2-1-2.384946/
[OnePlus 2 General] Heisenberg:
I definitely won't be linking to a thread on the OnePlus forums. I'll consider adding that warning when I have some time though.
[OnePlus 2 General] No-New-Phone:
[emoji23] [emoji23] [emoji23]

It's just what I found searching in my browser while tapatalking. I should have added "site:XDA-Developers.com" to my search to meet your needs. Now I know.
[OnePlus 2 General] Heisenberg:
It's just that the forums over there are an absolute cesspool of ignorance and stupidity, I could never willingly promote that site as a valid place to get information.
[OnePlus 2 General] fareed_xtreme:
I absolutely agree with you on this [MENTION=4415799]heisenberg.[/MENTION] It is because of the instructions in that forum I ended up with a hard bricked OPT which was approximately a day old. Nevertheless managed to unbrick it with some instructions found within the XDA forums.

However, this issue has caused the tamper flag to trip and become true. I did come across the possibility to reset the tamper flag for the OnePlus One I believe. I hope the tamper wouldn't have much impact on the device's warranty.
[OnePlus 2 General] Heisenberg:
The tamper flag is tripped when you unlock your bootloader, and unlocking the bootloader is allowed by OnePlus, so I'm pretty sure you don't need to worry about the tamper flag.
[OnePlus 2 General] Al3xxxinho:
Does anybody know if there is a hardware difference between the international oneplus two and the chinese oneplus two? If not, can you convert the chinese oneplus two to work with european lte bands ?

Thank you !
[OnePlus 2 General] elandroido:
it is a hardware difference. no possibility to convert. you have to live with the lte bands you have in your device.
[OnePlus 2 General] Al3xxxinho:
Well, are you just presuming that or do you have any evidence to proove it? From what I know the modem is integrated into the cpu. Anyway, that won't be a problem cause I only need band 38 for the network i'm using in this moment
[OnePlus 2 General] elandroido:
Proove? Nobody has ever managed to switch, and it is pretty sure that it is a hardware issue (probably antenna style needs to be adjusted corresponding to the bands)...

But no I can't prove it...

I can just tell you, that you most probably will not succeed in unlocking other lte bands than the ones supported by your device...

But if you are in the mood to experiment I can post img files of the 3 modem partitions and you can flash the A2003 modem if you want... Then you'll see what comes out...
[OnePlus 2 General] matt_simpson:
I have installed twrp a few times now and every time the fast boot finishes it automatically boots in to twrp on its own. then when I reboot itepces with stock recovery ideas?

---------- Post added at 05:40 PM ---------- Previous post was at 05:00 PM ----------

Actually scratch the above. Thanks for the excellent instructions mr heisenberg.
[OnePlus 2 General] MegaHz:
hi, same issue here, [MENTION=4153349]Heisenberg[/MENTION] can you help? i cannot go to developer settings to enable usb debugging, this device is bootlooping.. any ideas?
[OnePlus 2 General] marbill:
Dear MegaHz,

I actually did not resolve my issue by enabling oem unlock in developer mode last time. I went into bootloop after that (similar problem to your case now and I have to apologize for not following up my previous post).

I resolved my problem using the Unbrick Soft Bricked method in the forum. However, I could not find the link to the exact post i refer but here is a link to a similar post that you could try,

http://xdaforums.com/oneplus-2/general/guide-return-op2-to-100-stock-unbrick-t3229606

Hope it helps.
[OnePlus 2 General] Gadget46boss:
how to unlock bootloader in Oxygen OS?
[OnePlus 2 General] Spannaa:
Read the first post, section #1

It says Hydrogen but Oxygen uses the same method.

Tapatalked via OnePlus 2
[OnePlus 2 General] Gadget46boss:
GAAPS installation failed

i've installed Hydrogen OS successfully, but i'm getting error while i try to install gaaps!

anyone else have the same problem?

can anyone give me solution for this?

is there any other ways to install gaaps?
[OnePlus 2 General] Spannaa:
You should just be able to flash the GApps zip via TWRP.

Which GApps are you trying to install?

OP2 is 64-bit so you need Arm64 5.1 GApps such as Open GApps
[OnePlus 2 General] Gadget46boss:
I tried the same, but i'm unable to install it.

it shows "installation failed"

[MENTION=2948558]Spannaa[/MENTION] thanks for the support!

everything worked perfect now.
[OnePlus 2 General] suitup21:
Hey Guys I have a really big Problem und I couldn't find any solution yet..

Everytime i flash a custom rom my sim card doesn't work..

There is always this little exclamation mark and in the settings it says "Card 1 - no number assigned"

And when i try to manually select Vodafone it says "Currently no connection can be established to the network. Please try it again later".

This Problem just appears when i run a custom rom. I tested it with exodus, cm12 and blisspop.

With Oxygen 2.1.2 everything is working fine.

Is there anybody with a solution? :/
[OnePlus 2 General] elandroido:
Did you factory reset before installing each rom? A full size is mandatory for rom switching...
[OnePlus 2 General] suitup21:
Yes i did always a clean install. Always wiped Data, System and cache..
[OnePlus 2 General] paradise220:
adb is properly recognises my OPT and shows its serial number but fastboot devises doesn't show any thing.I am using Windows 8.
[OnePlus 2 General] scoobyjenkins:
Maybe you need to check you've got the fastboot driver? When you plug it in in fastboot mode, is the device recognised by the PC?

Tapatalked that shiznit.
[OnePlus 2 General] paradise220:
Nothing happens during plug in
[OnePlus 2 General] scoobyjenkins:
But the first time you plugged it in when in fastboot mode, do you recall seeing a message saying "installing drivers"? You need to make sure you have fastboot drivers for this to be successful. If you already do, I've no clue but may be worth trying to reinstall them. I followed this guide to the letter successfully but am on Windows 7. I made sure to open android studio and download latest updates and suggested packages, including adb and fastboot drivers when I knew my OP2 was on the way!

Tapatalked that shiznit.
[OnePlus 2 General] maurydes:
Have you disable the search for driver firm verification in win 8?

Inviato dal mio ONE A2003 utilizzando Tapatalk
[OnePlus 2 General] paradise220:
How to know?and how to correct that
[OnePlus 2 General] maurydes:
if you dnt know what i mean it is definitely enabled in your pc and need to disable otherwise the drivers fastboot will not install correctly .....here a lot off guides in google just search but you can look here also https://www.youtube.com/watch?v=gmw86KplqmU hope help :good:
[OnePlus 2 General] paradise220:
I have corrected my fastboot driver by connecting OPT in fastboot then open the device manager and installed the drivers manually.
[OnePlus 2 General] krugm0f0:
I did the whole unlock and root process on windows 10 with no problems. Thanks for this post!
[OnePlus 2 General] rucio71:
Hello guys

I intend to root my OPT but I wouldn't like to lose all of my settings and so on.

Is there a way to backup everything in a simple way and recover after rooting?

Is it even possible for such scenario to work?
[OnePlus 2 General] elandroido:
well you can try to backup everything with titanium backup and restore after the rooting...