yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rickysidhu_:
In fastboot, type something like "fastboot getvar current-slot"

That should return either a or b. Run the flash-all script.

Once it reboots, hypothetically, if you were on slot a, go back into fastboot and type something like "fastboot --set-active=_b" and run the flash-all file again.

That should get both slots fully updated. My fastboot commands might be off by a character or two, so forgive me! But some quick Googling should give you the correct command, usually what I do when I forget:)

As for GApps, I'm not too sure as I haven't flashed Carbon (yet) but I'm pretty sure the MindTheGApps are the recommended ones!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rickysidhu_:
So I finally got around to flashing this ROM with success! I am having one small issue though.

I have a Tasker run shell command to hide the mobile data icon whenever my WiFi is connected. The command is:

settings put secure icon_blacklist mobile

This doesn't seem to work with the ROM. I think it has something to do with the option to toggle status bar icons now being in the ROM settings, instead of the default SystemUI Tuner. I could be wrong though, it's just a guess.

If anyone knows of some Tasker plugin, or another run shell command I could use - or even another app, I'd be willing to give it a try!

Other than that, the ROM so far has been great! Thanks in advance.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] adinkwok:
As far as I know, it shouldn't be a problem with the ROM settings change since it's just a redirect. I'll see if I can look into the shell command to see where in SystemUI that's being handled.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rickysidhu_:
Much appreciated, thank you!! :highfive:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] stevew84:
What if coming from another custom rom? Can't we just wipe and flash?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Br4no:
Hello,

since we have alots A and B what is now the recomanded process to backup and restore via twrp? Do I have to backup both slots and if I'd like to roll back to that backup restore them one by one??

Which partitions are necessary to backup??

Thank you!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
No need to worry about individual slots. Just backup system, boot, and data and call it good. When you restore, just do a twrp factory reset and restore your backup :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] stevew84:
I used this rom for a while, but the quick settings turn all white.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] tonyfeb95:
Having an issue with my messages and gmail, i flashed the recent update, then twrp, then gapps, cleared the cache and rebooted. Had issues with google play services as well.

EDIT: I redownloaded the most up to date version of the rom, flashed that, along with the most up to date version of the Mind the Gapps. Made sure everything was on slot A, and am still getting some minor issues with google play services, and google pay send. Messages and Gmail seem fixed for now.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
Developers: the frameworks/base part of Now Playing (adding the AmbientIndicationContainer and GoogleServices, where that all of the code work was done) is up on the CarbonROM GitHub. We haven't made the blobs we're using publicly available yet, as we're still researching how it checks the device it's running on, and how to make it work on other devices. If you want to test, you'll have to procure those blobs yourself for now.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pa.pn2:
I think that happened to me after restoring my stock backup via twrp.

I booted into twrp to update flash kernel and magisk afterwards and ended in this message that my device is corrupted

Dont know what happened.its not that easy with this slot stuff as it was with nexus devices
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jasonstackhouse:
Regarding the vendor question, I do not think they were asking so that they could build their own carbon ROM, they were likely asking because after flashing the ROM you get a message stating that the vendor image is not compatible. This happened all the time with the first PIXEL phone, each ROM was running a different Vendor Image that needed to be flashed in addition to flashing the ROM. The message to update vendor image was present after i flashed the rom but it does not seem to actually be affecting anything on the device, so a vendor image is likely not needed.

Side note, awesome job on the ROM thus far. I was able to flash this no problem right over stock January 8.1. Reboot to twrp, wipe data, reboot and bam all good. None of my files on the device sd-card needed to be deleted, so the only thing I needed to do was install my titanium apk and restore my backup. Hopefully this can help the guy that was asking about doing a restore to stock.

I personally have set this ROM up, went to twrp, made a backup, than restored my stock back up. I have been switching back and forth between the two (stock and carbon rom) over the last day by restoring my backups. For backups I always recommend checking the boxes, boot, system, vendor, and data. This method works for me every time for a successful restore.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
Nice to see another one joining the XL2 ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] adinkwok:
The required vendor image is determined by the build fingerprint.

BUILD_FINGERPRINT=google/taimen/taimen:8.1.0/OPM1.171019.013/4474084:user/release-keys

As long as you're running the vendor image from this release, you're Gucci Gang.

EDIT: I ACCIDENTALLY POSTED AN OLDER BUILD_FINGERPRINT THAT POINTS TO AN 8.0 VENDOR, PLEASE DON'T FLASH THAT AS IT WILL BREAK THINGS
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
Oh now I see. As said in the OP, use the latest vendor.img from stock (January patches, OPM1.171019.013) and there won't be any warning message.

Remember when you were on January before, that doesn't mean the opposite slot had that (which is where the ROM is at) so make sure that you really are using the January vendor.img at the moment.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Ericarthurc:
Just giving a heads up I flashed the latest flash kernel (2.10). And I tried the instructions he put in his post in regards to the dtbo removal. I got bootloops :C Maybe someone else had better luck then me? I just reflashed the carbon rom and it booted up just fine with the carbon kernel.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
Not sure what [MENTION=6842057]nathanchance[/MENTION] has going on over there, but I can confirm that its not a problem with ROM as I'm using a testing build of Electron right now
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Yeah my kernel works too :highfive:

at least the soon to be released one :svetius:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jonesin:
what is the proper order to flash objects if we want to flash a kernel, i flashed carbon, booted, then went back to twrp flashed elementalx, flashed magisk then can only boot to google splash screen and it drops back to bootloader
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Neejay:
Is the default carbon kernel, electron kernel?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] an21281:
This is because of verity being handled in dtbo.img. nathanchance just posted about this problem in his flash kernel thread. Below is a screenshot of the info on how to fix it or direct link https://xdaforums.com/showpost.php?p=75231285&postcount=815
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] blaze9090:
Thx man. Guess I had a bad installation. At first i had some errors at first setup with mobile data too.

Auto fill works after reflashing too.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
A slimmed down version of it, yes.

Why do I think that this was certainly not the picture you wanted to attach :D?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jonesin:
ok so now i have problems with just trying to flash carbonrom to get back to a base level. Boot to twrp, flash carbonrom, flash twrp boot to system. it boots to system then drops back to bootloader. WTF
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] an21281:
Oops, yes was the wrong pic att'd. Fixed now

Had the same problem once with diff rom, i think I just started over using flash-all with -w removed. It could be due to a/b slots, maybe try booting to the other slot and flashing rom again...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] patt2k:
Another room! Sweeeeet!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pa.pn2:
Had the same issue.restored my stock backup via twrp and flashed factory -w after

This a/b slot stuff is just confusing somehow
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jonesin:
-___- i just want to flash a kernel. way to difficult, i have a pretty good grasp on the slotted partition scheme yet still something as simple as successfully flashing a kernel over a rom on this device escapes me. Keep in mind i came here from the original pixel, so this is not new to me. It is WAY more difficult on this device though.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
What problems are you having? With a clean install with this device, you should boot the system one time before adding any modifications other then Twrp. What kernel you trying to flash?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nitin.chobhe:
What do you mean by 'some minor issues'??

Nitin
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] tonyfeb95:
All of my Google processes and some apps keep popping up a message with "stopped working".
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nitin.chobhe:
Do a clean flash...

Nitin
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 420SYN:
I'm in the same boat. Does anyone have a fix for this?

My phone connects to the network. (ROGERS) I have voice and texting but no data. APN seems fine but I can't edit it. I tried changing stuff through the apns-conf.xml but nothing works.

Found the fix for Rogers. This has to be replaced in apns-conf.xml

<apn carrier="Rogers LTE" mcc="302" mnc="720" apn="ltemobile.apn" mmsc="http://mms.gprs.rogers.com" mmsproxy="10.128.1.69" mmsport="80" mvno_type="spn" mvno_match_data="ROGERS" type="default,supl,mms" protocol="IPV4V6" roaming_protocol="IP4V6" />

Found in https://github.com/SlimRoms/vendor_slim/commit/f18647631f0c880a3fdfc67b74c36b1ff6111521

Could this please get added to next update

[MENTION=3816568]Myself5[/MENTION]
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
Fixed by https://review.carbonrom.org/#/c/7259/ and https://review.carbonrom.org/#/c/7264/

Thanks for the careful research :)

P.S. July Patches are merged already, builds will come later this week
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 420SYN:
No problem it took me 2hrs of almost throwing my phone to find the solution. I'm loving the rom so far. Just started using it yesterday. I was almost ready to go back to stock
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 420SYN:
I'm thinking there's something up with Bluetooth in this build too. My Pokemon Go Plus refuses to work. Not sure if it's because of the AOSP Bluetooth drivers maybe. That might end up being a deal breaker for me even though this ROM had been pretty good besides that.

Scratch that finally got it to work not sure what fixed it. A combination of turning off Bluetooth, rebooting, unpairing...

Upon further research, I blame Niantic. Not your ROM
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Br4no:
Hello All,

I've just updated to today's version (0705) and according to attached image, should I flash the latest vendor images from google??? Or should I flash the latest factory image and not just vendor part?

Thank you!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
Yes, todays builds contain the July Security Patches. You need to flash the matching vendor image for those.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Br4no:
Hello all,

Is this issue in the picture known?? I mean the white notification panel.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nitin.chobhe:
Yes, it is...

Nitin
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
I looks like this commit may be responsible. Will test
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] subashchandran:
Does this rom pass safetynet out of the box (hide bootloader unlock)?

Or we should use flash kernel if we want to run rootless with safetynet passing..

I would love to run this minimally so that i can incremental flash weeklies. Also in case i have to use flash kernel, how do i flash new weekly OTAs?

Flash OTA -> Flash TWRP -> Reboot to recovery -> flash that old MindTheGapps again -> boot to system

Reboot to recovery-> flash kernel to pass safetynet ?? Does that sequence work for updates.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
> Safetynet

No.

>OTA

Yes, that procedure will work flawlessly.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] adamokari:
To anyone using this without gapps,

what google camera app are you using? I haven't tried any of the mods on the 2 xl yet, but the ones I tried on the regular 2 I could never get working. Or even if there is a better camera app that has a portrait mode that works good.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] fKm:
Are OpenGapps safe to use?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] copythat:
I flashed the latest stock image before hand using flash-all.sh yet I still get the notifacation saying I need to flash the latest image.

Also not sure if this is related but I can't connect to my bluetooth headphones.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Br4no:
Hello devs,

Are you going to make a release of 8.1 or will you rather focus on Pie? Are there any issues for which a fix is needed in 8.1?

Using this rom for long time and no issues besides one. I ussually switch off the phone during night. And sometimes when I turn it on in the morning it stops on carbon logo and not going to the system. I have to hard reset the phone and then it works again.

If this is not known I could provide logs.

Thanks for info and great rom ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] fKm:
Regarding the reboot issue: Do you use Magisk? It is known as a common Magisk issue. Nothing the ROM can do about it.

Regarding Pie: The Carbon guys are working already on Pie. You can see the progress here: https://github.com/CarbonBeta
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
Do i still need to flash gapps separately?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] adinkwok:
Yes
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
I searched for oms but no post were there so does this has oms commits?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
Yes
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
Thanks for confirmation
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] shooterlgk:
Is the new carbon on afh related to this one?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] adinkwok:
Yes, please read..
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rickysidhu_:
Hello!

Decided to come back to this ROM for the stability and full OMS support.

I'm having the same issue as others regarding the white QS tile icons on a white background.

Just wondering if a fix is still planned or if development for O has come to an end now that P is out?

Thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
This rom is always the fastest rom on all my devices. Congratulations! On Nexus 6, idle drain is way too high. Fix your kernel and it will improve or not.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Br4no:
This is quite interesting topic for me too. If the development is going to be stopped or we can expect future fixes.

Thank you!!!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
Developement is not stopped, new builds with September Security patches will be released soon.

As for the QS bug. I've yet to find a fix. It's a compatibility issue caused by substratum and there just doesn't seem to be a fix for it. We'll continue trying to fix that in Pie though.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rickysidhu_:
Appreciate the update!

As for the white QS tiles, if anyone is interested, I've found a temporary workaround:

If you set a light wallpaper with this app:

https://play.google.com/store/apps/details?id=com.lb.lwp_plus

And choose primary bg colour as something dark, the issue goes away! Also, applying a Substratum theme seems to help get rid of the issue as well.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Br4no:
Hi all!!

I wanted to do a clean install with the latest cr and somehow cant go through it. I have already done this before but now it doesnt work and I always end up booted in twrp...so,

- i downloaded latest 8.1 factory images and executed flash all script separatelly for both slots

- booted twrp image, cleaned cache and data and flashed cr and twrp zip (latest twrp for taimen).

- after reboot to system my pixel does not go to the system but it reboots again and ends in twrp....

Do you see from the steps above that I am doing something wrong?? (Btw, Im flashing via adb sideload). If I remember correctly I followed the same procedure as for the first time when I installed cr.

Thanks for help!

Best,
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Toje2:
I am getting the same. I keep ending up back at the bootloader.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Br4no:
Heyy, Ive solved that. It was my fault. Always when you are going to reboot, twrp asks you if you would like to install twrp app...I always swiped by heart and therefore allowed the app installation. But there is a button "do not install" which have to be pressed.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Colday96:
Will this ROM ever support the pixel 2?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wolfu11:
Anyone have a link to this ROM ?

Thank you
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
Not without an official maintainer.

basketbuild.com/devs/CarbonROM

We're working on fixing the issues with the get.carbonrom server.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ShynizZ.:
Why the install process is so complicated compared to other ROMs ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rickysidhu_:
Hey, just wondering if it's possible to have the option to have the default toast/animation?

Thanks in advance:)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
Don't know what you mean. This is the normal procedure to install a ROM on A/B devices.

Due to the way its implemented at the moment that's not easily possible. Paired with the fact that Noct is on Feature-Freeze this will likely not happen.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] devsk:
Did you find an answer to this question? tftp server implementations are typical insecure and I wouldn't want one running on my phone. I see it running on my pixel 3.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cmattern:
Never did learn any more on this, sorry.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] SplinterSeed:
How am I supposed to flash gapps after rebooting to the second slot? If i haven't set a pin for the new rom, aren't the files going to be encrypted?

Thanks
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
You need to reboot to recovery on the second slot. Not the system.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cwm9:
First install question -- flash factory pie or oreo?

Hi. I just bought a pixel 2 xl and want to flash Carbon. The instructions say to flash the "latest factory image." My phone has pie on it. Do I install the latest Pie factory image, or the latest Oreo factory image? Thanks.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] socksi:
Got my new Pixel 2 XL yesterday also and tried to install Carbon ROM.

When I use Pie factory image my sdcard partition is corrupted after installing CARBON-CR-6.1-NOCT-RELEASE-taimen-20190116-0519.zip and rebooting.

So I assume you have to use the Oreo factory image. Maybe you have to use the current vendor.img of the Pie factory image. Couldn't find that out.

Nevertheless, even with the Oreo image my phone is always booting straight into the bootloader.

What I did so far:

- Unlocked the bootloader as described here.

- Flashed the latest Oreo factory image taimen-opm2.171026.006.h1-factory-57328312.zip using the Deuces script.

- Copied CARBON-CR-6.1-NOCT-RELEASE-taimen-20190116-0519.zip, twrp-pixel2-installer-taimen-3.2.3-1.zip and open_gapps-arm64-8.1-pico-20181001.zip to /sdcard/ using adb push.

- fastboot boot twrp-3.2.3-1-taimen.img

- Wiped system, cache and data

- Installed Carbon and TWRP zips

- Reboot to recovery. Other slot is active now.

- Installed Gapps zip

- Reboot system boots straight into the bootloader

The bootloader shows:

SECURE BOOT - yes

DEVICE STATE - unlocked

Can someone please confirm that "SECURE BOOT - yes" is correct. This is the only problem I can think of why Carbon is not booting.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rrrrrrredbelly:
Never wipe system on this phone. You'll have to start over from scratch.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Edmontonchef:
Once you're on the latest Oreo all you need to wipe is data and cache.

Update the vendor to both slots then flash the ROM as usual.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] socksi:
Found the problem. It did not work with OpenGapps. With Mind The Gapps installation succeeds.

- Extracted taimen-opm2.171026.006.h1-factory-57328312.zip and zip inside to platform-tools

- Reboot to bootloader

.\deuce-flash-all-v4.5.bat

.\fastboot.exe reboot

- Enable developer options -> USB debugging on

.\adb.exe push .\CARBON-CR-6.1-NOCT-RELEASE-taimen-20190116-0519.zip /sdcard/

.\adb.exe push .\twrp-pixel2-installer-taimen-3.2.3-1.zip /sdcard/

.\adb.exe push .\MindTheGapps-8.1.0-arm64-20180808_153856.zip /sdcard/

.\adb.exe reboot bootloader

.\fastboot.exe boot twrp-3.2.3-1-taimen.img

- Normal Wipe (Data, Cache, Dalvik)

- Install CARBON-CR-6.1-NOCT-RELEASE-taimen-20190116-0519.zip

- Install twrp-pixel2-installer-taimen-3.2.3-1.zip

- Reboot recovery

- Install MindTheGapps-8.1.0-arm64-20180808_153856.zip

- Reboot system (Do not install TWRP app)

---------- Post added at 05:16 AM ---------- Previous post was at 05:12 AM ----------

Carbon does not start when I flash vendor.img from Pie factory image.

Looks like baseband, bootloader and vendor have to match.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] socksi:
unable to restore TWRP backup

I made a TWRP backup (boot, system and data) from my running CarbonROM to an external USB stick.

After doing some tests with a Pie image I flashed back the latest Oreo factory image to both slots and tried to restore my backup.

After boot and system partitions were restored successfully I get an error that the data partition is not found.

Looks like it's a problem with the Pixel security module and the data partition is still encrypted. Is there a specific procedure for restoring backups? What am I doing wrong?

2 more problems:

- When I first installed TWRP it showed a date of 1969-12-31. 2 days later the date advanced by 2 days and is now 1970-01-02. Is it possible to set the correct date?

- In CarbonROM I placed the digital clock widget on my home screen. Where can I find the "widget settings" for customization and to display calendar entries below the clock? It's missing in the menu.