[ROM][13][UNOFFICIAL] LineageOS 20 - microG [OnePlus Nord/avicii]

Search This thread

MajorP93

Senior Member
Jan 31, 2015
144
322
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 20 microG edition is right for you! (Non-microG vanilla LineageOS version also available).​
LineageOS is a free, community built, aftermarket firmware distribution of Android 13, 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 20 with microG (includes microG, FDroid and AuroraStore)
-LineageOS 20 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
-Boot the recovery image: fastboot boot recovery.img
-Format data / do a factory reset in 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 20 with microG included: *Link*
-LineageOS 20 vanilla (no Gapps included): *Link*

Android OS version: 13
Build author/ROM Maintainer: @MajorP93, @KakatkarAkshay
Kernel Source: *Link*
Device Tree: *Link*

Based on: LineageOS
Status: Stable
Current Stable Version: 20
Stable Release Date: Updated monthly
Created: 2023-01-22
Last Updated: 2023-02-20
Telegram Group: *Link*

Special Thanks:
- to the LineageOS and microG team
- @KakatkarAkshay for putting in awesome work towards bringing up OOS12 firmware based trees.​
 
Last edited:

MajorP93

Senior Member
Jan 31, 2015
144
322

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

Follow these steps:
-Download Gapps from here: *Link* (MindTheGapps-13.0.0-arm64)
-Boot into bootloader: adb reboot bootloader
-Boot the recovery image: fastboot boot recovery.img
-Format data / do a factory reset in recovery
-Go to Apply update and choose Apply from ADB
-Sideload the vanilla version of the rom: adb sideload rom.zip
-Reboot into recovery: click advanced --> reboot to recovery (!important do not start LineageOS yet)
-Go to Apply update again and choose Apply from ADB
-Sideload the Gapps package you just downloaded: adb sideload gapps.zip, when prompted select "install anyway" after the "signature verification" message.



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
-Go to Apply update again and choose Apply from ADB
-Download Gapps from the link above
-Sideload the Gapps package you just downloaded: adb sideload gapps.zip, when prompted select "install anyway" after the "signature verification" message.
 
Last edited:

sorin000

Member
Feb 9, 2018
28
7
OnePlus Nord
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

Senior Member
Jan 31, 2015
144
322
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

Senior Member
Jan 31, 2015
144
322
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:

Sarim17A

Member
Feb 19, 2020
28
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

CrazyLyte

Member
Dec 3, 2020
32
8
hi! im found an issue when i flash gapps.. on screen, appear error 70. idk why recovery shows this..
 

MajorP93

Senior Member
Jan 31, 2015
144
322
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
32
8
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
61
24
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
32
8
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

Senior Member
Jan 31, 2015
144
322
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

juankgp

Member
Mar 6, 2017
15
2
Great job, I found a little bug, when I try to use an app with fingerprint acces the finger print doesn't work
 

MajorP93

Senior Member
Jan 31, 2015
144
322
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
32
8
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

Senior Member
Jan 31, 2015
144
322
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.
  • 3
    First official build is live:

    I flashed the official LineageOS build over a recent unofficial one - no problems so far.

    Thank you @MajorP93 and @KakatkarAkshay for all the time and effort that has gone into this!
    3
    Official LineageOS

    We just released official LineageOS for the OnePlus Nord / avicii.
    This means that this unofficial LineageOS ROM will not receive any more updates.

    Feel free to switch to official LineageOS and participate in the new XDA thread: *Link*

    Any XDA moderator may close this thread.
    2
    LineageOs wiki says there is official device support here https://wiki.lineageos.org/devices/avicii/ (links do not work and it says current version is 17, while last supported version was 20). If this means that progress towards official build has been made then I am super hyped and thank you for your work (anyways).
    1
    Hi, thank you for all these recent updates! I was wondering if there's a way to flash the update without having to to through recovery and adb sideload. Is it possible to flash the update to the inactive slot without having to reboot to recovery?
    Thanks :)
    Hi,
    no, for now it is required to use recovery and adb sideload.
    1
    is it pre-rooted? if no how do i root my phone after installing the rom
    As far as I can tell it is not pre-rooted, but this worked for me:
    0. Please read everything before trying it on your device.
    1. Install the magisk apk
    2. Go into System > Developes options and enable USB debugging as well as Rooted debugging
    3. Open a terminal on your PC, and type adb root
    4. Get a shell on your device with adb shell
    5. Navigate to by-name block devices cd dev/block/by-name/
    6. Using dd, copy boot_a and boot_b to your internal storage:
    - dd if=boot_a of=/storage/emulated/0/Download/boot_a.img
    - dd if=boot_b of=/storage/emulated/0/Download/boot_b.img
    7. Exit the shell exit
    8. Open the Magisk app, tap "install" (the one beside Magisk) and select "Select and Patch a File"
    9. Navigate to your Downloads folder, select boot_a.img and click "LET'S GO"
    10. After patching is completed rename the file (file name is something like: magisk_patched-25200_NCLa0.img) to magisk_boot_a.img and copy it to your pc (check if the file size matches your original boot_a.img file. If it is 0kb, disconnect your phone from your PC and try step 8-9 again. If it is still 0kb clear Magisk cache and app data and try again)
    11. Repeat steps 8-10 for boot_b and rename everything accordingly (magisk_boot_b.img)
    12. On your PC terminal type adb reboot bootloader
    13. Once you are in fastboot mode use fastboot getvar current-slot to determine which slot your device is currently using:
    14. Flash your boot_[a/b].img
    - For "current-slot: a": fastboot flash boot ./magisk_boot_a.img
    - For "current-slot: b": fastboot flash boot ./magisk_boot_b.img
    (Make sure your terminal is the folder the magisk_boot_[a/b].img files are located in or use absolute paths)
    14. reboot fastboot reboot
    Done!
    When you open the Magisk app again you should see Magisk "Installed [version number]".

    Note: This worked for me and seems to be reliable. However I do not take any responsibility for if something goes wrong, loss of data or anything else. If during all of this you get an error, device bootloop or other kind of brick, you can always try flashing the original boot_a.img / boot_b.img (provided you still have them), boot a custom recovery and flash the lineage-20.0-[...].zip and see if it changes anything (I havent tried either as I have never had issues with this method). Alternatively you can use MSMDownloadTool to completely reset your device (This will wipe everything including any custom recoverys and replace them with the stock one).

    Further reading:
    - Magisk Github
    - Magisk installation instructions
    - MSMDownloadTool
  • 39
    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 20 microG edition is right for you! (Non-microG vanilla LineageOS version also available).​
    LineageOS is a free, community built, aftermarket firmware distribution of Android 13, 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 20 with microG (includes microG, FDroid and AuroraStore)
    -LineageOS 20 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
    -Boot the recovery image: fastboot boot recovery.img
    -Format data / do a factory reset in 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 20 with microG included: *Link*
    -LineageOS 20 vanilla (no Gapps included): *Link*

    Android OS version: 13
    Build author/ROM Maintainer: @MajorP93, @KakatkarAkshay
    Kernel Source: *Link*
    Device Tree: *Link*

    Based on: LineageOS
    Status: Stable
    Current Stable Version: 20
    Stable Release Date: Updated monthly
    Created: 2023-01-22
    Last Updated: 2023-02-20
    Telegram Group: *Link*

    Special Thanks:
    - to the LineageOS and microG team
    - @KakatkarAkshay for putting in awesome work towards bringing up OOS12 firmware based trees.​
    23

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

    Follow these steps:
    -Download Gapps from here: *Link* (MindTheGapps-13.0.0-arm64)
    -Boot into bootloader: adb reboot bootloader
    -Boot the recovery image: fastboot boot recovery.img
    -Format data / do a factory reset in recovery
    -Go to Apply update and choose Apply from ADB
    -Sideload the vanilla version of the rom: adb sideload rom.zip
    -Reboot into recovery: click advanced --> reboot to recovery (!important do not start LineageOS yet)
    -Go to Apply update again and choose Apply from ADB
    -Sideload the Gapps package you just downloaded: adb sideload gapps.zip, when prompted select "install anyway" after the "signature verification" message.



    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
    -Go to Apply update again and choose Apply from ADB
    -Download Gapps from the link above
    -Sideload the Gapps package you just downloaded: adb sideload gapps.zip, when prompted select "install anyway" after the "signature verification" message.
    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.
    10
    We reached our crowdfunding goal of 300€!
    I just purchased a used Nord device.
    @Keertesh is currently working on finding the best option for purchasing his second Nord device.

    Thanks a lot to everyone who donated! We are a great community!
    We already started working on the scratch bringup.
    10
    UPDATE 2023-01-22

    New major release LineageOS 20.0


    Changelog:

    Both versions:
    - Initial release
    - Android 13

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

    Please note:
    While upgrading from our latest LineageOS 19.1 release to this LineageOS 20.0 release using the dirty flash method worked in our tests it is strongly recommended to backup your important data before doing so.
    If possible do a clean flash instead as it can prevent issues when upgrading to a new major release / new version of Android.

    If you like our work and want to support us you can tip us a beer by donating to one (or both) of our PayPal accounts:

    Keertesh19: https://paypal.me/keertesh83

    MajorP93: https://paypal.me/MajorP93