yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] koenkk:
/*
* Your warranty is... still valid?
*
* 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.
*/

ROM Features

- Vanilla LineageOS (cm-14.1 branch)

- Nightlies

- No OTA updates support (don't try to install any)

Goal of this ROM

Provide LineageOS nightlies for the OnePlus 5.

Know issues (if you experience any, please post them in this thread)

- No audio for bluetooth phone calls.

Recommendations

TWRP

TWRP 3.1.1-1 from https://twrp.me/devices/oneplus5.html

Firmware

https://github.com/Koenkk/firmware_...plus_5/oneplus_5_oxygenos_4.5.10_firmware.zip

Root

Not included in ROM flash Magisk for example (it will also allow you to bypass the SafetyNet check).

Installation

- Flash the latest TWRP version from the Recommendations section

- Wipe your device through TWRP

- Flash the latest firmware from the Recommendations section

- Install the ROM from the download section below with TWRP

- Install GApps, (ARM64, 7.1, I recommend stock but a different package should also work) (http://opengapps.org/)

- Boot your device, done! :)

Updating

- Make a Nandroid backup

- Check whether there's a new TWRP release (from the Recommendations section) and in case flash it *before* going on

- Check whether there's a new firmware release (from the Recommendations section) and in case flash it *before* going on

- Flash the ROM with TWRP

- Wipe Dalvik / ART cache and Cache in TWRP

Download

You can find a new nightly every day here (including a changelog):

http://vps355909.ovh.net/oneplus5/cm_14.1

Source

https://github.com/Koenkk/local_manifest_cheeseburger/tree/cm-14.1

Donating

My nightly build server and download server have it's costs, feel free to donate me.

Click here to donate.

BTC: 18aWFLPeQcCYeLVxPw93iGeXN8w3hE9PUB

Telegram

https://t.me/lineageop5group (maintained by [MENTION=8283662]asecretgate[/MENTION])

Credits

- xingrz (akka [MENTION=2657434]chenxingyu[/MENTION])

- [MENTION=3208754]codeworkx[/MENTION]

- [MENTION=4812336]updateing[/MENTION]

- The whole LineageOS team
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Rohit02:
first..

Edit : Good to see a well known ROM. Waiting for a stable build. Will start testing post 2nd build as I am on a tour now.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] dj_chapz:
Any list of working / not working features? Changelog?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Hitman478™:
Need decryption and or ext4 partition?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] koenkk:
I did not have the time to check it yet but probably yes (as other LOS based ROM's also need this)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ArkAngel06:
I'm guessing it's also broken, but Bluetooth audio streaming?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sebfar:
I have installed this rom but my pin code for my two sim is always refused. I can't continue the setup

Envoyé de mon ONEPLUS A5000 en utilisant Tapatalk
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] card13:
[MENTION=7896746]koenkk[/MENTION] great to see you move to the 5 from the 3/3T (My dad has a 3 and your builds, they're super smooth :)) Now I did install your today's build. I'm F2FS for data, that's working (it's working in RR too)! Thank you for being the first!

Not working (Used LOS 7/12, Opengapps Pico 7/12, F2FS and Factory Reset):

Button Settings

SIM (No APN and error searching for networks)

Doesn't shutdown/restart very gracefully (had to Hard Reset)

- That's as far as I got
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] djsubterrain:
xingrz is actually "the first" :

https://github.com/LineageOS/android_device_oneplus_cheeseburger

He's the guy building LOS and MOKEE, he should really be in the credits IMO.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] card13:
[MENTION=4418475]djsubterrain[/MENTION] You're absolutely right, but xingrz isn't an XDA member and hasn't posted anything. So I will say thank you to xingrz for making the repo and [MENTION=7896746]koenkk[/MENTION] for building/hosting and posting on XDA :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] djsubterrain:
Good point ;)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] _MartyMan_:
Awesome, nightly builds! So i don't have to build :D
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] caki25:
Hm, getting a "SIM PIN operation failed" when trying to enter the SIM PIN. I have dual SIMs and the lockscreen is constantly flipping between SIM1 and SIM2 to enter PIN... when entered the second PIN, it's trying to unlock the SIM, but does not seem anything is happening. Same for single SIM, can't unlock...
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] martinusbe:
who is that then? https://xdaforums.com/oneplus-5/development/official-mokee-mk71-2-oneplus-5-nightly-t3634522
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] card13:
[MENTION=4139665]martinusbe[/MENTION] Ah different username, I retract my statement, thank you for correcting that. I thank [MENTION=2657434]chenxingyu[/MENTION] and [MENTION=7896746]koenkk[/MENTION] for bringing us LineageOS!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] yocheng:
Well, actually he is. [MENTION=2657434]chenxingyu[/MENTION] is his id on XDA. He just started the MK71.2 for op5 thread a few days ago.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] chenxingyu:
:) you're welcome
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] chenxingyu:
By the way, [MENTION=4812336]updateing[/MENTION] also help a lot bringing up the device and some hardware. I would like to thank him as well. May be better add him as a contributor.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] koenkk:
SIM/mobile network connection problems fixed in http://vps355909.ovh.net/oneplus5/nightly/20170713/
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Deleted member 7447728:
Did you literally build lineageOS with someone else's trees with the only change being disabling dash charging?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] memo63:
firmaware is the latest 4.5.8 and i flash the following things

-lineage rom

-gapps

-magisk
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] djrion:
Only flash ROM and gapps. Then login. Once you login reboot to recovery and flash magisk. That will solve your problem.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] memo63:
thx.i will try it
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] djrion:
Devs, cm audio error gone with 8/17 build.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] card13:
I'm having lots of audio problems (it's like every other build the audio problems come back, and yes I have tried clean install along with newest firmware). I use a VOIP for work (using Zoiper premium with Crexendo service), when I receive calls I have the chipmunk effect until I plug in headphones, then the volume is super low (the headphones have a manual volume control nob and that's even at 100% up). I had no problems with this configuration on my old OP3T and stock OP 5.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] codeworkx:
Nothing got changed on the main branch "cm-14.1".

cm-14.1-caf-rebase is far away from being usable.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] DanielGiGi:
How ist the..... compared to OOS??

...battery

...camera

...speed

Many bugs for daily usage?

How long we have to wait for offical?

Greetz,

Daniel
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] AuxXxilium:
thanks for reply. the camera driver from gerrit is very nice. but it need some fixes in the filepaths. ;)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ccdesignz:
I am the only one who has a third camera while switching between front, back and back :)

Is there a way to get oos stock camera working in LOS ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] card13:
Anyone have any ideas on how to fix? Since this is a SIP/VOIP arrangement disabling VoLTE is not helpful and causes the calls to drop.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] VoxiBe:
Finally a developer who focuses on the perfection of a single smartphone and therefore able to produce us nightlies as in the time of CyanogenMod !

Nice work, I will install it tomorrow ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] thermate:
Thank you for this ROM! It works perfectly for me, even phone Bluetooth audio is working.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] VoxiBe:
I am under the build of August 19, nothing to report except for some application closure not inconvenient and an autonomy / fluidity improveable ^^

Very good work I hope the addition of functionality in the future ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] brand77:
[MENTION=7896746]koenkk[/MENTION] [MENTION=3208754]codeworkx[/MENTION]

about the (in)secure bootloader:

I think having the bootloader unlocked is a bad things, with the OnePlus One I allways oem lock after I changed hat I would like to change, and usually I use only official lineageos.

Do you think it will be possible to relock the bootloader and avoid that tedious warning screen at boot?

It seems to me that this is an insecurety feature instead of securety one, it's only me?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Tweezydak1d:
Does dash charging work with these roms or is that only OOS
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] koenkk:
works
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] codeworkx:
Try it.

There are a lot of things you should not do:

- not applying updates

- rooting

- disabling selinux

- installing magisk and so on

- installing apps from untrusted source

...
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] brand77:
[MENTION=3208754]codeworkx[/MENTION] from your reply I think there is a misunderstanding:

I tried it on op5, I used lineage and cm before on every phone, I'm not criticizing this beautifull work,

I contributed a procedure to enlarge 1+1 system partition on oneplus forum and so on...

So, the only thing I ask is if you think in the future will be possible

to relock the bootloader and get rid of the tedious warning at boot.

I think it can be done in 2 way:

1. support in rom (signed rom? functions for lock and unlock like the original rom?)

2. modified bootloader that don't require such things (like old phones)

I would like to work on a modified bootloader, but it may be impossible to flash it...

What do you think about it?

Thank you for your great work!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] codeworkx:
What does happen when you run "fastboot oem lock"?

That's how it's normally working.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] brand77:
With this rom when I do an oem lock I end up in boot loop, until I do another oem unlock. I'm stuck with the Orange warning and can't go Yellow, this can be seen as a bug even if a user want to leave SafetyNet and other things working like expected because if someone stole my phone can see my data very easily or flash a modified os and is not forced to wipe to unlock. I saw a similar problem with a OnePlus X, but not with the OnePlus One that work exactly like I expect. May be the rom is missing some function needed to relock?

So, recapping, I see two problems:

1. can't "oem lock" with this rom, it's a security problem, seems to be phone/rom specific and I think it's a bug that should be investigated.

2. can't use app that need to pass safetynet (banking? games?) without using some app to hide modification (magisk?), is the way it should work on modern phones, I don't like it but I know it's not a bug.

An acceptable way to go is to "oem lock", go Yellow, and than use some software to hide you are running a different operating system, but the best solution to these problems is a new bootloader, really an old one, without this feature, like old nexus and the 1+1 too (may be any phone before 2016 except sansung?)...

Do you think is it something possible?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] codeworkx:
Maybe it expects a fully working security chain (secureboot) when locked. In this case it's not possible for us.

Safetynet not working is well known and totally ok. If u want to pass safetynet then use stock rom and leave your phone locked. Trying to bypass it will just make google higher the level till the custom rom community is dead. And that's not what we want.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] brand77:
I have very little knowledge about it but I think is just some missing function in kernel/rom because when I lock/unlock with stock rom it's too fast and, except the wipe data part, it does not take the time I expect to compute and verify hash so I don't think it require a signed operating system just to "oem lock", but I can be wrong here. Afterall the Yellow state should be expected by design and it does not have any sense if it require the stock rom to lock. Do you know some way to debug it?

It's the reason I don't like to hide the problem with an hack but I would like to resolv it in some other way, too sad if it's not possible.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] JulianXhokaxhiu:
Whatever you are trying to archive goes beyond the idea of having a locked bootloader.

Do you know that to make sure LOS passes the boot in the "lock" status means signing the ROM with the same private key of OP5 rom?

If this would go public, the hacker does not even need to unlock your bootloader. He can just make a dump and decrypt it right away :)

Live with it: stay stock or unlock with all the known risks
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] brand77:
Not true, the Yellow state means bootloader locked but "Your device has loaded a different operating system."

You should NOT need è signed rom to lock the bootloader, this is by google design, but I don't know if OnePlus implemented it in the right way.

https://support.google.com/nexus/answer/6185381

Problems with SafetyNet is another story, but I should be able to lock the bootloader with a custom rom and the bootloader should only print the Yellow warning at boot.

If I can't lock the bootloader and I'm forced to stay with Orange warning than there is a problem.

edit:

while the Orange warning is "Your device software can't be checked for corruption. Please lock the bootloader." and it is NOT "Your device software can't be checked for corruption. Please reinstall original rom and than lock the bootloader."
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] dobi3:
Touchscreen gestures has been missing from last

4 or 5 Nightlies.. Are they coming back
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] nyzoli72:
I'm decrypted, so if i wanna flash this rom do i need flash after the rom,gapps,magisk the dm verity file?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] daleski75:
Stay stock, lock the bootloader and by the way what you are requesting is not in relation to this thread at all and all discussions relating to it should be taken to a new Q&A thread.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] djrion:
Pretty sure you need to be encrypted currently. But I could eat some crow cause I'm going off my bad memory.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] AwkwardClown:
I too would love to lock my bootloader with Lineage OS. I use to do it on my Nexus 5 and o+x but haven't been able to with my 1+5. Also, bluetooth calls don't work on either o+ devices with Lineage so I had just assumed both issues are OS bugs for 1+ phones.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] brand77:
Leaving out the secureboot/SafetyNet problem/feature that is not a bug and I must admit is OT here, the ability to lock the bootloader is not an optional, is a required security feature that should work on any rom, I'm just reporting a bug in this rom so I think it's perfectly in thread.

With this bootloader support to lock/unlock in rom is required (may be for the wipe data part and to check the "OEM unlocking" flag in developer option), don't know where is the problem but it's a fact that lock/unlock should work as expected with this rom.

As soon as I have some spare time I'll make some more test, it may be a recovery problem too.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] daleski75:
Like you have been told before in order to lock it and for it to work properly the custom rom needs to be signed with the same key as OOS which will be impossible to obtain and even if it was it would then weaken the security of the phone irrespective of it being unlocked or not.

I firmly believe this is not a bug but its by design.

You have to decide whether you want to have full rights on the phone to do whatever you wish with weakened security or live with stock and a locked bootloader, you cannot have both.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] brand77:
As I already told, it does not make any sense.

https://support.google.com/nexus/answer/6185381

The Yellow state exists because it's ok by design to lock the bootloader with an unsigned rom, else the Yellow state should not exists at all, only Orange and Red are usefull if you can't lock the bootloader with a custom rom.

I have both on any phone I own, some nexus and the 1+1 for example, always locked.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Rogier Oudshoorn:
That help page applies to nexus phones, not to a oneplus 5. Oneplus phones do not necessarily have the same bootloader as nexus phones. Also, oneplusone came with cyanogenmod out of the box which means that particular phone might have been able to detect as "OK" as long as you didn't flash third party built software.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] brand77:
You are wrong, that help page apply to OnePlus 5 too, and almost any device that follow google's way, not only nexus device.

The short url "g.co/ABH" is the one you can find on the Orange warning at boot, with OnePlus 5, and yes, it redirect in https://support.google.com/nexus/answer/6185381.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] daleski75:
It makes perfect sense to me it's a security warning stating the rom cannot be verified as it's not the one which shipped with the phone.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] brand77:
May be it's me, may be I should try to explain better my undertanding.

You state thate it make perfect sense. ok, it does..... but:

If you cant lock the bootloader with a custom rom then you can't get the Yellow warning at all, you will get the Orange warning instead, because the bootloader is unlocked.

The Yellow warning exists, and it exists because by design you can (and you should) lock the bootloader even with a custom rom.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] daleski75:
Nexus != OnePlus and what you want won't happen.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] thermate:
Nightly of 07.22. broke Bluetooth A2DP for me (no sound at all) and introduced frequent audio artifacts into the loudspeaker output. Not complaining, just reporting it. Thank you for your work anyway. I rolled back for now.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Ghostetr:
Any status on hid, and CD-ROM support? :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ccdesignz:
I can confirm this:

No Sound via Bluetooth A2DP and audio artifacts on phones loudspeaker.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] djrion:
Thinking about a clean install. Updates seen to regress for me. The cm audio error is annoying. The weird distortion from playing YouTube videos is the pits.

Are there any major updates coming soon?

Edit

Yes I am a thankful little whiner, so don't mistake my tone! [emoji6]
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] zhht1204:
About BlueTooth no sound

It seems that I has connected my earphone and A500 successfull, but there is no sound output, using the latest version.

The control and calling functions are able to use, but the media sound cannot be heard...

Is there any update or solutions about this?.

Very thanks for the ROM developers!.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ccdesignz:
Before this commit

the sound and Bluetooth was fine, so for now you can download the Nightly of 2017-08-21 http://vps355909.ovh.net/oneplus5/nightly/20170821/

or try the latest Nightly, it introduce a lot of oneplus related changes

http://vps355909.ovh.net/oneplus5/n...0170825-UNOFFICIAL-cheeseburger.zip.changelog
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Naxiz:
Bluetooth audio is not working for me in the latest nightly. But there are a lot of changes which is good! :)

Keep up the great work!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ccdesignz:
[MENTION=3208754]codeworkx[/MENTION], [MENTION=7896746]koenkk[/MENTION]

How do you guys extract the vendor blobs from OP5

I have tried it here

with

on my rooted device with stock OxygenOS, on the latest TWRP recovery and on a Nighly build from page 1, but it will fail all the time, it never pulls all necessary files and if i try to start a build it fails immediatly with

Currently my proprietary folder is

I'm thankfully for each hint one of you can give me
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Gingernut78:
You can also pull them from here https://github.com/TheMuppets/proprietary_vendor_oneplus
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] hallo dare:
Can't get this to run. I'm using latest twrp. I wipe all, everything installs, but when it gets to the loading screen, only one circle passes by and then it freezes. Downloaded and tried multiple times.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] nyzoli72:
on latest firmware?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] hallo dare:
Yes
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] djrion:
Are you trying to flash SuperSU or magisk after the ROM?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] hallo dare:
No, just the rom & gapps.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] nyzoli72:
maybe try this twrp. I use the K2 and no problem at all. I didn't use this rom yet, but flash 3 other roms without problem.

https://www.androidfilehost.com/?w=files&flid=201728
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Naxiz:
Bluetooth audio is working again in today's nightly! :D
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] codeworkx:
Touch gestures? Pocketmode? New kernel?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Hiddenusername:
Excited about that. But I believe team will soon be moving to O.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Senaxo:
When is it official out?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] DanielGiGi:
Sorry that I ask again, but how is the camera and battery compared to oos?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ccdesignz:
That's true, unfortunately now, my camera is crashing all the time
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] DanielGiGi:
Not that nice this los community. Everyone tells bugs or problems but can't answere to any questions.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] TheCondorITA:
BIG THANK. With the latest buld + OpenCamera it's now finally possible to manually switch to the ZOOM LENS

Don't use the zoom slider but move trough cameras tapping the front camera selector (it will pass trough the three lens). Tested with DNG.

Split screen is working now.

Some bug report and suggest:

- please add the avrcp 1.5 or 1.6 (it's already build in the lineage os). Android O will have a slider for enable-disable the wanted profile, we can implement this in Lineage 14.1? Or just a slider: AVRCP 1.6 ON - OFF (and go back to 1.4).

- the left touch button is not customizable, while in OP stock rom we can do that

- maybe we can have the official camera apk, it included the bokeh feature and onestly is fast. For who want the full control of the camera can add the OpenCamera from PlayStore. I already tried the apk but goes in a crash loop instantly