yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Original Android Development] softsaurus:
Hi all, I found a solution to my issue posted above. Might be useful for others as well. The config file for the capacitive buttons has been moved to '/system/usr/keylayout/synaptics.kl' in the latest build. So you just have to switch these two button values and you're good! Loving it all now! :D.
[OnePlus 2 Original Android Development] Grarak:
Known issue will rewrite my code in kernel

Dude there is even an option in gesture settings to swap the buttons.
[OnePlus 2 Original Android Development] Grarak:
So need some help from you guys.

I need at least three people all with different variants (A2001/A2003/A2005).

Please flash stock oxygen rom and download android terminal from store.

Then type in:

getprop > /sdcard/info.txt
cat /proc/cmdline >> /sdcard/info.txt

Then send me the file and tell me which variant you have.
[OnePlus 2 Original Android Development] IM-MD6:
I have an A2001 and i can do it tomorrow for you!!!
[OnePlus 2 Original Android Development] v7:
[MENTION=4443334]Grarak[/MENTION] Executing the commands yielded only one file(info.txt).I edited the second command output to info1.txt.

I'm having A2003!
[OnePlus 2 Original Android Development] Gjdass:
Here it is : https://drive.google.com/file/d/0B_BCXM8N3imbZU1GTDVFVktkcXM/view?usp=docslist_api

A2003 on Oxygen 2.1
[OnePlus 2 Original Android Development] VelosCohagen:
Is dual sim working with this ROM?

Gesendet von meinem HTC One M9 mit Tapatalk
[OnePlus 2 Original Android Development] Gjdass:
In fact i think it's normal to have one file because of the ">>" ;)
[OnePlus 2 Original Android Development] IM-MD6:
Sorry....i meant i have an A2003....my fault
[OnePlus 2 Original Android Development] v7:
He said 2 files,that's why I renamed the file.

Tapped from my ❶+❷ ;)
[OnePlus 2 Original Android Development] softsaurus:
Hi Garak, that's amazing and pretty stupid of me to have missed this :P I looked pretty much everywhere but the gesture menu.. *feeling dumb* thanks for including this though! It's great to have choice! Maybe my post isn't entirely useless since other ROMS might not include such a setting.

Thanks for your reply and all your hard work.
[OnePlus 2 Original Android Development] ixomon:
I'm on A0005 with two Sims working (Taiwan & Thailand). I can do that hopefully tomorrow.

Cheers and thanks for the support on bringing CM to this phone
[OnePlus 2 Original Android Development] benschhold:
Another 2003 info file sir
[OnePlus 2 Original Android Development] rosswaa:
I have a A2003, what's the differences? Is it a region thing?
[OnePlus 2 Original Android Development] Gjdass:
A2001 => Chinses version

A2003 => European version

A2005 => US version
[OnePlus 2 Original Android Development] SkandaH:
My friend has confirmed me - Indian variant is also A2003.
[OnePlus 2 Original Android Development] Tuxi1990:
I'm in Germany, odered from official oneplus page and my settings sais: One A2001

:| does that mean I get a wrong version?

Edit: I restored stock ROM and get the A2003 in system settings... So everything is fine :D maybe it is wrong titled in cm
[OnePlus 2 Original Android Development] Guihardrock:
I have an A2001 so here you go :3 but what is this for? Maybe a fix for lte?

Enviado desde mi ONE A2001 usando XDA Forums Pro.
[OnePlus 2 Original Android Development] Aar_on:
Here you go good sir:

http://pastebin.com/u2y3sWaX

A2005
[OnePlus 2 Original Android Development] Toxic17:
Does PhotoSphere (Google Camera) work with this ROM? In OxygenOS 2.1 I cannot get to a complete a full photosphere picture.
[OnePlus 2 Original Android Development] diogoperas:
Does dual-sim work in CM? Can't find anything about that in this thread.
[OnePlus 2 Original Android Development] chetz87:
Yes it works..
[OnePlus 2 Original Android Development] zeushacker:
Hi [MENTION=2879148]garak[/MENTION]

Thank you for your builds for the OnePlus 2, it wasn't really good phone without CM12.

The bugs I have found are just things you're working on, so that's fine. I though I would mention that after the 27/0/15 build, the capacitive keys just stop... without warning and completely, requires a reboot to reinitialize.

Apart from that I'm really really happy with this.

Many thanks again.
[OnePlus 2 Original Android Development] byackee:
For me when enable and disable virtual buttons, the capacitive key works.

Envoyé de mon ONE A2001 en utilisant Tapatalk
[OnePlus 2 Original Android Development] IM-MD6:
Same problem here.......
[OnePlus 2 Original Android Development] QuickHonda:
Is the laser focus something that can eventually get fixed or does it use some stupid proprietary driver? Forgive me if this has been discussed already but I just got my invite and don't have much time to do my research research.
[OnePlus 2 Original Android Development] LiquidSolstice:
Most developers are still getting their hands on this phone. We don't even have an official maintainer yet. I know you don't have much time to buy, but I'm pretty confident things will pick up steam rapidly.
[OnePlus 2 Original Android Development] :
I started getting a bootloop on the latest build. It happened randomly when I was at the home screen. Upon reboot, the home screen would load fine, then after a few seconds the phone would reboot. Foreshadowed by com.android.phone process force closing hours earlier.

I think it happened after I enabled LTE in the settings.

ALSO: I have an A2005 on Oxygen however this CM 12.1 build showed A2001. Not sure why.
[OnePlus 2 Original Android Development] riyaz045:
Thanks garak for such a wonderful build.

One more thing. I own a mi xiaomi piston (earphone), the volume control were not working in oxygen os and incredibly working in cyanogen. Thanks
[OnePlus 2 Original Android Development] Grarak:
New build is up. More info in OP.

Possible LTE fix for users who have problems.

Good news: I can go home everyday now. So I can work daily on the builds.
[OnePlus 2 Original Android Development] nielsscholte:
Awesome man! :good:
[OnePlus 2 Original Android Development] jellis24:
Excellent news! Testing now!

EDIT: Device is correctly shown as ONE A2005 and LTE WORKS!! Awesome work!!! Speedtest confirms LTE speeds also. I am using Cricket Wireless (AT&T) in the US.
[OnePlus 2 Original Android Development] Claudiu1:
Very good news! :) Now waiting for last fixes :P
[OnePlus 2 Original Android Development] return.of.octobot:
Damn Grarak, you've been absolutely instrumental in the early stages of OP2 development, most if not all other ROMs current available for the device owe their functionality to your hard work. I remember reading that you weren't going to correct the LTE issue for variants outside of your own, yet it looks like you may have done just that. Just wanted to say thank you, for everything. Expect a donation as soon as I have the funds available to do so.
[OnePlus 2 Original Android Development] ripv2:
Your the best man! Thanks for putting so much time into this project! Expect a donation when I get my next paycheck :good::good:
[OnePlus 2 Original Android Development] VoRtAn_MaDgE:
Any expected date for the missing features :

- Fingerprint

- Laser Autofocus

- Enforcing selinux

Keep up the excellent work Grarak ;)

Enviado do meu ONE A2003 através de Tapatalk
[OnePlus 2 Original Android Development] return.of.octobot:
Ffs the print scanning and autofocus implementation is beyond Grarak's control, it's highly unlikely that there will be a solution to this prior to marshmallow. How this isn't common knowledge at this point is beyond me, or is it just that people assume the likelyhood increases each time they ask about it. If you can't live without it then no custom ROMs for you.
[OnePlus 2 Original Android Development] giaur:
What about official nightlies for opt? Is there any cm's stance?
[OnePlus 2 Original Android Development] airtower:
they will come eventually
[OnePlus 2 Original Android Development] return.of.octobot:
Should I be alarmed the my notification slider isn't working on the current 9/29 build? If so, I guess the follow up question would be, does it have anything to do with the fact that I'm running AK?
[OnePlus 2 Original Android Development] PhillyFlyer:
God bless you, my son. WOOOOOHOOOO... LTE
[OnePlus 2 Original Android Development] ripv2:
I think Ak might be culprit. I experienced some issues with the recents button while using AK, so I dirty flashed back to CM kernel and the issues went away.
[OnePlus 2 Original Android Development] kilian7th:
It's not AK, I don't use it and I have a problem with the google bar that is not active normally, it is displayed now but not correctly displayed and I can not disable it...
[OnePlus 2 Original Android Development] cedric1918:
Sounds maybe stupid but would like to have your feedbakc on the following prior flashing :

- Laser Autofocus - Do you see a significant loss in Autofocus Quality/speed ?

- Enforcing selinux - what is the imapct over daily usage ?

- Fingerpting I don't really care
[OnePlus 2 Original Android Development] :
Trebuchet crashes on icon longpress with the latest build, at least for me.
[OnePlus 2 Original Android Development] galza:
installed latest build and i must say everything that important to me has fixed but one issue still bothering me and its the slow wifi speeds..any fix for that soon? after it will be fixed the rom would be the best for me so far

cheers dev
[OnePlus 2 Original Android Development] Skybark:
just flashed the ROM and it boots up nicely.

Very fast / highly responsive :good:

Looking forward to WiFi & Cell Support.

Just let me know if there are things you need tested...
[OnePlus 2 Original Android Development] RohanAJoshi:
Yes, please share source..

And if guys both doing cm then why not be team and make common git account for op2 cm ?

It would be very nice..

Thank you..
[OnePlus 2 Original Android Development] magura320:
http_s://yadi.sk/d/9FwGy9tyieqbf - its ok?

Can"t post link, sorry
[OnePlus 2 Original Android Development] alex1301:
Sorry to say that, but it´s also slow as hell.
[OnePlus 2 Original Android Development] jamesst20:
Well I have 1MB/s here (Canada) which is about 10 minutes of download, not that bad.

I am not going to test it yet as my OnePlus 2 is currently my daily driver, but as soon as all features are working, I will
[OnePlus 2 Original Android Development] alex1301:
So can you pls reupload it to MEGA?
[OnePlus 2 Original Android Development] jamesst20:
Yes, hold on

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

Sorry, no MEGA it wouldn't let me log in (infinite loading). Anyway, AndroidFileHost is good too https://www.androidfilehost.com/?fid=24052804347801248
[OnePlus 2 Original Android Development] Zyxxeil:
What kernel do we use? I've tried the one from OP and oxygen neither boot?
[OnePlus 2 Original Android Development] jamesst20:
As I said before, I wont be trying this build :) I only have reuploaded the zip

Envoyé de mon ONE A2005 en utilisant Tapatalk
[OnePlus 2 Original Android Development] screamor:
Here we go. Thats what i want to see. Start of developing. Now i am waiting still for my invite....
[OnePlus 2 Original Android Development] krishna442:
Thank you so much.
[OnePlus 2 Original Android Development] Grarak:
thanks to [MENTION=1942250]lackyking[/MENTION] !

With this CM build, I managed to fix audio, ril, sensors.

unfortunately camera now needs work.

wifi and bluetooth are fixed too

EDIT: Camera only works without force closing when laser autofocus blobs are removed.
[OnePlus 2 Original Android Development] chris264:
Good evening, the Cm ThemeEngine goes well? Nice greetings

OnePlus 2
[OnePlus 2 Original Android Development] Skybark:
So the SIM / Cell works in this build?

Didn´t recognize my SIM cards in the first build.

Will test it as soon as it gets uploaded ;)

Keep up the good work :good:
[OnePlus 2 Original Android Development] Grarak:
In the next build. I am still testing things.
[OnePlus 2 Original Android Development] Grarak:
New ROM released. Check out OP
[OnePlus 2 Original Android Development] Jeisblack:
[MENTION=4443334]Grarak[/MENTION] Thanks man for your work! I can not flash it yet because i use it for daily driver. Will the Fingerprint Sensor work in the future? And what about the camera quality in the next builds that you are preparing!
[OnePlus 2 Original Android Development] lackyking:
Great!

how do you force to close the laser AF?
[OnePlus 2 Original Android Development] chetasus:
[MENTION=4443334]Grarak[/MENTION] good work mate.

Got my OP2 today. will unlock boot-loader and flash this.
[OnePlus 2 Original Android Development] chris264:
What Gapps you should take? Nice greetings and thanks for the work. Must ask again whether the ThemeEngine goes ;)

OnePlus 2
[OnePlus 2 Original Android Development] fmotta:
Thanks [MENTION=4443334]Grarak[/MENTION]

I noticed that hardware buttons are irresponsive after some time of deep sleep.

I know this was pointed out before but I wanted to inform you that I have the same issue also on latest build

Inviato dal mio ONE A2001 utilizzando Tapatalk
[OnePlus 2 Original Android Development] Toxic17:
could someone please test Google Camera's PhotoSphere for me, I need to know if this works in CM12.1 before i move to CM

thank you
[OnePlus 2 Original Android Development] far3ll:
Had the same problem with app icons and widgets, so I used a backup from my OPO by titanium (trebuchet_v1.0 or something) and it worked flawless ;)

For more intense colours and a higher contrast like it was on my OPO I used the options in Kernel Audiutor (@Grarak great work BTW).

So thanks for the awsome work and keep on coding ;)

Grüße aus dem sonnigen Tirol
[OnePlus 2 Original Android Development] Stefan2917:
Some bugs

Hello i flashed your rom. And i got some bugs.

If i choose LTE my OPT makes all 10 seconds a restart. I have to choose 3G and it works.

Every hour i have to restart my OPT because the homebutton and the other 2 buttons doesn't work.

Sorry because of my bad english
[OnePlus 2 Original Android Development] ripv2:
What build did you flash? The most recent one (09292015)?
[OnePlus 2 Original Android Development] adyscorpius:
Does QR Code reading work for anyone? Like Web Whatsapp or Barcode Scanner?
[OnePlus 2 Original Android Development] jellis24:
PhotoSphere goes all the way to the last point and will not complete the sphere. You're only option at that point is to discard the photosphere and then the camera app crashes. Not the answer you were hoping for, I'm sure.

---------- Post added at 12:01 PM ---------- Previous post was at 11:59 AM ----------

I just tested barcode scanner and it does not work with the camera. It seems that the image freezes as soon as it starts and hangs the app.
[OnePlus 2 Original Android Development] jonwalton:
+1 barcode scanner hangs
[OnePlus 2 Original Android Development] Stefan2917:
I flashed the latest version 29092015.

Now LTE is working.

If the Buttons work i have to try it.

What aubout the Notification LED Colours? I cant change the colours for Apps. And if i go into the Home screen settings i want the grid size Cozy. I choosed this option but it doesn´t work. Its only 4x4 and i like 5x5. what can i do?
[OnePlus 2 Original Android Development] Magnum_Enforcer:
Thread cleaned.

Guys and gals, this is a development thread. If your post isn't relevant to the development of this particular ROM, then consider not posting.

Cheers

Magnum_Enforcer

FSM
[OnePlus 2 Original Android Development] irishboym4:
I've noticed the check box for double tap to wake is missing from the gestures panel. I can't find a way to enable it. Otherwise this Rom is great! Thanks for everyone's solid work!
[OnePlus 2 Original Android Development] OmegaBlaze:
Flash AK kernel and use Kernel Editor
[OnePlus 2 Original Android Development] Grarak:
How is it possible that you can't find this
[OnePlus 2 Original Android Development] marlow925:
I installed the latest ( 20151003 ) yesterday. Can't get OTG USB Storage to work. Anyone else seen this issue ?

Confirmed the same USB key working on OPO Cyanogen 12.1

/M
[OnePlus 2 Original Android Development] veaz:
Some german people are discussing problems with OTG and cables here: https://forums.oneplus.net/threads/opt-otg-usb-type-c.371737/

I think this might not be a problem of CM12 but maybe of the adapter? How can you use the same one with the OPO and OP2? It's USB Micro B vs USB C...

//EDIT: gerfjb of OP-Forums posted:
[OnePlus 2 Original Android Development] marlow925:
I'm using the USB-C adapter from One Plus and a USB key with microUSB connector. Actually the same SanDisk Ultra 64 GB Dual USB Flash-Drive USB 2.0 as mentioned above.

Also, it was being recognized on OxygenOS before using the same setup, once I enabled OTG Storage. I have to say though, that it was stuck in error checking when connected under OxygenOS. I didn't bother to wait for long. Didn't need it for backup. It's not detected under CM12.1 at all.

I will try with some other OTG Storage and revert.

/M
[OnePlus 2 Original Android Development] paha77:
Will it (or will be) ever an official Cyanogenmod release?
[OnePlus 2 Original Android Development] marlow925:
That shouldn't really matter. But in the past, Grarak would have been involved in for example the HTC Desire 816 port of Cyanogenmod. That also started as unofficial port and matured into an official port later on. This is early days.

/M

---------- Post added at 02:40 PM ---------- Previous post was at 02:24 PM ----------

So,

I have confirmed this now: CM12.1 on OPT does not pick up on any USB Storage device at all. I've tested with a USB1, USB2 and USB3 device used the official OnePlus USB-C converter.

It was picking up on the USB Storage devices under Oxygen, so something has to be different.

The german discussion, you are quoting, specifies that only some devices don't work, while other do. This is different.

/M
[OnePlus 2 Original Android Development] paha77:
Thank you for the info. The reason I'm asking is that I'm absolutely confused with my Oneplus 2 or at least with Oxygen OS. I've had the latest Cyanogenmod on my Oneplus One and also on my Nexus 5 and I was 100% satisfied with it. Right now I miss so many features from OxygenOS and if this phone were not a dual sim phone, I'd sell it immediately. :cowboy: So my only hope with it is a stable version of Cyanogenmod.
[OnePlus 2 Original Android Development] zRaR3:
For these people who are interested in the process Grarak does: https://twitter.com/Grarak

Maybe some pointless questions can be avoided.

Keep going [MENTION=4443334]Grarak[/MENTION]!
[OnePlus 2 Original Android Development] Neo:
Thread cleaned... Again..

So here's the deal:

If you have found a problem with the rom, unless the OP states otherwise, you need to provide a logcat or as detailed an explanation as you can muster. Statements simply stating "this is broke" don't work here and only cause aggravation to all.

Additionally, let the mods do their job. It is the responsibility of no one else to correct and guide members on XDA so that ends now.

I want to see nothing less than that of clean on topic conversation and useful posts with at least some form of substance to them. I will not hesitate to grant some obviously needed time off from XDA should you choose to continue bantering after my psa here, mmmk? ;)

Have a nice day,

Neo

Senior Moderator
[OnePlus 2 Original Android Development] RohanAJoshi:
[MENTION=4443334]Grarak[/MENTION] :

Something about fingerprint sensor, might be helpful.

http://xdaforums.com/showpost.php?p=63193912&postcount=19

.

Commit : https://github.com/CyanogenMod/andr...mmit/913f6fcadcf0f3b8092b26e553a7a1fc3e939d08

.

Dev also solved enforcing selinux.
[OnePlus 2 Original Android Development] enr88:
[MENTION=4443334]Grarak[/MENTION] already merged it into cm12.1 exp for OP2 maybe something could move in the next few days ;)

Inviato dal mio ONE A2003 utilizzando Tapatalk
[OnePlus 2 Original Android Development] mysterio619:
But I heard he mentioned its not working in a tweet.....let's wait and see
[OnePlus 2 Original Android Development] johnthepig:
SIM card is not detected when turning airplane mode on and off again.

Running 12.1-20151003-UNOFFICIAL-oneplus 2 build with the kernel shipping with the rom. I've attached Catlog output.
[OnePlus 2 Original Android Development] depii:
Camerabug logcat

The Camerabug is already known. If used by 3rd party apps, camera freezes, cpu get's hot and device is unresponsive (snapchat, barcodescanners).

Here is my logcat after a fresh reboot and opening snapchat (running cm-12.1-20151003-UNOFFICIAL-oneplus2). Perhaps it is useful for the devs. Thank you!
[OnePlus 2 Original Android Development] zige:
Can someone say if this rom has notification header picture option?

So there is stock camera app on this rom which is working with Snap, etc?
[OnePlus 2 Original Android Development] LiquidSolstice:
Notification header picture is not a native CM option. This is pure CyanogenMod. Additionally, this ROM is in a very early stage and unless you have bug reports to contribute, you should not be using it at all, much less asking if features are functioning. Hopefully you understand.
[OnePlus 2 Original Android Development] marlow925:
It looks like adb support is not enabled in the current builds.

Attached logcat output. Device does not show up on host computer even after issueing adb kill-server/start-server. Android debugging enabled, USB in media-device mode. Even root for apps and adb enabled. Build 2015-10-03 on the phone. Other devices showing up on host computer without problems. Media of OnePlus 2 also showing up no problem.

/M
[OnePlus 2 Original Android Development] depii:
Please update your platform-tools. I had this problem, too. An update fix this.
[OnePlus 2 Original Android Development] marlow925:
I'm on Android Debug Bridge version 1.0.32. (On Ubuntu, but manually updated from 1.0.31 to 1.0.32)

- Fastboot works no problem.

- I've tried to hang a passive USB2 hub between the phone and the computer, even that doesn't make a difference. (to avoid the USB3 bug)

- Tried another computer, made sure to use the USB2 port and not the USB3 port.

No adb. Fastboot no problem. And i've tried as well with the original supplied cable of One Plus and a generic USB cable with the genuine One Plus USB-C converter.

Oh. And my Note 4 on CM12.1 is detected just fine by both computers, hence why I'm puzzled that the One Plus 2 isn't.

/M
[OnePlus 2 Original Android Development] Naman Bhalla:
Try this :- http://xdaforums.com/showthread.php?t=3218332
[OnePlus 2 Original Android Development] sunshine333:
This worked for me in solving the same problem you have described.
[OnePlus 2 Original Android Development] marlow925:
I have the vendor id's in udev. That's the same thing as what that link describes for Windows. Still not working. ADB over tcp/ip works. So adb is there, but there's something not right with using it over USB.

Either way, I'm going to try it on a Windows PC later, when I can get a lend of one.

/M
[OnePlus 2 Original Android Development] marlow925:
SOLVED !! I found out, that there also exists a ˝/.android/adb_usb.ini file on Linux . Has the same format as the Windows file. Added the Vendor ID there, now adb is also working over USB.

/M
[OnePlus 2 Original Android Development] jackeagle:
Mod Edit

Thread Cleaned.

Members stay within the topic of this thread and stop asking ETA of any kind. Respect and be polite with fellow members. if you have any issues over a post just REPORT and do not reply those with flaming replies which will simply get you in trouble.

consider this has warning and if any further such things happen it will be handled strictly.

jackeagle,

Forum Moderator
[OnePlus 2 Original Android Development] LiquidSolstice:
I realize that people are excited to know more about progress and eager to see what's going on. The beauty of GitHub (which Grarak is using to host his code), is that you can see what he's doing changelog-style. He links to his GitHub repo in the OP, but if you'd like a direct link to the timestamped changes log, feel free to bookmark this: https://github.com/Grarak/android_device_oneplus_oneplus2/commits/cm-13.0-exp

When it's ready, it'll be be ready. But at least you can see how it's going!