yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Original Android Development] dssenthil:
Yeah I did full wipe, then I also tried another cm based rom, same error, so think something else. I'm using oxygen now and connected to all services without any issues. So still puzzled, if my provider blocking initial setup
[OnePlus 2 Original Android Development] JustArchi:
How do you do fellow kids? :cool:

I'm glad somebody is trying to make CM usable on OP2, most likely I'll help and contribute something too later, as I just got a device myself.

Cheers Grarak for what you're doing!
[OnePlus 2 Original Android Development] PedexGaming:
I just noticed that the laser on the back is always on when the display is on. Tried to use search but did not find anything. Nov 10 build.
[OnePlus 2 Original Android Development] Villelj:
Hmm not here. I'm using Google camera and newest build 20151102
[OnePlus 2 Original Android Development] MickyFoley:
[MENTION=5550182]PedexGaming[/MENTION]: This bug isn't resolved in any build, basing on Graraks latest source. Since the laser is on the whole time and won't reset until you do a hard-reboot, it will drain the battery really fast. Last but not least: You won't be able to connect to the camera anymore too. My hope is based on Grarak and many commits to his source from devs, supporting his work :). I'm sure, Christmas will maybe sooner than expected for OPT.
[OnePlus 2 Original Android Development] PedexGaming:
Well, my camera didn't work either and my battery did drain quickly. Will stick with also-buggy Oxygen OS for now though. Hoping for these things to get sorted out.

To all the devs; Keep up your amazing work!
[OnePlus 2 Original Android Development] elandroido:
I have noticed a problem:

I am missing the "call settings" (e.g. supress number).

Normally they are located in options menu of dialer, but they just seem to be not there here... :(

Any ideas how this could be fixed?

P.S.: Thx for the awesome ROM!
[OnePlus 2 Original Android Development] vanessaem:
Hello,

Looks like this thread had to be cleaned again.

1. Please watch your language in here. Profanity is not allowed. We don't want to see it again.

2. All discussions about this rom are to be done here.

No off-topic discussions.

Regards...
[OnePlus 2 Original Android Development] TermoZour:
Is the Fingerprint scanner not working because OnePlus hasn't released the drivers (or whatever they're called) or because the ROM is still beta and Grarak simply wanted to polish other parts of the ROM rather than bringing the Fingerprint sensor to us (considering that many people don't use this ROM mostly because they would lose a very important functionality)
[OnePlus 2 Original Android Development] lalit.kultham:
Because no driver sources released by OnePlus.
[OnePlus 2 Original Android Development] Trickster22:
Carl Pei from Oneplus reacted positively to petition raised for sources for working fingerprint scanner, Laser Autofocus and Se Linux enforcing. And they confirmed the release for Marshmallow update for Oneplus two too. And I wanted to know that why developers are not implementing fingerprint sources for cm12.1 from Lenovo Zuk z1 which has working cm12.1 with working fingerprint scanner ?
[OnePlus 2 Original Android Development] TermoZour:
Indeed the Lenovo Zuk Z1 has FP working on CM12.1 but OP2 has another kernel and FP and you just can't take from Lenovo the drivers and put them in the OP2 because it will just not work. If it was that easy Grarak would already done it.
[OnePlus 2 Original Android Development] neelsolanki:
http://builds.cyngn.com/capps/capps-release.zip

latest c apps for cm... gallery,dialer,new theme engine with per app theme (now it work in new builds),audiofx,etc...

just flash via recovery.. just for info.....
[OnePlus 2 Original Android Development] elandroido:
Another small glitch: after screen unlock, the first homebutton press is ignored... Any subsequent presses work fine...

Anyone else experiencing this? Or maybe it's AK kernel fault?
[OnePlus 2 Original Android Development] TermoZour:
I just flashed it and now no one can call me and every app crashes. Those apps are from CyanogenOS and they don't override the old apps like the phone and the gallery. Until CM12.1 for OP2 isn't finished I suggest that you shouldn't install "C apps"
[OnePlus 2 Original Android Development] spychodelics:
Works flawless here. With stock kernel!
[OnePlus 2 Original Android Development] tbqstp:
Using AK kernel and never experienced such behaviour.
[OnePlus 2 Original Android Development] zeushacker:
Installed, because I wanted to. Increased efficiency of AudioFX, all other apps work flawlessly. No issues found. Install at your own risk.
[OnePlus 2 Original Android Development] elandroido:
Hmmm... Strange... I can't explain this... Because after when using the phone it always works... Only the first try after unlock fails... :(

Can't be a hardware issue though, because it is reproducible by certain steps...
[OnePlus 2 Original Android Development] elandroido:
Okay, problem solved... The issue only occurs when you assign actions to home button long/double press... Now it works also for me... :)

Thanks for the feedback...
[OnePlus 2 Original Android Development] spychodelics:
I have double tap home assigned to menu.
[OnePlus 2 Original Android Development] TermoZour:
[MENTION=4443334]Grarak[/MENTION] you could add on the "Not working list" no slow motion video or time lapse recording.
[OnePlus 2 Original Android Development] Grarak:
people will never learn. closed for next month
[OnePlus 2 Original Android Development] Grarak:
How to fix mac address

Reboot into recovery. Use terminal (adb shell or builtin terminal from TWRP) type in:

mount system

ln -sf /persist/wlan_mac.bin system/etc/firmware/wlan/qca_cld/wlan_mac.bin

reboot

Fix included in latest build
[OnePlus 2 Original Android Development] inffy:
Well any Android 5.1 gapps are fine.

You have to test the themeEngine yourself.
[OnePlus 2 Original Android Development] v7:
Great work [MENTION=4443334]Grarak[/MENTION]!Thanks for the initiative.

Tapped from my lactuca virosa ;)
[OnePlus 2 Original Android Development] pgflying:
here, we got mokee beta.exept the fingerprint have problem, other is perfect.

the source:github.com/MoKee/android_device_oneplus_tocino

github.com/MoKee/android_vendor_oneplus_tocino

github.com/MoKee/android_kernel_oneplus_msm8994

download:

http://download.mokeedev.com/?device=tocino
[OnePlus 2 Original Android Development] Grarak:
https://github.com/Grarak/android_d...mmit/8ece40ebc54b3199f245e59e6cfc16865029477a
[OnePlus 2 Original Android Development] inffy:
Awesome job!

This is looking like a flashable soon :)

---------- Post added at 09:36 ---------- Previous post was at 09:35 ----------

So laser focus etc working too? Only Fingerprint reader not working?
[OnePlus 2 Original Android Development] amritendur:
Thanks a ton for ur effort and work.....
[OnePlus 2 Original Android Development] Skybark:
I´m using euroskank dynamic gapps:

http_://fitsnugly.euroskank.com/?rom=banks&device=gapps

Quite large but working great ;)

---------- Post added at 12:40 PM ---------- Previous post was at 11:53 AM ----------

Besides... if you wwant to use the softkeys instead of the capacitive keys:

Download root explorer.

Open the build.prop file in ./system/

Change the file permissions of build prop to read/write

Add this at the end of the file:

qemu.hw.mainkeys=0

Close, saving changes

Go to Settings, Buttons, Backlight

uncheck Illuminate Buttons

reboot

---------- Post added at 12:46 PM ---------- Previous post was at 12:40 PM ----------

to disable the capacitive buttons (if you want to use softkeys only)

Open the Generic.kl file in ./system/usr/keylayout/

Put a # symbol before the both the following lines:

key 139 MENU VIRTUAL

key 158 BACK VIRTUAL

Save & Close

Reboot
[OnePlus 2 Original Android Development] bormo:
Wow, really appreciate your work!

Looks like we can flash the good old CM on our OP2's soon :)

yeah!!!
[OnePlus 2 Original Android Development] k2wl:
@Grarak can i get a stock oneplus two build.prop from device...looks like there are few region specific versions of this device all have different dtb files as seen in kernel source.... so for plutonium/tocino we have to build specific dtb file ...so basically screenshot of your about in settings should show the hardware version...

arch/arm64/boot/dts/14049_HW_11/ or

arch/arm64/boot/dts/14049_HW_12/ or

arch/arm64/boot/dts/14049_HW_13/ or

arch/arm64/boot/dts/14049_HW_14/

so may be mkbootimg.mk line should be like this

$(hide) $(DTBTOOL) -2 -o $(INSTALLED_DTIMAGE_TARGET) -s $(BOARD_KERNEL_PAGESIZE) -p $(KERNEL_OUT)/scripts/dtc/ $(KERNEL_OUT)/arch/arm64/boot/dts/***hardware version****

so instead of taking up qcom folder by default it will take hardware version folder by default.

UPDATE-

that does not work i try to make a boot.img from source and it does not work

UPDATE 2- i was able to create a bootimage with inline db image creation

http://d-h.st/FBQI

someone with good flashing experience and with proepr backup of current cm rom or stock rom can test it...if that works or not!!!
[OnePlus 2 Original Android Development] Grarak:
Does not boot.

DTS files of all all hw versions should be merged together.

You can simply read out with hw version you have by reading out /sys/project_info/hw_id

arch/arm64/boot/dts is correct
[OnePlus 2 Original Android Development] papi92:
Why are you using codename plutonium when it is lettuce? Im jw your logic.
[OnePlus 2 Original Android Development] Grarak:
lettuce? Lettuce is the name of YU Yuphoria.

https://github.com/cyanogenmod/android_device_yu_lettuce

real codename is oneplus2. but I find it too boring and took this from build.prop

#
# from vendor/oneplus/config/OnePlus2/system.prop
#
#
# system.prop for plutonium
#
[OnePlus 2 Original Android Development] k2wl:
plutonium this is code name for msm8994 in caf device tree

<project name="platform/vendor/qcom/plutonium" path="device/qcom/msm8994"/>
[OnePlus 2 Original Android Development] v7:
Codename is 'Tocino' according to the Mokee download page.

http://download.mokeedev.com/?device=tocino
[OnePlus 2 Original Android Development] inffy:
Or it is just for the China model as there are now three different SKUs for the phones
[OnePlus 2 Original Android Development] v7:
Hmm..I'm not sure.

Tapped from my wild tocino ;)
[OnePlus 2 Original Android Development] Quasar:
Tocino is Spanish for Bacon. ;)
[OnePlus 2 Original Android Development] v7:
The Mokee download page says device=tocino.

Tapped from my wild tocino ;)
[OnePlus 2 Original Android Development] bwells88:
I've been asking the codename question for awhile with no results... Plutonium sounds cool! I'm going to flash this bad boy over the weekend to check it out... Coming along nice.. 8)
[OnePlus 2 Original Android Development] Grarak:
Thanks for the info!

Gonna change name to oneplus2 then.
[OnePlus 2 Original Android Development] shreyas.kukde:
Interesting. I'll wait until the fingerprint scanner is supported. That's the only distinct thing about this and don't want to stop flashing it around :P
[OnePlus 2 Original Android Development] papi92:
I believe in the build.prop for oneplus 2 it says tomato. Ill need to double change.
[OnePlus 2 Original Android Development] Grarak:
Dude tomato is the codename of yu yureka.
[OnePlus 2 Original Android Development] v7:
Code name should be Plutonium/Tocino.Tocino as per Mokee page.
[OnePlus 2 Original Android Development] Grarak:
No it's not.

Plutonium is codename of msm8994 SoC in caf as kw2l said. Tocino is spanish for bacon. None of these names are declared in stock rom neither in kernel sources.
[OnePlus 2 Original Android Development] inffy:
You clearly don't know what you are talking about. Both those are Yu phones codenames
[OnePlus 2 Original Android Development] ilpolpi65:
I saw a video on Android Police about unresponsive home button: someone that flash cyano can tell if the problem persists ?
[OnePlus 2 Original Android Development] papi92:
That video is false and them hating on oneplus for pulling their review units. As long as you touch it it will work
[OnePlus 2 Original Android Development] ilpolpi65:
I don't know if it's false...but I have that problem and I was trying to understand better ...
[OnePlus 2 Original Android Development] inffy:
That is bs. My OP2 doesn't register the home button everytime. But it's only a software problem it seems
[OnePlus 2 Original Android Development] wissenj:
The fingerprint (currently) is in my opinion a major step back. Before I had this phone I hoped this would be a real advantage, but the opposite is true. I would prefer having no fingerprint but a good working capacitive or mechanic button. I am really thinking about selling my phone again due to this.
[OnePlus 2 Original Android Development] Grarak:
New build is up. More infos in OP.
[OnePlus 2 Original Android Development] amritendur:
thanks for the update:)
[OnePlus 2 Original Android Development] ebanreb37:
I really don't have this issue at all. Mine works perfect!

There is just some occasional lags with Oxygen OS and some bugs with facebook that will not load up some content
[OnePlus 2 Original Android Development] Olivier:
So Mokee can't be wrong? ;)
[OnePlus 2 Original Android Development] sambhav14:
Thanks
[OnePlus 2 Original Android Development] papi92:
List of issues I have found that are outside your list

1. No vibration on hardware keys

2. LTE is not working on sim 1. I did change apn etc.

That is all I found. I flashed back to stock. Great work though.

---------- Post added at 09:32 PM ---------- Previous post was at 09:31 PM ----------

This was a clean flash
[OnePlus 2 Original Android Development] Grarak:
1. Not an issue

2. Works for me
[OnePlus 2 Original Android Development] papi92:
Can you elaborate? How can I turn in the vibration? I was under the impression hardware keys are suppose to function the same as stock.
[OnePlus 2 Original Android Development] bwells88:
Download not working... Was going to give this a go... 8)
[OnePlus 2 Original Android Development] Nick502:
https://basketbuild.com/filedl/devs?dev=Grarak&dl=Grarak/cm-12.1-20150828-UNOFFICIAL-oneplus2.zip
[OnePlus 2 Original Android Development] dlhxr:
That's good. I asked official oneplus staff. They said oneplus2's code name is exactly oneplus2....

And i try to build cm12.1 for oneplus2, but failed...

I sync all the cm staff and with your device tree, kernel and vendor files.

<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="CyanogenMod/android_device_oppo_common" path="device/oppo/common" remote="github" />
<project name="TheMuppets/proprietary_vendor_oppo" path="vendor/oppo" remote="github" />
<project name="Grarak/android_device_oneplus_oneplus2" path="device/oneplus/oneplus2" remote="github" />
<project name="Grarak/android_kernel_oneplus_msm8994" path="kernel/oneplus/msm8994" remote="github" />
<project name="Grarak/proprietary_vendor_oneplus" path="vendor/oneplus" remote="github" />

But it always says "non-existing device tree" and fails to build.

Could you please give me a hint how can i manage to build the cm12.1 for oneplus2?

I have the experience building cm for oneplus one before~
[OnePlus 2 Original Android Development] Schrauff:
In this build is the diagnostic interface for ADB enabled?

Does the modem appear in device manager when you are connected over ADB and enter this command: setprop sys.usb.config diag,adb
[OnePlus 2 Original Android Development] TheDj408:
I've tested it for more than 2 days and its stable enough for me already!!

I wish that even the OnePlus Two had official Cyanogen OS support, what do you think?

Here is my full video about CM12.1 for OP2! If you have any doubts let me know :)

Huge thanks [MENTION=4443334]Grarak[/MENTION] for the development!!

[YOUTUBE]b2Xn0rqWt94[/YOUTUBE]
[OnePlus 2 Original Android Development] chris264:
Good Morning. Thanks for the video. Cm looks really good already. Did you have any crashes or FC? Have you tested the Themes? Nice greetings

OnePlus 2
[OnePlus 2 Original Android Development] bwells88:
I flashed it with TBO clear gapps and it is definitely a beauty.. Only real issue I had was a Google Play Services problem... The gapps are 5.1 for sure... It wouldn't let me update the issue. Because of that Gmail wouldn't sync... I'll mess with it more tomorrow for sure... 8)

Say what you want about the 810 chip but it's freakn' fast in recovery!
[OnePlus 2 Original Android Development] Grarak:
Please only use the 4 sources given in the OP!
[OnePlus 2 Original Android Development] dlhxr:
the four sources in the OP are all included in my local manifest xml file....

But lunch command still gives me the warning nonexsist device tree?

Anyway it is building on my laptop now. Hope it is just a warning. Since the device tree is actually sourced knowing from building log screen.

Thank you for your effort building the device tree and bring cm 12.1 to us.
[OnePlus 2 Original Android Development] Grarak:
Setting->Accounts->Google->Turn on Gmail sync

That shouldn't be a problem I think
[OnePlus 2 Original Android Development] TheDj408:
No force cloases! Theme engine works superb! I showed that in video too :)
[OnePlus 2 Original Android Development] k2wl:
it gives that waring because it unofficial build...existant device trees are in cm official github page
[OnePlus 2 Original Android Development] Kiran Anto:
Right.. Nice to see you . k2wl..
[MENTION=943196]k2wl[/MENTION] thanks for developing on cm base for mi4i.
[OnePlus 2 Original Android Development] secXces_debaki:
Battery compared to oxygen?

Gesendet von meinem ONE A2001 mit Tapatalk
[OnePlus 2 Original Android Development] amritendur:
Will always be better, as Cygn is god of OS's :D
[OnePlus 2 Original Android Development] Quasar:
It really depends on the device maintainer. Also, CyngnOS != CyanogenMod.
[OnePlus 2 Original Android Development] Swatto86:
Awesome, definitely going to give this a try, I have a couple of questions:

Does dual sim work?

Do you think fingerprint scanning will eventually get fixed or is there something hindering this?

Great job on developing this so quickly!
[OnePlus 2 Original Android Development] k2wl:
i am just looking around and come by this thread...did you bought oneplus2???

your yureka was broke ????
[OnePlus 2 Original Android Development] bwells88:
Thanks... Is the play services happening for everyone?
[OnePlus 2 Original Android Development] chris264:
Can I import my backup at any time? Oxygen OS. Or it leads to problems? Has someone already tested?

OnePlus 2
[OnePlus 2 Original Android Development] inffy:
sigh...you can restore nandroid backup through TWRP anytime you want.
[OnePlus 2 Original Android Development] bwells88:
Fixed the play services issue by flashing a newer gapps version... Gmail was set up to sync but the play services was stopping it. Looking pretty nice right now!
[OnePlus 2 Original Android Development] fmotta:
Could you please point to a link for this version?

Inviato dal mio ONE A2001 utilizzando Tapatalk
[OnePlus 2 Original Android Development] thetechnologician:
Love your work, wish I could port to devices too :/

I was wondering if you could tell me which files are related to the Alert Slider
[OnePlus 2 Original Android Development] bwells88:
It's a TBO test version so I'll ask the boys if I can share it... 8)

---------- Post added at 07:54 PM ---------- Previous post was at 07:46 PM ----------

Have a look here and see if they dropped a link... Cheers

http://xdaforums.com/showthread.php?t=2283828

Team Black Out Presents...The Dark Side...Blacked Out Apps
[OnePlus 2 Original Android Development] dilgit:
Thanks OP for giving us CM 12/1 for OP2... Just one question: Is it possible to enable

native call recording on this ROM?
[OnePlus 2 Original Android Development] centaur567:
Hello does this ROM get OTAs as well or does the Update need to be flashed manually?
[OnePlus 2 Original Android Development] Kiran Anto:
No bro still using my broken Yureka...

I dont own oneplus2... and so was the case for mi 4i . and other phones./.
[OnePlus 2 Original Android Development] papi92:
Does anyone know how to turn on vibration on keypresses? I would love to get that going.
[OnePlus 2 Original Android Development] kalvin91:
No more "Double Tap" to wake up ?

When I leave my phone with the screen locked for a while i get an issue where i cannot turn on via the Home button.
[OnePlus 2 Original Android Development] fmotta:
Same here. And same bug also with Mokee version.

Inviato dal mio ONE A2001 utilizzando Tapatalk
[OnePlus 2 Original Android Development] centaur567:
Yup I'm having the same issue. Home button is very finicky as such. Works occasionally but not most of the time.

Another strange one I'm having is notification light is static rather than breathing.
[OnePlus 2 Original Android Development] SferaDev:
Codename should be taco, there were a few internal codenames but the last one I'm aware of is: 'taco'.
[OnePlus 2 Original Android Development] Grarak:
According to props it should be OnePlus2

[ro.product.device]: [OnePlus2]

But well codename doesn't matter anyway. I will stick with oneplus2 now.
[OnePlus 2 Original Android Development] reyrey1704:
What is with the battery drain?is it better than woth oxygen?

Gesendet von meinem ONE A2003 mit Tapatalk
[OnePlus 2 Original Android Development] secXces_debaki:
2 hours of screen from 90% to 40%.

It's the first cycle and some wakelocks I don't block today, and only with hsdap not lte.

So compared to oxygen I think u have here more, it's smoother just the apps close and opening looks strange.

At the first boot I had a sod, after reboot they don't recognize the sim card. After a reboot again, all was fine again.

Gesendet von meinem ONE A2001 mit Tapatalk
[OnePlus 2 Original Android Development] jetdite:
I can confirm this issue. It's like the home button turns itself off after a while.
[OnePlus 2 Original Android Development] Grarak:
New build. More infos in OP
[OnePlus 2 Original Android Development] k2wl:
please someone test below boot.img

http://www.mediafire.com/?7u3549t9h96yfp5
[OnePlus 2 Original Android Development] schoolsux:
Wow already! Nice work. Maybie I should sell my ****sung S6, and buy a OnePlus 2 instead... flashing interest and wallet is both ready - just need an invite ^^ Sigh.
[OnePlus 2 Original Android Development] buradd:
Omggggg I am DYING for a damn invite.. Still using my HTC One XL.. I NEED upgradez!!!! ;(
[OnePlus 2 Original Android Development] lAndroXl:
Schön, auch mal Österreicher am Werk zu sehen :)
[OnePlus 2 Original Android Development] v7:
Deleted
[OnePlus 2 Original Android Development] Quasar:
Don't advertise other ROMs on ROM threads.
[OnePlus 2 Original Android Development] v7:
I didn't mean any advertising.Wanted to share the news :) Post edited!

Tapped from my ①+②=❸ ;)
[OnePlus 2 Original Android Development] k2wl:
please someone with oneplus 2 on cm-12.1 use this bootimg ...it has source compiled dt.img in it by

@KonstaT over modaco forum...it worked fine on my friend's oneplus2 but he is unfortunately on trip so cant share a screenshot...please someone else share a screenshot that it is working on cm-12.1

here is thread link to modaco thread

http://www.modaco.com/forums/topic/...ompile-dt-img-from-kernel-source-of-oneplus2/
[OnePlus 2 Original Android Development] aniket.lamba:
Anybody willing to test a new ROM for OnePlus Two? PM me for the links.
[OnePlus 2 Original Android Development] nerotix:
Hows the delay on CM12.1 compared to OxygenOS when pressing the home button? It seems to delay quite a lot on OxygenOS.
[OnePlus 2 Original Android Development] gavin-phelan:
Fingerprint working yet?
[OnePlus 2 Original Android Development] zeyaan:
It's amazing to see development so quick; however, I will wait until slow motion recording and fingerprint is integrated into the Rom. The one reason why I choose OPT. Thanks again for the development.
[OnePlus 2 Original Android Development] bwells88:
Haha... Glad to see my pictures really making the rounds... Those screen shots are of my cell while testing for Martin... Cool...