Sailfish OS Recovery Image

asked 2017-04-01 16:04:00 +0200

Christoph Stelz gravatar image

Goodday, recently I have encountered a major problem with my Jolla Phone:

I did some experiments with a chroot-environment and installed a custom RPM (I know, not the kind of things you'd do if you want to keep your system stable). However, I started getting no space left on device error messages when creating/copying files, had problems starting android apps and got Segmentation fault from several system binaries during startup (e.g. aliendalvik). The virtual keyboard constantly crashed, in short: the whole OS was messed up.

I tried to start the factory reset, but it failed too. Then I tried the Recovery Menu to reset the device, but it failed as well with a Segmentation fault. Now I'm really desperate for a solution, but I noticed I still have the fastboot option. My question in particular is:

Is it possible to flash a .img file of sailfish os or any other OS onto the device? If so, where can I obtain one?

PS: there's no warranty for that device

edit retag flag offensive close delete

Comments

1
2

yes, it is possible to flash a .img file of your working sailfish os backup via recovery menu, if you created one. If not, there is no .img available due to things like (droid-codecs, qualcomm-drivers...)

lpr ( 2017-04-01 17:08:51 +0200 )edit
2

I would begin with creating a .img file of your crashed system on a microsd card via recovery mode. Next step would be mounting a copy of that .img file with a recent linux. Balance this image correctly and delete files to create some free space (5-6GB free). After that balance the image again and flash it back to your jolla. Now you should be able to do a factory reset

lpr ( 2017-04-01 17:16:02 +0200 )edit

Thanks for the helpful and quick responses. Yes, I checked that zendesk article, when I'm recovering using the menu, it is stuck at Resetting procedure started! Backing up current root and home subvolumes. If the backup fails, the old data will be deleted to let the recovery process continue.

Sadly, I don't have any .img files backed up before the system crashed.

Christoph Stelz ( 2017-04-01 19:10:02 +0200 )edit
1

you cannot recover because the recovery-program needs to use your system partition to read/write files (even the recovery images are only subvolumes of it). So you first have to balance and free space on it as described above...

lpr ( 2017-04-01 19:17:15 +0200 )edit