Android 12 update google pixel 4a compatible with "sunfish"?

Dear all,

I´m new to /e/ and I want to install it on my google pixel 4a. Unfortunatly the phone has made an update to Android 12. In the instruction it is written that the latest stock OS version 11 must be installed on the phone in order to install “sunfish” (https://doc.e.foundation/devices/sunfish/install). Now I was wondering if I can still install “sunfish” on the android 12 google pixel 4a phone?

thank you so much already!
Best!

Regain your privacy! Adopt /e/ the unGoogled mobile OS and online servicesphone

No, you need android 11 as the base for installing eos.

in case you didn’t know, It’s pretty easy to install stock 11 on sunfish, google makes it easy, lol!

See this post for more info and links to stock rom:

great thanks for the answer!

I followed the instructions, but when I try to flash the image there comes an error report. Now the phone doesn’t start anymore… do you have any ideas? I can send a screenshot from the command line, if this helps?

Any information would be useful. Like, what image and how?

linda@linda-ThinkPad-X1-Carbon-4th:~/Downloads/sunfish-rq3a.211001.001$ fastboot flash bootloader bootloader-sunfish-s5-0.3-7357976.img
target reported max download size of 268435456 bytes
sending ‘bootloader_a’ (8357 KB)…
OKAY [ 0.190s]
writing ‘bootloader_a’…
(bootloader) Flashing Pack version s5-0.3-7357976
(bootloader) Flashing partition table for Lun = 0
(bootloader) Flashing partition table for Lun = 1
(bootloader) Flashing partition table for Lun = 2
(bootloader) Flashing partition table for Lun = 4
(bootloader) Flashing partition table for Lun = 5
(bootloader) Flashing partition xbl_a
(bootloader) Flashing partition xbl_config_a
(bootloader) Flashing partition aop_a
(bootloader) Flashing partition tz_a
(bootloader) Flashing partition hyp_a
(bootloader) Flashing partition abl_a
(bootloader) Flashing partition keymaster_a
(bootloader) Flashing partition cmnlib_a
(bootloader) Flashing partition cmnlib64_a
(bootloader) Flashing partition devcfg_a
(bootloader) Flashing partition qupfw_a
(bootloader) Flashing partition uefisecapp_a
(bootloader) Flashing partition logfs
OKAY [ 0.300s]
finished. total time: 0.490s
linda@linda-ThinkPad-X1-Carbon-4th:~/Downloads/sunfish-rq3a.211001.001$ fastboot reboot-bootloader
rebooting into bootloader…
OKAY [ 0.070s]
finished. total time: 0.171s
linda@linda-ThinkPad-X1-Carbon-4th:~/Downloads/sunfish-rq3a.211001.001$ sleep 5
linda@linda-ThinkPad-X1-Carbon-4th:~/Downloads/sunfish-rq3a.211001.001$ fastboot flash radio radio-sunfish-g7150-00047-210319-b-7220401.img
target reported max download size of 268435456 bytes
sending ‘radio_a’ (72372 KB)…
OKAY [ 0.650s]
writing ‘radio_a’…
(bootloader) Flashing Pack version SSD:g7150-00047-210319-B-7220401
(bootloader) Flashing partition modem_a
OKAY [ 0.342s]
finished. total time: 0.992s
linda@linda-ThinkPad-X1-Carbon-4th:~/Downloads/sunfish-rq3a.211001.001$ fastboot reboot-bootloader
rebooting into bootloader…
OKAY [ 0.070s]
finished. total time: 0.221s
linda@linda-ThinkPad-X1-Carbon-4th:~/Downloads/sunfish-rq3a.211001.001$ sleep 5
linda@linda-ThinkPad-X1-Carbon-4th:~/Downloads/sunfish-rq3a.211001.001$ fastboot -w update image-sunfish-rq3a.211001.001.zip
extracting android-info.txt (0 MB)…
extracting boot.img (64 MB)…
target reported max download size of 268435456 bytes
archive does not contain ‘boot.sig’
archive does not contain ‘boot_other.img’
extracting dtbo.img (8 MB)…
archive does not contain ‘dtbo.sig’
archive does not contain ‘dt.img’
archive does not contain ‘recovery.img’
extracting system.img (785 MB)…
archive does not contain ‘system.sig’
extracting system_other.img (23 MB)…
archive does not contain ‘system.sig’
extracting vbmeta.img (0 MB)…
archive does not contain ‘vbmeta.sig’
extracting vendor.img (529 MB)…
archive does not contain ‘vendor.sig’
archive does not contain ‘vendor_other.img’
wiping userdata…
Erase successful, but not automatically formatting.
File system type raw not supported.

Bootloader Version…: s5-0.3-7357976
Baseband Version…: g7150-00047-210319-B-7220401
Serial Number…: 11111JEC208656

checking product…
OKAY [ 0.070s]
checking version-bootloader…
OKAY [ 0.070s]
checking version-baseband…
OKAY [ 0.070s]
sending ‘boot_a’ (65536 KB)…
OKAY [ 0.510s]
writing ‘boot_a’…
OKAY [ 0.233s]
sending ‘dtbo_a’ (8192 KB)…
OKAY [ 0.167s]
writing ‘dtbo_a’…
OKAY [ 0.100s]
sending sparse ‘system_a’ 1/4 (262140 KB)…
OKAY [ 1.641s]
writing ‘system_a’ 1/4…
FAILED (remote: Partition should be flashed in fastbootd)
finished. total time: 3.214s

I hope it helps I could also try to download a different factory image… But I’m really new to all this and most of the commands I could find online were not helpfull in my case… thank you so much again!!

I don’t have sunfish, I have redfin Pixel 5 but it has to be similar, although the log looks slightly different.

First off, did you verify the image after downloading with the checksum?

It looks like the process got interrupted and the phone didn’t boot into fastbboot d at the end of your log. There was still quite a way to go at that point.

Sometimes it could be the cable not up to the job (try another) or the socket on laptop. Or you might have knocked something at that point and upset the process.

So basically make sure the image is good and cable ok and run the script again. You should see the phone reboot itself into fastbootd at the point your log ends and just sit tight until it’s finished. Confusingly the terminal output says finished a few times…but just wait and it should reboot automatically when finished and then you can unplug.

Good Luck

finally I found out what the problem was. I had to update my skd plattform-tool :wink:
But thanks for all the help!

Hi

Another way to flash easy a stock rom for a pixel phone : Web Android Flash Tool

Good luck & thanks for your post, I have a Pixel 4a with android 12 and didn’t see Android 11 was required.

for /e/ download and flash full android 12 rom for the android 12 modem. factory flash is located here

https://developers.google.com/android/images

I have /e/ S Dev running with the modem from this image
https://dl.google.com/dl/android/aosp/sunfish-sq3a.220705.003.a1-factory-c1963f71.zip