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

Search This thread

stentz

New member
Jul 17, 2008
4
1
First of all, thanks a lot for your great work! With yesterday's second release the sim card is found and most things seem to just work! For some reason, however, I don't get a wifi connection. There is no networks found, and after ~30s wifi turns itself off again. Do you have any idea what I could do about it? Thanks a lot!
 

MajorP93

Senior Member
Jan 31, 2015
144
323
First of all, thanks a lot for your great work! With yesterday's second release the sim card is found and most things seem to just work! For some reason, however, I don't get a wifi connection. There is no networks found, and after ~30s wifi turns itself off again. Do you have any idea what I could do about it? Thanks a lot!
Did you dirty-flash or clean-flash the release?
 

MajorP93

Senior Member
Jan 31, 2015
144
323
First of all, thanks a lot for your great work! With yesterday's second release the sim card is found and most things seem to just work! For some reason, however, I don't get a wifi connection. There is no networks found, and after ~30s wifi turns itself off again. Do you have any idea what I could do about it? Thanks a lot!

I have the same issue: no wifi after dirty-flash from 20230122.

Like already mentioned in release post:
if you encounter issues after dirty flashing OOS12 firmware based release over OOS11 firmware based release it is required to revert to OOS12 and perform a clean flash afterwards.
 

stentz

New member
Jul 17, 2008
4
1
Like already mentioned in release post:
if you encounter issues after dirty flashing OOS12 firmware based release over OOS11 firmware based release it is required to revert to OOS12 and perform a clean flash afterwards.
Thank you, that actually did the trick! Everything is working fine now with the current version.
 
  • Like
Reactions: MajorP93
Feb 8, 2023
5
1
Quick questions
1. What the difference between a dirty and clean flash?
2. How offten if any does this receive security updates?
 

MajorP93

Senior Member
Jan 31, 2015
144
323
Quick questions
1. What the difference between a dirty and clean flash?
2. How offten if any does this receive security updates?
Dirty flash = flashing new release via adb sideload without formatting data beforehands.
Clean flash = flashing a release via adb sideload and formatting data before doing so

This ROM gets monthly updates, security patches are included of course.
 
  • Like
Reactions: davelister1410
Jan 26, 2023
7
7
Yo ho ho, thanks again for the fabulous release! Haven't had any issues so far.

Upgrading from 2023-01-22 to 2023-02-05 was a bit painful though and I'm not the best at all this custom ROM stuff so I've written down the steps I've taken. I know this is easy peasy stuff for most people on here, but it might help someone.

What didn't work:
1) Dirty flash 20230205 over 20230122 using the new recovery.img

The flash went fine but WiFi, among other things, wasn't working. Also downgrading with the new recovery.img didn't work (data was corrupted at this stage).

After actually reading the release notes and commentary in here, this is how I got it working:
1) Used MSM tools with OnePlus_Nord_EU_OxygenOS_10.5.11.zip (basically a full factory reset)
2) Sat through multiple updates to get my device to OxygenOS 12 (took a fair amount of time)
3) Unlocked the bootloader
4) Flashed the recovery.img
5) Formatted the data in recovery
6) Advanced => reboot to recovery
6) Got stuck in a boot loop for a bit, it didn't want to boot to recovery :/
7) Got into recovery using "fastboot boot recovery.img" (thanks Doc Sniper!)
8) Apply update & sideload new ROM as usual

Forced me to do a clean flash, but all is well. :) It's been a long evening. Back up your stuff people.

On a side note: doing a full factory reset to OxygenOS and quickly going through it to get it updated made me realize how bloated modern stock Android is. THANK YOU for making a custom ROM like this that feels so clean.
 

Magrid

Member
Aug 29, 2021
5
0
OnePlus Nord
hi!
I'm actually on oos12, my phone is completely stock and I want to install this rom and root, do I have to rollback to oOS11? does it pass safetynet? and is this rom like aosp with material you, etc...

also where I can find a noob friendly guide since I don't know basically anything?
 
Feb 8, 2023
5
1
Got it installed and working no drama, everything seems to be working fine.
Thank you very much for supporting this ROM.

Note: Did have trouble getting the device detected in fastboot, to fix it i downloaded the Google USB driver and manually installed it.
 

MKKLR21

Senior Member
Aug 8, 2013
314
139
I clean flashed 20230205 from scratch. Everything seemed to work. But now I encountered, that I'm not receiving text messages. I'm able to send and the messages get delivered. Google Messages doesn't verify phone number (as it doesn't receive the verification message). Anyone else with this problem?
 

MajorP93

Senior Member
Jan 31, 2015
144
323
UPDATE 2023-02-12

Changelog:

Both versions:

- Fixed both front and back wide angle lenses in stock camera app (Aperture)
- Implemented detection of "S" gesture in touch panel driver
- Fixed all screen-off gestures
- Fixed detection of some (fast-) chargers and their charging speed that could not be detected before
- Fixed SMS receiving


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

If you like our work and want to support us you can donate to one (or both) of our accounts:

MajorP93: https://paypal.me/MajorP93

KakatkarAkshay: UPI: [email protected]
 

xs34

Member
Jan 21, 2015
27
4
UPDATE 2023-02-12

Changelog:

Both versions:

- Fixed both front and back wide angle lenses in stock camera app (Aperture)
- Implemented detection of "S" gesture in touch panel driver
- Fixed all screen-off gestures
- Fixed detection of some (fast-) chargers and their charging speed that could not be detected before
- Fixed SMS receiving


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

If you like our work and want to support us you can donate to one (or both) of our accounts:

MajorP93: https://paypal.me/MajorP93

KakatkarAkshay: UPI: [email protected]
I've just installed from OOS and what a relief! This is awesome!! Thank you so much!!!


However, I cant seem to receive any sms on this version (it says sms receiving is fixed) however i cant receive any sms verification codes. Nothing happens. I was able to receive one sms when setting up my phone, but cant have any after that :( any ideas?
 

MKKLR21

Senior Member
Aug 8, 2013
314
139
After a reboot you'll have to toggle the sim card off and on again. Then you'll be able to receive sms. (Found this hint in telegram group).
 
  • Like
Reactions: xs34

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