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 |
mal | you need to do "make hybris-hal" in the correct environment and the "build_packages.sh -d" to repackage android side packaging | 12: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.cpp | 12:47 |
mal | do you have dummy netd? | 12:47 |
mal | not sure if relevant though | 12:48 |
T42 | <edp_17> dummy-netd is not installed. | 12:48 |
mal | try installing it and see if anything changes | 12:48 |
T42 | <edp_17> *dummy_netd | 12: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 /system | 13: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 help | 13: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 library | 13: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 libsysutils | 13: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> ok | 14: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-boot | 18:15 |
T42 | <Usman> https://irc.thaodan.de/.imgstore/bafaa62d/file_3384_tgs.webp | 18:23 |
T42 | <Usman> Wsl will work ...? Anyone try it ..? | 18:24 |
T42 | <Usman> Any easy porting guide ..I have zero knowledge and experience | 18:25 |
T42 | <Usman> I searched but not found any guide I can understand easyly | 18: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 topics | 18:49 |
T42 | <elros34> @edp_17 maybe something crash when you shutdown device. Check all logs, watchdog timeout and pstore | 22:31 |
T42 | <elros34> Maybe you can find also somewhere boot reason after it reboots | 22:32 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!