how to create jolla image?

asked 2017-06-10 14:37:25 +0300

iourine gravatar image

As any piece of living software, and any boat in the sea, Sailfish OS gets overgrown by shells and other junk that build up onto it sooner or later, and becomes sluggish and unstable. Full reset to factory state is a cure, but then it needs to follow the entire chain of updates from the original version till the current one. First, it would be desirable to get an opportunity to flash the current version into ROM to replave the old one. Bun once it is not possible due to 3rd party restrictions, can I make an image of the current Jolla state to load it back use after future resets? I mean the following procedure:

  1. Reset the phone to factory defaults.
  2. With the fresh system (and only my Jolla account registered in it), install all the updates up to the current version.
  3. Boot in Recovery Mode, run shell, and dd the required partitions of mmcblk0 entirely to the SD card.
  4. Once a reset is done again in the future, just dd the image from the card back to internal memory partitions.

The only question is: which partitions should be copied? a) for just a fresh system b) for a system with installed applications, if any c) for a system with applications, personal settings, contacts, bookmarks etc, if any

edit retag flag offensive close delete

Comments

No clues as to what device you are referring but you might like to look at: link text and/or link text

aspergerguy ( 2017-06-10 16:41:20 +0300 )edit

The device is the original Jolla phone, shipped with SFOS v1.0.something. Thus it needs 4 or 5 sequential updates, and this becomes boring.

Thnx for links, but there the goal is different: to save/backup/transfer the user's settings and data. For me, in case a), none of them are present, my question is: which partition(s) stores the updated system?

Just dd if=mmcblk0 ... may also be a solution, of course, but probbaly too bulky and time-consuming...

iourine ( 2017-06-10 21:06:47 +0300 )edit