[Motorola Photon Q 4G LTE] elros34:
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it!

SailfishOS 3 for Photon Q

Continuation from 2.0 thread to keep most important information in first post. Thanks to vevgeniev for initial port, without it I would never buy Photon Q.

Repo with my apps is added to image. Packages can by installed via terminal:

devel-su zypper in "package name"

Images

Installation

Download and flash cm-11-20150626-SNAPSHOT-XNG3CAO1L8-moto_msm8960_jbbl.zip via twrp-3.0.2-0-asanti_c.img according to ordinary cm instruction. Use ext4 filesystem for /data partition. Boot to android and make sure everything works.

Download SailfishOS 4 image (open browser in private mode if onedrive ask you to login) and flash it over cyanogenmod. It's compressed tarball so installation may take even 10 minutes.

OTA

Read about Stop Releases and make backup using TWRP

/usr/share/sfos-moto_msm8960_jbbl-adaptation/upgrade.sh

# after reboot execute pkcon refresh to update all repositories

For any issues with upgrade.sh script download more up-to-date version, add --verbose argument or execute commands from real-upgrade.sh manually: https://build.sailfishos.org/packag...bl:4.4.0.68/sfos-moto_msm8960_jbbl-adaptation

At first boot tracker might slow down phone and eat a lot of storage. If it's too resource hungry move your media files out of device or create .nomedia empty file to exclude particular directory from tracker. Then force reset it:

tracker reset --hard

Custom Bootlogo

vevgeniev created a custom bootlogo:

Instruction how to use it

Known issues

Half screen mirror glitch occurs sometimes. Blank/unblank display fixes it

Sometimes removing files does not have any effect, i.e. free space doesn't increase and sdcard can't be unmounted. Could be easily triggered by mtp or dd usage. For sdcard access use FileZilla (SFTP).

QProcess:startDetached can hang randomly. Workaround added to fingerterm. Looks like it's bug in Qt and it is not photon q specific: https://together.jolla.com/question/202337/bug-fingerterm-terminal-freezes-after-opening-new-window

There are no 2.XG, 3.XG network indicators.

glReadPixels() return empty content in some cases. This means no screen recording, screenshots and thumbnails in browser. Workaround for screenshots added to lipstick.

All bugs at first boot are features.

FAQ

Q: How to run apk?

A: It's not android, you can't

Q: Can I switch between hardware keyboard layouts?

A: Default xkb layout switch shortcut: "shift + sym". You need to also set second keyboard layout:

In newer releases layouts can be enabled in settings and switched via "shift + space"

Tips

Fast way to restart lipstick:

shift + tab + k

Alt + Tab like switching (if you have sailfishos-alttab-patch installed):

OK + tab

To disable volume media keys:

dconf write /apps/photonq-helper/mediaKeysEnabled 0

batt_health can cause reported battery capacity decrease which I am not sure works correctly at least on my aging battery. It's disabled since 3.3.0 in 2 places in /init.target.rc. Therefore btry will not report Aged Capacity anymore.

To use h264 (hardware accelerated) decoder in youtube set in about:config media.mediasource.webm.enabled to false

user name is still 'nemo' instead 'defaultuser' even for latest releases

Changelog

XDA:DevDB Information

SailfishOS 3 for Photon Q, ROM for the Motorola Photon Q 4G LTE

Contributors

elros34, vevgeniev

Source Code: https://github.com/elros34?utf8=✓&tab=repositories&q=msm8960&type=&language=

ROM OS Version: 4.4.x KitKat

ROM Kernel: Linux 3.0.x

Based On: CyanogenMod

Version Information

Status: Alpha

Created 2018-11-23

Last Updated 2019-08-20