@coderus: thanks a lot! Do you have such folders/files as /plat_property_contexts and /nonplat_property_contexts in /? It looks like properties (Android) are not loaded properly and that leads to wrong gralloc lib loaded in Flatpak. Please send "ls /" If those folders are indeed there, you can test by running flatpak with extra arguments: --filesystem=/plat_property_contexts:ro --filesystem=/nonplat_property_contexts:ro
[root@Sailfish nemo]# ls -la / total 336 drwxr-xr-x 32 root root 4096 Feb 28 21:47 . drwxr-xr-x 32 root root 4096 Feb 28 21:47 .. drwxr-xr-x 3 root root 4096 May 22 2019 .config -rw-r--r-- 1 root root 0 Sep 6 1970 .fs-resized drwxr-xr-x 2 root root 4096 Feb 28 21:43 bin drw------- 2 root root 4096 Feb 28 21:45 boot dr-xr-x--- 3 bluetoot net_bt 16384 Jan 1 1970 bt_firmware lrwxrwxrwx 1 root root 50 Feb 16 16:50 bugreports -> /data/user_de/0/com.android.shell/files/bugreports lrwxrwx--- 1 system cache 11 Feb 16 16:50 cache -> /data/cache drwxr-xr-x 4 root root 0 Jan 1 1970 config lrwxrwxrwx 1 root root 17 Feb 16 16:50 d -> /sys/kernel/debug drwxrwx--x 42 system system 4096 Feb 16 17:52 data lrwxrwxrwx 1 root root 23 Feb 16 16:50 default.prop -> system/etc/prop.default drwxr-xr-x 24 root root 7860 Mar 2 19:43 dev drwxr-xr-x 4 root root 4096 Feb 16 16:50 dsp drwxr-xr-x 75 root root 4096 Mar 2 19:43 etc drwxr-xr-x 2 root root 4096 May 22 2019 fimage dr-xr-x--- 3 system system 16384 Jan 1 1970 firmware drwxr-xr-x 12 root root 4096 Feb 28 21:47 home -rwxr-xr-x 1 root root 12406 Feb 11 14:08 init-debug -rw-r--r-- 1 root root 1522 Feb 16 17:10 init.environ.rc -rw-r--r-- 1 root root 98 Feb 16 17:10 init.extraenv.armeabi-v7a.rc -rw-r--r-- 1 root root 29945 Feb 16 17:10 init.rc -rw-r--r-- 1 root root 1909 Feb 16 17:10 init.recovery.pioneer.rc -rw-r--r-- 1 root root 7874 Feb 16 17:10 init.usb.configfs.rc -rw-r--r-- 1 root root 5721 Feb 16 17:10 init.usb.rc drwxr-xr-x 7 root root 4096 Feb 28 21:45 lib drwx------ 2 root root 16384 May 22 2019 lost+found drwxr-xr-x 2 root root 4096 Feb 15 22:17 media drwxrwxr-x 10 root system 220 Mar 2 19:43 mnt -rw-r--r-- 1 root root 18267 Feb 16 16:59 nonplat_file_contexts -rw-r--r-- 1 root root 103 Feb 16 16:59 nonplat_hwservice_contexts -rw-r--r-- 1 root root 861 Feb 16 16:59 nonplat_property_contexts -rw-r--r-- 1 root root 95 Feb 16 16:59 nonplat_seapp_contexts -rw-r--r-- 1 root root 141 Feb 16 16:59 nonplat_service_contexts drwxr-xr-x 8 root root 4096 Mar 5 2019 odm drwxr-xr-x 5 root root 4096 Feb 15 22:17 opt drwxrwx--x 20 system system 4096 May 22 2019 persist -rw-r--r-- 1 root root 20703 Feb 16 16:59 plat_file_contexts -rw-r--r-- 1 root root 5768 Feb 16 16:59 plat_hwservice_contexts -rw-r--r-- 1 root root 4341 Feb 16 16:59 plat_property_contexts -rw-r--r-- 1 root root 965 Feb 16 16:59 plat_seapp_contexts -rw-r--r-- 1 root root 12996 Feb 16 16:59 plat_service_contexts dr-xr-xr-x 770 root root 0 Jan 1 1970 proc drwxr-x--- 3 root root 4096 Feb 15 22:17 root drwxr-xr-x 34 root root 780 Mar 2 19:43 run drwxr-xr-x 2 root root 4096 Feb 28 21:45 sbin lrwxrwxrwx 1 root root 21 Feb 16 16:50 sdcard -> /storage/self/primary drwxr-xr-x 2 root root 4096 Feb 15 22:17 srv dr-xr-xr-x 13 root root 0 Sep 6 1970 sys drwxr-xr-x 9 root root 4096 Oct 1 14:30 system drwxrwxrwt 14 root root 460 Mar 2 19:44 tmp -rw-r--r-- 1 root root 5222 Feb 16 17:10 ueventd.rc drwxr-xr-x 12 root root 4096 Feb 28 21:42 usr drwxr-xr-x 17 root root 4096 Feb 28 21:42 var drwxr-xr-x 8 root root 4096 Oct 1 14:30 vendor -rw-r--r-- 1 root root 524 Feb 16 16:50 verity_key -rw-r--r-- 1 root root 136 Feb 16 16:59 vndservice_contexts