• 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

MajorP93

Member
Jan 31, 2015
48
111
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-10-10
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.​
 
Last edited:

MajorP93

Member
Jan 31, 2015
48
111

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.​
 
Last edited:

sorin000

Member
Feb 9, 2018
16
3
I was waiting for this clean Lineage port, but i need to make sure that everything works before i give it a go. I only have a single phone and i need pretty much eveything to work (NFC, Camera with decent quality, banking apps and AOD).
I will keep my eye on this thread. Thank you.
 
  • Like
Reactions: MajorP93

MajorP93

Member
Jan 31, 2015
48
111
I was waiting for this clean Lineage port, but i need to make sure that everything works before i give it a go. I only have a single phone and i need pretty much eveything to work (NFC, Camera with decent quality, banking apps and AOD).
I will keep my eye on this thread. Thank you.
I am using this build as a daily driver myself and so far everything works well.
As for camera quality: the stock LineageOS camera app is not really good but in the microG version of this build you can install GCam without any issues.
 
  • Like
Reactions: bschtl

MajorP93

Member
Jan 31, 2015
48
111
Thank you so much.
If I install your microG version now, will I be able to dirty flash the version from https://lineage.microg.org/ when it becomes official?
In that case formating data (full wipe) would be required. LineageOS has a preinstalled backup tool which makes it easier for you to import your data after a full wipe.

On a side note: it can take a while for this becoming official since LineageOS only accept source-built-kernels. This build here uses the stock prebuilt kernel from OnePlus because OnePlus released buggy kernel sources (NFC broken).
IMO working NFC is important which is why I will start working on making this official once the NFC functionality get's fixed in OnePlus kernel sources.
 
Last edited:
  • Like
Reactions: fifo171 and uhuhuh

Sarim17A

Member
Feb 19, 2020
27
18
OnePlus Nord
View attachment 5402769


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

Known issues :
DT2W

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: fastboot reboot 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 (recommended): *Link*
-LineageOS 18.1 without additions: *Link*

Android OS version: 11
Build author/ROM Maintainer: @MajorP93
Kernel Source: Stock Prebuilt Kernel

Based on: LineageOS
Status: Stable
Current Stable Version: 18.1
Stable Release Date: Updated monthly
Created: 2021-09-05
Last Updated: 2021-09-05

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.​
It's great to see a new ROM for the device , especially one that focuses on privacy . Thanks OP , for this awesome new addition to the Nord community , I'll definitely try it out soon !
 
  • Like
Reactions: jccz and MajorP93

MajorP93

Member
Jan 31, 2015
48
111
yes.. it says storage space is insufficient
Thanks for reporting back!
I took the instructions from the official LineageOS wiki and did not test GApps extensively since I only use microG.
I will test this and create an update this week where GApps will work.
In the meantime you can use microG if you want.
It also gives you the ability to use Google stuff.

//EDIT: you can also try BitGApps, those are like OpenGApps Pico but smaller.
I updated the GApps instructions accordingly.
If you want to try those please start over again with the instructions.
 
Last edited:

CrazyLyte

Member
Dec 3, 2020
29
7
Thanks for reporting back!
I took the instructions from the official LineageOS wiki and did not test GApps extensively since I only use microG.
I will test this and create an update this week where GApps will work.
In the meantime you can use microG if you want.
It also gives you the ability to use Google stuff.
ty a lot! i wait for next release! anyway, good job.. it is very smooth and fod is pretty fast! im looking forward
 
  • Like
Reactions: MajorP93

5fusion

Senior Member
Oct 2, 2012
53
18
OnePlus Nord
long awaited 18.1 is here :D. downloading right away. as you mentioned Dt2w is not working ..can we try stormbreaker kernel on this rom to enable it?
Also can ROM be flashed with OrFox recovery
 
Last edited:

CrazyLyte

Member
Dec 3, 2020
29
7
Thanks for reporting back!
I took the instructions from the official LineageOS wiki and did not test GApps extensively since I only use microG.
I will test this and create an update this week where GApps will work.
In the meantime you can use microG if you want.
It also gives you the ability to use Google stuff.

//EDIT: you can also try BitGApps, those are like OpenGApps Pico but smaller.
I updated the GApps instructions accordingly.
If you want to try those please start over again with the instructions.
same problem. ive tried also with nikgapps core (more smaller).. is a problem for the rom
 

MajorP93

Member
Jan 31, 2015
48
111
long awaited 18.1 is here :D. downloading right away. as you mentioned Dt2w is not working ..can we try stormbreaker kernel on this rom to enable it?
Hey!
I can not ensure that all parts of the ROM will work using Stormbreaker kernel but you can sure try! :)


same problem. ive tried also with nikgapps core (more smaller).. is a problem for the rom
Thanks for reporting back, I am working on a new release right now in which flashing of GApps will be fixed.
 
  • Like
Reactions: bschtl

MajorP93

Member
Jan 31, 2015
48
111
UPDATE 2021-09-07

Changelog:
-LineageOS 18.1 vanilla version: support for flashing GApps has been added (tested and verified with OpenGApps Pico) --> please refer to the instructions above (flashing GApps)

--> Download link in original post has been updated
 
  • Like
Reactions: bschtl and Pojopogo

CrazyLyte

Member
Dec 3, 2020
29
7
UPDATE 2021-09-07

Changelog:
-LineageOS 18.1 vanilla version: support for flashing GApps has been added (tested and verified with OpenGApps Pico) --> please refer to the instructions above (flashing GApps)

--> Download link in original post has been updated
ty a lot! i have a question.. u use tg? my idea is to create a group for los 18.1 and talk about it (also test the test buids and other as bugs)
so, we can help u to mantain the project up with no bugs pretty important.. let me know, if u want do this. thx in advance
 
  • Like
Reactions: MajorP93

MajorP93

Member
Jan 31, 2015
48
111
ty a lot! i have a question.. u use tg? my idea is to create a group for los 18.1 and talk about it (also test the test buids and other as bugs)
so, we can help u to mantain the project up with no bugs pretty important.. let me know, if u want do this. thx in advance
Thanks for the suggestion!
I like the idea!
I think this can help with testing while working on making this an official port one day and also help with making this project bigger.
I will see what I can do in this regard when I have the time (set up the group etc.)

Best regards
 
  • Like
Reactions: Sarim17A

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    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.
    8
    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.
    3
    Thanks for this amazing rom and your great communication here, i really appreciate it.

    Does anyone know something about official twrp release in the future?
    2
    @MajorP93 Now that you have a source build kernel, is there any chance you will include WireGuard?
    One of the goals of this project is to make it the official LineageOS port for the OnePlus Nord.
    LineageOS is relatively conservative regarding adding custom features to the kernel.
    I will stick to the LineageOS philosophy and therefore not add any custom features.

    I will mainly focus on fixing bugs, improving stability and adding security patches.
    2
    One of the goals of this project is to make it the official LineageOS port for the OnePlus Nord.
    LineageOS is relatively conservative regarding adding custom features to the kernel.
    I will stick to the LineageOS philosophy and therefore not add any custom features.

    I will mainly focus on fixing bugs, improving stability and adding security patches.
    I understand that. In that case I might try to build a custom kernel or a Magisk Module with the WireGuard kernel module. I did the same thing for Lineage 17, but it was kind of unstable so I never released it. Maybe I can release it this time, if I find the time to improve it.
  • 17
    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-10-10
    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.​
    13

    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.​
    11
    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 2021-09-14

    Changelog:

    Both versions:

    - Android security patch september 2021
    - Fixed bluetooth issues that caused audio not being played when receiving a call
    - Fixed the switching between 60Hz and 90Hz display modes
    - Re-enabled the possibility to switch between display color profiles

    microG version:
    - Added BromiteSystemWebView for improved privacy when displaying In-App-Web-Content

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