yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Android Development] regalstreak:
CyanogenMod 13 for OnePlus 2

Note

: This was the first MM Bootable Rom for the OP2 which was made by me, you can compare the dates of the threads if you would like to. Due to exams and stuff, I had to discontinue building some ROMs, hence I am closing this thread for now so that people do not get confused about which cm to flash! Thanks for supporting OP2 Development!

EDIT: Proof that I got it booting first (For Guys Like Him)

My post | Grarak's words | Old device tree commits

My recommendation

: Seraph08's builds or Grarak's builds (on twitter)

* Your warranty is now void.
* I am not responsible for bricked devices, dead fingerprint scanners, thermonuclear war, or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about this ROM before flashing it!
* YOU are choosing to make these modifications.
* And if you point the finger at me for messing up your device, I will laugh at you.

What? Marshmallow? Now?

Yeah! Finally made it boot. Loads of hard work done!

Ok. So please read the thread fully before flashing. Enjoy the taste of Marshmallow!

But please do not tell me its sweetness! Press the Thanks Button instead of saying Thanks!

If you really want to personally thank me, send me a pm on Telegram. I'm "regalstreak" on Telegram!

Or if you truly happy and mad about me, donate me some Bitcoin!

Here is my Bitcoin address: 1CKcSs8RCnRG1bwERGrRUVZ5Ckrgbe6uVR

If you got any problems, bugs, etc. please mention me here! We will be happy to assist your problem.

One last request. Please do not quote the whole of OP as it makes the thread untidy :)

If you need nightly builds, go here (They are updated frequently)

Need coolest new features, you go there. Need little stability, you are at the right place..

FAQ is below.

Always read FAQ before asking.

What Works?

Booting!

Display

Touchscreen

WiFi

Bluetooth

Audio

RIL

Camera (Partially)

What Doesn't Work? (WIP)

GPS

Fingerprint

Laser Autofocus

Alert Slider

Downloads

Full ROMs

Here

Go Here For 2015 Builds

Installation

Boot into Recovery

Wipe System/Cache/Data

Select Install Zip

Select the ROM and optional GApps (64-bit)

Pro Tip: Flash gapps immediately after flashing ROM or you will face force closes

Done

First Boot Takes Time To Optimise The Apps (Will stick around 10-12 minutes)

Sources

Device Tree

Vendor Tree

Kernel Tree

Screenshots

Imgur Album

Credits

@regalstreak (me)

@Grarak

@manups4e

@David_Vaz

Many More

Social

Official Telegram Channel

This channel is just for developer announcements. Why? Because before flashing a new build, we cannot come to XDA and update you'll if we wanna check it out real quick. Or if we wanna tell what we working on quick, we can update you'll there fast! No spam will be here as this is not a group but a channel. Just click on the link and open with Telegram and you'll know! Also, all developer announcements groups are deprecated.
[OnePlus 2 Android Development] regalstreak:
Changelog

#6 - 20160204
Camera fixed
Snapdragon Camera App
Back to building
Merged Upstream
----------
#5 - 20151226
Enabled dexpreopt for faster boot times
Merged Upstream
Camera (partial fix added not present in weeklies)
Some Cleanup in code
#4 - 20151218
Fixed RIL
Added Double tap to wake
Updated Build fingerprint
Added fingerprint scanner code
Fixed Red Borders
Switched to userdebug builds instead of eng
Merged Upstream
----------------
#3 - Merge Upstream
----------------
#2 - 20151211
Fixed Audio (Thanks to @grarak and @david_vaz)
Merged Upstream
Marshmallow 6.0.1
----------------
#1 - 20151208
Initial Release
[OnePlus 2 Android Development] regalstreak:
Reserved

Reserved Post

Funny how people keep Thanking Reserved Posts too! [emoji23] [emoji106]
[OnePlus 2 Android Development] Mehul.S:
Downloading now.. 1st one..
[OnePlus 2 Android Development] Kapiljhajhria:
Finally... Been waiting for this. [MENTION=5325978]regalstreak[/MENTION] congrats on being the first one to give OPT users marshmallow
[OnePlus 2 Android Development] neelsolanki:
Up up ...
[OnePlus 2 Android Development] Mehul.S:
Build is pre alpha.. No RIL, cam, FPS & LAF..
[OnePlus 2 Android Development] regalstreak:
[emoji106]
[OnePlus 2 Android Development] neelsolanki:
But it will surely fix... Great news is its bootinggg

---------- Post added at 05:50 AM ---------- Previous post was at 05:49 AM ----------

One plus one devs are facing ril issue but my friend solve that in his cm13 build.. N we will also get that working soon
[OnePlus 2 Android Development] fburgos:
Thanks to everyone involved in getting this booting ????
[OnePlus 2 Android Development] v7:
Great thanks to [MENTION=5325978]regalstreak[/MENTION].Everyone should consider buying him a beer ?

Pure work bud :)

v7
[OnePlus 2 Android Development] seangeezy12:
What's RIL, so the cam doesn't work and neither does auto focus and fingerprint..
[OnePlus 2 Android Development] v7:
This is a pre alpha build.It's booting.All other stuffs are broken.

RIL-Radio Interface Layer.Sim Card won't be working as of now.

v7
[OnePlus 2 Android Development] NoobMonkey:
Can't wait to see this developing. Definitely will be testing after you guys get the FPS working. Great work so far ?

Sent from my ONE A2003
[OnePlus 2 Android Development] mehedi57:
Great to see the 1st MM rom for OP2. Now development continues ??
[OnePlus 2 Android Development] zeyaan:
Following
[OnePlus 2 Android Development] Kapiljhajhria:
I know. But now that we have Bootable build. Things will move forward faster than before.
[OnePlus 2 Android Development] iharryghuman:
So.. it started.. now we will see development for OPT too ??
[OnePlus 2 Android Development] gugas123:
Do I need to flash your recovery.img ? (I'm already using AICP based on cm12.1)

https://www.androidfilehost.com/?w=files&flid=44209
[OnePlus 2 Android Development] r0hit.s3n:
: Off Topic :

ever since I hooked on to opo with madhi then euphoria with [MENTION=470754]Franco[/MENTION] life has been pleasant,but after it broke (which has ur last build euphoria in it still) and my move to opt.... been waiting and waiting to see you here.... (and ofcourse [MENTION=470754]Franco[/MENTION] but that's a distant dream)....

very very happy to see you there and ur contribution to the development of opt in any which way will keep few of ur hardcore fan happy...

best regards to you sir [MENTION=378195]madhi[/MENTION]786... and hope to see your magic again

p.s: how's ur work going on

TapatalkeD

OnePlus+2

Devil Inside©
[OnePlus 2 Android Development] David_Vaz:
[MENTION=2849215]manups4e[/MENTION] reply please

---------- Post added at 10:21 PM ---------- Previous post was at 10:15 PM ----------

Fixed :good::good:

Noob using Github

https://github.com/oneplus2-dev/and...mmit/3bcc7df85ded8e975865a02da3ab302596ddb65f
[OnePlus 2 Android Development] c@p:
Mahdi my friend, nice to meet you here. Good to here that you got this device too. Hope you remember me.

Looking forward to your builds.

Gesendet von meinem ONE A2003 mit Tapatalk
[OnePlus 2 Android Development] yarpiin:
just reading whole thread ... and cant find anything sensible ... shame hope that devs going to get some compromise :good:
[OnePlus 2 Android Development] jixbo:
This shouldn't be a competition between developers, but a common effort. For the future, [MENTION=4899556]David_Vaz[/MENTION] please try to keep your github clean, pick the commits from the other github remotes instead of just copying/patching code and when you announce some feature/fix here, give credits, otherwise it looks like you did all the work.

Maybe it is time for [MENTION=4443334]Grarak[/MENTION] and [MENTION=5325978]regalstreak[/MENTION] to share repositories, I think it would be the easiest for you both and for development.
[OnePlus 2 Android Development] Mahdi786:
I'm good thanks, busy working 40 hours a week now so no time to play ☺

Thanks, work has taken over my life unfortunately but i still make time to tinker here and there ☺.

Wow it feels like a nexus5 reunion ☺, really nice to see you here my friend, its been a long time.
[OnePlus 2 Android Development] manups4e:
qcril.db to handle Ecc and load MBN, we saw some errors loading Ecc and MBN in radio logcat so we tried adding it and ^^ it worked, but since i didn't test ril working builds i can't tell if is still needed or not
[OnePlus 2 Android Development] Naprzod:
Another here coming from nexus 5, not active in xda till now. Hope to see a mahdi based on marshmallow next year!
[OnePlus 2 Android Development] hsay:
Same here....:D Welcome Mahdi! Nice to see you here.
[OnePlus 2 Android Development] Grarak:
Well has nothing to do with data.
[OnePlus 2 Android Development] override182:
Greetings my friend. Great to see you here and lend a helping hand. Op2 development scene has started to spice up!
[OnePlus 2 Android Development] regalstreak:
Although late. But idc! :) Please be on topic or mods come and clean the thread. And yeah. Cleaning a thread is a painful job :3
[OnePlus 2 Android Development] manups4e:
if you think it's useless i can still remove it
[OnePlus 2 Android Development] Cioffaz:
So nice to see these devs working for OP2 custom roms.

Thanks you all for your work. Much appreciated, really!
[OnePlus 2 Android Development] Seraph08:
is the camera fix in your nightlies
[OnePlus 2 Android Development] CoreGaming:
What fix?
[OnePlus 2 Android Development] arqueox:
What fix? Is your camera working great? Didn't you notice the LSD thing? Camera on drugs, green?

Enviado do meu ONE A2003 através de Tapatalk
[OnePlus 2 Android Development] CoreGaming:
I know that it is not working, and this is the reason why I ask what fix he mean..
[OnePlus 2 Android Development] activegiri:
Use camera next, working gr8, do not change any settings or else it will give fc
[OnePlus 2 Android Development] yarpiin:
Are you sure ?? I have tryed Camera Next and it force crashed and didint even opened at all :confused:
[OnePlus 2 Android Development] arqueox:
Yep. Cameranext FC here too...

Enviado do meu ONE A2003 através de Tapatalk
[OnePlus 2 Android Development] activegiri:
Yes im using it without any fc..got fc when altered the settings..i restored it from titanium backup using 2.0.004
[OnePlus 2 Android Development] regalstreak:
Bump [emoji14] Next build will be uploaded tomorrow according to IST
[OnePlus 2 Android Development] philipp21897:
Is there any difference between your and Davids builds?
[OnePlus 2 Android Development] lagren:
Nightlies includes every new fix/optimisation when weeklies only include fixes/optimisations said to be stable.
[OnePlus 2 Android Development] Stylo King:
Is LTE working for you guys? Its not working in my case..
[OnePlus 2 Android Development] foomanjackel:
Working fine here.... AT&T
[OnePlus 2 Android Development] seangeezy12:
T-Mobile, working fine for me!
[OnePlus 2 Android Development] alesfot73:
Vodafone too
[OnePlus 2 Android Development] Stylo King:
Let me try changing the sim.. For me only 2G is working
[OnePlus 2 Android Development] haresh311999:
Me too...In India
[OnePlus 2 Android Development] Hetalk:
3g works for me with Vodafone.
[OnePlus 2 Android Development] Stylo King:
I switched the sims and now 3G is working.. but still no signs of LTE, BTW airtel here.
[OnePlus 2 Android Development] haresh311999:
Same here...
[OnePlus 2 Android Development] Taker18:
Hope build will release today so we can test it haha
[OnePlus 2 Android Development] krishna442:
LTE is working for me. (Airtel)
[OnePlus 2 Android Development] msohail_7:
Is Dual Sim standby working on this ROM?
[OnePlus 2 Android Development] amritendur:
Yes
[OnePlus 2 Android Development] msohail_7:
Woow. Is st working as dual standby or dual active?
[OnePlus 2 Android Development] Hetalk:
Standby
[OnePlus 2 Android Development] Aniem:
On OOS is dualsim standby too, isn't it?
[OnePlus 2 Android Development] philidor:
Yes it is. OPT is only dualsim standby

Inviato dal mio ONE A2003 utilizzando Tapatalk
[OnePlus 2 Android Development] Hetalk:
It's a hardware thing. All ROMs will have the same.
[OnePlus 2 Android Development] Armin1997:
Maybe a noob question, but can anyone explain what the difference is between the sim's being on standby or not, and the advantages / disadvantage. Have never used more then one sim. [emoji19]

Verstuurd vanaf mijn ONE A2003 met Tapatalk
[OnePlus 2 Android Development] Hetalk:
With dual standby, if you're on a call with one sim, and someone calls the other one, he/she will get a busy tone.

Google it for more info. :good:

OP, sorry for the OT.
[OnePlus 2 Android Development] mido25:
[MENTION=5325978]regalstreak[/MENTION] as we know Yutopia is released today and it has fingerprint. It's official cyanogen so can we kang from their sources to get a working fp?
[OnePlus 2 Android Development] regalstreak:
No we cant. As it id a different finger print chipset. Op2 solely is the first device to use fp1150 and integrste it with the home button. Yutopia (although it looks ugly) has a rear fps like the nexus 5. So it might have something like fp1025/1020 We already have code for 1025 and 1020 but not 1150 :(
[OnePlus 2 Android Development] mido25:
Sad to hear..
[OnePlus 2 Android Development] :
Only one SIM can use the 3G radio at any one time (the standby SIM can only use 2G) and you need to specify which SIM it is, as well as the fact that you can only use one SIM per active call. This means if both your SIMs are 3G only, it's the same thing as having a single SIM phone. I have this problem with 3 UK, who don't use 2G/EDGE signals at all.
[OnePlus 2 Android Development] cellPro:
[MENTION=5325978]regalstreak[/MENTION] changelog for the new build?? something new or is it not tested yet?

Gesendet von meinem ONE A2003 mit Hilfe von XDA Forums Pro.
[OnePlus 2 Android Development] Taker18:
There is no new build bro
[OnePlus 2 Android Development] cellPro:
Maybe I know a bit more than you ;) :p

https://www.androidfilehost.com/?fid=24269982087020358

But like I said, I don't know if its working, and what is new, so it would be great if there would be a change log (for the stable weeklies) :fingers-crossed:
[OnePlus 2 Android Development] Taker18:
[MENTION=5413897]cellPro[/MENTION] sry bro, didnt know that haha :D

Will send u a message in a few minutes
[OnePlus 2 Android Development] nak0604:
Would you be so kind as to tag me in the post you do. At work and don't have time to refresh the thread. Thank you!
[OnePlus 2 Android Development] Taker18:
[MENTION=5220715]nak0604[/MENTION] what?

Gesendet von meinem A2003 mit Tapatalk
[OnePlus 2 Android Development] regalstreak:
lol youll found that ! It is actually not so stable. It is bootlooping for me when i enable mobile data (2g). Youll try and report!
[OnePlus 2 Android Development] airtower:
Working alright for me, but I only flashed in an effort to get waze to work, and I haven't tried it yet. No new bugs as far as i can tell, but I am getting red border flashes now.
[OnePlus 2 Android Development] arqueox:
No camera too

Enviado do meu ONE A2003 através de Tapatalk
[OnePlus 2 Android Development] regalstreak:
Youll on lte? And which language did youll select?
[OnePlus 2 Android Development] arqueox:
WiFi. Portuguese

Enviado do meu ONE A2003 através de Tapatalk
[OnePlus 2 Android Development] regalstreak:
Try mobile data
[OnePlus 2 Android Development] arqueox:
Sorry. I will later. I just have reverted to oxygen os...

Enviado do meu ONE A2003 através de Tapatalk
[OnePlus 2 Android Development] airtower:
LTE works fine for me with English (US) language. Camera has never worked for me on CM13.

Also, I believe the bit of vernacular you're looking to use is Y'all, not You'll ;)

edit: looks like one of my widgets doesn't work that did on david's 12/15 build. It's just an aviation weather widget that does not use location or anything. I have another widget that does use location (HD widgets) and it works fine.
[OnePlus 2 Android Development] arqueox:
Just did. Portuguese language and randam reboots with lte

Enviado do meu ONE A2003 através de Tapatalk
[OnePlus 2 Android Development] c@p:
Tried a dirty flash over David's build but didn't boot or I waited not long enough.

Then did a clean flash and got this flashing red border. Tried a little bit, seems not bad but this red flashing thing was extreme terrible so I went back.

LTE and WiFi was working, German language and T-Mobile.

Gesendet von meinem ONE A2003 mit Tapatalk
[OnePlus 2 Android Development] Doktor-X:
i have try this build just to se if fp code was there but no dice
[OnePlus 2 Android Development] regalstreak:
I removed the code
[OnePlus 2 Android Development] Taker18:
How can i get the camera working ? Can anyone tell me
[OnePlus 2 Android Development] ollimi1:
Hey Taker18, (alter Bengel!!!)

To fix Camera related reboots in CM12.1/13 builds for OPT without LAF driver do the following:

- Install ES File Explorer or a similar filemanager

- Open it and navigate to /system/lib64/hw/ and look for the file called "sensors.hal.tof"

- Delete the file "sensors.hal.tof"

- Reboot

The build-in Camera app should work now also without LAF driver!

I've tested it with Temasek by [MENTION=1468412]AuxXxilium[/MENTION] and with CM13 from [MENTION=398674]david-v[/MENTION]az and works so far!
[OnePlus 2 Android Development] arqueox:
Works on drugs, you must say.... It is not acceptable yet...

Enviado do meu ONE A2003 através de Tapatalk
[OnePlus 2 Android Development] Taker18:
[MENTION=4174709]ollimi1[/MENTION] heyo :)

Im not able to delet the file? Datei kann nicht gelöscht werden :(

Cheery Bengel haha

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

[/COLOR [MENTION=4174709]ollimi1[/MENTION]

OK have delet it but cam still not work :-/

OK cam works now but only selfie cam and only for a few second than it fc's
[OnePlus 2 Android Development] ollimi1:
I've not tried it with this release only with CM13 from David 12/16 and there it works.

BTW I'm daily on drugs, I'm a child of the 80ies, LOL!

[MENTION=3400932]Taker18[/MENTION]

Give the filemanager root and you should able to delete system files!

---------- Post added at 10:21 PM ---------- Previous post was at 10:16 PM ----------

Hmm!

Seems there must be another issue except LAF!:(
[OnePlus 2 Android Development] regalstreak:
Bump. New stable build up! :D Changelog will be edited later. Fixed RIL, camera partially, d2w, added fingerprint scanner code and some more stuff
[OnePlus 2 Android Development] haresh311999:
Will try it now...downloading...will report soon...thanks
[OnePlus 2 Android Development] regalstreak:
Changelog Updated. Go here: http://xdaforums.com/showthread.php?p=64219831
[OnePlus 2 Android Development] Schrotty35:
What is Delta Zips?
[OnePlus 2 Android Development] regalstreak:
Ignore for now. They are incremental updates. Will start providing after testing.
[OnePlus 2 Android Development] Schrotty35:
Which gapps have no problems? Which supersu can i use it?
[OnePlus 2 Android Development] BoRoU:
Thanks for your work!!!
[OnePlus 2 Android Development] hunhool:
Does it mean, the FPS is fully working now?
[OnePlus 2 Android Development] Taker18:
Normaly no!
[OnePlus 2 Android Development] Revanbtk:
No. It doesent work correctly. Only proprietary with no effect, i can`t hear this question anymore. Trust me, Dev say it first, when it works.
[OnePlus 2 Android Development] hunhool:
That's why I'm asking.
[OnePlus 2 Android Development] PetritH:
camera doesn't work here,also I don't find any fingerprint option anywhere..camera fc everytime BTW..thanks for your work
[OnePlus 2 Android Development] philipp21897:
Camera doesn't work here too
[OnePlus 2 Android Development] TermoZour:
This is my personal experience with 20151218 build. I have started to flash the build. At first the build animation is laggy, then the Optimising Apps screen starts. I flashed stock 6.0 arm64 GApps. Then it welcomed me to the Welcome Screen. The SIM got recognised: i entered the PIN. Then it tells me to select a language: i selected English. Then it tells me to connect to a Wi-Fi network: i connect to it and it tells me for a few seconds that i have no internet access, it then recognises the router. It then tells me to Turn on mobile data on SIM 1: I turned it on. Then it tells me :"Got another device ?" and tells me to import my Google data from my account to my "ONE A2003": then i select "Copy your Google Accounts, apps, and data from your other device". Then it turns on BT and it tells me "Sorry, something went wrong":if I select try again it tells me the same error. Then i login with my Google Account. It doesn't ask me for a CM Account. After setting up the phone, i entered on the Play Store and voilla! It works!
[OnePlus 2 Android Development] Uga_boy:
Yeah, the copy programs from another Google device thing from won't work without NFC I don't believe.
[OnePlus 2 Android Development] TermoZour:
It starts Bluetooth, and since the OP2 doesn't have NFC and the build is especially for OP2 i don't see why there would be a NFC functionality on it.
[OnePlus 2 Android Development] Uga_boy:
The pairing is done over NFC by laying one phone on to of the other (just went through it upgrading my wife's nexus 5 to a nexus 5x) then uses Bluetooth to make the data transfers. That part of setup is not CM related, it's Google. I guess the setup program doesn't check capabilities first.
[OnePlus 2 Android Development] Seraph08:
bingo.
[OnePlus 2 Android Development] seangeezy12:
Difference between this build and David? Just curious?
[OnePlus 2 Android Development] fmkaiba:
Any attempt to use GPS causes a soft reboot on device. I am aware this is something others have mentioned, but OP says its fixed ( aka GPS working )

clean 2015-12-18
[OnePlus 2 Android Development] TermoZour:
So it requires both NFC and BT. That would be why it told me that something went wrong. It expected for NFC to turn on but since there is no NFC... Yeah... Thanks for the clarification.
[OnePlus 2 Android Development] regalstreak:
Ooh thanks for pointing out [emoji106]

I was thinking the soft reboots are due to ril. Thnks again! Will update op
[OnePlus 2 Android Development] Utkarsh-ezzo:
Awesome stuff, thanks for your hard and smart work..
[OnePlus 2 Android Development] isoladisegnata:
Why titanium backup dont work?
[OnePlus 2 Android Development] Uga_boy:
GPS working fine for me. I dirty flashed over 12-17.
[OnePlus 2 Android Development] fmkaiba:
Use an app that directly accesses a GPS like "GPS status and toolbox" or gps test, something similar.

Acessing the gps through the location provider service will not cause reboot. BUT will not pull location from GPS, but the wifi/bluetooth detection service.
[OnePlus 2 Android Development] daninantro:
David gives us nightly builds, and regal gives us weekly builds! the rest is same
[OnePlus 2 Android Development] Makrilli:
Titanium backups has many different functions. What is it that is not working for you?

Also I strongly believe whatever the problem is, it's not the roms fault, something might be wrong with root, busybox or tb itself.

Also as a mobile redditor I'd like to thank the devs for getting html5 videos to work on 1812 build.

Sent from my OPT
[OnePlus 2 Android Development] Groh12:
I don't udnestand!?!? Camera work or no?
[OnePlus 2 Android Development] Uga_boy:
So setting the location provider to device only doesn't force it to use the GPS by itself? Regardless, I did install GPS status and toolbox and it does cause a soft reboot.
[OnePlus 2 Android Development] yarpiin:
yup was the same with all previous releases
[OnePlus 2 Android Development] arqueox:
[MENTION=5325978]regalstreak[/MENTION] this build is awesome. But i can't Connect camera. It is partially fixed, but mine has FC... There is a workaround here? But the ROM e very smooth and stable

Everything works well.

Enviado do meu ONE A2003 através de Tapatalk
[OnePlus 2 Android Development] TermoZour:
No. The camera doesn't work for now.
[OnePlus 2 Android Development] regalstreak:
Ok sorry i hadnt added camera source and i expected to work [emoji23] Added fp for next build (you will get to see the option in settings [emoji106] ) And now currently working on camera.
[OnePlus 2 Android Development] Taker18:
Thanks bro keep up got work! ?