Friday, 2025-08-29

mal@b100dian or rinigus any luck with waydroid on nagara?14:54
rinigusmal: haven't worked on that. but @b100dian tested few things with corresponding issue at https://github.com/sailfishos-sony-nagara/main/issues/4514:56
malyeah, same issues on fairphones14:56
malrinigus: interesting that I don't see v33 in waydroid image, in /home/waydroid/rootfs/system/system_ext/apex/com.android.vndk.v*15:07
rinigusmal: I haven't tried waydroid on nagara as was prioritizing sms issue. so, never looked into it. I guess will get there later (or @b100dian will resolve it before that)15:08
T42<b100dian> mal: did youmount15:58
T42<b100dian> sorry, did you also have the libapexsupport.so missing issue?15:59
T42<b100dian> and you mounted it from host?15:59
T42<b100dian> mount inside waydroid shows `overlay on /apex/com.android.vndk.v33 type overlay (ro,seclabel,relatime,lowerdir=/var/lib/waydroid/overlay:/var/lib/waydroid/rootfs,upperdir=/var/lib/waydroid/overlay_rw/system,workdir=/var/lib/waydroid/overlay_work/system)`16:10
malI copied the libs to overlay dir in /var/lib/waydroid/16:21
mal@b100dian so somehow it uses unpatched version of something, or things changed too much in a14 that it doesn't load correct lib at all16:30
malso it can't find the symbols of the patched lib16:31
T42<b100dian> I'm not even sure if it is supposed to work.. I am trying the lineage-20 images (so A12) on lineage-21 (so A13) host. Not sure waydroid "halium" fills in all the bits from the host as would the "mainline" version..16:41
mal@b100dian might have found something, there is libhidlbase.so in /vendor in a14 and since that is mounted in waydroid and that is higher priority that /system or /apex it loads the unpatched host, by adding this and same for lib the errors are gone16:46
malls -l /var/lib/waydroid/overlay/vendor/lib64/libhidlbase.so16:46
mallrwxrwxrwx    1 root     root            28 Aug 29 19:44 /var/lib/waydroid/overlay/vendor/lib64/libhidlbase.so -> /system/lib64/libhidlbase.so16:46
malhow can I test apps in waydroid?16:46
malI still do see some error in logcat from surfaceflinger so might need something more16:47
T42<b100dian> mal: did you have UI? as in `waydroid show-full-ui` as defaultuser?16:47
mal"Abort message: 'couldn't find an OpenGL ES implementation, make sure you set ro.hardware.egl or ro.board.platform'"16:47
malso it had issues finding working egl/opengl es16:48
T42<b100dian> so I asked in the Waydroid telegram channel: deathmist: says "also no you can't go backwards, if your vendor is newer you must also update the OS"16:51
T42<b100dian> mal: so you added the libhidlbase to lxc's config_nodes or just copied it in the overlay?16:54
malI just added the symlink manually to overlay folder16:55
malwould be easier if there was a14 waydroid16:55
T42<b100dian> :D17:01
T42<b100dian> Hmm.. so `ln -s /system/lib64/libhidlbase.so /var/lib/waydroid/overlay/vendor/lib64/libhidlbase.so` followed by restart of waydroid does not change what /system/lib64 shows inside waydroid for me..17:05
malit changes what is in /vendor17:07
malthe overlay is done for vendor17:07
T42<b100dian> but shouldn't the vendor_extra have had the highest priority ;-?17:09
malwell it works :)17:10
malI forgot the order I saw in strace17:10
Mister_Magisterbtw I don't know if its related but on oneplus 6 i had to add symlink to make waydroid working. Don't ask me why https://forum.sailfishos.org/t/oneplus-6-t-the-port-to-get/19875/122?u=mister_magister17:18
T42<b100dian> I'm asking cause I am not seeing the same results as you do. So just by making libhidlbase links to your A14/LOS21 system you see waydroid starting? which waydroid image is that, lineage-20?17:19
T42<b100dian> Mister_magister: What error was that for? maybe an overlay exists instead of changing the image17:20
Mister_Magisteryou think I remember? it wasn't starting and seemingly the file was missing17:21
mal@b100dian for libEGL found, now another symbol issue17:24
mal*got libEGL working now17:25
T42<b100dian> keep that bash history ;)17:27
malls -l /var/lib/waydroid/overlay/system/lib64/egl/libEGL.so17:29
mallrwxrwxrwx    1 root     root            12 Aug 29 20:13 /var/lib/waydroid/overlay/system/lib64/egl/libEGL.so -> ../libEGL.so17:29
T42<b100dian> so mal: you're running waydroid lineage-20 right?17:39
deathmistbtw when I said you can't run newer vndk with older system that was assuming someone wasn't willing to hack it to be functional :p the "easier" path probably would likely end up being updating waydroid patches from A13 to at least A1418:31
malyeah, making a14 based waydroid would be nicer way of course18:45
mallooks like there are really some compatibility issues "Abort message: 'Binder threadpool cannot be shrunk after starting'"18:51
malprobably because to get rid of missing symbol issues I even had do a bit of tinkering with libui18:57
*** deathmist1 is now known as deathmist19:03

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!