REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): ssu -re
reports 3.4.0.24, but might be some limbo state between 3.3 and 3.4
HARDWARE (Jolla1, Tablet, XA2,…): Xperia 10
UI LANGUAGE: FI
REGRESSION: (compared to previous public release: Yes, No, ?): Yes
DESCRIPTION:
I was encouraged by the trouble free update of my old JP-1301 and took the leap of faith with my daily driver Xperia 10 (had some small issues on the SFOS 3.3 update, but managed to fix them via Terminal). While updating the OS the phone gave message Sailfish OS could not be updated. Please try again later.
and option to Reboot
. After rebooting (and all startups after that) leads to the regular warnings of the bootloader and Sony logo and then after normal length wait the screen flashes white twice and then stays black (with backlight on) when it should ask for PIN or anything else.
PRECONDITIONS:
Before updating I read the warnings about AlienDalvik-Control, but was stupid enough to though just making sure it is the newest version was enough instead of removing it completely before updating the OS. Turns out I had it installed in two different versions for some reason?
STEPS TO REPRODUCE:
- Have both
aliendalvik-control-9.3.0-1.armv7hl
andaliendalvik-control-9.3.1-1.armv7hl
installed on your phone - Apply SFOS 3.4 update via GUI
- ???
- No profit
EXPECTED RESULT:
No problems.
ACTUAL RESULT:
Phone with no working UI
ADDITIONAL INFORMATION:
(Please ALWAYS attach relevant data such as logs, screenshots, etc…)
I don’t use or never have used any patches or the Phonehook app so those can’t be issue here.
I have WLAN turned off on the phone so can’t SSH into it (neither would I remember the password so the USB Remote Access -method is also out of the question unless there is some way to change these settings in the Recovery Mode).
I have managed to use the Recovery Mode Shell to remove AlienDalvik-Control and to be safe remove all the remaining related directories under /usr/share/
, but the UI still don’t show up in the boot and if I try to use pkcon refresh
or pkcon update
I get error message Failed to contact PackageKit: Could not connect: Connection refused
which might be due to the borked dist-upgrade or Recovery Mode not having connection to the Internet?
I don’t know how to (if even possilbe) to get the Recovery Mode use my computer as waygate to use Internet to try to check if there is still some packages needing to be updated to complete the 3.4 update.
The first try to fix the system:
/ # chroot /rootfs/
bash-3.2# rpm -e --noscripts aliendalvik-control
error: "aliendalvik-control" specifies multiple packages:
aliendalvik-control-9.3.0-1.armv7hl
aliendalvik-control-9.3.1-1.armv7hl
bash-3.2# rpm -e --noscripts aliendalvik-control-9.3.0-1.armv7hl
bash-3.2# rpm -e --noscripts aliendalvik-control-9.3.0-2.armv7hl
error: package aliendalvik-control-9.3.0-2.armv7hl is not installed
bash-3.2# rpm -e --noscripts aliendalvik-control
bash-3.2# pkcon update
Failed to contact PackageKit: Could not connect: Connection refused
bash-3.2# ssu re
Device release is currently: 3.4.0.24
bash-3.2# version --dup
REFRESHING CACHE AND DOWNLOADING PACKAGES
and I assume because no connection, the phone waits here until all eternity or until I break the process.
I have also pulled the systemupdate.log
and zypp/history
out of the phone, and I’m not on expert reading those, but seems like there isn’t anything out of the ordinary except AlienDalvik-Control related stuff:
Oct 14 20:03:43 Xperia10-DualSIM [RPM][10938]: scriptlet %preun(aliendalvik-control-9.3.0-1.armv7hl) failure: 2
Oct 14 20:03:43 Xperia10-DualSIM [RPM][10938]: erase aliendalvik-control-9.3.0-1.armv7hl: failure
Oct 14 20:03:43 Xperia10-DualSIM [RPM][10938]: 1 elements failed, 1 scripts failed
Oct 14 20:03:43 Xperia10-DualSIM sailfish-upgrade-ui[4427]: Distribution upgrade error: Subprocess failed. Error: RPM failed: Warning in file "/usr/share/applications/android-open-url-selector.desktop": usage of MIME type "x-maemo-urischeme/http" is discouraged (the use of "x-maemo-urischeme" as media type is strongly discouraged in favor of a subtype of the "application" media type)
Warning in file "/usr/share/applications/android-open-url-selector.desktop": usage of MIME type "x-maemo-urischeme/https" is discouraged (the use of "x-maemo-urischeme" as media type is strongly discouraged in favor of a subtype of the "application" media type)
Warning in file "/usr/share/applications/android-open-url.desktop": usage of MIME type "x-maemo-urischeme/http" is discouraged (the use of "x-maemo-urischeme" as media type is strongly discouraged in favor of a subtype of the "application" media type)
Warning in file "/usr/share/applications/android-open-url.desktop": usage of MIME type "x-maemo-urischeme/https" is discouraged (the use of "x-maemo-urischeme" as media type is strongly discouraged in favor of a subtype of the "application" media type)
method return time=1602695022.611688 sender=:1.50 -> destination=:1.49 serial=22 reply_serial=2
boolean true
Failed to stop aliendalvik-sd-mount.service: Unit aliendalvik-sd-mount.service not loaded.
/var/tmp/rpm-tmp.m1IGAi: line 32: syntax error near unexpected token `fi'
/var/tmp/rpm-tmp.m1IGAi: line 32: `fi'
error: %preun(aliendalvik-control-9.3.0-1.armv7hl) scriptlet failed, exit status 2
error: aliendalvik-control-9.3.0-1.armv7hl: erase failed
It would be super nice if I could get this sorted without needing to reflash since I have some pretty important stuff saved in the application data (both native and Android) that I have slacked on backing up lately and really need it.