We have moved to a new Sailfish OS Forum. Please start new discussions there.
33

[wiki] Fxtec Pro1 - Sailfish OS tips and tricks

asked 2019-12-29 21:20:33 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2020-05-20 03:17:59 +0200

Kabouik gravatar image

Useful sources

official

unofficial, community driven

Useful Information

If you are not using the latest SFOS version and see a billion of Samsung partitions in Settings > Storage, do not mess with them.

Hardware Keyboard Layouts

RU, US and DE default layouts are now included since 3.2.x. Below links serve as examples to debug if the correct layout is not automatically selected when selecting your language in Sailfish OS. The links also show how to create your own layout, or use some more specific layouts made by the community (i.e., dead keys and such).

Tips and Tricks

edit retag flag offensive close delete

Comments

2

in general this device is quite modern and strong. Only the apn (photo part) is something poor I think...

cemoi71 ( 2020-01-23 01:29:17 +0200 )edit
1

Ideally would be fine if a brother could be done without the hard keyboard...

cemoi71 ( 2020-01-23 01:30:42 +0200 )edit

Does double tap to wake display working under sailfish os?

Jk ( 2020-03-11 17:13:09 +0200 )edit

@Jk, no. It did in first releases of the port but needed to be disabled to circumvent a total screen freeze issue it caused.

mosen ( 2020-05-19 21:07:34 +0200 )edit

15 Answers

Sort by » oldest newest most voted
0

answered 2020-09-08 12:39:17 +0200

Bundyo gravatar image

updated 2020-09-16 16:32:04 +0200

For Bulgarian Phonetic layout, add this to /usr/share/X11/xkb/symbols/fxtec_vndr/pro1 as root:

default  partial alphanumeric_keys
xkb_symbols "bgpho" {
    include "bg(phonetic)"

    name[Group1]="Fxtec Pro1 Bulgarian Phonetic";

    key <AD10>  { [ Cyrillic_pe,    Cyrillic_PE,      slash,      slash ] };
    key <AC09>  { [ Cyrillic_el,    Cyrillic_EL,   question,   question ] };

    include "level3(ralt_switch)"
};

Then issue these commands as nemo user:

dconf write /desktop/lipstick-jolla-home/layout \"fxtec_vndr/pro1\(us\),fxtec_vndr/pro1\(bgpho\)\"
dconf write /desktop/lipstick-jolla-home/options \"grp:alt_space_toggle\"
dconf write /desktop/lipstick-jolla-home/model "'fxtecpro1'"

Restart lipstick with systemctl --user restart lipstick.

In order to be able to return to US layout with Alt+Space, you need to also edit /usr/share/X11/xkb/symbols/bg and remove the SPCE remapping in the phonetic section. Looks like this:

key <SPCE> {   [ space,             space,
                 nobreakspace,      nobreakspace        ]    };

Comment it out like this:

// key <SPCE> {   [ space,             space,
//                  nobreakspace,      nobreakspace        ]    };

I think lipstick restart is not needed afterwards.

edit flag offensive delete publish link more
0

answered 2020-08-16 12:24:03 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2020-08-16 13:40:31 +0200

Fingerprint hints

  • Make sure you are on >=3.3.0.16
  • If you have problems loosing fingerprints after reboot, or if they do not work after first unlock you may have to flash your persist partition. See the Issue on github for Details
  • Volume Down + Power --> fastboot flash persist /path/to/persist.img
edit flag offensive delete publish link more
1

answered 2020-06-21 14:27:56 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2020-06-21 14:27:56 +0200

mad_dev gravatar image

Keyboard Shortcuts | Experimental

Done via Keymapper.

  • Please read the final thoughts section on github...in the hopes someone more experienced tackles the issue and offers a better solution.
edit flag offensive delete publish link more
0

answered 2020-05-19 21:29:09 +0200

mosen gravatar image

Lock orientation to landscape while hwkbd slide is open

This is possible by using Adam Piggs Taskswitcher app, available at openrepos.net.

  • The app creates a new settings item called Taskswitcher.
  • Set primary keyboard to "Fxtec Pro1", secondary to gpio-keys.
  • Activate "Lock Orientation on Slide"
  • Set Orientation to landscape
  • Activate "Start Taskswitcher on bootup"
  • restart (Stop/Start) Daemon
edit flag offensive delete publish link more

Comments

That's great! I really missed that. Anyway it would be even better, if the previously set orientation would be remembered. So I could set orientation to portrait mode and it only is going in landscape mode, when the keyboard is used.

At the moment when you slide in keyboard, the orientation is always set to dynamic. No matter what it was before.

Fellfrosch ( 2020-05-19 22:35:16 +0200 )edit

Please! Post your suggestion to application comments to openrepos!

coderus ( 2020-05-20 00:13:59 +0200 )edit

This ^. I asked for the orientation lock feature on Openrepos and Adam eventually came up with the update, so the mighty dev and porters hear us!

Kabouik ( 2020-05-20 03:13:37 +0200 )edit

@coderus: Your wish is my command ;)

Fellfrosch ( 2020-05-20 09:09:52 +0200 )edit
0

answered 2020-05-19 17:30:12 +0200

mosen gravatar image

updated 2020-05-20 03:11:27 +0200

Kabouik gravatar image

To change from devel into testing branch, as root (devel-su), do:

nano /usr/share/ssu/features.d/adaptation-community.ini

change

adaptation-community = http://repo.merproject.org/obs/nemo:/devel:/hw:/fxtec:/t5/sailfish_latest_%(arch)/

to

adaptation-community = http://repo.merproject.org/obs/nemo:/testing:/hw:/fxtec:/t5/sailfishos_%(release)/

leave nano with ctrl+x and save with yes. Then

nano /usr/share/ssu/features.d/adaptation-community-common.ini

change

adaptation-community-common = http://repo.merproject.org/obs/nemo:/devel:/hw:/common/sailfish_latest_%(arch)/

to

adaptation-community-common = http://repo.merproject.org/obs/nemo:/testing:/hw:/common/sailfishos_%(release)/

leave nano with ctrl+x and save with yes. Then run

ssu re
zypper clean
zypper ref    
version --dup
edit flag offensive delete publish link more
2

answered 2020-01-28 02:27:33 +0200

mosen gravatar image

updated 2020-01-28 02:33:34 +0200

Activate "off-mode-charge" eg. Standby/Powered Off Charge via fastboot

Fire up your fastboot setup on your computer. Shutdown the Pro¹, then hold the volume-down button while plugin in the usb cabel.

fastboot oem off-mode-charge "1"

Check that the output says

OKAY [  0.003s]
finished. total time: 0.003s

Plug out the cable and the Pro¹ might (re)boot.
To try you can then shut it down again and plug in the cabel.
The boot logo should show for 12 seconds and then go to blank screen with white led indicating the charging process. For me it was not possible to then boot with holding the power button only. It vibrated after 5 seconds but did not boot.
A hard restart with volume down + power button for more than 8 seconds and then option "restart" in fastboot did the trick. Maybe there is even a way to fix that behaviour, but it works ok if you know the work around. Or simply pull the usb cable and then start up.

edit flag offensive delete publish link more
3

answered 2020-01-22 15:04:44 +0200

Kabouik gravatar image

updated 2020-05-20 02:53:56 +0200

Hardware decoding of h.264 and h.265 (hevc) videos in native SFOS applications

[Update 2020-05-19] This has been merged into the port around 3.2.x and the manual cooking below is no longer required, just update SFOS.

Until it is merged in the SFOS port, here are the instructions to get hardware decoding working:

devel-su curl -L -o /etc/gst-droid/gstdroidcodec.conf https://raw.githubusercontent.com/mer-hybris/droid-config-sony-ganges-pie/master/sparse/etc/gst-droid/gstdroidcodec.conf

rm ~/.cache/gstreamer-1.0/registry.*

Source.

edit flag offensive delete publish link more
5

answered 2020-01-03 17:20:26 +0200

Kabouik gravatar image

updated 2020-05-19 21:18:14 +0200

mosen gravatar image

Keyboard backlight (automatic using mce)

(Obsolete since feature is included since 3.3.x. Just for educational purpose now)

We now have full keyboard backlight support on the Pro¹ with mce thanks to Elros34. However, it is not included in the SFOS port yet, so just run this in terminal to fetch the mce config file from elros34's repository:

devel-su curl -L -o /etc/mce/91-keyboard-backlight.ini https://raw.githubusercontent.com/elros34/droid-config-moto_msm8960_jbbl/master/sparse/etc/mce/91-keyboard-backlight.ini

reboot

Keyboard backlight (manually using a cover action)

Thanks to Wolda on TMO who found how to enable keyboard backlight from command line, it is now possible to create cover actions for toggling it on and off. Instructions here.

edit flag offensive delete publish link more
5

answered 2019-12-31 15:58:48 +0200

Kabouik gravatar image

updated 2020-01-02 19:14:25 +0200

Allow landscape orientation in homescreen

It should work out of the box when installing SFOS from a CI image, but may not after an OTA update. Either use the appropriate patch in Patchmanager, or run:

sed -e "s/return allowed/return Orientation.All/" -i  /usr/lib/qt5/qml/Sailfish/Silica/Page.qml
edit flag offensive delete publish link more

Comments

I thought we explicitly allowed landscape on the homescreen anyway?

pigg ( 2020-01-01 17:27:40 +0200 )edit

@pigg, you did, and that was a pleasant surprise when I first installed SFOS! But does it work even after OTA updates?

Kabouik ( 2020-01-02 19:13:02 +0200 )edit

I can confirm this works out of the box with sailfishos-t5-release-3.2.1.20-devel-20200122.zip will try to remember updating this reply once I got my first OTA update. (I flashed yesterday)

pcfe ( 2020-02-01 17:59:49 +0200 )edit
4

answered 2019-12-30 04:27:54 +0200

mosen gravatar image

ESC key on HW Keyboard wakes up the screen

If the screen times out and goes blank while the keyboard is unfolded, press the ESC key to wake it back up.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
26 followers

Stats

Asked: 2019-12-29 21:20:33 +0200

Seen: 28,406 times

Last updated: Sep 16 '20