[corrupted filesystem] sailfish corrupted on XA2 plus [not relevant]

asked 2019-07-29 11:42:27 +0200

misc11 gravatar image

updated 2019-07-29 18:08:39 +0200

hi guys,

today in the morning my alarm didnt ring and i discovered that the displayed time on my XA2 plus is wrong. i started playing a podcast while the volume bar wouldnt disappear (which is a problem i would have commonly with my jolla 1). i then noticed i cant open any apps anymore. so i went to the good old reboot.

now, unlocked bootloader and sony screen came, then one boot loop - again bootloader warning and sony screen. now it boots into sailfish lockscreen. swiping left or right i just get an empty, blurry screen - no way to enter password. on the lockscreen the pulley at first wasnt there. after another reboot the pulley menu appeared, but selecting phone or people of course only brings me to the non-existent password screen.

so, using recovery mode and telnet i did a file system check with the result:

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: 40258/153600 files (0.2% non-contiguous), 422083/640000 blocks
e2fsck 1.43.1 (08-Jun-2016)
Pass 1: Checking inodes, blocks, and sizes
Inode 118902 extent tree (at level 1) could be shorter.  Fix? yes

Pass 1E: Optimizing extent trees
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

home: ***** FILE SYSTEM WAS MODIFIED *****
home: 29945/1033248 files (2.0% non-contiguous), 2109823/4601856 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

does anyone have an idea on how to fix that without reflashing? any ideas what caused this? any help in genereal appreciated...

note: sailfish was at the latest stable v3.0.3.10 - i am in early access group and got the EA update suggested yesterday after a manual update search, but i did not install it.of course after finding an update it always says "preparing the update" which i guessed for the j1 meant some file system stuff, but i dont know for the XA2 plus.

edit

trying sshd results in:

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
  2 logical volume(s) in volume group "sailfish" now active
Device /dev/sailfish/home doesn't exist or access denied.
[OK] No lockcode has been set. Proceeding...
Starting sshd on 10.42.66.66.
Login: root
Password: recovery

Press [Enter] to stop sshd...

note that a lockcode definitively has been set! but ssh wasnt activated in settings, so no ssh/devel-su password was set.

i chose to do a factory reset... even that gave me tons of i/o errors:

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
Device /dev/sailfish/home doesn't exist or access denied.
[OK] No lockcode has been set. Proceeding...
  /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
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  0 logical volume(s) in volume group "sailfish" now active
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  Logical volume "root" successfully removed
  Logical volume "home" successfully removed
  Volume group "sailfish" successfully removed
  /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
  Labels on physical volume "/dev/mmcblk0p76" successfully wiped.
  /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
  Physical volume "/dev/mmcblk0p76" successfully created.
  /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
  Volume group "sailfish" successfully created
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  Logical volume "root" created.
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  Logical volume "home" created.
resize2fs 1.43.1 (08-Jun-2016)
Resizing the filesystem on /dev/sailfish/root to 640000 (4k) blocks.
The filesystem on /dev/sailfish/root is now 640000 (4k) blocks long.

resize2fs 1.43.1 (08-Jun-2016)
Resizing the filesystem on /dev/sailfish/home to 4601856 (4k) blocks.
The filesystem on /dev/sailfish/home is now 4601856 (4k) blocks long.

/var/lib/platform-updates/factory-reset-vendor.sh ... 
850+0 records in
850+0 records out
891289600 bytes (891 MB) copied, 17.6357 s, 50.5 MB/s
OK
/var/lib/platform-updates/flash-bootimg.sh ... 
Flashing to mmcblk0p38
4444+0 records in
4444+0 records out
18202624 bytes (18 MB) copied, 0.311445 s, 58.4 MB/s
Flashing to mmcblk0p39
4444+0 records in
4444+0 records out
18202624 bytes (18 MB) copied, 0.275672 s, 66.0 MB/s
OK


[DONE] DEVICE RECOVERED!


[NOTE]: please note that since the device will now reboot, after you press 
[Enter], this connection will be interrupted and you won't be able to interact 
with this screen anymore.
Press [Enter] to reboot the device...

it seemes to be working now.... when i got everything up and running i will close this... but please, if anyone got an idea of what actually happened here and why, please share your info

edit retag flag offensive reopen delete

The question has been closed for the following reason "question is not relevant or outdated" by misc11
close date 2019-08-07 19:57:55.679896