• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][11][UNOFFICIAL] LineageOS 18.1 - microG [OnePlus Nord/avicii]

Search This thread

likenatural

Senior Member
Dec 29, 2011
147
49
The fingerprint scanner does not work properly, once 90Hz is forced. Not possible to unlock the screen from the first attempt.
Think this is not related to 90Hz in my case. With dark mode on, this happens, can't unlock most of the time. With dark mode off, works fine. Otherwise a great rom for daily driver. Thanks.
 

jfedotov

New member
Jul 23, 2016
4
2
Think this is not related to 90Hz in my case. With dark mode on, this happens, can't unlock most of the time. With dark mode off, works fine. Otherwise a great rom for daily driver. Thanks.
Maybe :) but according to the developer of this ROM, it's just in your imagination... All fixed and nobody has that issue.
 

MajorP93

Senior Member
Jan 31, 2015
58
153
Think this is not related to 90Hz in my case. With dark mode on, this happens, can't unlock most of the time. With dark mode off, works fine. Otherwise a great rom for daily driver. Thanks.
I use the ROM as a daily driver myself and gotta say that FOD works even with dark mode enabled.

Anyways you are welcome to join my telegram group. We can try to look at your problem in detail.

On a side note: when entering FOD mode the phone will always use 60Hz. I set it to be like that because in 60Hz mode the FOD detection rate is higher. When fingerprint got detected your phone will use the mode you set in display settings.
This means that technically your FOD detection rate can't be worse when you enable 90Hz mode in settings.
 

likenatural

Senior Member
Dec 29, 2011
147
49
I use the ROM as a daily driver myself and gotta say that FOD works even with dark mode enabled.

Anyways you are welcome to join my telegram group. We can try to look at your problem in detail.

On a side note: when entering FOD mode the phone will always use 60Hz. I set it to be like that because in 60Hz mode the FOD detection rate is higher. When fingerprint got detected your phone will use the mode you set in display settings.
This means that technically your FOD detection rate can't be worse when you enable 90Hz mode in settings.
Have removed naptime app, and this fingerprint problem is not seen much after that. May be because of naptime freezing some system components, which is not loading properly during unlock. Thanks dev and all for the support.
 
  • Like
Reactions: MajorP93

DarkFantasy6

Senior Member
Oct 21, 2012
564
113
Im running the rom now on my new Nord. Everything seems to work fine for now. Let's see what the battery lifetime will be. One question: How do you flash additonal zips? I tried flashing openGapps and Magisk with the supplied lineage recovery but that didn't work, so I did the following:

- Flash lineage recovery
- Flash vanilla lineage os
- Boot the testing TWRP available recovery from XDA
- Flash openGapps and Magisk there

This worked fine. Should it also work in lineage os recovery?
 

Yusef Kifah

Member
Aug 31, 2014
35
4
OnePlus Nord
Hi @MajorP93 great work so far! However, just wanted to ask a few questions before I flash. 😁

Does this work with the latest OOS firmware 11.1.6.6? AC2003 - AC01AA

Is it possible to use OOS camera with this ROM? Is it pre-installed in this build? Wide angle/macro/4k 60fps working fine? Third Party apps camera ok?

Banking apps, all ok? With or without Magiskhide?

Thanks and hope your build becomes official!
 

mtb-defy

Member
Apr 22, 2011
18
1
Hi!
I'm thinking about switching to your build as the stock rom doesn't support 5G (n78) for my provider (o2 germany).
Does 5G work for that band with your build?
 
  • Like
Reactions: Tuxi1990

MajorP93

Senior Member
Jan 31, 2015
58
153
Passing Safety Net check on microG is not possible at this moment.
Not because of the ROM but rather because of microG.
You can still enable the "SafetyNet" option in micro services core app which will enable most of the apps that require safety net to work.

Im running the rom now on my new Nord. Everything seems to work fine for now. Let's see what the battery lifetime will be. One question: How do you flash additonal zips? I tried flashing openGapps and Magisk with the supplied lineage recovery but that didn't work, so I did the following:

- Flash lineage recovery
- Flash vanilla lineage os
- Boot the testing TWRP available recovery from XDA
- Flash openGapps and Magisk there

This worked fine. Should it also work in lineage os recovery?
Flashing OpenGapps is supported in LineageOS recovery. Instructions can be found in the second post of this thread.
Flashing magisk zip in LineageOS recovery is not supported.
Extracting boot.img from ROM zip (by dumping the payload), patching it with magisk and flashing it using fastboot is the recommended method for installing magisk.
Your method (booting/flashing TWRP after LineageOS has been installed successfully) also works.


Hi @MajorP93 great work so far! However, just wanted to ask a few questions before I flash. 😁

Does this work with the latest OOS firmware 11.1.6.6? AC2003 - AC01AA

Is it possible to use OOS camera with this ROM? Is it pre-installed in this build? Wide angle/macro/4k 60fps working fine? Third Party apps camera ok?

Banking apps, all ok? With or without Magiskhide?

Thanks and hope your build becomes official!
Hi!
Yes, you can flash this ROM when you are running OOS 11.1.6.6.
OOS Camera is not included in this build.
There are download links and instructions for installing GCam in my telegram group (link to the group can be found in the first post).

Regarding banking apps: in vanilla ROM banking apps are working after OpenGapps have been installed.
In microG ROM most banking apps work after enabling safety net in microG services core app.
Magiskhide is only required if you rooted your phone.

Best regards
 

MajorP93

Senior Member
Jan 31, 2015
58
153
UPDATE 2021-11-16

Changelog:

Both versions:

- Android security patch november 2021
- General stability improvements

microG version:
- Updated FDroid to 1.13.1 (1013051)

Download links to the new versions have been added to the original post.

For update instructions please refer to the second post of this thread.
 

errdos

Member
Mar 2, 2012
20
3
Thanks for the great ROM!!!
installed it 2 days ago so not much of usage miles but I can give my two cents if people comes across the same issue that I had.

  1. fingerprint didnt work sometimes when opening the phone
    problem: ambient screen caused the screen to be too dark and fingerprint didnt recognize. (you can see that if you close and open it few times the screen is lighter and it works)
    solution: disable ambient screen
  2. root and safetynet check
    problem: wanted to install magisk with safetynet passing
    solution:
    1. extract paylaod.img from zip.
    2. use https://github.com/vm03/payload_dumper to extract boot.img
    3. copy boot img to phone and patch it via magisk app
    4. use fastboot to load via this boot img (test that everything is ok) and use magisk to direct install it on to phone boot.img
    5. install props model in magisk and run it via tmux to solve safetynet.
hope that helps other people with the same issues as me~
good luck.
 
Last edited:
  • Like
Reactions: MajorP93

topperdoggle

Member
Dec 27, 2011
36
6
I'm very excited to try this over the weekend. My Nord has been a massive disappointment compared to my 3T. With the factory firmware, the WiFi and Bluetooth somehow got in each others' way, and my Bluetooth connections kept dropping. Since then, I've been using the official LineageOS 17.1 nightlies which solved that problem but have problems of their own e.g. Google Assistant button not working.

As this is LineageOS as well, might I be able to do a dirty flash, just deleting cache? I really want to try it but the whole thing of going through a Titanium Backup, needing to back up some apps and not others, is just painful...
 

MajorP93

Senior Member
Jan 31, 2015
58
153
I'm very excited to try this over the weekend. My Nord has been a massive disappointment compared to my 3T. With the factory firmware, the WiFi and Bluetooth somehow got in each others' way, and my Bluetooth connections kept dropping. Since then, I've been using the official LineageOS 17.1 nightlies which solved that problem but have problems of their own e.g. Google Assistant button not working.

As this is LineageOS as well, might I be able to do a dirty flash, just deleting cache? I really want to try it but the whole thing of going through a Titanium Backup, needing to back up some apps and not others, is just painful...
Hey,
it is highly recommended to perform a clean flash when switching to a new major release version of Android.
(LineageOS 17.1 is based on Android 10 while LineageOS 18.1 is based on Android 11).

You would most certainly encounter problems when performing a dirty flash upgrade.

I can recommend "Migrate" app from play store for this process. It will backup your apps, data, contacts, calendar entries, SMS, call logs and store it in a flashable zip.
After installing LineageOS 18.1 you can flash this zip using the "Migrate flasher" app.

Please note that you will need the vanilla version of this ROM in addition to OpenGApps Nano for Google Assistant to work.
You can find the instructions in the second post of this thread, just use Nano instead of Pico.

Best regards
 

topperdoggle

Member
Dec 27, 2011
36
6
Hey,
it is highly recommended to perform a clean flash when switching to a new major release version of Android.
(LineageOS 17.1 is based on Android 10 while LineageOS 18.1 is based on Android 11).

You would most certainly encounter problems when performing a dirty flash upgrade.

I can recommend "Migrate" app from play store for this process. It will backup your apps, data, contacts, calendar entries, SMS, call logs and store it in a flashable zip.
After installing LineageOS 18.1 you can flash this zip using the "Migrate flasher" app.

Please note that you will need the vanilla version of this ROM in addition to OpenGApps Nano for Google Assistant to work.
You can find the instructions in the second post of this thread, just use Nano instead of Pico.

Best regards
Thanks. Just out of interest, what's the main difference between wiping data and using an app like Migrate - doesn't the app restore all the data?
 

JaffaMeme

New member
Sep 23, 2020
3
0
Good work man, do you think you'd ever be willing to make build instructions for LOS 18.1 on the Nord? I understand it may not be practically possible if the changes you have made are fairly specific.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    UPDATE 2022-01-14

    Changelog:


    Both versions:
    - Android security patch december 2021
    - General stability improvements

    Please note: at the time of writing security patch january 2022 has not been released by LineageOS core team. I will include it in the following days once it got released.

    Download links to the new versions have been added to the original post.

    For update instructions please refer to the second post of this thread.
    1
    Many thanks for this @MajorP93 - it's buttery smooth and for the first time in a year since I bought my Nord the fingerprint reader works properly!

    I've one oddity to report. My device is an AC2003, but when I mount it on my laptop over MTP it appears as an AC2001. I believe that's a variant for another region with support for different 5G bands. Could this mean that the rom isn't supporting the right 5G bands for my device?

    PS. I'd love to buy you a beer but can't see a donate link anywhere. Mind reposting it?

    Edit: nvm, found it on the Telegram channel announcement. Enjoy a beer or two on me.
    1
    Are there any updates for the future?
    1
    Thank you for your great work @MajorP93
    Please keep the updates coming :)
    1
    Someone has checked the OFFICIAL LineageOS 17.1 for microG ?
    there is no thread about it
    thnkxxx

    OnePlus Nord (avicii)
    That's what I'm using now, it works just fine for me. I'll make the update soon
  • 23
    los-microg-logo.jpg

    You care a lot about privacy and security? You want an up to date LineageOS build that will not hold you back in regards of user experience?
    Then LineageOS 18.1 microG edition is right for you! (Non-microG vanilla LineageOS version also available).​
    LineageOS is a free, community built, aftermarket firmware distribution of Android 11, 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
    DT2W

    Known issues :
    -

    Versions :
    There are 2 versions available:
    -LineageOS 18.1 with microG (includes microG, FDroid and AuroraStore)
    -LineageOS 18.1 vanilla (no GApps / nothing added)


    In order to prevent problems please use the recovery image included in this release!
    Instructions :

    -Download the ROM and recovery image
    -Boot into bootloader: adb reboot bootloader
    -Flash the recovery image: fastboot flash recovery recovery.img
    -Format data / do a factory reset in recovery
    -Reboot into recovery: click advanced --> reboot to recovery
    -Go to Apply update and choose Apply from ADB
    -Sideload the rom: adb sideload rom.zip

    Please note:
    in order to enable push notifications open up microG services core,
    set up your Google account and enable device registration & cloud messaging.

    Downloads :
    -Recovery image: *Link*
    -LineageOS 18.1 with microG included: *Link*
    -LineageOS 18.1 vanilla (no GApps included): *Link*

    Android OS version: 11
    Build author/ROM Maintainer: @MajorP93
    Kernel Source: *Link*
    Device Tree: *Link* and *Link*

    Based on: LineageOS
    Status: Stable
    Current Stable Version: 18.1
    Stable Release Date: Updated monthly
    Created: 2021-09-05
    Last Updated: 2021-11-16
    Telegram Group: *Link*

    Special Thanks:
    - to the LineageOS and microG team
    - @KakatkarAkshay for maintaning PixelExperience avicii device tree on which this build is heavily based on.
    - @zephiK for introducing me to the Android development world.​
    16

    HOW TO GET GAPPS IN THE VANILLA VERSION OF THIS ROM:
    Reference: *Link*

    Follow these steps:
    -Download GApps from here: *Link* (OpenGApps Pico, Android 11, ARM64)
    -Boot into bootloader: adb reboot bootloader
    -Flash the recovery image: fastboot flash recovery recovery.img
    -Format data / do a factory reset in recovery
    -Reboot into recovery: click advanced --> reboot to recovery
    -Go to Apply update and choose Apply from ADB
    -Sideload the vanilla version of the rom: adb sideload rom.zip
    -Reboot into recovery again (!important do not start LineageOS yet)
    -Sideload the GApps package you just downloaded: adb sideload gapps.zip



    UPDATING THE ROM:

    Unless I say the opposite in the update announcement, this ROM can be updated using the dirty flash method.

    In order to do so, follow these steps:
    -Download the new version of the ROM you are using (microG/vanilla)
    -Reboot into recovery: adb reboot recovery
    -DO NOT CLICK ON FACTORY RESET / WIPE DATA
    -Flash the Zip-File of the new ROM: adb sideload rom.zip

    Important: if you are using the vanilla version of the ROM,
    you have to re-flash GApps after updating and before starting LineageOS:
    -Reboot into recovery: click advanced --> reboot to recovery
    -Download GApps from the link above
    -Sideload the GApps package you just downloaded: adb sideload gapps.zip



    PLANNED FOR THE FUTURE:

    - I might apply as official LineageOS 18.1 avicii maintainer, in the meantime I will keep this unofficial port updated, include security patches and fix issues.
    - Updates on a monthly basis
    - avb_custom_key (Re-Lock Bootloader) and OTA updates might get set up later on.​
    12
    UPDATE 2021-09-29

    Changelog:

    Both versions:

    - Switched to source built kernel
    - General performance and stability improvements
    - Fixed NFC in source built kernel
    - Fixed DT2W
    - Updated FOD behavior
    - Fixed FOD unlock from AOD screen
    - Added support for NXP secure element
    - Updated display profile behavior
    - Improved touch gestures

    Download links to the new versions have been added to the original post.

    For update instructions please refer to the second post of this thread.
    9
    UPDATE 2022-01-14

    Changelog:


    Both versions:
    - Android security patch december 2021
    - General stability improvements

    Please note: at the time of writing security patch january 2022 has not been released by LineageOS core team. I will include it in the following days once it got released.

    Download links to the new versions have been added to the original post.

    For update instructions please refer to the second post of this thread.
    9
    UPDATE 2021-10-10

    Changelog:

    Both versions:

    - Android security patch october 2021
    - Fixed screen off gestures
    - Fixed status bar alignment (aligned to center of punchhole)

    Download links to the new versions have been added to the original post.

    For update instructions please refer to the second post of this thread.