I think I've killed my Xperia for good :-( [answered]
Sad story: after having installed a patch I shoudn't, I couldn't open any app on the phone, still having SSH connection though. I reinstalled lipstick-jolla-home-qt5, which restored the phone partially. That was the moment SFOS 1.2.4.13 EA was released, so I decided to go for it. Unapplied all patches, uninstalled suspicious callrecorder & phonehook then launched OS upgrade.
The phone said "not enough space in system data partition", so I tried this recommendation: https://together.jolla.com/question/156279/installing-system-updates-fails-when-there-is-not-enough-space-in-system-data-partition/?answer=156670#post-id-156670, which failed. Deleted many big files in /home/nemo/ without result.
Recovery mode option (1) failed too ("md5sum: WARNING: 1 of 1 computed checksums did NOT match") Finally, jolla-settings "Device reset" option also failed.
Now I have an Xperia that can't boot and can't be switched off, with a perpetual display "Your device can't be trusted" then "Factory reset failed" in a very small font. Just waiting until the battery is completely discharged.
I am really afraid there is nothing I can do to rescue this brick...
(Unless there is a sorcerer around who can help me)
EDIT: using the volume up key at the exact right moment, I entered recovery mode and got this:
-----------------------------
Jolla Recovery v2.0
-----------------------------
Welcome to the recovery tool!
The available options are:
1) Reset device to factory state
2) Reboot device
3) Shell
4) Perform file system check
5) Run sshd
6) Exit
Type the number of the desired action and press [Enter]:
4
/dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
/dev/mmcblk0rpmb: read failed after 0 of 4096 at 4128768: Input/output error
/dev/mmcblk0rpmb: read failed after 0 of 4096 at 4186112: Input/output error
/dev/mmcblk0rpmb: read failed after 0 of 4096 at 4096: Input/output error
2 logical volume(s) in volume group "sailfish" now active
e2fsck 1.43.1 (08-Jun-2016)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
root: 57177/153600 files (0.3% non-contiguous), 543659/640000 blocks
e2fsck 1.43.1 (08-Jun-2016)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
home: 56707/1077216 files (1.4% non-contiguous), 1362920/4785152 blocks
/dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
0 logical volume(s) in volume group "sailfish" now active
Done
Press [Enter] to return to recovery menu...
Then this:
Type the number of the desired action and press [Enter]:
1
ALL DATA WILL BE ERASED! Clears everything from the device and reverts the
software back to factory state. This means LOSING EVERYTHING you have added to
the device (e.g. updates, apps, accounts, contacts, photos and other media).
Are you really SURE? [y/N] y
/dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
2 logical volume(s) in volume group "sailfish" now active
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libGLESv2.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libcutils.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libutils.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "liblog.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libEGL.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libdsyscalls.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libc++.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libc.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libm.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libbacktrace.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libGLES_trace.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libbase.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libunwind.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libprotobuf-cpp-lite.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libnetd_client.so". Will use given name.
Type your devicelock code and press [ENTER] key:
(please note that the typed numbers won't be shown for security reasons)
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libGLESv2.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libcutils.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libutils.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "liblog.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libEGL.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libdsyscalls.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libc++.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libc.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libm.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libbacktrace.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libGLES_trace.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libbase.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libunwind.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libprotobuf-cpp-lite.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libnetd_client.so". Will use given name.
[OK] Code accepted.
/dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
0 logical volume(s) in volume group "sailfish" now active
sh: /sys/class/block/mmcblk0p10: unknown operand
sh: /sys/class/block/mmcblk0p10: unknown operand
md5sum: WARNING: 1 of 1 computed checksums did NOT match
[ERROR] Factory reset failed.
Connection closed by foreign host.
Can you enter the shell in recovery mode? How much space is left on the rootfs? At last step i would do a backup of the home folder and reinstall SailfishX.
miau ( 2018-02-20 13:05:47 +0200 )editI did it before (replacing many big app files with symlinks). Now it's too late I guess.
objectifnul ( 2018-02-20 13:09:07 +0200 )editAnd no, I have no longer recovery mode or SSH. Bootloop as described above. Maybe after the battery dies.
EDIT: recovery mode available in some conditions. See edit above in main question.
objectifnul ( 2018-02-20 13:10:52 +0200 )editShell :
I could also enter recovery ssh (with 'recovery' password):
Is there anything I can do from there? (Didn't find any documentation about this)
objectifnul ( 2018-02-20 13:35:00 +0200 )edit