• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

razorloves

Senior Member
Sep 19, 2007
3,118
14,978
Miami
Google Nexus 5
Nexus 9
Official 15.1 nightlies have been discontinued.
Go here for the official 16.0 thread.


yUIn6TF.png

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,118
14,978
Miami
Google Nexus 5
Nexus 9
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
17
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,157
323
41
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

Senior Member
Dec 5, 2016
50
31
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
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

carbinefreak

Member
Mar 16, 2011
5
3
TWRP 3.2.0-0 is unable to decrypt the factory "opm1" /data store. 3.2.1-0 is able to decrypt but fails to flash LOS. Something is not quite correct here.....
 
  • Like
Reactions: Stefan.xda

razorloves

Senior Member
Sep 19, 2007
3,118
14,978
Miami
Google Nexus 5
Nexus 9
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.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 73
    Official 15.1 nightlies have been discontinued.
    Go here for the official 16.0 thread.


    yUIn6TF.png

    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
    23
    New build with January security patches. :good:
    That also means a new vendor img is needed from the January security update released by google 2 days ago. OPM1.171019.012
    The bootloader img is also new, so you should also flash it. The radio is the same as what was in last month's security update from google, so no need to flash it.
    You can extract them from the OPM1.171019.012 factory img on google's site, or use the one's here that I already extracted:
    https://www.androidfilehost.com/?w=files&flid=239134


    If coming for another rom, follow steps in the first post.


    If you're updating from my previous build:

    1. Reboot to recovery.
    Note: When you do that you will be in the slot in twrp that has your current lineageOS installed. When you flash a custom rom on the marlin, it goes to the other slot from which you're currently in, so you want to reboot into the other slot because you want to get into the habit of always doing the rom install while in the same slot. That way you don't get mixed up flashing things to wrong slot or booting into wrong slot. So, go to 'Reboot' then look at the "Current Slot" and select the slot button for the other slot. Then select the "Back" button and look at the "Current Slot" to confirm you're in the other slot. Now, we need to go into bootloader mode to flash the new bootloader img, so select "Bootloader".
    2. Flash the new bootloader img.
    Note: make sure you use the '--slot all' option so that you flash both bootloader slots. Like this:
    fastboot flash --slot all bootloader bootloader-marlin-8996-012001-1711091153.img
    3. Using the volume buttons select 'restart bootloader'. Or do the 'fastboot reboot-bootloader' command.
    4. Flash the new vendor img.
    Note: make sure you use the '--slot all' option so that you flash both vendor slots. Like this:
    fastboot flash --slot all vendor vendor-opm1.171019.012.img
    5. Using the volume buttons select 'recovery mode'.
    6. Now you can flash the new rom lineage-15.1-20180105-UNOFFICIAL-marlin.zip
    7. When that's finished, flash the twrp 3.2.0-0 zip.
    8. Then go to 'Reboot' and select 'Recovery'. This will reboot you into the other slot, where the new rom was installed.
    9. Since you flashed a new vendor img earlier, you will once again have that /vendor/overlay folder that you have to delete. So, mount the vendor partition and open the file manager and delete the /vendor/overlay folder.
    10. Flash the new updated gapps zip open_gapps-marlin-8.1-nano-20180105.zip
    11. When that's finished, flash the latest stable magisk zip (currently v15.2).
    12. You're done. Select 'reboot system'

    Major changes since last release:
    january security patches
    added advanced restart (the power menu setting still crashes, but advanced restart is working. you can enable in dev options.)
    added long press back to kill app
    fixed battery charging led notification
    enabled unlimited storage in google photos on full res pics
    fixed some (all?) sprint, verizon, and project fi issues
    LiveDisplay is now implemented and working properly
    22
    ok sailfish users... here you go. good luck. lol
    lineage-15.1-20180115-UNOFFICIAL-sailfish.zip
    follow instructions in the first post, except don't use marlin files of course. get the ones for sailfish.

    sailfish twrp
    sailfish factory image