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

Search This thread

dcshallot

Senior Member
Jun 14, 2012
277
42
34
Beijing
Yeah, it seems to be present in LOS itself. On stock, my M9 and Pixel correctly calculate 0%, whereas they die above 0% on LOS. Not really a big deal, you're not losing battery life, although running your battery down to 0 is not great.
Now I'm not sure whether apps or system cause battery drain. So I'm planning to replace a battery later. It can just work for a few hours. You know, the Chinese apps always want to wake it up to do sync. And I use greenify to optimize.

---------- Post added at 07:54 AM ---------- Previous post was at 07:52 AM ----------

Further more, do you know when los 16 publish?
 

thebst

Member
Feb 13, 2007
15
0
Are there any people who can help with the following? I had tried the steps from the lineageos site, but I ended up in bootloops several times, no matter what I tried. Then I followed the steps in the starting post of this thread, but now the pixel seems bricked. After the last step (reboot) the screen went blank, and now it will not start up, no matter what. Battery was at 71% when I hit the reboot in TWRP, so it can't be out of power. Any ideas?
 

adm1jtg

Senior Member
Jul 26, 2010
2,803
872
Georgia
Google Pixel 3a XL
Are there any people who can help with the following? I had tried the steps from the lineageos site, but I ended up in bootloops several times, no matter what I tried. Then I followed the steps in the starting post of this thread, but now the pixel seems bricked. After the last step (reboot) the screen went blank, and now it will not start up, no matter what. Battery was at 71% when I hit the reboot in TWRP, so it can't be out of power. Any ideas?

Hold down power and down volume for about 30 seconds and that should bring you into bootloader
 
  • Like
Reactions: thebst

thebst

Member
Feb 13, 2007
15
0
I had to hold it a bit longer (about 60 seconds, but I suppose it's how fast you count) and I have a bootloader now, thank you. I will try to flash again and see if I can get it to work again. Thanks a lot!
 

thetallguy

Member
Nov 21, 2012
29
15
Auckland
Are there any people who can help with the following? I had tried the steps from the lineageos site, but I ended up in bootloops several times, no matter what I tried. Then I followed the steps in the starting post of this thread, but now the pixel seems bricked. After the last step (reboot) the screen went blank, and now it will not start up, no matter what. Battery was at 71% when I hit the reboot in TWRP, so it can't be out of power. Any ideas?

Once you are in the bootloader, try swapping the a and b partitions. This happened to me when I installed in December.
 

Crumplet

Senior Member
Sep 20, 2012
581
128
Google Pixel 4 XL
Hello,

I was wondering how to install root back onto lineage OS after updating it through the system itself and it wipes TRWP anyway and now I am with what seems to be a lineage os recovery?
 

PVO1601

New member
Feb 5, 2019
3
0
LOSUpdater

Hello sailfish-owner

Does the built-in LOSUpdater work in your phone?

Solution: I've flashed Vendor, Bootloader & baseband Image to all Slots, now it is working
 
Last edited:

projekt8e

Senior Member
Dec 25, 2007
165
27
Recently, I've been having issues with a process called mediaex, which appears to be storage related, and it running at 100% cpu usage on one core endlessly. I even let it go one night all night while plugged in to see if it was actually processing anything and it's not. It will kill a full battery in a matter of hours if unnoticed. With the process killed, the phone will last 2 - 3 days with light usage. It's easy to notice when it happens though because the phone is quite warm to the touch when it's stuck.

I can kill the process via termux after I've force stopped "Media Storage" from the system apps. After that it's fine for long periods of time. I can use the phone and download files. However, if I disable the Media Storage app, storage access appears limited. A screenshot would even fail, which makes sense and is more for context. It has only happened after I migrated from the January build to the February builds of recent. All of my installs are clean installs as OTA updating with microg presents problems. It is present 100% of the time on fresh installs that I tried, which was about 10 or 12 just to make sure.

Does anyone have any idea what might be causing this now all of a sudden?

Thanks


Edit - It turns out that I had a corrupt file. I wasn't able to delete it while the OS was running and had to remove it with the file manager in TWRP.
 
Last edited:

thetallguy

Member
Nov 21, 2012
29
15
Auckland
Flash the last stock 8.1.0 image first, dont forger to remove the -w in the flash-all script if you dont want to format your internal memory ;)

Android is usually forwards compatible i.e. you can upgrade and the new version will do what it needs to make the stuff in /data compatible. It is NOT backwards compatible. The old version will not know how to convert stuff in /data to an old format. So giving advice to not format /data in this case is wrong. It may cause problems.

To the original question, if you are running stock standard Google's version 9 you can install LOS 15.1 (Android 8.1) as long as you use the bootloader, vendor and modem from the first post, and you follow the instructions. Don't forget to write to both slots. You will need to format /data. So make sure that you have copied off all your photos, videos, SMS messages and anything else you want to keep.
 

conundrew

Member
Feb 20, 2019
14
1
Can someone please help? I've followed these exact steps for my Pixel and now the screen now just goes black after the google screen when I reboot.
 

conundrew

Member
Feb 20, 2019
14
1
you have to make sure you have the correct radio vendor and boot image installed first.

I have a 2016 Google Pixel so I got the following .zip, images, etc.:

-lineage-15.1-20190220-nightly-sailfish-signed.zip
-twrp-3.2.3-1-sailfish.img
-twrp-pixel-installer-sailfish-3.2.3-1.zip
-open_gapps-arm64-8.1-pico-20190209.zip
-bootloader-sailfish-8996-012001-1711291800.img
-radio-sailfish-8996-130091-1802061512.img
-vendor-sailfish-opm4.171019.021.p1.img

I tripled checked every single one of these files to make sure they were the correct versions for my phone, but I may have missed something? :confused:
 

conundrew

Member
Feb 20, 2019
14
1
you have to make sure you have the correct radio vendor and boot image installed first.

I have a 2016 Google Pixel so I got the following .zip, images, etc.:

-lineage-15.1-20190220-nightly-sailfish-signed.zip
-twrp-3.2.3-1-sailfish.img
-twrp-pixel-installer-sailfish-3.2.3-1.zip
-open_gapps-arm64-8.1-pico-20190209.zip
-bootloader-sailfish-8996-012001-1711291800.img
-radio-sailfish-8996-130091-1802061512.img
-vendor-sailfish-opm4.171019.021.p1.img

I tripled checked every single one of these files to make sure they were the correct versions for my phone, but I may have missed something? :confused:

Anybody??
 

conundrew

Member
Feb 20, 2019
14
1
Hi. I followed the instructions in the original post but needed to note two things. First, format data not wipe. Make sure that if you have anything important that it is copied elsewhere or backed up. Second, after installing MindtheGapps I needed to swap the slots. I got a black screen before swapping the slots.

Looks like that did the trick! Thank you so much!!! :D
 

thetallguy

Member
Nov 21, 2012
29
15
Auckland
.The 20180911 build seems to be the last build built "BUG FREE" due to forum reading on the thread that the last person posted being bug free.This build 20180728 might be buggy as well i have no clue i am just doing my best with what i have to help you.

Hi. My Pixel XL is now my daily driver since early January. I am now on the 14 Feb release via OTA. Everything is working for me on my cellular service provider and my home and work WiFi. Everything I care about is working. It is bug free enough for me.
N.B. I am not rooted and I have no changed kernel, just LineageOS and Mind The GAPPS from the original post.
 

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