yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Original Android Development] vishalt1295:
If you have installed facebook and facebook messenger that might be using alot of battery
[OnePlus 2 Original Android Development] Sabretooth93:
volte is working but there is no volte(HD) icon on the status bar. the build is 20171215. how to enable it?
[OnePlus 2 Original Android Development] vishalt1295:
Now I'm not getting good battery life either it time says 5 hours all the time
[OnePlus 2 Original Android Development] Woodzrul:
*BUG*

lineage-14.1-20171215-nightly-oneplus2-signed.zip

Settings -> Notifications -> Power notification controls

The upper left back arrow appears to do nothing. Please resolve in next build.

Thanks
[OnePlus 2 Original Android Development] aviraxp:
plz test network drops and recording, thx.
[OnePlus 2 Original Android Development] dedo1996:
20171222 build:

Unexpected reboots.
[OnePlus 2 Original Android Development] MrTalon4:
Yeah, it's annoying :(
[OnePlus 2 Original Android Development] amplatfus:
Dirty flashed yesterday entire ROM. No reboots until now.
[OnePlus 2 Original Android Development] pranjal18:
Latest version plus the last version review

No reboots

No network drops

Battery yet to be tested but seems fine in the latest version
[OnePlus 2 Original Android Development] cowgaR:
Can only agree SOT 5 to 6 hours on old 2 years worn battery. Stutters here and there but insignificant, will take great battery instead of super smooth experience but 3 hours SOT (screen on time) kernels.

That's on WiFi, on Lte it seems signal is weaker than what I had hence stronger battery usage due to phone trying to get better connectivity. Pics attached.

Fantastic quality release, no wakelocks (pic) all fine. Second scenario shows installation of current release from previous week one plus updating phone - yet 5.5h SOT. Summary for newcomers.

YouTube eats battery a lot in latest version

No reboots

No WiFi drops

Fantastic idle behaviour (something I could never get on Boeffla kernel)

No wakelocks

Smooth but not buttery as Boeffla kernel

No crashes everything works

Dirty flash last 3 months
[OnePlus 2 Original Android Development] MrTalon4:
[MENTION=5991425]Ozzy2403[/MENTION] can you add L1 certification for the OnePlus 2? It would be awesome to watch Netflix in Full HD :)
[OnePlus 2 Original Android Development] cowgaR:
6 hours 30 minutes SOT

Nice...
[OnePlus 2 Original Android Development] Ozzy2403:
what's this????
[OnePlus 2 Original Android Development] MrTalon4:
Well that's just a secure for DRM stuff like Netflix or Amazon Prime Video.

OnePlus 2 got only L3 secure that means we can watch the stuff only in SD quality. If we get L1 that would be great.
[OnePlus 2 Original Android Development] Ozzy2403:
ah ok i know what you mean. i will check if i can kang any drm L1 blobs from another device
[OnePlus 2 Original Android Development] twfs:
Can you share which release you are running please? Merry Christmas everyone
[OnePlus 2 Original Android Development] cowgaR:
Latest one
[OnePlus 2 Original Android Development] Ozzy2403:
for everybody who wants to test next nightly today: https://androidfilehost.com/?fid=889964283620774422

*new caf branch

*new linux version

*added cves

*updated widevine blobs
[OnePlus 2 Original Android Development] akshaysalunke13:
Does VoLTE work on Jio?
[OnePlus 2 Original Android Development] leonalewis:
Yes it does
[OnePlus 2 Original Android Development] infatality:
Dirty flash possible? Or need to clean Flash? As official is signed.
[OnePlus 2 Original Android Development] MrTalon4:
That was only a preview. Just flash the newest nightly.
[OnePlus 2 Original Android Development] MrTalon4:
[MENTION=5991425]Ozzy2403[/MENTION] just flashed the new nightly well it's still L3
[OnePlus 2 Original Android Development] M4Master96:
Not fixed

Bug's still there (check comments in JIRA)
[OnePlus 2 Original Android Development] Ozzy2403:
yeah sadly it is not possible to hack this as far as i know. also i asked some other devs. so sry

if you find any other sources where someone succeeded you can tell me and i can recheck.
[OnePlus 2 Original Android Development] Ozzy2403:
does anybody know since when this happens?
[OnePlus 2 Original Android Development] AkashGohel:
My Camera is not working .It stops as soon as i open it. But can use it using snapchat
[OnePlus 2 Original Android Development] numanoid50:
Hi all

I'm have lineage os 7.1.2 on my OnePlus 2 everything is going well with it until I got a new car stereo with hands free built-in. The op2 has paired to the stereo over Bluetooth no problem and can stream music from my player and Spotify. But when a phone call comes through the stereo pauses but the call doesn't come through the stereo over the Bluetooth. Is there a setting I can change to let calls come through the stereo??

Thanks
[OnePlus 2 Original Android Development] M4Master96:
Hardly happens with me as I clean flash everytime....

not persistent for me though :)
[OnePlus 2 Original Android Development] AkashGohel:
Camera app is crashing as soon as i open it. And Random Reboots a headache. can someone help me
[OnePlus 2 Original Android Development] abhijeet715:
For me camera app (official port) doesnt seem to save a few photos that i click. I clicked a few pics here and there, accessing the camera from the lock screen or so and those photos never got saved. I tried clearing data of the app and all but still it doesn't save at times so i gotta check after clicking whether the photo is present in the gallery...
[OnePlus 2 Original Android Development] yarach:
Did you clean flash?
[OnePlus 2 Original Android Development] AkashGohel:
what does that mean?
[OnePlus 2 Original Android Development] yarach:
You have probably updated the rom without wiping your partitions. This could cause a corrupt update if you are coming from another rom.
[OnePlus 2 Original Android Development] Ozzy2403:
that's really interesting because i have no issues with my cam. are you all using laos kernel and laos camera app

also will start providing laos15.1 hopefully at the end of the week. almost everything is working only some **** about video recording and wifi but won't be that hard to fix.
[OnePlus 2 Original Android Development] MrTalon4:
Will it be official Laos15.1 or just an test build?
[OnePlus 2 Original Android Development] leonalewis:
No camera crashes here. With magisk and gapps nano.

Using the latest lineage os build getting pretty good Battery life. Thanks Op and team.
[OnePlus 2 Original Android Development] jasgaravito:
That would be very nice!

Excuse my ignorance, but will it be available in the same downloads web page?

https://download.lineageos.org/oneplus2

And to install it, can I dirty flash that version or do you recommend a clean flash?

Any other suggestions?

Thanks! Great work!

The OS has been running perfectly for me for some time now. I've seen better battery life in the latest updates. No freezes, and very good performance.
[OnePlus 2 Original Android Development] dedo1996:
20171229 build:

Torch doesn't work.
[OnePlus 2 Original Android Development] Dac0908:
Yes, runs good and no camera problems, flashed stock OOS one. Baterry life great, no random reboots.

[MENTION=5991425]Ozzy2403[/MENTION] - will you stay with HAL1 on v15.1?

[MENTION=7159454]dedo1996[/MENTION] - indeed, seems it doesn't work using using V gesture, while camera does work. Interesting. But torch still works from menu or long press power button, if you set it first
[OnePlus 2 Original Android Development] Claudiu1:
Torch is working on my device. Same build.
[OnePlus 2 Original Android Development] dedo1996:
Works after reboot, but it's random, sometimes yes some other not, just like the camera.
[OnePlus 2 Original Android Development] jasgaravito:
I've never experienced this issue either, works fine for me. The 05/01/18 build is working fine so far.
[OnePlus 2 Original Android Development] @Kira96:
Do u experience slow charging in new build? Because i am.. :/ changing kernal help but not good battery life as stock kernal :)

Edited : it seem oneplus original cable is the problem now is 1500mah+ :) (new cable)
[OnePlus 2 Original Android Development] Claudiu1:
I had the same problem a year ago. Oneplus original cable seems to have problems after some time. I don't know if it's OnePlus fault...
[OnePlus 2 Original Android Development] MrTalon4:
Just buy the dash charge cable it has no dash charge but it's faster charge than the normal cable.
[OnePlus 2 Original Android Development] balloo31:
Using the latest official build for 2 days now.. No problems...

Update: Experiencing frequent network drops in Volte Sim 1. Data connection works fine but not able to make calls... Have to restart to make calls
[OnePlus 2 Original Android Development] mfg81:
Same here. Stable.

Tyvm to all the devs
[OnePlus 2 Original Android Development] Leehm0123:
Wao,good to hear that you will continue to maintain op2.
[OnePlus 2 Original Android Development] salanet:
20180105: stable and fast!

Camera ok

Torch ok

Great build

Inviato dal mio ONE A2003 utilizzando Tapatalk
[OnePlus 2 Original Android Development] cowgaR:
+1, happened many times to me as well...

---------- Post added at 02:37 PM ---------- Previous post was at 02:22 PM ----------

Dirty flashing most of the time, on 22th Dec build (perfect)

1. WiFi off

2. Airplane mode

3. Airplane off, WiFi on

4. Takes 6 seconds to connect using menu

5. Takes 3 seconds to connect using notifications

5GHz, hidden SSID, WPA2

---------- Post added at 02:39 PM ---------- Previous post was at 02:37 PM ----------

Easily reproducible, just take photos from lockscreen and press back to close camera

Some photos will be missing mostly last ones
[OnePlus 2 Original Android Development] Ozzy2403:
Hmm, maybe it got broken during upload. Will have a look in an hour.
[OnePlus 2 Original Android Development] Mohit31:
[MENTION=5991425]Ozzy2403[/MENTION] This commit seems to solve disabled dt2w getting activated after reboot bug.

Lord Boeffla confirmed that this patch works.

You too can have a look

https://github.com/WalrusMod/androi...mmit/dd9d985e4fab08b6b0ecc3b191dde386df98d833
[OnePlus 2 Original Android Development] _Kosmas_:
No problem here, but I'm using "old" TWRP 3.1.0-0
[OnePlus 2 Original Android Development] Ozzy2403:
just for me to know: are you on ext4 or f2fs filesystem?
[OnePlus 2 Original Android Development] Dr_DjEnder:
I made my own build and after merging the f2fs upstream into the kernel TWRP did not like my data partition I could not wipe it it would just reboot into the system. HalogenOS had a similar problem after merging a f2fs upstream and later 'fixed MTP and fixed ADB' but I have yet to see if that helps the TWRP situation here.

Note I am on f2fs for data and cache
[OnePlus 2 Original Android Development] Ozzy2403:
yeah i also noticed the f2fs bug in recovery now. will try to fix it.

nevertheless i had no problems to flash my testbuild on ext4 nor f2fs. so i think it must be a issue with official build or so.
[OnePlus 2 Original Android Development] Dr_DjEnder:
I've seen error 7 when switching between grarak builds posted on his Twitter and the ones in the lineage website something about the signing of the build or I'm missing something here....
[OnePlus 2 Original Android Development] PeterGuru:
You know, I'm not sure ...

System, Data and Cache are all ext4.

Peter
[OnePlus 2 Original Android Development] fast9000:
For any of those wondering if you have official lineageos installed with their SuperSU addon from extras, and the latest version of magisk (v12.0) you should be able to pass safety net checks. (Tested with Android Pay) :laugh:

Running official build 20170601 currently.

Edit: Netflix also appears in the Google play store
[OnePlus 2 Original Android Development] Sam.4:
Hey! Happy to find this thread. And good job Ozzy2403.

Following are the details of my phone-

Prev OS- Official Oxygen OS 3.5.8

New OS- Official Lineage OS 14.1-2017-06-01

Recovery-TWRP 3.1.1

I would like to mention some bugs/suggestions-

1. In settings>buttons, there is no option to customise 'back button'.

2. The App Lock feature in Oxygen OS is not here and rather Privacy hides the app from app drawer

3. Voice quality during calls is poor with frequent blanking

4. Please add status bar pull down feature in gesture while on homescreen

5. As mentioned in a post, please keep the clear all button static

6. As mentioned in a post, the system updater gives the same update of the build which is already installed

7. Transferring data from pc to phone is every slow.

Only this much to share for now.

But apart from this, the os is very fast and stable.

Please address as many of these points you can.

Thank you
[OnePlus 2 Original Android Development] chxei:
1) you can set kill app on long press on back button, this seting

is in developers option

4) it is launchers feature, not roms feature. try nova prime launcher or something else.

7) you can try to change io scheduler in kernel settings with kernel adiutor app, this could help
[OnePlus 2 Original Android Development] Sam.4:
Thank you! I'll try what you said! Can you help with other points?
[OnePlus 2 Original Android Development] EsteBandido4444:
Hello ! When flashed into the latest version of this ROM, there is an update notification about a new update being available. However, that update is for the same version as the one I just currently flashed. Any fixes?

PD: props! It's refreshing to see the community keeping this device alive.
[OnePlus 2 Original Android Development] rousea:
Same problem

I have the same problem. I wanted to update my OnePlus 2 from the stock ROM to Lineage. I have tried numerous of the nightly downloads, and different releases of TWRP, but they all give Error 7. I then tried lineage-14.1-20170213-microg-oneplus2.zip and that installs correctly. However, there are some minor problems that I assume have been corrected in later versions:

a) The updater doesn't work (it gives the error message 'The update failed. Please check your internet connection and try again')

b) Settings->Gestures doesn't include options O (open camera) or V (switch on torch)

I therefore want to update to a newer version but can't.

I have read elsewhere that Error 7 can be fixed by deleting the Assert lines at the beginning of updater-script. If I do this then I get Error 6 instead. I should also note that updater-script is identical in lineage-14.1-20170213-microg-oneplus2.zip and all nightlies.
[OnePlus 2 Original Android Development] James Poole:
I hope you get some assistance with Error 7.

I moved from stock to Lineage this week after Oneplus' announcement regarding updates for the TWO and it went like clockwork. I used TWRP "twrp-3.1.1-0-oneplus2" and "lineage-14.1-20170601-nightly-oneplus2-signed".

I had rusty previous experience with re-flashing a Desire to Cyanogenmod and a Hermes to Windows custom CE, but the instructions on the Lineage web pages were excellent..
[OnePlus 2 Original Android Development] Santi_SAZ:
Which TWRP version are you running?

Update TWRP recovery to the last one

Enviado desde mi ONE A2003 mediante Tapatalk
[OnePlus 2 Original Android Development] BassieBW:
I'm now on stock rom. Before I switch I want to know if it is possible to use different ringtones per sim (this is very important for me).
[OnePlus 2 Original Android Development] Santi_SAZ:
Not implemented yet

Enviado desde mi ONE A2003 mediante Tapatalk
[OnePlus 2 Original Android Development] PeterGuru:
There's an easier way to do it ...

You really don't need this specific feature because you can already accomplish what you want with existing Android features. How? Well, it's actually quite easy.

It has to do with different ringtones for different contacts. Okay, this may sound ominous, but it's actually quite easy.

First of all, your phone needs to be able to apply separate ringtones for individual contacts. Most do, if not all. However, if you have many contacts, let's say 500+, then such a feat would take a very long time. But there's a better and faster way.

If you are familiar with Contact Groups, it makes the process very easy.

Go into your Contacts app and you should immediately see a label or button called Groups. If you don't see it, then you may have to touch the 3-dots button to find it. Once you found Groups, touch Add Group, give it a name, let's say WORK, and then start selecting WORK contacts to add to the Group. Now, make another Group, let's call it PERSONAL, and start adding contacts to that Group.

Once you have all that done, you'll need to set a specific ringtone for each Group. Some ROMs have this feature built in; however, if your ROM doesn't, you can simply install an app from Google Play, such as one called Ringo, which only takes seconds to apply a specific ringtone to ALL the contacts in the Group.

Once you're done, and it really doesn't take that much time, you'll get a different ringtone for each group, so they are easy to identify.

Peter

P.S. In fact, what I explained above is exactly what I've done on all my devices over the last several years. I have specific ringtones for Family, Friends, Work, Overseas Family, School, etc.

P.P.S. Another great thing about most of the ringtone changing apps, such as Ringo (what I use), is that once you've got all the ringtones completed, you can remove the ringtone app; all the individual ringtone settings will remain on your device. It doesn't need the app to work. The app is only to set-up the individual ringtones. That's it.

Concerning Ringo: It's an old app. The last up-date was about 1.5 years ago, but it works, and that's all that matters to me. Also, it does not work with hardware keys. If you install it, and you normally use hardware keys, you'll have to temporarily disable them and use software keys to enable the Ringo selection menu.

Another app is Ringtone Manager Pro FREE. It also works pretty much the same way, and it's free.
[OnePlus 2 Original Android Development] Ozzy2403:
hi guys,

sry for some days being off but i have a flu and will need some days to get up again and go on developing. i hope i have some fixes till thursday.

regards
[OnePlus 2 Original Android Development] pranjal18:
Might be a shift to the next version of android
[OnePlus 2 Original Android Development] MrTalon4:
Never.

Ozzy will tell us when he is done with his work.
[OnePlus 2 Original Android Development] pranjal18:
He mentioned it himself a couple of days ago.

There is definitely no pressure on him and on anyone else. They have done a thrilling work. #respect
[OnePlus 2 Original Android Development] MrTalon4:
Yes i know.

But still it says nothing.It would be great to get Android 8 :)
[OnePlus 2 Original Android Development] dedo1996:
+1
[OnePlus 2 Original Android Development] monark88:
Do we have the latest "fix" for Meltdown merged yet?
[OnePlus 2 Original Android Development] UnrealSlimShady:
OnePlus 2 OTG Support - Headphones

Hi guys,

I'm on the latest official nightly from lineage website for OP2 with latest franco kernel and root.

I just bought the Xiaomi Mi USB-C ANC Headhpones (don't wanna link here, not that it's gonna called ad, you can find it via google).

Unfortunately when plugging in nothing happens.

I already changed USB connection mode in Developer settings to MTP or Audiodevice but still it's not working.

Is OTG officially supported on the OP2 using LOS and FK?

Is there anything i can do to get this to work?

On my brothers stock Nexus 5X with 7.x I plug it in and it works flawless, with or without ANC, even the play/pause and volume buttons work.

Any advice?

Thanks!
[OnePlus 2 Original Android Development] dedo1996:
20180105 build:

Camera keeps stopping (just took an instagram story video, canceled, and I had to reboot to make it work)

Battery draining (other builds were just great)
[OnePlus 2 Original Android Development] abhijeet715:
+1

Instagram screws the camera app at times and then the camera stays active in background (proof: see the small red light blinking below the camera lens when camera is running, u can try opening camera app manually and see that laser autofocus light)

I thought that its a bug with insta app or coz of xinsta xposed module but its a problem with the rom, i tried using the same on Oneplus 2 with official rom and everything is fine...
[OnePlus 2 Original Android Development] @Kira96:
I don't have any problem about this, (already tried few time no problem with camera,insta camera) have u clean flashing the rom ?
[OnePlus 2 Original Android Development] cowgaR:
Next build

https://review.lineageos.org/#/c/202422/
[OnePlus 2 Original Android Development] monark88:
beautiful.. looks like it may be merged into cm-13.0 as well..

great.
[OnePlus 2 Original Android Development] anupritaisno1:
No, our kernel doesn't support KASLR, which is a requirement for KPTI, which in turn is a kernel workaround for meltdown and neither can be backported without breaking a lot of stuff

This fix this time isn't just to cherry-pick an upstream commit

Not to mention, our CPU isn't really that vulnerable to meltdown

---------- Post added at 22:49 ---------- Previous post was at 22:40 ----------

Also updating to the latest security patch will NOT protect you from meltdown

Hardware bugs can only be worked around in the kernel (especially ones like this) and lineageOS doesn't manage the kernels. It's a device-specific thing

Furthermore, it would be catastrophic if meltdown workarounds were applied on a processor without the vulnerability

Not to add, these patches significantly reduce performance and by a lot

To every server I deployed the spectre and meltdown patches, a significant reduction in performance has been observed. Build times on my build server went from 1 hour to almost 4-5 hours after the spectre and meltdown vulnerabilities were patched. So the question is, is it really even feasible to add these patches to android devices? And what would be the consequences of something like this

What needs to be protected:

KPTI needs to be added (near to impossible)

Seccomp needs to be updated (possible but again this would significantly reduce performance)

Certain other parts of the kernel need to be compiled to avoid the branch predictor

The android toolchains probably don't support the optimisation needed to work around meltdown. All of these toolchains probably need rebuilding
[OnePlus 2 Original Android Development] monark88:
Looks like I was wrong about cm-13.0 branch getting update, it's actually just for jan 1 patch. Oh..well..

I did glean from one of your threads, that turning off big cpu will protect against meltdown, as our little cpu is the unaffected portion.

TBH, I build LOS-13 for myself, simply because I have issues with my Android TV remote on anything higher than CM-13. LOS-14 and greater complain about some BLE issue in the logcat.. this is why I'm always pushing for CM-13.0 branch to still have activity/merges.. I know it's dead...

Yes, all of my servers are much slower after updating to patched kernels as well.
[OnePlus 2 Original Android Development] anupritaisno1:
That's just speculation. Our big CPU is in the list of vulnerable CPUs released by arm but then again I haven't been able to actually find a way to exploit meltdown yet. Moreover I'm finding it difficult to predict in the first place whether a task will be scheduled on the big CPU or the little CPU. Definitely the big CPU has more preference but I still can't see how it could be exploited

Angler uses a CPU identical to oneplus 2 and I don't really see them patching meltdown on theirs either so at this moment our CPU is theoretically vulnerable but it is certainly a matter of debate whether it is actually even exploitable

If somebody wants to actually help out in this they are more than welcome.

---------- Post added at 22:58 ---------- Previous post was at 22:55 ----------

In kernel set max CPUs to 4 (you can find the option in make menuconfig) and then set boot_cpus in boardconfig to 0-3 (it's in the kernel commandline options), I haven't tested this but it should protect you from meltdown if you're paranoid
[OnePlus 2 Original Android Development] monark88:
I checked a lot of the MSM8994 repos and most are stagnant.