[ROM][OFFICIAL] LineageOS 17.1 [OnePlus Nord/avicii]

KakatkarAkshay

Recognized Developer
Feb 16, 2020
206
287
73


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 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.


What's working :
Boots
RIL
Fingerprint
Wi-Fi
Bluetooth
Camera
Audio
Sensors
Flash
GPS
Alert Slider
NFC

Known issues :
You tell me.

Instructions :
Download the latest build.
Reboot to Recovery.
Flash the build.
Reboot to recovery.
Format Data.
Flash GApps (Optional).
Flash Magisk (Optional).
Reboot

Downloads :
Grab ur build : Link

XDA:DevDB Information
LineageOS, ROM for the OnePlus Nord

XDA:DevDB Information
LineageOS 17.1, ROM for the OnePlus Nord

Contributors
@KakatkarAkshay
Device Tree: https://github.com/LineageOS/android_device_oneplus_avicii
Kernel Tree: https://github.com/LineageOS/android_kernel_oneplus_sm7250

ROM OS Version: Android 10
ROM Kernel: Linux 4.19
Based On: LineageOS

Version Information
Status:
Stable
Current Stable Version: 17.1
Stable Release Date: 2020-11-03

Created 2020-11-03
Last Updated 2020-11-03
 
Last edited:

Android-Desire

Senior Member
Sep 17, 2010
253
36
48
Copenhagen
Nice been waiting for a new los 17.1 crossing my fingers for working banking apps trying it later.

Edit:forgot to ask what about gapps
Edit2: must be cause it is earlig but what gapps do i pick pico? What is recommended?
 
Last edited:

KakatkarAkshay

Recognized Developer
Feb 16, 2020
206
287
73
Nice been waiting for a new los 17.1 crossing my fingers for working banking apps trying it later.

Edit:forgot to ask what about gapps
Edit2: must be cause it is earlig but what gapps do i pick pico? What is recommended?
I used nikgapps but others should also work fine though I cant be sure about that. And any version is supported. It doesn't have to be specifically pico or micro or anything.
 

sniperle

Senior Member
Dec 8, 2010
395
355
93
Get this error when trying to install with TWRP:
Code:
I:operation_start: 'Flashing'
Installing zip file '/sdcard/Download/lineage-17.1-20201103-UNOFFICIAL-avicii.zip'
Checking for Digest file...
Unmounting System...
I:AB zip
Flashing A/B zip to inactive slot: B
I:cp -f /system/bin/sh /tmp/sh process ended with RC=0
I:has_legacy_properties: Could not open /tmp/updater: No such file or directory!
I:Legacy property environment not used in updater.
target_build: 257
Package is for product OnePlusNord but expected avicii
The file META-INF/com/android/metadata contains pre-device=OnePlusNord but other ROMs use pre-device=avicii

Edit1: Installed it with adb sideload in LOS recovery.

Another question: Is it necessary to use the script to change the release/debug-keys if I previously used LOS from the other thread?
In the file META-INF/com/android/metadata of this LOS is post-build=OnePlus/OnePlusNord/OnePlusNord:10/QQQ3A.200805.001/257:userdebug/dev-keys but in the same file of the other LOS is post-build=google/coral/coral:10/QQQ3A.200805.001/6578210:user/release-keys


Edit2: Key does not need to be changed.
 
Last edited:

KakatkarAkshay

Recognized Developer
Feb 16, 2020
206
287
73
Get this error when trying to install with TWRP:
Code:
I:operation_start: 'Flashing'
Installing zip file '/sdcard/Download/lineage-17.1-20201103-UNOFFICIAL-avicii.zip'
Checking for Digest file...
Unmounting System...
I:AB zip
Flashing A/B zip to inactive slot: B
I:cp -f /system/bin/sh /tmp/sh process ended with RC=0
I:has_legacy_properties: Could not open /tmp/updater: No such file or directory!
I:Legacy property environment not used in updater.
target_build: 257
Package is for product OnePlusNord but expected avicii
The file META-INF/com/android/metadata contains pre-device=OnePlusNord but other ROMs use pre-device=avicii

Another question: Is it necessary to use the script to change the release/debug-keys if I previously used LOS from the other thread?
In the file META-INF/com/android/metadata of this LOS is post-build=OnePlus/OnePlusNord/OnePlusNord:10/QQQ3A.200805.001/257:userdebug/dev-keys but in the same file of the other LOS is post-build=google/coral/coral:10/QQQ3A.200805.001/6578210:user/release-keys
Will take a look, for now use lineage recovery.
 

mchtt

Senior Member
Jun 12, 2013
472
68
58
You can use either lineage recovery linked in the thread or twrp from here. Thanks to @mauronofrio for working on twrp.
It did not work with latest twrp for me, no probs with Los recovery.

---------- Post added at 07:21 PM ---------- Previous post was at 06:47 PM ----------

Is it safe to disable stock Email, Messages and Phone apps if I use the Google ones?
 

sniperle

Senior Member
Dec 8, 2010
395
355
93
As with many custom ROMs, the fingerprint sensor works poorly or not at all when nightlight is activated. The lower the intensity, the worse. With the default intensity definitely bad.
 

sniperle

Senior Member
Dec 8, 2010
395
355
93
Fingerprint is working perfectly fine here even with night light turned on.
I can confirm this problem on my/our 2 different Nord (European Model).
If the intensity slider of the night light is on the far right, it works quite well, but it doesn't work if it is in the middle (default) or left.

I also read a news report a few weeks ago, it was probably in the XDA News Portal (www.xda-developers.com), that many phones with in-display fingerprint sensor have problems with reading the fingerprint when a custom ROM is installed and the night light is on.
I cannot find the article at the moment, but I will search for it.

Nobody else has problems with fingerprint reader and night light ?