yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] markri:
Just installed this ROM on my Pixel 2 XL. Looking very good! Thnx!

However; I have issues with the camera orientation. The realtime display is ok, but reviewing the taken picture shows wrong orientation. Googling around it looks like a android issue that is common, but what to do about it?.

Too soon. Just installed opencamera which does it right. It was just the default app in this rom that is faulty
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Fatwrecked1:
Yeah, I'm having issues flashing ex kernel for example. I flash the rom alone and it boots up fine, but as soon as i flash any kernel it would take me to bootloader no matter what i do. The rom is fantastic though!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] an21281:
Try removeint dtbo.img from the kernel zip prior to flashing.

Or after flashing kernel go to terminal type export KEEPVERITY=false
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
Probably the same problem as Flash kernel.

1. Extract the kernel zip.

2. Delete the dtbo image inside the extracted folder.

3. Rezip the remaining contents inside the extracted folder.

4. Flash the new zip without dtbo image.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] QAM:
Hola

Took the plunge and got CarbonROM installed. Boy do I miss having a custom ROM on my device :D. Despite what I have read in earlier posts I was aware that Wi-Fi Calling (VoWiFi) and VoLTE maybe missing, but I couldn't resist the temptation.

CarbomROM was among the very first teams to bring up a very stable ROM for the OnePlus 5 which was plagued with so many audio issues in the early days. Brett M. really delivered!

[MENTION=3816568]Myself5[/MENTION] I know that you mentioned that our current build should have these advanced calling features, but the Settings -> Network & Internet -> Mobile Network -> Advanced section has no settings for these features. Interestingly is that I can use the Search function in Settings for "Wi-Fi Calling" but they lead back to the Mobile Network section. So it seems that a few commits are missing. Is there anything I can do to assist in troubleshooting this scenario.

When I use the *#*#4636#*#* special dial number -> Phone information section I see that VoLTE and Wifi Calling provisioning being disabled without having the ability to enable them. My device is fully enabled with my telco's APN settings (actually didn't have to change anything).

Again thanks a billion for the bring up and sharing this marvelous piece of work!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Fatwrecked1:
Thank you for breaking it down, I flashed EX kernel without a problem. Cheers!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
Weird, Snoke and Flash kernel both change to permissive for me on this rom. Rom comes enforcing. I can't change it to enforcing and make it stick.

Edit : I had verity disabled already by my own doing
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Surge1223:
Wait, people actually intentionally try to change it to enforcing?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
Alright, my 2.10 Flash Kernel has been re-uploaded with a copy of Magisk's magiskboot binary that will patch the dtbo image to remove verity if you are on anything other than stock. I had this idea last night but [MENTION=5051294]frap129[/MENTION] helped me figured out a sure proof way (for the most part) to ensure only stock doesn't get patched (so people don't get the warning at boot). Flash should now be 100% compatible with Carbon :svetius:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
Thanks for the detailed information, that actually helped quite a bit. I'm having an idea on what could be the cause, I'll try to get a build released by this evening (that should also fix the Dialer issue and the Project FI eSIM [MENTION=5369436]Ericarthurc[/MENTION])

Also someone said the Alarm clock is having problems (not sure if that was here or somewhere else), that has been fixed yesterday, so it'll be fixed it the upcoming build.

If someone finds any other issues till then, please let me know, although I hope there are none (I've been running this since mid December, so I hope everything should be working as expected)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pa.pn2:
Can someone write a detailed how-to if u flash a custom rom and restore your backup?

Cause it did this yesterday and wanted to update to flash 2.10 after restoring my stock backup and ran into big issues somehow.

Got the message that my device is corrupted etc

I think the slots changed and that's why i had problems after restoring
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
Haha, for research purposes. To see if I can break something.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jonesin:
I have tried both elementalx and flash kernel. For flashi tried normal flashing procedures, tried removing the dtbo img from the anykernel zip, tried flashing then removing verity, none of this has worked even on a clean flash.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
Flash kernel newest update 2.12 fixes flashing on custom roms. And 2.11
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jonesin:
Just flashed! Thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] danielrod:
Anyone get stuck on the Google logo after flashing for the first time. Not sure if it's just taking longer because it's my first boot but it's been on the logo for about 2 minutes and I'm getting paranoid lol. Same thing after I restored my TWRP backup. Any ideas?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
If its saying your device is corrupted, then the rom probably flashed over the same slot as you restored your stock backup to. Download the factory images and flash the stock vbmeta.img with "fastboot flash vbmeta vbmeta.img"
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
Are you on the latest firmware?

Are you using the latest twrp?

Is your twrp official or custom built?

Did you flash a kernel/magisk?

Did you wipe data before flashing Carbon?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Ericarthurc:
Sounds awesome; thank you!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] danielrod:
I am on the latest firmware

My TWRP is the latest and official from the thread in this forum

I didn't flash a kernel and I was going to flash magisk after i rebooted twrp but it rebooted back into the stock OS recovery. After that I hit reboot system and it boot back into the bootloader. Currently, it just boots back to the bootloader no matter what I do. Fastboot boot xx.img does nothing but my computer detects that my phone is connected via fastboot, hmm weird. First things first, any idea why fastboot isnt working and how to get it to boot the recovery .img?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Bigboifrank:
Hi guys. Does this room have smartbar? I may actually BUY a pixel xl2 just because it now has a custom rom! Damn exciting ...why is development taking so long g for this device?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pa.pn2:
so how can we restore then our backups?

restore to slot a, change in twrp to slot b and restore again?

as i said yesterday,i restored my stock nandroid, it booted normal.then i wanted to flash new flash kernel and i run into this mess...

flashed factory -w and all was fine again....
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
Are you using a usb C to C cable for usb C to A cable to plug into your computer? ? Fastboot doesnt like usb C to C for some reason.

1. No smartbar, fling, or other DUI components. We dont plan on adding them either.

2. The A/B partition scheme + the switch to treble is really making development difficult compared to other devices/versions of android.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] danielrod:
I'm using a USB C to A to plug in. It was working literally like 5 minutes ago then all of a sudden it just stopped. My command screen shows that everything booted successfully when I enter the command, but nothing actually happens on my phone. Any other command such as fastboot reboot works though. So basically, my phone is stuck in bootloader and nothing I press is getting it out. Maybe flashing the stock boot.img would help. Any idea where I can get that, or any other suggestions?

Edit:

Accidentally downloaded the OTA instead of the full factory images. Got it. The issue is now I'm getting this in fastboot

downloading 'boot.img'...

OKAY [ 0.879s]

booting...

OKAY [ 0.000s]

finished. total time: 0.879s

any ideas on how to solve this without going back to stock?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kbtoiz:
Took this ROM for a spin and working good.

I do get the vendor error message at boot but is OK. I thought I was on latest everything.

Something I just noticed missing is on Developer Options the Camera HAL HDR+ option.

Thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Ericarthurc:
I was trying to setup trusted face unlock and was getting a force close during the setup process; not a big deal for me.

Here is my log if it helps in anyway: https://drive.google.com/open?id=1MQ1P29Ya2Tob9yuUvIaDCXQ1WiZcur92
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jonesin:
try changing the active boot slot. fastboot --set-active=a (or =b) try both
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] danielrod:
Thank you, I'll give it a try when I get home. I managed to restore my backup so crisis averted thankfully. I'll try again and use your tips later tonight
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
Seems to be only a missing lib, will see if I can add that tomorrow.

Good news: Google Dialer and VoLTE should be fixed on tomorrow's build, probably FaceUnlock too.

Bad news: I was too busy today to test a build so I don't want to release it untested, please bear with me.

Additional bad news: eSIM still needs some work to it, so that probably won't make it into tomorrow's build, but I'm keeping an eye on it. Thankfully ciwrl is having an eSIM for Project FI so this should be fixed rather soon.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jrbxx7:
Thanks for the update and quick fixes. Great rom!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] azpatterson3:
Anybody run daydream with Carbon?

I'll give it a go this weekend if not.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Ericarthurc:
Just tested it right now, works perfectly! ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] capsnbottles:
Will it boot with that message?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] capsnbottles:
anyone have any screenshots of this rom?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] p70shooter:
It's aosp, we all know what aosp looks like.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
Ooh! I do!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] State.of.mind:
This would be beneficial!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
New build is uploaded. VoLTE, the Google Dialer and FaceUnlock should be fixed now.

Additionally the build contains some of our production changes from Nougat, let us know if you notice any overall performance changes.

eSIM is WIP.

As always, let us know when you find some issues so we can take care of them ASAP.

Happy flashing.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jonesin:
My current understanding is that these roms install in the same way a factory image flash occurs, i.e. they wipe data for you. Is there anyway to preserve user data and just update?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
If you just flash the rom zip and thats it, data will be presered.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] danielrod:
THIS. Also, I'm not a noob to flashing things on my phone but I am a noob in flashing roms on my 2xl. Could someone post a step by step on how they flash this rom successfully (do you always reflash TWRP zip? magisk? etc.)? I might just be stupid but I haven't even been able to get the rom to boot.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
Nope, they flash like an OTA to your inactive slot. A factory image flash, flashes to your current active slot
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Ericarthurc:
Just flashed the new update! Feels really good, maybe it's a placebo effect but feels smoother. Face unlock works perfectly too, thank you.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
Good to get confirmation that its not just placebo for me either.

See [MENTION=3816568]Myself5[/MENTION], it does work
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
Glad FaceUnlock works. Was really an easy fix, only had to add a lib. Thanks for the log, that was literally saying "this lib is missing" :)

Lol guess I got to fix my local install then.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jonesin:
Tried like you said and i ended up bouncing back to the bootloader screen.....

---------- Post added at 12:58 PM ---------- Previous post was at 12:57 PM ----------

Tried to just flash it over the top and I got bounced back to bootloader after google screen. -___-
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
Were you running carbon or stock? Due to signature verification, you have to wipe data before switching to carbon. After that, you just flash the zip to update.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
There are two ways to do it.

Flash the factory image to both slots when the monthly updates come out. Then you won't have to worry about what slot your on.

Or, for most people that don't do that, you would have to switch slots before flashing the zip.

fastboot --set-active=? (a or b)

Or you can switch slots in Twrp. Doesn't work very well for me.

Then you will be in your inactive slot. Remember, OTA zips, Custom rom zips, switches slots.

After changing slots in fastboot, boot Twrp. Flash rom zip from inactive slot. You should be on your original active slot the next time you boot. Using the correct Vendor, bootloader, dtbo, vbmeta etc.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pa.pn2:
but doesnt flashing the factory images via flash all.bat flash to both slots?

i always see slot a and b stuff in the log while flashing
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
No sir, many people make that wrong assumption. flash all only flashes to the active slot. With the exception of the non-bootable system_other.img, which flashes to the system partition of the inactive slot. Which is the A/B thing your seeing in fastboot. If you watch closely, it unpacks the system_other.img and flashes a 4 part system.img to both slots. If you look even closer, you will notice one of the system image is a different size image. Hence, it is the non-bootable system-other.img.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] QAM:
Hola [MENTION=6302926]Golf c[/MENTION] have you flashed the latest release? I really want to see if anyone was able to get VoLTE and VoWiFi features working.

After updating I still cannot get either feature to work. I want to see if it is just me or if others are facing the same scenario.

Thanks.

And of course a big thank you to team Carbon!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pa.pn2:
to to be sure i should manually switch slots via fastboot and do the flashbat twice?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
Thats the way I have been doing it for 14 months. On Og pixel and now this one. Never have problems. If I do, I just flash all again and start over. This way you know exactly what's in your slots.

Others prefer to just keep using the same slot. To each their own. Whatever works best.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Deathrowy2k:
Why do you have to go around fixing stuff? :D I literally went back to stock late last night and decided to wait for these to be fixed(should have known that it wasn't going to take long). Oh well now I get to flash more stuff. Thanks for your and others work.

Now just waiting for the edge stuff to work.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
I will when I get home. I will let you know in one hour or so.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Bigboifrank:
Awww...too bad about not adding smartbar. Once you use it for a couple of months, there is no going back. Nice work getting the rom going guys!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
Would you be kind enough to list the commands to flash factory to both slots?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pa.pn2:
i bet u cant use the flash all bat

think we must flash manually each file.our date will not be deleted,right?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
Easy. Run flash-all.bat in your current active slot. Let it boot up. Reboot to bootloader screen.

In fastboot

fastboot --set-active=a (or b)

Make sure you know what is what. Watch your first flash all and make sure you know what slot your in and switch.

Run flash-all.bat again and let it boot.

Now your slots our identical, except for the non-bootable system-other.img in your inactive slot.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
Warning: That will wipe your internal storage. Manually flash the images except userdata if you want to keep your stuff
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
There are two ways to flash all. One with wiping data and internal storage. And one without wiping anything.

Right click the flash-all.bat file. Find edit file with notepad.

Choose that.

Examine contents and find the line that says

Fastboot - w update image-taimen - opml. 171019. 013.zip.

Delete the - w from that line and make sure you SAVE THE CHANGE.

That will allow you to flash all without wiping.

It was recommended to me to use notepad++ Free software I downloaded from internet. Google it. I don't know if regular notepad allows this. Please let me know.

---------- Post added at 11:50 PM ---------- Previous post was at 11:47 PM ----------

No Volte for me. Dev already knows about it.

---------- Post added at 11:56 PM ---------- Previous post was at 11:50 PM ----------

Thank you.

I assumed that was common knowledge but of course I would be wrong. I also assumed incorrectly, that many know about removing the - w.

My condolences too any of you who have lost your data.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pa.pn2:
Yep I use notepad since ages and removed the -w

Will try your double slot method tomorrow and flash carbon again

One more question bout nandroid restore.

On which slot will it be restored?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
Thank you for confirming. Makes it a little easier. Haha. There are other ways to do it. Individually flashing, which is impractical in my opinion.

And this, which I don't use and would never. But, everyone is different.

https://xdaforums.com/pixel-2-xl/de...tloop-recovery-flashing-t3704761/post74507988

And again, there is nothing wrong with continually sticking with the same slot. Just remember to switch to your inactive slot before flashing a custom rom
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pa.pn2:
Ok. It gets more clear now for me

So i check in twrp on which slot i am actually.

then i switch to the inactive slot and flash there carbon for example.

if there are problems somehow i can change to the previous slot again and boot the previous rom again.

correct me if am wrong
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
[MENTION=3816568]Myself5[/MENTION] [MENTION=5051294]frap129[/MENTION]

Sorry for the OT gentlemen.

I will take it to another venue or PM if you would prefer? I don't want to flood your thread with off topic.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kbtoiz:
Just to report no VoLTE or WiFi calling for me on latest build either. Im on Verizon.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
I have been having problems switching slots in Twrp. I would recommend, switching slots in Twrp and rebooting to recovery first, to see if it actually switched. Mine does not.

Plan b

Switch slots in fastboot

fastboot --set-active=a (or b)

If you truly switched slots in Twrp and flashed a custom rom and had problems. You are toast. There is no slot that has a working rom. The other slot has the non-bootable system-other.img.

Start over with flash all with or without the - w. Sometimes you will have no choice but to wipe completely if your that screwed up. But always try without the - w first to save your data.

God, I love this device. Isn't this fun. Haha. Once you understand the slots, it's a piece of cake. You will be schooling me in two weeks.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
It's fine, you're helping. As long as you don't start talking about the weather (which was ****ty here today) or your favorite way to prepare a Margarita, I'm fine.

Yep noticed thanks for reporting.

Already found the fix, new build is running at the moment and will be uploaded ASAP.

The fix was very stupid. I had to add the IMS.apk from stock, which I knew and I did add it to the vendor repo and made the build. I just now however discovered that, being the stupid person I am, I missconfigured the path to the file in the extract script (system/app/ims/IMS.apk vs app/ims/IMS.apk, the "/system/" gets appended by the script already) which lead to it checking at the wrong place, thinking the file is not there and therefore not creating a Makefile entry which lead to the APK not getting included. I should have noticed that but for some reason the APK got copied over properly and I missed checking the makefiles.

TL;DR: I derped, I fixed, I build, I'll push.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kbtoiz:
Bro no biggie. I just trying to help a lil bit. Thanks tho :good: I'll keep trying this out.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] QAM:
Hola

Not good, not good at all!! You folks are feeding my flashing addiction. [emoji41]

My my team Carbon has been a leader in the Android ROMing community for the past few years now for the devices they decide to support because of the dedication and spirit of the team.

Thank you guys and I can only encourage others to donate if at all feasible.

I will test the new release (whenever it gets uploaded) and report back.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Myself5:
New build is uploaded now, please let me know if VoLTE and WFC work now or if I managed to break something else now.

Happy flashing and sorry for messing up :P
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
Volte works. Trying to check wifi calling
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] shindiggity:
Hey it's the bottom one in download links right
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
Haha, yes. I had trouble with that too. Let us know if wifi calling and Volte work. Volte seems to be working for me.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] shindiggity:
Ok cool, sorry just ahead you in the chat as well
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rajlulla:
I keep on getting stuck on the carbon boot animation for 10+ minutes after multiple reboots. On LineageOS as well. I used the flash-all command on one slot, switched slots, flash-all on second slot, boot twrp, adb sideload rom zip, then reboot. Thanks in advance for any help.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
Did you wipe data?

If so try this.

Boot back into Twrp.

Wipe system, dalvik, data.

Flash carbon rom and Twrp installer zip. If you want permanent Twrp. If not, just flash rom. Reboot system and ignore NO OS INSTALLED message.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] State.of.mind:
Implement a private mode please
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ChoznJuan:
Did you guys remove the ability to add the sound panel to the power menu?

https://photos.app.goo.gl/cvKFA94BAMBTDaEU2