Monday, 2022-03-07

T42<edp_17> Hi all!12:15
T42<edp_17> If I change something in mer/android/droid/system/core/, what should I rebuild to see the effect of tha change? (I've rebuilt the kernel but didn't see the effect of what I changed.)12:16
malyou need to do "make hybris-hal" in the correct environment and the "build_packages.sh -d" to repackage android side packaging12:18
T42<edp_17> mal: I just did make hybris-hal. I'll rebuild the dhd packages too. Thanks.12:26
T42<edp_17> mal: Still cannot see the change.12:46
T42<edp_17> What I am trying to do is getting rid of the "NetlinkListener: recvmsg failed (I/O error)" message flood in logcat.12:47
T42<edp_17> I've found that message is generated in mer/android/droid/system/core/libsysutils/src/NetlinkListener.cpp12:47
maldo you have dummy netd?12:47
malnot sure if relevant though12:48
T42<edp_17> dummy-netd is not installed.12:48
maltry installing it and see if anything changes12:48
T42<edp_17> *dummy_netd12:48
T42<edp_17> mal: nope, it didn't help (I've rebooted).12:52
T42<elros34> even if you built library doesn't mean it's used, try bind mounting it to /system13:01
T42<elros34> @edp_17 I couldn't remember the name but got it, worth to check stub_netd: https://irclogs.sailfishos.org/logs/%23sailfishos-porters/%23sailfishos-porters.2020-06-07.log.html#t2020-06-07T22:27:37. I am not certainly sure this will help13:34
T42<edp_17> Thanks @elros34 . Tbh, I have no idea how to implement this to try.13:43
T42<elros34> then NetlinkListener.cpp should be better for you. Did you see that library was build after making changes to netlinklistener and running make hybris-hal?13:48
T42<edp_17> Where should I look for that library?13:51
T42<elros34> in make output. Every time you change something in android side and built it, make will show full path to built library13:52
T42<edp_17> Do you mean this? https://paste.ubuntu.com/p/TDNdPdtxmh/13:57
T42<elros34> clearly you did not build it. What about make libsysutils13:59
T42<edp_17> Yeah, now I have that libsysutils.so file: https://paste.ubuntu.com/p/RyGFqttnXW/14:00
T42<edp_17> How can I include this into the kernel or something? I mean, how can I get it installed automatically on device?14:01
T42<elros34> like always, android side is packaged in droid-hal. See rpm -ql <path to droid-hal*.rpm>14:02
T42<edp_17> @elros34 : Thanks! Now that flood is gone. 😃14:25
T42<elros34> without bind mount?14:26
T42<edp_17> I only installed the new droid-hal-$device*.rpm and rebooted.14:51
T42<edp_17> There was a libsysutils.so in /system/lib/ and another one got installed into /usr/libexec/droid-hybris/system/lib/14:52
T42<elros34> ok14:52
T42<edp_17> It looks like installing that rpm was enough to pick up and use the new one.14:53
T42<edp_17> If a device keeps booting up when it is switched off, where should I look for the root cause?16:43
T42<edp_17> The other one when it doesn't stop even if I switched off, again, where should I look for the reason?16:43
T42<Usman> Can I port sailfish os on window ...?17:56
deathmist@Usman no, you should install Ubuntu in a virtual machine or dual-boot18:15
T42<Usman> https://irc.thaodan.de/.imgstore/bafaa62d/file_3384_tgs.webp18:23
T42<Usman> Wsl will work ...? Anyone try it ..?18:24
T42<Usman> Any easy porting guide ..I have zero knowledge and experience18:25
T42<Usman> I searched but not found any guide I can understand easyly18:26
deathmist@Usman WSL will not work, porting is never easy so you should be prepared to learn a lot especially if you have no prior experience with the related topics18:49
T42<elros34> @edp_17 maybe something crash when you shutdown device. Check all logs, watchdog timeout and pstore22:31
T42<elros34> Maybe you can find also somewhere boot reason after it reboots22:32

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