[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] emufan4568:
/*
* 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.
*/

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

Working:

It boots

WiFi

Bluetooth

Camera

Navigation Keys

Fingerprint

Sensors

GPS

RIL

SDCard

Headphones

Ringtones

Bluetooth audio

Known bugs

WiFi Hotspot

Selinux permissive

Stock LOS recovery doesn't boot

Dual SIM

You tell me ;)

Install instructions

Flash the newest T-Virus release (if you have already installed T-Virus, reflash the newest release it contains a fix to TWRP)

After T-Virus has flashed and it has booted to the Android 10 GSI test environment, type this command to reboot to recovery mode

adb reboot recovery

Once in recovery, copy the Lineage OS zip file to the internal storage

Go to the Install section and flash the Lineage OS zip

After the zip has flashed, go to Wipe->Advanced Wipe, tick the "Dalvik /ART Cache" and "Data" boxes and wipe them

Head to Wipe->Format Data and type yes to format the data partition

Finally go to the Reboot section, select Slot B to switch to the flashed slot and then to System and swipe to reboot

Profit?

OpenGApps/Magisk:

After the ROM successfully boots up, many of will will want to install Magisk and/or OpenGApps. To do that you need to install the latest TWRP release

adb reboot bootloader
fastboot flash:raw boot --slot=all twrp-3.4.0-0-NB1.img
fastboot reboot

After that reboot to recovery, flash OpenGApps and/or Magisk. If you flash OpenGApps don't forget to wipe the data partition to prevent Google Setup from crashing

Downloads

T-Virus: https://xdaforums.com/nokia-8/development/t-virus-infect-nokia-8-project-treble-t3946249

ROM: https://github.com/GPUCode/android_device_nokia_nb1/releases

TWRP: https://xdaforums.com/nokia-8/development/recovery-twrp-3-4-0-0-nb1-t4187679

Notes:

Only Clean Installation Please

Bug Report Without logs means nothing

Magisk is untested

In case you flashed any gapps, re-flashing is needed if you're updating the ROM

Reporting Bugs:

DO NOT Report bugs if you installed Xposed or weird magisk modules

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 /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

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. Any bug not reported in the bug report format below may be ignored.

Sources:

Device tree (Common): https://github.com/GPUCode/android_device_nokia_msm8998-common/tree/lineage-17.1

Device tree (NB1): https://github.com/GPUCode/android_device_nokia_nb1/tree/lineage-17.1

Kernel: https://github.com/resident-nokia/umbrella

Vendor tree: https://github.com/GPUCode/proprietery_vendor_nokia/tree/lineage-17.1

XDA:DevDB Information

LineageOS 17.1 for NB1, ROM for the Nokia 8

Contributors

THMSP, OneWayGamer, oaid

Source Code: [url]https://github.com/LineageOS[/URL]

ROM OS Version: Android 10

ROM Kernel: Linux 4.x

Based On: AOSP

Version Information

Status: Beta

Created 2020-11-03

Last Updated 2020-11-03[/QUOTE]