[Google Pixel 2 Questions & Answers] Mobb_Deep73:
Hello Folks,

See post 18 for the solution​

My Pixel 2 (walleye MP1) doesn't do much anymore.

So, It was running LineageOS 18 and decided to upgrade to 20. Since there is no mention about upgrading the recovery first I:

Downloaded LineageOS 20

Rebooted into LineageOS recovery (v18)

Wiped data and:

adb sideload lineage-20.0-20230905-nightly-walleye-signed.zip

And then it begun, immediately it was stuck on:

After several tries I updated the Lineage recovery (boot.img) to v20 from the download page, all this time it was running on slot_b and and after lots of tries with "format data" etc. I stopped.

Then I tried the following commands which made things worse.

fastboot flash flashall boot.img
fastboot flash boot boot.img
fastboot flash boot_a boot.img

After some reading I decided to revert back to the stock image and it almost worked. The phone is now in the state that when I power it on it states:

When I try to go to recovery the phone goes back to the startup screen and displays the message above. When I try "Download mode" it states:

The interesting part is that the devices still lists when running:

fastboot devices

And when running the "flash-base.sh" script from the stock image it completes succesfully:

❯ ./flash-base.sh
Warning: skip copying bootloader_a image avb footer (bootloader_a partition size: 0, bootloader_a image size: 39628800).
Sending 'bootloader_a' (38700 KB) OKAY [ 1.457s]
Writing 'bootloader_a' (bootloader) Updating: partition:0 @00002000 sz=0000B000
(bootloader) Updating: partition:1 @0000D000 sz=0000B000
(bootloader) Updating: partition:2 @00018000 sz=0000B000
(bootloader) Updating: partition:3 @00023000 sz=0000B000
(bootloader) Updating: partition:4 @0002E000 sz=0000B000
(bootloader) Updating: partition:5 @00039000 sz=0000B000
(bootloader) Updating: pmic @00044000 sz=0000D000
(bootloader) Updating: xbl @00051000 sz=003A6000
(bootloader) Updating: abl @003F7000 sz=00065000
(bootloader) Updating: cmnlib64 @0045C000 sz=0004A000
(bootloader) Updating: cmnlib @004A6000 sz=00038000
(bootloader) Updating: devcfg @004DE000 sz=0000F000
(bootloader) Updating: hyp @004ED000 sz=00043000
(bootloader) Updating: keymaster @00530000 sz=0004E000
(bootloader) Updating: tz @0057E000 sz=001D5000
(bootloader) Updating: rpm @00753000 sz=0003A000
(bootloader) Updating: hosd @0078D000 sz=01E20000
(bootloader) Updating: lockbooter @025AD000 sz=00016000
(bootloader) Updating: apdp @025C3000 sz=00004000
(bootloader) Updating: msadp @025C7000 sz=00004000
OKAY [ 0.753s]
Finished. Total time: 2.215s
Rebooting into bootloader OKAY [ 0.000s]
Finished. Total time: 0.050s
Warning: skip copying radio_a image avb footer (radio_a partition size: 0, radio_a image size: 61837312).
Sending 'radio_a' (60388 KB) OKAY [ 2.138s]
Writing 'radio_a' (bootloader) Updating: modem @00001000 sz=03AF7000
OKAY [ 0.290s]
Finished. Total time: 2.432s
Rebooting into bootloader OKAY [ 0.000s]
Finished. Total time: 0.050s

Afterwards, If I choose to go to recovery mode, download mode or start I get back to startup screen with the message "ERROR: Operation Denied".

When I run the "flash-all.sh" script it is not able to complete, note: it notes bootloader_a, I tried it also on bootloader_b, and switched afterwards with "fastboot --set-active=a"

❯ ./flash-all.sh
Warning: skip copying bootloader_a image avb footer (bootloader_a partition size: 0, bootloader_a image size: 39628800).
Sending 'bootloader_a' (38700 KB) OKAY [ 1.471s]
Writing 'bootloader_a' (bootloader) Updating: partition:0 @00002000 sz=0000B000
(bootloader) Updating: partition:1 @0000D000 sz=0000B000
(bootloader) Updating: partition:2 @00018000 sz=0000B000
(bootloader) Updating: partition:3 @00023000 sz=0000B000
(bootloader) Updating: partition:4 @0002E000 sz=0000B000
(bootloader) Updating: partition:5 @00039000 sz=0000B000
(bootloader) Updating: pmic @00044000 sz=0000D000
(bootloader) Updating: xbl @00051000 sz=003A6000
(bootloader) Updating: abl @003F7000 sz=00065000
(bootloader) Updating: cmnlib64 @0045C000 sz=0004A000
(bootloader) Updating: cmnlib @004A6000 sz=00038000
(bootloader) Updating: devcfg @004DE000 sz=0000F000
(bootloader) Updating: hyp @004ED000 sz=00043000
(bootloader) Updating: keymaster @00530000 sz=0004E000
(bootloader) Updating: tz @0057E000 sz=001D5000
(bootloader) Updating: rpm @00753000 sz=0003A000
(bootloader) Updating: hosd @0078D000 sz=01E20000
(bootloader) Updating: lockbooter @025AD000 sz=00016000
(bootloader) Updating: apdp @025C3000 sz=00004000
(bootloader) Updating: msadp @025C7000 sz=00004000
OKAY [ 0.759s]
Finished. Total time: 2.235s
Rebooting into bootloader OKAY [ 0.000s]
Finished. Total time: 0.051s
Warning: skip copying radio_a image avb footer (radio_a partition size: 0, radio_a image size: 61837312).
Sending 'radio_a' (60388 KB) OKAY [ 1.852s]
Writing 'radio_a' (bootloader) Updating: modem @00001000 sz=03AF7000
OKAY [ 0.282s]
Finished. Total time: 2.138s
Rebooting into bootloader OKAY [ 0.000s]
Finished. Total time: 0.051s
--------------------------------------------
Bootloader Version...: mw8998-003.0085.00
Baseband Version.....: g8998-00034-2006052136
Serial Number........: xxxxxxxxx
--------------------------------------------
extracting android-info.txt (0 MB) to RAM...
Checking 'product' OKAY [ 0.001s]
Checking 'version-bootloader' OKAY [ 0.001s]
Checking 'version-baseband' OKAY [ 0.001s]
Setting current slot to 'a' OKAY [ 0.010s]
extracting boot.img (32 MB) to disk... took 0.136s
archive does not contain 'init_boot.img'
extracting dtbo.img (8 MB) to disk... took 0.012s
archive does not contain 'dt.img'
archive does not contain 'pvmfw.img'
archive does not contain 'recovery.img'
extracting vbmeta.img (0 MB) to disk... took 0.000s
archive does not contain 'vbmeta_system.img'
archive does not contain 'vbmeta_vendor.img'
archive does not contain 'vendor_boot.img'
archive does not contain 'vendor_kernel_boot.img'
archive does not contain 'super_empty.img'
archive does not contain 'boot_other.img'
archive does not contain 'odm.img'
archive does not contain 'odm_dlkm.img'
archive does not contain 'product.img'
extracting system.img (2434 MB) to disk... took 7.648s
archive does not contain 'system_dlkm.img'
archive does not contain 'system_ext.img'
extracting system_other.img (311 MB) to disk... took 1.161s
extracting vendor.img (324 MB) to disk... took 1.242s
archive does not contain 'vendor_dlkm.img'
archive does not contain 'vendor_other.img'
extracting boot.img (32 MB) to disk... took 0.097s
archive does not contain 'boot.sig'
Sending 'boot_a' (32768 KB) OKAY [ 1.076s]
Writing 'boot_a' OKAY [ 0.166s]
extracting dtbo.img (8 MB) to disk... took 0.040s
archive does not contain 'dtbo.sig'
Warning: skip copying dtbo_a image avb footer (dtbo_a partition size: 0, dtbo_a image size: 8388608).
Sending 'dtbo_a' (8192 KB) OKAY [ 0.271s]
Writing 'dtbo_a' OKAY [ 0.041s]
extracting vbmeta.img (0 MB) to disk... took 0.000s
archive does not contain 'vbmeta.sig'
Warning: skip copying vbmeta_a image avb footer (vbmeta_a partition size: 0, vbmeta_a image size: 4096).
Sending 'vbmeta_a' (4 KB) OKAY [ 0.002s]
Writing 'vbmeta_a' OKAY [ 0.001s]
archive does not contain 'super_empty.img'
extracting system.img (2434 MB) to disk... took 7.739s
archive does not contain 'system.sig'
Warning: skip copying system_a image avb footer (system_a partition size: 2684354560, system_a image size: 140724373465392).
Sending sparse 'system_a' 1/6 (458752 KB) OKAY [ 15.450s]
Writing 'system_a' OKAY [ 0.000s]
Sending sparse 'system_a' 2/6 (458752 KB) OKAY [ 19.189s]
Writing 'system_a' OKAY [ 0.000s]
Sending sparse 'system_a' 3/6 (458752 KB) OKAY [ 18.658s]
Writing 'system_a' OKAY [ 0.000s]
Sending sparse 'system_a' 4/6 (458752 KB) OKAY [ 17.719s]
Writing 'system_a' OKAY [ 0.000s]
Sending sparse 'system_a' 5/6 (524200 KB) OKAY [ 20.588s]
Writing 'system_a' OKAY [ 0.000s]
Sending sparse 'system_a' 6/6 (133844 KB) OKAY [ 7.369s]
Writing 'system_a' OKAY [ 0.000s]
extracting system_other.img (311 MB) to disk... took 1.260s
archive does not contain 'system_other.sig'
Sending 'system_b' (2621440 KB) FAILED (remote: 'Uploaded data exceeds max-download-size')
fastboot: error: Command failed

When searching on the error message I get hits on "do you have the correct image"... Which I guess I have?

I even tried to restore the original recovery by extracting it from the stock image and:

unzip image-walleye-rp1a.201005.004.a1.zip
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img

But without success. I tried it with the factory October and December (latest) release.

The current state is that the devices boots into the bootloader and get listed when running fastboot devices.

Any thoughts? Thank you in advance.