• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][UNOFFICIAL][R]LineageOS 18.1 for OnePlus 2 | Android 11

Search This thread

Jaiwantn

Senior Member
Apr 5, 2021
145
8
OnePlus 2
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.
 

_undead

Senior Member
Sep 26, 2012
343
987
Chandigarh
OnePlus 2
Xiaomi Poco F1
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!
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).
 

_undead

Senior Member
Sep 26, 2012
343
987
Chandigarh
OnePlus 2
Xiaomi Poco F1
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.
Attach logs while reporting issues, please.
 

raptor_712

Member
Sep 12, 2021
12
0
OnePlus 2
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).
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!
 

shonkin

Senior Member
Oct 15, 2012
1,453
582
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.
 
  • Like
Reactions: _undead

kaldibun

New member
Oct 12, 2021
3
0
fingerprints now work as well as the system is much smoother now with the new update. thanks a lot!
 

OnePlus tooo

New member
Oct 4, 2021
1
0
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.
Yess the lte is a bug if the WiFi goes we need to restart the mobile to turn the internet on
 

AACLSM

New member
Oct 12, 2021
3
0
CH
@_undead..:
Once more GREAT thanks for your effort!
With latest Update Cam is now working - QR Codes are to acquire without a PhoneCrash..this is a very big improvement.
Besides I can confirm that the LTE/VoLTE switching sometimes stucks (no LTE even if present)
Reboot the device solves this - I can live with this.
Have a beer!
 

_undead

Senior Member
Sep 26, 2012
343
987
Chandigarh
OnePlus 2
Xiaomi Poco F1
I have attached the log in this message, can u view it??
Yes, I can, thanks.
@_undead..:
Once more GREAT thanks for your effort!
With latest Update Cam is now working - QR Codes are to acquire without a PhoneCrash..this is a very big improvement.
Besides I can confirm that the LTE/VoLTE switching sometimes stucks (no LTE even if present)
Reboot the device solves this - I can live with this.
Have a beer!
Will try to resolve that one as well. Cheers!
for which sim VoLTE is working
Only the SIMs for which VoLTE support was officially added by the carrier exclusively for the OnePlus 2. For example Jio.
 
  • Like
Reactions: Jaiwantn

_undead

Senior Member
Sep 26, 2012
343
987
Chandigarh
OnePlus 2
Xiaomi Poco F1
Hello everyone,

I've uploaded a test build which should fix the data toggle issues. I've tested it using my personal Jio SIM and it works fine, along with the camera issue (adapted a different thing, but the end result should be the same). Also added some tweaks and addressed a SELinux denial. Build should be a tad smoother, if not a whole lot. Lemme know what you think.

Filename: lineage-18.1-20211016-UNOFFICIAL-oneplus2.zip

Thanks!
 
Last edited:
  • Like
Reactions: Jaiwantn

Jaiwantn

Senior Member
Apr 5, 2021
145
8
OnePlus 2
One request @_undead, can u upload the new upcoming builds in the updater section also....because it would be easier for us to download and flash as a software update...and by thw way this build has fixed that issue and the build is smoother too, thanks for your effort....
 
Last edited:

_undead

Senior Member
Sep 26, 2012
343
987
Chandigarh
OnePlus 2
Xiaomi Poco F1
One request @_undead, can u upload the new upcoming builds in the updater section also....because it would be easier for us to download and flash as a software update...and by thw way this build has fixed that issue and the build is smoother too, thanks for your effort....
That's for official builds only. I won't undergo the hassle to implement unofficial ota structure.
 
  • Like
Reactions: Jaiwantn

Jaiwantn

Senior Member
Apr 5, 2021
145
8
OnePlus 2
no just a dirty flash, if I need to clean flash then I need to wipe my apps and data.... downloading them back and restoring whatsapp backups is hell a lot of job
 

Aequita

Member
Nov 21, 2018
26
5
Hey @_undead - first off: Thanks for keeping that ol boy alive!
Great work!

I just installed lineage-18.1-20211016-UNOFFICIAL-oneplus2.zip with NikGapps (Core) via ADB sideload after a complete wipe:
  • I can still copy the camera-problem -> Screen goes black about 10-15secs after starting stock-camera.
  • It is not possible to swap navigation-buttons (back and recent) while on-screen-buttons are deactivated.
  • I get a warning from Trust that the vendor-patch is out of date and the build is signed with a public key?
  • Couldn't test Mobile Data yet, as I have to find a SIM to use first :)
Stuff is translated, apologies if they don't fit the english wording 1:1.
 

Jaiwantn

Senior Member
Apr 5, 2021
145
8
OnePlus 2
Hey @_undead - first off: Thanks for keeping that ol boy alive!
Great work!

I just installed lineage-18.1-20211016-UNOFFICIAL-oneplus2.zip with NikGapps (Core) via ADB sideload after a complete wipe:
  • I can still copy the camera-problem -> Screen goes black about 10-15secs after starting stock-camera.
  • It is not possible to swap navigation-buttons (back and recent) while on-screen-buttons are deactivated.
  • I get a warning from Trust that the vendor-patch is out of date and the build is signed with a public key?
  • Couldn't test Mobile Data yet, as I have to find a SIM to use first :)
Stuff is translated, apologies if they don't fit the english wording 1:1.
This is a test build, with selinux permissive.. I think.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Not a custom font, the default font only, but this is moving to right hand side without a reason, but this is very rare
    yeah, default lineage has 4 options for stock font, that might be one of them
  • 14
    bDM92Fq.png

    LineageOS is a free, community built, aftermarket firmware distribution of Android 11, which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    What's working
    • Boots
    • RIL
    • VoLTE
    • Wi-Fi
    • GPS
    • Hotspot
    • Bluetooth
    • Video Playback
    • Camera/Video Recording
    • Audio
    • Sensors
    • LED
    • Alert Slider
    • Screen-off Gestures
    • WFD
    • ADB Debugging
    • SELinux Enforced
    • Safetynet

    Known issues
    • You tell me

    Installation Instructions
    • Download the build and reboot to recovery
    • Wipe system, data and cache
    • Install the ROM
    • Reboot

    Notes:
    • For Gapps, flash Nikgapps, Omni or Macro recommended.
    • No support will be provided for above mentioned packages.
    • Stock LOS is the default kernel.

    Reporting Bugs
    • You can grab logs via adb, any logcat reader app (matlog recommeded, now available on Play Store).
    • DO NOT report bugs if you are not running stock kernel/have any magisk modules or flashing any addon zip.

    Downloads
    Click Here

    Special Mentions
    • Akash Shetty
    • Wmbruckner
    • Schrodinger's cat
    • Sarthak
    • Pierre
    • rBen
    These guys helped by testing multiple builds and reporting with useful logs when needed.

    • rBen for donating his OnePlus 2.
    • SGCMarkus for the help.
    • Abhishek Tiwari for the VoLTE fix.
    • Abhishek Tiwari and Gagan Malvi for the mm-pp-daemon fix.

    XDA:DevDB Information
    [ROM][UNOFFICIAL][R]LineageOS 18.1 for OnePlus 2 | Android 11, ROM for the OnePlus 2

    Contributors
    _undead
    Source Code: https://github.com/LineageOS/android_kernel_oneplus_msm8994

    ROM OS Version: Android 11
    ROM Kernel: Linux 3.10.x
    Based On: LineageOS

    Version Information
    Status:
    Stable

    Created 2020-10-09
    Last Updated 2021-06-01
    7
    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!
    6
    Just an update,
    Fixed most of the issues.
    Update will be out soon.
    5
    Just an update,

    I've been trying to incorporate both the fixes into a single build, but it doesn't seem to be going well.
    Our blobs in general are too old. There are two separate workarounds for the Data Issue and Camera issue, individually adding them make the respective thing work fine, while adding them into a single build just breaks the camera. Back to square zero.

    I'll try to workaround the data issue (I have an idea). Let's see how that goes. Until then, please flash the build for whatsoever is more important for your daily needs.

    Until then, you can use RIL Control app on the build with camera working, so that data fixes without having to reboot your phone everytime. Do note that this app needs root. Link: https://sourceforge.net/projects/mukul2259/files/oneplus2/R/Ril_Control.apk/download

    Cheers!
    4
    The primary server I was using is gone, so I am not able to build anything for OnePlus 2 as of now. Hence no updates. Will try to arrange one.
    Hi ... what kind of server do you need ? Maybe I can help.
    Kind Regards
    Chris