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

Search This thread

MajorP93

Senior Member
Jan 31, 2015
159
350
Well as I said the only other reference to that baseband that I could find is from PE. So I guess that rom flashes a different baseband for some reason.
I'd suggest restarting the process with MSM and installing OOS12 and then this rom so that you have the normal baseband that you're supposed to have but if you think everything works then ok.

I suppose this also means that this rom doesn't flash the baseband and leaves whatever you already have in contrast to what the previous version did https://forum.xda-developers.com/t/...lus-nord-avicii.4329631/page-13#post-87329367
Me and Akshay ship same firmware (taken from OOS12 AC18) for both PE and LOS.
So there is no difference in that regard.
Baseband gets also flashed by both ROMs.

The only case in which a user is left with a different baseband than the one shipped with the ROM is when there is a different firmware installed on the other slot and slot gets switched by accident.

Normally this should'nt happen but some people use setup steps that differ from the normal / recommended ones.

In order to be completely safe people can: first install OOS12 and then flash ROM to both slots before proceeding.
 
  • Like
Reactions: mythos_

mythos_

Senior Member
May 27, 2012
186
97
Then I guess that weird HI.2.5-01081 baseband is some late version of OOS11 baseband? The name is similar but the versions differ. Never seen that one before though. Anyway it doesn't really matter.
 

S1ngl3-x

Member
Jun 10, 2022
25
15
Does anyone have problems with rapid charging? My phone charger works but my by laptop usb c charger only charges slowly (1,5h expected). Update UPDATE 2023-02-12 did not help.
Any advice would be appreciated. Thanks
 

Zelyson

Member
Nov 2, 2019
10
4
OnePlus Nord

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

Follow these steps:
-Download GApps from here: *Link* (NikGapps T, Basic 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 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.
Flashing the recovery using fastboot flash recovery recovery.img unfortunately left me with a brick (I guess its an a/b partition thing). Fixed everything with MSMDownloadTool, installed twrp (by first booting into it via fastboot boot recovery.img and then flashing the recovery.zip) and then used it to install the LineageOS zip. This installed the above mentioned Recovery and after wiping the data I finally booted into LineageOS. I dont know exactly why the instructions failed me (or if I did something wrong) but this worked for me.
- hope this helps :)
 
Last edited:

MajorP93

Senior Member
Jan 31, 2015
159
350
UPDATE 2023-02-20

Changelog:

Both versions:

- Android security patch february 2023
- Merged latest translations
- Upstreamed kernel to 4.19.271
- Synced CarrierConfig with AC2003_11_F.18
- Fixed SMS receiving (part 2)
- Fixed power_profile

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.


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

MajorP93: https://paypal.me/MajorP93

KakatkarAkshay: UPI: [email protected]
 

sosenbinder

Member
Nov 10, 2022
11
0
if you're using matrix but not using bridges to other networks (telegram, IRC, Whatsapp etc.) then you're missing out on the whole point of matrix. so, bridge to telegram.
Hello dolorem,

that's true but I have problems with implementing bridges to my homeserver and I don't find an easy enough documentation or tutorial to finally get it working.
 
UPDATE 2023-02-20

Changelog:

Both versions:

- Android security patch february 2023
- Merged latest translations
- Upstreamed kernel to 4.19.271
- Synced CarrierConfig with AC2003_11_F.18
- Fixed SMS receiving (part 2)
- Fixed power_profile

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.


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

MajorP93: https://paypal.me/MajorP93

KakatkarAkshay: UPI: [email protected]

Hi @MajorP93 ,
Thanks for the update. Is there a specific reason that you changed to MindTheGapps? Because I almost missed that.
Cheers, Joost
 

MajorP93

Senior Member
Jan 31, 2015
159
350
Hi @MajorP93 ,
Thanks for the update. Is there a specific reason that you changed to MindTheGapps? Because I almost missed that.
Cheers, Joost
Hi @joho500

MindTheGapps is the Gapps package recommended in the official LineageOS wiki.
Since the goal of this project always was to offer authentic LineageOS we also recommend using MindTheGapps going forward.

Do note: if you dirty flashed and used a different Gapps package before (e.g. NikGapps) it is strongly recommend to keep using the same package as before.
For switching Gapps packages (e.g. move from NikGapps to MindTheGapps) a clean flash is required in order to ensure everything works as intended.
 

hasan lakha

Member
Jul 1, 2016
39
1
OnePlus Nord
Hello. I'm currently running PE 13 and wanted to try this rom. Would I still have to roll back to OOS 12 using msm tool before flashing this rom? If not can I just go the normal route by rebooting to recovery, wiping data and flashing the new rom. Help would be much appreciated
 

MajorP93

Senior Member
Jan 31, 2015
159
350
Hello. I'm currently running PE 13 and wanted to try this rom. Would I still have to roll back to OOS 12 using msm tool before flashing this rom? If not can I just go the normal route by rebooting to recovery, wiping data and flashing the new rom. Help would be much appreciated
Hello, if you are the OOS12 firmware based version of PE 13 you can just wipe data and install LineageOS.
If you are running the older OOS11 firmware based version of PE 13 (January 10, 2023 release) then you'll have to flash OOS12 first.
Best regards
 

hasan lakha

Member
Jul 1, 2016
39
1
OnePlus Nord
Hello, if you are the OOS12 firmware based version of PE 13 you can just wipe data and install LineageOS.
If you are running the older OOS11 firmware based version of PE 13 (January 10, 2023 release) then you'll have to flash OOS12 first.
Best regards
So this is the version I am running right now. I installed this after I updated my device to OxygenOS12.1. Do you think I can simply wipe data and install lineage OS here?
 

Attachments

  • Screenshot_20230221-173501_Settings.png
    Screenshot_20230221-173501_Settings.png
    136 KB · Views: 49

Billy-_7_-

Member
Aug 27, 2018
13
2
OnePlus Nord
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 :)
 

Zelyson

Member
Nov 2, 2019
10
4
OnePlus Nord
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
 
Jan 26, 2023
10
9
Thanks for the update. Everything working fine as usual on 2023-02-20.

Hoping this one day goes 'official', but really happy with the regular security updates nonetheless. :)
 

Yusef Kifah

Member
Aug 31, 2014
48
7
OnePlus Nord

Attachments

  • Screenshot_20230312-215103.jpg
    Screenshot_20230312-215103.jpg
    45 KB · Views: 40

Top Liked Posts

  • There are no posts matching your filters.
  • 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