[ROM][8.1.0]LineageOS-15.1[OP2][STABLE][UNOFFICIAL]

Search This thread

Shreesha.Murthy

Recognized Developer / Inactive RC
Mar 1, 2014
611
6,883
127.1.1.0
TNMpdeb.png

LineageOS is a free, community built, aftermarket firmware distribution of Android 8.0 (Oreo), 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.

Code:
#include "std_disclaimer.h"
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */

What's working :

  • Boots
  • RIL (Calls, SMS, Data)
  • Fingerprint
  • Wi-Fi
  • Bluetooth
  • Camera
  • Video Recording
  • Video Playback
  • Audio
  • Sensors
  • Hotspot
  • Flash
  • LED
  • GPS

Where are the features?
  • LineageOS is in development process so don't complain about xyz features missing.

Instructions :
  • Download the build
  • Reboot to recovery
  • Flash the latest build
  • Reboot

Downloads :

Discord server for OP2 users : here


Kernel Source: Here

XDA:DevDB Information
LineageOS-15.1, ROM for the OnePlus 2

Contributors
Shreesha.Murthy
Source Code: https://github.com/LineageOS

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.10.x
Based On: AOSP

Version Information
Status: Stable

Created 2017-09-05
Last Updated 2018-02-20
 
Last edited:

Shreesha.Murthy

Recognized Developer / Inactive RC
Mar 1, 2014
611
6,883
127.1.1.0
Reporting Bugs
  • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab dmesg . (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
  • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.

Changelogs

First Alpha Build:
- Initial build

Second Alpha Build:
- Fixed MSIM network settings crash
- Fixed Audio through BT
- Hardware nav keys backlight support added

Third Alpha Build:
- Added FP wrapper and reduced FP delay
- kernel updates and inclusion of KCAL and other great stuff
- Alert Slider fixed
- Offline gestures work as intended
- Camera working partially
- Flashlight works
- Double Tap 2 wake can be enabled from KA
- Minor bug fixes

Fourth Alpha Build:
- Alarm clock fixed
- Portable WiFi hotspot working
- DRM supporthttps://www.androidfilehost.com/?fid=962157660013070592
- Added AOD (Always On Display). Refer to FAQ for more info
- Added Pixel color accent. Refer to FAQ for more info
- Fixed AOSP keyboard gesture typing
- Minor bug fixes
- Video recording works for FHD and other lower resolution tasks

First Beta Build:
- Screen Recording fixed completely
- Implemented HAL3
- Enabled camera modes
- Added advance reboot
- upstreamed kernel
- Video recording fixed
- Green photos while clicking multiple pictures fixed
- Minor bug and exploit fixes

Second Beta Build:
- Added 4K profile video recording support.
- September security patch
- Blueborne exploit patched
- Reduced random reboots upon connecting to PC/laptop
- Removed CNE and DPM
- Data toggle fix
- Default camera will be pinned to memory (Faster launch)
- Fingerprint wakeup improvements
- Removed "Device is HD compatible" persistent notification
- minor bug fixes

Third Beta Build:
- Random reboot upon USB replug/unplug fixed
- Fixed camera not recording videos after sometime upon booting
- Fixed voice calls through BT
- October security patch
- Channel notification debug toast hidden
- Various NPE possibilities patched
- USB related patches
- Fixed MTPserver crashes
- Turned carrier provisioning off by default to allow tethering
- Enabled back ANT+
- Enabled dexpreopt for quick boot up
- Fingerprint improvements
- Minor string and bug fixes


Fourth Beta Build:
- Ability to hide "Apps running in background" dialog
- Virtual navbar enabler (It'll disable hw keys automatically)
- Substratum rootless support (BETA)
- Button remapper (disabled for back button to preserve some default functions)
- hardware buttons backlight timeout
- backlight intensity slider
- Redesigned ringtone logic
- Added ADB over network
- Added toggle to turn off screenshot sound
- Enabled camera modes and RAW back(captured RAW images look fine on desktop)
- Removed CNE and DPM remains
- DT2W toggle fixed
- minor bug fixes and improvements

Fifth Beta Build:
- Boots :p
- Android version 8.1.0
- Enabled OnePlus doze (Ambient display)
- Enabled notification LED customization overlay
- Camera HAL is now compiled with clang
- Few important RIL patches
- December security patch

Sixth Beta Build:
- Updated Kernel source
- Fixed OEM unlock toggle in developer settings
- Added Quick pulldown
- January security patch
- Few important msim patches
- Removed su binary
- Minor bug fixes and translation updates

Seventh Beta Build:
- Added back button settings
- Added proximity wake flags
- Power profiles are back
- Minor bug fixes and translation updates

Eighth Beta Build:
- Added advance reboot
- Gestures are back (Added more gestures)
- AudioFX effect fixes
- Updated radio and ims blobs
- Enabled back CNE and DPM features
- VoLTE working as expected with newer additions from LineageOS
- Working SIM provisioning (SIM disable switch)
- Added support for ViLTE
- Added required vzw jars needed for VZW US carrier
- Build up-to-date with latest LineageOS merges
- Minor bug fixes and translation updates

First Stable Build:
- System wide Dark/light theme based off wallpaper or manually including 9 accents to complement with (Project Berry)
- Fixed sound playing on both speaker and headphones when a screenshot was taken while listening to music
- Updated RIL daemon
- Added module to load dalvik heap values based off RAM size
- Updated netmgrd and libnetmgr from kenzo
- Updated audio configs
- Updates to core control
- Fixed BT calls and audio stream through BT
- Updated calendar app to oreo style accents
- New adaptive icons for all system apps
- Included Apollo (music player)
- Build up-to-date with latest LineageOS merges
- Added advanced location tile
- minor bug fixes and translation updates

Second Stable Build:
- Added auto face-unlock (Need GApps)
- Fixed FP behaving like home button in some places
- Fixed in-call echo and background noises while on call
- Forced HAL3
- Dropped Snap, ships with Camera2
- Minor bug fixes and translation updates

Third Stable Build:
- March security patch
- Includes LineageOS setup wizard
- Includes bunch of new wallpapers
- Fixes to LOS power HAL
- Updates to styles api
- Contacts will now ignore null accounts
- Added toggle to only light up backlight when buttons are pressed
- Minor bug fixes and translation updates

Fourth Stable Build:
- SELinux Enforcing
- SafetyNet passes without need of magisk now
- "Certified" in Google Playstore app
- Added core_ctl props
- minor bug fixes and translation updates

Fifth Stable Build:
- April security patch
- Fixed flipped photos
- Switched to Snap camera
- Fixed sync issue between photo taken and flash fired
- minor bug fixes and translation updates
(Note: DO NOT flash any custom kernel until they're updated for this specific version. If you do, you're on your own. Don't complain about buggy camera)

Sixth Stable Build:
- Fixed camera not recording videos
- Fixed camera Daemon late start issue
- May security patch
- Added wireguard VPN support
- Add ability to restrict app data/wifi usage
- Fixed netmgrd permissions
- Minor bug fixes and translation updates

Weekly build Changelogs

Weekly dated 20171105:
- KRACK exploit patched
- kernel upstreamed to 3.10.108
- Search button in Settings FC fixed
- Recorder app revamped
- Build contains all latest LineageOS merges at the time of release

Weekly dated 20171113:
- November security patch
- MSIM patches merged for better dual sim management
- Build contains all latest LineageOS merges at the time of release
 
Last edited:

Shreesha.Murthy

Recognized Developer / Inactive RC
Mar 1, 2014
611
6,883
127.1.1.0
Frequently Asked Questions:

Q. Can this ROM be flashed through TWRP?
A. Yes, proceed with the latest TWRP official image

Q. Can I run this ROM in multiboot or dualboot setup?
A. You can but I won't accept bug reports or help anything related to that.

Q. Sounds good. How can I contribute to project?
A. Test the build as much as you can and report bugs which can be reproduced with exact steps and are not random.

Q. How to disable "Apps running in background" dialog?
A. When you see the dialog, long press on it and select "Settings". From there, you'll have a toggle to disable it.

Q. Where do I find button settings?
A. Settings -> System -> Buttons.

Q. Where dat donate button yo?
A. No, I don't accept donations. :)

Build Archive
Old builds are moved here just in case If user wants to revert to it.
Third Alpha build
Fourth Alpha build
First Beta build
Second Beta build
Third Beta build
Fourth Beta build
Fifth Beta build
Sixth Beta build
Seventh Beta build
Eighth Beta build

Stable Builds Archive
20180220
Screenshots attached below
 

Attachments

  • Screenshot_20170905-085812.png
    Screenshot_20170905-085812.png
    125.9 KB · Views: 58,320
  • Screenshot_20170905-022159.png
    Screenshot_20170905-022159.png
    124.3 KB · Views: 57,000
  • Screenshot_20170905-085842.jpg
    Screenshot_20170905-085842.jpg
    127.9 KB · Views: 58,185
  • Screenshot_20170905-085756.jpg
    Screenshot_20170905-085756.jpg
    89.6 KB · Views: 56,160
  • Screenshot_20170905-085804.png
    Screenshot_20170905-085804.png
    121.6 KB · Views: 55,821
  • Screenshot_20170905-083627.jpg
    Screenshot_20170905-083627.jpg
    106.7 KB · Views: 54,341
  • Screenshot_20170905-080608.png
    Screenshot_20170905-080608.png
    219.1 KB · Views: 53,626
Last edited:

arjunsingh1000

Senior Member
Feb 21, 2014
99
107
Nice job fam you can remove the alpha status it is quite stable only major bug is camera nothing else <3
 

thebenefactor

Senior Member
Apr 25, 2011
204
86
Thanks for the builds. Right now I am stuck at "Patching system image unconditionally" for more than 30 minutes. I have cleaned dalvik cache, wiped data, system and cache before flashing. I am stuck, please help me.
 

Shreesha.Murthy

Recognized Developer / Inactive RC
Mar 1, 2014
611
6,883
127.1.1.0
Thanks for the builds. Right now I am stuck at "Patching system image unconditionally" for more than 30 minutes. I have cleaned dalvik cache, wiped data, system and cache before flashing. I am stuck, please help me.
Maybe a bad download, try downloading the build again

Sent from my ONEPLUS A3000 using Tapatalk
 

Shreesha.Murthy

Recognized Developer / Inactive RC
Mar 1, 2014
611
6,883
127.1.1.0
Nice job fam you can remove the alpha status it is quite stable only major bug is camera nothing else <3
Haha, due to few important things not working, the builds are labeled alpha. When they're fixed, the thread will be bumped to beta and further

Sent from my ONEPLUS A3000 using Tapatalk
 

pranayysharma29

Senior Member
Jul 24, 2016
275
125
This is dope! Thanks and good luck!
Download speed on data drops some times. While downloading from play store, 2 out of 8 apps failed.
Will keep updating bugs as I find them.
 
  • Like
Reactions: Jay Ajit Mate

Top Liked Posts

  • There are no posts matching your filters.
  • 297
    TNMpdeb.png

    LineageOS is a free, community built, aftermarket firmware distribution of Android 8.0 (Oreo), 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.

    Code:
    #include "std_disclaimer.h"
    /*
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.
     */

    What's working :

    • Boots
    • RIL (Calls, SMS, Data)
    • Fingerprint
    • Wi-Fi
    • Bluetooth
    • Camera
    • Video Recording
    • Video Playback
    • Audio
    • Sensors
    • Hotspot
    • Flash
    • LED
    • GPS

    Where are the features?
    • LineageOS is in development process so don't complain about xyz features missing.

    Instructions :
    • Download the build
    • Reboot to recovery
    • Flash the latest build
    • Reboot

    Downloads :

    Discord server for OP2 users : here


    Kernel Source: Here

    XDA:DevDB Information
    LineageOS-15.1, ROM for the OnePlus 2

    Contributors
    Shreesha.Murthy
    Source Code: https://github.com/LineageOS

    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 3.10.x
    Based On: AOSP

    Version Information
    Status: Stable

    Created 2017-09-05
    Last Updated 2018-02-20
    185
    Reporting Bugs
    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    • If it is a random reboot, grab dmesg . (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.

    Changelogs

    First Alpha Build:
    - Initial build

    Second Alpha Build:
    - Fixed MSIM network settings crash
    - Fixed Audio through BT
    - Hardware nav keys backlight support added

    Third Alpha Build:
    - Added FP wrapper and reduced FP delay
    - kernel updates and inclusion of KCAL and other great stuff
    - Alert Slider fixed
    - Offline gestures work as intended
    - Camera working partially
    - Flashlight works
    - Double Tap 2 wake can be enabled from KA
    - Minor bug fixes

    Fourth Alpha Build:
    - Alarm clock fixed
    - Portable WiFi hotspot working
    - DRM supporthttps://www.androidfilehost.com/?fid=962157660013070592
    - Added AOD (Always On Display). Refer to FAQ for more info
    - Added Pixel color accent. Refer to FAQ for more info
    - Fixed AOSP keyboard gesture typing
    - Minor bug fixes
    - Video recording works for FHD and other lower resolution tasks

    First Beta Build:
    - Screen Recording fixed completely
    - Implemented HAL3
    - Enabled camera modes
    - Added advance reboot
    - upstreamed kernel
    - Video recording fixed
    - Green photos while clicking multiple pictures fixed
    - Minor bug and exploit fixes

    Second Beta Build:
    - Added 4K profile video recording support.
    - September security patch
    - Blueborne exploit patched
    - Reduced random reboots upon connecting to PC/laptop
    - Removed CNE and DPM
    - Data toggle fix
    - Default camera will be pinned to memory (Faster launch)
    - Fingerprint wakeup improvements
    - Removed "Device is HD compatible" persistent notification
    - minor bug fixes

    Third Beta Build:
    - Random reboot upon USB replug/unplug fixed
    - Fixed camera not recording videos after sometime upon booting
    - Fixed voice calls through BT
    - October security patch
    - Channel notification debug toast hidden
    - Various NPE possibilities patched
    - USB related patches
    - Fixed MTPserver crashes
    - Turned carrier provisioning off by default to allow tethering
    - Enabled back ANT+
    - Enabled dexpreopt for quick boot up
    - Fingerprint improvements
    - Minor string and bug fixes


    Fourth Beta Build:
    - Ability to hide "Apps running in background" dialog
    - Virtual navbar enabler (It'll disable hw keys automatically)
    - Substratum rootless support (BETA)
    - Button remapper (disabled for back button to preserve some default functions)
    - hardware buttons backlight timeout
    - backlight intensity slider
    - Redesigned ringtone logic
    - Added ADB over network
    - Added toggle to turn off screenshot sound
    - Enabled camera modes and RAW back(captured RAW images look fine on desktop)
    - Removed CNE and DPM remains
    - DT2W toggle fixed
    - minor bug fixes and improvements

    Fifth Beta Build:
    - Boots :p
    - Android version 8.1.0
    - Enabled OnePlus doze (Ambient display)
    - Enabled notification LED customization overlay
    - Camera HAL is now compiled with clang
    - Few important RIL patches
    - December security patch

    Sixth Beta Build:
    - Updated Kernel source
    - Fixed OEM unlock toggle in developer settings
    - Added Quick pulldown
    - January security patch
    - Few important msim patches
    - Removed su binary
    - Minor bug fixes and translation updates

    Seventh Beta Build:
    - Added back button settings
    - Added proximity wake flags
    - Power profiles are back
    - Minor bug fixes and translation updates

    Eighth Beta Build:
    - Added advance reboot
    - Gestures are back (Added more gestures)
    - AudioFX effect fixes
    - Updated radio and ims blobs
    - Enabled back CNE and DPM features
    - VoLTE working as expected with newer additions from LineageOS
    - Working SIM provisioning (SIM disable switch)
    - Added support for ViLTE
    - Added required vzw jars needed for VZW US carrier
    - Build up-to-date with latest LineageOS merges
    - Minor bug fixes and translation updates

    First Stable Build:
    - System wide Dark/light theme based off wallpaper or manually including 9 accents to complement with (Project Berry)
    - Fixed sound playing on both speaker and headphones when a screenshot was taken while listening to music
    - Updated RIL daemon
    - Added module to load dalvik heap values based off RAM size
    - Updated netmgrd and libnetmgr from kenzo
    - Updated audio configs
    - Updates to core control
    - Fixed BT calls and audio stream through BT
    - Updated calendar app to oreo style accents
    - New adaptive icons for all system apps
    - Included Apollo (music player)
    - Build up-to-date with latest LineageOS merges
    - Added advanced location tile
    - minor bug fixes and translation updates

    Second Stable Build:
    - Added auto face-unlock (Need GApps)
    - Fixed FP behaving like home button in some places
    - Fixed in-call echo and background noises while on call
    - Forced HAL3
    - Dropped Snap, ships with Camera2
    - Minor bug fixes and translation updates

    Third Stable Build:
    - March security patch
    - Includes LineageOS setup wizard
    - Includes bunch of new wallpapers
    - Fixes to LOS power HAL
    - Updates to styles api
    - Contacts will now ignore null accounts
    - Added toggle to only light up backlight when buttons are pressed
    - Minor bug fixes and translation updates

    Fourth Stable Build:
    - SELinux Enforcing
    - SafetyNet passes without need of magisk now
    - "Certified" in Google Playstore app
    - Added core_ctl props
    - minor bug fixes and translation updates

    Fifth Stable Build:
    - April security patch
    - Fixed flipped photos
    - Switched to Snap camera
    - Fixed sync issue between photo taken and flash fired
    - minor bug fixes and translation updates
    (Note: DO NOT flash any custom kernel until they're updated for this specific version. If you do, you're on your own. Don't complain about buggy camera)

    Sixth Stable Build:
    - Fixed camera not recording videos
    - Fixed camera Daemon late start issue
    - May security patch
    - Added wireguard VPN support
    - Add ability to restrict app data/wifi usage
    - Fixed netmgrd permissions
    - Minor bug fixes and translation updates

    Weekly build Changelogs

    Weekly dated 20171105:
    - KRACK exploit patched
    - kernel upstreamed to 3.10.108
    - Search button in Settings FC fixed
    - Recorder app revamped
    - Build contains all latest LineageOS merges at the time of release

    Weekly dated 20171113:
    - November security patch
    - MSIM patches merged for better dual sim management
    - Build contains all latest LineageOS merges at the time of release
    125
    Frequently Asked Questions:

    Q. Can this ROM be flashed through TWRP?
    A. Yes, proceed with the latest TWRP official image

    Q. Can I run this ROM in multiboot or dualboot setup?
    A. You can but I won't accept bug reports or help anything related to that.

    Q. Sounds good. How can I contribute to project?
    A. Test the build as much as you can and report bugs which can be reproduced with exact steps and are not random.

    Q. How to disable "Apps running in background" dialog?
    A. When you see the dialog, long press on it and select "Settings". From there, you'll have a toggle to disable it.

    Q. Where do I find button settings?
    A. Settings -> System -> Buttons.

    Q. Where dat donate button yo?
    A. No, I don't accept donations. :)

    Build Archive
    Old builds are moved here just in case If user wants to revert to it.
    Third Alpha build
    Fourth Alpha build
    First Beta build
    Second Beta build
    Third Beta build
    Fourth Beta build
    Fifth Beta build
    Sixth Beta build
    Seventh Beta build
    Eighth Beta build

    Stable Builds Archive
    20180220
    Screenshots attached below
    91
    First BETA build is up! :p

    Feels good to make our way up-to beta. That being said, changelog and FAQ posts are updated. Make sure you read them before asking anything.

    Camera details
    Camera was real struggle to get working on OP2. Maybe I'm noob with cameras lol. Anyways, camera is in working state including video recording. This said, my wonderful testers went ahead and tested several third party camera apps and found out that they all were working fine. This includes Google Camera (from 4.1 to 4.4), OxygenOS Camera (OP2, OP3 and OP5), Open Camera, WhatsApp (Video calling and video recording), Telegram, Skype, Instagram, Snapchat and others. This update also fixes green photos while clicking multiple pictures.
    4K recording is currently disabled on the build to avoid lags and crashes. This will be added when los merges necessary patches

    About HAL3 and Camera modes
    As mentioned in my previous post, HAL3 is implemented and working properly on OP2 Oreo. Enabling HAL3 allows some cool stuff to mess with camera. All the camera modes (HDR, bestshot, RAW and lens blur) are found to be working.

    Things to follow up
    As we're on beta now, my aim is fix rest of minor bugs which are not fatal but sure annoy a lot for some. This will take time and the size of changelog will decrease too. We're insanely lucky to have Oreo running this good on our devices compared to others which are still struggling to get things working flawlessly.

    New journey to stable builds begins now!
    #NeverSettle :cool:
    87
    UPDATE!

    Though I was pissed to the extreme to see the mess in thread, I also noticed good ones who deserved the piece of work that I did ;)

    I'm sorry to over react yesterday but somewhere it tells me that it was necessary to put few things out. That being said, here's the update. I've worked hard for this update and this brings lot of fixes and squashes out annoying bugs.

    As usual, check post #2 and #3 for changelog and FAQ respectively.

    This for the entitled userbase
    IDrmKl6.png


    Thank you for the support
    Enjoy Oreo
    #NeverSettle