Skip to content

Commit

Permalink
Update vendor image article
Browse files Browse the repository at this point in the history
Signed-off-by: Jorma Virkkunen <jorma.virkkunen@jolla.com>
  • Loading branch information
jovirkku committed Oct 29, 2024
1 parent 157dbdb commit 76f74d3
Showing 1 changed file with 15 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,36 @@ _Sony vendor image is a binary file that contains device-specific firmware from
_This file is sometimes called by the name "AOSP SW binary blob", too._

This article explains how the vendor image can be reflashed (installed) **without reflashing the actual Sailfish OS**. This means that you can change the vendor image while
keeping your data and apps untouched.
keeping your data and apps untouched.

Sony keeps updating the vendor image every now and then. When publishing a Sailfish OS port for a new Xperia device, Jolla tests the functionality with one vendor image and recommends using the tested one. Potential more recent images are usually not tested. However, the community people at the [Forum](https://forum.sailfishos.org/) may do so.

Sony keeps updating the vendor image every now and then. The image for Xperia XA2 has been upgraded from version 16 to version 17B in March 2019. This is used in the examples of this document.
The vendor image for Xperia XA2 has been upgraded from version 16 to version 17B in March 2019. This is used in the examples of this document.


# How to check the current vendor image
# How to check the current vendor image on a phone

Checking the current version of the vendor image can be done with the following command on Xperia XA2 and Xperia 10.
Checking the current version of the vendor image can be done with the following commands.

* Xperia XA2 and Xperia 10:
```
devel-su grep ro.odm.version /odm/build.prop
```
* Xperia 10 III, Xperia 10 IV, and Xperia 10 V:
```
devel-su grep ro.odm.version /odm/etc/build.prop
```

Unfortunately, we do not have the command for Xperia 10 II nor 10 III.
We do not have the command for Xperia 10 II.


# Upgrading the vendor image


1. Download the zipped vendor image file to your Sailfish OS installation directory (where you flashed your phone).
2. Unzip it there. The resulting file is "SW_binaries_for_Xperia_Android_*.img"
3. Connect your Xperia to a USB2 port of your computer (pressing the Vol Up button at the same time) so that the blue LED gets lit on the Xperia.
4. Give one of the following commands.
3. Connect your Xperia to a USB2 port of your computer (pressing the Vol Up button at the same time) so that the blue indicator light gets lit on the Xperia.
4. Give the following command (it is good for all Xperia models).

```
fastboot flash oem_a <filename>
Expand All @@ -53,8 +60,7 @@ fastboot flash oem_a SW_binaries_for_Xperia_Android_8.1.6.4_r1_v17_nile.img

This is the expected output from the command:
```
fastboot flash oem_a
SW_binaries_for_Xperia_Android_8.1.6.4_r1_v17_nile.img
fastboot flash oem_a SW_binaries_for_Xperia_Android_8.1.6.4_r1_v17_nile.img
target reported max download size of 536870912 bytes
sending 'oem_a' (210888 KB)...
OKAY [ 4.885s]
Expand Down

0 comments on commit 76f74d3

Please sign in to comment.