After having completed the installation, I would like to share some details and observations in addition to the description on Install /e/ on a Sony Xperia XA2 - “pioneer”
that worked for me or that I made in the setting:
- Sony Xperia XA2 (H3113)
- Android 9
- e-OS: e-0.20-q-20211216151800-dev-pioneer.zip
- Recovery-image: recovery-e-0.20-q-20211216151800-dev-pioneer.img
- pre-install-instructions: copy-partitions-20210323_1922.zip
This is mainly a summary of the preceeding posts.
Temporarily Booting a custom recovery using fastboot
I followed the steps including section Temporarily Booting a custom recovery using fastboot, which gave:
user@host:~/Downloads/e-os$ sudo adb reboot bootloader
user@host:~/Downloads/e-os$ sudo fastboot devices
CABC12345C fastboot
user@host:~/Downloads/e-os$ sudo fastboot flash boot recovery-e-0.20-q-20211216151800-dev-pioneer.img
target reported max download size of 536870912 bytes
sending 'boot_b' (23461 KB)...
OKAY [ 1.047s]
writing 'boot_b'...
OKAY [ 0.191s]
finished. total time: 1.238s
Please note: If you should need to reinstall the recovery image, the outcome might be:
user@host:~/Downloads/e-os$ sudo fastboot flash boot recovery-e-0.20-q-20211216151800-dev-pioneer.img
target reported max download size of 536870912 bytes
sending 'boot_a' (23461 KB)...
OKAY [ 0.929s]
writing 'boot_a'...
OKAY [ 0.190s]
finished. total time: 1.119s
i.e., the slot has changed from b to a. To check and - if necessary - adjust (and re-check) the slot, I did:
user@host:~$ sudo fastboot getvar current-slot
current-slot: a
finished. total time: 0.001s
user@host:~$ sudo fastboot --set-active=b
Setting current slot to 'b'...
OKAY [ 0.008s]
finished. total time: 0.008s
user@host:~$ sudo fastboot getvar current-slot
current-slot: b
finished. total time: 0.001s
Then I was able to reinstall the recovery image to slot b.
Pre-install instructions
With regard to step 2 in the section “Pre-install instructions”, i.e., to be able to select the “Apply Update” on the phone, I needed to unplug and reboot my phone in (e-)recovery mode by holding the volume down and power button. To start, release power button after vibration. This opened the e-recovery mode. After plugging again the phone to the PC and the selection “Apply Update”, then “Apply from ADB” could be done via the e-recovery mode on the phone.
Afterwards I sideloaded the copy-partitions-20210323_1922.zip, which gave:
user@host:~/Downloads/e-os$ sudo adb sideload copy-partitions-20210323_1922.zip
* daemon not running; starting now at tcp:5037
* daemon started successfully
Total xfer: 1.00x
Steps to install /e/OS from recovery
In the section Steps to install /e/OS from recovery, step 9, I would like to mention, that the PC seemed to be stuck for some minutes at 47 % and then even seemed to have stopped the process:
user@host:~/Downloads/e-os$ sudo adb sideload e-0.20-q-20211216151800-dev-pioneer.zip
serving: 'e-0.20-q-20211216151800-dev-pioneer.zip' (~47%) adb: failed to read command: Success
However, on the phone, in small fonts, a progress could be followed, giving the (last three) log lines
Installing update...
Step 1/2
Step 2/2
After a couple of minutes an arrow in the upper left corner appeared. On the main screen, there was displayed
Install completed with status 0.
Than the phone could be rebooted as described in steps 14 and 15. Rebooting took approx. 2 minutes.
I hope this helps.