The Following 4 Users Say Thank You to coderus For This Useful Post: | ||
|
2020-03-02
, 10:57
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#102
|
|
2020-03-02
, 12:25
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#103
|
|
2020-03-02
, 12:44
|
|
Posts: 599 |
Thanked: 711 times |
Joined on Jul 2019
@ UK
|
#104
|
The Following 4 Users Say Thank You to edp17 For This Useful Post: | ||
|
2020-03-02
, 13:55
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#105
|
|
2020-03-02
, 15:47
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#106
|
What should be the libhybris version on the XA2? On mine that is 0.0.5.31-1.54.4
According to the Flatpak doc the supported devices should have >= 0.0.5.34
@coderus: Did you get the newer version of libhybris to your XA2 or you tried Flatpak with the same libhybris version that I have got on mine? I am a bit here. Thanks.
@coderus, when you get to it, please generate also logs with HYBRIS_LD_DEBUG=1 in addition to strace.
So, I would like to get
* strace of regular SFOS app on XA2
* output of regular SFOS app on XA2 running with HYBRIS_LD_DEBUG=1 set, no strace for reading simplicity
* output of "flatpak run ... --env=HYBRIS_LD_DEBUG=1 ..." , no strace for reading simplicity
It is possible that I am missing some specific libs in https://github.com/sailfishos-flatpa...tension-hybris and we have to figure out which.
|
2020-03-02
, 16:28
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#107
|
|
2020-03-02
, 16:47
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#108
|
@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
|
2020-03-02
, 18:22
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#109
|
files are there for sure:
with exttra arguments added angelfish started successfully!
|
2020-03-02
, 18:45
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#110
|
Telegram | Openrepos | GitHub | Revolut donations