[ROM][12.1][UNOFFICIAL] LineageOS 19.1 - microG [OnePlus Nord/avicii]

Search This thread

MajorP93

Senior Member
Jan 31, 2015
83
215
I did the following, which I think follows your instructions :

1. Boot to bootloader
2. installation PE recovery
3. factory reset
4. ROM sideload
5. Reboot to bootloader
6. installation PE recovery again (because it was overwritten by LOS recovery)
7. boot to recovery
8. FlameGapps sideload
9. Boot to LOS

Will try the MicroG version, but there are a few use cases which I think won't work (Google FamilyLink is one I use a lot for my kids and I think it won't work with MicroG or chromecast from the Netflix app).
Ok I will look into this. Gapps have to work when using vanilla ROM.

//EDIT: can you @hermesjconrad please try again using the exact steps you mentioned but use "open_gapps-arm64-12L-pico-20220311-UNOFFICIAL_MOD.zip" instead?

Download link: https://drive.google.com/drive/folders/1ae_5jUOVG-spr63T0jyBpj6n3Anh4xKL
 
Last edited:
  • Like
Reactions: blackadder1000

hermesjconrad

Member
Apr 6, 2021
7
4
  • Like
Reactions: blackadder1000
Apr 25, 2009
47
8
London
OnePlus Nord
First experience, managed to flash just fine. However the flame gapps keeps crashing on my Nord during the "Google services" settings stage. After choosing "Backup and storage" options and location settings and scanning etc. it asks for a PIN and then shows the same screen again. After that I am stuck in a loop between the settings screen and PIN confirmation.
I had the same issue.

I managed to get past it by not creating a PIN. In my case, I was restoring a previous Google backup which asks me to login into my Google account, asks to restore the backup and then takes me to the "Google services" screen. After clicking 'accept' it asks me to set up a PIN - which can be skipped in the lower left corner. This got me past the screen but still restored my Google backup.

On the occasion where I did create a PIN I had the same issue as OP - a loop between PIN and "Google Services"
 

MajorP93

Senior Member
Jan 31, 2015
83
215
I had the same issue.

I managed to get past it by not creating a PIN. In my case, I was restoring a previous Google backup which asks me to login into my Google account, asks to restore the backup and then takes me to the "Google services" screen. After clicking 'accept' it asks me to set up a PIN - which can be skipped in the lower left corner. This got me past the screen but still restored my Google backup.

On the occasion where I did create a PIN I had the same issue as OP - a loop between PIN and "Google Services"
Thanks for sharing your workaround!
A proper fix is on the ToDo for the following updates.
 

mythos_

Senior Member
May 27, 2012
119
45
Does this use the modem etc. files from the 12 open beta? 5G is still not enabled in my country under OOS 11 but there are reports that OOS 12 enables it for some devices (not the Nord yet because it seems the open beta is for the Indian version only).
 

joshndroid

Senior Member
Jun 22, 2011
3,352
4,770
For anyone having issues with OpenGapps - On other devices with LOS 19.1 I have used the MindTheGapps Packages - see here for further https://wiki.lineageos.org/gapps and you will find mirrors to the packages (thought i would take you to the source of the link/why rather than just a random download link)

@MajorP93 @Keertesh - Cracking build so far, installed and works a charm for me with the MicroG packages :) LOS19 looks so much better and is quite snappy.
 

Semaphor_

Member
Jun 2, 2011
24
2
Lübeck
I wanted to switch from the oudated official lineageOS 17 version but I think I made some kind of error.

But I accidentally flashed the gapps version as-is (without gapps, as I thought it was the microg version).

I formatted and tried to flash the microg version instead, but that now results in "downgrade not allowed". Formatting again, flashing the Gapps version and then either flashing FlameGapps or MindTheGapps both result in

Code:
E: failed to verify whole file signature
E: Signature verification failed
E: Error: 21

Can someone help me?
 

flocke000

Senior Member
Apr 26, 2014
338
324
Oberhausen
I wanted to switch from the oudated official lineageOS 17 version but I think I made some kind of error.

But I accidentally flashed the gapps version as-is (without gapps, as I thought it was the microg version).

I formatted and tried to flash the microg version instead, but that now results in "downgrade not allowed". Formatting again, flashing the Gapps version and then either flashing FlameGapps or MindTheGapps both result in

Code:
E: failed to verify whole file signature
E: Signature verification failed
E: Error: 21

Can someone help me?
Which recovery did you use to flash the gapps packages? The one that is installed with the ROM or the one linked in the OP? I was only able to flash Magisk with the recovery from the OP, the one installed with the ROM gave the same signature error.
 
  • Like
Reactions: Semaphor_

Semaphor_

Member
Jun 2, 2011
24
2
Lübeck
Which recovery did you use to flash the gapps packages? The one that is installed with the ROM or the one linked in the OP? I was only able to flash Magisk with the recovery from the OP, the one installed with the ROM gave the same signature error.
I flashed the linked recovery, then the ROM with it, does the ROM override the recovery again? And FWIW, flashing Magisk worked without an issue, it’s just Gapps :/

edit: And today reinstalling the microg version worked. No idea what I did wrong yesterday, oh well ;)
 
Last edited:

MajorP93

Senior Member
Jan 31, 2015
83
215
I flashed the linked recovery, then the ROM with it, does the ROM override the recovery again? And FWIW, flashing Magisk worked without an issue, it’s just Gapps :/

edit: And today reinstalling the microg version worked. No idea what I did wrong yesterday, oh well ;)
Yes, flashing LOS ROM will overwrite the recovery.
Therefor when flashing GApps it is required to re-flash PE recovery before flashing GApps.

I updated the instructions in the second post accordingly.
 

MajorP93

Senior Member
Jan 31, 2015
83
215
UPDATE 2022-05-18

Changelog:

Both versions:

- Android security patch may 2022
- Added LiveDisplay feature
- Added SmoothDisplay feature (Fixes animation stutter)
- Improved dimensions (status bar padding and more)
- Excluded CneApp from location indicator

microG version:
- Switched to FDroid version of AuroraStore (get AuroraStore updates from FDroid)

vanilla version:
- allocated more space for GApps installations

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

Please note:
With the new changes we have verified the vanilla build to be fully working with NikGapps Omni.
This fixes the GApps issues that were recently reported.
Refer to the updated GApps instructions in the second post of the thread.
 
Last edited:
Apr 25, 2009
47
8
London
OnePlus Nord
UPDATE 2022-05-18

Changelog:

Both versions:

- Android security patch may 2022
- Added LiveDisplay feature
- Added SmoothDisplay feature (Fixes animation stutter)
- Improved dimensions (status bar padding and more)
- Excluded CneApp from location indicator

microG version:
- Switched to FDroid version of AuroraStore (get AuroraStore updates from FDroid)

vanilla version:
- allocated more space for GApps installations

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

Please note:
With the new changes we have verified the vanilla build to be fully working with NikGapps Omni.
This fixes the GApps issues that were recently reported.
Refer to the updated GApps instructions in the second post of the thread.
Great update - thank you for your continued work on this.

Working well for me - I didn't have any trouble with the install of vanilla+gapps by following the instructions in the second post.

I actually tried NikGapps Full (NikGapps-full-arm64-12.1-20220501-signed.zip) instead of Omni. It worked first time. I wanted Android Auto to work, which is only in NikGapps Full. It wasn't working with FlameGapps for me. With NikGapps Full I have Android Auto working
 

joshndroid

Senior Member
Jun 22, 2011
3,352
4,770
UPDATE 2022-05-18

Changelog:

Both versions:

- Android security patch may 2022
- Added LiveDisplay feature
- Added SmoothDisplay feature (Fixes animation stutter)
- Improved dimensions (status bar padding and more)
- Excluded CneApp from location indicator

microG version:
- Switched to FDroid version of AuroraStore (get AuroraStore updates from FDroid)

vanilla version:
- allocated more space for GApps installations

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

Please note:
With the new changes we have verified the vanilla build to be fully working with NikGapps Omni.
This fixes the GApps issues that were recently reported.
Refer to the updated GApps instructions in the second post of the thread.
Had anything changed in system, etc in the Migro-G builds?
I updated, as normal, from the initial LOS 19.1 build and it would say that my System could not be booted and I had to reformat in order to get the phone working again (attempted flashing the old build didnt work, tried to change slot, tried to change flashing, nothing worked.)
 

MajorP93

Senior Member
Jan 31, 2015
83
215
Update
Had anything changed in system, etc in the Migro-G builds?
I updated, as normal, from the initial LOS 19.1 build and it would say that my System could not be booted and I had to reformat in order to get the phone working again (attempted flashing the old build didnt work, tried to change slot, tried to change flashing, nothing worked.)
Dirty flashing old ROM (same one you used before) should bring back your device.

Use PE recovery for that.
In our telegram group you can find a more detailed explanation.
 
  • Like
Reactions: joshndroid

joshndroid

Senior Member
Jun 22, 2011
3,352
4,770
Update

Dirty flashing old ROM (same one you used before) should bring back your device.

Use PE recovery for that.
In our telegram group you can find a more detailed explanation.
I already resigned to the fact that I had to format so I had done that already.
Will this be the norm going forward? Should we not be using the included LOS recovery?
 

janaha_

Member
May 10, 2011
25
2
Had anything changed in system, etc in the Migro-G builds?
I updated, as normal, from the initial LOS 19.1 build and it would say that my System could not be booted and I had to reformat in order to get the phone working again (attempted flashing the old build didnt work, tried to change slot, tried to change flashing, nothing worked.
Update

Dirty flashing old ROM (same one you used before) should bring back your device.

Use PE recovery for that.
In our telegram group you can find a more detailed explanation.
I too got this message when trying to update, but managed to get the phone running again by flashing the old rom.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    UPDATE 2022-05-02

    New major release LineageOS 19.1


    Changelog:

    Both versions:
    - Initial release

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

    Big thanks goes to @Keertesh for doing most of the work for this new release!

    Please note: clean flash required!
    For now it is recommended to use PE recovery.
    Download link can be found in the first post.
    LineageOS 19.1 vanilla is not compatible with OpenGapps. Use FlameGapps.
    Refer to the updated instructions in the second post of the thread.

    @MajorP93 Upstream LOS provides a 'dirty' upgrade path from 18.1 to 19.1 because data structure is basically the same. Why is wiping data necessary when upgrading from 18.1 to 19.1 using the builds you are providing? Did the build/signing keys change?

    Edit: Ah, found the info in the telegram group. So, the signing keys changed between builds. Wouldn't it be possible to export the new keys and provide a migration.zip for people switching from 18.1 to 19.1 as proposed here: https://lineageosroms.com/signing-builds/#changing-keys
    1
    @MajorP93 Upstream LOS provides a 'dirty' upgrade path from 18.1 to 19.1 because data structure is basically the same. Why is wiping data necessary when upgrading from 18.1 to 19.1 using the builds you are providing? Did the build/signing keys change?

    Edit: Ah, found the info in the telegram group. So, the signing keys changed between builds. Wouldn't it be possible to export the new keys and provide a migration.zip for people switching from 18.1 to 19.1 as proposed here: https://lineageosroms.com/signing-builds/#changing-keys
    Would be possible.
    I do not plan to do so though.
    There are other things regarding this ROM that are more important while my time is limited.

    Also backing up your data and migrating really isn't that hard.
    Takes 1-2 hours max. and having a backup is important anyway.
    1
    Great update - thank you for your continued work on this.

    Working well for me - I didn't have any trouble with the install of vanilla+gapps by following the instructions in the second post.

    I actually tried NikGapps Full (NikGapps-full-arm64-12.1-20220501-signed.zip) instead of Omni. It worked first time. I wanted Android Auto to work, which is only in NikGapps Full. It wasn't working with FlameGapps for me. With NikGapps Full I have Android Auto working
    I've finally switched to LOS19 too, doing a clean install and reinstalling all apps manually. Backing up and restoring has always been fairly hit and miss for me over the years so I tend to avoid that.

    19.1 is working very nicely for me, thank you @MajorP93, @Keertesh and @KakatkarAkshay for the great work!

    I noticed too late that Android Auto won't work with NikGapps-omni. Is there a recommended way of switching to NikGapps-full without wiping and starting over?

    I'm asking mainly because Gapps has to be flashed before booting LOS for the first time - suggesting that flashing Gapps might fail after LOS has already been booted.

    Can I just flash NikGapps-full on top of a working LOS install with NikGapps-omni, or could I dirty flash LOS19.1-20220518 again on top of itself, as if I'm dirty flashing for an update, and then install NikGapps-full?
  • 28
    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 19.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 12, 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 19.1 with microG (includes microG, FDroid and AuroraStore)
    -LineageOS 19.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 19.1 with microG included: *Link*
    -LineageOS 19.1 vanilla (no GApps included): *Link*

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

    Based on: LineageOS
    Status: Stable
    Current Stable Version: 19.1
    Stable Release Date: Updated monthly
    Created: 2022-05-02
    Last Updated: 2022-05-18
    Telegram Group: *Link*

    Special Thanks:
    - to the LineageOS and microG team
    - to @Keertesh for his awesome work with bringing up 19.1
    - @KakatkarAkshay for maintaning PixelExperience avicii device tree on which this build is heavily based on.​
    19

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

    Follow these steps:
    -Download GApps from here: *Link* (NikGapps SL, Canary, Omni Edition)
    -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 bootloader: click advanced --> reboot to bootloader (!important do not start LineageOS yet)
    -Flash the recovery image again: fastboot flash recovery recovery.img
    -Enter recovery mode again and choose apply update, apply from adb
    -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
    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 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.
    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.