yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Original Android Development] malerocks:
The microphone is an issue in other builds too. It happens when "OK Google" detection is on. Switch that off, restart the phone and it will be fine.

Of course this means that if you need the assistant, you cannot launch it using voice. It will have to be by swipe. You can talk to the assistant after you swipe up.
[OnePlus 2 Original Android Development] dedo1996:
Do not disturb quick toggle (notification centre):

Everything is unclickable excepy for the do not disturb mode -> instead of clicking, the notification centre closes itself.

EDIT: sometimes
[OnePlus 2 Original Android Development] toscha42:
Can't confirm, everything's working flawlessly here (20200718 build).

Cheers

Toscha
[OnePlus 2 Original Android Development] VW22:
I installed the lineage-17.1-20200725-nightly-oneplus2-signed.

Except for the error of the Google Pixel launcher at start up everything went fine.

Afterwards I wanted to flash the open_gapps-arm64-10.0-full-20200725 package. During install I got an error 70.

Also with the open_gapps-arm64-10.0-full-20200723 package I got the same error 70.
[OnePlus 2 Original Android Development] toscha42:
There's a thread on XDA on 'Error 70'. If I'm not mistaken for OP2 Gapps need to be flashed right after flashing the ROM, without booting in between.

Cheers

Toscha
[OnePlus 2 Original Android Development] Kozi0:
Maybe you should try the pico or nano version of the opengapps
[OnePlus 2 Original Android Development] VW22:
I did try all the things mentioned in the https://xdaforums.com/android/help/fix-error-70-install-gapps-t3311779.

However nothing worked to increase the memory size allocated for "system", so I ended up installing the mini-version of open Gapps.

I read somewhere the possibility to increase the allocated size with "Gparted".
[OnePlus 2 Original Android Development] computersalat:
https://opengapps.org/

https://sourceforge.net/projects/opengapps/files/arm64/
[OnePlus 2 Original Android Development] Aequita:
Heya!

I flashed the latest build (Jul 25, 2020) with ARM64 GApps Nano today.

So far, so smooth.

Everything seems to work fine except Google Assistant, who is constantly popping two notifications:

[B]"Ok Google" model update[/B]
Updating voice model to better recognize when you say "Ok Google"

[B]"Ok Google" model update[/B]
Download failed

When trying to train the voice match in the assistant-settings, it states "Trouble connecting - Check your connection and try again".

Brave Browser also seems to not be able to access the "Tell me stuff I should look for"-feature (idk how to name it) -> "Network not connected"

Anyone with similar problems?

Edit:

As it seems like a connection-problem, I already tried the troubleshooting-steps that come to mind first.

Rebooting / Cellular vs WIFI vs 2nd WIFI vs Hotspot / Airplain-Mode / Permissions ...
[OnePlus 2 Original Android Development] dedo1996:
Hello, night mode display automatic mode is not working. The screen stays Yellow even during the day, or blue even during the night (according to yhe mode previously set).
[OnePlus 2 Original Android Development] hbvdh:
Three weeks, no problems anymore.
[OnePlus 2 Original Android Development] pritesh1996:
Volte jio is working?
[OnePlus 2 Original Android Development] shaarannnnn:
VoLTE calling not available.

I flashed this build and it's working perfectly fine. I'm able to use the mobile data. But, the main problem is that I can't connect or place any of my calls on the Jio network. Tried searching for the LTE mode in the mobile network settings. But, unfortunately there are a lot of different options for the mobile network settings but no LTE option. Can somebody help me with this issue and tell if there's any possible working solution? Thank you :)
[OnePlus 2 Original Android Development] hussaint:
To the best of my knowledge there are no Android 9 or 10 ROMs that support VoLTE on the OnePlus 2. You would have to go back to Android 8 e.g. Lineage 15. There are many statements to this effect in forums for Android 9 ROMs released for OnePlus 2.
[OnePlus 2 Original Android Development] malerocks:
Also, LTE is not the same as VoLTE. Voice calls on jio need VoLTE. You will never find that in network mode.
[OnePlus 2 Original Android Development] shaarannnnn:
My bad. Then, do you know any solution to this? :)
[OnePlus 2 Original Android Development] malerocks:
Unfortunately no. LineageOS anyway does not support VoLTE as others have suggested. Additionally, oneplus released the OP2 at the time when VoLTE wasn't mainstream and abandoned the device before it became. My assumption is that it is going to be nearly impossible to get the drivers to enable VoLTE for the OP2.

That's just my understanding though.
[OnePlus 2 Original Android Development] dedo1996:
20200808 build:

Enabling do not disturb from notification center:

Clicking the on/off switch works, other buttons under the on/off one (timing, 'end' button at the bottom) make the panel close and the button is not actually clicked as no setting is taken.
[OnePlus 2 Original Android Development] ze7zez:
.

.

Maybe someone with authority will say if VoLTE actually works on OPO2 with android 10 or not? :confused:

.

.

source:

[VoLTE][ROM][10.0] Evolution X 4.5 [UNOFFICIAL]
[OnePlus 2 Original Android Development] kavyas2912:
Hi I flashed today with gapps 10 ... Everything is working fine
[OnePlus 2 Original Android Development] lindroidux:
Thumbnails not being created & unable to view thumbnails in apps & gallery.
[OnePlus 2 Original Android Development] dr1445:
if i open twrp for any reason and reboot, the phone starts to boot lineageos but defaults back to twrp. i can reinstall the latest zip and the phone boots ok so long as i don't go into twrp. thanks
[OnePlus 2 Original Android Development] VW22:
Same happened to me; I didn't have the latest zip file anymore and had to reinstall my complete phone over adb sideload.
[OnePlus 2 Original Android Development] siamlian:
I flashed the latest zip along wih gapps pico.

lineage-17.1-20200919-nightly-oneplus2-signed.zip

open_gapps-arm64-10.0-pico-20200918.zip

It's working flawlessly. Thankyou very very much.:victory:
[OnePlus 2 Original Android Development] MuRF2:
I use the ROM since it has become stable and update almost every week without problems. So far flawless and I just wanted to say thank you.

Since the 20200912 release I sometimes have problems with GPS usage. I mean the simple GPS usage without the Google location accuracy option. Very inaccurate, jumping, often signal loss. Restarting the device helps.

I have to say that I live in a region where I have bad GPS signal.

Anyone else too?
[OnePlus 2 Original Android Development] piens:
Is USB-OTG not working on OnePlus 2 with Lineage OS 17.1 ?

The OTG cable works fine on OnePlus 3T with Stock Rom, but not on OnePlus 2 with Lineage OS 17.1

I also tried a OnePlus One OTG cable with micro usb, works fine on OnePlus One, with a micro-usb to to usb-c convertor it works fine on a Oneplus 3T, but not on a OnePlus 2
[OnePlus 2 Original Android Development] schelem:
screen casting / wifi display

did anyone get the screencast to work?

after i added

persist.debug.wfd.enable=1

to /data/local.prop

i get the triple point menu under "Connected devices">"Connection preferences">"Cast" and can tick the checkbox "Enable wireless display".

After that i can see the screen casting device.

but when i try to connect, the phone soft reboots with the following error:
[OnePlus 2 Original Android Development] nigelgos:
I flashed the 2020-11-07 nightly build and latest gaps pico yesterday. Very impressive build - still a snappy little phone. I noticed that when I make a call and put the call on loudspeaker it is then stuck on the loudspeaker and won't toggle back to the phone speaker. The UI icon itself does toggle on and off. Is this a known issue?
[OnePlus 2 Original Android Development] coen4d:
Can not get root access after installing liniageOS

Hi I recently rooted my oneplus2 and installed liniageOS from this page.

However, I now do not have root access any more, and cant seem to get it back.

I have the recovery image from liniageOS flashed, and have liniageOS installed, with gapps-micro.

Everything works fine, but I have no root access.

If I go into fastboot, and try "oem unlock" it says "OKEY finished" but I don't get prompted to accept on my phone, it just reboots into liniageOS recovery.

After which I can still boot into liniageOS, but not have ROOT access.

I had tried to install liniageOS with the latest TWRP recovery but that did not work, so I tried the liniageOS recovery.

I think this was a mistake, but how to fix?

I cant find info on this.
[OnePlus 2 Original Android Development] Johannes1098:
Did you also flash the Magisk.zip?
[OnePlus 2 Original Android Development] coen4d:
Hi, no I did not install magisk.zip, I downloaded the app, and thought that was all that is necessary.

I did install the .zip now, and I have root access.

Thank you for helping.
[OnePlus 2 Original Android Development] koniiiik:
I'm experiencing a similar issue, in my case, I got it triggered by using droidcam, and it takes a bit longer (more than half an hour); once it does, it breaks both the front and the back camera with the same symptoms, and for any application that tries to use them, until I reboot. Here's a snippet of logs when the cameras don't work:

11-23 10:46:48.640 4319 26018 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Unknown error 2147483646 (-2147483646)
11-23 10:46:48.640 4319 26018 W Camera2Client: notifyError: Received recoverable error 3 from HAL - ignoring, requestId 10000004
11-23 10:46:48.640 4319 26018 E Surface : dequeueBuffer: IGraphicBufferProducer::requestBuffer failed: -2147483646
11-23 10:46:48.640 4319 26018 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Unknown error 2147483646 (-2147483646)
11-23 10:46:48.640 4319 26018 W Camera2Client: notifyError: Received recoverable error 3 from HAL - ignoring, requestId 10000004
11-23 10:46:48.640 4319 26018 E Surface : dequeueBuffer: IGraphicBufferProducer::requestBuffer failed: -2147483646
11-23 10:46:48.640 4319 26018 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Unknown error 2147483646 (-2147483646)
11-23 10:46:48.640 4319 26018 W Camera2Client: notifyError: Received recoverable error 3 from HAL - ignoring, requestId 10000004
11-23 10:46:48.640 4319 26018 E Surface : dequeueBuffer: IGraphicBufferProducer::requestBuffer failed: -2147483646
11-23 10:46:48.640 4319 26018 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Unknown error 2147483646 (-2147483646)
11-23 10:46:48.640 4319 26018 W Camera2Client: notifyError: Received recoverable error 3 from HAL - ignoring, requestId 10000004
11-23 10:46:48.641 4319 26018 E Surface : dequeueBuffer: IGraphicBufferProducer::requestBuffer failed: -2147483646

I'll try to see if I can capture the moment it breaks, in case there's any specific error that gets logged at that time, though I can't make any promises.
[OnePlus 2 Original Android Development] dedo1996:
+1.

It happens with both cameras (for me) and impacts also microphone -> audio notes sent via Whatsapp, for example, are sent muted.
[OnePlus 2 Original Android Development] dedo1996:
(clock) Alarms are not always triggering with the last build!! 20201128
[OnePlus 2 Original Android Development] Jakic007:
Hi,

I have experienced some unexpected black screens/freezes while using camera. Also, sometimes camera will crash and apps will say that camera is unavailable until I reboot my phone.

Another thing that is problematic is bluetooth. It works generally, but for devices that require pairing with code it does not want to init pairing. It just says pairing and then fails after some time without ever showing code.

One example would be samsung bluetooth keyboard and other would be ledger nano x wallet.

Those devices are confirmed to pair normally with my iPad and another android device.

Other than those two issues, ROM is amazing!

Thanks :)
[OnePlus 2 Original Android Development] Aequita:
I can second this problem.

The camera-app in use does not seem to play a role here - happens with various ones.

Edit:

And with ICQnew the phone crashes completely when swapping cameras (buzzing noise -> dead).
[OnePlus 2 Original Android Development] dedo1996:
Boot loop every time I use Lineage updater...
[OnePlus 2 Original Android Development] Johannes1098:
I can confirm that there are problems with the camera and it's not sticked to one camera app

And I think it's worse than last year. I think there were some patches refering to our op2 cam? Maybe some change there is causing it but I don't know.

I'll look at changelog and merges if I have time this weekend..
[OnePlus 2 Original Android Development] dedo1996:
Build 20210123 -> Phone won't boot.
[OnePlus 2 Original Android Development] MuRF2:
I can't confirm that, dirty flash via twrp works.
[OnePlus 2 Original Android Development] piens:
Can confirm, mine won't boot either, comes back to twrp. Tried installing lineage-17.1-20210116-nightly-oneplus2-signed.zip in TWRP (3.2.1.-0) again, no luck
[OnePlus 2 Original Android Development] k1LLbOy:
Hi,

I had the same bootloop issue with Build 20210123 .

Solved it by reinstalling Build 20210123 , wiping cache and the resintalling Gapps in TWRP. Without reinstalling Gapps it won't boot.

Hope it helps.
[OnePlus 2 Original Android Development] dedo1996:
Ouch, I clean-flashed😅😅
[OnePlus 2 Original Android Development] Suhu007:
And here I thought it's just me
[OnePlus 2 Original Android Development] Suhu007:
After reinstalling gapps, it boot up?
[OnePlus 2 Original Android Development] piens:
@k1LLbOy

You Rock, THX a lot
[OnePlus 2 Original Android Development] k1LLbOy:
Yes, I tried clearing cache and reinstalling lineage but that didn't work, reinstalling gapps was the last thing I was trying before doing a clean install and it worked.

I should say that Google maps and Gmail didn't work after booting, but reinstalling them fixed everything.
[OnePlus 2 Original Android Development] marino.68:
Hello, I have installed lineageos 17.1 excellent. But I can't find the "scheduled power on / off" function in the menu. Thank you.
[OnePlus 2 Original Android Development] amadeumagalhaes:
Worked to me too! Thx!
[OnePlus 2 Original Android Development] dedo1996:
Hello guys,

20200130 build creates bootloop problems as 20200123?

Thanks!:):):)

EDIT: dirty flash through Lineage updater is ok.
[OnePlus 2 Original Android Development] Prasad98:
Nope. I clean flashed it along with opengapps aroma and magisk. Works fine
[OnePlus 2 Original Android Development] Prasad98:
Can anybody confirm if encryption works on this ROM?

I need to set-up an exchange account for work that requires encryption.
[OnePlus 2 Original Android Development] Johannes1098:
You mean the hardware encryption with password at boot? Here, this is working fine.
[OnePlus 2 Original Android Development] marino.68:
Hi, I have installed lineageos 17.1(2021-01-30) super. But I can't find the "scheduled on / off" function in the menu.

Anyone know how to re-enable this function? Thank you.
[OnePlus 2 Original Android Development] Prasad98:
Yes, this is exactly what I wanted to know.

Thanks for the info. 😄👍🏽
[OnePlus 2 Original Android Development] Prasad98:
I don't think that this functionality is available built into this ROM.
[OnePlus 2 Original Android Development] marino.68:
Thank you.

I think it is a real shame to have removed this function. it was very useful.

The function was present in the oneplus 2 devices.​

will it be restored in the future?
[OnePlus 2 Original Android Development] Prasad98:
I have some more questions if you don't mind.

I've successfully encrypted my device and configured the exchange account for work email.

But now my question is,

1. How do we update the ROM? Does dirty flashing the latest build work or do we have to remove encryption or something like that?

2. How to go about switching to another ROM? Should I just follow the normal method (i.e. Wipe data, cache, system partition from TWRP & flash the new ROM and Gapps)?

3. Do you have any idea on which partitions are encrypted?

I'm just curious and want to know just in case I change my mind and switch to another ROM.

TIA.
[OnePlus 2 Original Android Development] Jakic007:
I have captured some logs that are related to the camera failure. My camera crashed while I was in whatsapp video call for few minutes and I have used front camera. At first, it worked normally and then my picture froze.

After call, I tried to open AOSP camera app and it said that Camera is not available or something like that.

You can find these logs in the attachments.

EDIT: for some reason, i can not upload logs. Will upload them on mega

File on MEGA

mega.nz
[OnePlus 2 Original Android Development] Suhu007:
Anyone else having random reboots with 20210130 update with ngk eas kernel?
[OnePlus 2 Original Android Development] Johannes1098:
I'm sorry, I just saw your post today..

1. Dirty flashing is fine. The "old" official TWRP 3.2.1 is working fine with Android 10 and also with the Encryption.

2. You mean because of the encryption? Yes, everything should be performed as usual. Wipe, flash ROM and Gapps etc..

The only difference between encrypted and non-encrypted in this progress is, that you have to enter your passcode if you start TWRP. That's of course needed :)

3. Only the data-Partition /data is encrpyted. This is also the only place were user data is stored, so encryption to other partitions wouldn't make sense.

Some more detailed infos about the Encryption:

Full-Disk Encryption | Android Open Source Project

source.android.com
[OnePlus 2 Original Android Development] Johannes1098:
Was it ever integrated in LOS?

I don't remember, so it must be some years ago..

Hmm, is this the full log? I don't reallly see the crash in this logs,

You started the log after the freezing and crashing in whatsapp?

The best thing would be a log while the issue appears..

This was the only thing that maybe hint to the problem..

02-03 13:39:03.556 4494 31288 E Camera2Client: syncWithDevice: Camera 0: Timed out waiting sync with HAL
02-03 13:39:03.556 4494 31288 E Camera3-Device: Camera 0: clearStreamingRequest: Device has encountered a serious error
02-03 13:39:03.556 4494 31288 E Camera2-StreamingProcessor: stopStream: Camera 0: Can't clear stream request: Function not implemented (-38)
02-03 13:39:03.556 4494 31288 E Camera2Client: stopPreviewL: Camera 0: Can't stop streaming: Function not implemented (-38)
[OnePlus 2 Original Android Development] dedo1996:
BOOT LOOP AGAIN with 20210206 build, lineageos updater from previous build (clean flashed)
[OnePlus 2 Original Android Development] dedo1996:
After factory reset, I am trying to restore adb backup, but it goes into bootloop......any hints guys?

Thanks
[OnePlus 2 Original Android Development] Jakic007:
Yes, I got that log after the whastapp crash while I was starting the AOSP camera app. I will try to replicate the whastapp crash while capturing logs.
[OnePlus 2 Original Android Development] Jakic007:
Okay, I got full log from the beginning of the whatsapp call to failure. After that, I tried opening camera app again and it failed. All of that is logged.

I can see lots of errors in the log related to color conversion and unimplemented methods.

File on MEGA

mega.nz
[OnePlus 2 Original Android Development] Suhu007:
Just re flash the gapps over the update.
[OnePlus 2 Original Android Development] dedo1996:
Nope didnt solve it :(

Play services are broken (were, I clean flashed for this reason)
[OnePlus 2 Original Android Development] Suhu007:
It did worked for me. i also got in bootloop with 20210207 update
[OnePlus 2 Original Android Development] aviraxp:
Please test the following build (around 02/13) and see if camera issues are fixed.
[OnePlus 2 Original Android Development] Phantom Thief:
Next build will come in 2 days?
[OnePlus 2 Original Android Development] Johannes1098:
If it doesn't fail, yep, today

Thanks very much, will try it as soon as possible.
[OnePlus 2 Original Android Development] Aequita:
I can confirm that this solves the bootloop.

After that I run into the problem of "Google keeps stopping" though.

Dirty-flashing (LOS+GAPPS) did not solve the problem.

Any advice?
[OnePlus 2 Original Android Development] MuRF2:
If you reinstall all google apps like gmail, this error should go away.
[OnePlus 2 Original Android Development] Suhu007:
Uninstall and then reinstall them
[OnePlus 2 Original Android Development] Suhu007:
By any chance are you using micro gapps ?
[OnePlus 2 Original Android Development] Aequita:
Jesus Christ, everyone forget that I was here ...

Yeah, just re-installing the Google-App itself did the job (no gmail here).

What an embarrassment.
[OnePlus 2 Original Android Development] Johannes1098:
Update to 20210213 went fine. I wiped /system complete. Installed LOS.zip, OpenGapps.zip and Magisk.zip and wiped cache & dalvik cache.

Will test if the camera memory leak is gone..

What camera app do you use? Stock LOS quality isn't that good in my opinion.

Is there a GCAM Mod oder OOS Mod for OP2? Tried some GCAM Mods for OP3 but that didn't work very wel..

What camera app do you use?
[OnePlus 2 Original Android Development] aviraxp:
Anyone tested？
[OnePlus 2 Original Android Development] Johannes1098:
Yeah it seems working.. But it only appeared some time so there could be also a chance that it just didn't appear yet.. but I hope the best and that it's fixed with your merges.

I'll report if the problem reappears.

but thank you.. :)

Another problem I found: Sound/loudspeaker sometimes doesn't work after plugging in headphones and out. I think we already had this problem some time ago but I don't remember exactly..
[OnePlus 2 Original Android Development] mike125a:
I have tested it today and the issue still persists. Build lineage-17.1-20210213 clean flash without gapps.

Default camera settings (1080p). After starting video recording through the default camera app it records for ~15-20 minutes and then freezes. After closing the camera app and reopening it, I can see a camera preview for ~0.3-0.5 sec, and then it freezes again. Issue persists till reboot

Logs(the first crash - camera was running for ~10 minutes already):

02-19 18:14:51.596 4826 8767 E QCamera3HWI: translateFromHalMetadata: Invalid - Pastebin.com

Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

pastebin.com

Logs(reopening camera after freeze):

02-19 18:23:03.443 716 9377 I mm-camera: sensor_get_cur_chromatix_name:2561ch - Pastebin.com

Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

pastebin.com

I had to trim logs due to pastebin limit but should you need logs since system boot I can upload them to mega or somewhere else.
[OnePlus 2 Original Android Development] Johannes1098:
Hmm, this is the other issue.

I thought that we tried to fix the thing, that the camera is crashing random. And not only after a longer period of filming..

So my main problem was: Camera is crashing, for example if taken one photo. Which camera app doesn't matter. And then it says: Service is not available till a reboot.

But sure, there was / is this other issue that you described..

I'm now not really sure for what the fix was for.. hmm