yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
We're official now

As you probably noticed, the OP changed a bit.

That's because we went Official today!

As that includes moving to Official builds that are custom signed with out production keys and without GApps, some things need to be addressed. I added a Notice section in the OP accordingly.

For all news please read https://plus.google.com/+CarbonROM/posts/iF2JdnGE7qM

Important Notice: As the signatures changed, that means you MUST perform a clean install. You can't dirtyflash from the testing keys to

production. Don't worry though, the production keys won't ever change, so you only need to do this once ;)

Thanks to everyone who helped in testing and allowing to make this possible.

And with that: Happy Flashing!!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] crazykas:
i falshed the ROM>TWRP and swap to slot B and flashed Flash kernel.Got it to a bootloop and rebooted back to TWRP. Any fix?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] adinkwok:
Check this out.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Namolas:
If you are flashing the newest official build I cannot comment as I haven't downloaded it yet. But on every previous ROM for Taimen you must install ROM+TWRP and reboot and setup phone before installing kernel or Magisk.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] crazykas:
Thanks both and yes im on latest build i guess (20180331-1029). I managed to flash ROM and Flash kernel , however then i got to know gapps are missing. Flashing again with gapps
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] adinkwok:
You don't want to know how many times I messed up my data by forgetting to flash GApps during its testing phase :crying:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] adinkwok:
No need to reboot to system first, you can just reboot recovery because it has to do with writing to the active system slot
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] crazykas:
:crying::crying::crying: :o:o:o thanks mate really appreciate both of ya help!!! :good::good::good:

---------- Post added at 03:56 AM ---------- Previous post was at 03:47 AM ----------

messed up again :crying::crying: flashed ROM + TWRP then reboot to recovery and flashed GAPPS + KERNEL + MAGISK. Bootloop and rebooted to recovery. Flashing March factory images again and will try flashing GAPPS> reboot to system > Recovery > KERNEL. Any method to skip flashing factory images every time i messed up or it is a must on every time?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ilal2ielli:
Have to boot once to ROM before flashing Magisk.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] crazykas:
Hi [MENTION=3816568]Myself5[/MENTION] , thanks for this fabulous ROM!!!. I do have a request.

1. Could you add the function when we tap and change location settings (single tap - enable , double tap - normal accuracy , triple tap - high accuracy) on location icon via quick settings menu?

2. Could you add smart bar for navigation key settings?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] shiftr182:
So in order to flash this ROM we have to use Carbons recovery? We can't use the regular TWRP that every other ROM uses?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MikereDD:
Per their G+ post

For Pixel 2 XL users:

Flashing is still a slightly complicated. A detailed installation guide will be posted in our XDA thread tomorrow.

Due to our custom keys, you must install our custom TWRP builds with our updater_engine keys. You can find that at https://basketbuild.com/devs/CarbonROM/taimen/TWRP.

In order to install GApps, you must flash the ROM then reboot into TWRP before flashing our custom GApps package (as this switches slots). Custom GApps package can be found at https://mirror.myself5.de/taimen/GApps.

Also, we know the default wallpaper on taimen is black. We know it's caused by the RRO overlays on vendor, you can change it without complications though.

We know it’s complicated, but it sure is worth it!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] shiftr182:
Thanks. I'm going to pass on this ROM in that case. I don't see any reason why I should have to use a custom version of TWRP in order to flash a ROM. I mean I like Carbon and all, but making us use their own recovery to flash their ROM is a bit absurd.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
How much more clear have I needed to be in that post then? Our zips and apps are signed with custom keys in order to provide an advanced level of security (par example, Lineage and DU do that on their releases too). For A/B devices however, this means that the payload.bin is signed with our keys too. That signature is compared against /etc/updater_engine/updater-key.pem.pub. This key is baked into TWRP, therefore we needed to edit it and replace the key. We didn't do that because we felt like "hey let's just force them to use our recovery". This is a mandatory step with Googles A/B zip verification.

As said before we're working on including TWRP by default, that would then also in include our keys so that the custom key stuff only needs to be done once and can then be forgotten. I'm also going to talk to Dees_Troy about it, maybe this can be added to the skip signature step and eventually be included by the signature injecting. Till now however, it is what it is. We value our users security and try to work on an OEM level experience and in order to achieve that, the above is needed.

I know this sounds all new and stupid. I can totally understand that. But unfortunately it is what it is, and we rather guide you through additional install steps than have an impact on security just so that the install experience is better. Check out Googles guide on signing for more info on why everyone should want custom keys https://source.android.com/devices/tech/ota/sign_builds

This is no specific to Carbon either. All ROMs signed with custom keys will require that. Probably one of the reasons why we were the first ROM with custom keys to go official.

P.S. We never finished our tests on taimen so we can't guarantee it's fully working, but custom signatures are a step forward to allow relocking the bootloader while running CarbonROM. We had and have that working on All Google devices except for the Pixel 2 so far as that requires additional steps for AVB2.0 (IKR, ew, even more custom stuff for security).

I hope that clears it up. If someone is concerned about our custom TWRP being insecure or modded badly, I will also gladly provide the updater key so everyone can edit TWRP on their own.

EDIT: https://xdaforums.com/showpost.php?p=76090685&postcount=575

Regards,
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] t0pstar:
Hey any plans for dark mode in further ,?

The ROM works great only issus is my quicksetting

Gesendet von meinem Pixel 2 XL mit Tapatalk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
Yep, darkmode is planned (I mean, afterall the codename is Noct, would be a shame if we didn't have a dark mode, right? :D).

Keep in mind, that Carbon is fully compatible with Substratum, so you can just download Subs from the Play Store, flip the switch in CarbonFibers -> Privacy and you're good to go.

I assume the issue with Quicksettings you're refering to is that the text turns white when you set a dark background? Seems to be an conflicting issue with the stock themes on /vendor, working on fixing that.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] crazykas:
im using official TWRP without any issue

---------- Post added at 03:25 PM ---------- Previous post was at 03:24 PM ----------

Hi [MENTION=3816568]Myself5[/MENTION] ,i did ask those question a while ago and did not get any reply. So

1. Could you add the function when we tap and change location settings (single tap - enable , double tap - normal accuracy , triple tap - high accuracy) on location icon via quick settings menu?

2. Could you add smart bar for navigation key settings?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
Um.. intresting. Wouldn't work in our tests. in the early days. Maybe 3.2.x fixed it. I'll try again.

1. We'll take it into consideration.

2. Very likely not.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
ok, so after reading what [MENTION=4130472]crazykas[/MENTION] said, I decided to try with the "normal" TWRP again.

It appears that the Pixel 2 XL does _not_ require a custom TWRP anymore. It did when I initially tested that back in December, but that seems to be no longer the case. The OP has been updated accordingly.

Sorry for causing confusion.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] NOTilyass:
could you please give regular pixel 2 some love too ?? I mean we all love google and stock android we just didnt have the money to get the xl ! pretty please ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] crazykas:
I used this version "twrp-3.2.1-2-taimen". Thanks alot for the reply. Still without a smartbar, i still stay on this ROM for a while because it is fast and call quality of this ROM is amazing!!! But if you could please consider adding smartbar or any option to swap navigation key position + actions.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xflowy:
i second the smartbar request.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Namolas:
Third
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MikereDD:
I say no to smartbar. Be unique. All the other roms use it.

No from me for smartbar dev sur.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Ericarthurc:
Well I mean you could but just using the adb sideload feature in twrp is so much faster in my opinion.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pa.pn2:
Lol. i didn't boot after i saw this message.

How long does the boot take?

Magisk root possible and flash kernel?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
A minute or so. First boot is always longer. Yep, the no OS is a scary message. Haha. Been doing this for 14 months, hundreds of times
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pa.pn2:
Ok thx golf.will try again tomorrow:)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
****, now I remember what I still had to do...

Will be fixed in the next build.

It is. Your problem is purely cosmetic. The zip you get flashed to the opposite slot, but you wiped the current slot.

Let's say you are on slot A. You wipe system and flash Carbon. The ROM ends up on slot B. However, TWRP checks if the currently active system partition is empty, which is A, and which is what you wiped. TWRP is not aware of pending slot switch (which will automatically happen after you reboot) to slot B.

Therefore: don't wipe system, it's useless anyways ;)

Notice: this also qualifies for add-ons. For example, you can't flash Magisk right after the ROM, you need to switch slots first. I usually flash Carbon followed by the TWRP installer again (that's needed), then go to reboot -> Recovery, then flash Magisk there.

BTW Magisk is fully working on AOSP + stock vendor since 15.0. we had to fix some incompatibilities with AOSP+stock vendor and Magisk first, but [MENTION=4470081]topjohnwu[/MENTION] provided great help with that and we managed to fix it inside Magisk.

P.S. I added the Carbon Team Donation link to the OP and added a Mirror for the Download.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pa.pn2:
Ok thx for the info. now i know why i had trouble with magisk after flashing directly after rom flash

Do any custom kernel work?

I tried flash kernel but after rebooting it took me back to bootloader lol
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] idkwhothatis123:
Can anyone confirm volte? Simultaneous voice and data is important to me
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
No Volte. I am on Tmobile. No rom I have tried had Volte. Just stock. I have tried 3 roms.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] eushaun99:
I feel like this info should be in the OP, since with the new a/b partition it won't be like the older phones anymore.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
This is probably due to the fact I don't disable verity in the dtbo.img. I don't really want to stop including that, especially since it is necessary for Walleye's HBM commands. This will require some thinking. I'd really like to not have to run two kernels for stock and custom ROMs...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] idkwhothatis123:
Yeah I tried AOSP and I'm on LOS now. Figured it was the same. Thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] navalynt:
Hows the work progressing for utilizing the Pixel Visual Core? I've seen a lot of discussions on LOS about trying to use ports of the Google Camera but I'm more interested in whether there's development to support the visual core APIs.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
You da man. Thank you
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] adinkwok:
This has not been our focus (yet) as we're working on bringing up the ROM as a whole first. Hopefully we get there eventually, we have a collective group of taimen developers working on bringing up ROMs so this will be addressed.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] LLStarks:
I think this is the first rom with working band locking in Network Signal Guru. Nice.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
Did you make sure you set the correct APN? One of the friends I sent it to is on TMO US and said VoLTE works fine.

I'll probably write up a Q&A about A/B devices soon, I had to explain things (mainly the Recovery stuff) way too often recently to not do. That even included devs because it's new to all of them too. I thankfully had some knowledge after coming from the original Pixel already, which is probably why I was the first to boot Oreo with the stock vendor on sailfish and taimen too...

The included GCam should already use the Visual

Core. Not sure what other development should be done in that direction.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] eighty1:
Are there any additional Slot switching done or manually needed when restoring my stock backup? I haven't flashed this yet but curious if twrp will do what it needs to do upon restoring my stock backup. Also, from this point forward is Sytem never to be wiped when switching ROMS?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Shawn5162:
Could someone please link me to the taimen vendor? I couldn't find it on the CarbonROM git.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
No clue about restoring the stock backup, I never did that. I'd go a different route though: Flash the Google Factory image and then only restore /data, that is likely the cleanest way anyways.

To Wipe or Not to Wipe that is the question. As described below it's useless, and not affecting anything at all, in addition the payload.bin flashing (A/B) wipes the partitions it's flashing beforehand anyways, so everything you archive when manually wiping system is the warning message and the feeling that you wiped something. That's about it though. Drawbacks at the same time however, would be, that in case of an unforseen slot switch (whatever that could be caused by, I wouldn't know a reason) you'd be left with an empty system partition and need fastboot to switch to the other slot again.

What vendor? If you want to build carbon on your own, use the extract-files.sh ;)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] eighty1:
Thank you detailing it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] crazykas:
Yeah be unique. You might not needed that but buddy for me , i need to swap keys and long press back to kill options. It doesn't have to be the 'smartbar", but similar option will do
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MikereDD:
There is an app for that sur.

https://play.google.com/store/apps/details?id=xyz.paphonb.systemuituner

As for longpress to kill could pull that off possibly using that app an tasker.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] guyshelpmeplease:
Can anyone give me a short instructure for the flashing procedure?

My phone isnt rooted and im on stock firmware.

Thanks in advance

And on OP it says last updated on 01.04.2018 but on download page i just see version from 31.03.2018.

Gesendet von meinem Pixel 2 XL mit Tapatalk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] crazykas:
* I flashed the ROM using OFFICIAL TWRP twrp-3.2.1-2-taimen version.

* i downloaded and flashed 31.03.2018 version from download page.

* You NEED to download gapps from here https://mirror.myself5.de/taimen/GApps/

1. Flash March Factory images on both A & B slots

2. Move your ROM + GAPPS + TWRP.zip to your internal storage.

3. Boot TWRP.img > Boot to Sot A>Wipe > Factory reset (not internal storage) > Flash ROM + TWRP.zip

4. Reboot to system or wait and reboot to recovery via booted TWRP

5. Check and confirm that you are on Slot B, if not boot to Slot B> Flash GAPPS > reboot to system

If you are flashing another kernel, make sure to flash it after step no 5. Same goes for flashing Magisk. However do not flash kernel + Magisk on same time. First flash gapps > kernel> reboot to system. Then flash magisk. Anyhow keep in mind you need to boot to system before flashing magisk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
Perfect explaination, but it should be pointed out that Step 3 and Step 5 are not bound to slot A and B, its just mandatory to confirm they are the opposite of each other. (Its fine to start off with B and then confirm you end up on A, too). I Added that to the OP :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cmattern:
I was taking a look very hopeful of getting the arrow keys enabled for cursor movement while typing but the permissions requested are more than I'm willing to accepy:

Other

modify secure system settings

receive data from Internet

view network connections

expand/collapse status bar

full network access

run at startup

prevent device from sleeping

Probably no ill intent, I'm just a tad paranoid....
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xflowy:
no idea how not implementing a useful feature has anything to do with being unique.

so exclude other options too to be more unique, or what, eh!? i would understand your approach if this was a barebone custom rom with few to none options and adding one more option would be somehow breaking the concept but its not like we already have one or two options to tune.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] p70shooter:
So he can't have his opinion? Yours is the only one that matters right?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] crazykas:
Thanks and yes you are right sir,step 3 and Step 5 are not bound to slot A and B as you said. I didn't wanna confuse him explaining those slot swapping. lol
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xflowy:
and by this logic, im just stating mine.

uh *-*
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MikereDD:
You do know you can fork the repos needed an pick the necessary commits?

It isn't hard.

You can do it i know you can. Soon very soon.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] adinkwok:
To all those requesting features and want explanations as to why we sometimes say no, this. We're usually all for adding features into the ROM that will increase the user experience. However, we just like doing things our way.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xflowy:
whats your point? that i can build a rom myself? plenty of things one could do. you could also do so many many more things than you are actually doing. and now what?

in this case, wheres the point if an already great rom would have its missing puzzle (imo) by adding a feature, which would do no harm to nobody. and if it isnt even hard, like you said, where is the point in this whole discussion?

ofc, if its the devs preference to not implement it, i respect that and move on. pity for the good rom as im sure some will avoid if for that reason. but i guess the devs couldnt care less (which is kinda curious though), so everybody is happy. just couldnt stand the unique-argument. and the missed chance.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MikereDD:
You made have found that an odd response.

It is what I would do.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xflowy:
read it with a sarcastic and polemic tone and responded accordingly. forgive my harsh sounding reply then.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MikereDD:
I <3 sarcasm it makes the world go round!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] guyshelpmeplease:
Hey thank you for your answer. Have 3 questions[emoji16][emoji16]

How can i see on witch slot actually im on?

Can you link me to the official twrp.zip and magisk for the pixel 2xl?

How to flash a factory image to both slots?

Sorry for my nooby questions

Gesendet von meinem Pixel 2 XL mit Tapatalk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] D-m-x:
1) In TWRP for example

2) Search for it in their respective Sections/Threads

3) Use Deuces Script, there's a Thread here.

For 2 and 3 read up on the stuff, it's all explained in those Topics.

Gesendet von meinem Pixel 2 XL mit Tapatalk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] t0pstar:
After 2 days I can't download any app from Google play .

I clean cache and data ...don't work

I update via apk mirror... Don't work

Some one have a fix

Gesendet von meinem Pixel 2 XL mit Tapatalk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
Did you use MindTheGapps as we suggested? This has been an ongoing issue with OpenGApps on A/B devices, but MindTheGapps never did that for me.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] t0pstar:
Yes i use MindTheGapps ...

But I thing is not a ROM or gapp issues because today all works fine , maybe a server prob or network .....

Sorry for trouble

Gesendet von meinem Pixel 2 XL mit Tapatalk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kleptonez:
working great

came from rooted stock, ROMAur didn't work. so here i am. followed install instructions on OP and used Deuce script to do the A+B flashing. No problems so far. will monitor and report back and maybe try dirty flashing when April's weekly is out.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ako9:
When this feature will be integrated in carbon rom for all devices?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] adinkwok:
It's being looked into. We still don't fully understand how to properly integrate it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cdnsnOw:
Getting failed install...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] BlacquePhalcon:
What factory image are you coming from? I was having nothing but issues yesterday with the April build and no problems with the March one.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] llevo3:
Hey guys. I just got my device yesterday. I want to flash Carbon, so I have some question. I'm on April security patch with unlocked bootloader and installed twrp. Is it safe to flash Carbon over April build or as I understand I'll need to flash March factory image before? Just want to be sure, thanks in advanced.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] p70shooter:
Need to flash March or wait for release of April
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] llevo3:
OK, thanks for the answer, I think I'd better wait :o
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cdnsnOw:
Tried with April one will try with the march build.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cdnsnOw:
Been flashing roms for years and year and for the life of me cannot get this one to work.. Flashed while on stock April update and march update and still sol....
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] adinkwok:
Can you grab a recovery.log? It should tell you what's wrong.

(ps. lived in the hammer for a little while as a kid :silly:)