yashsingh1/xdaforums huggingface dataset:
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] LeSaphireX:
Installation / Flashing LineageOS is not possible

Hello xda-community,

I've tried multiple times to follow the instructions from several tutorials.

I use Google Pixel 3 and flash actually to Android 9, because there is no possibility to flash / root with TWRP on Android 10 running, isn't it?

Here is a "logfile" from my cmd commands:

I boot on TWRP to install the LineageOS, but there appear an error, that the installation is not possible.

On TWRP I wipe data first

Which LineageOS Version should I download from the 3 Versions? Where are the difference?

Edit:// can't post images, because I haven't posted 10 posts

May you have a video Tutorial or step-by-step tutorial, which work with Android Version 9 to install TWRP Blueline twrp-3.3.0-0-blueline and LineageOS.

I'll upload all steps on the device with each error message.

bootloader and oem is unlocked.

I hope it's understandable, if not please let me know and I'll try to explain the circumstances better.

Thanks in advance for your help!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] justDave:
Do you actually need twrp for something? If not, try following the instructions in the first post or here https://wiki.lineageos.org/devices/blueline/install.

If you're really can't give up twrp you'll need to use an unofficial lineage 9 build like this one https://xdaforums.com/pixel-3/development/rom-lineageos-16-0-t3899275. It hasn't been updated in a long time and I really don't recommend it anymore (I was on it myself until official 17.1 came out) but twrp does work with it.

Either way, follow the instructions exactly and you should be fine. Stop trying to flash to recovery.

If you want root, use magisk. Works great on either.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] supachris:
There is currently no way to use TWRP on a Andoid 10 Pixel 3. But you can of course flash a patched boot image for rooting by using fastboot. Also you can flash Lineage 17.1 using the built in LOS recovery and ADB sideload.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] ItzTropic:
I installed the recent twrp 3.4 x.x from the other thread and I can confirm it worked and flashed successful but once I installed the lineage rom the recovery broke completely which it was the major flaw for me and wiping data will fix the boot loop in lineage installed via twrp before reboot
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] azamshams75:
Can we install official Google camera in it through Play Store
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] LeSaphireX:
Hi Dave, thanks for your reply!

No I don't need TWRP, only to Root my device. If it'll work with Magisk on LOS 17.1 it will be great! I'll follow the instructions on the post below and hope it'll work.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] WJTOXbPQp43Sp7ot3J4B:
Unable to flash official LineageOS

Was wondering if anyone can help:

New Pixel 3 XL phone, following the instructions at the official wiki (can't link, new user)

fastboot flash boot lineage-17.1-20200901-recovery-crosshatch.img
Sending 'boot_a' (65536 KB) OKAY [ 12.223s]
Writing 'boot_a' OKAY [ 0.610s]
Finished. Total time: 13.133s

Manually flashing the other partition:

fastboot flash boot_b lineage-17.1-20200901-recovery-crosshatch.img
Sending 'boot_b' (65536 KB) OKAY [ 11.841s]
Writing 'boot_b' OKAY [ 0.619s]
Finished. Total time: 12.703s

Rebooting the device and entering recovery gives me the following message:

Using TWRP, I reboot into bootloader, run fastboot boot twrp-3.4.0-0-crosshatch.img, select Install from sdcard and around 30% I'm getting the following:

Relevant snippet from recovery.log:

Getting the same when trying to sideload using adb and TWRP

Any help will be appreciated.

P.S

fastboot --version
fastboot version 30.0.4-6686687

Tried different USB ports (front, back, 2.0, 3.0), used new cable from the box and old cable that worked on previous devices.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] justDave:
I ran into something like that when upgrading straight from Android P. Installing Android 10 first fixed it for me.

If your new phone is old, that might be it.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] gfunkzero:
anyone updated using the 8th September OTA?

I see razorloves reverted the increase inodes change but added a different (better?) change instead
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] justDave:
I did, right when it came out. It seems to work ok. I'm using OpenGapps Nano, which I didn't reflash for the update.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Bailx:
Anybody else getting this while trying to flash the patched magisk recovery image?

fastboot flash recovery magisk_patched.img

FAILED (remote: 'Not allowed to flash (recovery)')

Everything else went pretty smooth but i can't get it rooted
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] supachris:
You have to flash the boot partition. The Pixel does not have a separate recovery partition. For root patch the boot.img and flash into boot.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] trevorishpsycho:
Your command is wrong.

The correct one would be:

Fastboot flash boot magisk_patched.img
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Bailx:
i did that earlier.... just did it again... and it won't boot after doing that.... says "error boot prepare" (on fastboot screen)

i had repatched the lineage-17.1-20200915-recovery-crosshatch.img in magisk manager again to be sure.... and just tried it again....

my phone won't boot up again now... i guess i'll just leave it this way for a bit instead of reflashing the unpatched lineage recovery (to get it to boot up again).... in case there is something i am missing here

thanks for any help
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] supachris:
You have to extract the boot.bin image, NOT the recovery. You can use the payload dumper tool for that, as the LOS update image is payload.bin for the complete update, AFAIK.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] razorloves:
There's no need to extract it. The boot.img is available on the lineage download portal with each rom. It's renamed to recovery to simplify the install steps, but it's the boot.img.

There is no actual recovery image for pixel devices since there is no recovery partition.

here's a little about why there's no recovery or cache partitions/images for pixels https://source.android.com/devices/tech/ota/ab/ab_implement#partitions
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] supachris:
Ah, okay, sorry this was not really clear to me.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] razorloves:
HEADS UP!!!

The 20200929 nightly that came out a few hours ago doesn't boot. DON'T FLASH IT.

Edit: It's been removed from the download portal. Need to look into why it bootloops when updating from previous nightly.

Edit#2: fixed. https://review.lineageos.org/288627
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] TheRingMaster_GzR:
[MENTION=275348]raxor[/MENTION]loves are you on telegram would like to talk about crosshatch
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] gfunkzero:
Latest update from 6th is good :good:

I installed Magisk too
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] geronimoge:
First of all thank you very much for all the effort. I'm really happy that I'll be able to use LOS.

And I'm sure that there are many others like me out there, that really appreciate what you're doing.

So please don't stop ;)

Before I start flashing just a quick question:

The link https://topjohnwu.github.io/Magisk/install.html#boot-image-patching leading to a specific part of the website doesn't work for me - am I the only one? Perhaps it has changed and now is https://topjohnwu.github.io/Magisk/install.html#patching-images?

Thanks again!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] geronimoge:
So far everything is working. The only minor problem I have is that the app "SIM Manager" is crashing every ~20sec and the popup is telling me this. That was a little annoying.

For now I deactivated the app hoping it isn't needed.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] vman10:
Am I able to install this rom from official 11? Do I need to install in differently to what is posted?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] supachris:
I'm pretty sure you have to downgrade first to latest 10 stock with factory image. For completely switching to LOS, I would recommend to flash the stock image first to both slots a and b.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] glehel:
Nice rom!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] razorloves:
yeah, must of changed recently. thanks. link in first post fixed.

unfortunately the esim manager app needs gapps. so if gapps are not installed, the app crashes. so it's fine to just disable it.

look at the install instructions in first post. first thing it says is:

"WARNING: Before following these instructions ensure that the device is on latest Android 10"

so install latest 10 factory image. and fyi, you don't have to install it to both slots. just follow instructions here https://developers.google.com/android/images
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] geronimoge:
That's good to know, thanks!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] geronimoge:
Just to understand it: In order to keep Magisk working after a LOS update I'll have to do the sideloading process with the magisk_patched.img every time again, right?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] justDave:
No. After the upgrade completes but just before you reboot you should switch to the Magisk manager and reinstall Magisk using the "Install to Inactive Slot (after OTA)" option. After that, let Magisk reboot.

Note that this option was recently disabled on some devices, including ours. As far as I can tell this was done because of a change in the upgrade process for Android 11. It doesn't apply to Lineage 17.1. To reenable that option, I run this in a root shell before starting Magisk manager:

resetprop ro.product.brand goggle

If the manager was already running you'll need to kill it and restart.

That's what I've been doing and it's been fine so far, but it stopped working recently - I don't see a simple way to bypass the new check. YMMV such is life, as they say.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] geronimoge:
Thanks a lot for your advice, I'll give it a try when the next update arrives.

It would be helpful having this information in the OP.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] b8842dc0:
Is anybody having update problems with the latest nightly? I have a pixel 3 (blueline) that is successfully running the September 15 nightly. Today, I updated to the October 27th nightly. The phone never successfully boots up. I see nothing but the lineage boot animation. Finally, after about 10 or 15 minutes, it reboots a few times, and finally finishes booting -- and I'm taken back to the September 15 image. Obviously, the A/B partition stuff is working well, thankfully -- as I'm back on a working image. But I'm not sure what is going on that is preventing me from updating to a newer version. I might try the previous week's October 20th nightly, but I guess I'm hoping to hear some reports from others before I keep working on it.

Thanks!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] justDave:
No problems here. I've been upgrading every week, give or take.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] xuser_:
[MENTION=614507]razorloves[/MENTION],

Thanks for the official LOS support :)

Any comments on this for our device? can we enable it by default in the ROM?

https://www.reddit.com/r/android_beta/comments/cetxng/guide_get_dsds_dual_sim_dual_standby_on_pixel/

Enabling this and using the same RADIO img with all other latest images should bring back DSDS for roms on pixel 3/xl?

Thanks!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] zhtlancer:
Is DSDS supported for Pixel 3/XL? If not, any plan on that? Thanks!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] zxspectrun:
No problems installing it

I came from LOS16 and these are my steps:

Flash factory image using -W

Flash boot.img

Flash rom through adb

Boot

Patch boot with magisk

Flash boot rooted to both slots

Bugs:

media storage sometimes crashes while picking some notification sounds

Note:

Sorry I didn't get logs

Device: blueline
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jorgen2009:
Amazing work [MENTION=614507]razorloves[/MENTION]! This build (for blueline in my case) is spot on and I haven't encountered a single freeze. I have a thread in the Pixel 3 forums for Lineage 16 and was trying to make a build with your patches cherry picked. I really like the idea of having vendor and now also the bootloader and radio inside the build. I will refer the users from my Lineage blueline forum to this thread. You are much closer to the Lineage fire than me :)

If there's anything I can do to lower the burden on your shoulders so you can focus on the code, let me know
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] FcukBloat:
can someone using Android auto confirms if there are no freezes even when using deeply Android auto? tia
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] justDave:
You didn't mention wipe. Did you manage to do a dirty upgrade and keep your applications and data intact?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] zxspectrun:
Sorry if I didn't specify it but I flash the factory image using -W
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] justDave:
No worries. I think I'll wait until an upgrade is possible.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Jackaroop:
Does this have Live Caption? I saw Havoc does and I'm hearing impaired so that feature is very important to me. Thanks ahead of time.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] francois amon:
It doesnt have live caption :)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] zxspectrun:
It's recommended to make a factory reset cuz you're upgrading Android
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] justDave:
I'm pretty sure the Android 10 upgrades went out OTA without requiring a hard reset. I've upgraded Android versions successfully in the past. Let's see how this plays out.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] DarkPhoenix:
My screen goes black and the phone locks up requiring a hard reset before its usable again. The head unit in the car shows a message that says to open the app on the phone. I've completed the setup in the Android Auto app completely and turned off the option to lock the phone when Android Auto is enabled. I can see the status bar when the phone locks up now but it is still unusable.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] lsuzu:
Please forgive my silly question but will this flash fine on regular Pixel 3 non XL?

Thanks!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] pangolin.rollin:
The Pixel 3 is codenamed blueline, so if you grab that one then yes.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] ShadowJP88:
My screen goes black, the phone freeze and finish by rebooting by itself...
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jorgen2009:
Like the others here I have trouble with Android Auto. I think AA not working properly is not related to the ROM itself, but more to the used gapps. MindTheGapps lacks some things that other gapps include. That's why there is no unlimited photo backup in original quality in Google Photos either
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] francois amon:
Hey buddy, the december Update has now live caption, gesture navigation in third-party Apps, Pixel themes and swipe down for notification for our Pixel 3 and xl!!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Zehlek:
On stock? What about clocks in pixel themes?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] razorloves:
Some new builds :good:

note: boot.img provided for those that need it for magisk

blueline - https://androidfilehost.com/?fid=4349826312261651957

blueline boot.img - https://androidfilehost.com/?fid=4349826312261652016

crosshatch - https://androidfilehost.com/?fid=4349826312261651981

crosshatch boot.img - https://androidfilehost.com/?fid=4349826312261652013

See first post for install instructions.

Changes:

- circle battery icon and other battery settings for status bar now works - https://review.lineageos.org/264994

- unlimited photo backup in google's Photo app should be fixed

- several other little changes and fixes.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] supachris:
Great! I will switch from stock 10 to LOS 17 in the next days (if I will find the time...). Is there a way to extract the boot.img from the payload.bin? I assume, initial installing the new build is possible also with the boot.img recovery from the last build, but to root with Magisk, the current boot.img is needed. If not, can you please upload the new boot.img also? Thanks a lot and please gon on! :)

Edit: I found a solution: There is a pythin script named payload dumper. This seems to work...
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] razorloves:
if you want Android 11 / lineage-18.0 :highfive:

https://xdaforums.com/pixel-3-xl/development/rom-lineage-18-0-pixel-3-xl-blueline-t4185847/
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] b8842dc0:
I was able to upgrade using the OTA. For some reason all of the recent releases are failing to boot, when the upgrade is applied using the LOS recovery (via adb sideload). But the OTA update to 20201103 worked.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] gfunkzero:
Updates have been perfect, only issue is after every OTA I loose root, just gonna make do without it though.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] justDave:
Just reflash magisk to inactive slot before you reboot - works for me
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] gfunkzero:
thanks just looked that up will try next time
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] F0ulF3ll:
How do you flash the inactive slot?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] justDave:
Magisk after OTA
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] justDave:
The bad news is that reflashing Magisk after OTA has been disabled. The good news is that Magisk now survives an OTA upgrade with no action required!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] gfunkzero:
I installed the new magisk but after updating it has been erased as usual :(
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] justDave:
I wonder if it has something to do with how you install it. Did you sideload magisk or patch the boot image (I sideloaded). Also, I'm on the latest canary, I'm not sure when this started working.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] gfunkzero:
I patched the boot image then installed via adb sideload.

Looking back, I noticed it only patched one slot Is there a different command to flash/patch both slots?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] justDave:
I don't think that would matter. It gets overwritten anyway. I noticed there's a 99-magisk.sh in my /system/addon.d. Do you have that? I wonder if that doesn't get installed if you patch the boot image yourself.

By the way, I just took another OTA and magisk is still there after it completed.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] gfunkzero:
I dont have that file, I'll look at installing via sideload thanks

On topic this ROM has been stable as usual for many months
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] MHV8:
Hello, i was on Stock Android 11 and now on Scorpion OS Android 11, is it possible to flash LOS 17.1?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] H2avo:
flashing zip with no errors. reboot system now and google os comes up... what am i missing

particain wipe?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] batpoil:
Can anyone help me find the patched boot img to root using magisk? All I find are pretty dated guides like this https://xdaforums.com/t/how-to-guid...magisk-18-1-pre-patched-boot-img-feb.3856712/

Figured it out, just need to patch the recovery file (64mb) that you used to flash the phone and it's all good.

@H2avo I suspect you rebooted into the system in between the flash. Follow the video exactly and youll be fine.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] gold2010:
do anyone has problems with SMS? (in GSM/2G/3G/4G) I opened a bug report here

Cannot send or receive SMS (#3394) · Issues · LineageOS / issues / android · GitLab

Expected Behavior SMS send/receive should work Current Behavior SMS cannot be sent...

gitlab.com

SMS never works (official zip:

lineage-17.1-20210420-nightly-blueline-signed.zip

Solved the problem for los17.1 (I do not have gapps)

Just disable these 2 things by adb command

adb shell pm disable-user --user 0 com.google.android.euicc
adb shell pm disable-user --user 0 com.google.android.ims

From : https://xdaforums.com/t/rom-11-unofficial-lineage-18-1-for-pixel-3-xl-blueline-crosshatch.4185847/
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] halletienne:
Hello everyone,

First of all, thank you for your amazing work.

I am encountering an issue I do not know how to fix or find any information. It is related to the device's USB-C port

I bought a supposedly "new" Pixel 3 on Rakuten from Hong-Kong (I am in Europe) during February, used it some days with its stock ROM.

Then flashed it with this ROM. Everything was going really well, microG, magisk. The USB-C port was able to do as asked : charge, adb, audio, MTP, etc... I precise adb and fastboot were also functional with the bootloader and recovery.

And some day later I noticed my headphones (USB-C) stopped working : the phone was still playing sound through its own speakers. I discovered that adb was not working anymore. Same goes for MTP. I tried multiple cables and computers, rebooting everything I could. Even switch computer OSes. I tried to reboot the phone to recovery, or bootloader but it was still not available through adb or fastboot. I used the option in lineage recovery to make a factory reset, but it didn't change antyhing. The weird thing was that charging the phone was still perfectly okay.

And as, in the current state of TWRP (not available with this android version), I am not able to flash anything without adb or fastboot. I wanted to put it back in its original state (stock rom) to send it back to the seller but I couldn't. I still sent it back to the seller to get a replacement.

Took more than one month to get the replacement (postal services went haywire) but it got another Pixel 3. Screen has a small black circle and power/ volumes buttons were missing a bit of paint. So not a "new" Pixel 3. But I was still kinda happy to finally got a phone back.

I ran some checks : headphones, adb, fastboot, mtp were all okay with stock ROM. Decided to flash again to this ROM, with the same general options (MicroG, Magisk). Everything was again perfectly working with this LineageOS. Recovery and bootloader were also good, headphones were playing sound. And....

Yesterday I plugged my headset to make a call, and noticed that it stopped working. Same as before. And I got back to the same situation were no data could get transferred through cable, nor audio. The charge is, once again, still functional.

I tried to check logcat, and dmesg through ADB over network, but I didn't find anything standing out. My computer does not even see it getting connected when I check the computer logs (dmesg, journalctl, lsusb...).

Tried to see if the USB-C port has some dust in it with a tiny needle and nothing really came out.

I am a bit lost. Have I done something wrong to put my phone in this state ? Anyone has ever encountered something like this with the Google Pixel 3 ? Any lead of how to fix this ? I am looking for any advice.

I cannot really afford to send it back, again, to the seller.

I ordered a new Google Pixel 3 Charging Assembly part. I am going to try to replace the current one. It is a bit of a desperate move, I think