[ROM][(UN)OFFICIAL] LineageOS 16.0 for Nexus 6 (shamu)

Search This thread

Elektroschmock

Recognized Developer
Dec 25, 2010
1,053
4,635
Winnenden
Nexus 7 (2013)
Nexus 6
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. And if you would like to contribute to LineageOS, please visit our Wiki.

Important Info
DON'T USE TWRP 3.0.2-0 OR OLDER WITH LINEAGEOS. IT DOES NOT WORK CORRECTLY. USE VERSION 3.2.1.0 HERE

Current lineage 16.0 shamu nightlies are based on the N6F27M October 2017 update from google.
So you should be using the radio and bootloader img from that update.
If you already have those you don't need to flash them again.
They can be extracted from the factory image on google's site here.
Or you can use the ones linked below that I already extracted:

radio-shamu-d4.01-9625-05.45+fsg-9625-02.117.img
bootloader-shamu-moto-apq8084-72.04.img

IMPORTANT NOTE FOR VERIZON USERS: Google released a separate October 2017 security update (NGI77B) just for verizon users that has a different radio. So you'll want to flash it. I repeat, THIS RADIO IS JUST FOR VERIZON USERS.

radio-shamu-d4.01-9625-05.51+fsg-9625-02.118.img

You can use fastboot to flash the bootloader and radio.

More information and installation instructions can be found on the LineageOS wiki here.

Download Links
LineageOS OFFICIAL: https://download.lineageos.org/shamu
Latest build dates back to april 1st 2020 and there will be no new OFFICIAL builds as shamu has been promoted to LineageOS 17.1.

LineageOS UNOFFICIAL: lineage-16.0-20201107-UNOFFICIAL-shamu.zip
Includes November 2020 Android Security Bulletins.
Here is its md5sum.

Google apps: MindTheGapps or OpenGAPPS <= nano

HEADS UP:
  • When you initially install LineageOS, be sure you flash the gapps package with your ROM. If you boot your ROM, then go back and try to flash gapps after, you're gonna have a bad time.
  • If you are migrating from an OFFICIAL build to the UNOFFICIAL build you have 2 options:
    1. Wipe data and do a clean install of UNOFFICIAL build
    2. Dirty flash thanks to an intermediate MIGRATION build
      First flash the MIGRATION build (lineage-16.0-20200430-MIGRATION-shamu.zip md5sum), boot to it and then flash the UNOFFICIAL build and boot to it.

SU addon zip: Addon Install zip / Addon Removal zip
NOTE: LineageOS does not come with root, so this is now provided for those that want it.
The install zip is a one time flash, like gapps.
Meaning, it persists when updating to a new LineageOS nightly.

Changelog

Builddate: 2019.03.01
Changes:
[new] Initial LineageOS 16.0 release

Known Issues:
[bug] Trusted voice is not working and probably never will
[bug] TWRP is not able do decrypt your data if you encrypted it with lineage-16.0
[bug] IMS is not working - if you need it you have to stay on lineage-15.1

You're also welcome to use npjohnson's personal builds, but these are experimental, and likely to destroy your data. These builds include GApps, and Pixel-Goodies, among other things -- you'll find no support for these, so please don't discuss these here.

XDA:DevDB Information
LineageOS, ROM for the Nexus 6

Contributors
Elektroschmock, Elektroschmock, dwardo
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.10.x

Version Information
Status: Nightly

Created 2019-03-01
Last Updated 2020-11-07
 
Last edited:

mezerr

Senior Member
Aug 4, 2015
143
52
Clean flashed Lineage 16.0, Gapps 9.0 Mini, Magisk 18.0. I was not encrypted on LOS 15.1

Edit: Had a hiccup on the setup screen (phone froze). Restarted and all good.

Edit: Pixel Launcher doesn't seem work for me. Crashes every time going to home screen. Had to go to APKMIRROR and download latest version. Was working for 5 minutes or so, but now crashes again. Still messing with it.

Edit: Clean flashed a second time with 16, Gapps 9.0 FULL, and Magisk 18.0. Setup screen froze again. I'm gonna restore my 15.1 backup as I've run out of time to mess around.

FYI - I'm not looking for help.. just posting my experience.
 
Last edited:

wrsg

Senior Member
Apr 23, 2008
1,019
143
in a cage
Confirming everything is good here with 16.0.

I basically followed the steps on the LOS wiki (upgrading from 15.1, unencrypted, no wiping-data):

1. Format /system partition in TWRP
2. Sideload 16.0 ROM
3. Sideload Opengapps 9.0
4. Sideload Magisk
5. Reboot

Everything working.

Only thing I noticed (which may be just how Lineage OS is designed) was my homescreen setup was overwritten by the Lineage OS defaults so I had to set up widgets again.
 
Last edited:

amroj

Senior Member
Sep 1, 2017
50
7
Hi, I lost the /data partition (error: Failed to mount '/data' (Device or resource busy)), how to get it back?

Initially I had the latest 15.1, and did all instructions to my best understanding. All went well, but when I was ready to finally reboot, TWRP 3.2.1.0 said I have no OS installed. Then I formatted data, and the problems started.

EDIT: /data became OK after I rebooted to recovery. Now I installed again the same way, before final reboot TWRP said I have no OS installed. But I ignored that and rebooted. Now the system seems to work, at least I'm currently settings up the phone again.

But the question is: why does TWRP inform that I have no OS installed?? Any ideas?
 
Last edited:

BootloopedMillennials

Senior Member
Dec 25, 2010
1,052
294
Google Pixel 6
Confirming everything is good here with 16.0.

I basically followed the steps on the LOS wiki (upgrading from 15.1, no wiping-data):

1. Format /system partition in TWRP
2. Sideload 16.0 ROM
3. Sideload Opengapps 9.0
4. Sideload Magisk
5. Reboot

Everything working.

Only thing I noticed (which may be just how Lineage OS is designed) was my homescreen setup was overwritten by the Lineage OS defaults so I had to set up widgets again.

This method worked for me as well. :good:
 
  • Like
Reactions: Lotek

githyanki

Senior Member
Mar 11, 2009
1,662
879
Edmonton
Hi, I lost the /data partition (error: Failed to mount '/data' (Device or resource busy)), how to get it back?

Initially I had the latest 15.1, and did all instructions to my best understanding. All went well, but when I was ready to finally reboot, TWRP 3.2.1.0 said I have no OS installed. Then I formatted data, and the problems started.
Probably need to add that to OP. You cannot be encrypted. Need to format (not wipe) user data partition in TWRP. You will lose everything there, so backup to PC or usb flash drive.
 

everdium

Member
Sep 18, 2018
21
6
TWRP 3.2.1-0
data was formatted and encrypted with Lineage 14, upgraded to 15 and now 16.

Flashed LineageOS 16.0 + MindTheGapps + Magisk 18.1

After reboot: message from OS: your password is correct but the data is corrupted, factory reset is needed

Tried to reboot to TWRP: password not correct

Rebooted to OS and did factory reset: same message (password correct but data corrupted).

I have an offline backup on a PC with LineageOS 15 + data.

Wiping data does not help (same problem after reboot), I guess I have to format it.

Ideas ?
 
Last edited:

wrsg

Senior Member
Apr 23, 2008
1,019
143
in a cage
TWRP 3.2.1-0
data was formatted and encrypted with Lineage 14, upgraded to 15 and now 16.

Flashed LineageOS 16.0 + MindTheGapps + Magisk 18.1

After reboot: message from OS: your password is correct but the data is corrupted, factory reset is needed

Tried to reboot to TWRP: password not correct

Rebooted to OS and did factory reset: same message (password correct but data corrupted).

I have an offline backup on a PC with LineageOS 15 + data.

Wiping data does not help (same problem after reboot), I guess I have to format it.

Ideas ?

sideload
 

rivernov

Senior Member
Dec 11, 2012
69
14
TWRP 3.2.1-0
data was formatted and encrypted with Lineage 14, upgraded to 15 and now 16.

Flashed LineageOS 16.0 + MindTheGapps + Magisk 18.1

After reboot: message from OS: your password is correct but the data is corrupted, factory reset is needed

Tried to reboot to TWRP: password not correct

Rebooted to OS and did factory reset: same message (password correct but data corrupted).

I have an offline backup on a PC with LineageOS 15 + data.

Wiping data does not help (same problem after reboot), I guess I have to format it.

Ideas ?

Same here
 

L.F.B.

Senior Member
Feb 29, 2012
824
357
Well, the good old stability and smoothness of LOS!

All pretty fine here! Franco Kernel working fine!

Please dev. Any root solution to remove brighness slider from quick settings?
 

everdium

Member
Sep 18, 2018
21
6
I formatted data, rebooted and now in the LineageOS 16 initial setup.

If that works, the only problem is how to restore the data partition from the LOS 15 backup.

It worked. After a reboot, its now reinstalling all my apps.

There is still the matter of restoring the LOS 15 backup but I have all my data in the cloud. Maybe its better not to restore the backup and see whatever settings need to be reapplied manually.

But now my data is encrypted by LineageOS 16 and the OP says that TWRP can not decrypt it.
 

wrsg

Senior Member
Apr 23, 2008
1,019
143
in a cage
So format data and then sideload LineageOS 15 or 16 ?

OP says that data can not be decrypted by TWRP if encrypted by LOS 16.

Did you try doing that, in spite of TWRP not being able to decrypt it? What error did you get?
edit: I guess it's too late for you to try this, I didn't read your latest reply until after typing that.



---------- Post added at 04:07 PM ---------- Previous post was at 04:05 PM ----------

It worked. After a reboot, its now reinstalling all my apps.

There is still the matter of restoring the LOS 15 backup but I have all my data in the cloud. Maybe its better not to restore the backup and see whatever settings need to be reapplied manually.

But now my data is encrypted by LineageOS 16 and the OP says that TWRP can not decrypt it.

I had the same issue, I solved it by using an option from inside the Android settings, I think it was reset phone or something like that.
 

BootloopedMillennials

Senior Member
Dec 25, 2010
1,052
294
Google Pixel 6
Well, the good old stability and smoothness of LOS!

All pretty fine here! Franco Kernel working fine!

Please dev. Any root solution to remove brighness slider from quick settings?

Umm, is Franco Kernel even being updated for the Shamu anymore? It doesn't seem so, not sure why you are even flashing it. It'll be behind on performance and security updates.
 
Last edited:
  • Like
Reactions: L.F.B.

everdium

Member
Sep 18, 2018
21
6
Did you try doing that, in spite of TWRP not being able to decrypt it? What error did you get?
edit: I guess it's too late for you to try this, I didn't read your latest reply until after typing that.



---------- Post added at 04:07 PM ---------- Previous post was at 04:05 PM ----------



I had the same issue, I solved it by using an option from inside the Android settings, I think it was reset phone or something like that.

So after the problems with mounting data, I formatted it with TWRP. Rebooted, finished the LOS 16 setup and all my apps where reinstalled.

Everything seems to work and guess what, I rebooted into TWRP and it is able to read everything on data. The strange thing is, it doesn't ask for the PIN.

Maybe its not encrypted ? I thought LineageOS 16 would encrypt it on install. How can I check ?
 
Last edited:

Elektroschmock

Recognized Developer
Dec 25, 2010
1,053
4,635
Winnenden
Nexus 7 (2013)
Nexus 6
So after the problems with mounting data, I formatted it with TWRP. Rebooted, finished the LOS 16 setup and all my apps where reinstalled.

Everything seems to work and guess what, I rebooted into TWRP and it is able to read everything on data. The strange thing is, it doesn't ask for the PIN.

Maybe its not encrypted ? I thought LineageOS 16 would encrypt it on install. How can I check ?

LineageOS 16.0 does not force the encryption of your data. If you need a bit of security you can encrypt your data from within settings.

I wonder why some of you have problems with upgrading. I tried several combinations. Perhaps because TWRPs format is also broken and you didn't use the fastboot format command.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 71
    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. And if you would like to contribute to LineageOS, please visit our Wiki.

    Important Info
    DON'T USE TWRP 3.0.2-0 OR OLDER WITH LINEAGEOS. IT DOES NOT WORK CORRECTLY. USE VERSION 3.2.1.0 HERE

    Current lineage 16.0 shamu nightlies are based on the N6F27M October 2017 update from google.
    So you should be using the radio and bootloader img from that update.
    If you already have those you don't need to flash them again.
    They can be extracted from the factory image on google's site here.
    Or you can use the ones linked below that I already extracted:

    radio-shamu-d4.01-9625-05.45+fsg-9625-02.117.img
    bootloader-shamu-moto-apq8084-72.04.img

    IMPORTANT NOTE FOR VERIZON USERS: Google released a separate October 2017 security update (NGI77B) just for verizon users that has a different radio. So you'll want to flash it. I repeat, THIS RADIO IS JUST FOR VERIZON USERS.

    radio-shamu-d4.01-9625-05.51+fsg-9625-02.118.img

    You can use fastboot to flash the bootloader and radio.

    More information and installation instructions can be found on the LineageOS wiki here.

    Download Links
    LineageOS OFFICIAL: https://download.lineageos.org/shamu
    Latest build dates back to april 1st 2020 and there will be no new OFFICIAL builds as shamu has been promoted to LineageOS 17.1.

    LineageOS UNOFFICIAL: lineage-16.0-20201107-UNOFFICIAL-shamu.zip
    Includes November 2020 Android Security Bulletins.
    Here is its md5sum.

    Google apps: MindTheGapps or OpenGAPPS <= nano

    HEADS UP:
    • When you initially install LineageOS, be sure you flash the gapps package with your ROM. If you boot your ROM, then go back and try to flash gapps after, you're gonna have a bad time.
    • If you are migrating from an OFFICIAL build to the UNOFFICIAL build you have 2 options:
      1. Wipe data and do a clean install of UNOFFICIAL build
      2. Dirty flash thanks to an intermediate MIGRATION build
        First flash the MIGRATION build (lineage-16.0-20200430-MIGRATION-shamu.zip md5sum), boot to it and then flash the UNOFFICIAL build and boot to it.

    SU addon zip: Addon Install zip / Addon Removal zip
    NOTE: LineageOS does not come with root, so this is now provided for those that want it.
    The install zip is a one time flash, like gapps.
    Meaning, it persists when updating to a new LineageOS nightly.

    Changelog

    Builddate: 2019.03.01
    Changes:
    [new] Initial LineageOS 16.0 release

    Known Issues:
    [bug] Trusted voice is not working and probably never will
    [bug] TWRP is not able do decrypt your data if you encrypted it with lineage-16.0
    [bug] IMS is not working - if you need it you have to stay on lineage-15.1

    You're also welcome to use npjohnson's personal builds, but these are experimental, and likely to destroy your data. These builds include GApps, and Pixel-Goodies, among other things -- you'll find no support for these, so please don't discuss these here.

    XDA:DevDB Information
    LineageOS, ROM for the Nexus 6

    Contributors
    Elektroschmock, Elektroschmock, dwardo
    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 3.10.x

    Version Information
    Status: Nightly

    Created 2019-03-01
    Last Updated 2020-11-07
    29
    Any chance of lineage OS 17 for Nexus 6 ?
    Just want to know is there any development going on ?

    Yes I am porting android 10 to shamu. But as stated before there could be some problems which could block an official release.

    Right now everything works so far except:
    * de- /encryption
    * seamless upgrade from 16.0

    Lineage official takes a lot longer to update to new versions. You will find a lot of android 10 ROM's son enough, then some unofficial lineage 17 builds, and eventually official lineage 17.
    In other words, look in the threads for other ROMs for progress.
    Bliss and havoc have had a few comments from their developers.

    I wouldn't that say that we take longer - it's just that we have higher standards. ;)
    I don't know how Bliss or Havoc people could know anything about shamu's current development status, as they only take the code I have already pushed to LineageOS's gerrit.
    AFAIK there is no development from their side - so here would be the best place to ask.
    28
    Hello,

    My name is Sam Envattings and I live in a small village in North Europe, and I am quarantained like probably a lot of people right now. Fighting to not become crazy :). I just bought a Nexus 6, I am really looking forward for Lineage 17.

    I would like to ask very kindly ( i don't mean to pressurize anybody ), it just more to aquire to have some insight about the latest development around Los 17. Maybe Electrosmock can tell us something? I hope you kind developpers find the energy and time to support us.

    Kind Regards

    So I finally had some time to work on LineageOS again and managed to fix two of the three remaining blockers for official builds.
    Camera and Decryption should work now. Will need some more testing though.
    Last thing to fix should be selinux policies.

    Dear Wavedashdoc,

    First of all thank you to do the trouble to type a reply:cool:. I am really sorry to hear that Electroschmock is injured. Can we send him money to enlighten his suffering? I am willing to donate 50 euro.:crying:

    Thank you for the information, I will check also AOSIP 8.1:good:

    Thanks for your offer, but it's really not needed. I just smashed my shoulder in a mountainbike accident and it still hurts when working long hours in front of a computer.
    As my pais job is mainly infront of a computer I don't have too much fun working on android in addition.
    Thats's why everything took a bit longer then I hoped it would.
    23
    Hey! Nice ROMs, these Lineage OS 16.0 and 15.1, thanks for all hard work!
    But, can we expect a Lineage OS 17.0 development for the Nexus 6?
    That will be really great!

    I am already working on LineageOS 17.0, but that doesn't necessarily mean that I am ever going to ship it.
    22
    I got source code from lineage official repos, built lineage-17.1 shamu for my own test purpose only. It works great, already bump to January security patches myself. Magisk issue has been solved temporarily. Sometimes camera won't get up until system reboots. The battery percentage on status bar never showed up. (My bad, the PIN is alright.)

    WeChat cannot login normally, I grap a log shows
    Big thanks to Kim Le(@Elektroschmock) making great efforts maintaining this.

    You might try this:
    https://review.lineageos.org/c/LineageOS/android_device_moto_shamu/+/267662

    I did that patch a long time ago, but wasn't able to push it.

    I think its quite rude to discuss another build other than the OP's. So I think its time to take it to pm's or make your own thread.

    If it's not going too offtopic I'm OK with it. I can understand that people got nervous because I haven't updated such a long time.

    It's completely related to the thread, I don't see the problem. People are just trying to get the new build working and discussing the issues in the current build thread. I guess what could be done is to make a thread for the new 17.1 build but this doesn't seem offtopic.

    I haven't done a 17.1 thread yet as there are still some bug left which should be fixed before I do a beta.