Remove All Ads from XDA


588 posts
Thanks Meter: 6,146
By Shreesha.Murthy, Recognized Developer/Contributor on 5th September 2017, 05:00 AM
Post Reply Email Thread

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.

#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

Source Code:

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
The Following 298 Users Say Thank You to Shreesha.Murthy For This Useful Post: [ View ]
5th September 2017, 05:01 AM |#2  
Shreesha.Murthy's Avatar
OP Recognized Developer/Contributor
Thanks Meter: 6,146
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.


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 support
- 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
- 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
The Following 185 Users Say Thank You to Shreesha.Murthy For This Useful Post: [ View ]
5th September 2017, 05:04 AM |#3  
Shreesha.Murthy's Avatar
OP Recognized Developer/Contributor
Thanks Meter: 6,146
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
Screenshots attached below
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20170905-085812.png
Views:	55266
Size:	125.9 KB
ID:	4263055   Click image for larger version

Name:	Screenshot_20170905-022159.png
Views:	53940
Size:	124.3 KB
ID:	4263056   Click image for larger version

Name:	Screenshot_20170905-085842.jpg
Views:	55052
Size:	127.9 KB
ID:	4263057   Click image for larger version

Name:	Screenshot_20170905-085756.jpg
Views:	53214
Size:	89.6 KB
ID:	4263058   Click image for larger version

Name:	Screenshot_20170905-085804.png
Views:	52934
Size:	121.6 KB
ID:	4263059   Click image for larger version

Name:	Screenshot_20170905-083627.jpg
Views:	51572
Size:	106.7 KB
ID:	4263060   Click image for larger version

Name:	Screenshot_20170905-080608.png
Views:	50888
Size:	219.1 KB
ID:	4263061  
The Following 124 Users Say Thank You to Shreesha.Murthy For This Useful Post: [ View ]
5th September 2017, 05:06 AM |#4  
Junior Member
Flag Delhi
Thanks Meter: 7
Testing.. Thanks a lot man!
The Following User Says Thank You to restlessgeek For This Useful Post: [ View ] Gift restlessgeek Ad-Free
5th September 2017, 05:28 AM |#6  
Senior Member
Thanks Meter: 66
thnx man... appreciate ur work..

Sent from my ONE A2003 using XDA-Developers Legacy app
5th September 2017, 05:36 AM |#7  
Santi_SAZ's Avatar
Senior Member
Thanks Meter: 160
Wow @Shreesha.Murthy great job, and nice to see you again here

Enviado desde mi ONE A2003 mediante Tapatalk
5th September 2017, 05:36 AM |#8  
manups4e's Avatar
Senior Member
Flag Torino
Thanks Meter: 2,798
Donate to Me
@Shreesha.Murthy is it possible to see your device tree too? ^^
5th September 2017, 05:40 AM |#9  
Shreesha.Murthy's Avatar
OP Recognized Developer/Contributor
Thanks Meter: 6,146
Originally Posted by manups4e

@Shreesha.Murthy is it possible to see your device tree too? ^^

massive cleanup needed. Will be pushed soon
The Following 7 Users Say Thank You to Shreesha.Murthy For This Useful Post: [ View ]
5th September 2017, 05:52 AM |#10  
casual_kikoo's Avatar
Senior Member
Flag Paris, France
Thanks Meter: 958
Hi @Shreesha.Murthy,

First of all nice work !
I might have found a bug in developer options, under OEM unlocking; it seems we can't turn it on, as it fallback to off immediately after.
Here logs
The Following 4 Users Say Thank You to casual_kikoo For This Useful Post: [ View ] Gift casual_kikoo Ad-Free
5th September 2017, 05:57 AM |#11  
Junior Member
Thanks Meter: 0
appreciate ur work
appreciate ur work
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes