We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

I think I've killed my Xperia for good :-( [answered]

asked 2018-02-20 12:58:19 +0300

objectifnul gravatar image

updated 2018-02-20 13:28:44 +0300

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.
edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by objectifnul
close date 2018-02-20 16:19:37.624891

Comments

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 +0300 )edit

I did it before (replacing many big app files with symlinks). Now it's too late I guess.

objectifnul ( 2018-02-20 13:09:07 +0300 )edit

And 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 +0300 )edit

Shell :

Type the number of the desired action and press [Enter]: 
3

If you continue, this may void your warranty. Are you really SURE? [y/N] y
  /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

I could also enter recovery ssh (with 'recovery' password):

ssh root@10.42.66.66 -p 22

recovery:~ # lvm
lvm> vgs                                                                                                                               
/dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
VG       #PV #LV #SN Attr   VSize  VFree
sailfish   1   2   0 wz--n- 20.70g    0 
lvm>

Is there anything I can do from there? (Didn't find any documentation about this)

objectifnul ( 2018-02-20 13:35:00 +0300 )edit

2 Answers

Sort by » oldest newest most voted
3

answered 2018-02-20 15:34:25 +0300

ExPLIT gravatar image

Just reflash Android with Emma Tool and afterwards flash the Sailfish again.

edit flag offensive delete publish link more

Comments

1

Thanks. Is there a non-windows solution? (I'm running Ubuntu Xenial) Should I try to borrow a Windows machine?

objectifnul ( 2018-02-20 15:45:53 +0300 )edit

Maybe this works: https://jolla.com/sailfishx-linux-instructions/

Filip K. ( 2018-02-25 23:25:02 +0300 )edit
3

answered 2018-02-20 16:18:22 +0300

objectifnul gravatar image

updated 2018-02-20 16:28:56 +0300

Phone reflashed from scratch (bash ./flash.sh). Now rebuilding my UI. Thanks to all.

edit flag offensive delete publish link more

Comments

What are you talking about? What/where is the flash.sh script? This does not exist on anyone else's device but your own. This is a script you created?

jimjamz ( 2019-04-08 14:53:29 +0300 )edit

Question tools

Follow
2 followers

Stats

Asked: 2018-02-20 12:58:19 +0300

Seen: 999 times

Last updated: Feb 20 '18