yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 General] Spannaa:
You should really wipe data on major version updates...

If you don't have your user apps and their data backed up via Titanium Backup (or similar) you could try restoring just data from your nandroid, but I wouldn't recommend it.
[OnePlus 2 General] Jorval:
Stagefright CVE-2015-6602 not fixed?

Hi,

First, thanks for providing the complete firmware zips.

I've tried installing the OTAs over my rooted TWRP OPT serveal times before finding this thread and the answer why it didnt work.

Now i'am on OxygenOS 2.1.1 but the ZimperiumApp still say's that i'am vuln to CVE-2015-6602?! Thought this is fixed ?

Anyone else affected?

Thanks. J
[OnePlus 2 General] kenshiroSG24:
Yeah mine is saying the same, let's hope Oneplus release Marshmallow soon.
[OnePlus 2 General] Sir_gpm:
I'm having problem connecting to my Wi-Fi, keep getting the ip for ever. Any advice? Installed the last oxygen full Rom.
[OnePlus 2 General] Spannaa:
Have you tried setting a static iP address for your phone?

XDA One'd via OnePlus 2
[OnePlus 2 General] Sir_gpm:
No.could you help me to try that step.
[OnePlus 2 General] Spannaa:
Settings > WiFi > long press your-network-ssid > modify network > advanced options > IP settings > static

Then enter an IP address in your router's IP range and your router's IP address as the gateway IP.

If you can get a WiFi connection before doing this, use the IP address you've been given as the one you set to static.

XDA One'd via OnePlus 2
[OnePlus 2 General] AANISH:
I just want to ask that if we flash the stock rom will it again lock the bootloader. If yes then do you have any prevention
[OnePlus 2 General] ΦDroid:
An unlocked bootloader stays unlocked until you manually lock it.
[OnePlus 2 General] AANISH:
Thank you very very much for a quicky suggestions
[OnePlus 2 General] shigi1231:
hi, this is a very noob question but how do I flash the "signed flashable zips" should I do it with odin or fastboot?

Also can I still receive OTA with just TWRP on but removed root using the "unroot" option in SU? :D
[OnePlus 2 General] casual_kikoo:
To flash signed flashable zips, you must download the zip file, "adb push" it into your sdcard, reboot into TWRP and install the zip file: be sure to clean cache and dalvik cache after the flash.

And for your second question, I think even if you use "unroot" into SuperSu, you can't flash the OTA straight from your phone, 'cause you have a custom recovery, you'll have to download "signed flashable zip" every time. I'm not sure, but I think you have to.
[OnePlus 2 General] shigi1231:
Is it possible to flash them via TWRP without clearing the data partition? So my apps could be saved
[OnePlus 2 General] Hetalk:
If you're on the same ROM, yes you can do a dirty flash.
[OnePlus 2 General] shigi1231:
I'm still in Oxygen OS but different kernel and rooted, is it still possible to retain the apps by flashing this?
[OnePlus 2 General] Hetalk:
What oxygen version are you on right now?
[OnePlus 2 General] shigi1231:
The latest. 2.1.1 . But I'm rooted and with a custom kernel. So is it possible then to retain the apps?
[OnePlus 2 General] Hetalk:
Yes. In case a new OTA update comes in, you can dirty flash the full rom for 2.1.1 from the OP and the OTA file. That way you'll keep all your apps and data.

I did that as for 2.1.1 OTA.

Flashed full-rom-zip-2.1.0 + ota-2.1.1 + supersu + AK kernel (optional)
[OnePlus 2 General] shigi1231:
One last thing, since I'm only rooted and have custom kernel/recovery, can i just flash the "incremental update" that way i'll only the download would be small
[OnePlus 2 General] Hetalk:
No, you need to download the last full ROM and then the new ota update .. and then dirty flash them together for it to work.
[OnePlus 2 General] shigi1231:
I understand. Thank you! Really helpful! :D
[OnePlus 2 General] DCastro555:
Invalid sparse file format at header magi

Edit: I unbricked the phone by using the OS 2.2.0 fastboot image from the post # 1, seems like the problem is completely with the system.img from fastboot oxygen os 3.0 rar, so we will need to install it via recovery in order to get OOS3 [MENTION=2794326]Theberge43[/MENTION]

I get the exact same error, tried to use SparseConverter and tried to install system.img_sparsechunk1 to system.img_sparsechunk5, but I got stuck with 1+ logo. Trying to revert back to OS2 via fastboot, I'll post if there are any changes. Out of phone meanwhile.
[OnePlus 2 General] Sir_gpm:
Thank you for your work. Tried many custom roms, now decided to try living in the stock world.
[OnePlus 2 General] sonny34:
I m on a H2 OS Marshmallow ROM, is it worth to flash O2 OS 3.0, then the Su and the TWRP?
[OnePlus 2 General] Spannaa:
If your TWRP is the (orange themed) modified version, you can just flash the rom and SuperSU from post #1.

You probably don't need to wipe data either - I came from H2OS MM and had no problems.
[OnePlus 2 General] Guddu:
Guys i am on OS 2.1.2 (rooted and have TWRP) , and i want to upgrade to OS 3.

Whats the easiest way without data loss?
[OnePlus 2 General] Stidjen:
forums.oneplus.net/threads/installation-instructions-faqs-oxygenos-3-0-0.439108/

This link above will be all you ever need, worked like a charm for me just scroll down to the part that meets your situation and follow the steps, i came from CM13 :good:
[OnePlus 2 General] Guddu:
Thanks a lot bro.

And i pressed it :D

---------- Post added at 12:07 PM ---------- Previous post was at 12:04 PM ----------

Guys something weird is happening i guess, the thing is i have setup the fingerprint unlock on OS 3 but almost 60 to 70% of the times its asking for the pattern to unlock, is this this common or what?
[OnePlus 2 General] spicediablo:
How is the stability of this OOS3.0? I am still on 2.2.1 and very tempted to flash 3.0.0. Any major issues?

Regarding upgrading from 2.2.1 to 3.0.0, I have gone through the instruction posted at 1+ forum. Why do we need to flash OOS 3.0.0 twice? Is it because OOS 3.0.0 is needed for modified TWRP to work? There were 2 wipes in the instructions as well.

Want to learn more before i commit to flashing so I won't end up asking about how to unbrick :P

Since I do not have to wipe internal storage, it means that I will not loose my photos? I always confuse wiping data/factory reset/lost photos...
[OnePlus 2 General] Spannaa:
You flash the rom first to update the firmware and then you install the modified TWRP to work with the new bootloader. You then reboot recovery and flash the rom again with the new TWRP to install everything properly, followed by the modified SuperSU if you want root.

You need to wipe caches too and it's also recommended to wipe data too to avoid issues as it's a major version update.

There's no need to wipe internal storage so your photos/music etc. is safe.

Take a nandroid before any of this and if you have Titanium Backup, backup just your user apps and their data so that you can restore these afterwards.
[OnePlus 2 General] spicediablo:
So, the first flash is to install the bootloader, then modified recovery followed by system.

Titanium backup running now. So my titanium backup will also be safe as long as I don't wipe my internal storage.... Will take nandroid after this. I know you are quite happy with OOS3 from your previous post.:)

Held back upgrading as I thought there will be a stable following up soon but seems like it's not here yet. Guess will have to settle for beta for now....
[OnePlus 2 General] Spannaa:
Even though it's a beta, for me, it's far faster and more responsive than 2.2.1
[OnePlus 2 General] spicediablo:
I have flashed successfully. I want to root now but when i boot to recovery, it is oneplus recovery and not twrp... Do I manually flash again the latest twrp version? My device is not rooted yet as of now.

Update:Sorted it out. So, I will not be able to update TWRP to latest version as the bootloader for OOS3 is different?
[OnePlus 2 General] Spannaa:
Yep, you need to stick with the orange themed version unless someone modifies the latest official version to work with the OOS3 bootloader.

TBH though, I prefer this one - it backs up more partitions than the official one does.
[OnePlus 2 General] spicediablo:
So it will stay if I flash it? Right now, it doesn't stay and when i rebooted, it goes back to stock recovery. Do I have to manually boot into recovery after flash to make it stay?
[OnePlus 2 General] Spannaa:
Yep, sorry I missed that step out (I've edited my post now to include it)

After you flash the modified TWRP, you need to reboot recovery to make it stick.

Full steps to get a rooted installation of OOS3.0 with working TWRP

Boot into TWRP

Wipe system, data, dalvik & cache (but not internal storage)

Flash OOS3.0 Beta to install the new firmware

Flash modified TWRP img that works with OOS3.0

Reboot recovery so that you're using the correct (orange themed) TWRP

Wipe system, data, dalvik & cache again (but not internal storage)

Flash OOS3.0 Beta again to install the rom via the modified TWRP

Flash modified SuperSU to root

Reboot system
[OnePlus 2 General] spicediablo:
Confirm with you again.

So now, I put into bootloader mode, then fastboot flash recovery [modified TWRP]. After flashing i power off and manually go into recovery by power button+volume down right?
[OnePlus 2 General] Spannaa:
You can do it that way if you like.

I flashed the modified TWRP via the image flashing option in my old recovery and then just selected reboot recovery in TWRP to boot into the new, orange themed recovery.
[OnePlus 2 General] reaper000:
I flashed this on my girlfriend's OP2 and it's working fine except for one thing:

The APN screen is blank, and we are unable to add any APNs. It refuses to save an entry. As a result, mms and data does not work.

Does anyone have any suggestions? Thanks
[OnePlus 2 General] Spannaa:
It's a beta theme bug.

Settings > Customisation > disable dark mode

Setup your APNs

Settings > Customisation > enable dark mode
[OnePlus 2 General] Guddu:
Plz help

Guys something weird is happening i guess, the thing is i have setup the fingerprint unlock on OS 3 but almost 60 to 70% of the times its asking for the pattern to unlock, is this this common or what?
[OnePlus 2 General] spicediablo:
There is some problem with this modified recovery. I find that the reboot to system doesn't work and I have to use the power button to shut down and reboot. Are you facing this problem?

BTW, I'm happy with OOS3 thus far. Fingerprint unlocking is noticeably faster.
[OnePlus 2 General] Spannaa:
Reboot system from the modified TWRP works fine for me.
[OnePlus 2 General] spicediablo:
ok, I will try reflashing it again...

Update: Reflashed but still the same. Also, I noticed when I reboot to recovery, the pop up window actually says factory reset though it is actually rebooting to recovery. Bug?

Should i dirty flash OOS3 again?
[OnePlus 2 General] saeedashifahmed:
I am using CM 13 by Grarak with this kernel : http://droidphoria.blogspot.com/2016/04/Boeffla-Kernel-for-CM-13-on-OnePlus-2.html and I have no recovery now. Official TWRP is not working. I want to go back in OOS 3.0. What to do now. I tried with Flashify to flash official TWRP recovery. But its not working. Please help.
[OnePlus 2 General] spicediablo:
Follow instructions on this link:

https://forums.oneplus.net/threads/installation-instructions-faqs-oxygenos-3-0-0.439108/

Follow instructions in this section:

[If you are on any ROM other than H2OS Marshmallow or H2OS Marshmallow Based ROMs and want to Have a Clean Flash (Clean flash is the best way to prevent any bugs)]​

You have to use custom TWRP and custom SuperSU in OP. Read carefully before proceeding so you won't end up with a brick...Good luck!!:good:

---------- Post added at 07:07 PM ---------- Previous post was at 07:06 PM ----------

@Spannaa, can we sticky the link above? It will help ease the users going to and away from OOS 3.0...
[OnePlus 2 General] Spannaa:
Not sure why your reboot system in TWRP isn't working...

I'd go through the whole installation process again.

The reboot menu message is a strings.xml error in framework-res.apk - I fixed it in my add-ons+theme zip

I can't add the link as it points to the OnePlus forums and we both know how bad they are...
[OnePlus 2 General] spicediablo:
Theming was the cause of the problem. Can you share a snapshot of your theme?

Sent from Oneplus²
[OnePlus 2 General] Spannaa:
It just changes a lot of the teal and bright Google colours to blue - nothing fancy.

I remember now that I had a problem with the reboot menu not working properly too - it was because of the framework layer in most themes.

I fixed this by adding my framework layer files directly to framework-res.apk and replacing the stock version.
[OnePlus 2 General] nsiti:
Beta worked well for me, thanks!
[OnePlus 2 General] SokRatha:
Sorry in advance all forks, I have 1 or 2 questions regarding fastboot flashable file.

I used to have NEXUS phone, google has provide a fastboot flashable file, which (in my thinking) no matter what ROM or android version of customROM I flash to my phone previously, that fastboot flashable file would bring my phone back to his original state (partition layout, system, data...) according to the file I used. Is this theory still apply to OnePlus2 flastboot file?

For example if I sent my OPT to enjoy the tasks of CM13, EXODUS,... (which are MM ROM) then can I simply turn back to OOS 2.2.0 LP using the fastboot file provided in original post by running the flash_all.bat? No need to flash revert2lolipop... or so whatever?
[OnePlus 2 General] spicediablo:
I think so too. Fastboot is the safest way to prevent any potential problem while using TWRP flashable files....
[OnePlus 2 General] saeedashifahmed:
I got my Phone back with OOS 3.0 ! Thank you a lot :)
[OnePlus 2 General] SokRatha:
Have you try it yet?

All expert folks here, what would you think? Or you ever try it?
[OnePlus 2 General] spicediablo:
Hit the thanks button if I have helped you...:good:

---------- Post added at 02:20 PM ---------- Previous post was at 02:10 PM ----------

I used to do this with my nexus 4 and oneplus 1.

Sent from Oneplus²
[OnePlus 2 General] thuva06:
hey guys quick question here.. i got my oneplus X a day ago but am replacing it coz of sever heating issues.. but i already unlocked bootloader and installed CM13. (i made sure i updated to OOS 2.2.1 before flashing CM13)

now i have to return the device so i need to flash the stock rom .. can i just flash it after wiping via twrp or is there any method to go back to stock ??

PS: Also do i have to lock the bootloader?
[OnePlus 2 General] Spannaa:
I assume you mean a OnePlus 2 and not a OnePlus X, otherwise, you're in the wrong forum.

Flashing the full OxygenOS 2.2.1 zip should be fine.

You might also want to flash the stock recovery too.

Re-locking the bootloader isn't necessary for warranty purposes.
[OnePlus 2 General] Spannaa:
Added Oxygen OS 2.2.1 > Oxygen OS 2.2.1-2 Hotfix update for users with Deutsche Telekom & Congstar SIMs to post #1
[OnePlus 2 General] dedo1996:
Somebody got an idea about the release of oxy3 as ota? It's been 2 months that it's beta!!
[OnePlus 2 General] kenshiroSG24:
They're focussing on the Oneplus 3 software so highly unlikely we will get anything in the next few months. The released the beta to keep everyone quiet since they promised a date and never met that date.
[OnePlus 2 General] Spannaa:
And your source is?

Or are you just guessing/trolling?
[OnePlus 2 General] kenshiroSG24:
I'm not guessing or trolling, it was on a website before and I really can't be bothered fishing it out either so be my guest and do the Google search.
[OnePlus 2 General] Spannaa:
There's not much point posting without a source!

This post on the OnePlus forums says they're actively working on it and also says weeks rather than months.
[OnePlus 2 General] kenshiroSG24:
Cool I'll fish out the source and update my initial post [emoji3]
[OnePlus 2 General] spicediablo:
Hi,

I managed to downgrade to 2.2.1 but now need to flash the stock recovery for RMA purpose. Where can I find the link? It's not in OP...

I know I can get it from fastboot zip but it's so big. I just need the recovery...

Found it here...

http://xdaforums.com/oneplus-2/general/oneplus-2-stock-recovery-t3217848
[OnePlus 2 General] Spannaa:
You can grab it from the bottom of the OnePlus downloads page:

https://s3.amazonaws.com/oxygenos.oneplus.net/OP2_recovery.img
[OnePlus 2 General] SirMika:
How do i install these in recovery?
[OnePlus 2 General] knpk13:
Use fastboot mode. Don't ask what it is, Google it. More info on Heisenberg's op2 thread.
[OnePlus 2 General] Spannaa:
If you'd actually read the post...
[OnePlus 2 General] BitFeed:
OnePlus X receives the first nightly official CyanogenMod 13

http://www.bitfeed.co/page/oneplus-x-receives-the-first-nightly-official-cyanogenmod-13
[OnePlus 2 General] SirMika:
does this fix soft bricked OPT? yesterday i i downloaded this and it only went back to stock recovery. tried to reboot but it stuck in 1+ logo. obviously i did something wrong. i have in twrp bunch of diffrent folders; kernel, firmware..etc but no OxygenOS:confused:

Done, but it keep bootlooping in 1+ logo. Solution?
[OnePlus 2 General] spicediablo:
Please take the effort to read and understand. This has to be done using laptop. If you wanna use twrp, please download the relevant files. Not the fastboot version. Read and do carefully and you won't end up with soft/hard brick...

Sent from Oneplus²
[OnePlus 2 General] Spannaa:
As it's a full fastboot zip, fastboot flashing everything via the flash-all_64GB.bat file should wipe everything and revert your device to completely stock. If you don't flash userdata_64G.img you may have incompatible data depending on which rom you're reverting from.

If your device is soft bricked, you'll need to use the Stock Reset to OxygenOS 2.2.0 tool instead
[OnePlus 2 General] SirMika:
i just got i work by following by following this Mega Unbrick Guide for A Hard Bricked OnePlus 2
[OnePlus 2 General] dedo1996:
Have you received 3.0.1 oxygen ota update?

Anyway, can we dirty flash the signed flashable zip on 3.0 oxygen rooted with TWRP?
[OnePlus 2 General] DaniloG:
Hello,

I would like to know whether to install the oxygen OS 3.0.1 beta goes well the TWRP 3.0.0-2.

Thanks for the Quick replay!
[OnePlus 2 General] Spannaa:
Yes, as long as you use the modified TWRP and then re-root by flashing the modified SuperSU zip afterwards.

No, you need to use the modified TWRP - 3.0.0-2 isn't compatible with the OOS3 bootloader.
[OnePlus 2 General] DaniloG:
Thanks a lot. Other question: can I install the oxygen 3.0.2 directly from marshmallow?
[OnePlus 2 General] Spannaa:
3.0.2?

You mean 3.0.1?

You can flash it over 3.0
[OnePlus 2 General] DaniloG:
Yes Sorry!
[OnePlus 2 General] dedo1996:
Sorry for bother, is happened even to you that a lot of notification sounds disappeared and that the "Tap sound" changed(previous was awesome)?
[OnePlus 2 General] knpk13:
Just to confirm, if my firmware partition is messed up, flashing any of the stock ROM zips (oos2 or 3) will update and fix the firmware as required for 2.2.1 and 3 right? I do see the firmware files inside the zip. I know all about the procedures to switch between oo2 and 3, its in the OP and on SO many threads now. All I want to know is that whether flashing the zip is like doing a full reset which fixes/updates firmware and other unseen partitions. Also, why dont custom ROM's just include the necessary firmware files in the zip?

edit: wanted to ask you the same question below [MENTION=5216756]jackeagle[/MENTION] after I found your guide at http://xdaforums.com/chef-central/android/guide-android-rom-development-t2814763 it was very helpful. please tell me if you know of any additional resources I can use.

One more thing, I dont where to ask this, so bear with me...

I know there are more partitions than just boot,system, data, cache, efs, etc. and that you can see the partition table by running the command "df" in a terminal emulator. But wherever I search, I cant seem to find more technical info on all these partitions. Basically, I want to learn everything about android(in depth, technical), and I dont know where to start or which resources to use. I tried going to the official android developer website and the cyanogenmod wiki, but they seem to more focused on app development and building CM respectively, instead of how android works and how to make system mods and root stuff. So I'm stuck asking questions other members on XDA(which is not enough) or reading short guides like http://xdaforums.com/showthread.php?t=2450045 instead of reading some textbook/documentation to understand system mods and android and trying to actively develop stuff. Could you point me towards any resources as to how I can get started?
[OnePlus 2 General] Spannaa:
Yep, there seems to be less to choose from unless you add your own.
[OnePlus 2 General] dedo1996:
But can i add on my own the tap sound?
[OnePlus 2 General] Spannaa:
Firmware is a generic term for the modem, bootloader, trustzone, bluetooth etc. partitions.

Flashing a full stock rom zip will usually update these partitions but not always - the OOS3 zips don't contain sdi.mbn or logo.bin like the OOS2 zips did so, these stay as they were.

Custom roms often don't include the firmware as they're meant to be flashed over a stock rom or an official cm rom which should contain the necessary firmware.

Just to make things awkward, OOS2 & OOS3 need different versions of TWRP too as their bootloaders are different.

If I knew of one, I would - most of my knowledge comes from trawling XDA and Googleing stuff too!
[OnePlus 2 General] Spannaa:
If you're rooted, yes.

Sounds go in the four \system\media\audio folders: alarms, notifications, ringtones & ui

Drop your files in these folders, set their permissions to rw-r--r-- and reboot.
[OnePlus 2 General] dedo1996:
Thanks; don't know how to get back that oxygen 3.0 sound, can you send me and avoid that downgrade followed by another upgrade? :D
[OnePlus 2 General] Spannaa:
No, I don't have it anymore.

To save you downgrading/upgrading again, you can extract the files from the OOS 3.0 zip on your PC using Extractor.
[OnePlus 2 General] knpk13:
I see. Thanks. I wiped everything and flashed OOS2.2.1 . that should be enough for a full stock reset right? Im on cm13 and everything works, but I was playing with the firmware files, so I wanted a full reset to be safe. I flashed the 2.2.1-2 hotfix as well(does it do anything other than fix the german SIM issue?). It worked, but twrp gave me an error in between saying "E: Unknown command [wipe_data]"

I assume thats not a problem? (everything still seems to work)

Ah, I didnt know official CM roms contained firmware files. I opened official CM12.1 and 13 zips for osprey(moto g 2015) to check, but I couldnt find any firmware or radio folder in it like in the OOS2 zip. Is the firmware somewhere else?

Thats too bad. I guess I'll find ways to learn more about android anyway. Do tell me if you are aware(or find in the future) of any technical, in depth resources for enthusiasts and aspiring developers though, which you found helpful.
[OnePlus 2 General] Spannaa:
Flashing the full OOS2.2.1 zip should reset everything except userdata, as this partition image isn't included.

If "E: Unknown command [wipe_data]" pops up in TWRP, just ignore it.

I may have been wrong about the CM roms containing the firmware - it's been a while...

[EDIT] Just looked inside an old, official CM zip I found - cm-12.1-20151009-NIGHTLY-bacon.zip contains firmware [/EDIT]

[EDIT2] So does cm-13.0-20160524-NIGHTLY-bacon.zip [/EDIT2]
[OnePlus 2 General] kenshiroSG24:
Build 3.0.1 beta released:

http://downloads.oneplus.net/2016-05-23/op2/oneplus_2_oxygenos_3.0.1_community_build/
[OnePlus 2 General] Spannaa:
Yeah, it was released a few days ago and the mirror is in post #1 ;)
[OnePlus 2 General] kenshiroSG24:
Haha my bad, I was expecting another release couple of weeks from now!
[OnePlus 2 General] kenshiroSG24:
Is anyone getting this annoying exclamation mark next to the WiFi icon? It's been happening since the previous build and even did several full wipes to no avail.