yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 & 5T Cross Device Development] Deleted member 7280252:
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.

/*
* 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: OpenGAPPS

Recovery: Suggested: Lineage recovery for Oneplus 5, Oneplus 5T | Alternative: TWRP

CONTRIBUTORS

T1mb3, codeworkx

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 10

Kernel version: Linux 4.4.y

Required firmware: OOS 10.0.1 (shipped with ROM, no need to install manually)

Telegram group: https://t.me/los_op5
[OnePlus 5 & 5T Cross Device Development] Deleted member 7280252:
Work for making LineageOS official again has been started as well as work on Lineage 18.0 (R).

Going from unofficial -> official:

* Must wipe data or https://wiki.lineageos.org/signing_builds.html#using-a-script
[OnePlus 5 & 5T Cross Device Development] eagledipesh:
That's great, I guess its time to leave OxygenOS and move to LineageOS
[OnePlus 5 & 5T Cross Device Development] Eric_Lev:
Great and thank you so much!

Do you also plan to push OP5T (dumpling)?

FYI: https://github.com/crdroidandroid/android_device_oneplus_dumpling/tree/lineage-17.1
[OnePlus 5 & 5T Cross Device Development] Deleted member 7280252:
I don't own dumpling, so no.

I could, if I found a used 5T for good price.
[OnePlus 5 & 5T Cross Device Development] Deleted member 4628078:
That's great news. Is this build will succeed in saftynet test?
[OnePlus 5 & 5T Cross Device Development] d1n0x:
Nobody cares about safetynet. If you want it to work properly, use stock ROM on a locked bootloader.
[OnePlus 5 & 5T Cross Device Development] Deleted member 4628078:
All my other custom roms are just working fine with SafteNet passing. So it would be great to see this in LineageOS working.
[OnePlus 5 & 5T Cross Device Development] d1n0x:
They won't be working for long once hardware attestation becomes a thing
[OnePlus 5 & 5T Cross Device Development] Deleted member 7280252:
Hi,

I noticed it doesn't pass safetynet CTS right now. I'll try to get it going.
[OnePlus 5 & 5T Cross Device Development] nmur:
Nice work guys, this is really promising for the future of the Oneplus 5.
[OnePlus 5 & 5T Cross Device Development] Deleted member 7280252:
Would be great if someone could verify that VoLTE, Wifi display, some NFC features work, as I don't have these available.

Thanks!
[OnePlus 5 & 5T Cross Device Development] card13:
[MENTION=7280252]T1mb3[/MENTION] I tested the VoLTE on T-Mobile USA, a test call in and call out worked, still get the chipmunck on inbound calls (I've lived with that glitch so long that it's not an issue for me). WiFi Display worked fine to my TV. I don't have any way to test NFC.

One thing that did happen error wise, this is with clean install, I went into Dev Options and enabled "Show background ANRs" like I normally do. Once enabled I kept getting "SecureElemantApplication isn't responding" every minute or two.
[OnePlus 5 & 5T Cross Device Development] Deleted member 4628078:
I can test nfc capability in the weekend. I have some NFC tags here so I can test writing and Reading of it.
[OnePlus 5 & 5T Cross Device Development] Deleted member 4628078:
[MENTION=7280252]T1mb3[/MENTION] I just tested the NFC chip. The chip is working just fine. I tried writing, read and format a couple of tags and did not got any error or instability.
[OnePlus 5 & 5T Cross Device Development] Deleted member 7280252:
Update:

Download: https://sourceforge.net/projects/li...20201001-UNOFFICIAL-cheeseburger.zip/download

Changelog:

* Fix secure element /NFC background crashes

* Synced LineageOS sources
[OnePlus 5 & 5T Cross Device Development] d1n0x:
this build reboots to recovery when I reboot after flashing

EDIT: my mistake, I formatted data and flashed a ROM that doesn't force encrypt. Formatted again, flashed LOS and everything is fine now.
[OnePlus 5 & 5T Cross Device Development] tobby88:
Any news about making this official? :)
[OnePlus 5 & 5T Cross Device Development] Deleted member 7280252:
Nope. Haven't heard anything but the team is propably busy with LineageOS 18.
[OnePlus 5 & 5T Cross Device Development] IcerJo:
Magisk, hide and build props from what I read in a previous post.
[OnePlus 5 & 5T Cross Device Development] Johnassel:
No mods here, followed your instructions. Went with a wipe and backup restore - everything seems to be working now. Thanks for your work!
[OnePlus 5 & 5T Cross Device Development] soxfor:
First of, thanks [MENTION=7280252]T1mb3[/MENTION] [MENTION=9708417]Eric_Lev[/MENTION] and [MENTION=3208754]codeworkx[/MENTION] for all the work and getting this official again.

Flashed the ROM yesterday and I've been configuring and testing it today.

So far I do have one issue, WiFi Roaming between AP's (I'm using two Asus XT8 with AiMesh). On stock 10.0.0_H1 OOS despiste some WiFi disconnects/instability, the connection would mostly roam between BSSIDs successfully.

On the LOS 17.1 2020-11-12, it just doesn't roam, only way is for it to get below -80dbm~ and then it disconnects and connects to the nearby AP. The network in question is using 3 radios (1 2.4, 2 5ghz) and WPA2/3.

Side by side with a Samsung A71 on stock rom WiFi roaming is working perfectly.

Attached you can find a log, perhaps it's of any help?
[OnePlus 5 & 5T Cross Device Development] trancinguy:
Hi, I have the same thing with WI-FI, when I switch to another the data disconnects, and the only way to get it back is to forget that connection, then reconnect and then data comes back, I think it's the firmware.
[OnePlus 5 & 5T Cross Device Development] soxfor:
Small update.

Seems like on the Stock OOS10 it doesn't use the WPA3 even when available? That's why it would work?

Configuring the WiFi connection only to offer WPA2 seems to bring back the WiFi Roaming to the 5T. At least the same behavior I had on the stock OOS10_H1.

Something firmware related?
[OnePlus 5 & 5T Cross Device Development] tobby88:
Install Magisk in the recovery (TWRP) and reboot, install Magisk Manager, enable MagiskHide, also show system apps, hide Google Pay, Google Play Store and Goole Play Services (including com.google.android.gms.unstable).

Then install Magisk module "MagiskHide Props Config", reboot, open a Terminal app (local terminal or "Termux" for example), enter "su", then "props". Choose 1 and pick a certified fingerprint (I would recommend Oneplus, 5/5T, Android 10). Go back to main menu, choose 3 and enable all props. Reboot.

Check SafetyNet in Magisk. If it fails: something went wrong. If it suceeds: you are nearly there.

Open Play Store, Settings, at the bottom it should say "certified". If it's not certified, go to your Android settings and delete data of Google Play Store. Open Play Store again, it should say "certified" now.

Try Google Pay now. If it doesn't work: Go to your Android settings and delete data of Google Play Services. Open Google Pay again. It should work now :)
[OnePlus 5 & 5T Cross Device Development] quinne8d:
Wow worked. Thank you so much
[OnePlus 5 & 5T Cross Device Development] InsaneNutter:
Thanks to T1mb3 for all the hard work, I finally had time to clean flash the official rom last night.

Also thank you for all the tips in regards to getting Google Pay to work, i'd done what I normally would several times with no luck. Your last tip of clearing the data for Google Play Services got Pay working for me!
[OnePlus 5 & 5T Cross Device Development] iasazid:
Hi,

I'm from India and I'm using Jio. Video calling through 4g isn't working.
[OnePlus 5 & 5T Cross Device Development] :
New firmware has been uploaded to Sourceforge.

Do not install it yet.

I will reply to this thread once the changes are merged into LineageOS. Hopefully before the next weekly on Monday.
[OnePlus 5 & 5T Cross Device Development] OrphicN:
Yikes. Unfortunately, I didn't see this when jumping ship from OOS 9 (couldn't stand the buginess of 10).

This is my first time switching to a custom ROM, so is it okay to downgrade to the 10.0.0 Hotfix 1 FW release just by overwriting via ADB? Currently, it doesn't boot past the OnePlus logo - whether or not it's related is another thing.

Thanks for your efforts getting this official by the way!
[OnePlus 5 & 5T Cross Device Development] :
If you didn't get it booted at all yet, just reflash everything.
[OnePlus 5 & 5T Cross Device Development] Dev-iL:
I am having the same issue where the WiFi doesn't work after dirty flashing the official build (I'm pretty sure I've been using Eric's unofficial builds so far). I'm using the hotfix firmware and a couple of mods that are unrelated to connectivity (camera, call recorder), flashing according to the instructions.

Here are some things I tried:

1. Start from an Oct 26th build -> flash the unofficial to official migration -> dirty flash the official build => WiFi disabled.

2. Start from an Oct 26th build -> Full nandroid backup -> clean flash the official build => WiFi works properly (as promised).

3. Start from official build with a working WiFi (end of stage 2) -> restore data partition from the nandroid backup => WiFi disabled again.

In light of the above, I believe this issue is caused by some incompatible config file(s) in the /data partition. I expect that these files can be deleted and would then be recreated on the next boot with the correct settings. Unfortunately, I have no idea which files could cause this (possibly something in /data/misc/wifi or /data/misc/dhcp).

Do you have any suggestions as to which file might be the culprit?

Also, thank you for your efforts on the OP5!
[OnePlus 5 & 5T Cross Device Development] Besuz:
Hi,

have a similar issue: Wen I walk around in my home, the phone does not connect to nearest AP. Conntection gets worse and worse, but the phone only switched the AP, if I disable and reanable Wifi. Wifi is 5ghz only with WPA2.

Maybe you have an idea?

thx!
[OnePlus 5 & 5T Cross Device Development] LuisCarlosHK:
sorry i am new for Lineage recovery

how to flash a firmware in Lineage recovery
[OnePlus 5 & 5T Cross Device Development] :
Same way as any zip:

adb sideload firmware.zip
[OnePlus 5 & 5T Cross Device Development] :
New firmware is required for next update.

Make sure to have the firmware zip downloaded and manually flash the LineageOS update zip after firmware.
[OnePlus 5 & 5T Cross Device Development] LuisCarlosHK:
Forgot how to use adb

if I continue use twrp, is it okay
[OnePlus 5 & 5T Cross Device Development] AshenFire579:
Successfully flashed official LineageOS 17.1 using the new 10.0.1 firmware however my WiFi isn't currently turning on. Is anyone else experiencing this or know a fix? I've also tried with the previous firmware and no luck there either.

Edit 1: I'm on Oneplus5, not 5T

Edit 2: I also installed Pico Gapps if that helps
[OnePlus 5 & 5T Cross Device Development] rohithksaj:
Everything works without any issues
[OnePlus 5 & 5T Cross Device Development] razzor1984:
Hello,

im on the official lineage 16 rom with encrypted main partion and TWRP3x/ Magesik 20.

As mentioned i need " the latest firmware (10.0.0-H1)" but the links which are provided her are dead.

Is it possible that i simply

upgrade my TWRP

flash the new firmware (firmware_10.0.1_dumpling.zip)

flash the new official lineage 17.1

flash Magisk

reboot ? or is there a other approach due to encryption ?
[OnePlus 5 & 5T Cross Device Development] sky01x:
[MENTION=4894344]razzor1984[/MENTION]

The firmware 10.0.0 hotfix 1 for e.g. Oneplus 5 Cheeseburger is on https://sourceforge.net/projects/lineageos-cheeseburger/files/firmware/cheeseburger/
[OnePlus 5 & 5T Cross Device Development] :
What link is dead?
[OnePlus 5 & 5T Cross Device Development] nonnaryplayer:
It helped me so thank you. I've no issue so far.

Thanks to you it's even the smoothest upgrade I did, as I always ended up wiping everything.

I also join your massive Thanks to the devs for their hard work to keep our device alive.
[OnePlus 5 & 5T Cross Device Development] razzor1984:
Dirty flash worked from offical lineage 16 to 17.1

upgraded TWRP to 3.4

Flashed Firmware - hotfix

flashed rom - 17.1

flashed magisk 20.4

Sorry, my fault, the link in this topic is valid - referred to that - https://androidfilehost.com/?fid=8889791610682915663
[OnePlus 5 & 5T Cross Device Development] AshenFire579:
I installed the official build of LineageOS 17.1 on my Oneplus 5 today however during the initial setup process I couldn't connect to a WiFi network (it just kept searching). I skipped this process and used my data for the rest of the setup and then when I went into the WiFi I noticed that the WiFi would turn itself off after about 5 seconds of me turning it on.

These are the steps I took during the flashing process:

- Backed up phone

- Wiped everything and formatted data

- Flashed the latest firmware (firmware_10.0.1_cheeseburger.zip)

- Flashed LineageOS 17.1 (lineage-17.1-20201110-nightly-cheeseburger-signed.zip)

- Flashed Pico Open GApps

________________________________

Flashing the older Hotfix 1 firmware didn't work as that caused a bootloop on my phone.

If anyone has experienced this or knows how to fix it please do respond to this.
[OnePlus 5 & 5T Cross Device Development] :
Wifi works.

Just clean flashed on cheeseburger. Just follow the instructions.
[OnePlus 5 & 5T Cross Device Development] AshenFire579:
I have, I even did a second clean flash however got the same result.

As you can see the Wifi symbol in the status bar is greyed out slightly and when I go to turn it on it searches for about 5 seconds before turning itself off again.
[OnePlus 5 & 5T Cross Device Development] j4r0l:
i can confirm this worked for me too, except ome thing...

could you please confirm, that screen share is working?

i did dirty flash 17.1, the same way you did, yesterday and i cant connect to any display/tv i was used to be able to connect to.. (after choosing tv phone says "wfd service keeps stopping")..
[OnePlus 5 & 5T Cross Device Development] Dev-iL:
Yes, this problem was reported at least twice (including by myself). The only solution known at the moment is to perform a clean flash (and NOT keep\restore the previous data partition).

I had this problem too, what solved it for me was upgrading the firmware to the hotfix version. However, I should mention that mirroring works less well in >17.0: previously when playing a video through VLC, the phone's screen would be black, but now it shows the video too - which I find annoying. Also, the mirroring icon is red instead of gray (but maybe this is just a style change).
[OnePlus 5 & 5T Cross Device Development] AshenFire579:
What do you mean by not restore the previous partition, cause I'm petty sure I didn't do that.

These are the steps I took on my last attempt to flash:

- boot into Lineage Recovery

- I was already on the 10.0.1 firmware from first flash so I skipped that step (I doubt that's causing the problem)

- factory reset/format data

- wipe cache partition

- side load LineageOS 17.1 and install

- side load Pico GApps and install

- reboot phone

Basically I did everything the instructions told me too and the problem still persists. Any help would still be appreciated as I'm currently at a loss.

Edit: I did a 100% clean install by wiping the system partition in Lineage Recovery (along with data and cache) and that still didn't work. WiFi still isn't turning on.
[OnePlus 5 & 5T Cross Device Development] j4r0l:
thanks for reply...

no matter what firmware i flash (10.0.0-h1 or 10.0.1), wfd service keeps stopping.. i suppose its cause by something in /data..

i am going to try clean flash as i get some time...
[OnePlus 5 & 5T Cross Device Development] :
Give me a log from boot to wifi turning on.
[OnePlus 5 & 5T Cross Device Development] :
Please note that any dotfix/other camera mod will not work with updated camera blobs!

Uninstall any mods before reporting bugs (as always)!
[OnePlus 5 & 5T Cross Device Development] AshenFire579:
Please see attached the logcat, hopefully it helps solve the issue. If I didn't capture it correctly please let me know as this is my first time doing it.
[OnePlus 5 & 5T Cross Device Development] :
I'll also need a kernel log:

adb root

adb shell kmsg

Also, what gapps are you using?
[OnePlus 5 & 5T Cross Device Development] AshenFire579:
When I run adb root it tells me "ADB Root access is disabled by system setting - enable in Settings -> System -> Developer options" however I can't find the option in developer settings. Would it be possible to get a picture of where the setting is?

I'm assuming its under one of these options (see pictures) however I don't know.

Magisk also has "apps and ADB" enabled under superuser options (if that's helpful)

Running adb shell kmsg without the adb root command returns "/system/bin/sh: kmsg: inaccessible or not found"

To answer your other question I'm currently using Pico GApps, I also tried clean flashing with Nano GApps earlier today and Wifi still wasn't working.

Sorry if I'm being annoying with my lack of knowledge of this stuff
[OnePlus 5 & 5T Cross Device Development] :
Sorry, I meant dmesg.

Did you try without Magisk? Are you using custom kernel?

Do this:

adb shell

su

dmesg
[OnePlus 5 & 5T Cross Device Development] AshenFire579:
Yes I did a clean flash without magisk multiple times and wifi didn't work.

My kernel version is "4.4.241-lineage+", I didn't flash any custom kernel files.

typing in su after adb shell returns "Shell was denied Superuser rights"
[OnePlus 5 & 5T Cross Device Development] :
Allow root access in Magisk.
[OnePlus 5 & 5T Cross Device Development] AshenFire579:
Thank you, that worked. So sorry about that.

Please see attached the kernel log
[OnePlus 5 & 5T Cross Device Development] Semaphor_:
Thank you!

Dirty Flash (I was lazy) with Hotfix 1 Firmware from official LOS 16 with newest TWRP. Root, Wifi, everything works without a problem.

Thanks for your work on this :)
[OnePlus 5 & 5T Cross Device Development] :
[MENTION=7280252]T1mb3[/MENTION]

I get the occasional "Wifi watchdog triggered: wifi fixed after restart" popup, doesn't seem to affect anything as wifi works just fine before and after getting that message. I searched this topic and gerrit to see if someone else reported it but i didn't find anything relevant. Device is the 5T, latest (and first) official 17.1 from last week.

Also, proximity sensor doesn't seem to work, at least my screen doesn't wake up while waving a hand in front of it.
[OnePlus 5 & 5T Cross Device Development] andreivassaliev:
Thank you again for all your work !

Regarding your post, does it mean that installing the latest firmware (firmware_10.0.1_cheeseburger.zip 2020-11-13) alongside with the latest official LOS (lineage-17.1-20201116) will make the GCam (nikita or other + magisk dotfix mod) app not functionning ?

I run currently the firmware_10.0.0_hotfix1_cheeseburger.zip + lineage-17.1-20201110 with no issue. Do you recommand to stick with this configuration for the moment?
[OnePlus 5 & 5T Cross Device Development] ekoo0823:
Hi [MENTION=7280252]T1mb3[/MENTION]，

Thank you for your maintenance.

I flashed firmware-10.0.1 and lineage os-1116.But i think there are still some problems with firmware.

Q1：i can't choose a screenshot or photo in Tencent QQ，i don't see it in Tencent QQ.

Q2：flashlight and camera don't work.

Sorry for my bad english.
[OnePlus 5 & 5T Cross Device Development] :
Please try flashing without any Gapps/Magisk or other extras. If wifi works there, then your gapps are broken.

Logs didn't really show much info, but the little info is hinting at gapps:

E WifiService: Permission violation - startScan not allowed for uid=10073, packageName=com.google.android.gms, reason=java.lang.SecurityException: Location mode is disabled for the device
[OnePlus 5 & 5T Cross Device Development] DaminouTav:
Is it possible to remove empty space below keyboard ? Some others rom have this options into gesture settings. I understand it's needed for borderless screen, but it's not the case for O5/O5T...

Thanks!
[OnePlus 5 & 5T Cross Device Development] LuisCarlosHK:
Anyone use yahoo email app?

I had switch off the auto sync email at the account setting but the app still auto sync email.

Can someone teach me how to solve it?
[OnePlus 5 & 5T Cross Device Development] AshenFire579:
I just did a clean flash of the latest LineageOS 17.1 file (without GApps/Magisk) and Wifi still isn't working (see picture). Despite me turning it on, Wifi is displayed as being off and is not working.

I've attached another log of boot-to-WiFi in the hopes that it may be helpful to you. I also attached another kernel log (I don't know if it's needed but just in case).

I couldn't find the above code ("WifiService: Permission violation . . . ") in the log.

I hope you're able to locate the problem as everything else about this ROM works perfectly for me.

Edit: I don't know if this will be helpful at all but I've also attached a picture of my wifi folder from root/data/misc/wifi.
[OnePlus 5 & 5T Cross Device Development] Spidersoft:
I cant't change caller volume while talking. The slider appears when i press the rocker but it has no effect. Anybody else has this issue or could it be my dirty flash?
[OnePlus 5 & 5T Cross Device Development] Eric_Lev:
lineage-17.1-20201117-nightly-dumpling-signed.zip and 10.0.1 fw

- No trouble with Mobile network, Wifi, BT ... so far.

- Safetynet passes with Magisk, as expected ... (cf. this post)

- GCam ok ... (don't forget to remove OnePlus 5/5T Front Camera Fix (V5.7))

Thx [MENTION=7280252]T1mb3[/MENTION] !
[OnePlus 5 & 5T Cross Device Development] hck:
The slider has effect only in upper half for me.
[OnePlus 5 & 5T Cross Device Development] andreivassaliev:
Hello,

I run currently the officials firmware_10.0.0_hotfix1_cheeseburger.zip + lineage-17.1-20201110 (first official release).

May you please tell me if I need to re-flash GApps (and eventually Magisk) if I update with the latests firware & LOS 17.1 ?

Thank you for your help :)
[OnePlus 5 & 5T Cross Device Development] Eric_Lev:
No need to re-flash Open Gapps.

Note: I uninstalled Magisk and removed screen lock before flashing 10.0.1 fw & latest build... (optional, but to be safe).
[OnePlus 5 & 5T Cross Device Development] AshenFire579:
UPDATE: WiFi has been fixed with the help of T1mb3.

According to them the WiFi Mac address which was stored in a bin folder was incorrect. This issue is planned to be fixed in the next official build should anyone else experience it.
[OnePlus 5 & 5T Cross Device Development] Besuz:
v6.0 is out and works with latest Firmware:

https://www.celsoazevedo.com/files/android/google-camera/op5fix/v6-0/

Only thing which I was not able to get working, is second back camera.

Edit: Just had to enable second camera in settings. :D

Edit2: My Wifi issue is also fixed, but i dont think it was a Rom related issuse.

I was also setting up a new Unifi Wifi-Controller last weekend and enabled 802.11r "fast roaming", which seemed to cause the issue. When I disable 802.11r on my networks, Wifi is working fine!