yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Original Android Development] Diap:
Hello,

I come to you to report to you on two bugs.

The first : the camera does not work when apareil apps called. the barcode scanner does not work for example, and the phone freezes.

The second : it is the focntions double tap, V etc ... the gesture focntions on the screen are not present ...

Thank you very much for your work.
[OnePlus 2 Original Android Development] OldDroid:
LTE works here for me in Germany - using 1und1/eplus/o2 ...

On Oxygen and this cm ;)
[OnePlus 2 Original Android Development] ibilln:
Seems like there are US LTE problems. Have seen complaints in other threads + this, that any CM rom on OPT just does not do LTE in the US. T-Mobile, ATT, other.

This is an observation, not a statistically sound finding...
[OnePlus 2 Original Android Development] airtower:
Definitely seems like a band issue. The only LTE band North America and Europe share is band 7 and only used in Canada. Anyone on Rogers or bell have working LTE?
[OnePlus 2 Original Android Development] Tuxi1990:
Where can I get 64bit gapps? I can't find some which are working. I get Error code 64
[OnePlus 2 Original Android Development] softsaurus:
http://www.opengapps.org
[OnePlus 2 Original Android Development] PorkusPieus:
Feedback for Grarak, I've been messing with setting for LTE - EE UK & now I do have LTE working. Please keep up the good work it's looking good. Thx
[OnePlus 2 Original Android Development] chakra:
I have an invite if you need one. Pm me.
[OnePlus 2 Original Android Development] ppsa:
I hope to see an official asap
[OnePlus 2 Original Android Development] ArkAngel06:
Back button is on the right and recents on the left??? That's so wrong. At the very least, there needs to be an option to reverse.

Also, it would be nice if when the notification slider changes states, there is a quick haptic feedback like OxygenOS does.
[OnePlus 2 Original Android Development] :
Thread cleaned.

Yes, Asking a developer to work faster is disrespectful. And so are some other things I've cleaned.

So please, post respectfully or don't post. And if you see anyone breaking rules, including disrespecting developers, or any member..... Just hit report. No need to comment.

Let's keep it civil! :good:

Darth

Forum Moderator
[OnePlus 2 Original Android Development] napes22:
Those things will come when the rom gets more built out. For now the main focus is getting LTE to work. Just gotta be patient.
[OnePlus 2 Original Android Development] kilian7th:
Working as daily ROM for me, even if it's not perfect it works better than oxygen, thanks a lot Grarak
[OnePlus 2 Original Android Development] milestone2mod:
I already got my device on Friday morning, but it lags like sh*it. My Nexus 5 on M Developer Preview 3 feels much smoother than the Two. I´m really disappointed. Updated to OxygenOS 2.0.2, tried Sandy kernel and Despair Kernel, teaked gov and hotplug settings a little, still the same result. It´s just bugging me so hard :(

Here´s a "proof" for the lag: https://goo.gl/photos/y4yuLFeeu6KSkd4o8
[OnePlus 2 Original Android Development] Tuxi1990:
When I change "prefered Network" 3g to LTE (prefered) my phone reboots continuously. After restoring a backup where 3g is selected, the phone works fine. Is LTE not working yet?
[OnePlus 2 Original Android Development] Florie1706:
Same Problem like I have -> http://xdaforums.com/showpost.php?p=62862341&postcount=241
[OnePlus 2 Original Android Development] ibilln:
LTE in the US / CSM is not working on any CM rom, AFAIK. ATT/T-Mo. . .

The issue is probably a band or two which is not supported by the code blob for the radio that the devs have access to. I've thought about trying to extract the radio from the Oxygen OS and replace the CM-provided radio with it. But the various devs know about the problem, so...
[OnePlus 2 Original Android Development] Chris123NT:
The ROM has no bearing on the modem flashed to the phone, but it is possible that CM Rom's are using the wrong RIL blobs, the easiest way to fix would be to pull the RIL blobs from oxygen and go from there.
[OnePlus 2 Original Android Development] xfox:
Hi

do you know if this ROM will enable lte band 3 for the US variant?
[OnePlus 2 Original Android Development] Waterdroid:
It's literally in the post above. The ROM will not change the modem.
[OnePlus 2 Original Android Development] xfox:
apologies, thought that that was a different matter.

as I need a new band to be enabled which wasnt on Oxygen OS
[OnePlus 2 Original Android Development] ArkAngel06:
So is there or will there be a radio to flash that will fix it?

A OnePlus 2 with no LTE is pretty pointless.

And if your post means that CM isn't breaking LTE, you're very wrong, it clearly works on Oxygen, and not on CM.
[OnePlus 2 Original Android Development] airtower:
Would that require building from scratch, or can that be flashed separately?
[OnePlus 2 Original Android Development] ibilln:
This

The point made above, a number of times, contra my post a few back, that the radio is not the culprit, is actually correct. However, in a land of knowledgeable people, most people are right, but some are more right than others. [MENTION=2667067]ArkAngel06[/MENTION] is the rightest so far.
[OnePlus 2 Original Android Development] airtower:
That wasn't true with the OPO. Modems were included and flashed in CM nightlies.

Although, my baseband matches a stock O2 build with LTE operational on the same carrier, so it seems in this case it was not. Definitely a ROM problem.
[OnePlus 2 Original Android Development] Swatto86:
Is anyone running Sandy Kernel with this rom?
[OnePlus 2 Original Android Development] Swatto86:
When making a call loudspeaker does not work - I cannot hear people on the other end of the call and they cannot hear me?

Can anyone confirm if it is just me or if you are also experiencing the same problem :confused:

Thanks,
[OnePlus 2 Original Android Development] Gjdass:
We already talked about it in the thread :cowboy:

I centralized bugs in one single thread days ago. I try to complete it over time. :good:
[OnePlus 2 Original Android Development] Swatto86:
Sorry I didn't realise, thanks.
[OnePlus 2 Original Android Development] OmegaBlaze:
It's the throttling from overheating. Honestly you should stay on stock kernel until later releases of Oxygen and ROMs are released.

Developers will be able to counter the problem once undervolting is enabled I believe.
[OnePlus 2 Original Android Development] LiquidSolstice:
Sadly, that's kind of the story with this phone. So much potential, not enough phones in the hands of able and willing developers. I myself cannot wait for a CM build that has functioning fingerprint and slider settings, because CM (for all its issues and annoyances) is just far more mature as a ROM than the thing that the ex-Paranoid Android guys managed to put out.
[OnePlus 2 Original Android Development] OmegaBlaze:
I can wait. People are already going to work and CM on our device is pretty stable at the moment. The OP2 has great hardware (I would say some of the best out when it comes to performance honestly), we just have to play the waiting game and manipulate settings for the moment. It's like this with every new device.
[OnePlus 2 Original Android Development] LiquidSolstice:
Oh of course. I didn't quite mean that in a "I'm impatient and demanding" sort of way, I meant it in a "I'm excited to see what devs can do with this phone" sort of way. Easily the weakest part of this phone is the current software, and I genuinely think it can be quite amazing if the right devs got a hold of it and started to play with it.
[OnePlus 2 Original Android Development] Lostatsea23:
Think it'll ever be fixed though...
[OnePlus 2 Original Android Development] LiquidSolstice:
Yes.

Stock ROMs are notorious for not being able to deal with the 810's heat issues. Custom kernels have been incredible on other 810 devices.
[OnePlus 2 Original Android Development] milestone2mod:
I guess (hope) that fingerprint reader stuff can be solved with Android M, since the native integration.

For overheating: I hope for the Nexus 6(P) to be rockin' an 810: Google always has had fairly well optimized kernels for their devices (see the Nexus 6), so I hope we can get some benefits by having a look on what Google and Huawei do with this device.
[OnePlus 2 Original Android Development] Delacor:
Yes, with 3300mAh and a good optimized 810 scheudler it will last easily 6-7h DisplayTime..

Lets hope this device will get its love.
[OnePlus 2 Original Android Development] gavinhungry:
I'm starting occasional builds from Grarak's sources:

https://gavinhungry.io/pub/cyanogenmod/oneplus2/

If you want to build it yourself:

mkdir cm && cd cm
repo init -u git://github.com/CyanogenMod/android.git -b cm-12.1

mkdir .repo/local_manifests
wget https://gavinhungry.io/pub/cyanogenmod/oneplus2/manifest.xml -O .repo/local_manifests/oneplus2.xml
repo sync

If you want the polling hack for the Alert Slider (included in the builds):

wget https://github.com/Grarak/android_frameworks_base/commit/8bdc2c9b17e9eedbece3afd99cb3b250afa0023f.patch -O alert-slider.patch
patch -d frameworks/base -p1 < alert-slider.patch

. build/envsetup.sh && breakfast oneplus2 && LANG=C brunch oneplus2

I'm not sure if the LANG environment variable is needed on all systems - I'm building on Arch Linux, and apparently a change to glibc necessitates it (see http://forum.cyanogenmod.org/topic/113812-build-fails/).
[OnePlus 2 Original Android Development] airtower:
Fairly obligatory question considering, but are you working with the radio blobs at all?
[OnePlus 2 Original Android Development] Gjdass:
It sounds great to take care of this. I want to start something too based on Grark build but even if i'm an IT engineer, i never worked on Android stuff at all :P I will learn !

Anyway, have you a changelog or something ?
[OnePlus 2 Original Android Development] LiquidSolstice:
The entire nature of being given instructions on how to build as opposed to getting pre-compiled builds is that there is no changelog except for the commit descriptions in the changes you're merging.
[OnePlus 2 Original Android Development] gavinhungry:
Just building what is already there in Grarak's sources. I haven't added, or removed, anything. The best changelog you'll get is on Grarak's GitHub:

https://github.com/Grarak/android_device_oneplus_oneplus2/commits/cm-12.1

https://github.com/Grarak/android_kernel_oneplus_msm8994/commits/cm-12.1

https://github.com/Grarak/proprietary_vendor_oneplus/commits/cm-12.1
[OnePlus 2 Original Android Development] lewisville:
Thank you so much for these details. Do you know how much disk space I would need? I am going to use a VM on my mac to build it.
[OnePlus 2 Original Android Development] gavinhungry:
On my machine after building (and before make clean), the entire directory takes up 85GB. I'm building with a dual-X5680 (24 threads total) and 24GB of RAM, the build time is about 2 hours.
[OnePlus 2 Original Android Development] ArkAngel06:
So on the github commits/change-log it says

Does this mean fingerprint scanner support is there or coming? Or something more banal?
[OnePlus 2 Original Android Development] DJ_MuTeD:
It means that the fingerprint scanner is supported as a hardware, but the OS can't take take advantage of it yet (until Android 6.0 most likely).
[OnePlus 2 Original Android Development] lewisville:
Wow. I definitely cannot use my mac for this then - I can spare 85GB but not the RAM as I only got 16GB.

Once again thanks. I will have to get another machine I think.
[OnePlus 2 Original Android Development] beany>:
Whilst I haven't built this particular ROM, or on a Mac, it doesn't mean you can't give it a go. I have an i7 laptop with 8gb RAM using Ubuntu and whilst the first build may take a couple of hours subsequent builds can be much much shorter especially if you have a decent (preferably SSD) drive with more space for using ccache (I have 50gb ccache butit doesn't have to be that much).

My 2c, is if you want to try then give it a go before making a big investment because you may change your mind. You can always set the first build off over night.
[OnePlus 2 Original Android Development] Lookitfast:
Is LTE working on this rom with ATT?
[OnePlus 2 Original Android Development] Gjdass:
No clue. I'm on a A2003 european OPT.

But for ATT :

So i guess you have A2005 (US version of OPT) :

The phone is supposed to handle all the bands ATT is using. I didn't notice bugs on my CM 12.1 OPT in Europe, so why it would not work in US with US bands ..? :P

If you haven't yet, you should just test it out. Make a backup and if it doesn't work, just restore.
[OnePlus 2 Original Android Development] jellis24:
Same...

The LTE issue exists on this build of CM12.1 also. I just gave it a try and as soon as I toggle it over to LTE, it crashes the phone and reboots.
[OnePlus 2 Original Android Development] Gjdass:
Ok my bad. Didn't happen on my A2003 in France tho :cyclops:
[OnePlus 2 Original Android Development] jellis24:
...and as a follow up, I'm on AT&T (Cricket WIreless). Hopefully someone can figure this one out in the near future. It's pretty much the only thing keeping me off the rom right now.
[OnePlus 2 Original Android Development] Gjdass:
You have to wait, Grarak is developing every weekend (according to his change-log on GitHub). He already fixed some issues. I'm pretty sure it will come.
[OnePlus 2 Original Android Development] airtower:
The hardware is capable, but these builds are based off a Chinese A2001 device by [MENTION=1942250]lackyking[/MENTION] and lack the appropriate software support for US LTE bands. Chinese and EU LTE bands are not shared, so the build's radio blobs must support both locales, but not US bands.

It will come, along with everything else needed to get functionality on par with OxygenOS, just matter of time and/or the device getting into the hands of more developers.
[OnePlus 2 Original Android Development] gavinhungry:
Oh, I didn't mean it required 24GB of memory to build - just that my build machine *has* 24GB of memory, to give you an idea of how long it might take to build on a comparable machine. I didn't check the memory usage during the build, but I'm sure you can get away with less.
[OnePlus 2 Original Android Development] Grarak:
These builds are not based of lackykings build. None of them. I am using ril blobs from oxygen os which are compatible with all variants. LTE is working for me. I do not really care about other carriers. Neither I have time nor I want to fix all network issues. It's fine for me.

About fingerprint: CM 12.1 has native fingerprint support already.

Currently I am in the army (every male adult has to either work in the army for 6 months or do social work for 9 months). I am only allowed to go home during weekends for the next 3 weekends.

This is a development thread. If anyone post any kind of spam, I will immediately close it and stop releasing anything.
[OnePlus 2 Original Android Development] airtower:
My apologies, I made an assumption I shouldn't have regarding why LTE wasn't working in the US. I really have no idea what a RIL blob is anyway, but was just throwing **** at the wall to see what stuck.

I appreciate your time and effort that goes in to building this.
[OnePlus 2 Original Android Development] LiquidSolstice:
Hey, thank you for your service and the time you put in to make this available for us. You don't owe any of us anything.
[OnePlus 2 Original Android Development] Fozec:
First of all! A really great build. I have been using this for a couple of days and i notice the same problem as above with the LTE. Switched it on and the phone reboots after some minutes of use. I switched to 3G and it works perfect. The batterylife is AWESOME. Using it straight watching youtube series and Netflix on my lunch and went down like 4% only. Keep up the good work and hope to see the fingerprint coming soon! :D
[OnePlus 2 Original Android Development] lewisville:
I created the VM with 90GB and ran out of space. Any idea how much space is required for it to complete the build?
[OnePlus 2 Original Android Development] Tuxi1990:
LTE

Hey thanks for that information. So if everybody is using youre nightly with the included RILs, we are using the stock ones... Right? So Oxygen OS have also problems with LTE band 20 for example.... Can anyone confirm this problem with Oxygen OS?
[OnePlus 2 Original Android Development] dambrosioj:
LTE for me in the US works fine on Oxygen its just any CM12 rom its a no go you just get H+ which to me is unusable here in the states so for now im stuck with oxygen until someone cracks it.
[OnePlus 2 Original Android Development] andre6b:
Well, I can enable LTE on Oxygen 2.0.2, but it seems to work very unreliably. O2 UK. I don't know which band I'm on - how can I check?
[OnePlus 2 Original Android Development] hudriwudri:
anyone else having extreme touchscreen delays and dropouts while charging?

having a nearly unuseable device while plugged on power :(

any help would be appreciated

by(e)

hudriwudri
[OnePlus 2 Original Android Development] TIME2DEV:
LTE 20 works with Oxygen 2.1.0

I used Oxygen 2.1.0 for a short time and Band 20 was working for me. All custom roms I tried so far (didn't try this build yet) have issues when turning on LTE.

LTE connection worked with Oxygen OS and O2(O2 Germany) which is using Band 20.

This is the Rom I'm currently using:

http://xdaforums.com/oneplus-2/development/rom-cm-12-1-temasek-mod-v1-t3200217
[OnePlus 2 Original Android Development] ixomon:
Using Oxygen 2.10 in Taiwan it does never show the LTE icon but the speed goes up over 20 MB/s which is LTE speed. Not sure what that means in regards of the connectivity, if oxygen just shows the wrong icon or not.

In comparison, the one plus one with the same carrier shows the LTE signal but just gets 8 MB/s in the same conditions.
[OnePlus 2 Original Android Development] xxBrun0xx:
This is so much smoother than oxygen, I'm actually ok with losing lte, fingerprint, laser focus, dual sim, gestures, and double tap to wake. Thank you!
[OnePlus 2 Original Android Development] cacofonix:
Are you using the in-box charger when this happens? If not, try the inbox charger and see if it recurs. Normally after market chargers emit more noise that affects the touch system. If this is happening with the in-box charger then it could just be that you have a bad charger or that oneplus hasn't optimized for noise (part of the touchscreen integration is tuning for noisy chargers).
[OnePlus 2 Original Android Development] hudriwudri:
am using an Anker 5 Port charger and never had problems before

just plugged the orig. charger and it looks like the problem is gone, will have a deeper look at this problem

thx bro ;)

by(e)

hudriwudri
[OnePlus 2 Original Android Development] dansou901:
Your charger has 8 A output, the phone charges with just 2 A, so that's likely where the problem is coming from...
[OnePlus 2 Original Android Development] hudriwudri:
If am reading correct from the products page: USB Output 5V / 8A (total)

8A / 5Out = 1,6A per Output

am I wrong?

Will e-mail the Anker company next week and try to measure with Ampere App in the meanwhile ;)
[OnePlus 2 Original Android Development] PorkusPieus:
Nah it doesn't actually work like that - if his phone was sucking 8 amps it would be extremely hot and rather crispy at the edges (a bit like an iphone).

More likely a dirty supply - half wave and all that good stuff. Wow this takes me back to college days.
[OnePlus 2 Original Android Development] dansou901:
Yeah sorry, got that wrong. [MENTION=6911947]PorkusPieus[/MENTION] got it right I think.
[OnePlus 2 Original Android Development] PorkusPieus:
Well it's an interesting discussion guys, basically your device (phone) will take the the max amps that it can from the supply up to its rating. So if your phone is 2 amp rated it will take up to 2 amps from the supply even if the supply is 8 amps. Unless it's an iphone in your back pocket - hehe.

The real issue is probably that your Anker is probably "half wave rectified" without smoothing which means that the DC looks like this ()()()() (difficult to draw with a keyboard) but if it was smoothed correctly it would look like this -----------. But I think it's most likely a messy supply problem.

Having said that the Anker format looks attractive. :D
[OnePlus 2 Original Android Development] xxBrun0xx:
I don't know about work newer phones, but a few years back when the first 2A chargers were coming out, phones that only took 1A chargers went into trickle charge (0.5A) when using a 2A charger. I'd be surprised if this phone charged faster with an 8A charger than a proper 2A charger for that reason.
[OnePlus 2 Original Android Development] bangsti:
Hy - I hope is okay when i post my unofficial CM Build here

I build yesterday a new CM Rom for me an some Friends.

All Credits to Grarak and CM ( i am only cook ) - [MENTION=4443334]Grarak[/MENTION] liebe Grüße aus Ried/Innkreis ( OÖ )

Flash at your own Risk and no Support from me !!

Repo Sync - 26.09 - 11:30

Changelog CM

Changelog OnePlus Two Sourcen

For me is LTE working ( see Screens ) - DREI Austria and no reboots or other Problems .

I use the new AK Kernel and run very smooth , for Camera i use the HydrogenOS App .

My Download Folder : https://www.androidfilehost.com/?w=files&flid=40119

Greetings from Austria .
[OnePlus 2 Original Android Development] Tuxi1990:
Hey great! Thank you. Dose that mean it is the same base as the download in the first post? And could been dirty flashed like it?

Which LTE band are you at?
[OnePlus 2 Original Android Development] bangsti:
[MENTION=3801455]Tuxi1990[/MENTION]

I thing dirty Flash is no Problem.

Drei Austria use Band 3 (1800 MHz)

Gesendet von meinem ONE A2003 mit Tapatalk
[OnePlus 2 Original Android Development] Florie1706:
dirty worked just fine for me :D
[OnePlus 2 Original Android Development] bwells88:
Awesome!... Do we get an Asylum boot animation with this bad boy... Ha-ha... Still use that on every rom... 8)
[OnePlus 2 Original Android Development] Tuxi1990:
Great... Will try it next week :)

Hope Band 20 (LTE) will work too. Fingers crossed ;)

Does the dual sim thing work? Someone using it with two sims?
[OnePlus 2 Original Android Development] Grarak:
New build is up. More info in OP
[OnePlus 2 Original Android Development] dambrosioj:
Damn still no LTE :( booo
[OnePlus 2 Original Android Development] kilian7th:
Juste perfect, Thank You Grarak
[OnePlus 2 Original Android Development] napes22:
He said earlier in the thread that he's not going to be fixing the other carriers.
[OnePlus 2 Original Android Development] Trickster22:
Lenovo ZUK Z1 comes with built in fingerprint sensor too and has CM 12.1 working with fingerprint sensor. So, why don't we use those sources or libraries/framework to make fingerprint sensor work on CM 12.1
[OnePlus 2 Original Android Development] kilian7th:
Hi [MENTION=4443334]Grarak[/MENTION], everything run smoothly but I lost physical touch two times already , I dirty flashes from the 13 th of september release. Did You have the same problem ?

A software reboot and it works for a time.
[OnePlus 2 Original Android Development] OldDroid:
View attachment 3488969

Lte works here in Germany, O2 / E-Plus
[OnePlus 2 Original Android Development] IM-MD6:
I have the same problem with my OP2......after about 2 hours running all three buttons dont recognize anything.....after rebooting it again it works....
[OnePlus 2 Original Android Development] byackee:
Hi,

I have same problem...
[OnePlus 2 Original Android Development] softsaurus:
Hi guys,

Does anyone know how I can change the capacitive button layout in the lateste build? On the previous builds I simply edited the /system/usr/keylayout/Generic.kl file and it worked awesome! On the latest build this doesn't seem to have any effect at all. I've tried pretty much everything now so I'm wondering if any of you have the answer.

I don't like the current capacitive button layouts at all so it's either fixing it or settle for the software buttons for me. I know this is not a big issue and I Love the new build but it would be nice if some of you could help me out :).

Thanks! and thanks of course to Garak for all his hard work on this! :D