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

Search This thread

tobby88

Senior Member
Jul 4, 2012
231
58
Hanover
OnePlus 5
I'm noticing an IPv6 problem over WiFi. My home LAN has a Tunnelbroker IPv6 prefix. The router broadcasts a Route Avertisement (RA) packet every 30 seconds. All the other v6 enabled devices on my LAN are picking it up, including other Android devices on 9 and 10.

This device, OP5T (dumpling) on 18.1 picks up the advertisement and an IPv6 address when it connects to the WiFi, but then drops it after about 30 seconds. This used to work under 17.1, but it seems to have stopped since I upgraded.

Of course, my LTE network interface is picking up its IPv6 assignment and holding it, so its not platform-wide. That other Androids are also working has me thinking its the new wifi stack on the 5t.

Any suggestions on where to look next?

edit to add: I just noticed the WiFi advanced screen refreshes real time, and that the IPv6 addresses are appearing for 30 seconds, disappearing for 10 seconds, and then reappearing. I looke at the firewall rules for IPv6 and I see some odd terms that seem to drop packets talking to the prefix picked up thru RA. Is this intended?

I thought the reason of my IPv6-problems has to be somewhere in my complex setup (multi-WAN), but after reading your post I may recheck it - maybe it's a problem of the OnePlus 5, not of my setup.

IPv6 works on my PCs, but only for a while on my OnePlus 5. Longer than 30s, but shorter than a day. I do check it by going to www.ipv6-test.com. After a while IPv6 addresses are still shown in my Wifi-settings but ipv6-test and all IPv6-traffic is not working anymore. Reconnecting to the wifi network doesn't change anything, only a reboot helps. But this existed in LOS 17.1, too, not only 18.1.

I can't check IPv6 via LTE, my network provider doesn't offer IPv6 over LTE :(
 

madman

Senior Member
Apr 21, 2011
1,580
432
Planet Earth
OnePlus 5
I finally upgraded to 18.1 from LineageOS 16 and am very happy with it.
The only thing I can't find is how to turn off the capacitive buttons' backlight.
Can anyone enlighten me (pun intended)?
That option is not there in the current builds. I don't know if someone is working on it or not but there are work around it. Check out my earlier post and let us know if this fixes things.



Actual script that I have if this helps you more.

Bash:
#!/system/bin/sh

echo 0 > /sys/class/leds/button-backlight/max_brightness
 

NazuNalika

Member
Jun 30, 2014
12
1
During the 17.1 release, I ran into a weird issue with file permissions or something else entirely. I figured in this 18.1 release, that would get fixed (or even a full wipe + data wipe just to start clean) but it didn't. So basically what's happening is:
  • Screenshots do not show up at the top of the list in the gallery
  • Pictures sometimes taken with the camera do not show up properly or show at the bottom of the list
  • Gallery doesn't update half the time
  • Timestamp of files are 1969 until I reboot (this is for all files, not just images)
My way around this (if you can call it a workaround) is I have to reboot. But that seems a little too much when I have to reboot constantly just to address that problem. I tried wiping cache, dalvik. I even went nuclear and wiped everything plus data to get a clean slate, and I still have the same problem.

I don't know if it's a rom problem or what, but would anyone have a solution to this?
 

herishere

Member
Apr 25, 2018
7
0
I finally upgraded to 18.1 from LineageOS 16 and am very happy with it.
The only thing I can't find is how to turn off the capacitive buttons' backlight.
Can anyone enlighten me (pun intended)?

Hi, just wondering, what was your upgrade process from Lineage 16?

I'm considering upgrading (OP5) but I don't want to wipe the data partition (just laziness). I wonder if this would work starting from official Lineage16, opengapps, and Magisk (which I think I can uninstall first):

0. Do a good backup of everything from the latest TWRP
1. Download the latest Lineage image and the recommented gapps (Mindthegapps right now it seems), plus Magisk.
2. Flash those packages in that order
3. Reboot and celebrate?

I think that process should be fine because I have previous GApps installed, but I haven't found time to spend on this, moreover if the process goes badly and I need to troubleshoot anything.

Thanks!
 

T1mb3

Senior Member
Feb 14, 2016
687
786
During the 17.1 release, I ran into a weird issue with file permissions or something else entirely. I figured in this 18.1 release, that would get fixed (or even a full wipe + data wipe just to start clean) but it didn't. So basically what's happening is:
  • Screenshots do not show up at the top of the list in the gallery
  • Pictures sometimes taken with the camera do not show up properly or show at the bottom of the list
  • Gallery doesn't update half the time
  • Timestamp of files are 1969 until I reboot (this is for all files, not just images)
My way around this (if you can call it a workaround) is I have to reboot. But that seems a little too much when I have to reboot constantly just to address that problem. I tried wiping cache, dalvik. I even went nuclear and wiped everything plus data to get a clean slate, and I still have the same problem.

I don't know if it's a rom problem or what, but would anyone have a solution to this?
What are your permissions at /storage/emulated/0/Pictures/Screenshots and /storage/emulated/0/DCIM?
 

djlooka

Senior Member
Sep 15, 2011
126
26
desperatenerd.wordpress.com
Hi, just wondering, what was your upgrade process from Lineage 16?

I'm considering upgrading (OP5) but I don't want to wipe the data partition (just laziness). I wonder if this would work starting from official Lineage16, opengapps, and Magisk (which I think I can uninstall first):

0. Do a good backup of everything from the latest TWRP
1. Download the latest Lineage image and the recommented gapps (Mindthegapps right now it seems), plus Magisk.
2. Flash those packages in that order
3. Reboot and celebrate?

I think that process should be fine because I have previous GApps installed, but I haven't found time to spend on this, moreover if the process goes badly and I need to troubleshoot anything.

Thanks!
I just backed up my data "by hand" and wiped everything while installing LineageOS 18.1.

I even switched from TWRP to LineageOS recovery in the process.
I came from no Gapps + Magisk (mostly for AdAway), but want to give the vanilla experience a try (e.g. still no Gapps, but also no Magisk/root).
 

diziet_sma

Member
Feb 19, 2015
13
1
It is taking minutes to save a playlist of 800 odd mp3s, the same to delete the playlist, sometimes the music app craps out and hasn't saved or deleted. If the music app doesn't crash then it hangs.
This is on a second clean install of 18.1 on my oneplus5, as it was happening before and I wondered if it was because I did a ditry flash.

diziet
 

getjayu

Senior Member
Sep 10, 2010
271
36
Mumbai
OnePlus 5T
I am unable to pass safety net test.. It says CTS PROFILE MISMATCH. how to pass safety net test.

Also netflix not available in play store. Seems more like device certification issue due to custom rom... Any idea...

Edit 1 - got safety net test passed, but play store still has device not certified and netflix not compatible with your device.
 
Last edited:

herishere

Member
Apr 25, 2018
7
0
I just backed up my data "by hand" and wiped everything while installing LineageOS 18.1.

I even switched from TWRP to LineageOS recovery in the process.
I came from no Gapps + Magisk (mostly for AdAway), but want to give the vanilla experience a try (e.g. still no Gapps, but also no Magisk/root).
Nice, thanks for answering!
 

stankyou

Senior Member
Dec 20, 2010
1,748
590
Is nearby share implemented in 18.1? I can't seem to find the menu :(
In settings. Search "Share" 2nd result. In quick settings pane, edit it. Bottom list.
 

Attachments

  • Screenshot_20210418-105350_Settings_Suggestions.png
    Screenshot_20210418-105350_Settings_Suggestions.png
    104.5 KB · Views: 37
  • Screenshot_20210418-105405_Pixel_Launcher.png
    Screenshot_20210418-105405_Pixel_Launcher.png
    165 KB · Views: 38
...Edit 1 - got safety net test passed, but play store still has device not certified and netflix not compatible with your device.

Check this: Magisk and MagiskHide Installation and Troubleshooting guide : MagiskHideSafetyNet and search the page with certif.

Get your device Play Protect certified: https://www.google.com/android/uncertified/

***
 

flowerpatch

New member
Apr 18, 2021
2
0
I am unable to pass safety net test.. It says CTS PROFILE MISMATCH. how to pass safety net test.

Also netflix not available in play store. Seems more like device certification issue due to custom rom... Any idea...

Edit 1 - got safety net test passed, but play store still has device not certified and netflix not compatible with your device.
I can't even get basicIntegrity to pass yet.. Can I ask, did you do anything special or just enable magisk hide? I flashed the lineage rom and then realized it was rooted and flashed the addonsu-remove zip, now root checker says "not rooted" when magisk-hidden yet safetynet still doesn't like it..
 

madman

Senior Member
Apr 21, 2011
1,580
432
Planet Earth
OnePlus 5
I can't even get basicIntegrity to pass yet.. Can I ask, did you do anything special or just enable magisk hide? I flashed the lineage rom and then realized it was rooted and flashed the addonsu-remove zip, now root checker says "not rooted" when magisk-hidden yet safetynet still doesn't like it..
Are you using Magisk's built in verifier for SafetyNet? If so you should know it's been broken (Due to expired API key) and you need to use third party app until there is new version for Magisk.


Also there are steps in this thread somewhere on how to spoof the device signature using Magisk Config module and get SafetyNet passing.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 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.
    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?
    1
    In general this ROM works really well. Many thanks to the developers!

    I observed 2 issues (OnePlus 5T):
    1) Random phone freezes (like once within 1-2 weeks) - hard shut off and reboot helps (I got no data restrictions)
    2) Call-Issues

    The second one (Call-Issues) is a real problem for me. I've activated VoLTE and VoWifi, my carrier supports both and the phone displays both from time to time as I receive or make calls. Especially when the HDVoice Icon is shown (within the caller app) I, as well as the other side, got sound problems: Sound stops randomly or only background sounds are audible, but no voice. It's not possible to chat properly this way and the issue is repeatable when it happens (e.g. hang up and call again -> same problem).
    Switching to e.g. a WhatsApp voice call works as it should. So I guess there is a problem somewhere within the HD-Voice or VoLTE/VoWifi code. I think (!) that the problem isn't there when not using HDVoice (e.g. because of low signal and thus switching to GSM-Calls (or so)).
    I've deactivated VoWifi and will test whether it helps/fixes the problem or not.
    1
    hi

    what are the known bugs?
    I read something in the second post, but it is from October 2020.

    thanks
    1
    Hi all,

    It looks like after each update, the SIM card used for data is reset to SIM1. Currently my SIM1 has no data plan whereas my SIM2 has an unlimited data plan. So SIM1 has data disabled and SIM2 has data enabled. After an update, it switches back to SIM1 data enabled and SIM2 data disabled.

    Obfix would be to physically switch cards, but thought I'll mention it here anyway.

    Thanks!
  • 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