We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2017-10-10 00:19:34 +0200 |
When you unlock the bootloader of your Xperia all DRM keys are automatically deleted and you lose your warranty, see Sony Developer world website. In order to retain your warranty you should be able to reset your phone back to original factory conditions including the DRM keys.
I've read on the internet that this can be done by making a backup of your TA partition (which hosts the DRM keys) before you unlock your bootloader. I'm a complete newbie regarding this and wondering whether someone has already experience in creating a backup of their TA partition. As far as I understand your phone should be running Android Marshmallow which is susceptible to Dirtycow vulnerability making it possible to create a backup of your TA partition. Most likely I'm not the only one who has bought a Xperia X running Android Nougat out of the box. The intention of this question is to create a tutorial for all the sailors out there that would like to make a backup of their TA partition before installing Sailfish X. For that reason this post has been setup as a community wiki.
Is there anybody who knows what steps to take to make a backup of the TA partition from an Xperia X running Nougat?
2 | No.2 Revision |
When you unlock the bootloader of your Xperia all DRM keys are automatically deleted and you lose your warranty, see Sony Developer world website. In order to retain your warranty you should be able to reset your phone back to original factory conditions including the DRM keys.
I've read on the internet that this can be done by making a backup of your TA partition (which hosts the DRM keys) before you unlock your bootloader. I'm a complete newbie regarding this and wondering whether someone has already experience in creating a backup of their TA partition. As far as I understand your phone should be running Android Marshmallow which is susceptible to Dirtycow vulnerability making it possible to create a backup of your TA partition. Most likely I'm not the only one who has bought a Xperia X running Android Nougat out of the box. The intention of this question is to create a tutorial for all the sailors out there that would like to make a backup of their TA partition before installing Sailfish X. For that reason this post has been setup as a community wiki.
Is there anybody who knows what steps to take to make a backup of the TA partition from an Xperia X running Nougat?
3 | No.3 Revision |
When you unlock the bootloader of your Xperia all DRM keys are automatically deleted and you lose your warranty, see Sony Developer world website. In order to retain your warranty you should be able to reset your phone back to original factory conditions including the DRM keys.
I've read on the internet that this can be done by making a backup of your TA partition (which hosts the DRM keys) before you unlock your bootloader. I'm a complete newbie regarding this and wondering whether someone has already experience in creating a backup of their TA partition. As far as I understand your phone should be running Android Marshmallow which is susceptible to Dirtycow vulnerability making it possible to create a backup of your TA partition. Most likely I'm not the only one who has bought a Xperia X running Android Nougat out of the box. The intention of this question is to create a tutorial for all the sailors out there that would like to make a backup of their TA partition before installing Sailfish X. For that reason this post has been setup as a community wiki.
Is there anybody who knows what steps to take to make a backup of the TA partition from an Xperia X running Nougat?
4 | No.4 Revision |
When you unlock the bootloader of your Xperia all DRM keys are automatically deleted and you lose your warranty, see Sony Developer world website. In order to retain your warranty you should be able to reset your phone back to original factory conditions including the DRM keys.
I've read on the internet that this can be done by making a backup of your TA partition (which hosts the DRM keys) before you unlock your bootloader. I'm a complete newbie regarding this and wondering whether someone has already experience in creating a backup of their TA partition. As far as I understand your phone should be running Android Marshmallow which is susceptible to Dirtycow vulnerability vulnerability making it possible to create a backup of your TA partition. Most likely I'm not the only one who has bought a Xperia X running Android Nougat out of the box. The intention of this question is to create a tutorial for all the sailors out there that would like to make a backup of their TA partition before installing Sailfish X. For that reason this post has been setup as a community wiki.
Is there anybody who knows what steps to take to make a backup of the TA partition from an Xperia X running Nougat?
5 | No.5 Revision |
When you unlock the bootloader of your Xperia all DRM keys are automatically deleted and you lose your warranty, see Sony Developer world website. In order to retain your warranty you should be able to reset your phone back to original factory conditions including the DRM keys.
I've read on the internet that this can be done by making a backup of your TA partition (which hosts the DRM keys) before you unlock your bootloader. I'm a complete newbie regarding this and wondering whether someone has already experience in creating a backup of their TA partition. As far as I understand your phone should be running Android Marshmallow which is susceptible to Dirtycow vulnerability making it possible to create a backup of your TA partition. Most likely I'm not the only one who has bought a Xperia X running Android Nougat out of the box. The intention of this question is to create a tutorial for all the sailors out there that would like to make a backup of their TA partition before installing Sailfish X. For that reason this post has been setup as a community wiki.
Is there anybody who knows what steps to take to make a backup of the TA partition from an Xperia X running Nougat?
6 | No.6 Revision |
When you unlock the bootloader of your Xperia all DRM keys are automatically deleted and you lose your warranty, see Sony Developer world website. In order to retain your warranty you should be able to reset your phone back to original factory conditions including the DRM keys.
I've read The DRM keys are stored on the internet that this can be done by making a backup of your TA partition (which hosts the DRM keys) before you unlock your bootloader. I'm a complete newbie regarding this and wondering whether someone has already experience in creating a backup of their so-called TA partition. As far as I understand To backup this partition you need to make your phone should be running run Android Marshmallow. Marshmallow which is susceptible to Dirtycow vulnerability making which makes it possible to create a backup of your TA partition. Most likely I'm not the only one who has bought a Xperia X running Android Nougat out of the box. The intention of this question is to create a tutorial for all the sailors out there that would like partition.
In short the following steps are required to make a backup of their the TA partition partition:
!!Read all the instructions first before installing Sailfish X. For you start to follow this tutorial.
The origin for this wiki is based on the following sources: thefirmwarehub.com and sailfishmods.de and the websites these sources used as reference.
The procedure described below can be used both on windows and Linux (though at the time of writing this tutorial Xperifirm has a bug under linux leading to an "ERROR: Invalid CDF list received!")
Note down your CDA code. This can be done as follows:
The download time depends in your network connection and stability, mostly it only takes 20 – 30 minutes. Once the firmware has been downloaded, you can now proceed to the next step.
Installation under Windows and Linux differs, more information can be found on flashtool.net under FAQ. Especially, installation under Windows could differ from the instructions below
sudo nano /etc/udev/rules.d/51-sony.rules
and make the content equal to SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="*", MODE="0777"
7z x -so flashtool-0.9.23.1-linux.tar.7z |tar xf - -C .
(you might have to install package "p7zip-full" to extract Flashtool using this command)./FlashTool
sudo apt-get install mono-complete
sudo cert-sync /etc/ssl/certs/ca-certificates.crt
sudo certmgr -ssl -m https://software.sonymobile.com
This part is copied from sailfishmods.de and forum.xda-developers.com
chmod + x backupTA.sh
adb devices
. If your computer is configured properly it should show the serial number of your phone. (when needed you can install adb drivers by using: sudo apt-get install android-tools-adb
) sudo ./backupTA.sh
Is there anybody who knows what steps to take to make I have downgraded my phone to Marshmallow using windows due to the bug in Xperifirm for linux and created a backup of the TA partition from an Xperia using Linux. Therefore please adjust the tutorial where required especially how to BackupTA for windows as the current official Sailfish installation is windows only. The official Sailfish X installation requires that your phone is running Nougat?the latest version of Android. Therefore you should flash your phone once again using all the steps under Downgrade to Android Marshmallow but now select in Xperifirm the firmware matching your original CDA code which you noted down in the preparation phase of this tutorial.
7 | No.7 Revision |
When you unlock the bootloader of your Xperia all DRM keys are automatically deleted and you lose your warranty, see Sony Developer world website. In order to retain your warranty you should be able to reset your phone back to original factory conditions including the DRM keys.
The DRM keys are stored on the so-called TA partition. To backup this partition you need to make your phone run Android Marshmallow. Marshmallow is susceptible to Dirtycow vulnerability which makes it possible to create a backup of your TA partition.
In short the following steps are required to make a backup of the TA partition:
!!Read all the instructions first before you start to follow this tutorial.
The origin for this wiki is based on the following sources: thefirmwarehub.com and sailfishmods.de and the websites these sources used as reference.
The procedure described below can be used both on windows and Linux (though at the time of writing this tutorial Xperifirm has a bug under linux leading to an "ERROR: Invalid CDF list received!")
Note down your CDA code. This can be done as follows:
The download time depends in your network connection and stability, mostly it only takes 20 – 30 minutes. Once the firmware has been downloaded, you can now proceed to the next step.
Installation under Windows and Linux differs, more information can be found on flashtool.net under FAQ. Especially, installation under Windows could differ from the instructions below
sudo nano /etc/udev/rules.d/51-sony.rules
and make the content equal to SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="*", MODE="0777"
7z x -so flashtool-0.9.23.1-linux.tar.7z |tar xf - -C .
(you might have to install package "p7zip-full" to extract Flashtool using this command)./FlashTool
sudo apt-get install mono-complete
sudo cert-sync /etc/ssl/certs/ca-certificates.crt
sudo certmgr -ssl -m https://software.sonymobile.com
This part is copied from sailfishmods.de and forum.xda-developers.com
chmod + x backupTA.sh
adb devices
. If your computer is configured properly it should show the serial number of your phone. (when needed you can install adb drivers by using: sudo apt-get install android-tools-adb
) sudo ./backupTA.sh
I have downgraded my phone to Marshmallow using windows due to the bug in Xperifirm for linux and created a backup of the TA partition using Linux. Therefore please adjust the tutorial where required especially how to BackupTA for windows as the current official Sailfish installation is windows only. The official Sailfish X installation requires that your phone is running the latest version of Android. Therefore you should flash your phone once again using all the steps under Downgrade to Android Marshmallow but now select in Xperifirm the firmware matching your original CDA code which you noted down in the preparation phase of this tutorial.
8 | No.8 Revision |
When you unlock the bootloader of your Xperia all DRM keys are automatically deleted and you lose your warranty, see Sony Developer world website. In order to retain your warranty you should be able to reset your phone back to original factory conditions including the DRM keys.
The DRM keys are stored on the so-called TA partition. To backup this partition you need to make your phone run Android Marshmallow. Marshmallow is susceptible to Dirtycow vulnerability which makes it possible to create a backup of your TA partition.
In short the following steps are required to make a backup of the TA partition:
!!Read all the instructions first before you start to follow this tutorial.
The origin for this wiki is based on the following sources: thefirmwarehub.com and sailfishmods.de and the websites these sources used as reference.
The procedure described below can be used both on windows and Linux (though at the time of writing this tutorial Xperifirm has a bug under linux leading to an "ERROR: Invalid CDF list received!")
Note down your CDA code. This can be done as follows:
The download time depends in your network connection and stability, mostly it only takes 20 – 30 minutes. Once the firmware has been downloaded, you can now proceed to the next step.
Installation under Windows and Linux differs, more information can be found on flashtool.net under FAQ. Especially, installation under Windows could differ from the instructions below
sudo nano /etc/udev/rules.d/51-sony.rules
and make the content equal to SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="*", MODE="0777"
7z x -so flashtool-0.9.23.1-linux.tar.7z |tar xf - -C .
(you might have to install package "p7zip-full" to extract Flashtool using this command)./FlashTool
sudo apt-get install mono-complete
sudo cert-sync /etc/ssl/certs/ca-certificates.crt
sudo certmgr -ssl -m https://software.sonymobile.com
This part is copied from sailfishmods.de and forum.xda-developers.com
chmod + x backupTA.sh
adb devices
. If your computer is configured properly it should show the serial number of your phone. (when needed you can install adb drivers by using: sudo apt-get install android-tools-adb
) sudo ./backupTA.sh
I have downgraded my phone to Marshmallow using windows due to the bug in Xperifirm for linux and created a backup of the TA partition using Linux. Therefore please adjust the tutorial where required especially how to BackupTA for windows as the current official Sailfish installation is windows only. The official Sailfish X installation requires that your phone is running the latest version of Android. Therefore you should flash your phone once again using all the steps under Downgrade to Android Marshmallow but now select in Xperifirm the firmware matching your original CDA code which you noted down in the preparation phase of this tutorial.
9 | No.9 Revision |
When you unlock the bootloader of your Xperia all DRM keys are automatically deleted and you lose your warranty, see Sony Developer world website. In order to retain your warranty you should be able to reset your phone back to original factory conditions including the DRM keys.
The DRM keys are stored on the so-called TA partition. To backup this partition you need to make your phone run Android Marshmallow. Marshmallow is susceptible to Dirtycow vulnerability which makes it possible to create a backup of your TA partition.
In short the following steps are required to make a backup of the TA partition:
!!Read all the instructions first before you start to follow this tutorial.
The origin for this wiki is based on the following sources: thefirmwarehub.com and sailfishmods.de and the websites these sources used as reference.
The procedure described below can be used both on windows and Linux (though at the time of writing this tutorial Xperifirm has a bug under linux leading to an "ERROR: Invalid CDF list received!")
Note down your CDA code. This can be done as follows:
The download time depends in your network connection and stability, mostly it only takes 20 – 30 minutes. Once the firmware has been downloaded, you can now proceed to the next step.
Installation under Windows and Linux differs, more information can be found on flashtool.net under FAQ. Especially, installation under Windows could differ from the instructions below
sudo nano /etc/udev/rules.d/51-sony.rules
and make the content equal to SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="*", MODE="0777"
7z x -so flashtool-0.9.23.1-linux.tar.7z |tar xf - -C .
(you might have to install package "p7zip-full" to extract Flashtool using this command)./FlashTool
sudo apt-get install mono-complete
sudo cert-sync /etc/ssl/certs/ca-certificates.crt
sudo certmgr -ssl -m https://software.sonymobile.com
This part is copied from sailfishmods.de and forum.xda-developers.com
chmod + x backupTA.sh
adb devices
. If your computer is configured properly it should show the serial number of your phone. (when needed you can install adb drivers by using: sudo apt-get install android-tools-adb
) sudo ./backupTA.sh
I have downgraded my phone to Marshmallow using windows due to the bug in Xperifirm for linux and created a backup of the TA partition using Linux. Therefore please adjust the tutorial where required especially how to BackupTA for windows as the current official Sailfish installation is windows only. The official Sailfish X installation requires that your phone is running the latest version of Android. Therefore you should flash your phone once again using all the steps under Downgrade to Android Marshmallow but now select in Xperifirm the firmware matching your original CDA code which you noted down in the preparation phase of this tutorial.
After you have made a backup of your TA partition you can install Sailfish X using one of the following options:
10 | No.10 Revision |
When you unlock the bootloader of your Xperia all DRM keys are automatically deleted and you lose your warranty, see Sony Developer world website. In order to retain your warranty you should be able to reset your phone back to original factory conditions including the DRM keys.
The DRM keys are stored on the so-called TA partition. To backup this partition you need to make your phone run Android Marshmallow. Marshmallow is susceptible to Dirtycow vulnerability which makes it possible to create a backup of your TA partition.
In short the following steps are required to make a backup of the TA partition:
!!Read all the instructions first before you start to follow this tutorial.
The origin for this wiki is based on the following sources: thefirmwarehub.com and sailfishmods.de and the websites these sources used as reference.
The procedure described below can be used both on windows and Linux (though at the time of writing this tutorial Xperifirm has a bug under linux leading to an "ERROR: Invalid CDF list received!")
Note down your CDA code. This can be done as follows:
The download time depends in your network connection and stability, mostly it only takes 20 – 30 minutes. Once the firmware has been downloaded, you can now proceed to the next step.
Installation under Windows and Linux differs, more information can be found on flashtool.net under FAQ. Especially, installation under Windows could differ from the instructions below
sudo nano /etc/udev/rules.d/51-sony.rules
and make the content equal to SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="*", MODE="0777"
7z x -so flashtool-0.9.23.1-linux.tar.7z |tar xf - -C .
(you might have to install package "p7zip-full" to extract Flashtool using this command)./FlashTool
sudo apt-get install mono-complete
sudo cert-sync /etc/ssl/certs/ca-certificates.crt
sudo certmgr -ssl -m https://software.sonymobile.com
This part is copied from sailfishmods.de and forum.xda-developers.com
chmod + x backupTA.sh
adb devices
. If your computer is configured properly it should show the serial number of your phone. (when needed you can install adb drivers by using: sudo apt-get install android-tools-adb
) sudo ./backupTA.sh
I have downgraded my phone to Marshmallow using windows due to the bug in Xperifirm for linux and created a backup of the TA partition using Linux. Therefore please adjust the tutorial where required especially how to BackupTA for windows as the current official Sailfish installation is windows only. The official Sailfish X installation requires that your phone is running the latest version of Android. Therefore you should flash your phone once again using all the steps under Downgrade to Android Marshmallow but now select in Xperifirm the firmware matching your original CDA code which you noted down in the preparation phase of this tutorial.
After you have made a backup of your TA partition you can install Sailfish X using one of the following options:
11 | No.11 Revision |
When you unlock the bootloader of your Xperia all DRM keys are automatically deleted and you lose your warranty, see Sony Developer world website. In order to retain your warranty you should be able to reset your phone back to original factory conditions including the DRM keys.
The DRM keys are stored on the so-called TA partition. To backup this partition you need to make your phone run Android Marshmallow. Marshmallow is susceptible to Dirtycow vulnerability which makes it possible to create a backup of your TA partition.
In short the following steps are required to make a backup of the TA partition:
!!Read all the instructions first before you start to follow this tutorial.
The origin for this wiki is based on the following sources: thefirmwarehub.com and sailfishmods.de and the websites these sources used as reference.
The procedure described below can be used both on windows and Linux (though at the time of writing this tutorial Xperifirm has a bug under linux leading to an "ERROR: Invalid CDF list received!")
Note down your CDA code. This can be done as follows:
The download time depends in your network connection and stability, mostly it only takes 20 – 30 minutes. Once the firmware has been downloaded, you can now proceed to the next step.
Installation under Windows and Linux differs, more information can be found on flashtool.net under FAQ. Especially, installation under Windows could differ from the instructions below
sudo nano /etc/udev/rules.d/51-sony.rules
and make the content equal to SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="*", MODE="0777"
7z x -so flashtool-0.9.23.1-linux.tar.7z |tar xf - -C .
(you might have to install package "p7zip-full" to extract Flashtool using this command)./FlashTool
sudo apt-get install mono-complete
sudo cert-sync /etc/ssl/certs/ca-certificates.crt
sudo certmgr -ssl -m https://software.sonymobile.com
If there isn't any official Sony firmware left at 34.0.A. xxx (Android 6.0.1 MashMallow) and all have been upgraded to more recent, you can still find one copy on this webpage the downloaded file calls it-self ".bin", but you can rename it to ".ftf".
You still need to install FlashTool for the next step, though.
This part is copied from sailfishmods.de and forum.xda-developers.com
chmod + x backupTA.sh
adb devices
. If your computer is configured properly it should show the serial number of your phone. (when needed you can install adb drivers by using: sudo apt-get install android-tools-adb
) sudo ./backupTA.sh
The FlashTool also contains its own tool to download the TA partition.
.flashTool/registeredDevices/
serial number/rawta/
date.fta
I have downgraded my phone to Marshmallow using windows due to the bug in Xperifirm for linux and created a backup of the TA partition using Linux. Therefore please adjust the tutorial where required especially how to BackupTA for windows as the current official Sailfish installation is windows only. The official Sailfish X installation requires that your phone is running the latest version of Android. Therefore you should flash your phone once again using all the steps under Downgrade to Android Marshmallow but now select in Xperifirm the firmware matching your original CDA code which you noted down in the preparation phase of this tutorial.
After you have made a backup of your TA partition you can install Sailfish X using one of the following options:
12 | No.12 Revision |
When you unlock the bootloader of your Xperia all DRM keys are automatically deleted and you lose your warranty, see Sony Developer world website. In order to retain your warranty you should be able to reset your phone back to original factory conditions including the DRM keys.
The DRM keys are stored on the so-called TA partition. To backup this partition you need to make your phone run Android Marshmallow. Marshmallow is susceptible to Dirtycow vulnerability which makes it possible to create a backup of your TA partition.
In short the following steps are required to make a backup of the TA partition:
!!Read all the instructions first before you start to follow this tutorial.
The origin for this wiki is based on the following sources: thefirmwarehub.com and sailfishmods.de and the websites these sources used as reference.
The procedure described below can be used both on windows and Linux (though at the time of writing this tutorial Xperifirm has a bug under linux leading to an "ERROR: Invalid CDF list received!")
Note down your CDA code. This can be done as follows:
The download time depends in your network connection and stability, mostly it only takes 20 – 30 minutes. Once the firmware has been downloaded, you can now proceed to the next step.
Installation under Windows and Linux differs, more information can be found on flashtool.net under FAQ. Especially, installation under Windows could differ from the instructions below
sudo nano /etc/udev/rules.d/51-sony.rules
and make the content equal to SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="*", MODE="0777"
7z x -so flashtool-0.9.23.1-linux.tar.7z |tar xf - -C .
(you might have to install package "p7zip-full" to extract Flashtool using this command)./FlashTool
sudo apt-get install mono-complete
sudo cert-sync /etc/ssl/certs/ca-certificates.crt
sudo certmgr -ssl -m https://software.sonymobile.com
If there isn't any official Sony firmware left at 34.0.A. xxx (Android 6.0.1 MashMallow) and all have been upgraded to more recent, you can still find one copy on this webpage the downloaded file calls it-self ".bin", but you can rename it to ".ftf".
You still need to install FlashTool for the next step, though.
This part is copied from sailfishmods.de and forum.xda-developers.com
chmod + x backupTA.sh
adb devices
. If your computer is configured properly it should show the serial number of your phone. (when needed you can install adb drivers by using: sudo apt-get install android-tools-adb
) sudo ./backupTA.sh
The FlashTool also contains its own tool to download the TA partition.
.flashTool/registeredDevices/
serial number/rawta/
date.fta
I have downgraded my phone to Marshmallow using windows due to the bug in Xperifirm for linux and created a backup of the TA partition using Linux. Therefore please adjust the tutorial where required especially how to BackupTA for windows as the current official Sailfish installation is windows only. The official Sailfish X installation requires that your phone is running the latest version of Android. Therefore you should flash your phone once again using all the steps under Downgrade to Android Marshmallow but now select in Xperifirm the firmware matching your original CDA code which you noted down in the preparation phase of this tutorial.
After you have made a backup of your TA partition you can install Sailfish X using one of the following options:
13 | No.13 Revision |
When you unlock the bootloader of your Xperia all DRM keys are automatically deleted and you lose your warranty, see Sony Developer world website. In order to retain your warranty you should be able to reset your phone back to original factory conditions including the DRM keys.
The DRM keys are stored on the so-called TA partition. To backup this partition you need to make your phone run Android Marshmallow. Marshmallow is susceptible to Dirtycow vulnerability which makes it possible to create a backup of your TA partition.
In short the following steps are required to make a backup of the TA partition:
!!Read all the instructions first before you start to follow this tutorial.
The origin for this wiki is based on the following sources: thefirmwarehub.com and sailfishmods.de and the websites these sources used as reference.
The procedure described below can be used both on windows and Linux (though at the time of writing this tutorial Xperifirm has a bug under linux leading to an "ERROR: Invalid CDF list received!")
Note down your CDA code. This can be done as follows:
The download time depends in your network connection and stability, mostly it only takes 20 – 30 minutes. Once the firmware has been downloaded, you can now proceed to the next step.
Installation under Windows and Linux differs, more information can be found on flashtool.net under FAQ. Especially, installation under Windows could differ from the instructions below
sudo nano /etc/udev/rules.d/51-sony.rules
and make the content equal to SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="*", MODE="0777"
7z x -so flashtool-0.9.23.1-linux.tar.7z |tar xf - -C .
(you might have to install package "p7zip-full" to extract Flashtool using this command)./FlashTool
sudo apt-get install mono-complete
sudo cert-sync /etc/ssl/certs/ca-certificates.crt
sudo certmgr -ssl -m https://software.sonymobile.com
If there isn't any official Sony firmware left at 34.0.A. xxx (Android 6.0.1 MashMallow) and all have been upgraded to more recent, you can still find one copy on this webpage the downloaded file calls it-self ".bin", but you can rename it to ".ftf".
You still need to install FlashTool for the next step, though.
This part is copied from sailfishmods.de and forum.xda-developers.com
chmod + x backupTA.sh
adb devices
. If your computer is configured properly it should show the serial number of your phone. (when needed you can install adb drivers by using: sudo apt-get install android-tools-adb
) sudo ./backupTA.sh
The FlashTool also contains its own tool to download the TA partition.
.flashTool/registeredDevices/
serial number/rawta/
date.fta
I have downgraded my phone to Marshmallow using windows due to the bug in Xperifirm for linux and created a backup of the TA partition using Linux. Therefore please adjust the tutorial where required especially how to BackupTA for windows as the current official Sailfish installation is windows only. The official Sailfish X installation requires that your phone is running the latest version of Android. Therefore you should flash your phone once again using all the steps under Downgrade to Android Marshmallow but now select in Xperifirm the firmware matching your original CDA code which you noted down in the preparation phase of this tutorial.
After you have made a backup of your TA partition you can install Sailfish X using one of the following options:
14 | No.14 Revision |
When you unlock the bootloader of your Xperia all DRM keys are automatically deleted and you lose your warranty, see Sony Developer world website. In order to retain your warranty you should be able to reset your phone back to original factory conditions including the DRM keys.
The DRM keys are stored on the so-called TA partition. To backup this partition you need to make your phone run Android Marshmallow. Marshmallow is susceptible to Dirtycow vulnerability which makes it possible to create a backup of your TA partition.
In short the following steps are required to make a backup of the TA partition:
!!Read all the instructions first before you start to follow this tutorial.
The origin for this wiki is based on the following sources: thefirmwarehub.com and sailfishmods.de and the websites these sources used as reference.
The procedure described below can be used both on windows and Linux
Note down your CDA code. This can be done as follows:
The download time depends in your network connection and stability, mostly it only takes 20 – 30 minutes. Once the firmware has been downloaded, you can now proceed to the next step.
Installation under Windows and Linux differs, more information can be found on flashtool.net under FAQ. Especially, installation under Windows could differ from the instructions below
sudo nano /etc/udev/rules.d/51-sony.rules
and make the content equal to SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="*", MODE="0777"
7z x -so flashtool-0.9.23.1-linux.tar.7z |tar xf - -C .
(you might have to install package "p7zip-full" to extract Flashtool using this command)./FlashTool
sudo apt-get install mono-complete
sudo cert-sync /etc/ssl/certs/ca-certificates.crt
sudo certmgr -ssl -m https://software.sonymobile.com
If there isn't any official Sony firmware left at 34.0.A. xxx (Android 6.0.1 MashMallow) and all have been upgraded to more recent, you can still find one copy on this webpage the downloaded file calls it-self ".bin", but you can rename it to ".ftf".
You still need to install FlashTool for the next step, though.
This part is copied from sailfishmods.de and forum.xda-developers.com
chmod + x +x backupTA.sh
adb devices
. If your computer is configured properly it should show the serial number of your phone. (when needed you can install adb drivers by using: sudo apt-get install android-tools-adb
) sudo ./backupTA.sh
The FlashTool also contains its own tool to download the TA partition.
.flashTool/registeredDevices/
serial number/rawta/
date.fta
I have downgraded my phone to Marshmallow using windows due to the bug in Xperifirm for linux and created a backup of the TA partition using Linux. Therefore please adjust the tutorial where required especially how to BackupTA for windows as the current official Sailfish installation is windows only. The official Sailfish X installation requires that your phone is running the latest version of Android. Therefore you should flash your phone once again using all the steps under Downgrade to Android Marshmallow but now select in Xperifirm the firmware matching your original CDA code which you noted down in the preparation phase of this tutorial.
After you have made a backup of your TA partition you can install Sailfish X using one of the following options:
15 | No.15 Revision |
When you unlock the bootloader of your Xperia all DRM keys are automatically deleted and you lose your warranty, see Sony Developer world website. In order to retain your warranty you should be able to reset your phone back to original factory conditions including the DRM keys.
The DRM keys are stored on the so-called TA partition. To backup this partition you need to make your phone run Android Marshmallow. Marshmallow is susceptible to Dirtycow vulnerability which makes it possible to create a backup of your TA partition.
In short the following steps are required to make a backup of the TA partition:
!!Read all the instructions first before you start to follow this tutorial.
The origin for this wiki is based on the following sources: thefirmwarehub.com and sailfishmods.de and the websites these sources used as reference.
The procedure described below can be used both on windows and Linux
Note down your CDA code. This can be done as follows:
The download time depends in your network connection and stability, mostly it only takes 20 – 30 minutes. Once the firmware has been downloaded, you can now proceed to the next step.
Installation under Windows and Linux differs, more information can be found on flashtool.net under FAQ. Especially, installation under Windows could differ from the instructions below
sudo nano /etc/udev/rules.d/51-sony.rules
and make the content equal to SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="*", MODE="0777"
7z x -so flashtool-0.9.23.1-linux.tar.7z |tar xf - -C .
(you might have to install package "p7zip-full" to extract Flashtool using this command)./FlashTool
sudo apt-get install mono-complete
sudo cert-sync /etc/ssl/certs/ca-certificates.crt
sudo certmgr -ssl -m https://software.sonymobile.com
If there isn't any official Sony firmware left at 34.0.A. xxx (Android 6.0.1 MashMallow) and all have been upgraded to more recent, you can still find one copy on this webpage the downloaded file calls it-self ".bin", but you can rename it to ".ftf".
You still need to install FlashTool for the next step, though.
This part is copied from sailfishmods.de and forum.xda-developers.com
chmod +x backupTA.sh
adb devices
. If your computer is configured properly it should show the serial number of your phone. (when needed you can install adb drivers by using: sudo apt-get install android-tools-adb
) sudo ./backupTA.sh
The FlashTool also contains its own tool to download the TA partition.
.flashTool/registeredDevices/
serial number/rawta/
date.fta
I have downgraded my phone to Marshmallow using windows due to the bug in Xperifirm for linux and created a backup of the TA partition using Linux. Therefore please adjust the tutorial where required especially how to BackupTA for windows as the current official Sailfish installation is windows only. The official Sailfish X installation requires that your phone is running the latest version of Android. Therefore you should flash your phone once again using all the steps under Downgrade to Android Marshmallow but now select in Xperifirm the firmware matching your original CDA code which you noted down in the preparation phase of this tutorial.
After you have made a backup of your TA partition you can install Sailfish X using one of the following options: