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

What and how to backup before Sailfish X install?

asked 2019-03-15 15:32:36 +0300

madbilly gravatar image

Hi everyone,

I'm a noob to Xperias and also a bit of a noob to backing up and restoring individual partitions, although I have some experience with flashing the Nexus 5 and Z3C with B2GOS and /e/.

I'd like to put Sailfish X on my Xperia X. I'd like to make sure I can return the phone to stock afterwards, if needed. I have read about backing up the TA partition so I will do that. However, before I even downgrade to Marshmallow to do that what do I need to do first to ensure I can return to stock?

Maybe I need to do nothing! Will it be sufficient just to reflash stock firmware (which matches my CDA) using Emma or Flashtool when I want to return to stock? Or should I backup some partitions using TWRP before I downgrade to Marshmallow and reflash them later too? Instead of using Emma/Flashtool or before or after?

I think what I want to make sure is that I can get back all the same version numbers in the Software Info of the service menu. Does that really matter? E.g. S1 boot, ETS, etc.

Thanks for your help in advance.

Cheers :)

PS - this was kind of asked here: https://together.jolla.com/question/186688/any-way-to-get-full-image-backup-of-android-xperiax-before-i-go-to-sailfishx/?comment=201164#comment-201164 but not really answered, even when I bumped the thread. I hope that one of you can help me out.

Thanks :)

edit retag flag offensive close delete

Comments

I certainly wouldn't spend too much time on this issue as very little demand for used Xperia X (TAbackup) now as I found out:link text Although I was only concerned getting Widevine and ckb back to OK for sale, pretty sure didn't need to use Emma just Flashtool to restore stock.

aspergerguy ( 2019-03-15 16:14:47 +0300 )edit

1 Answer

Sort by » oldest newest most voted
3

answered 2019-03-15 18:14:18 +0300

DrYak gravatar image

The TA should be enough.

Flashing Sailfish X only overwrites the following partition:

  • TA: it is partially deleted as part of the unlocking procedure
  • Boot partition: you'll be replacing the official Sony Android Kernel, with the one from Jolla (it has a few extra drivers, like BTRFS and is designed to boot Sailfish instead of Android)
  • ODM partition: Sailfish uses the drivers from Marshmallow 6.0.1 (you need to download those separately from Sony's website as instructed by the Sailfish X flahing instructions)
  • System partition: used to store image files that can be used to revert back to an empty installation (note: it's a bit overkill, because Android keeps ~7GiB reserved for that and the image files are <1GiB)
  • Data partition: that's where your Sailfish X lives It's further sub divided into home and root using LVM.

When flashing back android:

  • Boot / ODM / System: are going to be flashed by the firmware upgrade
  • Data: needs to be cleared blank (as most major firmware changes
  • TA: if you have made a backup, you can use it to relock the boot loader.
edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2019-03-15 15:32:36 +0300

Seen: 340 times

Last updated: Mar 15 '19