[ROM][OREO][OFFICIAL] lineage-15.1 for Pixels (marlin/sailfish)

razorloves

Senior Member
Sep 19, 2007
3,069
14,372
263
Miami
Official 15.1 nightlies have been discontinued.
Go here for the official 16.0 thread.



LineageOS is a free, community built, aftermarket firmware distribution of android, which is designed to increase performance and reliability over stock android for your device.

All the source code for LineageOS is available in the LineageOS Github repo. If you would like to contribute to LineageOS, please visit our Wiki.



Important Info
Make sure you have the vendor, radio, & bootloader img's installed, from the stock oreo 8.1 OPM4.171019.021.P1 July 2018 factory image. More info below.

Download Links
marlin rom: https://download.lineageos.org/marlin
marlin vendor, radio, & bootloader img's: https://androidfilehost.com/?w=files&flid=278595
marlin twrp: https://twrp.me/google/googlepixelxl.html

sailfish rom: https://download.lineageos.org/sailfish
sailfish vendor, radio, & bootloader img's: https://androidfilehost.com/?w=files&flid=278596
sailfish twrp: https://twrp.me/google/googlepixel.html

google apps (Optional): https://wiki.lineageos.org/gapps.html
root su addon (Optional): https://download.lineageos.org/extras Note: Use arm64 zip. After installing the su addon, you can enable root in developer options.

Instructions
Initial Install
  • NOTE#1: Make sure you have the correct vendor, radio, & bootloader img's installed in BOTH slots before installing lineage. They can be extracted from the oreo 8.1 OPM4.171019.021.P1 July 2018 factory image or use the ones in the download section above that I already extracted for you. You can flash them using the following commands:
    fastboot flash --slot all vendor VendorFileName.img
    fastboot flash --slot all radio RadioFileName.img
    fastboot flash --slot all bootloader BootloaderFileName.img
  • NOTE#2: The official mindthegapps build that's linked in the wiki are very minimal (like opengapps pico), so i made my own mindthegapps build that is pretty much the same as opengapps nano. download link
  • NOTE#3: If you're a Project Fi or Sprint customer, you need some extra gapps, so use this one instead. download link
  • NOTE#4: If you want to update from my unofficial 15.1 build to official without wiping, you can follow the "How to dirty flash an official weekly over an unofficial build" steps here.
1. boot into twrp and wipe data and system
2. flash rom zip
3. flash twrp zip
4. in twrp main menu, select reboot then recovery (this will reboot you into the other slot)
5. flash gapps zip (optional)
6. flash su addon zip for root (optional)
Reboot & enjoy.

Updating
If you've already done the initial install, then you can use the LineageOS Updater to install new builds. It's in settings->system->about phone->lineageos updates.
It will give you a notification when a new build is available.



Weather Provider Addons (Optional)
For those that like to use the lineage cLock widget, here are some weather provider apk's you can use that i compiled.
https://www.androidfilehost.com/?w=files&flid=243785


Changelog
https://download.lineageos.org/marlin/changes/

Bug Reporting
If a bug is discovered, confirm it with other users in this thread, then report it following our wiki here: https://wiki.lineageos.org/bugreport-howto.html

LineageOS Stats
https://stats.lineageos.org/

Credits
Many thanks to the LineageOS team and all the contributors out there in the community :good:



Source Code:
Device tree: https://github.com/LineageOS/android_device_google_marlin/tree/lineage-15.1
Kernel tree: https://github.com/LineageOS/android_kernel_google_marlin/tree/lineage-15.1
Vendor tree: https://github.com/TheMuppets/proprietary_vendor_google/tree/lineage-15.1

Android version: 8.1.0 Oreo
Kernel version: Linux 3.18.70
 
Last edited:

razorloves

Senior Member
Sep 19, 2007
3,069
14,372
263
Miami
Any Sailfish compatibility ?
nope, sorry. But it can be built and works fine. I know a person that uses it.



Only a couple things come to mind that are worth mentioning...

Livedisplay has not been implemented yet. But Night Display is working fine.

And I cherry-picked the buttons settings changes into this rom, which is still a work-in-progress. So some of them don't work yet, but most do.



Op instructions were flawless...
Thanks to @kgjel for that :good:
He gave me a set of detailed instructions that I revised slightly and put in the first post.
 
Last edited:

mrhds

Member
Sep 22, 2010
16
16
0
Thanks very much for this. Op instructions were flawless and booted right up. Feel's good to be running los, everything I've tested/used works perfectly
No such luck here. The post says to be on 8.1 OPM1.171019.011, but the detailed instructions say to match what's in the lineage.mk, which is OPR3.170623.013. Which stock build were you on when installing this ROM? I either get boot loops or it ends up booting up, but it is still the stock OS. I have tried following the detailed instructions exactly, and all seems to go well, but no Lineage!
 
  • Like
Reactions: Stefan.xda

HACK3DANDR0ID

Senior Member
May 25, 2017
1,158
323
0
40
New Jersey
No such luck here. The post says to be on 8.1 OPM1.171019.011, but the detailed instructions say to match what's in the lineage.mk, which is OPR3.170623.013. Which stock build were you on when installing this ROM? I either get boot loops or it ends up booting up, but it is still the stock OS. I have tried following the detailed instructions exactly, and all seems to go well, but no Lineage!
Same problem here, i get about 3-5 Boot Loops and then it finally stops at the G with the line under. I tried multiple times...
 
  • Like
Reactions: Stefan.xda

JS.zip

Member
Dec 5, 2016
46
27
18
Didsbury
No such luck here. The post says to be on 8.1 OPM1.171019.011, but the detailed instructions say to match what's in the lineage.mk, which is OPR3.170623.013. Which stock build were you on when installing this ROM? I either get boot loops or it ends up booting up, but it is still the stock OS. I have tried following the detailed instructions exactly, and all seems to go well, but no Lineage!
I saw that as well. I was on 8.1, I took the main op too be correct.
 
  • Like
Reactions: Stefan.xda

hokiealumnus

Recognized Contributor
Nov 5, 2012
2,756
4,130
0
www.overclockers.com
Same problem here, i get about 3-5 Boot Loops and then it finally stops at the G with the line under. I tried multiple times...
No such luck here. The post says to be on 8.1 OPM1.171019.011, but the detailed instructions say to match what's in the lineage.mk, which is OPR3.170623.013. Which stock build were you on when installing this ROM? I either get boot loops or it ends up booting up, but it is still the stock OS. I have tried following the detailed instructions exactly, and all seems to go well, but no Lineage!
The lineage MK file linked in the detailed instructions shows OPM1.171019.011. Not sure which one you're looking at? The link goes here: https://github.com/razorloves/android_device_google_marlin/blob/15.1-testing/lineage.mk#L22
 
  • Like
Reactions: Stefan.xda

razorloves

Senior Member
Sep 19, 2007
3,069
14,372
263
Miami
so are you the new maintainer? officially?
Yes. Intervigil is a maintainer too.



@razorloves is this always required when flashing any rom on Maril?
not necessarily.
Google put a couple theme apk's and frameworks apk in that folder. It will override a lot of changes we make to our custom rom. So I think it's best to remove it.
You can see my comments in this change to give you an idea of one of the problems that frameworks apk can cause. https://review.lineageos.org/198569
When you flash stock rom or flash the vendor img from the stock rom, it will replace that folder that was deleted.