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

Search This thread

T1mb3

Senior Member
Feb 14, 2016
684
786
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
 
Last edited:

Oswald Boelcke

Forum Moderator / Recognized Translator
Staff member
  • shadowstep

    Forum Moderator
    Staff member
  • Jun 6, 2014
    5,035
    9,999
    30
    Ambala
    OnePlus 5
    There actually is no option higher than Android 10 yet :cool:

    Having said this...

    As you can read in Big Changes To XDA Forums are Coming Soon with the transition to Xenforo all DevDB threads will eventually be reverted to "normal" threads. For this reason, it was decided not to add the option "A 11" anymore.

    ...you can always edit the first post using the edit button at the end of the post (instead of using the edit project option for DevDB threads) and manually change it to Android 11. :)
     

    T1mb3

    Senior Member
    Feb 14, 2016
    684
    786
    Is it rooted?
    Does this pass SafetyNet?

    This is not rooted by default. Latest Magisk works for that purpose.
    This does not pass safetynet. I will have to look for a solution. Other ROMs use kernel-side patches for safetynet and those are not allowed in LineageOS.
     

    kpzhao

    Member
    May 27, 2016
    30
    11
    UPDATE:
    * Sync LineageOS sources
    * SELinux is now enforcing
    * TWRP does not get overwritten by Lineage recovery for now. This may change when LineageOS makes their decision on the topic.
    * More detailed changelog

    * Download

    Hi,bro. I am trying to build los18 for oneplus5t, should I use pick this commit https://review.lineageos.org/c/LineageOS/android_packages_apps_Settings/+/287931 as you said to avoid that TRWP does get overwritten by Lineage recovery, is it right?
     

    lebs4life

    Member
    Aug 22, 2013
    18
    1
    Montreal
    Great work, thanks for this rom. I LOVE IT
    this is the 1st custom rom i install and the instructions were smooth. I did upgrade because oneplus stopped supporting OP5 and just sent a message in the community app giving fake excuses for the delays.
    I noticed this bug
    some apps that has the option to login with fingerprint doesn't work properly ( i.e. TD Canada Trust, Manulife)
    as soon as the phone tries to communicate with the fingerprint reader, it freezes. 1st login in Manulife app, it asks if you want to allow or deny access to fingerprint reader, if you deny, it will let you login with the password if you remember it. if you accept, it hangs.
    In TD Canada Trust app, first time you login with your password, it gives you a popup asking you if you want to enable fingerprint login, and you cant press anything other than closing the app.
     

    yehuhua

    Member
    May 10, 2015
    9
    3
    UPDATE:
    * Sync LineageOS sources
    * SELinux is now enforcing
    * TWRP does not get overwritten by Lineage recovery for now. This may change when LineageOS makes their decision on the topic.
    * More detailed changelog

    * Download
    Can't call through VoLte, Volte cannot call!
    Cannot tap to wake(settings-Display-Advanced-Tap to wake)
     
    Last edited:

    kpzhao

    Member
    May 27, 2016
    30
    11
    Hello,I build los18 for 5t successfully as your building guild . However it is no sim card and I get this log

    10-12 10:12:46.522 21233 21233 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: No UICC
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: FATAL EXCEPTION: main
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: Process: com.android.phone, PID: 21233
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: java.lang.IllegalArgumentException: value of system property 'gsm.version.baseband' is longer than 91 characters: MPSS.AT.2.0.c4.7-00070-8998_GEN_PACK-2.271073.1.277412.1,MPSS.AT.2.0.c4.7-00070-8998_GEN_PACK-2.271073.1.277412.1
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at android.os.SystemProperties.set(SystemProperties.java:236)
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at android.sysprop.TelephonyProperties.baseband_version(TelephonyProperties.java:140)
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at android.telephony.TelephonyManager.setBasebandVersionForPhone(TelephonyManager.java:10107)
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at com.android.internal.telephony.GsmCdmaPhone.handleMessage(GsmCdmaPhone.java:2850)
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223)
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7656)
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
    10-12 10:12:46.656 764 3655 E IPCThreadState: attemptIncStrongHandle(77): Not supported
    10-12 10:12:46.656 764 3545 E IPCThreadState: attemptIncStrongHandle(82): Not supported
    10-12 10:12:46.656 764 3830 E IPCThreadState: attemptIncStrongHandle(79): Not supported
    10-12 10:12:46.657 764 3545 E IPCThreadState: attemptIncStrongHandle(78): Not supported
    10-12 10:12:46.784 21323 21323 E CarrierIdProvider: read carrier list from ota pb failure: java.io.FileNotFoundException: /data/misc/carrierid/carrier_list.pb: open failed: ENOENT (No such file or directory)
    10-12 10:12:47.593 0 0 E [20201012_10:12:47.591117]@3 synaptics,s3320: all finger up

    Could you give me some suggestion?
     

    T1mb3

    Senior Member
    Feb 14, 2016
    684
    786
    Hello,I build los18 for 5t successfully as your building guild . However it is no sim card and I get this log

    10-12 10:12:46.522 21233 21233 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: No UICC
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: FATAL EXCEPTION: main
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: Process: com.android.phone, PID: 21233
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: java.lang.IllegalArgumentException: value of system property 'gsm.version.baseband' is longer than 91 characters: MPSS.AT.2.0.c4.7-00070-8998_GEN_PACK-2.271073.1.277412.1,MPSS.AT.2.0.c4.7-00070-8998_GEN_PACK-2.271073.1.277412.1
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at android.os.SystemProperties.set(SystemProperties.java:236)
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at android.sysprop.TelephonyProperties.baseband_version(TelephonyProperties.java:140)
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at android.telephony.TelephonyManager.setBasebandVersionForPhone(TelephonyManager.java:10107)
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at com.android.internal.telephony.GsmCdmaPhone.handleMessage(GsmCdmaPhone.java:2850)
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223)
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7656)
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
    10-12 10:12:46.621 21233 21233 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
    10-12 10:12:46.656 764 3655 E IPCThreadState: attemptIncStrongHandle(77): Not supported
    10-12 10:12:46.656 764 3545 E IPCThreadState: attemptIncStrongHandle(82): Not supported
    10-12 10:12:46.656 764 3830 E IPCThreadState: attemptIncStrongHandle(79): Not supported
    10-12 10:12:46.657 764 3545 E IPCThreadState: attemptIncStrongHandle(78): Not supported
    10-12 10:12:46.784 21323 21323 E CarrierIdProvider: read carrier list from ota pb failure: java.io.FileNotFoundException: /data/misc/carrierid/carrier_list.pb: open failed: ENOENT (No such file or directory)
    10-12 10:12:47.593 0 0 E [20201012_10:12:47.591117]@3 synaptics,s3320: all finger up

    Could you give me some suggestion?
    Hi,
    Pick this commit: https://github.com/LineageOS-cheese...mmit/def355758a279ff756f2f6f580db161aa0fb805b
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 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.
      8
      Next update fixes the call audio issue, where volume would be stuck at max.
      If someone is interested in the fix: https://review.lineageos.org/c/LineageOS/android_device_oneplus_msm8998-common/+/309144.
      6
      Issue was caused by CAF change in kernel a while back.
      It should be fixed in next weekly.
      If someone is curious:
      * issue: https://github.com/LineageOS/androi...ca6177101343f2092e516fad21a92cda9dffb0cb50699
      * likely fix: https://review.lineageos.org/c/LineageOS/android_kernel_oneplus_msm8998/+/308061.
      3
      2
      Hi, I am on the latest LOS 18.1 dumpling.

      I would like to update the baseband and/or radio+modem component of the latest OnePlus 5T firmware contained in OnePlus5TOxygen_43_OTA_069_all_2010292144_76910d123e3940e5.zip

      My device has the firmware from OnePlus5TOxygen_43_OTA_054_all_2002242025_81ae0ff9d1c34a3f.zip.

      I cannot flash then entire OS (because I am unable to perform proper nandroid backup and restore in TWRP due to a bug in TWRP related to multiple users [work profile]), so need to do only the components radio+modem, using "fastboot flash".

      I have extracted the folders" "firmware-update" and "RADIO" from the most recent version OS zip but want to check which files need to be flashed and to what blocks, IOW:

      "fastboot flash modem NON-HLOS.bin"
      "fastboot flash bluetooth BTFM.bin"

      and

      "flashboot flash oem_stanvbk RADIO/static_nvbk.bin"

      Are these 3 correct? And can I safely just flash those 2 to update the baseband? Or is something else required?
      Why on earth will you not just follow the install instructions?
    • 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
      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
      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.
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone