• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[11.0][OFFICIAL] LineageOS 18.1 for Oneplus 5 & 5T

Search This thread

paascal

Senior Member
Dec 24, 2014
59
1
seems like its not possible to have the oneplus cam app... is there one that can use the second camera lens, the 2x one? or is it i havent looked enough and theres a trick to it?
 

humpty321

Member
Jun 12, 2015
15
1
Last edited:

kk131

Senior Member
Sep 8, 2007
148
45
Google Nexus 4
OnePlus One
Hi folks, sorry if this has been asked, I searched and could not find a definitive answer.
As you all know for magisk 23 to install you need a ramdik image.
I read somewhere that you can not just use the ramdik.img that's in the root folder of lineage 18.1.

So how do you root lineage 18.1 with magisk 23?
Sorry for the basic question I might be missing something obvious.

Thank you in advance.
You can change the magisk file extension to zip and flash with TWRP, it's covered in the magisk Wiki.
 
  • Like
Reactions: csoller

Scream275

Member
Sep 8, 2012
9
1

csoller

Senior Member
Nov 16, 2008
117
13
Sorry for the repost, do you guys use magisk on lineage 18.1 with oneplus 5t?
Is it possible to install it via the recommended method?
Or I should just stop looking for a ramdisk.img and flash the apk in twrp as pre v22?
 

reblochkillah

New member
Nov 15, 2014
4
5
Sorry for the repost, do you guys use magisk on lineage 18.1 with oneplus 5t?
Is it possible to install it via the recommended method?
Or I should just stop looking for a ramdisk.img and flash the apk in twrp as pre v22?
Yes I confirm you can use Magisk 23 with LineageOS 18.1 on the OP5T.
Just follow the official directives (I do it without TWRP, I have LOS recovery image installed, which is the default behavior when using LOS).

-> Install/update LineageOS on your device.
-> Download the zip file on your computer: https://download.lineageos.org/dumpling
Be careful to download the same build/version than the one you installed on your phone.
-> Extract boot.img from zip, copy it to your device.
-> Open Magisk app, select Install and then select flash boot.img (previously copied).
-> Copy the generated magisk_patched_xxx.img on your computer.
-> In a shell:
adb reboot bootloader (and then wait for the device to be in fastboot/bootloader mode)
fastboot flash boot magisk_patched_xxx.img
-> Reboot device, now magisk should be active.

Repeat these steps after each OTA update. No need to uninstall Magisk before each update.
 

madman

Senior Member
Apr 21, 2011
1,598
436
Planet Earth
OnePlus 5
Timi, I noticed in the latest build this was merged in
https://review.lineageos.org/c/LineageOS/android_device_oneplus_msm8998-common/+/312168 and thought AOD has been enabled on the devices. In the settings of ambient display I don't see the option to have ambient display always on though. Am I missing something or is it only working on dumpling and not cheeseburger?

I keep having this problem even with the latest release: the camera freezes for a few seconds after the first shot.

This doesn't bother me that much as I use GCam most of the times but I can reproduce this issue on latest build.
 
Last edited:

hassie.

Member
May 18, 2021
7
1
UK
OnePlus 5T
Timi, I noticed in the latest build this was merged in
https://review.lineageos.org/c/LineageOS/android_device_oneplus_msm8998-common/+/312168 and thought AOD has been enabled on the devices. In the settings of ambient display I don't see the option to have ambient display always on though. Am I missing something or is it only working on dumpling and not cheeseburger?



This doesn't bother me that much as I use GCam most of the times but I can reproduce this issue on latest build.
Same issue here on 5T. Don't see an always on option as hinted by the AOD commit.
 

hassie.

Member
May 18, 2021
7
1
UK
OnePlus 5T

Attachments

  • Screenshot_20210616-200954_Settings.png
    Screenshot_20210616-200954_Settings.png
    105.9 KB · Views: 38

sbasil

Senior Member
Aug 2, 2011
1,286
768
Espoo
Does nfc work for you guys? I can't seem to get it to read anything. It turns on but can't read anything (latest build).

edit: my bad. I had forgotten to install the nfc-antenna on my phone. Never used it before, so I was blessed with ignorance. :-D
 
Last edited:

humpty321

Member
Jun 12, 2015
15
1
May I ask what the Aux_Mod changes/enables on a OnePlus 5/5T? On my 5T with the mentioned gcam and dotfix package the second camera is already usable (as a separate camera - I can choose between camera 1 and 2).
I had installed that module at the time when I installed the camera app (was on 17.1) and things worked ever since. That is why I wrote about my experience with them. Because you wrote that you don't need the module I unistalled it now and can confirm that the app can still use the second camera selectively. Obviously the module is not needed by the app on a OP5.
 

Reittis

Member
Dec 20, 2014
20
0
I did a clean installation. There is currently no sim card in this phone. Does it affect? On the other hand, the WLAN hotspot starts up by sharing the phone's current WLAN connection because there is no card.
Problem solved. Because the phone was no sim card and therefore only 2.4 Ghz hotspot mode was available. I put in the sim card and immediately got to choose the 5 GHz frequency.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Fyi, OpenGapps is released for R. MindTheGapps are still recommended though.
    1
    Finally, I moved via dirty flash from last build of LineageOS 17.1 (with OpenGAPPS Pico) to LineageOS 18.1 (build 210628) and used NikGApps Core (build 210703). So far, no major issues observed. Only thing that I am wondering is the missing swipe keyboard functionality. My research wasn't conclusive yet whether this functionality is actually part of LineageOS or comes via GAPPS (and thus can depend on the type and its flavor). Can anyone enlighten me or direct me to the right information?

    Also, I am aware of alternative such as AnySoftKeyboard - potentially also better with regards to privacy.
    1
    Greetings maintainers and contributors. Great work 👏

    It's been a day into 20210705 build with MindTheGapps, Magisk 23, DotFix and GCam. Things seem to be stable right now but its too early to comment about finer details.

    I would like to ask suggestions for the replacements of couple of minor tweaks which were available on OOS like,
    • Navigation button(HW) LED switch.
    • Quick Settings mobile data sim selection.
    I couldn't find settings for those on LOS is there a magisk module?
    For navigation button LED switch you can use the script from my earlier post. I have it set up to run at boot.
    1
    yes all i get is people for who it works :) id like to get help from someone that knows how to make it such i dont just have gps in google maps app, i have nikgapps, you?
    The OP lists MindTheGapps.
    1
    Hi,

    I must do the same thing. Can you describe in which way you do that?
    Very simple and as far as I recall (no warranty):
    • Reboot to recovery
    • Nandroid backup via TWRP
    • Separate backup of really important things and files excluded in Nandroid backup
    • Made sure that I have really a backup of everything
    • Updated to latest TWRP
    • Reboot to recovery
    • Flashed mentioned builds of LineageOS and NikGapps
    • Wipe Dalvik/Cache
    • Reboot to system
    Good to mention: There is a newer build of NikGapps which seems to fix some specific issues that I am not affected by.
  • 13
    2okPze5.png

    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.

    Code:
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */

    HOW TO INSTALL LINEAGEOS:
    - Official instructions
    - In short: sideload in Lineage recovery (suggested) / flash in TWRP

    HOW TO UPDATE LINEAGEOS:
    - Download update from Updater app
    - Install update

    DOWNLOADS:
    LineageOS 17.1: Official Oneplus 5, Official Oneplus 5T
    Google Apps: MindTheGapps
    Recovery: Suggested: Lineage recovery for Oneplus 5, Oneplus 5T | Alternative: TWRP

    DEVELOPER RESOURCES
    LineageOS source code:
    - https://github.com/LineageOS
    Device tree:
    - android_device_oneplus_cheeseburger
    - android_device_oneplus_dumpling
    - android_device_oneplus_msm8998-common
    Kernel:
    - android_kernel_oneplus_msm8998

    Android version: Android 11
    Kernel version: Linux 4.4.y
    Required firmware: OxygenOS 10.0.1 (shipped with ROM, no need to install manually)

    Telegram group: https://t.me/los_op5
    13
    LineageOS 18.1 is now released for officially supported devices:
    Upgrade guide from official to official: https://wiki.lineageos.org/devices/cheeseburger/upgrade
    Upgrade guide from unofficial to official:
    - Wipe data
    - Install LineageOS & GAPPS

    Unsupported method:
    Migration tools by Codeworkx: https://androidfilehost.com/?w=files&flid=254680 (Unofficial->Official, Official->Unofficial)
    - Flash before updating
    - Read more: https://wiki.lineageos.org/signing_builds.html#test-keys-to-official-or-vice-versa

    NOTE: If you previously had any Google Apps add-on package installed on your device, you must install an updated package before the first boot of Android! If you did not have Google Apps installed, you must wipe the Data partition (or perform a factory reset) to install them.
    12
    UPDATE:
    * Synced LineageOS sources
    * EAS is here to stay
    * Upstreamed kernel to 4.4.258
    * More detailed changelog

    Download for Oneplus 5 or Oneplus 5T.
    10
    UPDATE:
    * Synced LineageOS sources
    * Fix USB file transfer
    * Kernel: Merge tag 'LA.UM.9.2.r1-02500-SDMxx0.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.4 into HEAD
    * Removed some 30 mb of unused camera blobs
    * Detailed changelog

    Download for Oneplus 5 or Oneplus 5T.
    9
    Today after my cheeseburger was connected to the charger for hours and did not charge at all I discovered this message "Plugged in, can't charge at the moment":View attachment 5278115

    I'm on 18.1 for a few days now. Never saw such a message before. I rebooted the phone whithout disconnecting the charger and now it Dash-charged nicely. That is why I think the cause of this strange behaviour is in the OS.
    Anyone else?

    Same here. Happened three times since I'm on 18.1. In all three occurences I plugged in the charger directly after I had a usb audio dac connected while using the usb audio player pro app. I use this dac and app regularly and normally the phone charges fine afterwards, so not sure if there is any relation.

    For the rest very happy with 18.1!
    Issue was caused by CAF change in kernel a while back.
    It should be fixed in next weekly.