[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] jhalayashraj:
#include
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/

INTRODUCTION

This ROM's main aim is to make ROM smooth and to add only necessary Features.

I will keep this ROM smooth and best in performance side and minimal on features side.

I started this ROM with Oneplus One and now it's available for all Oneplus devices (Oneplus X, Oneplus 2, Oneplus 3/3T) and Finally for Oneplus 5.

FEATURES

Legend Settings:-

Double tap to sleep anywhere on lockscreen

Longpress power on lockscreen for torch

Smart Pulldown

Blur Personalization

Three fingers swipe to screenshot

Screenshot Delay

Partial Screenshot Feature (Long press screenshot button in power menu to take partial ss)

Force Expanded Notifications toggle

Disable immersive Messages toggle

FAB for Recents clear all

TaskManager Customizations

Notification Ticker Added

Memory bar

Dashboard Suggestions and summaries toggle

Toast icon Switch

Force Headsup for dialer

OmniJaws Added

Statusbar Weather

Lockscreen Weather

Advanced QS Easy Toggle

Custom QS Header Images

QS columns count configurable

Portrait/Landscape QS mod

Small QS tiles are scrollable

Dashboard Tile layout config

Wakelock blocker

Power + Volume up to Screen record or Partial screenshot

Bluetooth Battery Status when available

Ability to hide superuser status bar icon

Network Traffic Indicator

Show charging current & voltage on Lockscreen

Auto Brightness toggle added to QS

CPU info overlay

OMS-7:-

OMS-7 Support

OMS-7 Bootanimation support

OMS-7 font support

QS Tiles:-

Sound Tile

Reboot/Recovery Tile

Volume panel Tile

Screenshot Tile

Sync Tile

Caffeine Tile

USB Tile

Music Tile

Input Method Selector Tile

Heads up QS Tile

NFC Tile

Assist and Voice assist Tile

LTE Tile

Live Display Tile

Compass Tile

Prebuilt Apps:-

ViPER4Android 2.5.0.5

Google Keyboard

Pixel Launcher

Google Wallpaper

Legend Browser - v59.0.3071.2814652

Other Features:-

SDCLANG-3.8

Dark Theme (Experimental)

Quick Unlock

Screenshot sound toggle

Date customization

PA Solid Battery circle style

Pattern Dots Visibility Toggle

Camera Sound Toggle

Restart SystemUI

Always show screen on time

Recents Task Locking

Enabled power save config of system apps

More Animation speed steps (0.75 and 1.25)

Pixel Navbar Animation toggle

Switch for hiding qs panel brightness slider

Show 4G instead of LTE Switch

Google Assistant is on by default

Reset battery stats

Improve scrolling cache

Speed things up to the max

Adjusted animation timing

Allow faster app switching

Changelog Added in ROM

Google Nexus Audio Files

Pixel Accent

Updated Recents FAB Icon and color to Pixel Blue

Updated Recents Memory Bar color to Pixel Blue

Updated Power Menu volume selector color to Pixel Blue

Updated Legend Settings to Pixel Blue

Updated Gboard Theme to pixel blue

Pixel Icons

Substratum Dashboard

Magisk Manager Dashboard

SuperSu Dashboad

Unknown Sources ON by default

Enabled Dev options by default

Livedisplay is Off by default

Stock Apps That Removed:-

Gello

AudioFX

UPDATE:- 17.1

Added Optimized Lightning Kernel Thanks to [MENTION=4633983]nikhil18[/MENTION]

Enabled Tethering

Enabled Real time charging info

Bluetooth Audio Fixed

Sound Through 3.5mm jack Fixed

Swapping Buttons option Fixed

Alert Slider Fixed

Earpiece issue Fixed

NFC Fixed

Much more fixes and optimizations

UPDATE:- 17.2

Added Magisk v13.3 (Thanks to [MENTION=4470081]topjohnwu[/MENTION])

Added MultiROM Support (Thanks to [MENTION=4139665]martinusbe[/MENTION])

Added Spectrum kernel manager (Thanks to [MENTION=5051294]frap129[/MENTION])

Added Extra options to Notification Slider

Added support for Lockscreen blur

Hack to preserve user choice for primary data SIM

Indicate that this device has dash charge

Added native color profiles support with DisplayModeControl

Synced NFC configs with upstream

Fixed Pocket Mode

Enabled advanced reboot on by default

Syned with Latest kernel changes of [MENTION=4633983]nikhil18[/MENTION]

UPDATE:- 18.0

Merged September Security Patch

Legend Settings:-

Added Configurable Keyguard alpha(change lockscreen alpha color) and Keyguard Bouncer alpha(change lockscreen security alpha color)

Added Carrier label Customization

Added Sensor block per-package

Added MTP Dirty Hack

Prebuilt:-

Added OnePlus Camera and OnePlus Gallery

Switched bootanimation to Pixel OOS

Added Magisk v14.0

Added Viper4Arise (Deuteronomy) Removed Viper4Android

Added Lawnchair and Removed Pixel Launcher

Added OTA support

Updated Gboard to 6.4.16.162469584

Updated Google Wallpaper to 1.1.153125266

Buttons Misc:-

Added Pocket Judge

Added Accidental Touch

QS Tiles:-

Add/Remove QS Tile with one click

Adb Over Network tile Added

AmbientDisplay tile Added

LiveDisplay tile Updated

Added Night Light Tile

Location tile is now default comes with default tiles

Other Stuff:-

Added Linaro a73 Optimization

Added Boost values from CAF

Updated to Latest Lightning Kernel

Improved Dark Theme

Added About LegendROM Team in about phone

Added LegendROM Banner

Pixel-ify Expanded Desktop

Added VoLTE icon

UPDATE:- 19.0

October Security Patch Merged

KRACK vulnerability patches Merged

Legend Settings:

Added toggle to Disable media art on Lockscreen

Added toggle to hide alarm, date and clock on Lockscreen

Added toggle to hide the Auto brightness icon in brightness slider

Prebuilt:

Updated Magisk to 14.0

Updated Lawnchair

Other Stuff:

Updated and Fixed some stuff of OnePlus Camera

Added Auto brightness for ambient display

Added Spectrum app support

Added ColorEngine

Added bootup Boost

Fixed Navbar back button

Removed Inbuilt Dark Theme

Synced with Latest Lightning Kernel

Synced with Latest Lineage

INSTRUCTIONS

NOTE:-

Encrypted users can flash ROM directly no need to decrypt.

For decrypted users you just need to flash no-verity zip.

no-verity zip link:- https://xdaforums.com/oneplus-5/how-to/guide-how-to-flash-encrypted-roms-t3659126

Also always use the latest firmware.

1. Wipe data, cache, system, and dalvik cache

2. Flash ROM and Gapps(of your choice, tested with open gapps pico and working)

3.Reboot

If you are getting any problem/issues take logs and add a clear description of the steps that I need to take to exactly reproduce the problem.

DOWNLOADS

ROM:- https://androidfilehost.com/?fid=962021903579486939

GAPPS:- http://opengapps.org/

If u guys like my work and have some spare bucks to share please consider a donation.

Donate to me:-

https://www.paypal.me/jhalayashraj

CREDITS

Special Thanks to [MENTION=4139665]martinusbe[/MENTION] for his kernel source trees

[MENTION=7052346]INT3NSE07[/MENTION] for helping me as always :)

[MENTION=6047959]dabug123[/MENTION] for helping on Camera

[MENTION=4633983]nikhil18[/MENTION] for testing this ROM

ResurrectionRemix

DirtyUnicorns

Pure Nexus Project

Team Paranoid Android

Omnirom

Aosip

And all The teams who kept their Source open.

(Tell me if i miss)

SOURCE

ROM:- https://github.com/LegendROM-N

Kernel:- https://github.com/LegendROM-N/android_kernel_oneplus_msm8998

XDA:DevDB Information

LegendROM, ROM for the OnePlus 5

Contributors

jhalayashraj

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 4.x

ROM Firmware Required: OnePlus latest OP5 firmware

Based On: LineageOS

Version Information

Status: Stable

Created 2017-07-08

Last Updated 2017-10-21