Jolla Phone bricked during upgrade to 2.1.1
I tried to upgrade my Jolla last night to 2.1.1 (Jämsänjoki) and ended up with a bricked phone. Any ideas for what to try (I really would like to boot the phone without having to resort to factory reset).
The update process failed with some kind of "Could not upgrade at this time" error and prompted me to boot the phone. When booting, the phone shows the Jolla logo, then flashes a white led once, then goes totally dark and does not respond to anything. Nothing is written in logs during these failed boots.
Btrfs seems to be relatively healthy (viewed from recovery shell):
/ # btrfs fi show
ERROR: unable get label Inappropriate ioctl for device
Label: 'sailfish' uuid: e7a52518-ccc6-494a-8843-b742e7781620
Total devices 1 FS bytes used 6.51GiB
devid 1 size 13.75GiB used 10.13GiB path /dev/mmcblk0p28
Btrfs v3.16
/ # btrfs fi df /mnt
Data, single: total=9.00GiB, used=6.40GiB
System, DUP: total=64.00MiB, used=4.00KiB
System, single: total=4.00MiB, used=0.00
Metadata, DUP: total=512.00MiB, used=115.64MiB
I tried chrooting to /mnt to look at journalctl. The log ends like this (looks like something went wrong during systemd upgrade):
Aug 31 00:33:22 Sailfish kernel: [BAT] 51( 51, 51.9, 47.8( 47.6) 0.0)v3744(3828)( 404, 377)t310,c 55333, 94(17360)r208,L3875,s10
Aug 31 00:33:22 Sailfish kernel: [BAT]## SOC= 51( 51, 51),3755(3744),A=0345,T=310,On=0,0,(0),Unknown 000(100),vd=4360(0,0),ib=1000,0,F03,R08,W10
Aug 31 00:33:26 Sailfish packagekitd[13632]: Install progress update: 404 of 667
Aug 31 00:33:26 Sailfish store-client[13738]: [D] unknown:0 - void Package::DistUpgradeTransactionPkgKit::slotPackage(PackageKit::Transaction::Info, const QString&, const QString&) 12 "systemd;225+git3.1-1.17.3;armv7hl;jolla" "A System and Service Manager"
Aug 31 00:33:26 Sailfish groupadd[15397]: group added to /etc/group: name=systemd-network, GID=990
Aug 31 00:33:27 Sailfish groupadd[15397]: group added to /etc/gshadow: name=systemd-network
Aug 31 00:33:27 Sailfish groupadd[15397]: new group: name=systemd-network, GID=990
Aug 31 00:33:27 Sailfish useradd[15402]: new user: name=systemd-network, UID=995, GID=990, home=/, shell=/sbin/nologin
Aug 31 00:33:28 Sailfish groupadd[15408]: group added to /etc/group: name=systemd-bus-proxy, GID=989
Aug 31 00:33:28 Sailfish groupadd[15408]: group added to /etc/gshadow: name=systemd-bus-proxy
Aug 31 00:33:28 Sailfish groupadd[15408]: new group: name=systemd-bus-proxy, GID=989
Aug 31 00:33:28 Sailfish useradd[15413]: new user: name=systemd-bus-proxy, UID=994, GID=989, home=/, shell=/sbin/nologin
Aug 31 00:33:28 Sailfish systemd[1]: Stopping udev Control Socket.
Aug 31 00:33:28 Sailfish systemd[1]: Closed udev Control Socket.
Aug 31 00:33:28 Sailfish systemd[1]: Stopping udev Kernel Socket.
Aug 31 00:33:28 Sailfish systemd[1]: Closed udev Kernel Socket.
Aug 31 00:33:28 Sailfish systemd[1]: Stopping udev Kernel Device Manager...
Aug 31 00:33:29 Sailfish systemd[1]: Stopped udev Kernel Device Manager.
Aug 31 00:33:29 Sailfish dbus[473]: [system] Reloaded configuration
Aug 31 00:33:29 Sailfish dbus[473]: [system] Reloaded configuration
Aug 31 00:33:31 Sailfish dbus-daemon[952]: Reloaded configuration
Aug 31 00:33:31 Sailfish dbus[473]: [system] Reloaded configuration
Aug 31 00:33:31 Sailfish dbus-daemon[952]: Reloaded configuration
Aug 31 00:33:31 Sailfish dbus[473]: [system] Reloaded configuration
Aug 31 00:33:32 Sailfish systemd[1]: Reexecuting.
Aug 31 00:33:32 Sailfish systemd[1]: systemd 225 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP +GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
Aug 31 00:33:32 Sailfish systemd[1]: Detected architecture arm.
Aug 31 00:33:32 Sailfish systemd[1]: usb-moded.service: Service has a D-Bus service name specified, but is not of type dbus. Ignoring.
Aug 31 00:33:32 Sailfish systemd[1]: Configuration file /lib/systemd/system/ohmd.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Aug 31 00:33:32 Sailfish systemd[1]: [/lib/systemd/system/connman.service:3] Failed to add dependency on oneshot-root, ignoring: Invalid argument
Aug 31 00:33:32 Sailfish systemd[1]: [/lib/systemd/system/connman.service:4] Failed to add dependency on oneshot-root, ignoring: Invalid argument
Aug 31 00:33:32 Sailfish systemd[1]: Configuration file /lib/systemd/system/wpa_supplicant.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Aug 31 00:33:32 Sailfish systemd[1]: sensorfwd.service: Service has a D-Bus service name specified, but is not of type dbus. Ignoring.
Aug 31 00:33:33 Sailfish systemd[1]: Listening on udev Control Socket.
Aug 31 00:33:33 Sailfish systemd[1]: Listening on udev Kernel Socket.
Aug 31 00:33:33 Sailfish systemd[1]: Starting udev Kernel Device Manager...
Aug 31 00:33:33 Sailfish systemd[1]: Started Keep FDO Desktop Entry files in sync with .apk files.
Aug 31 00:33:34 Sailfish systemd[1]: Started udev Kernel Device Manager.
Aug 31 00:33:34 Sailfish systemd[1]: systemd-logind.service: Watchdog timeout (limit 1min)!
Aug 31 00:33:34 Sailfish systemd[1]: systemd-logind.service: Main process exited, code=killed, status=6/ABRT
Aug 31 00:33:34 Sailfish kernel: systemd(1) send signal 6 to systemd-logind(747)
Aug 31 00:33:34 Sailfish systemd[1]: systemd-logind.service: Unit entered failed state.
Aug 31 00:33:34 Sailfish systemd[1]: systemd-logind.service: Failed with result 'signal'.
Aug 31 00:33:34 Sailfish systemd[1]: systemd-logind.service: Service has no hold-off time, scheduling restart.
Aug 31 00:33:34 Sailfish systemd[1]: Stopped Login Service.
Aug 31 00:33:34 Sailfish systemd[1]: Starting Login Service...
Aug 31 00:33:34 Sailfish systemd[1]: systemd-journald.service: Watchdog timeout (limit 1min)!
Any ideas on what is going on appreciated.