[ROM][A5000 | cheeseburger][8.1.X][OFFICIAL] LineageOS 15.1 (Oreo) for Oneplus 5

codeworkx

Senior Recognized Developer
Nov 20, 2010
8,493
57,076
0
Bad Neustadt
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:
#include 
/*
 * 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.
 *
 */

3rd PARTY ADDONS/MODS
While we have no issues with people using supersu/magisk/xposed/custom kernels/etc, we can't provide support for users who have them installed.
This thread is not the right place to discuss about mods/addons.


HOW TO INSTALL LINEAGEOS
- Make sure your phone was running OxygenOS 5.1 at least once and is currently on latest firmware
- Remove custom encryption pins/passwords else decryption will fail!

- Download the LineageOS zip(s). (see Downloads)
- Copy the LineageOS zip to internal sdcard.
- Unlock bootloader and install TWRP.
- Boot into TWRP.
- Perform a backup of your current ROM. (Optional)
- RECOMMENDED: Do a factory reset! No support if you didn't!
- Flash LineageOS.
- Optional: Install the Google Apps addon package. (see Downloads)
- Reboot


HOW TO UPDATE LINEAGEOS (15.1 -> 15.1)
- Download the LineageOS zip(s). (see Downloads)
- Copy the LineageOS zip to internal sdcard.
- Flash LineageOS.
- Reboot


DOWNLOADS
Lineage 15.1: https://download.lineageos.org/cheeseburger (Unofficial: https://sourceforge.net/projects/cheeseburgerdumplings/files/15.1/cheeseburger/)
Vendor images: https://sourceforge.net/projects/cheeseburgerdumplings/files/15.1/cheeseburger/vendor/
Firmware: https://sourceforge.net/projects/cheeseburgerdumplings/files/15.1/cheeseburger/firmware/
Migration-Tools: https://androidfilehost.com/?w=files&flid=254680 (Unofficial->Official, Official->Unofficial)
SU-Addon: https://androidfilehost.com/?w=files&flid=259254
Google Apps: https://androidfilehost.com/?fid=962187416754462508 | http://opengapps.org/
TWRP: XDA | twrp.me



DEVELOPER RESOURCES
https://github.com/LineageOS/android_device_oneplus_cheeseburger
https://github.com/LineageOS/android_device_oneplus_msm8998-common
https://github.com/LineageOS/android_kernel_oneplus_msm8998


HOW TO CONTRIBUTE?
Send your patches up for review: https://review.lineageos.org/
 
Last edited:

Yousvel

Senior Member
Jan 23, 2014
3,590
2,806
113
Cap-Haitian
Good job!
But you link to Official Open Gapps. Open Gapps don't have 8.1 as of now. I think it would be better to link to another 8.1 working Gapps while waiting for Open Gapps to be updated to 8.1. Just to avoid confusion.
Keep up the good work you doing! And thanks for bringing that early Lineage 15.1 build to OP5.
 
Last edited:

codeworkx

Senior Recognized Developer
Nov 20, 2010
8,493
57,076
0
Bad Neustadt
Good job!
But you link to Official Open Gapps. Open Gapps don't have 8.1 as of now. I think it would be better to link to another 8.1 working Gapps while waiting for Open Gapps to be updated to 8.1. Just to avoid confusion.
Keep up the good work you doing! And thanks for bringing that early Lineage 15.1 build to OP5.
Afaik there's no 100% working package yet.

Sent from my OnePlus5T using XDA Labs