AppSupport lockscreen support

Rating: 
5
Your rating: None Average: 5 (1 vote)

This patch improves Android AppSupport to allow setting a lockscreen PIN. This is useful for Android apps which refuse to run if a PIN isn't set (such as Rail Planner).

After installing the patch, you should restart Android AppSupport.

Afterwards, you can set an Android PIN by going to: Settings -> Android AppSupport -> press on "Android version" 5 times -> Security -> Screen lock. The PIN will only be seen by Android apps, it won't affect the Sailfish lockscreen.

The code is available at: https://codeberg.org/nick8325/appsupportkeyguardstub

Application versions: 
AttachmentSizeDate
File appsupport-lockscreen_0.1.1_noarch.rpm45.09 KB08/05/2026 - 23:48

Comments

eson's picture

So why are your RPM's not extractable on a simple Linux system like Linux Mint? No matter from codeberg or OpenRepos.

slava's picture

rpm2archive handles it just fine:

$ rpm2archive appsupport-lockscreen_0.1.1_noarch.rpm
$ tar -tvzf appsupport-lockscreen_0.1.1_noarch.rpm.tgz
-rw-r--r-- root/root       205 2026-02-01 22:35 ./opt/appsupport/vendor/etc/init/android.hardware.gatekeeper@1.0-service.software.rc
-rw-r--r-- root/root       142 2026-02-01 22:35 ./opt/appsupport/vendor/overlay/config/config.xml
-rw-r--r-- root/root     22100 2026-02-02 18:54 ./opt/appsupport/vendor/overlay/stub.keyguard.overlay.apk
-rw-r--r-- root/root     29827 2026-02-02 18:54 ./opt/appsupport/vendor/priv-app/KeyguardStub/stub.keyguard.apk
$