sailfishos-sony-tama / main

Documentation, releases, and issues
MIT License
38 stars 7 forks source link
sailfishos tama xperia

Sailfish OS port to Sony Xperia Tama devices, AOSP 10 based

Please read this document fully before planning or starting to use this port.

This is a community port, meaning that there is no official support and extensions included in the paid version:

It is the second port for Xperia Tama, this time on top of AOSP10. The port is based on official port for Xperia 10II (seine) and earlier AOSP 9 based port for Xperia Tama. As a result, it has similar tools available for flashing and the device userdata is partitioned using LVM.

As it requires unlocking bootloader on Sony Xperia, you will loose DRM keys and associated functionality. See AOSP10 threads at XDA for your device for details regarding hardware support.

Documentation and development of the port is in hybris-10 branch of the repositories.

While the care has been taken during porting, please see LICENSE for legal details.

Issues

Port issues are all reported within this repository: https://github.com/sailfishos-sony-tama/main/issues . Specific AOSP10-base issues can be seen using a filter.

Supported devices

The following devices are supported:

Transition from AOSP9-based Sailfish OS port

To switch from AOSP9-based Sailfish port, see separate documentation.

Over-the-Air updates (OTA)

OTA updates are supported. Currently supported OTA updates are to the following releases:

OTA instructions are given in separate document. Please read instructions fully before the update.

Current state

Port is based on AOSP10 / Linux kernel 4.14 / aarch64.

Software stack state:

Working hardware:

Build is distrbuted via OBS.

Flashing

Before flashing, please check the current issues and pay attention to the critical ones. The critical issues may damage your hardware, so please be aware of them.

Flashing guide is at flashing.md.

Tips

Predictive text support

For predictive text support, install Presage-based predictive keyboards. These keyboards are available at Chum repositories. After enabling Chum, install the keyboard layout(s) on your device. For example, for English:

devel-su zypper in keyboard-presage-en_US

List of available keyboards:

zypper se keyboard-presage-

Fingerprint support

Fingerprint is supported through community effort sailfish-fpd-community. It is incorporated into the images.

Fingerprints can be used for authentication if you enable in Settings, under "Device lock", use of security code.

When adding fingerprints, it is recommended to use separate application: "Fingerprints". If you add fingerprints under Sailfish Settings, it may lead to device reboot (issue). In the dedicated application, such issue was not encountered.

Android apps

Running Android apps is supported via WayDroid. To use WayDroid, follow the guide in SFOS Waydroid packaging. Note that starting from SFOS version 4.5 release of this port, Waydroid gbinder configuration is included with the rest of device configurations. So, do not install waydroid-gbinder-config-hybris package on your device.

Tracker and SD Cards

To allow tracker to index files on SD Card, run

gsettings set org.freedesktop.Tracker.Miner.Files index-recursive-directories "['&DESKTOP', '&DOCUMENTS', '&DOWNLOAD', '&MUSIC', '&PICTURES', '&VIDEOS',  '/run/media/nemo']"

Step counter

Step counter is enabled and requires user space programs. Currently, the best available interaction is through stpcntrd which registers DBus session interface. You can use "Visual D-Bus" app to navigate to com.kimmoli.stpcntrd and through that app call the methods. To install the daemon, use

pkcon install stpcntrd

The daemon is included in Xperia Tama repositories.

Pickup gesture

Pickup gesture switches on the screen when you pickup the phone and allows you to avoid pressing a power button. It may require relatively faster movement, try with the different movement patterns if it does not work. Note that sometimes the gesture is not registered, try to switch on / off the screen to re-arm the sensor. In addition, there is some delay between pickup and switching on the screen, but that seems to be originating mostly from the sensor or sensor-sensorfwd interaction.

Pickup gesture requires development branch of sensorfwd and pickupd. The both are available in Xperia Tama repositories.

To enable pickup gesture, you need to just install pickupd:

pkcon install pickupd

To disable, uninstall the daemon.

Pressure

Pressure sensor is configured. To my knowledge, the only application interfacing it is Messwerk from https://build.merproject.org/project/show/home:mal:apps .

Launcher icons appear too small

A workaround around is to install launcher-combined-patch with patchmanager and increase the icon size.

First install either patchmanager by hand or via Storeman.

Then install the patch by opening the settings app -> patchmanger -> pull-menu -> web-catalogue.

After this go a page back, select launcher-combined and enable change icon size.

Resetting storage

From 4.2.0.21, it is possible to encrypt the storage. If you wish to switch between encrypted and non-encrypted storage, see instructions at Community edition of Sailfish Encryption. Note that this will result in loss of the data stored currently on device - make sure to have a backup.

Extending storage

It is possible to use system partitions that are not used in Sailfish for storage. This is for advanced users and corresponding instructions are given separately.

Use of cryptsetup in recovery

It is possible to use cryptsetup, but only after making chroot into /rootfs:

# in recovery
chroot /rootfs
cryptsetup ...

Backup and recovery

The port supports backup and recovery when device is booted from recovery boot image. This is for advanced users and is available from Sailfish 3.4.0.24 release. See instructions for details.

Development

Port is developed under https://github.com/sailfishos-sony-tama, under hybris-10 branches of repositories. For setting up a build, see HADK.