• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[LOS-14.1][OP5][OMS7][cheeseburger][OFFICIAL] LegendROM

jhalayashraj

Senior Member
Nov 16, 2014
440
1,816
0
Gandhinagar
Code:
#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 @nikhil18
  • 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 @topjohnwu)
  • Added MultiROM Support (Thanks to @martinusbe)
  • Added Spectrum kernel manager (Thanks to @frap129)
  • 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 @nikhil18
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://forum.xda-developers.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 @martinusbe for his kernel source trees
@INT3NSE07 for helping me as always :)
@dabug123 for helping on Camera
@nikhil18 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
 
Last edited:

louism182

Senior Member
Nov 1, 2013
77
12
0
London
So I've just installed this and got it set up. So far it seems to be very stable. It's still early but no issues so far. The only 'problems' i've been able to encounter are:

Video recording seems to default to the telephoto lens whereas pictures are the standard lens.
Bluetooth seems to work but at the moment NFC does not.
Notification slider doesn't work.

Other than that, so far everything seems to work just fine.
 

spevil07

Elite Member
Mar 16, 2012
1,087
567
113
ROM dont boot end in bootloop

---------- Post added at 12:21 AM ---------- Previous post was at 12:19 AM ----------

ROM dont boot, end in bootloop
are you decrypted??

INSTRUCTIONS

->You MUST decrypt to flash this custom ROM!
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
 

jhalayashraj

Senior Member
Nov 16, 2014
440
1,816
0
Gandhinagar
So I've just installed this and got it set up. So far it seems to be very stable. It's still early but no issues so far. The only 'problems' i've been able to encounter are:

Video recording seems to default to the telephoto lens whereas pictures are the standard lens.
Bluetooth seems to work but at the moment NFC does not.
Notification slider doesn't work.

Other than that, so far everything seems to work just fine.
Thanks for reporting. Also was Bluetooth headset working properly ?
 

jhalayashraj

Senior Member
Nov 16, 2014
440
1,816
0
Gandhinagar
ROM dont boot end in bootloop

---------- Post added at 12:21 AM ---------- Previous post was at 12:19 AM ----------

ROM dont boot, end in bootloop

are you decrypted??

INSTRUCTIONS

->You MUST decrypt to flash this custom ROM!
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
Yup you must decrypt.