yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Original Android Development] toscha42:
I'm not using it but AFAIK for NikGapps you can flash the addon 'Google Velvet' available in Github where you also find NikGapps.

Cheers

Toscha
[OnePlus 2 Original Android Development] Jaiwantn:
I wanna install BitGAPPS and its addon package, in my device where already there is NikGAPPS, can I able to install it
[OnePlus 2 Original Android Development] 30simranit:
Is the SELinux still permissive in the latest build?
[OnePlus 2 Original Android Development] Jaiwantn:
yes, I think it will be fixed in next update
[OnePlus 2 Original Android Development] toscha42:
Don't know. I'm totally fine with NikGapps so no reason for me to change.

Cheers

Toscha
[OnePlus 2 Original Android Development] kotobuki09:
I have the same issue that the phone suddenly restart a couple of times during the day. I think I will wait for another update on this maybe
[OnePlus 2 Original Android Development] Hariharan.Venkataraman:
No issues all these days, tiny bit of latency. I installed with Nikgaps omni and have 7 or 8 non google apps. All works ok. Thanks 👍
[OnePlus 2 Original Android Development] Jaiwantn:
I tested by installing Evolution X and I ran it for 1.5 weeks but I was not experiencing this issue. I am going to reinstall this Lineage OS and find out whether it works fine or not...
[OnePlus 2 Original Android Development] Jaiwantn:
Every time when I want to turn on mobile data I need to restart my phone and some apps such as teams is crashing in this ROM....don't think that I am keep on posting in this thread...I am just informing the bugs
[OnePlus 2 Original Android Development] Vik_tom:
Hi,

I have installed this ROM with Nik Gapps-Omni. But after installing I am not able to make or receive calls. Whenever I dial a number, dialer just ended the call in 1 second. And when someone calls me, its says the number is switched off. 4G is working fine, I am able to use internet very well on this device. Infect I am writing this from this device only. Is there any workaround ?

"Device is HD ready" is also not showing.

Thanx in advance.
[OnePlus 2 Original Android Development] toscha42:
Maybe you need to set the dialer as default app in settings.

Cheers

Toscha
[OnePlus 2 Original Android Development] Vik_tom:
Hi,

I checked the default dialer settings. also downloaded the Lineage dialer and set it default but nothing works.

Finally, I have reflashed the ROM and this time i flashed OpenGapps-Nano. Now incoming and outgoing calls working absolutely fine. Maybe it was something with the dialer in the earlier GAPPS.

But still VOLTE is not working. I have tried on Jio as well as on airtel. Tried on Sim 1 and Sim 2, but nothing works. Please can you guide me in this.

Thank you for the support.
[OnePlus 2 Original Android Development] Jaiwantn:
how are you checking whether VoLTE is working or not, VoLTE icon is not visible at all in neither of the roms

Cheers

Jai....
[OnePlus 2 Original Android Development] Vik_tom:
I have enabled the Enhanced 4G calling in Mobile networks section. But neither the VOLTE or HD icon shows in status bar nor "Device is HD ready" shows in pull down menu.

Also, when i dial or receive a call, Internet gets disconnected. It should not happen if i have VOLTE enable.
[OnePlus 2 Original Android Development] Jaiwantn:
in mobile network settings nothing named enhance 4G calling is there,

I wonder whether u r using one plus 2 or any other phone.
[OnePlus 2 Original Android Development] Vik_tom:
Sorry, My mistake. There is VOLTE. It is enabled.

and i am using Oneplus 2.
[OnePlus 2 Original Android Development] Jaiwantn:
I installed all the roms of One Plus 2 neither of the roms showing VoLTE icon or Device HD ready, now am using POSP, android 10 it is also not showing. I will install this rom after fixing all the issues because in this rom whenever I turn on 4G I need to restart my device and sometimes device is switching off suddenly while taking photos or videos, and when call arrives the phone is kust ringing for 30 seconds and then only the call screen appears...
[OnePlus 2 Original Android Development] Vik_tom:
I haven't found any of these bugs as of now. It is a pretty smooth ROM till now.

I only want VOLTE because right now i am using this device only. and i connect Hotsport from this to my office Laptop. Whenever i receive any call, internet got disconnected.

Before this i was using Iphone X with VOLTE and there is no issue with internet on it. But i broke that Iphone.

Anyways, Hope for the best. and thank you so much for this ROM.
[OnePlus 2 Original Android Development] Jaiwantn:
It was a smooth ROM for me also but for 2 weeks but after that I experience these kind of bugs
[OnePlus 2 Original Android Development] tres_linguas:
@_undead thx a lot for this Rom. Does it use this device tree: https://github.com/mukul2259/device_oneplus_oneplus2 ?

I'm considering continuing LOS for myself (personal builds) and I'm wondering which device tree I should use
[OnePlus 2 Original Android Development] LesGaR:
Wow! Thank you for keeping this device alive. We will wait
[OnePlus 2 Original Android Development] VW22:
Since the upgrade from LOS17.1 I can not login into the entrerprise wifi at work, even with the correct domain name.

Any others who have the same problem.

I use PEAP, MSCHAPV2, do not validate

even

TTLS, MSCHAPV2, do not validate,

The network setting in developer options are all on except :extended wifi log registration and hardware acceleration for tethering.
[OnePlus 2 Original Android Development] Jaiwantn:
Any updates for this ROM pls
[OnePlus 2 Original Android Development] I<Aow:
Hello,

I have two questions:

1. What is WFD and what does it affect?

2. How does selinux premissive affect me while using this ROM?

Thanks in advance!
[OnePlus 2 Original Android Development] Missignal_Dev:
[DELETED]
[OnePlus 2 Original Android Development] I<Aow:
??? I don't get the point. In which way belongs this post to my question? Or did you quote my post by accident?
[OnePlus 2 Original Android Development] Missignal_Dev:
oops sorry, I was replying to another person, but accidentally clicked the Reply button on your post...

For your question:

1. WFD is just a method to connect to a Wi-Fi hotspot. (https://en.wikipedia.org/wiki/Wi-Fi_Direct)

2. SELinux permissive could cause some security problem. For the worst situation, a malware can erase you whole flash chip without root permission granted.
[OnePlus 2 Original Android Development] Missignal_Dev:
Just tried in a school network. Same PEAP, MSCHAPV2 and do "not validate", connects correctly and works fine.
[OnePlus 2 Original Android Development] んなあああああああ:
I’ve been using this ROM for a bit over a month now. I’ve noticed two pretty big problems:

If the camera is on for about 20 seconds continuously, the phone will go to a black screen. The phone doesn’t seem to react to any button presses or the alert slider. The only way out of this seems to be force rebooting the phone by holding the power button. The button needs to be held for 10 seconds, which suggests that the phone is still turned on despite the black screen and no reaction to buttons (because if the phone were turned off normally, it would only take a few seconds of holding the power button for it to boot).

It doesn’t seem to matter which application activates the camera, the result will be the same. I’ve tried the stock camera app, OpenCamera, and even the integrated camera function in Telegram (chat app).

Sometimes it’ll take just a few seconds of using the camera for the phone to become unresponsive. But if you reboot the phone, and open the camera right after, it always seems to take around 20 seconds.

The mobile data will sometimes stop working entirely, and refuses to activate unless you re-insert the SIM card (doesn’t seem to always work), or reboot the phone (always works).

Possibly related to the issue which @Jaiwantn was experiencing in July.

The workaround for this seems to be simply never turning off mobile data (even if you’re using Wi-Fi). The problem seems to be related to re-activating mobile data if it has been turned off even once (but this doesn’t occur consistently).

Haven’t really noticed other problems, apart from Discord being extremely laggy, at least compared to how it worked for me on LOS 16. But that’s probably not the ROM’s fault, since other apps work fine.

I’ll probably switch to the last official build of LOS 17 soon enough, unless the camera problem is solved.
[OnePlus 2 Original Android Development] raptor_712:
Nice work!

I was able to install on my OPT seamlessly.

One help needed, I was not able to setup GPay on this build. I also added the gms patch, but still, something is preventing Gpay running.

Not sure if this is the right place to ask for help, but any pointers will be very appreciated..

Thank you!
[OnePlus 2 Original Android Development] KoFohz1Ne3:
I have encountered several problems with the build and had to switch back to 17.1.

- mm-pp-daemon fails and then consumes 100% of a cpu core (thankfully it's not multi-threaded).

- the pppd daemon fails to restore connectivity on forced hang up by the operator. (My stupid operator still uses PPP and will reset sessions after 6 hours of uptime).

I've also noticed instability with other processes which crash in loop. The camera app will also sometimes fail to record video.

Unfortunately I couldn't debug further as I needed the device to fully work again ASAP.
[OnePlus 2 Original Android Development] _undead:
Yeah I am aware of mm-pp-daemon and trying to find a workaround for that.

Update: Managed to find a workaround for mm-pp-daemon.

The only apparent bugs apparent left on the latest build I have are

-ADB debugging/Permissive SElinux

-Some logspam

And yes, Wifi Display works now as well.
[OnePlus 2 Original Android Development] _undead:
The device needs to be able to bypass CTS in order to be able to use GPay.
[OnePlus 2 Original Android Development] _undead:
Hello everyone,

Just pushed another build. Changelog is as follows:

-WFD works now

-mm-pp-daemon which pinned 100% usage for little cluster has been fixed

-Miscellaneous under the hood improvements

-Smoothness improvements

-Synced with latest Lineage source

Cheers!
[OnePlus 2 Original Android Development] Jaiwantn:
The issues what I have reported earlier, are they fixed @_undead??

Can I install opengapps android 11 nano in this rom??
[OnePlus 2 Original Android Development] Jaiwantn:
I am having 60 mbps internet connection but the download speed is very low.
[OnePlus 2 Original Android Development] Jaiwantn:
View attachment 5413677

View attachment 5413679
[OnePlus 2 Original Android Development] _undead:
You have the changelog, please go through. And you should be able to. Test and let me know
[OnePlus 2 Original Android Development] _undead:
It's because of sourceforge. You can change the download server.
[OnePlus 2 Original Android Development] Jaiwantn:
Ok..thanks man😊😊, will let you know the bugs after few days...
[OnePlus 2 Original Android Development] Jaiwantn:
Only these bugs matters for me, these are still not fixed. other than that ROM is fine.
[OnePlus 2 Original Android Development] raptor_712:
Same here. The camera issue is nasty. No other option than to reboot the phone.

@_undead, I tried the latest build. In my case, the phone did not boot up at all. It was stuck on the lineage screen itself. I had to go back to previous build.

Even I am planning to downgrade to LOS17 unless these issues get fixed. If there is anything I can do to help fix this issue, lemme know.
[OnePlus 2 Original Android Development] Jaiwantn:
The phone must boot, did you follow the procedures for installing, did u wipe dalvik/cache(sometimes wiping this will also help, for me it helped while flashing LOS 17.1)
[OnePlus 2 Original Android Development] raptor_712:
Yes, I did. I was thinking of giving it an attempt again. But, there seems to be less point since the issues are still prevalent.

I was trying building the same on my local. But seems, oneplus2 support is revoked. I will gradually work my way out, but I am stuck here for now. Any ready pointers to move ahead will be really appreciated!

(base) $ breakfast oneplus2
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/core/product_config.mk:155: error: Can not locate config makefile for product "lineage_oneplus2".
20:18:40 dumpvars failed with: exit status 1
Device oneplus2 not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_oneplus_oneplus2
Default revision: lineage-18.1
Checking branch info
Default revision lineage-18.1 not found in android_device_oneplus_oneplus2. Bailing.
Branches found:
cm-12.1
cm-13.0-old
cm-13.0
cm-14.0
cm-14.1
lineage-15.0
lineage-15.1
lineage-16.0
lineage-17.0
lineage-17.1
lineage-18.0
Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/core/product_config.mk:155: error: Can not locate config makefile for product "lineage_oneplus2".
20:18:41 dumpvars failed with: exit status 1
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/core/product_config.mk:155: error: Can not locate config makefile for product "lineage_oneplus2".
20:18:41 dumpvars failed with: exit status 1

** Don't have a product spec for: 'lineage_oneplus2'
** Do you have the right repo manifest?

Thanks
[OnePlus 2 Original Android Development] Jaiwantn:
I recommend u to download the rom again, for me it downloaded half of the rom and said downloaded then I downloaded again.
[OnePlus 2 Original Android Development] beatletwo457:
i have found some issues with the rom or gapps . while installing larger-sized apps the play store crashes after 99% and the app doesn't download no matter what, how can I fix this?
[OnePlus 2 Original Android Development] raptor_712:
Guys, any solution on the camera issue? Any breakthroughs here?
[OnePlus 2 Original Android Development] beatletwo457:
For me in the latest build camera issue is fixed try clean install again and make sure that the rom is download from sourceforge properly . Try to update your twrp sometimes it can also create problems.
[OnePlus 2 Original Android Development] Jaiwantn:
That is fixed for one day, try using the ROM for atleast one week
[OnePlus 2 Original Android Development] raptor_712:
Thanks for the heads up ... I upgraded to the latest ROM available here, clean installed. But camera issue is still there. Will use it for one week and see if things get better.

Thank you!
[OnePlus 2 Original Android Development] raptor_712:
@ guys, camera not working properly, is there any place I can check the hardware logs? Checked dmesg, nothing suspicious there. Any place other where I can check for RCA ?

Thanks in advance!
[OnePlus 2 Original Android Development] _undead:
Should be fixed in the next build, proper kernel side fix is under testing and so far seems good.
[OnePlus 2 Original Android Development] _undead:
Can anyone else confirm if adb works during boot/in system since someone told me it does for him, but doesn't for me. Maybe it's an issue with my laptop/setup. Thanks!
[OnePlus 2 Original Android Development] makjim:
Just upgraded from LOS 17.1. So far so good. Thanks a lot.
[OnePlus 2 Original Android Development] Exodusnick:
This is missing

android_device_oneplus_msm8998-common/lineage.dependencies at lineage-18.1 · LineageOS/android_device_oneplus_msm8998-common

Contribute to LineageOS/android_device_oneplus_msm8998-common development by creating an account on GitHub.

github.com

GitHub - LineageOS/android_hardware_oneplus

Contribute to LineageOS/android_hardware_oneplus development by creating an account on GitHub.

github.com
[OnePlus 2 Original Android Development] Exodusnick:
Default revision lineage-18.1 not found in android_device_oneplus_oneplus2. Bailing........

does not exist

you must use 18.0 and not 18.1

GitHub - LineageOS/android_device_oneplus_oneplus2

Contribute to LineageOS/android_device_oneplus_oneplus2 development by creating an account on GitHub.

github.com
[OnePlus 2 Original Android Development] PhatUgly:
Hi all,

as the official Lineage OS from aviraxp for our phones has been discontinued (https://xdaforums.com/t/rom-official-lineageos-17-1-for-oneplus2-android-10.3969619/), I would like to upgrade to this version.

Has anyone made positive experience with simply dirty-flashing this over the official 17.1? Or is a clean install recommended.

If clean install is the way, what is your best practice to get the whole setup with apps etc. back up and running without starting from scratch?
[OnePlus 2 Original Android Development] I<Aow:
Why do you recommend Nikgapps Omni or Macro? What about the others like go, basic or core?
[OnePlus 2 Original Android Development] _undead:
It's just my personal preference. Try whatever you feel like.
[OnePlus 2 Original Android Development] I<Aow:
My microphone is not working at all. Does someone know any advice?
[OnePlus 2 Original Android Development] I<Aow:
OK, I don't know why, but it is working fine since yesterday. After I recieve a phone call it was starting to work since then.
[OnePlus 2 Original Android Development] _undead:
Hello everyone, just uploaded another build with the following changes:

SELinux is enforced now

CTS Passes by default

Enabled button brightness overlay

Cleaned up some unneeded stuff from device side

Build should be smoother

Under the hood fixes for kernel

NOTE: ADB was always working apparently, but QCOM diagnostics driver was the culprit for me, if you have the same issue, just uninstall the driver and it should be back to normal.

I consider this one as mostly stable. I have the logs for the camera issue that *some* users are facing. Will address them in a later build when I can diagnose them. Running a little busy right now.

Enjoy!
[OnePlus 2 Original Android Development] _undead:
The file has been re-uploaded. Should reflect in downloads page now. Sorry for the inconvenience.
[OnePlus 2 Original Android Development] I<Aow:
Thanks a lot. Just dirty flashing the ROM is fine?
[OnePlus 2 Original Android Development] _undead:
Clean flash recommended.
[OnePlus 2 Original Android Development] raptor_712:
This is cool. Thanks will try a clean install.

Thanks for waiting for the cam logs, but I couldnt get much time to debug things from my end, or even gather logs.

Thanks for rebuilding, will post my findings here.

You are awesome!
[OnePlus 2 Original Android Development] raptor_712:
@_undead ... Attached are the camera logs. I was able to reproduce the problem with logcat ON. It does get reproduced, everytime ... :D

Let me know if there is anything I can do to make this one work. This cam issue is really nasty!

JFYI, these logs are from the old build, (0917). I am yet to try this on the latest ones. Will try over the weekend.
[OnePlus 2 Original Android Development] 30simranit:
Clean flashed it today.

Was running AEX earlier. So my experience is a comparison between them both.

- It is smoother and way better than AEX.

- Huge improvement in call signals and WiFi speeds (210 mbps down, never achieved this before).

- Battery life seemed to have improved. Although it would be early to say that.

- Haptics and animations are butter smooth.

- For some reason, I am unable to set up Fingerprint. (is it a known issue? )

- Phone just dies when the camera is active for a long duration ( 1 min or so) in Snapchat.

Thank You @_undead for keeping our OP2 alive.
[OnePlus 2 Original Android Development] _undead:
I cannot see the camera logs attached to your post, mind redoing it?
[OnePlus 2 Original Android Development] _undead:
I'll check the fingerprint issue out. Seems like it is happening after enforcing.
[OnePlus 2 Original Android Development] _undead:
Hotfix update is live with fingerprint enrollment fixed and a bunch of selinux fixes. Some kernel side improvements are also added. Enjoy!
[OnePlus 2 Original Android Development] raptor_712:
Sure. Attaching the zipped version this time. Let me know if that works for you.
[OnePlus 2 Original Android Development] AACLSM:
@_undead - thirst many thanks for your effort - GREAT!

Just to confirm.. unfortunately I'm also facing the camera issue - but let's hope you can solve it now with the logs.

Finally... can't see a updated file under "Downloads - click here"? still 2021-10-11 / 627.5MB
[OnePlus 2 Original Android Development] kaldibun:
keeps saying "Fingerprint enrollment didn't work. Try again or use a different finger."

any finger results in this, plus it stops at the same progress level.

nevermind... the fix is live, the rom is latest but still says it
[OnePlus 2 Original Android Development] _undead:
This works, thanks.

Let's see. I'll reupload it.

Will reupload the zip.
[OnePlus 2 Original Android Development] Jaiwantn:
waiting for the fixation of camera issue after that I will change to Lineage OS because I take videos more often, I already have a nandroid backup of this ROM....
[OnePlus 2 Original Android Development] _undead:
So, I've uploaded another build with an attempt to fix camera, which may or may not help. It works just fine for me, I used to have rare crashes while using the default camera and seems like they're gone, but that's just me and I don't daily drive the phone. Oh and this build also includes fingerprint enrollment fix.

Do let me know if it made any improvements to the situation!

ZIP Name: lineage-18.1-20211012-UNOFFICIAL-oneplus2.zip
[OnePlus 2 Original Android Development] raptor_712:
Thats great! Could you give us some insights over the errors in logs? Camera issue fix will be a huge improvement in this build. Thats the only issue where rebooting is the only option to get out with it.

Will give the latest build a shot today! Thank you!
[OnePlus 2 Original Android Development] FastJack2:
Just dirty-flashed the new test-build a few minutes ago and launched can. Issues seeem to be gone at a first glance.

As always absolutely great work keeping such an old niche-device up to life @_undead
[OnePlus 2 Original Android Development] Jaiwantn:
Thank you so much I will flash it and will let you know the bugs
[OnePlus 2 Original Android Development] Jaiwantn:
Can I dirty flash this ROM I am already in older build of this ROM, in the updater the new build is not showing
[OnePlus 2 Original Android Development] Jaiwantn:
Just Dirty flashed the ROM,

1) I ran Camera for 3 mins, at 4K 30 FPS no issue.

2) The only bug that is not fixed is the mobile data issue. if I need to on my mobile data I need to restart my phone, or else I need to keep my mobile data on throughout the time even if wifi is on, when I need to restart the mobile data I need to restart my phone or else LTE icon is not showing and internet is also not working.
[OnePlus 2 Original Android Development] _undead:
So, our camera blobs are too old. Dated back to Android M, which doesn't gel well with scudo, a memory allocator/deallocator. Perhaps, there could be more reasons, but that's what aviraxp confirmed as well.

Hopefully this workaround helps, else we cannot just kang blobs from some similar device because they are dependent on device and most of the devices had Android N atleast (thanks to aviraxp for explaining this).
[OnePlus 2 Original Android Development] _undead:
Attach logs while reporting issues, please.
[OnePlus 2 Original Android Development] raptor_712:
Thanks for the insights _undead. Installed the latest ROM, Camera is working good, tested it multiple times for 5 mins window.

@others waiting for camera fix, do install the latest one. Should resolve your issue too.

Thank you!
[OnePlus 2 Original Android Development] shonkin:
I have an old "Frankensteined" OP2 I built from two broken ones. It served me well for a while but I moved on... but still have it. So last night I fired it up and flashed this rom to it, even though no phone service. Works fine! I got it and a newer TWRP than what I had previously on in about half an hour tops. Heh. Kinda wish I could root the stupid Samsung I have. Next phone I get is going to be rootable for certain.