Saturday, 2022-03-26

T42<edp_17> @elros34 : I've changed /system/etc/ld.config.txt as you suggested but still not working. (The error is shown at the bottom): https://paste.ubuntu.com/p/XSCq83Wcdx/10:40
T42<edp_17> By the way, I have reverted /system/etc/swcodec/ld.config.txt to its original. Or should I add back the "namespace.default.permitted.paths += /usr/libexec/droid-hybris/system/${LIB}" into it?10:41
T42<edp_17> I've spotted the size of libcutils.so is a bit different in /usr/libexec/droid-hybris/system/lib/ and /system/lib/. Does it matter?10:43
T42<edp_17> Shouldn't I add libcutils.so as namespace.default.link.runtime.shared_libs?10:44
T42<elros34> first you write .shared_libs += libcutils.so then its's overwritten by .shared_libs  = libbinder_ndk.so. I do not think it will work10:45
T42<elros34> Add whatever you think will do the job until something will break because of mixed libs10:46
T42<elros34> similar for paths: permitted.paths =  /apex/com.android.media/${LIB}/extractors then overwrite with  = /usr/libexec/droid-hybris/system/${LIB}10:47
T42<elros34> permitted_paths="" in error should also gives you some idea whether adding it in particular secton change anything10:48
T42<edp_17> Yeah, I also added that to the end of the list but didn't work so moved to the top. (re @elros34: first you write .sha...)10:49
T42<elros34> maybe mal will have idea how to debug it better than more o less suing trail and error method10:50
T42<edp_17> I'm fixing the issues you highlighted (+=) and retry.10:53
T42<elros34> what will happen if you change namespace.default.isolated = true -> false in /system/etc/swcodec/ld.config.txt?10:53
T42<edp_17> I've fixed the += for those two lines but didn't fix the issue. Then have set namespace.default.isolated to false but didn't help either. (re @elros34: similar for paths: p...)10:59
T42<elros34> so which ld.config* control this10:59
T42<edp_17> I only have ld.config.txt. Don't have ld.config.29.txt. Or how do you mean?11:00
T42<elros34> not only you have many  ld.config.txt  files according to your https://paste.ubuntu.com/p/W2dR34VhnF/. BTW is it even worth to debug it, does lipstick works correctly?11:03
T42<edp_17> Yes, lipstick works fine. (To avoid constant reboots I had to mask these services: voicecall-manager, voicecall-ui-prestart, mission-control-5 and booster-silica-media@)11:04
T42<edp_17> As by default I didn't have ld.config.29.txt in /system/etc, therefore I removed them. So actually this is the correct list of ld.config* files (but true, there are a few): https://paste.ubuntu.com/p/46zwb22yz7/11:07
T42<edp_17> I think revert /system/etc/ld.config.txt and /system/etc/swcodec/ld.config.txt to their original and will play with the others.11:10
T42<edp_17> Fotunately there are only 4 ld.config.so files I need to play with. All the others arebind mount version of these four. Two of them I already tested and didn't solve the issue (/system/etc and /system/etc/swcodec), so only the other two are left to play with. I've checked and in both there are *.shared_libs and *.permitted.path but there is no *.permitted_path in them.11:35
T42<edp_17> These two files are: /system/apex/com.android.media.swcodec/etc/ld.config.txt and /system/apex/com.android.runtime.release/etc/ld.config.txt11:37
Thaodanvoidanix[m]: I merged https://github.com/Thaodan/droid-config-sony-kumano/pull/1 into https://github.com/SailfishOS-SonyXperia/droid-config-sony-kumano13:48
ThaodanPlease note that you have to take the upgrade-4.4.0 branch or you have to build ofono-binder-plugin and friends13:48
T42<Spidey24Z> @elros34 hey bro,17:15

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