• 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

[ROM][UNOFFICIAL][9.0][nx551j] LineageOS 16.0 for Nubia M2 [01/10/2019]

highwaystar_ru

Senior Member
Sep 17, 2016
332
2,306
93


Code:
/*
 * I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...). 
 * Please do some research if you have any concerns about features included in the products you find here 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. 
 * Your warranty will be void if you tamper with any part of your device / software.
 * Same statement for XDA.
 */

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


What works:
Calls/SMS/Mobile data
Wifi
Bluetooth
GPS
Camera (Photo/Video/Flashlight)
Audio
Fingerprint sensor
DT2W
Keydisabler
Notification LED
Torchlight
Broken
You tell me

Source code:
device tree: https://github.com/HighwayStar/android_device_nubia_nx551j
device-common: https://github.com/HighwayStar/android_device_nubia_msm8953-common/tree/lineage-16.0
kernel: https://github.com/HighwayStar/android_kernel_nubia_msm8953/tree/lineage-16.0
vendor: https://github.com/HighwayStar/android_vendor_nubia

Clean code with kernel rebased on top of latest caf pie msm8953 tag.

Download
2019-10-01
  • Update Lineage code (security patch)
  • Updated kernel code
mailru: lineage-16.0-20191001-UNOFFICIAL-nx551j.zip
gdrive: lineage-16.0-20191001-UNOFFICIAL-nx551j.zip

Previous versions:
2019-06-12
  • Update Lineage code (new wallpapers app, Night mode, circle battery animation, higher bitrate avaliable for bluetooth SBC codec
  • Fixed Hall sensor. Now flip protective cases with integrated magnet should work fine
mailru: lineage-16.0-20190612-UNOFFICIAL-nx551j.zip
gdrive: lineage-16.0-20190612-UNOFFICIAL-nx551j.zip

2019-06-06
  • Updated Lineage OS code
  • Fixed issues with on screen navbar stuck sometimes even if set to disable
mailru: lineage-16.0-20190606-UNOFFICIAL-nx551j.zip
gdrive: lineage-16.0-20190606-UNOFFICIAL-nx551j.zip

2019-05-23
  • Updated init scripts to match CAF android 9.0 reference ones. (this fixed some services issues which can resolve some bugs and some new bugs may appear, please tel me if there is any regression)
  • Fixed angular speed sensor
  • Added selinux rules. Selinux now in enforced mode
  • Fixed torchlight by long-press power button
mailru: lineage-16.0-20190523-UNOFFICIAL-nx551j.zip
gdrive: lineage-16.0-20190523-UNOFFICIAL-nx551j.zip

2019-05-10
  • Update Lineage source code
  • Added wireless display feature. Display can be broadcast to Miracast capable TVs
  • Updated binaries related to audio and communication (RIL) to android 9.0 version
mailru: lineage-16.0-20190510-UNOFFICIAL-nx551j.zip
gdrive: lineage-16.0-20190510-UNOFFICIAL-nx551j.zip

2019-04-03
  • Multiple fixes for fingerprint scanner, thanks to freemarkw team
  • Ligths re-done from scratch. Now notification LED should work better, please say if there is still any issue and describe how to reproduce
  • Returned ability to use software Navbar
mailru: lineage-16.0-20190403-UNOFFICIAL-nx551j.zip
gdrive: lineage-16.0-20190403-UNOFFICIAL-nx551j.zip

2019-03-30
  • Really fix autofocus issue
  • Fix wifi on first boot
mailru: lineage-16.0-20190330-UNOFFICIAL-nx551j.zip
gdrive: lineage-16.0-20190330-UNOFFICIAL-nx551j.zip

2019-03-29
  • Updated Lineage source code
  • Fixed autofocus issue(autofocus still broken)
  • Added exfat support
mailru: lineage-16.0-20190329-UNOFFICIAL-nx551j.zip
gdrive: lineage-16.0-20190329-UNOFFICIAL-nx551j.zip

2018-02-24
First test release
mailru: lineage-16.0-20190224-UNOFFICIAL-nx551j.zip
gdrive: lineage-16.0-20190224-UNOFFICIAL-nx551j.zip

To install this you have to install TWRP first. I can recommend this version, built with same kernel as ROM. nx551-twrp-3.2.1.img

If you want to use google apps use ARM64 Android 9.0 opengapps package https://opengapps.org/.

If you need root use Magisk

XDA:DevDB Information
[ROM][UNOFFICIAL][9.0][nx551j] LineageOS 16.0 for Nubia M2 [01/10/2019], ROM for all devices (see above for details)

Contributors
highwaystar_ru
Source Code: https://github.com/HighwayStar/android_kernel_nubia_msm8953/tree/lineage-16.0

ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.10.x
Based On: LineageOs

Version Information
Status: Testing

Created 2019-02-24
Last Updated 2019-10-01
 

estuardo4

Senior Member
Jul 7, 2009
442
104
0
Thank you Highway for the rom.

The only bug I've found is the brightness slider is inaccurate. About sliding the selector to almost 90% the brightness is at 50% physically... And from 90% to 100% physically the brightness goes from 50% to 100% so it's very difficult to adjust.
 

keshava108

Member
May 1, 2011
37
7
0
Brightness slider is weird, only starts working at halfway, then from 90% to 100%.
Notification light stayed flashing after charging, only happened once.
Not sure if you want logs?

Loving Android pie though
 
  • Like
Reactions: uan

flaviohsr

New member
Jun 6, 2018
4
1
0
Thanks for your work!! :)

The only bugs I have noticed so far was the lack of accuracy in manual and automatic adjustment of the screen; the notification led flashing when charge. And when you're on the widgets screen, the notification bar overlaps during screen scroll.
 
Last edited:

chaoshell

New member
Mar 17, 2019
1
0
0
Hi, i have just installed this rom in my phone and it looks really great. Some problems that i noticed is that the android wizard in the beginning doesnt work and i cant find the adaptive battery option. Thank you and keep good job.
 

Lucs1441

Member
Feb 1, 2016
5
3
0
Thank you for your job

the problems I noticed were:
the brightness of the screen changes after 50%
and when using bluetooth (smartband) and wifi (2.4ghz), the wifi gets very bad, with high ping and locking in some moments when watching videos on youtube or another video server, in lineage 15.1 it also slowed down but it was little did not disturb when watching videos.
 

keshava108

Member
May 1, 2011
37
7
0
lets all donate at least a buck to this comrade!

Blessed are the poor for they will buy cheapest phone with an amoled screen. Now this saint has given us updated software, long live Mother Russia
 

Il piallatore

New member
Mar 30, 2019
4
1
0
I noticed a problem with lineage 16. Usually I put the icons of some contacts in the home to have them more accessible but I can't with lineage 16. Is it just my problem?
Thanks Francesco