T42 | <Verevka86> @mal [@Verevka86 to fix the hybris-boot issue on hyb …], it works thanks 🤝 | 04:09 |
---|---|---|
T42 | <Verevka86> system-as-root required for hybris-17.1? | 07:46 |
mal | @Verevka86 no, we skip the / mount like this https://github.com/mer-hybris/droid-hal-sony-ganges-pie/blob/master/rpm/droid-hal-common.inc#L32 (do not add /vendor there for you probably) | 09:19 |
piggz | morning | 10:03 |
T42 | <edp_17> Hi all, I am building 4.0.1.48 for hammerhead (cm12.1 base) and getting error for libgbinder: https://paste.ubuntu.com/p/R5zPWtVhSR/ | 11:18 |
T42 | <edp_17> Is there a workaround? (I have not got this on my Note4-treltexx.) | 11:18 |
mal | @edp_17 did you update dhd submodule? also did you cleanup the gbinder repo before rebuilding | 11:24 |
T42 | <edp_17> Hi mal, yes I updated all submodules but did not clean up the gbinder repo. I was aware of only removing the hybris/mw/libhybris before start building packages. | 11:27 |
T42 | <edp_17> mal: How can I cleanup the gbinder repo? | 11:27 |
mal | go to the gbinder source folder and run git clean -x -f -d | 11:33 |
T42 | <edp_17> mal: Thanks, it worked! | 11:38 |
T42 | <Verevka86> Help me please: | 12:26 |
T42 | <Verevka86> https://paste.ubuntu.com/p/2X2yyQtdkz/ | 12:26 |
T42 | <Verevka86> @Verevka86 [Help me please: | 12:36 |
T42 | <Verevka86> https://paste.ubuntu.com/p/2X2 …], https://github.com/mer-hybris/droid-hal-device/commit/665f4e284517e8fe2f18f6404f3a6b343556f4e7 | 12:36 |
mal | @Verevka86 update dhd submodule and try again | 13:11 |
mal | just merged a fix for that | 13:11 |
kernling | Mister_Magister, sorry if you're still on your own time, but did you have time to check the new lh? | 13:58 |
Mister_Magister | kernling: will check today… just after work | 14:17 |
Mister_Magister | give me roughly 1h | 14:18 |
kernling | ok no rush | 14:18 |
kernling | thanks | 14:18 |
Mister_Magister | no, thank you! | 14:18 |
T42 | <edp_17> Hi all. I need a little help. I've installed the build on hammerhead but it stucks on boot logo. (There was no telnet either.) I've managed to get into the device and seen the /system wasn't mounted. I have an error log and the issue (I think) at lines: 691, 692, 693 and 694: https://pastebin.ubuntu.com/p/xNvK9H8CXR/ | 15:36 |
T42 | <edp_17> What else I should change in the local repo to make it work? | 15:37 |
T42 | <edp_17> Once I telnet in the device I can manually mount /system. So, I guess, the problem is somewhere in the init routine. | 15:43 |
mal | @edp_17 when did you last time check your kernel configs with mer kernel check tool? | 15:43 |
T42 | <edp_17> mal: During creation of this build. | 15:44 |
mal | which sfos version did you build? | 15:44 |
T42 | <edp_17> I have updated the mer-kernel-check and used the fresh one to see what's missing. | 15:44 |
T42 | <edp_17> 4.0.1.48 | 15:44 |
mal | you probably the first one to test that with such old kernel | 15:44 |
T42 | <edp_17> mal: Oh, yes, the mentioned limitation! Below kernel version 3.10 is not supported. | 15:46 |
mal | might need some investigation what is needed to get it working | 15:47 |
T42 | <edp_17> That explains why I was able to build 4.0 for Note 4 (treltexx) which has kernel version 3.10.x | 15:47 |
T42 | <edp_17> There is another issue, when I plug the device in to the PC I have about 20 seconds to issue commands before it terminates the connection. The device doesn't get rebot just it loses the connection. In that case I need to unplug and plug back in then assign an IP and bring the USB network up manually. (I wrote a script for it, so that's | 15:49 |
T42 | quick.) On this, even the 'touch /init_enter_debug2' doesn't help. | 15:49 |
mal | I need to test 4.0.1 on fp2 at some point | 15:49 |
T42 | <edp_17> mal: What kernel version is there on the fp2? | 15:50 |
mal | 3.4 | 15:50 |
T42 | <edp_17> I see. | 15:50 |
T42 | <edp_17> There is another problem. The new firejail doesn't realy work on the Note4. (I've contacted a firejail developer, hopefully he/she can help out with what's missing from the kernel.) | 15:51 |
T42 | <edp_17> As a workaround, I removed the firejail call from the .desktop files but obviously that is not feasible solution on the long term. | 15:52 |
T42 | <Herrie1982> What specifically did you update on 4.x that would break older kernels? We had issues with newer systemd in LuneOS since we use the one provided by Yocto, but after some kernel patches for namespaces we got it to run with even recent systemd | 15:55 |
T42 | <Herrie1982> We have systemd 246 running with 3.4 kernels at our end | 15:55 |
mal | @Herrie1982 systemd | 16:07 |
mal | @Herrie1982 show the patches please | 16:08 |
T42 | <Herrie1982> @mal [@Herrie1982 show the patches please], Well it even depends on which version of 3.4 it seems ;) | 16:09 |
T42 | <Herrie1982> There's some clutter in these trees because of GCC fixes, but well: https://github.com/shr-distribution/linux/commits/tenderloin/3.4/cm-12.1-halium | 16:09 |
T42 | <Herrie1982> https://github.com/shr-distribution/linux/commit/b840c1217fad4dd0db7e47aa671c5b0c848381a4 | 16:09 |
T42 | <Herrie1982> https://github.com/shr-distribution/linux/commit/c34cbea158fdce44085781a8318dcc4d3503239c | 16:10 |
T42 | <Herrie1982> https://github.com/shr-distribution/linux/commit/f311986ee22b148876c327a9d9a29a240a62c5a5 | 16:10 |
T42 | <Herrie1982> https://github.com/shr-distribution/linux/commit/01141a353241d545a2aaf9addaa32afe39a98562 | 16:10 |
mal | yeah, I think I have seen those before when I did anbox hacking long time ago | 16:10 |
Mister_Magister | kernlyng: what logs do you require | 16:11 |
mal | @Herrie1982 that last one is new to me | 16:11 |
kernlyng | Mister_Magister, i assume it means it doesn't work? | 16:11 |
Mister_Magister | nope | 16:11 |
T42 | <Herrie1982> The vfs_fstat one is not in all versions | 16:11 |
Mister_Magister | segfault | 16:11 |
T42 | <Herrie1982> Some newer 3.4 had some changes for that | 16:11 |
Mister_Magister | both debug outputs are nil | 16:11 |
kernlyng | Mister_Magister, can you run it through gdb | 16:12 |
Mister_Magister | sure | 16:12 |
T42 | <Herrie1982> https://github.com/Halium/android_kernel_lge_hammerhead/commits/halium-5.1 is for Hammerhead, specifically https://github.com/Halium/android_kernel_lge_hammerhead/commit/17a8d0630b424d66981900e701ae2a452d4b8726 is slightly different there | 16:12 |
mal | @Herrie1982 hmm, could that explain issues I have with 3.4.113 on fp2 | 16:12 |
kernlyng | Mister_Magister, EGL_PLATFORM=hwcomposer gdb test_hwcomposer | 16:12 |
kernlyng | etc etc | 16:12 |
Mister_Magister | i know i know | 16:12 |
Mister_Magister | https://paste.opensuse.org/bf420e65 | 16:13 |
T42 | <Herrie1982> You should be able to get it to boot with 3.4 kernel really with those 3/4 patches for namespaces and the fstat | 16:13 |
T42 | <Herrie1982> We didn't test it on a whole lot of devices, but LG Hammerhead, Onyx (oneplus) and good old HP Touchpad (tenderloin) | 16:13 |
mal | @Herrie1982 for some reason I also had to revert "net: Loopback ifindex is constant now" | 16:14 |
T42 | <Herrie1982> We use your kernel checking script at our end, since we also use similar setup, only run Android in LXC like UBPorts, for the rest we share a lot more with Mer, so your defconfig works for us normally ;) | 16:14 |
mal | ok, I will test those patches | 16:15 |
T42 | <Herrie1982> @mal [@Herrie1982 for some reason I also had to reve …], Well you have a lot more stuff in SFOS vs us in LuneOS, so that could explain, but for systemd these patches should do really | 16:17 |
T42 | <Herrie1982> The VFS one was the one that was giving us headaches at some point especially due to the different implementations in different 3.4 versions | 16:18 |
mal | @Herrie1982 I also haven't been able to get UI working yet with that 3.4.113 kernel (that is lineage-17.1 kernel with older config to keep it compatible with old android libs) | 16:20 |
T42 | <Herrie1982> Well Hammerhead/Onyx are on 3.4.0 even, so there probably isn't a very hard requirement for a "newer" 3.4. | 16:26 |
T42 | <Herrie1982> At least not for systemd with the right patches | 16:26 |
T42 | <Verevka86> I try to run hybris-17.1, there is no image on the screen, I can log in via ssh - https://paste.ubuntu.com/p/6FjvRtHrDf/ | 16:29 |
T42 | <Verevka86> how do I view the startup logs for debugging? | 16:30 |
mal | @Herrie1982 the reason for the updated kernel is not systemd but the fact that it has some security fixes and also stability fixes for camera etc | 16:36 |
T42 | <Herrie1982> @mal [@Herrie1982 the reason for the updated kernel …], OK but if it doesn't want to display any UI that's not very helpful ;) | 16:37 |
mal | @Verevka86 journalctl -b --no-pager and if boot it far enough /usr/libexec/droid-hybris/system/bin/logcat | 16:38 |
mal | @Herrie1982 needs some more debugging, starting the UI causes device to reboot which is not very nice | 16:39 |
T42 | <Verevka86> @mal [@Verevka86 journalctl -b --no-pager and if boo …], logo screen and LED lit, no reboots | 16:40 |
T42 | <Verevka86> this is all that I have managed to get so far :( | 17:37 |
T42 | <Verevka86> pstore- | 17:37 |
T42 | <Verevka86> (Document) https://irc.thaodan.de/.imgstore/xbe0uDXwnw.bin | 17:38 |
kernling | Mister_Magister, that's odd | 17:56 |
Mister_Magister | you think? | 17:58 |
kernling | Mister_Magister, you're installing lh manually right? | 17:58 |
Mister_Magister | yup | 17:59 |
Mister_Magister | without reboot | 17:59 |
kernling | Mister_Magister, which packages are you installing when you do that? | 17:59 |
Mister_Magister | wait | 17:59 |
Mister_Magister | now that i look | 17:59 |
Mister_Magister | i only sent like 2 packages | 17:59 |
Mister_Magister | thats weird | 17:59 |
Mister_Magister | wait i did smth wrong, my bad | 18:00 |
kernling | ok | 18:01 |
Mister_Magister | test_hwc DOES NOT SEGFAULT | 18:02 |
Mister_Magister | kernling: WOOOOOO | 18:02 |
kernling | yay | 18:02 |
Mister_Magister | i mean it doesn't display anything either but WOOOOO | 18:02 |
kernling | what about lipstick? | 18:03 |
Mister_Magister | let me try just rebooting | 18:03 |
kernling | ok | 18:03 |
Mister_Magister | WE GOT GUI BOIS | 18:03 |
Mister_Magister | kernling: WOOOOOO | 18:04 |
Mister_Magister | success | 18:04 |
Mister_Magister | at last | 18:04 |
Mister_Magister | we waited entire weekend for this moment | 18:04 |
Mister_Magister | kernling: whats next step? u gonna remove debug code, make clean commit to libhybris, its gonna be merged and then i can build libhybris? | 18:22 |
kernling | yeah something like that | 18:25 |
T42 | <thisisthethirdshoukosaccount> when running this, rpm/dhd/helpers/build_packages.sh --version | 20:23 |
T42 | <thisisthethirdshoukosaccount> I get permission denied | 20:23 |
T42 | <thisisthethirdshoukosaccount> PlatformSDK shouko@shouko-virtualbox:~/hadk$ rpm/dhd/helpers/build_packages.sh --version | 20:23 |
T42 | <thisisthethirdshoukosaccount> dirname: missing operand | 20:23 |
T42 | <thisisthethirdshoukosaccount> Try 'dirname --help' for more information. | 20:23 |
T42 | <thisisthethirdshoukosaccount> * Building rpm/droid-hal-version-jasmine_sprout.spec | 20:23 |
T42 | <thisisthethirdshoukosaccount> ./rpm/dhd/helpers/util.sh: line 330: //droid-hal-version-jasmine_sprout.log: Permission denied | 20:24 |
T42 | <thisisthethirdshoukosaccount> !! building o | 20:24 |
mal | do you have ANDROID_ROOT environmental variable set correctly? | 20:30 |
kernling | Mister_Magister, https://github.com/libhybris/libhybris/pull/476 | 20:47 |
Mister_Magister | kernling: <3 | 20:47 |
Mister_Magister | should i mention kernling that HYBRIS_TRACE_HOOKED=1 HYBRIS_TRACE_UNHOOKED=1 HYBRIS_TRACE_DYNHOOKED=1 give bus error still? | 20:48 |
kernling | Mister_Magister, yeah idk why, it works if we add HYBRIS_LOGGING_LEVEL=debug | 20:50 |
kernling | can you verify that still? | 20:50 |
kernling | HYBRIS_LOGGING_LEVEL=debug EGL_PLATFORM=hwcomposer HYBRIS_TRACE_HOOKED=1 HYBRIS_TRACE_UNHOOKED=1 HYBRIS_TRACE_DYNHOOKED=1 test_hwcomposer | 20:50 |
kernling | something like that^ | 20:50 |
Mister_Magister | yee seems like working | 20:53 |
Mister_Magister | i got wall of text since 15 seconds | 20:53 |
kernling | hehe | 20:53 |
kernling | ok | 20:53 |
T42 | <thisisthethirdshoukosaccount> mal: yes, since I have built other rpms successfully | 21:02 |
mal | Mister_Magister: there is now a build a clean version of the changes, please test when you have time | 21:40 |
mal | @elros34 you can also test the new version, same branch from my repo | 21:41 |
Mister_Magister | mal: i can now just zypper dup! thats game changer | 21:48 |
T42 | <thisisthethirdshoukosaccount> @thisisthethirdshoukosaccount [when running this, rpm/dhd/helpers/build_packa …], I was trying to build sfos 4.0.1 | 21:49 |
mal | is the droid-hal-version submodule properly initialized? | 21:51 |
Mister_Magister | mal: works | 21:51 |
T42 | <elros34> mal: thx, I need to buid it later on obs because when I used local build I had strange results | 21:51 |
Mister_Magister | is krnlyng and kernling same person? | 21:52 |
krnlyng | Mister_Magister, kernling is my clone | 21:52 |
Mister_Magister | understandable, have a nice day | 21:53 |
krnlyng | it's just a alternate irc nick | 21:53 |
Mister_Magister | krnlyng: i know i just didn't recoginze u | 22:04 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!