• 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

[EOL][ROM+KERNEL+TWRP] Unofficial LineageOS 15.1 with 3.4.113 kernel [May 11, 2019]

YumeMichi

Senior Member
Nov 22, 2015
478
2,516
0
Fuzhou
blog.ikke.moe
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. Hard. A lot.
 */

Most of the introductions of this post are copied from Sultanxda's CM13.0 post.
Custom kernels are not compatible with this ROM. I will NOT provide support if you install a custom kernel.


ROM features:
  • Based off latest generic LineageOS 15.1 sources (root access is NOT included)
  • OTA updates via built-in Updater
  • Configurable multi-color notification LED
  • Custom camera app with several manual controls and high-speed video recording with audio
  • Custom camera HAL made by Sultanxda featuring:
    -4K UHD video recording
    -High-speed video recording with audio at 60 FPS and 120 FPS for 720p, and 60 FPS for 1080p
    -Consistent 30 FPS video recording in all lighting conditions
    -Intelligent anti-shake algorithm (significantly reduces motion blur when capturing photos)
    -Faster autofocus in low lighting conditions
    -No stuttering in camera viewfinder
    -Improved photo quality
    -Photo capture up to 4208x3120 resolution (instead of 4160x3120)
  • Many other misc. improvements under the hood

Kernel features:
  • Based off latest CAF Marshmallow kernel source from Qualcomm (LA.BF.1.1.3_rb1.13)
  • Removed lots of excessive bloat
  • Dynamic CPU input boost driver I wrote myself (makes the phone feel smooth without destroying battery life)
  • CPU underclocked to 1958 MHz by default (you can disable this; see why I did this in the FAQ in the 3rd post)
  • Custom thermal control driver I wrote myself (features 8 thermal throttle steps; keeps the phone cool)
  • LCD KCAL by Savoca
  • Westwood TCP congestion algorithm (enabled by default)
  • exFAT support
  • NTFS support
  • No placebo patches, features, or compiler "optimizations"
  • Many other misc. improvements not listed here

Source code:
Kernel (lineage-15.1-sultan branch): https://github.com/YumeMichi/kernel_oneplus_onyx
Local manifest (contains the rest of the sources): https://github.com/YumeMichi/android/blob/master/lineage-15.1-sultan/local_manifest.xml

Special thanks:
@Sultanxda
@LineageOS

Installation instructions (for first-time installation):
First, perform a backup of your existing setup, and then perform a clean install (wipe /data and /system; TWRP is recommended).

Then, flash the ROM, flash a Google apps package, Magisk if you want root access, and then reboot.

Installation instructions (for updating to a newer release):
If you are already running my LOS 15.1 ROM, then you can update to a newer version of the ROM via the built-in OTA updater or by simply dirty-flashing the new ROM build without wiping anything.

Downloads:
REQUIRES OXYGENOS 3.1.3/3.1.4 FIRMWARE!
Final build: https://drive.google.com/file/d/1dIfmvs-2bXqOLnI15cmKvCltlEm29mjS/view?usp=sharing

Google Apps: https://opengapps.org/
Magisk (if you want root access): https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Disable CPU underclock: http://forum.xda-developers.com/devdb/project/dl/?id=21084

FAQ:
1. What's the difference between this ROM and LineageOS?
They are almost same thing. I only added pixel navbar, pixel audio and custom qs tile to my ROM.
2. Custom kernel? OSS camera?
This ROM is fully based on Sultan's cm-13.0, I will not replay any custom kernel or OSS camera request.


XDA:DevDB Information
LineageOS 15.1 for OnePlus X, ROM for the OnePlus X

Contributors
YumeMichi
Source Code: https://github.com/LineageOS

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.4.x
ROM Firmware Required: OxygenOS 3.1.3 or above
Based On: LineageOS

Version Information
Status: Stable
Stable Release Date: 2018-02-09

Created 2018-02-10
Last Updated 2019-05-11
 

YumeMichi

Senior Member
Nov 22, 2015
478
2,516
0
Fuzhou
blog.ikke.moe
Changelog

+2018.02.09
Initial release

+2018.02.23
Merge LineageOS changes
Merge LineageOS translations (not merged by official yet)
Update exFAT driver
Fix Security FC

+2018.02.27 (Clean flash required!!!)
Merge LineageOS changes
Remove LineageOS setup wizard for now
Migrate to official TWRP
Kill logcat_debug service
Fix random data lost?
Fix 0mb data in recovery mode
No OTA for this build

Update & Flash guide
Backup your important data via app such as TB (not TWRP)
Factory data reset, format data partition
Flash official TWRP or CheckYourScreen's unofficial build
Flash ROM and what you want
Reboot


+2018.03.26
Update mar security patches
Update LineageOS upstream changes
Fix camera low light flashing
Switch selinux to permissive to fix bluetooth mac (TEMP)

+2018.04.14
Update Apr security patches
Update LineageOS upstream changes
Wakeup block
Add USB fast charge support
Add font service
Adaptive ambient display brightness
Add MicroG support
Fix camera not work after encryption
ROM built with SDCLANG

+2018.05.10
Update May 5 security patches
Update LineageOS upstream changes
Remove ROM & kernel compiler optimizations
Switch SELinux to Enforce
Fix kernel crash (need further test)
Merge bluetooth patches (might fix car bluetooth?)

+2018.06.11
Update Jun 5 security patches
Update LineageOS upstream changes
Merge Linux 3.4.113 and Google 3.4 kernel (thanks to MikeNG)
Add back F2FS support (/cache, /data), not support encryption
Add sdcardfs support
Add BFQ IO scheduler

+2018.07.09
Merge LineageOS changes
Update GPS

+2018.08.22
Update Aug 5 security patches
Update LineageOS upstream changes
Update GPS
Update kernel
Restore all the LineageOS default apps

+2018.09.17
Update 2018-09 ASB
Merge LineageOS changes
Fix offline charging
Rewrite sepolicy
Update kernel


+2018.10.13
LineageOS updates
Move cpu freq underclock to init script, you can now use kernel adiutor to change them.
 
Last edited:

pawankonjarla

Senior Member
Jul 22, 2013
483
286
0
Nice to see LOS 15....

For those who wants to flash....heads up.. its a great build.. but system will be reset once you restart the phone...it happened to me...
@YumeMichi... For your information please..if you don't know already
 

omkolte17

Senior Member
Oct 8, 2015
433
159
0
India
have you fixed the battery drain issue? bcoz when I tried your earlier build I was facing battery drain issue and is the "MOBILE RADIO ACTIVE" bug fixed. the main reason for battery drain was google play services, it kept the mobile radio active even when device was locked.

Edit: even the alert slider was not working.

---------- Post added at 06:57 PM ---------- Previous post was at 06:52 PM ----------

If I wanted to install the root, should I install SuperSU or the official root of LineageOS?
you can try using magisk instead of SuperSU, bcoz you will be able to hide root access from certain payment apps.
It will be problematic to hide root access if device is rooted by SuperSU.
 
Last edited:
  • Like
Reactions: andy9872
E

eyzakfunk

Guest
If I wanted to install the root, should I install SuperSU or the official root of LineageOS?
Use magisk.

---------- Post added at 07:50 PM ---------- Previous post was at 07:49 PM ----------

Nice to see LOS 15....

For those who wants to flash....heads up.. its a great build.. but system will be reset once you restart the phone...it happened to me...
@YumeMichi... For your information please..if you don't know already
I didn't have that issue. Maybe provide a log? I wouldn't know if it you could still view logs after a reset.
 

andisetyawan11

Senior Member
Mar 26, 2012
517
48
28
Tangerang
Use magisk.

---------- Post added at 07:50 PM ---------- Previous post was at 07:49 PM ----------


I didn't have that issue. Maybe provide a log? I wouldn't know if it you could still view logs after a reset.
yes, system restar after reboot, i have installed many apps, notif playstore show me to update gapps, n all apps gone,
 
E

eyzakfunk

Guest
yes, system restar after reboot, i have installed many apps, notif playstore show me to update gapps, n all apps gone,
Well provide a log. I don't have the issue, but saying that you have it and not giving any logs isn't gonna do anything. I even just rebooted my device and no issues. What are you flashing on top of the ROM?
 
Last edited:

desamo

New member
Feb 27, 2017
4
0
0
Whenever i flash this rom my opx boots into fastboot mode afterwards, i am doing something wrong.

i wiped dalvik, cache, system and data before.

?????
 

dchrono

Senior Member
Feb 6, 2016
403
205
43
Montreal
I don't think that's a problem with the ROM. If you're having that issue it's recommended you reinstall OOS 3 then re-flash recovery then the ROM.
I think the issue arises if you try to root be it with magisk or SuperSU, I can't confirm this because I have clean flashed new build but I do recall seeing twrp settings reset, timezone, etc ... It happened when I tried to root the rom.

Can anyone confirm this?

Great job @YumeMichi , thank you.
 

zeeshanbage

Senior Member
Aug 28, 2014
92
11
0
23
flashed this yesterday.. working perfectly fine... battery backup is better than asoip Oreo ..no issue after restart.. using magisk..but how to remove notification drawer transparency??
 

feligoni

Senior Member
Jun 16, 2014
560
195
43
Buenos Aires
flashed this yesterday.. working perfectly fine... battery backup is better than asoip Oreo ..no issue after restart.. using magisk..but how to remove notification drawer transparency??
Use some theme or download substweaks for substratum.

---------- Post added at 11:01 PM ---------- Previous post was at 11:00 PM ----------

I think the issue arises if you try to root be it with magisk or SuperSU, I can't confirm this because I have clean flashed new build but I do recall seeing twrp settings reset, timezone, etc ... It happened when I tried to root the rom.

Can anyone confirm this?

Great job @YumeMichi , thank you.
Rooted with Magisk since supersu won't flash. No issue here and working perfectly.