[ROM][OFFICIAL] LineageOS 15.1 for Nexus 6P (angler)

nexus056

New member
Sep 1, 2018
3
0
0
Hello! I may need some help with installing lineageos on my nexus 6p . I followed the instructions provided by the lineageOS instruction page for Angler carefully:

-Set the phone with USB debug and unlock bootloader, and installed adb and fastboot tools on my linux mint desktop, and confirmed they can see the phone with "adb devices" and "fastboot devices"

Flashed TWRP using
Code:
fastboot flash recovery twrp-3.2.3-0-angler.img
Flashed "bootloader-angler-angler-03.79" , "radio-angler-angler-03.87" & "vendor-angler-OPM6.171019.030.H1" using

Code:
fastboot flash bootloader bootloader-angler-angler-03.79.img
fastboot flash radio radio-angler-angler-03.87.img
fastboot flash vendor vendor-angler-OPM6.171019.030.H1.img
All without a single glitch.

At this point, I am stuck because when I try to format the /data partition via TWRP, I get the following errors:

Code:
Data successfully decrypted, new block device: '/dev/block/dm-0'
Updating parition details...
... done
Successfully decrypted with default password.
Updating partition details...
...done
Full SELinux support is preswent.
MTP Enabled
Formatting Data using make_ext4fs...
Failed to mount '/data' (Device or resource busy)
Failed to mount '/data' (Device or resource busy)
Unable to recreate /data/media folder.
You may need to reboot recovery to be able to usde /data again.
Updating parittion details...
Failed to mount '/data' (Device or resource busy)
...done
Unable to mount storage
I also noticed, when I reboot the phone, and go into the bootloader and select the "REVOVERY" option, I get a screen with "no command" like TWRP was no longer available. I need to re-flash it using fastboot then I can reboot the phone and access TWRP again... I dont think this is normal.
 

ipdev

Senior Member
Feb 14, 2016
1,152
1,150
123
@nexus056
I normally wipe user data in fastboot.
fastboot erase userdata

After Format Data in TWRP you need to reboot into TWRP recovery.
Then Wipe -> Advanced -> select all and Wipe. Then reboot into TWRP Recovery.
For good measure I normally do a Wipe -> Factory Reset -> Reboot into TWRP recovery.

Then install from there.

Edit:
There it is. Welcome to the xda website.
For some reason I only saw you post on the xda-labs app and not the website?
 
Last edited:

nexus056

New member
Sep 1, 2018
3
0
0
@nexus056
I normally wipe user data in fastboot.
fastboot erase userdata

After Format Data in TWRP you need to reboot into TWRP recovery.
Then Wipe -> Advanced -> select all and Wipe. Then reboot into TWRP Recovery.
For good measure I normally do a Wipe -> Factory Reset -> Reboot into TWRP recovery.

Then install from there.

Edit:
There it is. Welcome to the xda website.
For some reason I only saw you post on the xda-labs app and not the website?
Thanks for the reply ipdev!

Just a bit after posting here, I managed to try formatting /data and of course it failed, but noticed in the top portion of the screen that it was saying "Succeded" or "Successful". I tought rebooting the phone and trying once more to reformat the partition, and it worked this time. Not sure what happened....

So for those experiencing the same, reboot and retry, the second time it will format and wont display errors at all.

Now LineageOS is fully installed with SU and Gapps and the phone is working perfectly!
 

Sig00

Member
Jan 3, 2014
7
1
0
Tried updating to the newest nightly but my phone would bootloop from it. So I tried to flash the newest vendor image and it still bootloops. I think I need to do a completely clean install because something is messed up, but fastboot won't even list my device for some reason when I do fastboot devices, any idea why?
 

Kurogane Jan

Member
Sep 10, 2016
17
4
0
Tried updating to the newest nightly but my phone would bootloop from it. So I tried to flash the newest vendor image and it still bootloops. I think I need to do a completely clean install because something is messed up, but fastboot won't even list my device for some reason when I do fastboot devices, any idea why?
Do you use magisk and updated to v17.0 recently?
There is an compatibility issue between v16 and v17 which reportedly causes bootloops.
The solution is to first flash the uninstall.zip and reflash magisk.
 

ShadowJP88

Senior Member
May 5, 2015
78
9
28
I install the last nightly and Majisk isn't working anymore (v17)
I tried to install it again and it didn't work with the zip file from the update.
Which file should I use to install Majisk again ?
 

Taomyn

Senior Member
Jul 12, 2006
806
144
0
Luxembourg
I install the last nightly and Majisk isn't working anymore (v17)
I tried to install it again and it didn't work with the zip file from the update.
Which file should I use to install Majisk again ?
Download the Magisk 17.1 zip and the latest uninstaller. Flash the uninstaller first, then the main zip and that should sort it. I got an error the first time it tried to update from 16.4, not the severely broken 16.0, and that sorted me out.

Sent from my Nexus 6P using Tapatalk
 
  • Like
Reactions: ShadowJP88

gnabtib8

Senior Member
Jan 8, 2016
528
267
73
I've been updating both magisk, lineage, vendor, bootloader and radio to the latest without any issues. I don't use custom kernels on my Nexus 6p so that might be why. Can anyone else confirm their setups to help other users pinpoint problems? I know from my HTC phone experience, other users were having issues with WiFi/bootloops when using certain custom kernels with their setups upon updating magisk to 17.0+
 

Amohell

New member
Apr 2, 2012
2
0
0
@razorloves On page 85-90 you said livedisplay should work, although I can't get it to on my Nexus 6p.
Only the "Outdoor option" seems to work, after switching back to automatic nothing happens only selecting "off" actually disables it, Neither Day or Night do anything.

Should I reflash the rom, or is this is a known issue?

Thanks
 

razorloves

Senior Member
Sep 19, 2007
3,053
14,161
263
Miami
@razorloves On page 85-90 you said livedisplay should work, although I can't get it to on my Nexus 6p.
Only the "Outdoor option" seems to work, after switching back to automatic nothing happens only selecting "off" actually disables it, Neither Day or Night do anything.

Should I reflash the rom, or is this is a known issue?

Thanks
you flashed a custom kernel so stuff is going to be broken
 

F_R_I_T_Z

Senior Member
Jan 14, 2008
297
20
38
I'm curious, maybe someone already answered this before...
Why the default lineage camera inside the 6P lack the most of functions like hdr, etc? any limitation? Problem?
The lineage official for nexus 6p image doesn't have apps like Video Editing? Some kind of restriction?

I'm just curious.
Thank you..
 

nexus056

New member
Sep 1, 2018
3
0
0
So far all is well with 15.1 on my 6p, with the minor exception of DnD which suffers from the same bug as in stock android. That is, I have a rule set to totally mute the phone from 9pm to 7am the next day (sleep time). For some reasons, at 7am the next day DnD is not disabled and the phone stays muted all day long which makes me miss my calls/reminders unless I manually disable DnD...

Anything to do with this?
 

razorloves

Senior Member
Sep 19, 2007
3,053
14,161
263
Miami
The changes from google's september security update have been merged. :D
https://github.com/LineageOS/androi...mmit/b93db22ae8ec23eeda8a0fb7c26c0d69f99b40f2
https://github.com/LineageOS/androi...mmit/bf7f9b039d1af8d1df66998d22501280a95171e7
https://github.com/TheMuppets/propr...mmit/9c748792eef6cec04453686a0a48ac2a6de08f98
https://review.lineageos.org/#/q/topic:android-8.1.0_r46

So, you'll need the new september vendor img for the next lineage build, which should come out tomorrow, like normal..
The radio and bootloader img's are the same as in last month's update from google, so no need to flash them.
I extracted the img's from the september OPM6.171019.030.K1 factory image. You can get them here:
https://androidfilehost.com/?w=files&flid=282066
 
Last edited:

eater99999

Senior Member
Sep 16, 2010
57
7
28
20180625 is working perfectly for me except for one oddity: when I leave the phone untouched for an hour or so, all the notifications disappear from the status bar and the pulldown, including persistent ones like the Tasker icon. They don't come back until I reboot, although new messages, emails, etc. will create new notifications.

What could be causing that?

PS: Tasker, SMS app, etc are set to "Not optimized" in battery optimization settings -- that was the first thing I checked.
Anybody else having this problem? Any guess as to the cause? I'm up to the latest nightly and it hasn't gone away and I hate it.