Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's installation guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).Up to this point ...
Attach the device to an USB root hub, to which no other device is attached:
lsusb
in the terminal windowBus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla.
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC") [1], which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer.telnet 10.42.66.66
This is the generally recommend way of booting a Sailfish OS recovery image:
Don't be afraid of loosing a little space on your "home" volume, all user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is compromised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change in the future, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.a. for devices / SailfishOS releases without home volume encryption
e2fsck -f /dev/sailfish/home
resize2fs /dev/sailfish/home 10G
e2fsck -f /dev/sailfish/home
lvm lvchange -a n sailfish/home
lvm lvresize -l -875 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/sailfish/home
e2fsck -f /dev/sailfish/home
resize2fs /dev/sailfish/root
exit
)b. for devices/ SailfishOS releases with home volume encryption
(Xperia 10 series since SailfishOS 3.2.1)
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
mkdir /backup
cd /backup
cryptsetup -v luksDump /dev/mapper/sailfish-home | tee luksdump_sailfish-home.txt
cryptsetup -v --header-backup-file luks-header-backup_sailfish-home.bin luksHeaderBackup /dev/mapper/sailfish-home
cd /
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1375 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/sailfish/home
cryptsetup close crypt-home
resize2fs /dev/sailfish/root
exit
)Install the app "File Browser" (by Kari) to check if the Jolla Store app is working fine (you will need it sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with an small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.
![]() | 2 | No.2 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's installation guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).Up to this point ...
Attach the device to an USB root hub, to which no other device is attached:
lsusb
in the terminal windowBus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla.
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC") [1], which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer.telnet 10.42.66.66
This is the generally recommend way of booting a Sailfish OS recovery image:
Don't be afraid of loosing a little space on your "home" volume, all user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is compromised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change in the future, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.a.
e2fsck -f /dev/sailfish/home
resize2fs /dev/sailfish/home 10G
e2fsck -f /dev/sailfish/home
lvm lvchange -a n sailfish/home
lvm lvresize -l -875 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/sailfish/home
e2fsck -f /dev/sailfish/home
resize2fs /dev/sailfish/root
exit
)b.
(Xperia 10 series since SailfishOS 3.2.1)
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
mkdir /backup
cd /backup
cryptsetup -v luksDump /dev/mapper/sailfish-home | tee luksdump_sailfish-home.txt
cryptsetup -v --header-backup-file luks-header-backup_sailfish-home.bin luksHeaderBackup /dev/mapper/sailfish-home
cd /
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1375 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/sailfish/home
cryptsetup close crypt-home
resize2fs /dev/sailfish/root
exit
)Install the app "File Browser" (by Kari) to check if the Jolla Store app is working fine (you will need it sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with an small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab. and is rendered better (e.g., its formatting) there.
![]() | 3 | No.3 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's installation guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).Up to this point ...
Attach the device to an USB root hub, to which no other device is attached:
lsusb
in the terminal windowBus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla.
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC") [1], which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer.telnet 10.42.66.66
This is the generally recommend way of booting a Sailfish OS recovery image:
Don't be afraid of loosing a little space on your "home" volume, all user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is compromised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change in the future, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.e2fsck -f /dev/sailfish/home
resize2fs /dev/sailfish/home 10G
e2fsck -f /dev/sailfish/home
lvm lvchange -a n sailfish/home
lvm lvresize -l -875 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/sailfish/home
e2fsck -f /dev/sailfish/home
resize2fs /dev/sailfish/root
exit
)(Xperia 10 series since SailfishOS 3.2.1)
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
mkdir /backup
cd /backup
cryptsetup -v luksDump /dev/mapper/sailfish-home | tee luksdump_sailfish-home.txt
cryptsetup -v --header-backup-file luks-header-backup_sailfish-home.bin luksHeaderBackup /dev/mapper/sailfish-home
cd /
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1375 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/sailfish/home
cryptsetup close crypt-home
resize2fs /dev/sailfish/root
exit
)Install the app "File Browser" (by Kari) to check if the Jolla Store app is working fine (you will need it sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with an small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source source of this guide is at GitlabGitlab.com and is rendered much better there and is rendered better (e.g., its formatting) there.formatting, especially enumerations across paragraphs) than at TJC (except for the TOC).
![]() | 4 | No.4 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's installation guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).Up to this point ...
Attach the device to an USB root hub, to which no other device is attached:
lsusb
in Bus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla.
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC") [1], which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer.telnet 10.42.66.66
This is the generally recommend way of booting a Sailfish OS recovery image:
Don't be afraid of loosing a little space on your "home" volume, all user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is compromised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change in the future, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.e2fsck -f /dev/sailfish/home
resize2fs /dev/sailfish/home 10G
e2fsck -f /dev/sailfish/home
lvm lvchange -a n sailfish/home
lvm lvresize -l -875 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/sailfish/home
e2fsck -f /dev/sailfish/home
resize2fs /dev/sailfish/root
exit
)(Xperia 10 series since SailfishOS 3.2.1)
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
mkdir /backup
cd /backup
cryptsetup -v luksDump /dev/mapper/sailfish-home | tee luksdump_sailfish-home.txt
cryptsetup -v --header-backup-file luks-header-backup_sailfish-home.bin luksHeaderBackup /dev/mapper/sailfish-home
cd /
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1375 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/sailfish/home
cryptsetup close crypt-home
resize2fs /dev/sailfish/root
exit
)Install the app "File Browser" (by Kari) to check if the Jolla Store app is working fine (you will need it sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with an small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered much better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC).
![]() | 5 | No.5 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's installation guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).Up to this point ...
Attach the device to an USB root hub, to which no other device is attached:
lsusb
in a terminal windowBus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla.
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC") [1], which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer.telnet 10.42.66.66
This is the generally recommend way of booting a Sailfish OS recovery image:
Don't be afraid of loosing a little space on your "home" volume, all user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is compromised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change in the future, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.e2fsck -f /dev/sailfish/home
resize2fs /dev/sailfish/home 10G
e2fsck -f /dev/sailfish/home
lvm lvchange -a n sailfish/home
lvm lvresize -l -875 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/sailfish/home
e2fsck -f /dev/sailfish/home
resize2fs /dev/sailfish/root
exit
)(Xperia 10 series since SailfishOS 3.2.1)
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
mkdir /backup
cd /backup
cryptsetup -v luksDump /dev/mapper/sailfish-home | tee luksdump_sailfish-home.txt
cryptsetup -v --header-backup-file luks-header-backup_sailfish-home.bin luksHeaderBackup /dev/mapper/sailfish-home
cd /
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1375 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/sailfish/home
cryptsetup close crypt-home
resize2fs /dev/sailfish/root
exit
)Install the app "File Browser" (by Kari) to check if the Jolla Store app is working fine (you will need it sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with an small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered much better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC).
![]() | 6 | No.6 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's installation flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).Up to this point ...
Attach the device to an USB root hub, to which no other device is attached:
lsusb
in a terminal windowBus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla.
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC") [1], which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer.telnet 10.42.66.66
This is the generally recommend way of booting a Sailfish OS recovery image:
Don't be afraid of loosing a little space on your "home" volume, all user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is compromised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change in the future, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.e2fsck -f /dev/sailfish/home
resize2fs /dev/sailfish/home 10G
e2fsck -f /dev/sailfish/home
lvm lvchange -a n sailfish/home
lvm lvresize -l -875 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/sailfish/home
e2fsck -f /dev/sailfish/home
resize2fs /dev/sailfish/root
exit
)(Xperia 10 series since SailfishOS 3.2.1)
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
mkdir /backup
cd /backup
cryptsetup -v luksDump /dev/mapper/sailfish-home | tee luksdump_sailfish-home.txt
cryptsetup -v --header-backup-file luks-header-backup_sailfish-home.bin luksHeaderBackup /dev/mapper/sailfish-home
cd /
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1375 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/sailfish/home
cryptsetup close crypt-home
resize2fs /dev/sailfish/root
exit
)Install the app "File Browser" (by Kari) to check if the Jolla Store app is working fine (you will need it sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with an small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered much better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC).
![]() | 7 | No.7 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attach the device to an USB root hub, to which no other device is attached:
lsusb
in a terminal windowBus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla., starting with section 3 (you have already performed actions equivalent to the steps described in Jolla's sections 1 and 2).
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC") [1], which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer.telnet 10.42.66.66
This is the generally recommend way of booting a Sailfish OS recovery image:
Don't be afraid of loosing a little space on your "home" volume, all user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is compromised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change in the future, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.e2fsck -f /dev/sailfish/home
resize2fs /dev/sailfish/home 10G
e2fsck -f /dev/sailfish/home
lvm lvchange -a n sailfish/home
lvm lvresize -l -875 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/sailfish/home
e2fsck -f /dev/sailfish/home
resize2fs /dev/sailfish/root
exit
)(Xperia 10 series since SailfishOS 3.2.1)Sailfish OS 3.2.0)
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
mkdir /backup
cd /backup
cryptsetup -v luksDump /dev/mapper/sailfish-home | tee luksdump_sailfish-home.txt
cryptsetup -v --header-backup-file luks-header-backup_sailfish-home.bin luksHeaderBackup /dev/mapper/sailfish-home
cd /
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1375 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/sailfish/home
cryptsetup close crypt-home
resize2fs /dev/sailfish/root
exit
)Install the app "File Browser" (by Kari) to check if the Jolla Store app is working fine (you will need it sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with an small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered much better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC).
![]() | 8 | No.8 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attach the device Attaching your Xperia to an USB "USB root hub, hub" (internal to your computer), to which no other device is attached:attached (neither internally or externally):
lsusb
in a terminal windowBus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
After having determined a suitable USB port for the subsequent unlocking and flashing, unplug your Xperia from the USB cable.
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla, starting with section 3 "Install the fastboot driver to your computer" (you have already performed actions equivalent to the steps described in Jolla's first sections 1 and 2).before).
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC") [1], which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer.telnet 10.42.66.66
This is the generally recommend general way of booting a Sailfish OS recovery image:image on devices reflashed from Android.
Don't Do not be afraid of loosing a little space on your "home" volume, all your user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is compromised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change in the future, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.e2fsck -f /dev/sailfish/home
resize2fs /dev/sailfish/home 10G
e2fsck -f /dev/sailfish/home
lvm lvchange -a n sailfish/home
lvm lvresize -l -875 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/sailfish/home
e2fsck -f /dev/sailfish/home
resize2fs /dev/sailfish/root
exit
)(Xperia 10 series since Sailfish OS 3.2.0)
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
mkdir /backup
cd /backup
cryptsetup -v luksDump /dev/mapper/sailfish-home | tee luksdump_sailfish-home.txt
cryptsetup -v --header-backup-file luks-header-backup_sailfish-home.bin luksHeaderBackup /dev/mapper/sailfish-home
cd /
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1375 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/sailfish/home
cryptsetup close crypt-home
resize2fs /dev/sailfish/root
exit
)Install the app "File Browser" (by Kari) to check if the Jolla Store app is working fine (you will need it sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with an small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
As the "AlienDalvik" Android runtime environment does not provide any preinstalled apps, one needs a proper file-manager for Android to serve Android file intents:
Start the F-Droid client app (if it is its first start ever on this device, wait a couple of minutes for it to synchronise its repositories) and install the OI File Manager.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered much better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC).
![]() | 9 | No.9 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attaching your Xperia to an "USB root hub" (internal to your computer), to which no other device is attached (neither internally or externally):
lsusb
in a terminal windowBus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
After having determined a suitable USB port for the subsequent unlocking and flashing, unplug your Xperia from the USB cable.
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla, starting with the section "Install the fastboot driver to your computer" (you have already performed actions equivalent to the steps described in Jolla's first sections before).
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC") [1], which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer.telnet 10.42.66.66
This is the general way of booting a Sailfish OS recovery image on devices reflashed from Android.
Do not be afraid of loosing a little space on your "home" volume, your user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is compromised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change in the future, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.e2fsck -f /dev/sailfish/home
resize2fs /dev/sailfish/home 10G
e2fsck -f /dev/sailfish/home
lvm lvchange -a n sailfish/home
lvm lvresize -l -875 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/sailfish/home
e2fsck -f /dev/sailfish/home
resize2fs /dev/sailfish/root
exit
)(Xperia 10 series since Sailfish OS 3.2.0)
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
mkdir /backup
cd /backup
cryptsetup -v luksDump /dev/mapper/sailfish-home | tee luksdump_sailfish-home.txt
cryptsetup -v --header-backup-file luks-header-backup_sailfish-home.bin luksHeaderBackup /dev/mapper/sailfish-home
cd /
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1375 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/sailfish/home
cryptsetup close crypt-home
resize2fs /dev/sailfish/root
exit
)Install the app "File Browser" (by Kari) to check if the Jolla Store app is working fine (you will need it sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with an small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
As the "AlienDalvik" Android runtime environment does not provide any preinstalled apps, one needs a proper file-manager for Android to serve Android file intents:
Start the F-Droid client app (if it is its first start ever on this device, wait a couple of minutes for it to synchronise its repositories) and install the OI File Manager.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered much better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC).TOC and the line spacings in this footer).
![]() | 10 | No.10 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attaching your Xperia to an "USB root hub" (internal to your computer), to which no other device is attached (neither internally or externally):
lsusb
in a terminal windowBus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
After having determined a suitable USB port for the subsequent unlocking and flashing, unplug your Xperia from the USB cable.
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla, starting with the section "Install the fastboot driver to your computer" (you have already performed actions equivalent to the steps described in Jolla's first sections before).
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC") [1], which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer.telnet 10.42.66.66
This is the general way of booting a Sailfish OS recovery image on devices reflashed from Android.
Do not be afraid of loosing a little space on your "home" volume, your user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.e2fsck -f /dev/sailfish/home/dev/mapper/sailfish-home
resize2fs /dev/sailfish/home /dev/mapper/sailfish-home 10G
e2fsck -f /dev/sailfish/home/dev/mapper/sailfish-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -875 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/sailfish/home/dev/mapper/sailfish-home
e2fsck -f /dev/sailfish/home/dev/mapper/sailfish-home
resize2fs /dev/sailfish/root/dev/mapper/sailfish-root
exit
)(Xperia 10 series since Sailfish OS 3.2.0)
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
mkdir /backup
cd /backup
cryptsetup -v luksDump /dev/mapper/sailfish-home | tee luksdump_sailfish-home.txt
cryptsetup -v --header-backup-file luks-header-backup_sailfish-home.bin luksHeaderBackup /dev/mapper/sailfish-home
cd /
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1375 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/sailfish/home/dev/mapper/crypt-home
cryptsetup close crypt-home
resize2fs /dev/sailfish/root/dev/mapper/sailfish-root
exit
)Install the app "File Browser" (by Kari) to check if the Jolla Store app is working fine (you will need it sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with an small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
As the "AlienDalvik" Android runtime environment does not provide any preinstalled apps, one needs a proper file-manager for Android to serve Android file intents:
Start the F-Droid client app (if it is its first start ever on this device, wait a couple of minutes for it to synchronise its repositories) and install the OI File Manager.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC and the line spacings in this footer).
![]() | 11 | No.11 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attaching your Xperia to an "USB root hub" (internal to your computer), to which no other device is attached (neither internally or externally):
lsusb
in a terminal windowBus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
After having determined a suitable USB port for the subsequent unlocking and flashing, unplug your Xperia from the USB cable.
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla, starting with the section "Install the fastboot driver to your computer" (you have already performed actions equivalent to the steps described in Jolla's first sections before).
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC") [1], which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer.telnet 10.42.66.66
This is the general way of booting a Sailfish OS recovery image on devices reflashed from Android.
Do not be afraid of loosing a little space on your "home" volume, your user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is comprised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change in the future, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-home 10G
e2fsck -f /dev/mapper/sailfish-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -875 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/mapper/sailfish-home
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-root
exit
)(Xperia 10 series since Sailfish OS 3.2.0)
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
mkdir /backup
cd /backup
cryptsetup -v luksDump /dev/mapper/sailfish-home | tee luksdump_sailfish-home.txt
cryptsetup -v --header-backup-file luks-header-backup_sailfish-home.bin luksHeaderBackup /dev/mapper/sailfish-home
cd /
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1375 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/mapper/crypt-home
cryptsetup close crypt-home
resize2fs /dev/mapper/sailfish-root
exit
)Install the app "File Browser" (by Kari) to check if the Jolla Store app is working fine (you will need it sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with an small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
As the "AlienDalvik" Android runtime environment does not provide any preinstalled apps, one needs a proper file-manager for Android to serve Android file intents:
Start the F-Droid client app (if it is its first start ever on this device, wait a couple of minutes for it to synchronise its repositories) and install the OI File Manager.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of of this guide is at Gitlab.com and is rendered better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC and the line spacings in this footer).
![]() | 12 | No.12 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attaching your Xperia to an "USB root hub" (internal to your computer), to which no other device is attached (neither internally or externally):
lsusb
in a terminal windowBus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
After having determined a suitable USB port for the subsequent unlocking and flashing, unplug your Xperia from the USB cable.
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla, starting with the section "Install the fastboot driver to your computer" (you have already performed actions equivalent to the steps described in Jolla's first sections before).
For details and troubleshooting, covering the whole section 2 of this guide, see also Jolla's "Checklist for issues in installing Sailfish X".
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC") [1], which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer.telnet 10.42.66.66
This is the general way of booting a Sailfish OS recovery image on devices reflashed from Android.
For details and troubleshooting, see Jolla's Zendesk article "Xperia devices: How to use the Recovery Mode".
Do not be afraid of loosing a little space on your "home" volume, your user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is comprised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change in the future, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.(All Xperias X and XA2 flashed with Sailfish OS 3.2.1 or older, regardless to which Sailfish OS release this Xperia was subsequently upgraded per OTA / "Sailfish OS updates")
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-home 10G
e2fsck -f /dev/mapper/sailfish-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -875 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/mapper/sailfish-home
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-root
exit
)(Xperia (All Xperias newly flashed with Sailfish OS 3.3.0 or higher, Xperia 10 series since Sailfish OS 3.2.0)
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
mkdir /backup
cd /backup
cryptsetup -v luksDump /dev/mapper/sailfish-home | tee luksdump_sailfish-home.txt
cryptsetup -v --header-backup-file luks-header-backup_sailfish-home.bin luksHeaderBackup /dev/mapper/sailfish-home
cd /
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1375 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/mapper/crypt-home
cryptsetup close crypt-home
resize2fs /dev/mapper/sailfish-root
exit
)Install the app "File Browser" (by Kari) to check if the Jolla Store app is working fine (you will need it sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with an small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
As the "AlienDalvik" Android runtime environment does not provide any preinstalled apps, one needs a proper file-manager for Android to serve Android file intents:
Start the F-Droid client app (if it is its first start ever on this device, wait a couple of minutes for it to synchronise its repositories) and install the OI File Manager.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC and the line spacings in this footer).
![]() | 13 | No.13 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attaching your Xperia to an "USB root hub" (internal to your computer), to which no other device is attached (neither internally or externally):
lsusb
in a terminal windowBus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
After having determined a suitable USB port for the subsequent unlocking and flashing, unplug your Xperia from the USB cable.
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla, starting with the section "Install the fastboot driver to your computer" (you have already performed actions equivalent to the steps described in Jolla's first sections before).
For details and troubleshooting, covering the whole section 2 of this guide, see also Jolla's "Checklist for issues in installing Sailfish X".
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC") [1], which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host sudo
.telnet 10.42.66.66
This is the general way of booting a Sailfish OS recovery image on devices reflashed from Android.
For details and troubleshooting, see Jolla's Zendesk article "Xperia devices: How to use the Recovery Mode".
Do not be afraid of loosing a little space on your "home" volume, your user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is comprised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change in the future, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.(All Xperias X and XA2 flashed with Sailfish OS 3.2.1 or older, regardless to which Sailfish OS release this Xperia was subsequently upgraded per OTA / "Sailfish OS updates")
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-home 10G
e2fsck -f /dev/mapper/sailfish-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -875 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/mapper/sailfish-home
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-root
exit
)(All Xperias newly flashed with Sailfish OS 3.3.0 or higher, Xperia 10 series since Sailfish OS 3.2.0)
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
mkdir /backup
cd /backup
cryptsetup -v luksDump /dev/mapper/sailfish-home | tee luksdump_sailfish-home.txt
cryptsetup -v --header-backup-file luks-header-backup_sailfish-home.bin luksHeaderBackup /dev/mapper/sailfish-home
cd /
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1375 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/mapper/crypt-home
cryptsetup close crypt-home
resize2fs /dev/mapper/sailfish-root
exit
)Install the app "File Browser" (by Kari) to check if the Jolla Store app is working fine (you will need it sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with an small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
As the "AlienDalvik" Android runtime environment does not provide any preinstalled apps, one needs a proper file-manager for Android to serve Android file intents:
Start the F-Droid client app (if it is its first start ever on this device, wait a couple of minutes for it to synchronise its repositories) and install the OI File Manager.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC and the line spacings in this footer).
![]() | 14 | No.14 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attaching your Xperia to an "USB root hub" (internal to your computer), to which no other device is attached (neither internally or externally):
lsusb
in a terminal windowBus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
After having determined a suitable USB port for the subsequent unlocking and flashing, unplug your Xperia from the USB cable.
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla, starting with the section "Install the fastboot driver to your computer" (you have already performed actions equivalent to the steps described in Jolla's first sections before).
For details and troubleshooting, covering the whole section 2 of this guide, see also Jolla's "Checklist for issues in installing Sailfish X".
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC") [1], which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer. You may need to execute the fastboot command as root, e.g. by prepending a sudo
.telnet 10.42.66.66
This is the general way of booting a Sailfish OS recovery image on devices reflashed from Android.
For details and troubleshooting, see Jolla's Zendesk article "Xperia devices: How to use the Recovery Mode".
Do not be afraid of loosing a little space on your "home" volume, your user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is comprised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change in the future, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.(All Xperias X and XA2 flashed with Sailfish OS 3.2.1 or older, regardless to which Sailfish OS release this Xperia was subsequently upgraded per OTA / "Sailfish OS updates")
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-home 10G
e2fsck -f /dev/mapper/sailfish-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -875 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/mapper/sailfish-home
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-root
exit
)(All Xperias newly flashed with Sailfish OS 3.3.0 or higher, Xperia 10 series since Sailfish OS 3.2.0)
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
mkdir /backup
cd /backup
cryptsetup -v luksDump /dev/mapper/sailfish-home | tee luksdump_sailfish-home.txt
cryptsetup -v --header-backup-file luks-header-backup_sailfish-home.bin luksHeaderBackup /dev/mapper/sailfish-home
cd /
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1375 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/mapper/crypt-home
cryptsetup close crypt-home
resize2fs /dev/mapper/sailfish-root
exit
)Install the app "File Browser" (by Kari) to check if the Jolla Store app is working fine (you will need it sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with an small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
As the "AlienDalvik" Android runtime environment does not provide any preinstalled apps, one needs a proper file-manager for Android to serve Android file intents:
Start the F-Droid client app (if it is its first start ever on this device, wait a couple of minutes for it to synchronise its repositories) and install the OI File Manager.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC and the line spacings in this footer).
![]() | 15 | No.15 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attaching your Xperia to an "USB root hub" (internal to your computer), to which no other device is attached (neither internally or externally):
lsusb
in a terminal windowBus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
After having determined a suitable USB port for the subsequent unlocking and flashing, unplug your Xperia from the USB cable.
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla, starting with the section "Install the fastboot driver to your computer" (you have already performed actions equivalent to the steps described in Jolla's first sections before).
For details and troubleshooting, covering the whole section 2 of this guide, see also Jolla's "Checklist for issues in installing Sailfish X".
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC") ("TJC": [1], [2], [3], [4] etc.), which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer. You may need to execute the fastboot command as root, e.g. by prepending a sudo
.telnet 10.42.66.66
This is the general way of booting a Sailfish OS recovery image on devices reflashed from Android.
For details and troubleshooting, see Jolla's Zendesk article "Xperia devices: How to use the Recovery Mode".
Do not be afraid of loosing a little space on your "home" volume, your user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is comprised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change in the future, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.(All Xperias X and XA2 flashed with Sailfish OS 3.2.1 or older, regardless to which Sailfish OS release this Xperia was subsequently upgraded per OTA / "Sailfish OS updates")
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-home 10G
e2fsck -f /dev/mapper/sailfish-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -875 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/mapper/sailfish-home
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-root
exit
)(All Xperias newly flashed with Sailfish OS 3.3.0 or higher, Xperia 10 series since Sailfish OS 3.2.0)
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1375 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/mapper/crypt-home
cryptsetup close crypt-home
resize2fs /dev/mapper/sailfish-root
exit
)Install the app "File Browser" (by Kari) to check if the Jolla Store app is working fine (you will need it sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with an small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
As the "AlienDalvik" Android runtime environment does not provide any preinstalled apps, one needs a proper file-manager for Android to serve Android file intents:
Start the F-Droid client app (if it is its first start ever on this device, wait a couple of minutes for it to synchronise its repositories) and install the OI File Manager.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC and the line spacings in this footer).
![]() | 16 | No.16 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attaching your Xperia to an "USB root hub" (internal to your computer), to which no other device is attached (neither internally or externally):
lsusb
in a terminal windowBus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
After having determined a suitable USB port for the subsequent unlocking and flashing, unplug your Xperia from the USB cable.
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla, starting with the section "Install the fastboot driver to your computer" (you have already performed actions equivalent to the steps described in Jolla's first sections before).
For details and troubleshooting, covering the whole section 2 of this guide, see also Jolla's "Checklist for issues in installing Sailfish X".
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC": [1], [2], [3], [4] etc.), which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer. You may need to execute the fastboot command as root, e.g. by prepending a sudo
.telnet 10.42.66.66
This is the general way of booting a Sailfish OS recovery image on devices reflashed from Android.
For details and troubleshooting, see Jolla's Zendesk article "Xperia devices: How to use the Recovery Mode".
Do not be afraid of loosing a little space on your "home" volume, your user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is comprised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change in the future, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.(All Xperias Xperia X and XA2 with Sailfish OS 3.2.1 or lower installed, plus those Xperia X and XA2 originally flashed with Sailfish OS 3.2.1 or older, regardless to lower which were upgraded to Sailfish OS release this Xperia was subsequently upgraded 3.3.0 or higher per OTA / "Sailfish OS updates")updates" but the device encryption was not activated)
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-home 10G
e2fsck -f /dev/mapper/sailfish-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -875 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/mapper/sailfish-home
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-root
exit
)(All (All Xperias newly flashed with Sailfish OS 3.3.0 or higher, higher, Xperia 10 series since Sailfish OS 3.2.0)3.2.0, plus Xperia X and XA2 originally flashed with Sailfish OS 3.2.1 or lower on which the device encryption was activated after being upgraded to Sailfish OS 3.3.0 or higher)
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1375 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/mapper/crypt-home
cryptsetup close crypt-home
resize2fs /dev/mapper/sailfish-root
exit
)Install the app "File Browser" (by Kari) to check if the Jolla Store app is working fine (you will need it sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with an small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
As the "AlienDalvik" Android runtime environment does not provide any preinstalled apps, one needs a proper file-manager for Android to serve Android file intents:
Start the F-Droid client app (if it is its first start ever on this device, wait a couple of minutes for it to synchronise its repositories) and install the OI File Manager.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC and the line spacings in this footer).
![]() | 17 | No.17 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attaching your Xperia to an "USB root hub" (internal to your computer), to which no other device is attached (neither internally or externally):
lsusb
in a terminal Bus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
After having determined a suitable USB port for the subsequent unlocking and flashing, unplug your Xperia from the USB cable.
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla, starting with the section "Install the fastboot driver to your computer" (you have already performed actions equivalent to the steps described in Jolla's first sections before).
For details and troubleshooting, covering the whole section 2 of this guide, see also Jolla's "Checklist for issues in installing Sailfish X".
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC": [1], [2], [3], [4] etc.), which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer. You may need to execute the fastboot command as root, e.g. by prepending a sudo
.telnet 10.42.66.66
on your host computer.This is the general way of booting a Sailfish OS recovery image on devices reflashed from Android.
For details and troubleshooting, see Jolla's Zendesk article "Xperia devices: How to use the Recovery Mode".
Do not be afraid of loosing a little space on your "home" volume, your user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is comprised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change in the future, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.(All Xperia X and XA2 with Sailfish OS 3.2.1 or lower installed, plus those Xperia X and XA2 originally flashed with Sailfish OS 3.2.1 or lower which were upgraded to Sailfish OS 3.3.0 or higher per OTA / "Sailfish OS updates" but the device encryption was not activated)
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-home 10G
e2fsck -f /dev/mapper/sailfish-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -875 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/mapper/sailfish-home
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-root
exit
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1375 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/mapper/crypt-home
cryptsetup close crypt-home
resize2fs /dev/mapper/sailfish-root
exit
Install the app "File Browser" (by Kari) to check if the Jolla Store app is working fine (you will need it sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with an small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
As the "AlienDalvik" Android runtime environment does not provide any preinstalled apps, one needs a proper file-manager for Android to serve Android file intents:
Start the F-Droid client app (if it is its first start ever on this device, wait a couple of minutes for it to synchronise its repositories) and install the OI File Manager.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC and the line spacings in this footer).
![]() | 18 | No.18 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attaching your Xperia to an "USB root hub" (internal to your computer), to which no other device is attached (neither internally or externally):
lsusb
in a terminal lsusb
again; for example, an Xperia X on bus 003 then looks like this:Bus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
lsusb
may also show a "rate adaptor" attached to this bus, which is harmless): You should still see your Xperia being attached to an USB 2 root hub.After having determined a suitable USB port for the subsequent unlocking and flashing, unplug your Xperia from the USB cable.
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla, starting with the section "Install the fastboot driver to your computer" (you have already performed actions equivalent to the steps described in Jolla's first sections before).
For details and troubleshooting, covering the whole section 2 of this guide, see also Jolla's "Checklist for issues in installing Sailfish X".
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC": [1], [2], [3], [4] etc.), which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer. You may need to execute the fastboot command as root, e.g. by prepending a sudo
.telnet 10.42.66.66
on your host computer.This is the general way of booting a Sailfish OS recovery image on devices reflashed from Android.
For details and troubleshooting, see Jolla's Zendesk article "Xperia devices: How to use the Recovery Mode".
Do not be afraid of loosing a little space on your "home" volume, your user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is comprised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.(All Xperia X and XA2 with Sailfish OS 3.2.1 or lower installed, plus those Xperia X and XA2 originally flashed with Sailfish OS 3.2.1 or lower which were upgraded to Sailfish OS 3.3.0 or higher per OTA / "Sailfish OS updates" but the device encryption was not activated)
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-home 10G
e2fsck -f /dev/mapper/sailfish-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -875 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/mapper/sailfish-home
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-root
exit
).cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1375 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/mapper/crypt-home
cryptsetup close crypt-home
resize2fs /dev/mapper/sailfish-root
exit
).Install the app "File Browser" (by Kari) to check if the Jolla Store app is working fine (you will need it sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with an small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
As the "AlienDalvik" Android runtime environment does not provide any preinstalled apps, one needs a proper file-manager for Android to serve Android file intents:
Start the F-Droid client app (if it is its first start ever on this device, wait a couple of minutes for it to synchronise its repositories) and install the OI File Manager.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC and the line spacings in this footer).
![]() | 19 | No.19 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attaching your Xperia to an a "USB root hub" (internal to your computer), to which no other device is attached (neither internally or externally):
lsusb
in a terminal window, without having your Xperia connected.lsusb
again; for example, an Xperia X on bus 003 then looks like this:Bus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
lsusb
may also show a "rate adaptor" attached to this bus, which is harmless): You should still see your Xperia being attached to After having determined a suitable USB port for the subsequent unlocking and flashing, unplug your Xperia from the USB cable.
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla, starting with the section "Install the fastboot driver to your computer" (you have already performed actions equivalent to the steps described in Jolla's first sections before).
For details and troubleshooting, covering the whole section 2 of this guide, see also Jolla's "Checklist for issues in installing Sailfish XSailfish X".
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC": [1], [2], [3], [4] etc.), which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer. You may need to execute the fastboot command as root, e.g. by prepending a sudo
.telnet 10.42.66.66
on your host computer.This is the general way of booting a Sailfish OS recovery image on devices reflashed from Android.
For details and troubleshooting, see Jolla's Zendesk article "Xperia devices: How to use the Recovery Mode".
Do not be afraid of loosing a little space on your "home" volume, your user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is comprised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change for future devices, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.(All Xperia X and XA2 with Sailfish OS 3.2.1 or lower installed, plus those Xperia X and XA2 originally flashed with Sailfish OS 3.2.1 or lower which were upgraded to Sailfish OS 3.3.0 or higher per OTA / "Sailfish OS updates" but the device encryption was not activated)
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-home 10G
e2fsck -f /dev/mapper/sailfish-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -875 -911 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/mapper/sailfish-home
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-root
exit
).cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1375 -1423 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/mapper/crypt-home
cryptsetup close crypt-home
resize2fs /dev/mapper/sailfish-root
exit
).Install the Open the Jolla Store app and install the "File Browser" (by Kari) to check if the Jolla Store app is working fine (you will need it a file browser sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with an a small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
As the "AlienDalvik" Android runtime environment does not provide any preinstalled apps, one needs a proper file-manager for Android to serve Android file intents:
Start the F-Droid client app (if it is its first start ever on this device, wait a couple of minutes for it to synchronise its repositories) and install the OI File Manager.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC and the line spacings in this footer).
![]() | 20 | No.20 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attaching your Xperia to a "USB root hub" (internal to your computer), to which no other device is attached (neither internally or externally):
lsusb
in a terminal window, without having your Xperia connected.lsusb
again; for example, an Xperia X on bus 003 then looks like this:Bus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
lsusb
may also show a "rate adaptor" attached to this bus, which is harmless): You should still see your Xperia being attached to a USB 2 root hub.After having determined a suitable USB port for the subsequent unlocking and flashing, unplug your Xperia from the USB cable.
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla, starting with the section "Install the fastboot driver to your computer" (you have already performed actions equivalent to the steps described in Jolla's first sections before).
For details and troubleshooting, covering the whole section 2 of this guide, see also Jolla's "Checklist for issues in installing Sailfish X".
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC": [1], [2], [3], [4] etc.), which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer. You may need to execute the fastboot command as root, e.g. by prepending a sudo
.telnet 10.42.66.66
on your host computer.This is the general way of booting a Sailfish OS recovery image on devices reflashed from Android.
For details and troubleshooting, see Jolla's Zendesk article "Xperia devices: How to use the Recovery Mode".
Do not be afraid of loosing a little space on your "home" volume, your user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is comprised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change for future devices, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.(All Xperia X and XA2 with Sailfish OS 3.2.1 or lower installed, plus those Xperia X and XA2 originally flashed with Sailfish OS 3.2.1 or lower which were upgraded to Sailfish OS 3.3.0 or higher per OTA / "Sailfish OS updates" but the device encryption was not activated)
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-home 10G
e2fsck -f /dev/mapper/sailfish-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -911 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/mapper/sailfish-home
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-root
exit
).cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1423 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/mapper/crypt-home
cryptsetup close crypt-home
resize2fs /dev/mapper/sailfish-root
exit
).Open the Jolla Store app and install the "File Browser" (by Kari) to check if the Jolla Store is working fine (you will need a file browser sooner or later, anyway).
Advice for users of the Android runtime environment ("Android apps support"):App Support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with a small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android app support" App Support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
As the "AlienDalvik" Android runtime environment does not provide any preinstalled apps, one needs a proper file-manager for Android to serve Android file intents:
Start the F-Droid client app (if it is its first start ever on this device, wait a couple of minutes for it to synchronise its repositories) and install the OI File Manager.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC and the line spacings in this footer).
![]() | 21 | No.21 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attaching your Xperia to a "USB root hub" (internal to your computer), to which no other device is attached (neither internally or externally):
lsusb
in a terminal window, without having your Xperia connected.lsusb
again; for example, an Xperia X on bus 003 then looks like this:Bus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
lsusb
may also show a "rate adaptor" attached to this bus, which is harmless): You should still see your Xperia being attached to a USB 2 root hub.After having determined a suitable USB port for the subsequent unlocking and flashing, unplug your Xperia from the USB cable.
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla, starting with the section "Install the fastboot driver to your computer" (you have already performed actions equivalent to the steps described in Jolla's first sections before).
For details and troubleshooting, covering the whole section 2 of this guide, see also Jolla's "Checklist for issues in installing Sailfish X".
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC": [1], [2], [3], [4] etc.), which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer. You may need to execute the fastboot command as root, e.g. by prepending a sudo
.telnet 10.42.66.66
on your host computer.This is the general way of booting a Sailfish OS recovery image on devices reflashed from Android.
For details and troubleshooting, see Jolla's Zendesk article "Xperia devices: How to use the Recovery Mode".
Do not be afraid of loosing a little space on your "home" volume, your user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is comprised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change for future devices, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.(All Xperia X and XA2 with Sailfish OS 3.2.1 or lower installed, plus those Xperia X and XA2 originally flashed with Sailfish OS 3.2.1 or lower which were upgraded to Sailfish OS 3.3.0 or higher per OTA / "Sailfish OS updates" but the device encryption was not activated)
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-home 10G
e2fsck -f /dev/mapper/sailfish-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -911 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/mapper/sailfish-home
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-root
exit
).cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1423 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/mapper/crypt-home
cryptsetup close crypt-home
resize2fs /dev/mapper/sailfish-root
exit
).Open the Jolla Store app and install the "File Browser" (by Kari) to check if the Jolla Store is working fine (you will need a file browser sooner or later, anyway).
Advice for users of the Android runtime environment ("Android App Support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with a small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android App Support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
As the "AlienDalvik" Android runtime environment does not provide any preinstalled apps, one needs a proper file-manager for Android to serve Android file intents:
Start the F-Droid client app (if it is its first start ever on this device, wait a couple of minutes for it to synchronise its repositories) and install the OI File Manager.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC and the line spacings in this footer).
![]() | 22 | No.22 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attaching your Xperia to a "USB root hub" (internal to your computer), to which no other device is attached (neither internally or externally):
lsusb
in a terminal window, without having your Xperia connected.lsusb
again; for example, an Xperia X on bus 003 then looks like this:Bus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
lsusb
may also show a "rate adaptor" attached to this bus, which is harmless): You should still see your Xperia being attached to a USB 2 root hub.After having determined a suitable USB port for the subsequent unlocking and flashing, unplug your Xperia from the USB cable.
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla, starting with the section "Install the fastboot driver to your computer" (you have already performed actions equivalent to the steps described in Jolla's first sections before).
For details and troubleshooting, covering the whole section 2 of this guide, see also Jolla's "Checklist for issues in installing Sailfish X".
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC": [1], [2], [3], [4] etc.), which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer. You may need to execute the fastboot command as root, e.g. by prepending a sudo
.telnet 10.42.66.66
on your host computer.This is the general way of booting a Sailfish OS recovery image on devices reflashed from Android.
For details and troubleshooting, see Jolla's Zendesk article "Xperia devices: How to use the Recovery Mode".
Do not be afraid of loosing a little space on your "home" volume, your user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is comprised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change for future devices, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.(All Xperia X and XA2 with Sailfish OS 3.2.1 or lower installed, plus those Xperia X and XA2 originally flashed with Sailfish OS 3.2.1 or lower which were upgraded to Sailfish OS 3.3.0 or higher per OTA / "Sailfish OS updates" but the device encryption was not activated)
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-home 10G
e2fsck -f /dev/mapper/sailfish-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -911 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/mapper/sailfish-home
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-root
exit
).cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1423 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/mapper/crypt-home
cryptsetup close crypt-home
resize2fs /dev/mapper/sailfish-root
exit
).Open the Jolla Store app and install the "File Browser" (by Kari) to check if the Jolla Store is working fine (you will need a file browser sooner or later, anyway).
Advice for users of the Android runtime environment ("Android App Support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with a small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android App Support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
As the "AlienDalvik" Android runtime environment does not provide any preinstalled apps, one needs a proper file-manager for Android to serve Android file intents:
Start the F-Droid client app (if it is its first start ever on this device, wait a couple of minutes for it to synchronise its repositories) and install the OI File Manager.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC and the line spacings in this footer).
![]() | 23 | No.23 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attaching your Xperia to a "USB root hub" (internal to your computer), to which no other device is attached (neither internally or externally):
lsusb
in a terminal window, without having your Xperia connected.lsusb
again; for example, an Xperia X on bus 003 then looks like this:Bus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
lsusb
may also show a "rate adaptor" attached to this bus, which is harmless): You should still see your Xperia being attached to a USB 2 root hub.After having determined a suitable USB port for the subsequent unlocking and flashing, unplug your Xperia from the USB cable.
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla, starting with the section "Install the fastboot driver to your computer" (you have already performed actions equivalent to the steps described in Jolla's first sections before).
For details and troubleshooting, covering the whole section 2 of this guide, see also Jolla's "Checklist for issues in installing Sailfish X".
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC": [1], [2], [3], [4] etc.), which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer. You may need to execute the fastboot command as root, e.g. by prepending a sudo
.telnet 10.42.66.66
on your host computer.This is the general way of booting a Sailfish OS recovery image on devices reflashed from Android.
For details and troubleshooting, see Jolla's Zendesk article "Xperia devices: How to use the Recovery Mode".
Do not be afraid of loosing a little space on your "home" volume, your user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is comprised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change for future devices, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.(All Xperia X and XA2 with Sailfish OS 3.2.1 or lower installed, plus those Xperia X and XA2 originally flashed with Sailfish OS 3.2.1 or lower which were upgraded to Sailfish OS 3.3.0 or higher per OTA / "Sailfish OS updates" but the device encryption was not activated)
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-home 10G
e2fsck -f /dev/mapper/sailfish-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -911 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/mapper/sailfish-home
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-root
exit
).cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1423 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/mapper/crypt-home
cryptsetup close crypt-home
resize2fs /dev/mapper/sailfish-root
exit
).Open the Jolla Store app and install the "File Browser" (by Kari) to check if the Jolla Store is working fine (you will need a file browser sooner or later, anyway).
Advice for users of the Android runtime environment ("Android App Support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with a small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android App Support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
As the "AlienDalvik" Android runtime environment does not provide any preinstalled apps, one needs a proper file-manager for Android to serve Android file intents:
Start the F-Droid client app (if it is its first start ever on this device, wait a couple of minutes for it to synchronise its repositories) and install the OI File Manager.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, plus never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC and the line spacings in this footer).
![]() | 24 | No.24 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attaching your Xperia to a "USB root hub" (internal to your computer), to which no other device is attached (neither internally or externally):
lsusb
in a terminal window, without having your Xperia connected.lsusb
again; for example, an Xperia X on bus 003 then looks like this:Bus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
lsusb
may also show a "rate adaptor" attached to this bus, which is harmless): You should still see your Xperia being attached to a USB 2 root hub.After having determined a suitable USB port for the subsequent unlocking and flashing, unplug your Xperia from the USB cable.
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla, starting with the section "Install the fastboot driver to your computer" (you have already performed actions equivalent to the steps described in Jolla's first sections before).
For details and troubleshooting, covering the whole section 2 of this guide, see also Jolla's "Checklist for issues in installing Sailfish X".
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC": [1], [2], [3], [4] etc.), which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer. You may need to execute the fastboot command as root, e.g. by prepending a sudo
.telnet 10.42.66.66
on your host computer.This is the general way of booting a Sailfish OS recovery image on devices reflashed from Android.
For details and troubleshooting, see Jolla's Zendesk article "Xperia devices: How to use the Recovery Mode".
Do not be afraid of loosing a little space on your "home" volume, your user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is comprised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change for future devices, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.(All Xperia X and XA2 with Sailfish OS 3.2.1 or lower installed, plus those Xperia X and XA2 originally flashed with Sailfish OS 3.2.1 or lower which were upgraded to Sailfish OS 3.3.0 or higher per OTA / "Sailfish OS updates" but the device encryption was not activated)
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-home 10G
e2fsck -f /dev/mapper/sailfish-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -911 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/mapper/sailfish-home
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-root
exit
).cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1423 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/mapper/crypt-home
cryptsetup close crypt-home
resize2fs /dev/mapper/sailfish-root
exit
).Open the Jolla Store app and install the "File Browser" (by Kari) to check if the Jolla Store is working fine (you will need a file browser sooner or later, anyway).
Advice for users of the Android runtime environment ("Android App Support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with a small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android App Support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
As the "AlienDalvik" Android runtime environment does not provide any preinstalled apps, one needs a proper file-manager for Android to serve Android file intents:
Start the F-Droid client app (if it is its first start ever on this device, wait a couple of minutes for it to synchronise its repositories) and install the OI File Manager.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing unchecked apps from somewhere, somewhere (specifcally "someone"), plus (when doing this manually) never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC and the line spacings in this footer).
![]() | 25 | No.25 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attaching your Xperia to a "USB root hub" (internal to your computer), to which no other device is attached (neither internally or externally):
lsusb
in a terminal window, without having your Xperia connected.lsusb
again; for example, an Xperia X on bus 003 then looks like this:Bus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
lsusb
may also show a "rate adaptor" attached to this bus, which is harmless): You should still see your Xperia being attached to a USB 2 root hub.After having determined a suitable USB port for the subsequent unlocking and flashing, unplug your Xperia from the USB cable.
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla, starting with the section "Install the fastboot driver to your computer" (you have already performed actions equivalent to the steps described in Jolla's first sections before).
For details and troubleshooting, covering the whole section 2 of this guide, see also Jolla's "Checklist for issues in installing Sailfish X".
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC": [1], [2], [3], [4] etc.), which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer. You may need to execute the fastboot command as root, e.g. by prepending a sudo
.telnet 10.42.66.66
on your host computer.This is the general way of booting a Sailfish OS recovery image on devices reflashed from Android.
For details and troubleshooting, see Jolla's Zendesk article "Xperia devices: How to use the Recovery Mode".
Do not be afraid of loosing a little space on your "home" volume, your user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is comprised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change for future devices, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.(All Xperia X and XA2 with Sailfish OS 3.2.1 or lower installed, plus those Xperia X and XA2 originally flashed with Sailfish OS 3.2.1 or lower which were upgraded to Sailfish OS 3.3.0 or higher per OTA / "Sailfish OS updates" but the device encryption was not activated)
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-home 10G
e2fsck -f /dev/mapper/sailfish-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -911 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/mapper/sailfish-home
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-root
exit
).cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1423 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/mapper/crypt-home
cryptsetup close crypt-home
resize2fs /dev/mapper/sailfish-root
exit
).Open the Jolla Store app and install the "File Browser" (by Kari) to check if the Jolla Store is working fine (you will need a file browser sooner or later, anyway).
Advice for users of the Android runtime environment ("Android App Support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with a small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android App Support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
As the "AlienDalvik" Android runtime environment does not provide any preinstalled apps, one needs a proper file-manager for Android to serve Android file intents:
Start the F-Droid client app (if it is its first start ever on this device, wait a couple of minutes for it to synchronise its repositories) and install the OI File Manager.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing apps from somewhere (specifcally "someone"), plus (when doing this manually) never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC and the line spacings in this footer).
![]() | 26 | No.26 Revision |
Guide for installing Sailfish X on Sony Xperias
This guide aims at setting up an Xperia step by step, extending Jolla's flashing guide by preparatory and follow up measures, plus specific considerations WRT privacy.
Table of content
*#*#7378423#*#*
in the dialler app).
Up to this point ...
Attaching your Xperia to a "USB root hub" (internal to your computer), to which no other device is attached (neither internally or externally):
lsusb
in a terminal window, without having your Xperia connected.lsusb
again; for example, an Xperia X on bus 003 then looks like this:Bus 003 Device 015: ID 05c6:0afe Qualcomm, Inc. Xperia X
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that:
lsusb
may also show a "rate adaptor" attached to this bus, which is harmless): You should still see your Xperia being attached to a USB 2 root hub.After having determined a suitable USB port for the subsequent unlocking and flashing, unplug your Xperia from the USB cable.
Diligently follow the model specific (and host OS specific) guide for flashing Sailfish X by Jolla, starting with the section "Install the fastboot driver to your computer" (you have already performed actions equivalent to the steps described in Jolla's first sections before).
For details and troubleshooting, covering the whole section 2 of this guide, see also Jolla's "Checklist for issues in installing Sailfish X".
All these apps can also be installed or uninstalled (and reinstalled) later per the Jolla Store app, but privacy relevant data cannot be recalled once given away.
Note that most of them are proprietary licensed by Jolla.
Optional, but absolutely recommended!
devel-su
in the Terminal and enter your root password.exit
twice (or just brutally close the Terminal app).Optional, although strongly recommended.
There are multiple descriptions of the issues the tiny (2500 MiB) default "root" volume size might cause later at Together.Jolla.com ("TJC": [1], [2], [3], [4] etc.), which affects all devices since Sailfish OS started using LVM (i.e., all since the Jolla C).
fastboot boot hybris-recovery.img
on your host computer. You may need to execute the fastboot command as root, e.g. by prepending a sudo
.telnet 10.42.66.66
on your host computer.This is the general way of booting a Sailfish OS recovery image on devices reflashed from Android.
For details and troubleshooting, see Jolla's Zendesk article "Xperia devices: How to use the Recovery Mode".
Do not be afraid of loosing a little space on your "home" volume, your user data (music, pictures / photographs, offline maps, videos etc.) can be seamlessly outsourced to an SD card.
lvm lvdisplay
that the "root" volume is comprised of 625 (logical) extents each 4 MiB in size. Note that while the extent size on all devices using LVM has been 4 MiB, that may change for future devices, as the (physical) extent size shall be equal or larger than the erase block size of the device's eMMC FLASH memory (see cat /sys/block/mmcblk0/device/preferred_erase_size
and cat /sys/block/mmcblk0/queue/discard_granularity
). Future device's eMMCs may have a larger erase block size, hopefully Jolla then increases the physical and consequently the logical extent size accordingly.(All Xperia X and XA2 with Sailfish OS 3.2.1 or lower installed, plus those Xperia X and XA2 originally flashed with Sailfish OS 3.2.1 or lower which were upgraded to Sailfish OS 3.3.0 or higher per OTA / "Sailfish OS updates" but the device encryption was not activated)
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-home 10G
e2fsck -f /dev/mapper/sailfish-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -911 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
resize2fs /dev/mapper/sailfish-home
e2fsck -f /dev/mapper/sailfish-home
resize2fs /dev/mapper/sailfish-root
exit
).cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
e2fsck -f /dev/mapper/crypt-home
resize2fs -f /dev/mapper/crypt-home 10G
e2fsck -f /dev/mapper/crypt-home
cryptsetup resize -b 22000000 /dev/mapper/sailfish-home
cryptsetup close crypt-home
lvm lvchange -a n sailfish/home
lvm lvresize -l -1423 sailfish/home
lvm lvresize -l +100%FREE sailfish/root
lvm lvchange -a y sailfish/home
cryptsetup luksOpen /dev/mapper/sailfish-home crypt-home
cryptsetup resize /dev/mapper/sailfish-home
resize2fs -f /dev/mapper/crypt-home
e2fsck -f /dev/mapper/crypt-home
cryptsetup close crypt-home
resize2fs /dev/mapper/sailfish-root
exit
).Open the Jolla Store app and install the "File Browser" (by Kari) to check if the Jolla Store is working fine (you will need a file browser sooner or later, anyway).
Advice for users of the Android runtime environment ("Android App Support"):
Do not install any Android apps from the Jolla Store (those with their icons labeled with a small, overlayed Android, plus the line "Android app" atop their description), not even the app stores' client apps offered there (F-Droid, Aptoide, Yandex etc.), otherwise you may later run into troubles when updating these apps.
Alternatively you may solely install Android apps from the Jolla Store (and never use any other Android store app), which is not really feasible (due to the small and awkward selection of Android apps in the Jolla Store).
Optional, although strongly recommended.
Optional, although recommended.
This requires the Android runtime environment ("Android App Support" / AlienDalvik) being installed and running, which is only available for paid Sailfish X licenses.
As the "AlienDalvik" Android runtime environment does not provide any preinstalled apps, one needs a proper file-manager for Android to serve Android file intents:
Start the F-Droid client app (if it is its first start ever on this device, wait a couple of minutes for it to synchronise its repositories) and install the OI File Manager.
For accessing the Google Play Store, install the Aurora Store app per F-Droid client app on all Xperias, except the Xperia X (for which the YALP Store app works, also available per F-Droid client app).
Note that Google regularly disables the "shared accounts" these apps offer to use, so you might need to enter the account information of an own Google account.
Other Android apps stores or manually downloading and installing APKs is not recommended due the negative security implications: Downloading and installing apps from somewhere (specifcally "someone"), plus (when doing this manually) never being informed about their updates.
If you really want to pursue this, start with the app ApkTrack from F-Droid.
For further information always search first at
For issues with a device using a paid license, you may open a Zendesk support request after having exhausted searching aforementioned sources of information and including everything relevant you found and have tried.
Have fun with Sailfish OS on your Xperia!
P.S.: The original source of this guide is at Gitlab.com and is rendered better there (e.g., its formatting, especially enumerations across paragraphs) than at TJC (except for the TOC and the line spacings in this footer).