[Google Pixel 2 ROMs, Kernels, Recoveries, & Other ] GuestK00233:
MODERATOR EDIT: THREAD CLOSED

OP, to have this thread re-opened, please see the PM I sent you and reply.

This is from the Latest AOSP code as of this post.

README:

I was bored and wanted to flash my Pixel 2 with a clean AOSP rom, but after searching XDA, Google and twitter I decided that no one cared to make one despite the phone being out for some time now. So I decided that I had to do it my self. This ROM is a flashable on a unlocked Pixel 2 via TWRP This is Pure AOSP except of course for the vendor partition. IF you like it I can keep teaching myself how this stuff works as I have a lot of free time and 2 days ago had no idea how to build a ROM. Im here to help if you want to build stuff too, I feel like this device deserves more custom software.

NOTE: GApps on 8.1 will only show up after MAgisk is applied so flash that first if you plan to Googleify this ROM

NOTE 2: AOSP dosent include Active Edge support or any Google apps out of the box, Yalp and F-Droid are a couple of good options for installing APKs as the Webview browser now included in AOSP is very limited and can not download APK files.

Basic install (You will lose all data, not erasing the data would cause problems anyway):

1. Unlock your Bootloader using fastboot (fastboot flashing unlock)

2. Download the latest TWRP and boot it (fastboot boot '/home/ahron/twrp-3.2.1-0-walleye.img')

3. Sideload the ROM after turning on sideload under advanced in TWRP, or push the APK to the device with (adb push /sdcard) and flash from there

OPTIONAL:

- After Booting the device install F-Droid by pushing it over adb or using the (adb install) command

-Flash the latest beta of Magisk NOTE: You need to do this before trying to flash OpenGApps or they will not show up.

-Flash the latest 8.1 beta of your prefered OpenGapps package

If you you cant figure anything out here try to look it up, I didnt understand any of this until I did and no one showed me the way. Do you know da way? But if all else fails send me your questions and ill do my best.

MOD EDIT: DOWNLOAD LINKS REMOVED

HELP REQUEST: Id like to update this in the future and have tested an ota a built but due to the A/B partitions im confused, can someone please explain how to avoid activating the seemless update partition switch from A to B for me, Id really appreciate a detailed explinations, reading the forums isnt making a lot of sense to me, seems like thered be a way to code it into your zip file like Magisk does.

Noticed AOSP has the wrong APN for tmobile, you can use this info from their site.

Name: T-Mobile US LTE

APN: fast.t-mobile.com

Proxy: <Not set>

Port: <Not set>

Username: <Not set>

Password: <Not set>

Server: <Not set>

MMSC: http://mms.msg.eng.t-mobile.com/mms/wapenc

Multimedia message proxy: <Not set>

Multimedia message port: <Not set>

MCC: 310

MNC: 260

Authentication type: None

APN Type: default,supl,mms OR Internet+MMS

Default Android provides a text field to enter: default,supl,mms

Samsung provides an Internet+MMS radio button to select.

APN protocol: IPv6

APN roaming protocol: IPv4

Turn APN on/off: APN turned on

Bearer: Unspecified

Mobile virtual network operator type: None

Mobile virtual network operator value: <Not set>