• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

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

Elektroschmock

Recognized Developer
Dec 25, 2010
1,021
4,517
113
Winnenden
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
0
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

Elite Member
Apr 23, 2008
1,018
143
63
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
0
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

Elite Member
Dec 25, 2010
1,029
284
0
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

Elite Member
Mar 11, 2009
1,658
879
113
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
19
2
0
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

Elite Member
Apr 23, 2008
1,018
143
63
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
0
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
0
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
19
2
0
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

Elite Member
Apr 23, 2008
1,018
143
63
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

Elite Member
Dec 25, 2010
1,029
284
0
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
19
2
0
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,021
4,517
113
Winnenden
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.